@mirantes-micro/foundation-design-system 1.2.182 → 1.2.184

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -990,7 +990,7 @@
990
990
  }
991
991
  }
992
992
  }
993
- `;var RC=()=>{var u;let{chatApiUrl:e,user:t,page:o}=M(),{searchMessage:r,selectedChat:n}=it(),a=usehooks.useDebounce(r,400),s=m=>j(void 0,[m],function*({pageParam:g=1}){var b,x;let v={body:a};return o!=null&&o.id&&(v.pageId=o.id),yield vf__default.default(e!=null?e:"",$C,{conversationId:(b=n==null?void 0:n.conversationId)!=null?b:"",options:{filter:v,page:g,perPage:20,sort:"createdAt",sortDir:"desc"}},{"x-access-token":(x=t==null?void 0:t.accessToken)!=null?x:""})}),i=a!=null&&a.length?["page-messages",n==null?void 0:n.conversationId,a,o==null?void 0:o.id]:["page-messages",n==null?void 0:n.conversationId,o==null?void 0:o.id],{data:l,isLoading:d,fetchNextPage:c,hasNextPage:p}=yt({queryKey:i,queryFn:s,initialPageParam:1,enabled:!!(n!=null&&n.conversationId)&&!!(o!=null&&o.id),staleTime:0,getNextPageParam:g=>{var v;let m=(v=g==null?void 0:g.getMessagesByConversation)==null?void 0:v.meta;if(m)return ((m==null?void 0:m.currentPage)||0)<((m==null?void 0:m.total)||0)?((m==null?void 0:m.currentPage)||0)+1:void 0}});return {messages:(u=l==null?void 0:l.pages.flatMap(g=>{var m,v;return (v=(m=g==null?void 0:g.getMessagesByConversation)==null?void 0:m.data)!=null?v:[]}).reverse())!=null?u:[],isGettingMessages:d,fetchNextPage:c,hasNextPage:p}};function eM(e){let{fetchNextPage:t,hasNextPage:o,isGettingMessages:r,messages:n}=RC(),a=o||false,s=J.useRef(null),i=J.useRef(0),l=J.useRef(null),[d,c]=J.useState(false),[p,f]=J.useState(false),[u,g]=J.useState(0),[m,v]=J.useState(false),h=J.useRef(true),[b]=EM__default.default({loading:r,hasNextPage:o,onLoadMore:()=>{s.current&&(i.current=s.current.scrollHeight),t();},disabled:!o,rootMargin:"200px 0px 0px 0px"}),x=J.useRef((n==null?void 0:n.length)||0);J.useEffect(()=>{let A=(e==null?void 0:e.current)||s.current;if(!A||!(n!=null&&n.length))return;let k=n.length,N=k>x.current;if(x.current=k,h.current&&!r){h.current=false,setTimeout(()=>{l.current&&l.current.scrollIntoView({behavior:"auto"}),setTimeout(()=>{let I=A.scrollHeight,P=A.scrollTop,S=A.clientHeight,D=I-P-S;f(D<=50);},100);},100);return}p?(l.current&&l.current.scrollIntoView({behavior:"auto"}),c(false),g(0),v(false)):N&&(c(true),g(I=>I+1),v(true),setTimeout(()=>v(false),500));},[n,p,r,e]);let w=J.useRef(p);J.useEffect(()=>{let A=(e==null?void 0:e.current)||s.current;if(!A)return;let k=()=>{let I=A.scrollHeight,P=A.scrollTop,S=A.clientHeight,T=I-P-S<=50;w.current!==T&&(w.current=T,f(T),T&&(c(false),g(0)));},N=setTimeout(()=>{k();},200);return A.addEventListener("scroll",k),()=>{clearTimeout(N),A.removeEventListener("scroll",k);}},[e]),J.useEffect(()=>{if(r&&i.current&&s.current){let A=s.current,k=A.scrollHeight-i.current;A.scrollTop=k+A.scrollTop;}},[r]);let C=J.useCallback(()=>{l.current&&l.current.scrollIntoView({behavior:"smooth"}),c(false),g(0),f(true);},[]);return {containerRef:s,infiniteRef:b,lastMessageRef:l,messages:n,isGettingMessages:r,hasNewMessages:d,newMessageCount:u,isAtBottom:p,isAnimatingUp:m,scrollToBottom:C,hasNextPage:a}}function $u({containerRef:e}){var R;let{setHasMessages:t,hasMessages:o,messageAction:r}=Qo(),{user:n,locale:a,page:s}=M(),i=O(a,"empty-chat"),{selectedChat:l,messages:d,forwardMessageIds:c,clearForwardMessages:p}=it(),{infiniteRef:f,lastMessageRef:u,messages:g,isGettingMessages:m,hasNewMessages:v,newMessageCount:h,scrollToBottom:b,isAtBottom:x}=eM(e),w=J.useRef(b),C=J.useRef({isAtBottom:x,hasNewMessages:v,newMessageCount:h}),A=J.useRef(true);J.useEffect(()=>{w.current=b;},[b]),J.useEffect(()=>{if(A.current){A.current=false,C.current={isAtBottom:x,hasNewMessages:v,newMessageCount:h};return}if(!(C.current.isAtBottom!==x||C.current.hasNewMessages!==v||C.current.newMessageCount!==h))return;C.current={isAtBottom:x,hasNewMessages:v,newMessageCount:h};let _=setTimeout(()=>{window.dispatchEvent(new CustomEvent("chatScrollState",{detail:{isAtBottom:x,scrollToBottom:w.current,hasNewMessages:v,newMessageCount:h}}));},0);return ()=>clearTimeout(_)},[x,v,h]),J.useEffect(()=>{t==null||t(false);},[o]);function k(V){if(!V)return null;if(typeof V=="number"){let _=new Date(V);return isNaN(_.getTime())?null:_}if(typeof V=="string"&&V.includes("T")){let _=new Date(V);return isNaN(_.getTime())?null:_}if(typeof V=="string")try{let _=dateFns.parse(V,"yyyy-MM-dd HH:mm:ss",new Date);return isNaN(_.getTime())?null:_}catch(_){return null}return null}function N(V){return isNaN(V==null?void 0:V.getTime())?"":dateFns.isToday(V)?O(a,"today"):dateFns.isYesterday(V)?O(a,"yesterday"):dateFns.format(V,"MMMM d, yyyy")}let I=V=>{var _;return (r==null?void 0:r.action)==="MESSAGE_DELETED"&&(r==null?void 0:r.conversationId)===(l==null?void 0:l.conversationId)&&((_=r==null?void 0:r.messagesIds)==null?void 0:_.includes(V))},P=V=>{if(V!=null&&V.actions)switch(V.actions){case "removedAdmin":return {type:"removedAdmin",text:O(a,"admin-removed",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-orange-500"})};case "madeAdmin":return {type:"madeAdmin",text:O(a,"admin-promoted",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.Crown,{size:14,className:"text-yellow-500"})};case "remove":return {type:"remove",text:O(a,"user-removed",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-red-500"})};default:return null}return null},S=V=>!(I(V==null?void 0:V.id)||V!=null&&V.actions&&["removedAdmin","madeAdmin","remove"].includes(V.actions)),D=!m&&(g==null?void 0:g.length)===0,T=m&&(g==null?void 0:g.length)===0,L=m&&(g==null?void 0:g.length)>0,E=J.useRef(false);J.useEffect(()=>{E.current=false;},[l==null?void 0:l.conversationId]),J.useEffect(()=>{!m&&(g==null?void 0:g.length)>0&&(E.current=true);},[m,g==null?void 0:g.length]);let B=m&&!E.current,W=[],q=(l==null?void 0:l.conversationId)||(l!=null&&l.id?`temp-${l.id}`:null),Y=q?((R=d==null?void 0:d[q])==null?void 0:R.filter(V=>V==null?void 0:V.isTemporary))||[]:[],H=null;if(g==null||g.forEach(V=>{if(!S(V))return;let _=k(V==null?void 0:V.createdAt);if(!_)return;let $=N(_);H!==$&&(W.push({type:"date",dateLabel:$,id:`date-${$}`}),H=$);let oe=P(V);oe?W.push({type:"system",content:oe.text,icon:oe.icon,id:`system-${V==null?void 0:V.id}`,timestamp:_}):W.push({type:"message",msg:V});}),Y==null||Y.forEach(V=>{let _=new Date(V==null?void 0:V.timestamp),$=N(_);H!==$&&(W.push({type:"date",dateLabel:$,id:`date-${$}`}),H=$),W.push({type:"message",msg:V});}),(r==null?void 0:r.conversationId)===(l==null?void 0:l.conversationId)&&(r!=null&&r.action)&&r.action!=="MESSAGE_DELETED"){let V=new Date,_=N(V);H!==_&&(W.push({type:"date",dateLabel:_,id:`date-${_}`}),H=_);let $="",oe=null;switch(r.action){case "removedAdmin":$=O(a,"admin-removed",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-orange-500"});break;case "madeAdmin":$=O(a,"admin-promoted",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.Crown,{size:14,className:"text-yellow-500"});break;case "remove":$=O(a,"user-removed",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-red-500"});break}$&&W.push({type:"system",content:$,icon:oe,id:`system-action-${Date.now()}`,timestamp:V});}let z=({content:V,icon:_})=>J__namespace.default.createElement("div",{className:"flex justify-center my-2"},J__namespace.default.createElement("div",{className:"flex items-center gap-2 bg-gray-100 px-3 py-1.5 rounded-full max-w-xs"},_,J__namespace.default.createElement("span",{className:"text-xs text-gray-600 font-medium text-center"},V)));return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("div",{className:"w-full relative min-h-0"},J__namespace.default.createElement("div",{className:U(D||T?"flex items-center justify-center flex-1 w-full":"flex flex-col flex-1 p-4 gap-[1.5rem] rounded-lg w-full")},J__namespace.default.createElement("div",{ref:f,className:"pointer-events-none"}),T&&J__namespace.default.createElement("div",{className:"flex flex-col gap-4 w-full"},J__namespace.default.createElement(en,null),J__namespace.default.createElement(en,{isOwnMessage:true}),J__namespace.default.createElement(en,null)),D&&J__namespace.default.createElement("div",{className:"flex flex-1 items-center justify-center !w-full !h-[50dvh]"},J__namespace.default.createElement("span",{className:"text-gray-500 text-center"},i)),!T&&!D&&(W==null?void 0:W.map((V,_)=>{var ne,me,Me,Se,Ze,ze;if(V.type==="date")return J__namespace.default.createElement("div",{key:V.id,className:"flex items-center my-4"},J__namespace.default.createElement("div",{className:"flex-grow border-t border-gray-300"}),J__namespace.default.createElement("span",{className:"mx-4 text-xs text-gray-500 font-medium"},V.dateLabel),J__namespace.default.createElement("div",{className:"flex-grow border-t border-gray-300"}));if(V.type==="system")return J__namespace.default.createElement(z,{key:V.id,content:V.content,icon:V.icon});if(I((ne=V.msg)==null?void 0:ne.id))return J__namespace.default.createElement("div",{key:(me=V.msg)==null?void 0:me.id,className:"flex justify-center my-1"},J__namespace.default.createElement("div",{className:"flex items-center gap-2 bg-gray-100 px-3 py-1.5 rounded-full max-w-xs"},J__namespace.default.createElement(lucideReact.Trash2,{size:14,className:"text-gray-500"}),J__namespace.default.createElement("span",{className:"text-xs text-gray-500 italic"},O(a,"message-deleted"))));let oe=((Me=V==null?void 0:V.msg)==null?void 0:Me.senderId)===(s==null?void 0:s.id),K=c.includes((Ze=(Se=V==null?void 0:V.msg)==null?void 0:Se.id)!=null?Ze:"");return J__namespace.default.createElement("div",{key:(ze=V==null?void 0:V.msg)==null?void 0:ze.id,className:"relative"},c.length>0&&J__namespace.default.createElement("div",{className:"absolute flex items-center h-full z-10",style:{left:"0",paddingRight:oe?"0.5rem":"0",paddingLeft:oe?"0":"0.5rem"}},J__namespace.default.createElement("input",{type:"checkbox",checked:K,onChange:()=>{var mt,Ct;let{selectForwardMessage:Ye}=it.getState();Ye((Ct=(mt=V==null?void 0:V.msg)==null?void 0:mt.id)!=null?Ct:"");},onClick:Ye=>Ye.stopPropagation(),className:"w-4 h-4 text-primary border-gray-300 rounded focus:ring-primary cursor-pointer"})),J__namespace.default.createElement(pc,{message:V==null?void 0:V.msg,isOwnMessage:oe,ref:_===(W==null?void 0:W.length)-1?u:void 0}))})),!T&&!D&&(L||B)&&J__namespace.default.createElement("div",{className:"flex flex-col gap-4 w-full mb-2"},J__namespace.default.createElement(en,null),J__namespace.default.createElement(en,{isOwnMessage:true}),J__namespace.default.createElement(en,null)))))}var ym="pending_chat_data",oM=60*30;function iV(){var e;if(typeof window=="undefined")return null;try{let t=cookiesNext.getCookie(ym);if((!t||typeof t!="string")&&(t=(e=sessionStorage.getItem(ym))!=null?e:""),!t||typeof t!="string")return null;let o=decodeURIComponent(atob(t));return JSON.parse(o)}catch(t){return null}}function lV(){if(typeof window!="undefined")try{cookiesNext.deleteCookie(ym,{path:"/"}),sessionStorage.removeItem(ym);}catch(e){}}function rM(e){if(!(typeof window=="undefined"||!e))try{let t=iV();(t==null?void 0:t.id)===e&&lV();}catch(t){}}var nM=()=>{let{sendMessage:e}=Qo(),{page:t,user:o,queryClient:r}=M(),{selectedChat:n,chatHeaderOption:a,onSelectChat:s,onSelectChatHeaderOption:i}=it(),l=["page-messages",n==null?void 0:n.conversationId],{mutate:d,isPending:c}=ge({mutationFn:f=>j(void 0,[f],function*({createMessageInput:p}){let u=n==null?void 0:n.id,g=F(y({},p),{senderId:t==null?void 0:t.id,pageId:t==null?void 0:t.id,participants:[u,t==null?void 0:t.id].filter(Boolean)});return e(g),g}),onMutate({createMessageInput:p}){let f={conversationId:n==null?void 0:n.conversationId,body:p==null?void 0:p.body,senderId:t==null?void 0:t.id,createdAt:new Date,updatedAt:new Date};H3({conversationId:n==null?void 0:n.conversationId,message:f,queryClient:r}),O3({conversationId:n==null?void 0:n.conversationId,chatHeaderOption:a,pageId:t==null?void 0:t.id,message:f,queryClient:r});},onError(){r==null||r.invalidateQueries({queryKey:l}),r==null||r.invalidateQueries({queryKey:["page-conversations",t==null?void 0:t.id,a]});},onSuccess(){r==null||r.invalidateQueries({queryKey:l}),r==null||r.invalidateQueries({queryKey:["page-conversations",t==null?void 0:t.id,a]}),i==null||i("filter-all"),s==null||s(n),n!=null&&n.id&&rM(n.id);}});return {sendMessage:d,isSendingAMessage:c}};var cV=e=>e.type.startsWith("image/")?e.type==="image/gif"?"gif":"image":e.type.startsWith("video/")?"video":"file";function sM(){let{uploadMultipleFiles:e}=B2(),{onSelectChat:t,draftMessages:o,setDraftMessage:r,replyMessage:n,setReplyMessage:a,addTemporaryMessage:s,removeTemporaryMessage:i}=it(),{conversationExists:l}=G2(),{createANewConversation:d}=lm(),{sendMessage:c}=nM(),{locale:p,page:f}=M(),[u,g]=J.useState([]),[m,v]=J.useState(false),h=it(P=>P.selectedChat),b=(h==null?void 0:h.conversationId)||(h!=null&&h.id?`temp-${h.id}`:null),x=b&&o[b]||"",w=P=>{b&&r(b,P);},C=(P,S)=>{let D=P instanceof File?P:new File([P],"audio-message.webm",{type:"audio/webm"}),T={file:D,type:S,previewUrl:S==="media"||S==="audio"?URL.createObjectURL(D):void 0};g(L=>[...L,T]);},A=P=>{g(S=>S.filter((D,T)=>T!==P));},k=P=>{if(!b)return;let S=((P==null?void 0:P.convertedBody)||x).trim();if(!S&&u.length===0&&!n)return;let D=[];u.length>0&&u.forEach(L=>{let E=L.type==="media"?cV(L.file):L.type,B=`sending.${E}`,W=O(p||"pt",B),q=crypto.randomUUID();D.push(q),s(b,W,E,q);});let T=L=>{let E=B=>{let W={conversationId:L,body:S||void 0,attachments:B,replyMessageId:n==null?void 0:n.id,mentions:P==null?void 0:P.mentions};c({createMessageInput:W}),D.forEach(q=>i(L,q));};u.length>0?e({files:u.map(B=>B.file),path:`chat/${L}`,ownerType:"chat"},{onSuccess(B){let W=B.map((q,Y)=>({type:u[Y].type,url:q}));E(W);},onError(){D.forEach(B=>i(L,B));}}):E();};if(h!=null&&h.conversationId)T(h.conversationId);else if(l(b))T(b);else {let L=h!=null&&h.id?{id:h.id,name:h.name,avatar:h.avatar}:void 0;if(!(L!=null&&L.id)){console.error("N\xE3o \xE9 poss\xEDvel criar conversa: targetUser.id n\xE3o est\xE1 definido");return}d(L,E=>{var W;let B=(W=E==null?void 0:E.createConversation)==null?void 0:W.id;B&&(it.getState().replaceTempConversationId(b,B),t==null||t(F(y({},h),{conversationId:B})),T(B));});}w(""),g([]),a==null||a(null);},N=P=>{P.key==="Enter"&&!P.shiftKey&&(P.preventDefault(),k());};J.useEffect(()=>()=>{u.forEach(P=>P.previewUrl&&URL.revokeObjectURL(P.previewUrl));},[u]);let I=x.trim().length>0||u.length>0||!!n;return {message:x,attachedFiles:u,isRecording:m,setIsRecording:v,setDraft:w,attachFile:C,removeFile:A,send:k,handleKeyDown:N,hasMessageOrFiles:I,replyMessage:n,setReplyMessage:a}}function e8(){let {isMobile:e}=Ne(),{selectedChat:t}=it(),o=J.useRef(null);J.useRef(null);let n=J.useRef(null),[a,s]=J.useState(false),[i,l]=J.useState(""),d=J.useMemo(()=>t!=null&&t.participants?t.participants.map(H=>{let z=(H==null?void 0:H.user)||H;return !(z!=null&&z.id)||!(z!=null&&z.name)?null:{id:z.id,name:z.name,avatar:z.avatar,slug:z.slug}}).filter(H=>H!==null):[],[t==null?void 0:t.participants]),c=J.useMemo(()=>{if(d.length!==0)return {participants:{type:"participants",trigger:"@",items:d,renderItem:(H,z)=>J__namespace.default.createElement("div",{className:`flex items-center gap-2 p-2 cursor-pointer ${z?"bg-blue-50 text-primary":"hover:bg-gray-50"}`},J__namespace.default.createElement(ae,{src:H.avatar,name:H.name,className:"w-6 h-6"}),J__namespace.default.createElement("span",{className:"text-sm font-medium"},H.name))}}},[d]),{message:p,attachedFiles:f,isRecording:u,setIsRecording:g,setDraft:m,attachFile:v,removeFile:h,send:b,handleKeyDown:x,hasMessageOrFiles:w,replyMessage:C}=sM(),A=d.length>0&&(t==null?void 0:t.isGroup)===true;W2({mentions:c,onSubmit:H=>{var z;if(H.content){let G=ec(H.content);m(G);let R=((z=H.participants)==null?void 0:z.map(V=>({mentionedId:V.id})))||[];b({mentions:R,convertedBody:G});}}});W2({onSubmit:H=>{H.content&&(m(H.content),b());}});let {showMentionDropdown:P,filteredParticipants:S,selectedMentionIndex:D,mentionPosition:T,handleMentionInput:L,insertMention:E,handleKeyNavigation:B}=Lp({participants:d,shouldUseMentions:A,textAreaRef:o,onInsertMention:(H,z)=>{l(H),m(H);}}),W=()=>{if(A&&c){let H=i.trim();if(H){let z=ec(H),G=d.filter(R=>H.includes(`@${R.name}`)).map(R=>({mentionedId:R.id}));b({mentions:G,convertedBody:z});}else (f.length>0||C)&&b();}else (p.trim()||f.length>0||C)&&b();},q=A?i.trim().length>0||f.length>0||!!C:w,Y=H=>{let z=H.emoji,G=o.current;if(!G)return;let R=G.selectionStart,V=G.selectionEnd;if(A){let _=i.substring(0,R)+z+i.substring(V),$=_.length>0?_.charAt(0).toUpperCase()+_.slice(1):_;l($),m($);}else {let _=p.substring(0,R)+z+p.substring(V);m(_.length>0?_.charAt(0).toUpperCase()+_.slice(1):_);}requestAnimationFrame(()=>{G.focus(),G.selectionStart=G.selectionEnd=R+z.length;});};return J__namespace.default.createElement("div",{className:"flex flex-col gap-2"},u&&J__namespace.default.createElement("div",{className:"flex items-center gap-2 p-2 bg-gray-50 rounded-lg"},J__namespace.default.createElement(Ip,{onSend:H=>{v(H,"audio"),g(false);},onCancel:()=>g(false)})),f.length>0&&J__namespace.default.createElement("div",{className:"flex gap-2 overflow-x-auto pb-2"},f.map((H,z)=>{var G;return J__namespace.default.createElement("div",{key:z,className:"relative flex-shrink-0"},H.type==="media"&&H.previewUrl&&J__namespace.default.createElement("div",{className:"relative w-20 h-20 rounded-lg overflow-hidden"},J__namespace.default.createElement("img",{src:H.previewUrl,alt:"Preview",className:"w-full h-full object-cover"}),J__namespace.default.createElement("button",{onClick:()=>h(z),className:"absolute top-1 right-1 bg-red-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs"},"\xD7")),H.type==="audio"&&J__namespace.default.createElement(K2,{src:(G=H.previewUrl)!=null?G:""}))})),J__namespace.default.createElement("div",{className:"flex items-end gap-2 w-full"},A?J__namespace.default.createElement(Rd,{ref:o,placeholder:"Digite sua mensagem...",value:i,onChange:H=>{let z=H.target.value,G=z.length>0?z.charAt(0).toUpperCase()+z.slice(1):z;l(G),m(G);},onMentionDetected:L,onKeyDown:H=>{let z=B(H);if(z==="select"){E(S[D],i);return}z||H.key==="Enter"&&!H.shiftKey&&(H.preventDefault(),W());},onFocus:()=>{e&&setTimeout(()=>{window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"});},300);},maxRows:8,className:e?"w-full max-h-26 shadow-xs !h-full gap-2 px-3 py-2 rounded-[1.5rem] border border-[#E4EBF1] flex items-center !bg-white flex-1":"w-full max-h-26 shadow-xs !h-full gap-[0.625rem] px-6 py-[1rem] rounded-[1rem] border border-[#E4EBF1] flex items-center !bg-white",inputClassName:"flex-1 w-full !h-auto leading-5 resize-none",leftIcon:J__namespace.default.createElement(U2,{onAttach:v}),rightIcon:J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement(q2,{showPicker:a,onTogglePicker:s,onSelect:Y}),!i.trim()&&J__namespace.default.createElement(_2,{hasMessage:q,onStart:()=>g(true)}),(i.trim()||f.length>0||!!C)&&J__namespace.default.createElement(V2,{hasMessage:q,onClick:W}))}):J__namespace.default.createElement(U1,{ref:o,placeholder:"Digite sua mensagem...",value:p,onChange:H=>{let z=H.target.value,G=z.length>0?z.charAt(0).toUpperCase()+z.slice(1):z;m(G);},onKeyDown:x,onFocus:()=>{e&&setTimeout(()=>{window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"});},300);},maxRows:8,className:e?"w-full max-h-26 shadow-xs !h-full gap-2 px-3 py-2 rounded-[1.5rem] border border-[#E4EBF1] flex items-center !bg-white flex-1":"w-full max-h-26 shadow-xs !h-full gap-[0.625rem] px-6 py-[1rem] rounded-[1rem] border border-[#E4EBF1] flex items-center !bg-white",inputClassName:"flex-1 w-full !h-auto leading-5 resize-none",leftIcon:J__namespace.default.createElement(U2,{onAttach:v}),rightIcon:J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement(q2,{showPicker:a,onTogglePicker:s,onSelect:Y}),!p.trim()&&J__namespace.default.createElement(_2,{hasMessage:q,onStart:()=>g(true)}),(p.trim()||f.length>0||!!C)&&J__namespace.default.createElement(V2,{hasMessage:q,onClick:W}))})),P&&A&&J__namespace.default.createElement(Dp,{participants:S,selectedIndex:D,position:T,onSelectParticipant:H=>{E(H,i);}}),J__namespace.default.createElement(react.AnimatePresence,null,a&&J__namespace.default.createElement(react.motion.div,{ref:n,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},className:"absolute bottom-full right-0 mb-2 z-50"})))}function uV(){let{selectedChat:e}=it(),{isMobile:t}=Ne(),{page:o}=M();return J__namespace.default.createElement("div",{className:U("!w-full !h-full !flex !flex-col !gap-6 !p-6 !bg-white !border !border-[#E4EBF1] !rounded-xl !box-border !flex-1 !min-h-0","lg:!max-w-[44.188rem] lg:!max-h-[62.25rem]","md:!max-w-[90vw] md:!p-5 md:!gap-5","sm:!rounded-lg sm:!p-4 sm:!gap-4 sm:!h-auto sm:!max-h-[85vh]","max-sm:!max-w-full max-sm:!border-0 max-sm:!rounded-none max-sm:!h-[100vh] max-sm:!p-3 max-sm:!gap-3")},e?J__namespace.default.createElement(J__namespace.default.Fragment,null,!t&&J__namespace.default.createElement(Ju,null),J__namespace.default.createElement("div",{className:"!flex-1 !min-h-0 !overflow-y-auto !scroll-smooth !pb-24 scrollbar-hide"},J__namespace.default.createElement($u,null)),J__namespace.default.createElement(Ni,null),J__namespace.default.createElement(e8,null)):J__namespace.default.createElement(om,null))}var dM={sharePost:"Share post",repostPost:"Repost post",addDescriptionToRepost:"Add a description to your repost...",startPost:"Start a post...",shareNow:"Share now",repost:"Repost",share:"Share",shareInChat:"Share in chat",searchContacts:"Search contacts",shareIn:"Share on",all:"All",connections:"Connections",communities:"Communities",facebook:"Facebook",linkedin:"LinkedIn",pages:"Pages",copyLink:"Copy link",linkCopied:"Link copied to clipboard!",selectPageToShare:"Select page to share",cancel:"Cancel",sharing:"Sharing...",errorSharingPost:"Error sharing post",errorSharingMessage:"An error occurred while sharing the post",noContactsFound:"No contacts found",tryDifferentSearch:"Try a different search",shareProfile:"Share profile",shareInCommunity:"Share in community",noCommunitiesAvailable:"No communities available to share.",noPagesAvailable:"No pages available to share.",shareProfilePersonalMessage:"Hello, I would like to share my profile with you.",shareProfileMessage:"Hello, I would like to share this profile with you. Check it out:",errorUploadTitle:"Upload error",errorUploadMessage:"Could not upload QR code.",errorUploadImageMessage:"Could not get image URL.",errorProfileInfo:"Profile information not available.",profileSharedTitle:"Profile shared",profileSharedMessage:"Profile shared successfully!",errorSharingProfileTitle:"Error sharing",errorSharingProfileMessage:"An error occurred while sharing the profile."};var cM={sharePost:"Partager la publication",repostPost:"Republier la publication",addDescriptionToRepost:"Ajouter une description \xE0 votre republication...",startPost:"Commencer une publication...",shareNow:"Partager maintenant",repost:"Republier",share:"Partager",shareInChat:"Partager dans le chat",searchContacts:"Rechercher des contacts",shareIn:"Partager sur",all:"Tous",connections:"Connexions",communities:"Communaut\xE9s",facebook:"Facebook",linkedin:"LinkedIn",pages:"Pages",copyLink:"Copier le lien",linkCopied:"Lien copi\xE9 dans le presse-papiers !",selectPageToShare:"S\xE9lectionner la page \xE0 partager",cancel:"Annuler",sharing:"Partage en cours...",errorSharingPost:"Erreur lors du partage de la publication",errorSharingMessage:"Une erreur s'est produite lors du partage de la publication",noContactsFound:"Aucun contact trouv\xE9",tryDifferentSearch:"Essayez une recherche diff\xE9rente",shareProfile:"Partager le profil",shareInCommunity:"Partager dans la communaut\xE9",noCommunitiesAvailable:"Aucune communaut\xE9 disponible pour partager.",noPagesAvailable:"Aucune page disponible pour partager.",shareProfilePersonalMessage:"Bonjour, j'aimerais partager mon profil avec vous.",shareProfileMessage:"Bonjour, j'aimerais partager ce profil avec vous. D\xE9couvrez-le :",errorUploadTitle:"Erreur de t\xE9l\xE9chargement",errorUploadMessage:"Impossible de t\xE9l\xE9charger le code QR.",errorUploadImageMessage:"Impossible d'obtenir l'URL de l'image.",errorProfileInfo:"Informations du profil non disponibles.",profileSharedTitle:"Profil partag\xE9",profileSharedMessage:"Profil partag\xE9 avec succ\xE8s !",errorSharingProfileTitle:"Erreur de partage",errorSharingProfileMessage:"Une erreur s'est produite lors du partage du profil."};var pM={sharePost:"Compartilhar publica\xE7\xE3o",repostPost:"Repostar publica\xE7\xE3o",addDescriptionToRepost:"Adicionar uma descri\xE7\xE3o ao seu repost...",startPost:"Comece uma publica\xE7\xE3o...",shareNow:"Compartilhar agora",repost:"Repost",share:"Compartilhar",shareInChat:"Compartilhar no chat",searchContacts:"Pesquisar contatos",shareIn:"Compartilhar em",all:"Todos",connections:"Conex\xF5es",communities:"Comunidades",facebook:"Facebook",linkedin:"LinkedIn",pages:"P\xE1ginas",copyLink:"Copiar link",linkCopied:"Link copiado para a \xE1rea de transfer\xEAncia!",selectPageToShare:"Selecionar p\xE1gina para partilhar",cancel:"Cancelar",sharing:"Partilhando...",errorSharingPost:"Erro ao compartilhar publica\xE7\xE3o",errorSharingMessage:"Ocorreu um erro ao compartilhar a publica\xE7\xE3o",noContactsFound:"Nenhum contato encontrado",tryDifferentSearch:"Tente uma pesquisa diferente",shareProfile:"Partilhar perfil",shareInCommunity:"Compartilhar na comunidade",noCommunitiesAvailable:"Nenhuma comunidade dispon\xEDvel para compartilhar.",noPagesAvailable:"Nenhuma p\xE1gina dispon\xEDvel para compartilhar.",shareProfilePersonalMessage:"Ol\xE1, gostaria de partilhar com voc\xEA o meu perfil.",shareProfileMessage:"Ol\xE1, gostaria de compartilhar este perfil com voc\xEA. Confira:",errorUploadTitle:"Erro ao fazer upload",errorUploadMessage:"N\xE3o foi poss\xEDvel fazer upload do QR code.",errorUploadImageMessage:"N\xE3o foi poss\xEDvel obter a URL da imagem.",errorProfileInfo:"Informa\xE7\xF5es do perfil n\xE3o dispon\xEDveis.",profileSharedTitle:"Perfil compartilhado",profileSharedMessage:"Perfil compartilhado com sucesso!",errorSharingProfileTitle:"Erro ao compartilhar",errorSharingProfileMessage:"Ocorreu um erro ao compartilhar o perfil."};var fV={pt:y({},pM),en:y({},dM),fr:y({},cM)};function se(e,t){return fV[e][t]}function o8({postId:e,onClose:t,searchTerm:o=""}){let[r,n]=J.useState(""),{isSendingMessageIntoChat:a,sendMessageIntoChat:s}=Wx(),{user:i,locale:l}=M(),{conversationId:d,isCheckingConversation:c}=Yp(r),{createANewConversation:p,isCreatingANewConversation:f}=vp({avatar:"",id:r,name:""}),{contacts:u,isFetchingNextPage:g,fetchNextPage:m,hasNextPage:v,isGettingContacts:h}=zn({perPage:50,slug:i==null?void 0:i.slug,sort:"",sortDir:"",filter:{name:o.trim()||null,slug:null}}),b=J.useRef(null),x=J.useRef(null),w=J.useRef(false),C=J.useCallback(P=>{P[0].isIntersecting&&v&&!g&&m();},[m,v,g]);J.useEffect(()=>{let P={root:b.current,rootMargin:"0px",threshold:1},S=new IntersectionObserver(C,P);return x.current&&S.observe(x.current),()=>{x.current&&S.unobserve(x.current);}},[C]);let A=J.useCallback(P=>{c||a||f||n(P);},[c,a,f]);J.useEffect(()=>{if(!r||!e||w.current)return;j(this,null,function*(){if(w.current=true,d!=null&&d.length){s({conversationId:d,postId:e}),t==null||t(),w.current=false;return}p(void 0,{onSuccess(S){var D;s({conversationId:(D=S==null?void 0:S.createConversation)==null?void 0:D.id,postId:e}),t==null||t();},onSettled(){w.current=false;}});});},[r,d,e,p,s,t]);let k=()=>Array.from({length:6}).map((P,S)=>J__namespace.default.createElement("div",{key:S,className:"flex flex-col items-center text-center min-w-[64px] sm:min-w-[72px]"},J__namespace.default.createElement(Zt,{className:"h-12 w-12 rounded-full mb-1 sm:h-14 sm:w-14"}),J__namespace.default.createElement(Zt,{className:"h-3 w-[48px] sm:w-[56px]"}))),N=()=>J__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center w-full text-center"},J__namespace.default.createElement("div",{className:"text-gray-shade8 mb-2"},J__namespace.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5"},J__namespace.default.createElement("path",{d:"M16 16l4 4"}),J__namespace.default.createElement("circle",{cx:"10",cy:"10",r:"6"}))),J__namespace.default.createElement("p",{className:"text-sm text-gray-shade8"},o.trim()?`${se(l!=null?l:"pt","noContactsFound")} "${o.trim()}"`:se(l!=null?l:"pt","noContactsFound")),o.trim()&&J__namespace.default.createElement("p",{className:"text-xs text-gray-shade8 mt-1"},se(l!=null?l:"pt","tryDifferentSearch"))),I=h||a||c||f;return J__namespace.default.createElement("div",{className:U("w-full overflow-x-auto scrollbar-thin scrollbar-thumb-muted scrollbar-track-transparent","hover:scrollbar-thumb-gray-shatext-gray-shade8 scroll-smooth snap-x","overflow-y-hidden touch-pan-x"),ref:b},J__namespace.default.createElement("div",{className:"flex gap-4 py-2 min-w-max"},h&&k(),!h&&(u==null?void 0:u.length)===0&&N(),!h&&(u==null?void 0:u.length)>0&&(u==null?void 0:u.map(P=>{var T;let S=(T=P==null?void 0:P.followed)!=null?T:P==null?void 0:P.follower,D=I;return J__namespace.default.createElement("div",{key:P.id,onClick:()=>!D&&A(S==null?void 0:S.id),className:U("flex flex-col items-center text-center min-w-[64px] sm:min-w-[72px]","transition-opacity select-none",D?"opacity-50 cursor-not-allowed":"cursor-pointer hover:opacity-80")},J__namespace.default.createElement(ae,{src:S==null?void 0:S.avatar,name:S==null?void 0:S.name,className:"mb-1"}),J__namespace.default.createElement("span",{className:"text-sm text-gray-shade8 truncate w-[64px] sm:w-[72px]"},S==null?void 0:S.name))})),!h&&(u==null?void 0:u.length)>0&&J__namespace.default.createElement("div",{ref:x,className:"flex items-center justify-center min-w-[80px]"},g&&k(),!g&&v&&J__namespace.default.createElement("span",{className:"text-xs text-gray-shade8 animate-pulse"},"\u22EF"))),J__namespace.default.createElement("div",{className:"absolute right-0 top-0 bottom-0 w-10 bg-gradient-to-l from-background pointer-events-none"}))}var Z1=zustand.create(e=>({isDownloadModalOpen:false,openDownloadModal:()=>e({isDownloadModalOpen:true}),closeDownloadModal:()=>e({isDownloadModalOpen:false}),toggleDownloadModal:()=>e(t=>({isDownloadModalOpen:!t.isDownloadModalOpen}))}));var bm=()=>{let{locale:e="pt"}=M(),t=o=>he(e,o);return {title:t("download.banner.title"),subtitle:t("download.banner.subtitle"),button:t("download.banner.button"),trigger:t("download.banner.trigger")}};function vV(e){let{fontSize:t=20}=e;return J__namespace.createElement("svg",y({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},e),J__namespace.createElement("path",{opacity:.4,d:"M17.554 7.296c2.451 0 4.446 2.06 4.446 4.592v5.032c0 2.526-1.99 4.58-4.436 4.58H6.448C3.996 21.5 2 19.441 2 16.91v-5.033c0-2.525 1.991-4.58 4.438-4.58h11.116z",fill:"#fff"}),J__namespace.createElement("path",{d:"M12.546 16.037l2.91-2.967c.3-.307.3-.8-.003-1.107a.762.762 0 00-1.089.002l-1.593 1.626V3.282a.777.777 0 00-.77-.782.776.776 0 00-.77.782v10.309l-1.594-1.626a.762.762 0 00-1.089-.002.788.788 0 00-.002 1.107l2.91 2.967c.144.148.34.231.544.231a.766.766 0 00.546-.23z",fill:"#fff"}))}var yV=J__namespace.memo(vV),fM=yV;var bV="mirantes-b2c-app://",xV="https://apps.apple.com/br/app/mirantes/idYOUR_APP_ID",wV="https://play.google.com/store/apps/details?id=com.desenvolvimentomirantes.mirantes&hl=pt-BR";function gM(){if(typeof window=="undefined")return;let e=Date.now(),t=/iPhone|iPad|iPod/i.test(navigator.userAgent),o=/Android/i.test(navigator.userAgent),r=`${bV}home`;window.location.href=r,setTimeout(()=>{Date.now()-e<2e3&&(t?window.location.href=xV:o&&(window.location.href=wV));},1500);}var CV=e=>J__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},J__namespace.createElement("g",{id:"freepik--background-complete--inject-10"},J__namespace.createElement("path",{fill:"#ebebeb",d:"M0 382.4h500v.25H0zM416.78 398.49h33.12v.25h-33.12zM322.53 401.21h8.69v.25h-8.69zM396.59 389.21h19.19v.25h-19.19zM52.46 390.89h43.19v.25H52.46zM104.56 390.89h6.33v.25h-6.33zM131.47 395.11h93.68v.25h-93.68zM237 337.8H43.91a5.71 5.71 0 0 1-5.7-5.71V60.66a5.71 5.71 0 0 1 5.7-5.66H237a5.71 5.71 0 0 1 5.71 5.71v271.38a5.71 5.71 0 0 1-5.71 5.71M43.91 55.2a5.46 5.46 0 0 0-5.45 5.46v271.43a5.46 5.46 0 0 0 5.45 5.46H237a5.47 5.47 0 0 0 5.46-5.46V60.66A5.47 5.47 0 0 0 237 55.2ZM453.31 337.8h-193.1a5.72 5.72 0 0 1-5.71-5.71V60.66a5.72 5.72 0 0 1 5.71-5.66h193.1a5.71 5.71 0 0 1 5.69 5.66v271.43a5.71 5.71 0 0 1-5.69 5.71M260.21 55.2a5.47 5.47 0 0 0-5.46 5.46v271.43a5.47 5.47 0 0 0 5.46 5.46h193.1a5.47 5.47 0 0 0 5.46-5.46V60.66a5.47 5.47 0 0 0-5.46-5.46Z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M280.25 96.3h148.01v98.39H280.25z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M283.54 96.3h148.01v98.39H283.54z"}),J__namespace.createElement("path",{fill:"#fff",d:"M425.65 102.93v85.13H289.44v-85.13z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M425.65 102.93v85.13h-2.49v-85.13z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M285.98 167.86h143.13v8.9H285.98z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M438 85.32H273.81a.91.91 0 0 0-.91.91.91.91 0 0 0 .91.91H438a.91.91 0 0 0 .91-.91.91.91 0 0 0-.91-.91"}),J__namespace.createElement("circle",{cx:"438.9",cy:"86.23",r:"2.27",fill:"#e6e6e6"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M281.48 91.32a1.23 1.23 0 0 1-1.23-1.22v-2.64a1.23 1.23 0 0 1 1.23-1.23 1.23 1.23 0 0 1 1.22 1.23v2.64a1.22 1.22 0 0 1-1.22 1.22M424.28 91.32a1.23 1.23 0 0 1-1.23-1.22v-2.64a1.24 1.24 0 0 1 1.23-1.23 1.23 1.23 0 0 1 1.23 1.23v2.64a1.23 1.23 0 0 1-1.23 1.22"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M285.98 86.23H437.7v95.6H285.98z",opacity:"0.4"}),J__namespace.createElement("circle",{cx:"296.09",cy:"86.23",r:"2.27",fill:"#e6e6e6"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M377.72 199.16c2.66 3.68-2 7 1.84 10.81s-1.21 7.33-2.09 11.37 5 5.9 5.51 10.9-8.65 11-8.65 11-6.53-1.6-8.89-6.36 2-8-1.09-11.48-9.79-5.48-8.39-10-3.67-6-5.51-10c-.62-1.36-.25-.38.52-1.91 1.93-3.84 5.29-10.72 9.53-11.43 8.92-1.56 13.5 1.94 17.22 7.1"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M379.16 193.1c-3.31 4 1.72 8-3 12.12s.78 8.38 1.44 13-6.13 6.37-7.12 12 8.9 13 8.9 13 7.52-1.39 10.58-6.63-1.62-9.16 2.18-12.94 11.53-5.56 10.31-10.77 4.64-6.52 7.06-11c.87-1.61.47-3.6-.39-5.5a13.88 13.88 0 0 0-10.64-7.82c-5.88-.92-14.67-1.07-19.32 4.54"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M410 227s-.81 22.85-31.58 22.85S346.88 227 346.88 227Z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M279.68 256.14h29.04v119.73h-29.04zM285.26 375.88h143.2v6.52h-143.2z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M434.03 375.88H308.72V256.15h125.31z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M423.12 330.31H319.63v-28.6h103.49Zm-102.49-1h101.49v-26.6H320.63ZM423.12 364.06H319.63v-28.59h103.49Zm-102.49-1h101.49v-26.59H320.63Z"}),J__namespace.createElement("path",{fill:"#ebebeb",d:"M383.4 306.84h-24a2.32 2.32 0 0 1-2.31-2.31 2.32 2.32 0 0 1 2.31-2.32h24a2.32 2.32 0 0 1 2.31 2.32 2.32 2.32 0 0 1-2.31 2.31"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M423.12 296.56H319.63V268h103.49Zm-102.49-1h101.49V269H320.63Z"}),J__namespace.createElement("path",{fill:"#ebebeb",d:"M383.4 273.09h-24a2.33 2.33 0 0 1-2.31-2.32 2.32 2.32 0 0 1 2.31-2.31h24a2.32 2.32 0 0 1 2.31 2.31 2.33 2.33 0 0 1-2.31 2.32M383.4 340.6h-24a2.33 2.33 0 0 1-2.31-2.32 2.32 2.32 0 0 1 2.31-2.31h24a2.32 2.32 0 0 1 2.31 2.31 2.33 2.33 0 0 1-2.31 2.32"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M308.72 249.85H437.9v6.3H308.72z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M308.72 256.14h-33.1v-6.3h33.1z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M95.11 82h106.82v121.18H95.11z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M96.68 82h113.99v121.18H96.68z"}),J__namespace.createElement("path",{fill:"#fff",d:"M201.12 91.55v102.08h-94.89V91.55z"}),J__namespace.createElement("rect",{width:"52.6",height:"48.89",x:"127.37",y:"118.14",fill:"#f5f5f5",rx:"9.41",transform:"rotate(90 153.67 142.59)"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M197.47 287.61c-.53 0-1.07 0-1.61.05a23 23 0 0 0-20.55 28.86 114.8 114.8 0 0 1 3.6 29.89v29.34a3.86 3.86 0 0 0 3.85 3.86h93.16v-92Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M298.86 310.55a22.94 22.94 0 1 0-45.1 6 114.8 114.8 0 0 1 3.6 29.89v29.34a3.85 3.85 0 0 0 3.85 3.86h29.41a3.86 3.86 0 0 0 3.86-3.86v-31.1a105 105 0 0 1 3.55-28 23 23 0 0 0 .83-6.13"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M160.69 323.75h83.61v55.86h-83.61z"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M108.95 250.57h77.18a17.36 17.36 0 0 1 17.36 17.36v68.45H91.58v-68.45a17.36 17.36 0 0 1 17.36-17.36Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M130 250.57h78.86a16.53 16.53 0 0 1 16.53 16.53v69.28H113.45v-69.29A16.53 16.53 0 0 1 130 250.57"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M166.16 318.65h77.07a5 5 0 0 1 5 5v12.67a5 5 0 0 1-5 5h-77.07a1.51 1.51 0 0 1-1.51-1.51v-19.66a1.51 1.51 0 0 1 1.51-1.5"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M83.34 287.61c-.53 0-1.07 0-1.61.05a23 23 0 0 0-21.29 21.39 23.3 23.3 0 0 0 .74 7.47 114.8 114.8 0 0 1 3.6 29.89v29.34a3.85 3.85 0 0 0 3.85 3.86h93.15v-92Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M184.73 310.55a22.94 22.94 0 1 0-45.1 6 115.2 115.2 0 0 1 3.59 29.89v29.34a3.86 3.86 0 0 0 3.86 3.86h29.41a3.85 3.85 0 0 0 3.85-3.86v-31.1a104.5 104.5 0 0 1 3.56-28 23 23 0 0 0 .83-6.13"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M274.28 382.4H85a2.79 2.79 0 0 1-2.8-2.79h194.87a2.79 2.79 0 0 1-2.79 2.79"})),J__namespace.createElement("g",{id:"freepik--Shadow--inject-10"},J__namespace.createElement("ellipse",{id:"freepik--path--inject-10",cx:"250",cy:"416.24",fill:"#f5f5f5",rx:"193.89",ry:"11.32"})),J__namespace.createElement("g",{id:"freepik--Character--inject-10"},J__namespace.createElement("path",{fill:"#263238",d:"M308.2 123.37c2.86 5.16 3.1 26.23-2.2 30.55-9.74-1.07-17.49-5.78-17.74-16.87s14.55-23.38 19.94-13.68"}),J__namespace.createElement("path",{fill:"#263238",d:"M297.9 151c-2.56-1.5-6.82 3.44-7.8 11.91-.7 6-12.46-4.14-16.29 5.68-3.94-3-6.21-14.69 5-11.57 7.93 2.19 6.26.87 9.92-4 3.84-5.1 6.73-4.74 9.17-2.02"}),J__namespace.createElement("path",{fill:"#803e3c",d:"m331.63 176.61.91 2.85c.32 1 .66 2 1 2.95.67 2 1.37 4 2.11 5.92s1.47 3.94 2.26 5.9l1.15 3 .29.74.07.17a1.4 1.4 0 0 0-.42-.25c-.22-.08-.31 0-.18 0a2.3 2.3 0 0 0 .71-.11 11 11 0 0 0 2.25-1 42.4 42.4 0 0 0 4.88-3.34c1.62-1.26 3.21-2.61 4.76-4s3.14-2.84 4.65-4.26l3.07 2.6c-1.28 1.84-2.64 3.52-4 5.23s-2.92 3.31-4.5 4.9a40 40 0 0 1-5.28 4.52 17.8 17.8 0 0 1-3.48 1.9 9.5 9.5 0 0 1-2.41.62 6.6 6.6 0 0 1-3.33-.45 6.9 6.9 0 0 1-3.2-3l-.26-.54-.36-.73c-.48-1-1-2-1.42-2.94-.91-2-1.82-4-2.64-6s-1.65-4.06-2.41-6.12c-.37-1-.72-2.09-1.07-3.14s-.66-2.08-1-3.31Z"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M329.27 167.73c3.44.88 5.85 15.06 5.85 15.06l-9.49 6.46s-9.11-14.31-6.46-18.1c2.76-3.94 5.07-4.7 10.1-3.42"}),J__namespace.createElement("path",{fill:"#263238",d:"M329.27 167.73c3.44.88 5.85 15.06 5.85 15.06l-9.49 6.46s-9.11-14.31-6.46-18.1c2.76-3.94 5.07-4.7 10.1-3.42"}),J__namespace.createElement("path",{d:"m328.96 170.9 2.64 14.29-5.33 3.62z",opacity:"0.3"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m355.91 185.52 3.17-7.64 3.91 7.64s-2.54 3.8-5.89 2.87Z"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m362.57 177.09 5.03 2.02-4.61 6.41-3.91-7.64z"}),J__namespace.createElement("rect",{width:"29.73",height:"29.73",x:"360.51",y:"171.77",fill:"#0B89CE",rx:"7.75",transform:"rotate(-38.93 375.37 186.633)"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M310.62 406.45h8.36l.56-19.37h-8.36zM254.5 381.5l7.69 3.28 10.06-16.76-7.69-3.28z"}),J__namespace.createElement("path",{fill:"#263238",d:"m263.66 383.64-8-4.92a.66.66 0 0 0-.87.14l-4.8 5.77a1.34 1.34 0 0 0 .36 2c2.82 1.67 4.27 2.33 7.79 4.49 2.16 1.34 5.19 3.5 8.18 5.34s5-1 3.89-2.05c-4.85-4.63-4.71-6.83-5.62-9.57a2.2 2.2 0 0 0-.93-1.2M319.27 405.48h-9.4a.66.66 0 0 0-.66.57l-1.07 7.44a1.33 1.33 0 0 0 1.34 1.48c3.27-.05 4.85-.25 9-.25 2.54 0 7.8.27 11.31.27s3.7-3.47 2.24-3.79c-6.56-1.41-9.14-3.35-11.34-5.2a2.17 2.17 0 0 0-1.42-.52"}),J__namespace.createElement("path",{d:"m319.54 387.09-.29 9.98h-8.36l.28-9.98zM264.55 364.75l7.7 3.27-5.19 8.64-7.7-3.28z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#263238",d:"M329.27 167.73s4 1.4-4 50.47h-34c.57-13.82.58-22.34-6-50.71a100 100 0 0 1 14.42-1.9 107 107 0 0 1 15.42 0c6.65.6 14.16 2.14 14.16 2.14"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M301.24 148.22c1 5 1.94 14.06-1.53 17.37 0 0 1.36 5 10.58 5 10.13 0 4.84-5 4.84-5-5.53-1.32-5.39-5.43-4.43-9.28Z"}),J__namespace.createElement("path",{d:"m305.1 151.52 5.6 4.78a15.6 15.6 0 0 0-.47 2.74c-2.12-.31-5-2.63-5.25-4.84a7.5 7.5 0 0 1 .12-2.68",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M296.66 139.36c1.93 8.07 2.58 11.53 7.44 15 7.3 5.21 16.79 1.07 17.31-7.42.46-7.64-2.78-19.55-11.34-21.39a11.31 11.31 0 0 0-13.41 13.81"}),J__namespace.createElement("path",{fill:"#263238",d:"M319.67 134.09a.38.38 0 0 0 .33-.09.4.4 0 0 0 0-.56 4 4 0 0 0-3.39-1.26.41.41 0 0 0-.32.47.4.4 0 0 0 .47.31 3.15 3.15 0 0 1 2.67 1 .4.4 0 0 0 .24.13"}),J__namespace.createElement("path",{fill:"#fff",d:"M319.46 143.73a2.57 2.57 0 0 1-1.6-.6 7.8 7.8 0 0 1-2.32-5.32c-.31-3.6 1-6.65 3.09-6.95a2.43 2.43 0 0 1 1.91.58 7.8 7.8 0 0 1 2.32 5.32c.32 3.59-1 6.65-3.08 7a1.7 1.7 0 0 1-.32-.03m-.51-12.4h-.25c-1.76.26-2.95 3.14-2.67 6.42a7.28 7.28 0 0 0 2.14 5 1.94 1.94 0 0 0 1.53.48c1.76-.26 3-3.14 2.67-6.42a7.28 7.28 0 0 0-2.14-5 2.08 2.08 0 0 0-1.23-.48Z"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M325.27 218.2s6.6 64.42 6.05 89.92c-.57 26.52-10.29 87-10.29 87h-11.31s1.79-58.95.79-85c-1.09-28.4-10.11-91.94-10.11-91.94Z"}),J__namespace.createElement("path",{fill:"#fff",d:"M325.27 218.2s6.6 64.42 6.05 89.92c-.57 26.52-10.29 87-10.29 87h-11.31s1.79-58.95.79-85c-1.09-28.4-10.11-91.94-10.11-91.94Z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M308.74 395.54h13.27l.97-4.23-14.86-.52z"}),J__namespace.createElement("path",{d:"M310.62 234.23C319 251 312.3 281.62 309.35 293c-1.52-17.1-4.07-38-6.05-53.37 1.26-8.63 3.47-13.14 7.32-5.4",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M316.3 218.2s-7.69 67-13.5 88.47c-6.9 25.53-33.13 69-33.13 69l-10.49-4.46s16.24-49.36 21.51-62.81c11.26-28.7 1.62-71.47 10.62-90.2Z"}),J__namespace.createElement("path",{fill:"#fff",d:"M316.3 218.2s-7.69 67-13.5 88.47c-6.9 25.53-33.13 69-33.13 69l-10.49-4.46s16.24-49.36 21.51-62.81c11.26-28.7 1.62-71.47 10.62-90.2Z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"m257.74 371.24 13.02 5.54 3.12-3.5-15.01-7.21z"}),J__namespace.createElement("path",{fill:"#263238",d:"M309.43 139.47c.12.66.57 1.14 1 1.06s.69-.68.58-1.34-.57-1.14-1-1.07-.69.68-.58 1.35M316.94 138.15c.12.66.57 1.14 1 1.06s.69-.68.57-1.34-.56-1.14-1-1.07-.68.68-.57 1.35"}),J__namespace.createElement("path",{fill:"#263238",d:"m317.33 136.88 1.52-.75s-.6 1.39-1.52.75"}),J__namespace.createElement("path",{fill:"#630f0f",d:"M315.16 139.64a18 18 0 0 0 3.11 3.82 2.91 2.91 0 0 1-2.29.86Z"}),J__namespace.createElement("path",{fill:"#263238",d:"M313 147.45a6.5 6.5 0 0 0 1.13-.1.2.2 0 0 0 .16-.23.19.19 0 0 0-.29-.12 5.34 5.34 0 0 1-4.65-1.31.2.2 0 1 0-.29.27 5.56 5.56 0 0 0 3.94 1.49M308.89 127.46c.15 3.85-5.91 16.21-10.28 17.17-5.36-3.5-6.86-9.63-3.74-16.17s13.74-8.25 14.02-1"}),J__namespace.createElement("path",{fill:"#263238",d:"M311.65 121.25c-3.39-.53-15 1.42-8.78 5s11.17 4.55 14.19 4.19 2.05-8.03-5.41-9.19"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M295.64 145.27a6.06 6.06 0 0 0 3.28 3.27c2 .8 3.19-.91 2.84-2.89-.31-1.79-1.72-4.36-3.79-4.31a2.73 2.73 0 0 0-2.33 3.93"}),J__namespace.createElement("path",{fill:"#263238",d:"M306.75 137.19a.4.4 0 0 0 .24-.2 3.14 3.14 0 0 1 2.25-1.76.39.39 0 0 0 .35-.44.39.39 0 0 0-.44-.35 3.92 3.92 0 0 0-2.87 2.19.4.4 0 0 0 .18.54.42.42 0 0 0 .29.02"}),J__namespace.createElement("path",{fill:"#fff",d:"M311 145a2.6 2.6 0 0 1-1.6-.61 7.8 7.8 0 0 1-2.32-5.32c-.31-3.59 1-6.65 3.08-6.95a2.53 2.53 0 0 1 1.92.58 7.8 7.8 0 0 1 2.32 5.32c.31 3.6-1 6.65-3.08 7Zm-.51-12.41h-.25c-1.76.26-3 3.14-2.67 6.42a7.28 7.28 0 0 0 2.14 5 1.93 1.93 0 0 0 1.53.48c1.76-.25 2.95-3.13 2.67-6.42a7.3 7.3 0 0 0-2.14-5 2.08 2.08 0 0 0-1.3-.49Z"}),J__namespace.createElement("path",{fill:"#803e3c",d:"M289.62 178.33a109 109 0 0 1-1.95 14.25 77.5 77.5 0 0 1-4 14l-.75 1.73-.19.43a4 4 0 0 1-.22.44 3.5 3.5 0 0 1-.32.52 5 5 0 0 1-1 1.12 4.7 4.7 0 0 1-1.65.84 5 5 0 0 1-2.92-.08 6.2 6.2 0 0 1-1.57-.75 12.2 12.2 0 0 1-1.88-1.54 37.4 37.4 0 0 1-4.68-6 102 102 0 0 1-6.79-12.53l3.49-2c2.72 3.67 5.45 7.42 8.33 10.85a37 37 0 0 0 4.33 4.57 4.4 4.4 0 0 0 .87.59c.08 0 .14 0 0 0a2.1 2.1 0 0 0-1.21 0c-1.48.44-1.65 1.75-1.34.74l.55-1.51a90 90 0 0 0 3.11-12.87c.76-4.39 1.34-9 1.76-13.33Z"}),J__namespace.createElement("path",{fill:"#263238",d:"M285.29 167.49c-3.4 1-7.49 12.75-7.49 12.75l13.2 9.44s4.81-9.78 3.38-14.18c-1.49-4.58-5.21-9.19-9.09-8.01"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M267.05 386.82a1.13 1.13 0 0 0 .7-.7.65.65 0 0 0 0-.68c-.6-.88-3.62-.81-4-.8a.2.2 0 0 0-.18.12.2.2 0 0 0 0 .21c.79.79 2.27 2.08 3.31 1.88Zm-2.81-1.82c1.21 0 2.83.17 3.14.64a.27.27 0 0 1 0 .3.75.75 0 0 1-.54.49c-.55.14-1.51-.43-2.6-1.43"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M265.13 384.79c.92-.29 1.89-.8 2.11-1.37a.7.7 0 0 0-.28-.82 1 1 0 0 0-.86-.21c-1.19.21-2.46 2.25-2.52 2.34a.23.23 0 0 0 0 .2.19.19 0 0 0 .17.1 4.9 4.9 0 0 0 1.38-.24m.92-2h.12a.65.65 0 0 1 .54.13c.2.16.19.28.15.37-.2.55-1.72 1.21-2.73 1.34a5 5 0 0 1 1.92-1.82ZM322.41 406.94a3.2 3.2 0 0 0 2-.51 1.1 1.1 0 0 0 .35-1 .63.63 0 0 0-.33-.52c-1-.56-4.36 1.14-4.74 1.33a.21.21 0 0 0-.1.21.18.18 0 0 0 .16.16 13.5 13.5 0 0 0 2.66.33m1.49-1.73a.8.8 0 0 1 .37.07.27.27 0 0 1 .13.22.71.71 0 0 1-.23.63c-.51.46-1.88.54-3.73.23a10.7 10.7 0 0 1 3.46-1.15"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M319.82 406.65h.08c1-.45 3-2.25 2.81-3.2 0-.23-.19-.5-.74-.56a1.43 1.43 0 0 0-1.1.34c-1.05.88-1.24 3.13-1.25 3.22a.18.18 0 0 0 .08.18.2.2 0 0 0 .12.02m2-3.39h.12c.36 0 .38.19.39.23.09.57-1.25 2-2.26 2.61a4.57 4.57 0 0 1 1.06-2.58 1 1 0 0 1 .68-.26Z"}),J__namespace.createElement("path",{fill:"#263238",d:"m290.8 216.21-.87 3c-.12.23.16.47.55.47h35c.3 0 .56-.15.58-.34l.3-3c0-.21-.24-.39-.58-.39h-34.43a.63.63 0 0 0-.55.26"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M295.42 220.05h-.92c-.19 0-.33-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.18.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M295.42 220.05h-.92c-.19 0-.33-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.18.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M322.85 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.21.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M322.85 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.21.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M309.13 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.18-.21.36-.21h.92c.19 0 .33.1.31.21l-.43 4c-.01.16-.17.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M309.13 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.18-.21.36-.21h.92c.19 0 .33.1.31.21l-.43 4c-.01.16-.17.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#263238",d:"m309.82 138.19 1.52-.74s-.6 1.39-1.52.74"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m262.14 191.88-8-4.25 7.89-3.16s4.15 3.41 3.48 6.82Z"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m251.32 181.2 6.75-2.29 4.98 6.5-8.88 2.22z"})),J__namespace.createElement("g",{id:"freepik--Smartphone--inject-10"},J__namespace.createElement("path",{fill:"#263238",d:"M253.64 132.52H140a11.71 11.71 0 0 0-11.73 12l5.88 259.72a12.38 12.38 0 0 0 12.28 12h113.63a11.71 11.71 0 0 0 11.73-12l-5.88-259.72a12.37 12.37 0 0 0-12.27-12"}),J__namespace.createElement("path",{fill:"#263238",d:"M256.47 132.52H142.8a11.7 11.7 0 0 0-11.72 12L137 404.24a12.37 12.37 0 0 0 12.27 12H262.9a11.7 11.7 0 0 0 11.72-12l-5.88-259.72a12.37 12.37 0 0 0-12.27-12"}),J__namespace.createElement("path",{fill:"#fff",d:"m138.51 404.09-5.88-259.42a7.93 7.93 0 0 1 8-8.15h118.23a8.37 8.37 0 0 1 8.33 8.15l5.88 259.42a7.94 7.94 0 0 1-8 8.15H146.84a8.37 8.37 0 0 1-8.33-8.15"}),J__namespace.createElement("path",{fill:"#263238",d:"M178.12 401.65a1 1 0 0 1-.47-.12l-3.93-2.25a1 1 0 0 1-.49-.82.94.94 0 0 1 .48-.83l3.83-2.24a1 1 0 0 1 1.44.8l.1 4.48a1 1 0 0 1-1 1Zm-4.16-2.8 3.94 2.24a.45.45 0 0 0 .68-.4l-.1-4.49a.47.47 0 0 0-.69-.38l-3.79 2.24a.46.46 0 0 0-.23.4.48.48 0 0 0 .23.39ZM205.58 401.93a3.56 3.56 0 0 1-3.54-3.46 3.38 3.38 0 0 1 3.4-3.48 3.57 3.57 0 0 1 3.54 3.47 3.37 3.37 0 0 1-3.4 3.47m-.14-6.44a2.9 2.9 0 0 0-2.08.87 2.86 2.86 0 0 0-.82 2.1 3.06 3.06 0 0 0 3 3 2.87 2.87 0 0 0 2.9-3 3.06 3.06 0 0 0-3-2.97M237.81 401.58h-4.57a.85.85 0 0 1-.85-.83l-.1-4.57a.78.78 0 0 1 .23-.59.8.8 0 0 1 .59-.25h4.57a.85.85 0 0 1 .85.83l.1 4.57a.8.8 0 0 1-.82.84m-4.7-5.74a.33.33 0 0 0-.23.1.28.28 0 0 0-.09.23l.1 4.57a.35.35 0 0 0 .35.34h4.57a.32.32 0 0 0 .19-.08.34.34 0 0 0 .09-.24l-.1-4.57a.35.35 0 0 0-.35-.34ZM146.05 141.61a1 1 0 0 0-1 1 1 1 0 0 0 1 1 1 1 0 0 0 1-1 1 1 0 0 0-1-1M148.86 140.46a1 1 0 0 0-1 1v1.15a1 1 0 0 0 1 1 1 1 0 0 0 .95-1v-1.15a1 1 0 0 0-.95-1M151.67 139.28a1 1 0 0 0-.95 1l.05 2.33a1 1 0 0 0 1 1 1 1 0 0 0 1-1l-.06-2.33a1 1 0 0 0-1.04-1M250.75 138.78h-6.83a1.6 1.6 0 0 0-1.6 1.64v1.5a1.69 1.69 0 0 0 1.68 1.64h6.83a1.6 1.6 0 0 0 1.6-1.64v-1.5a1.7 1.7 0 0 0-1.68-1.64M253.49 139.82h-.37a.41.41 0 0 0-.42.43v1.84a.45.45 0 0 0 .44.43h.37a.42.42 0 0 0 .41-.43v-1.84a.43.43 0 0 0-.43-.43M229.47 143.56H170.3a6.93 6.93 0 0 1-6.94-5.14l-.72-3.42h74.11l-.56 3.42a6.56 6.56 0 0 1-6.72 5.14"}),J__namespace.createElement("path",{fill:"#263238",d:"M141.93 404.13a2.07 2.07 0 0 1-2.05-2L134.11 147a1.94 1.94 0 0 1 1.95-2 2.07 2.07 0 0 1 2.05 2l5.77 255.09a1.94 1.94 0 0 1-1.95 2.04M269.65 404.13a2.07 2.07 0 0 1-2-2L261.83 147a1.94 1.94 0 0 1 1.95-2 2.07 2.07 0 0 1 2.05 2l5.77 255.09a1.94 1.94 0 0 1-1.95 2.04",opacity:"0.1"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M172 211.4h-14.27a8 8 0 0 1-7.92-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.57 7.57 0 0 1-7.54 7.75M245.11 211.4h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.58 7.75M208.54 211.4h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.23a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M172.8 248.21h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.23a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M209.37 248.21h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.58 7.75M173.63 285H159.4a8 8 0 0 1-7.92-7.75l-.33-14.23a7.57 7.57 0 0 1 7.58-7.75H173a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.62 7.75M246.78 285h-14.23a8 8 0 0 1-7.92-7.75l-.33-14.23a7.56 7.56 0 0 1 7.58-7.75h14.23a8 8 0 0 1 7.92 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M210.21 285H196a8 8 0 0 1-7.93-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.59 7.75M174.46 321.84h-14.22a8 8 0 0 1-7.93-7.75l-.31-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.59 7.75M247.61 321.84h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.57 7.57 0 0 1-7.58 7.75M211 321.84h-14.19a8 8 0 0 1-7.92-7.75l-.33-14.23a7.58 7.58 0 0 1 7.58-7.75h14.23a8 8 0 0 1 7.92 7.75l.32 14.23a7.56 7.56 0 0 1-7.61 7.75M175.87 383.8h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.22a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.22a7.55 7.55 0 0 1-7.57 7.75M249 383.8h-14.21a8 8 0 0 1-7.93-7.75l-.32-14.22a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.22a7.55 7.55 0 0 1-7.59 7.75M212.44 383.8h-14.23a8 8 0 0 1-7.92-7.75l-.29-14.22a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.22a7.56 7.56 0 0 1-7.61 7.75M251.91 169.39H149.03l-.02-1.11h102.87zM250.44 156.81a4.07 4.07 0 0 0-5.76 0 4 4 0 0 0-.49 4.92l-1.48 1.5a1 1 0 0 0 1.48 1.45l1.47-1.51a4 4 0 0 0 4.78-6.36m-5 5.13a3.15 3.15 0 1 1 4.51 0 3.19 3.19 0 0 1-4.53 0Z"}))),hM=CV;var vM=({isOpen:e,onClose:t,children:o,hideCloseButton:r=false,closeOnClickOutside:n=true,className:a=""})=>{let[s]=J__namespace.default.useState(()=>{if(typeof window=="undefined")return null;let d=document.createElement("div");return d.setAttribute("id","mobile-modal-portal"),d});J.useEffect(()=>{if(s)return document.body.appendChild(s),()=>{s.parentNode&&s.parentNode.removeChild(s);}},[s]);let i=()=>{n&&t();},l=d=>d.stopPropagation();return !s||!e?null:tQ.createPortal(J__namespace.default.createElement("div",{className:"fixed inset-0 z-[100] lg:hidden flex items-center justify-center bg-black/50",onClick:i},J__namespace.default.createElement("div",{className:`w-[90%] max-w-xs bg-white rounded-2xl p-6 shadow-lg flex flex-col gap-4 relative ${a}`,onClick:l},!r&&J__namespace.default.createElement("button",{onClick:t,className:"absolute top-4 right-4",type:"button"},J__namespace.default.createElement(lucideReact.X,{className:"h-6 w-6"})),o)),s)};var xm=()=>{let{isMobile:e}=Ne(),{isDownloadModalOpen:t,closeDownloadModal:o}=Z1(),{title:r,subtitle:n,button:a}=bm(),s=J__namespace.default.createElement("div",{className:"flex flex-col gap-4"},J__namespace.default.createElement("div",{className:"flex justify-center mb-4 w-[12.6rem] h-[12.6rem] mx-auto"},J__namespace.default.createElement(hM,null)),J__namespace.default.createElement("h2",{className:"text-[20px] font-bold text-gray-900 mb-2"},r),J__namespace.default.createElement("p",{className:"text-[#050910] text-[14px] mb-6"},n),J__namespace.default.createElement(le,{className:"w-full h-[48px] bg-primary hover:bg-primary/80 text-white text-[14px] font-bold rounded-[10px] py-2 border-0 outline-none flex items-center justify-center gap-2",onClick:gM},a,J__namespace.default.createElement(fM,{fontSize:24})));return e?J__namespace.default.createElement(vM,{isOpen:t,onClose:o,closeOnClickOutside:true,className:"text-center"},s):J__namespace.default.createElement(qe,{isOpen:t,onClose:o,closeOnClickOutside:true,disableFullScreen:true,hideCloseButton:false,className:"max-w-[327px] max-h-[512px] rounded-2xl bg-white p-6 shadow-lg text-center"},s)};var NV=()=>{let{openDownloadModal:e}=Z1(),{trigger:t}=bm();return J__namespace.default.createElement(le,{onClick:e,variant:"outline",className:"w-fit"},t)};var r8="mirantes_download_banner_last_shown",bc="mirantes_download_banner_count",wm="mirantes_download_banner_session_shown",n8=(e={})=>{let{maxShows:t=5,initialDelayMs:o=5e3,mobileOnly:r=true}=e,{openDownloadModal:n,isDownloadModalOpen:a}=Z1(),[s,i]=J.useState(false),l=()=>typeof window=="undefined"?false:window.innerWidth<=768||/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),d=()=>!(typeof window=="undefined"||r&&!l()||sessionStorage.getItem(wm)==="true"||parseInt(sessionStorage.getItem(bc)||"0")>=t),c=()=>{if(typeof window=="undefined")return;let g=new Date().toISOString(),m=parseInt(sessionStorage.getItem(bc)||"0");sessionStorage.setItem(r8,g),sessionStorage.setItem(bc,(m+1).toString()),sessionStorage.setItem(wm,"true");},p=()=>{d()&&(i(true),setTimeout(()=>{n(),c(),i(false);},o));},f=()=>{typeof window!="undefined"&&(sessionStorage.removeItem(r8),sessionStorage.removeItem(bc),sessionStorage.removeItem(wm));},u=()=>{if(typeof window=="undefined")return {lastShown:null,showsCount:0,remainingShows:t,canShow:false,shownInCurrentSession:false};let g=sessionStorage.getItem(r8),m=parseInt(sessionStorage.getItem(bc)||"0"),v=sessionStorage.getItem(wm)==="true";return {lastShown:g?new Date(g):null,showsCount:m,remainingShows:Math.max(0,t-m),canShow:d(),shownInCurrentSession:v}};return J.useEffect(()=>{let g=setTimeout(()=>{p();},1e3);return ()=>clearTimeout(g)},[]),{shouldShow:s,showBanner:p,resetBannerData:f,getBannerStats:u,canShow:d(),isMobile:l()}};var kV=({maxShows:e=5,initialDelayMs:t=3e4,mobileOnly:o=true,enabled:r=true})=>{let{canShow:n}=n8({maxShows:e,initialDelayMs:t,mobileOnly:o});return !r||!n?J__namespace.default.createElement(xm,null):J__namespace.default.createElement(xm,null)};function TV(e){let{fontSize:t="20px"}=e;return J__namespace.createElement("svg",y({width:t,height:t,viewBox:"0 0 20 21",fill:"none"},e),J__namespace.createElement("path",{opacity:.4,d:"M1.667 9.732c.042 1.949.158 5.281.175 5.649.06.785.36 1.58.828 2.14.652.785 1.454 1.136 2.574 1.136 1.546.009 3.251.009 4.907.009 1.663 0 3.276 0 4.639-.009 1.103 0 1.93-.36 2.574-1.137.468-.56.769-1.362.811-2.14.017-.309.1-3.926.15-5.648H1.667z",fill:"#687588"}),J__namespace.createElement("path",{d:"M9.371 13.32v1.078a.625.625 0 001.25 0V13.32a.625.625 0 00-1.25 0z",fill:"#687588"}),J__namespace.createElement("path",{d:"M11.072 2.167c1.25 0 2.276.94 2.433 2.15h1.647a3.177 3.177 0 013.173 3.174v2.889c0 .21-.106.406-.28.521-1.718 1.138-3.758 1.895-5.898 2.19a.625.625 0 01-.692-.465A1.504 1.504 0 009.992 11.5c-.701 0-1.297.454-1.482 1.13a.626.626 0 01-.69.456c-2.125-.297-4.157-1.051-5.872-2.184a.624.624 0 01-.281-.521V7.49a3.18 3.18 0 013.18-3.174h1.64a2.46 2.46 0 012.433-2.15h2.152zM8.92 3.417c-.56 0-1.029.383-1.169.9h4.49c-.14-.517-.609-.9-1.169-.9H8.92z",fill:"#687588"}))}var DV=J__namespace.memo(TV),bM=DV;var xM=zustand.create(e=>({isOpen:false,openModal:()=>e({isOpen:true}),closeModal:()=>e({isOpen:false})}));function FV({onClick:e}){let{openModal:t}=xM(),{locale:o}=M();return J__namespace.default.createElement(re,{onClick:r=>{t(),e==null||e(r);},leftElement:J__namespace.default.createElement(bM,null),className:"text-gray-600 hover:opacity-90 h-auto !p-0 hover:bg-transparent",label:Je(o,"explore.oportunities.jobs")})}var n0=({rating:e})=>J__namespace.default.createElement("div",{className:"flex gap-[2px] my-1"},Array.from({length:5}).map((t,o)=>{let r=o+1,n=e>=r,a=!n&&e>=r-.5,s="M9.14692 0.511345L11.0023 4.23991C11.139 4.51004 11.3999 4.69764 11.7008 4.73933L15.8684 5.3463C16.1117 5.38049 16.3326 5.50889 16.4818 5.70482C16.6294 5.89825 16.6927 6.14338 16.6569 6.38433C16.6277 6.58443 16.5335 6.76953 16.3893 6.91127L13.3695 9.83859C13.1486 10.0429 13.0486 10.3455 13.1019 10.6415L13.8454 14.7569C13.9246 15.2538 13.5954 15.7224 13.1019 15.8166C12.8986 15.8491 12.6902 15.815 12.5068 15.7216L8.78934 13.7848C8.51345 13.6455 8.18755 13.6455 7.91165 13.7848L4.19419 15.7216C3.73742 15.9642 3.17147 15.7991 2.91725 15.3489C2.82306 15.1696 2.78972 14.9654 2.82056 14.7661L3.56405 10.6498C3.6174 10.3547 3.51654 10.0504 3.2965 9.84609L0.276681 6.92044C-0.0825632 6.57359 -0.0933988 6.00247 0.252509 5.64312C0.26001 5.63562 0.268345 5.62728 0.276681 5.61894C0.420045 5.47303 0.608418 5.38049 0.811795 5.35631L4.97936 4.7485C5.27942 4.70598 5.54031 4.52005 5.67784 4.24825L7.46656 0.511345C7.62576 0.191182 7.95583 -0.00808573 8.31424 0.000251838H8.42593C8.73683 0.0377709 9.00772 0.230369 9.14692 0.511345";return a?J__namespace.default.createElement("svg",{key:o,className:"w-5 h-5",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},J__namespace.default.createElement("defs",null,J__namespace.default.createElement("linearGradient",{id:`half-star-${o}`},J__namespace.default.createElement("stop",{offset:"50%",stopColor:"#EC991C"}),J__namespace.default.createElement("stop",{offset:"50%",stopColor:"rgba(236,153,28,0.3)"}))),J__namespace.default.createElement("path",{d:s,fill:`url(#half-star-${o})`})):J__namespace.default.createElement("svg",{key:o,className:"w-5 h-5",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},J__namespace.default.createElement("path",{d:s,fill:n?"#EC991C":"rgba(236,153,28,0.3)"}))}));var xc=(e=0)=>e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:e.toString(),CM=e=>{let t=Math.floor((new Date().getTime()-new Date(e).getTime())/1e3);if(t<60)return `${t}s`;let o=Math.floor(t/60);if(o<60)return `${o}m`;let r=Math.floor(o/60);if(r<24)return `${r}h`;let n=Math.floor(r/24);if(n<7)return `${n}D`;let a=Math.floor(n/7);if(a<4)return `${a}W`;let s=Math.floor(n/30);return s<12?`${s}M`:`${Math.floor(n/365)}Y`};var MM=vf.gql`
993
+ `;var RC=()=>{var u;let{chatApiUrl:e,user:t,page:o}=M(),{searchMessage:r,selectedChat:n}=it(),a=usehooks.useDebounce(r,400),s=m=>j(void 0,[m],function*({pageParam:g=1}){var b,x;let v={body:a};return o!=null&&o.id&&(v.pageId=o.id),yield vf__default.default(e!=null?e:"",$C,{conversationId:(b=n==null?void 0:n.conversationId)!=null?b:"",options:{filter:v,page:g,perPage:20,sort:"createdAt",sortDir:"desc"}},{"x-access-token":(x=t==null?void 0:t.accessToken)!=null?x:""})}),i=a!=null&&a.length?["page-messages",n==null?void 0:n.conversationId,a,o==null?void 0:o.id]:["page-messages",n==null?void 0:n.conversationId,o==null?void 0:o.id],{data:l,isLoading:d,fetchNextPage:c,hasNextPage:p}=yt({queryKey:i,queryFn:s,initialPageParam:1,enabled:!!(n!=null&&n.conversationId)&&!!(o!=null&&o.id),staleTime:0,getNextPageParam:g=>{var v;let m=(v=g==null?void 0:g.getMessagesByConversation)==null?void 0:v.meta;if(m)return ((m==null?void 0:m.currentPage)||0)<((m==null?void 0:m.total)||0)?((m==null?void 0:m.currentPage)||0)+1:void 0}});return {messages:(u=l==null?void 0:l.pages.flatMap(g=>{var m,v;return (v=(m=g==null?void 0:g.getMessagesByConversation)==null?void 0:m.data)!=null?v:[]}).reverse())!=null?u:[],isGettingMessages:d,fetchNextPage:c,hasNextPage:p}};function eM(e){let{fetchNextPage:t,hasNextPage:o,isGettingMessages:r,messages:n}=RC(),a=o||false,s=J.useRef(null),i=J.useRef(0),l=J.useRef(null),[d,c]=J.useState(false),[p,f]=J.useState(false),[u,g]=J.useState(0),[m,v]=J.useState(false),h=J.useRef(true),[b]=EM__default.default({loading:r,hasNextPage:o,onLoadMore:()=>{s.current&&(i.current=s.current.scrollHeight),t();},disabled:!o,rootMargin:"200px 0px 0px 0px"}),x=J.useRef((n==null?void 0:n.length)||0);J.useEffect(()=>{let A=(e==null?void 0:e.current)||s.current;if(!A||!(n!=null&&n.length))return;let k=n.length,N=k>x.current;if(x.current=k,h.current&&!r){h.current=false,setTimeout(()=>{l.current&&l.current.scrollIntoView({behavior:"auto"}),setTimeout(()=>{let I=A.scrollHeight,P=A.scrollTop,S=A.clientHeight,D=I-P-S;f(D<=50);},100);},100);return}p?(l.current&&l.current.scrollIntoView({behavior:"auto"}),c(false),g(0),v(false)):N&&(c(true),g(I=>I+1),v(true),setTimeout(()=>v(false),500));},[n,p,r,e]);let w=J.useRef(p);J.useEffect(()=>{let A=(e==null?void 0:e.current)||s.current;if(!A)return;let k=()=>{let I=A.scrollHeight,P=A.scrollTop,S=A.clientHeight,T=I-P-S<=50;w.current!==T&&(w.current=T,f(T),T&&(c(false),g(0)));},N=setTimeout(()=>{k();},200);return A.addEventListener("scroll",k),()=>{clearTimeout(N),A.removeEventListener("scroll",k);}},[e]),J.useEffect(()=>{if(r&&i.current&&s.current){let A=s.current,k=A.scrollHeight-i.current;A.scrollTop=k+A.scrollTop;}},[r]);let C=J.useCallback(()=>{l.current&&l.current.scrollIntoView({behavior:"smooth"}),c(false),g(0),f(true);},[]);return {containerRef:s,infiniteRef:b,lastMessageRef:l,messages:n,isGettingMessages:r,hasNewMessages:d,newMessageCount:u,isAtBottom:p,isAnimatingUp:m,scrollToBottom:C,hasNextPage:a}}function $u({containerRef:e}){var R;let{setHasMessages:t,hasMessages:o,messageAction:r}=Qo(),{user:n,locale:a,page:s}=M(),i=O(a,"empty-chat"),{selectedChat:l,messages:d,forwardMessageIds:c,clearForwardMessages:p}=it(),{infiniteRef:f,lastMessageRef:u,messages:g,isGettingMessages:m,hasNewMessages:v,newMessageCount:h,scrollToBottom:b,isAtBottom:x}=eM(e),w=J.useRef(b),C=J.useRef({isAtBottom:x,hasNewMessages:v,newMessageCount:h}),A=J.useRef(true);J.useEffect(()=>{w.current=b;},[b]),J.useEffect(()=>{if(A.current){A.current=false,C.current={isAtBottom:x,hasNewMessages:v,newMessageCount:h};return}if(!(C.current.isAtBottom!==x||C.current.hasNewMessages!==v||C.current.newMessageCount!==h))return;C.current={isAtBottom:x,hasNewMessages:v,newMessageCount:h};let _=setTimeout(()=>{window.dispatchEvent(new CustomEvent("chatScrollState",{detail:{isAtBottom:x,scrollToBottom:w.current,hasNewMessages:v,newMessageCount:h}}));},0);return ()=>clearTimeout(_)},[x,v,h]),J.useEffect(()=>{t==null||t(false);},[o]);function k(V){if(!V)return null;if(typeof V=="number"){let _=new Date(V);return isNaN(_.getTime())?null:_}if(typeof V=="string"&&V.includes("T")){let _=new Date(V);return isNaN(_.getTime())?null:_}if(typeof V=="string")try{let _=dateFns.parse(V,"yyyy-MM-dd HH:mm:ss",new Date);return isNaN(_.getTime())?null:_}catch(_){return null}return null}function N(V){return isNaN(V==null?void 0:V.getTime())?"":dateFns.isToday(V)?O(a,"today"):dateFns.isYesterday(V)?O(a,"yesterday"):dateFns.format(V,"MMMM d, yyyy")}let I=V=>{var _;return (r==null?void 0:r.action)==="MESSAGE_DELETED"&&(r==null?void 0:r.conversationId)===(l==null?void 0:l.conversationId)&&((_=r==null?void 0:r.messagesIds)==null?void 0:_.includes(V))},P=V=>{if(V!=null&&V.actions)switch(V.actions){case "removedAdmin":return {type:"removedAdmin",text:O(a,"admin-removed",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-orange-500"})};case "madeAdmin":return {type:"madeAdmin",text:O(a,"admin-promoted",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.Crown,{size:14,className:"text-yellow-500"})};case "remove":return {type:"remove",text:O(a,"user-removed",{name:(V==null?void 0:V.body)||""}),icon:J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-red-500"})};default:return null}return null},S=V=>!(I(V==null?void 0:V.id)||V!=null&&V.actions&&["removedAdmin","madeAdmin","remove"].includes(V.actions)),D=!m&&(g==null?void 0:g.length)===0,T=m&&(g==null?void 0:g.length)===0,L=m&&(g==null?void 0:g.length)>0,E=J.useRef(false);J.useEffect(()=>{E.current=false;},[l==null?void 0:l.conversationId]),J.useEffect(()=>{!m&&(g==null?void 0:g.length)>0&&(E.current=true);},[m,g==null?void 0:g.length]);let B=m&&!E.current,W=[],q=(l==null?void 0:l.conversationId)||(l!=null&&l.id?`temp-${l.id}`:null),Y=q?((R=d==null?void 0:d[q])==null?void 0:R.filter(V=>V==null?void 0:V.isTemporary))||[]:[],H=null;if(g==null||g.forEach(V=>{if(!S(V))return;let _=k(V==null?void 0:V.createdAt);if(!_)return;let $=N(_);H!==$&&(W.push({type:"date",dateLabel:$,id:`date-${$}`}),H=$);let oe=P(V);oe?W.push({type:"system",content:oe.text,icon:oe.icon,id:`system-${V==null?void 0:V.id}`,timestamp:_}):W.push({type:"message",msg:V});}),Y==null||Y.forEach(V=>{let _=new Date(V==null?void 0:V.timestamp),$=N(_);H!==$&&(W.push({type:"date",dateLabel:$,id:`date-${$}`}),H=$),W.push({type:"message",msg:V});}),(r==null?void 0:r.conversationId)===(l==null?void 0:l.conversationId)&&(r!=null&&r.action)&&r.action!=="MESSAGE_DELETED"){let V=new Date,_=N(V);H!==_&&(W.push({type:"date",dateLabel:_,id:`date-${_}`}),H=_);let $="",oe=null;switch(r.action){case "removedAdmin":$=O(a,"admin-removed",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-orange-500"});break;case "madeAdmin":$=O(a,"admin-promoted",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.Crown,{size:14,className:"text-yellow-500"});break;case "remove":$=O(a,"user-removed",{name:(r==null?void 0:r.userName)||""}),oe=J__namespace.default.createElement(lucideReact.UserX,{size:14,className:"text-red-500"});break}$&&W.push({type:"system",content:$,icon:oe,id:`system-action-${Date.now()}`,timestamp:V});}let z=({content:V,icon:_})=>J__namespace.default.createElement("div",{className:"flex justify-center my-2"},J__namespace.default.createElement("div",{className:"flex items-center gap-2 bg-gray-100 px-3 py-1.5 rounded-full max-w-xs"},_,J__namespace.default.createElement("span",{className:"text-xs text-gray-600 font-medium text-center"},V)));return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("div",{className:"w-full relative min-h-0"},J__namespace.default.createElement("div",{className:U(D||T?"flex items-center justify-center flex-1 w-full":"flex flex-col flex-1 p-4 gap-[1.5rem] rounded-lg w-full")},J__namespace.default.createElement("div",{ref:f,className:"pointer-events-none"}),T&&J__namespace.default.createElement("div",{className:"flex flex-col gap-4 w-full"},J__namespace.default.createElement(en,null),J__namespace.default.createElement(en,{isOwnMessage:true}),J__namespace.default.createElement(en,null)),D&&J__namespace.default.createElement("div",{className:"flex flex-1 items-center justify-center !w-full !h-[50dvh]"},J__namespace.default.createElement("span",{className:"text-gray-500 text-center"},i)),!T&&!D&&(W==null?void 0:W.map((V,_)=>{var ne,me,Me,Se,Ze,ze;if(V.type==="date")return J__namespace.default.createElement("div",{key:V.id,className:"flex items-center my-4"},J__namespace.default.createElement("div",{className:"flex-grow border-t border-gray-300"}),J__namespace.default.createElement("span",{className:"mx-4 text-xs text-gray-500 font-medium"},V.dateLabel),J__namespace.default.createElement("div",{className:"flex-grow border-t border-gray-300"}));if(V.type==="system")return J__namespace.default.createElement(z,{key:V.id,content:V.content,icon:V.icon});if(I((ne=V.msg)==null?void 0:ne.id))return J__namespace.default.createElement("div",{key:(me=V.msg)==null?void 0:me.id,className:"flex justify-center my-1"},J__namespace.default.createElement("div",{className:"flex items-center gap-2 bg-gray-100 px-3 py-1.5 rounded-full max-w-xs"},J__namespace.default.createElement(lucideReact.Trash2,{size:14,className:"text-gray-500"}),J__namespace.default.createElement("span",{className:"text-xs text-gray-500 italic"},O(a,"message-deleted"))));let oe=((Me=V==null?void 0:V.msg)==null?void 0:Me.senderId)===(s==null?void 0:s.id),K=c.includes((Ze=(Se=V==null?void 0:V.msg)==null?void 0:Se.id)!=null?Ze:"");return J__namespace.default.createElement("div",{key:(ze=V==null?void 0:V.msg)==null?void 0:ze.id,className:"relative"},c.length>0&&J__namespace.default.createElement("div",{className:"absolute flex items-center h-full z-10",style:{left:"0",paddingRight:oe?"0.5rem":"0",paddingLeft:oe?"0":"0.5rem"}},J__namespace.default.createElement("input",{type:"checkbox",checked:K,onChange:()=>{var mt,Ct;let{selectForwardMessage:Ye}=it.getState();Ye((Ct=(mt=V==null?void 0:V.msg)==null?void 0:mt.id)!=null?Ct:"");},onClick:Ye=>Ye.stopPropagation(),className:"w-4 h-4 text-primary border-gray-300 rounded focus:ring-primary cursor-pointer"})),J__namespace.default.createElement(pc,{message:V==null?void 0:V.msg,isOwnMessage:oe,ref:_===(W==null?void 0:W.length)-1?u:void 0}))})),!T&&!D&&(L||B)&&J__namespace.default.createElement("div",{className:"flex flex-col gap-4 w-full mb-2"},J__namespace.default.createElement(en,null),J__namespace.default.createElement(en,{isOwnMessage:true}),J__namespace.default.createElement(en,null)))))}var ym="pending_chat_data",oM=60*30;function iV(){var e;if(typeof window=="undefined")return null;try{let t=cookiesNext.getCookie(ym);if((!t||typeof t!="string")&&(t=(e=sessionStorage.getItem(ym))!=null?e:""),!t||typeof t!="string")return null;let o=decodeURIComponent(atob(t));return JSON.parse(o)}catch(t){return null}}function lV(){if(typeof window!="undefined")try{cookiesNext.deleteCookie(ym,{path:"/"}),sessionStorage.removeItem(ym);}catch(e){}}function rM(e){if(!(typeof window=="undefined"||!e))try{let t=iV();(t==null?void 0:t.id)===e&&lV();}catch(t){console.error("[Pending Chat] Error in removePendingChatCookieIfMatches:",t);}}var nM=()=>{let{sendMessage:e}=Qo(),{page:t,user:o,queryClient:r}=M(),{selectedChat:n,chatHeaderOption:a,onSelectChat:s,onSelectChatHeaderOption:i}=it(),l=["page-messages",n==null?void 0:n.conversationId],{mutate:d,isPending:c}=ge({mutationFn:f=>j(void 0,[f],function*({createMessageInput:p}){let u=n==null?void 0:n.id,g=F(y({},p),{senderId:t==null?void 0:t.id,pageId:t==null?void 0:t.id,participants:[u,t==null?void 0:t.id].filter(Boolean)});return e(g),g}),onMutate({createMessageInput:p}){let f={conversationId:n==null?void 0:n.conversationId,body:p==null?void 0:p.body,senderId:t==null?void 0:t.id,createdAt:new Date,updatedAt:new Date};H3({conversationId:n==null?void 0:n.conversationId,message:f,queryClient:r}),O3({conversationId:n==null?void 0:n.conversationId,chatHeaderOption:a,pageId:t==null?void 0:t.id,message:f,queryClient:r});},onError(){r==null||r.invalidateQueries({queryKey:l}),r==null||r.invalidateQueries({queryKey:["page-conversations",t==null?void 0:t.id,a]});},onSuccess(){r==null||r.invalidateQueries({queryKey:l}),r==null||r.invalidateQueries({queryKey:["page-conversations",t==null?void 0:t.id,a]}),i==null||i("filter-all"),s==null||s(n),n!=null&&n.id&&rM(n.id);}});return {sendMessage:d,isSendingAMessage:c}};var cV=e=>e.type.startsWith("image/")?e.type==="image/gif"?"gif":"image":e.type.startsWith("video/")?"video":"file";function sM(){let{uploadMultipleFiles:e}=B2(),{onSelectChat:t,draftMessages:o,setDraftMessage:r,replyMessage:n,setReplyMessage:a,addTemporaryMessage:s,removeTemporaryMessage:i}=it(),{conversationExists:l}=G2(),{createANewConversation:d}=lm(),{sendMessage:c}=nM(),{locale:p,page:f}=M(),[u,g]=J.useState([]),[m,v]=J.useState(false),h=it(P=>P.selectedChat),b=(h==null?void 0:h.conversationId)||(h!=null&&h.id?`temp-${h.id}`:null),x=b&&o[b]||"",w=P=>{b&&r(b,P);},C=(P,S)=>{let D=P instanceof File?P:new File([P],"audio-message.webm",{type:"audio/webm"}),T={file:D,type:S,previewUrl:S==="media"||S==="audio"?URL.createObjectURL(D):void 0};g(L=>[...L,T]);},A=P=>{g(S=>S.filter((D,T)=>T!==P));},k=P=>{if(!b)return;let S=((P==null?void 0:P.convertedBody)||x).trim();if(!S&&u.length===0&&!n)return;let D=[];u.length>0&&u.forEach(L=>{let E=L.type==="media"?cV(L.file):L.type,B=`sending.${E}`,W=O(p||"pt",B),q=crypto.randomUUID();D.push(q),s(b,W,E,q);});let T=L=>{let E=B=>{let W={conversationId:L,body:S||void 0,attachments:B,replyMessageId:n==null?void 0:n.id,mentions:P==null?void 0:P.mentions};c({createMessageInput:W}),D.forEach(q=>i(L,q));};u.length>0?e({files:u.map(B=>B.file),path:`chat/${L}`,ownerType:"chat"},{onSuccess(B){let W=B.map((q,Y)=>({type:u[Y].type,url:q}));E(W);},onError(){D.forEach(B=>i(L,B));}}):E();};if(h!=null&&h.conversationId)T(h.conversationId);else if(l(b))T(b);else {let L=h!=null&&h.id?{id:h.id,name:h.name,avatar:h.avatar}:void 0;if(!(L!=null&&L.id)){console.error("N\xE3o \xE9 poss\xEDvel criar conversa: targetUser.id n\xE3o est\xE1 definido");return}d(L,E=>{var W;let B=(W=E==null?void 0:E.createConversation)==null?void 0:W.id;B&&(it.getState().replaceTempConversationId(b,B),t==null||t(F(y({},h),{conversationId:B})),T(B));});}w(""),g([]),a==null||a(null);},N=P=>{P.key==="Enter"&&!P.shiftKey&&(P.preventDefault(),k());};J.useEffect(()=>()=>{u.forEach(P=>P.previewUrl&&URL.revokeObjectURL(P.previewUrl));},[u]);let I=x.trim().length>0||u.length>0||!!n;return {message:x,attachedFiles:u,isRecording:m,setIsRecording:v,setDraft:w,attachFile:C,removeFile:A,send:k,handleKeyDown:N,hasMessageOrFiles:I,replyMessage:n,setReplyMessage:a}}function e8(){let {isMobile:e}=Ne(),{selectedChat:t}=it(),o=J.useRef(null);J.useRef(null);let n=J.useRef(null),[a,s]=J.useState(false),[i,l]=J.useState(""),d=J.useMemo(()=>t!=null&&t.participants?t.participants.map(H=>{let z=(H==null?void 0:H.user)||H;return !(z!=null&&z.id)||!(z!=null&&z.name)?null:{id:z.id,name:z.name,avatar:z.avatar,slug:z.slug}}).filter(H=>H!==null):[],[t==null?void 0:t.participants]),c=J.useMemo(()=>{if(d.length!==0)return {participants:{type:"participants",trigger:"@",items:d,renderItem:(H,z)=>J__namespace.default.createElement("div",{className:`flex items-center gap-2 p-2 cursor-pointer ${z?"bg-blue-50 text-primary":"hover:bg-gray-50"}`},J__namespace.default.createElement(ae,{src:H.avatar,name:H.name,className:"w-6 h-6"}),J__namespace.default.createElement("span",{className:"text-sm font-medium"},H.name))}}},[d]),{message:p,attachedFiles:f,isRecording:u,setIsRecording:g,setDraft:m,attachFile:v,removeFile:h,send:b,handleKeyDown:x,hasMessageOrFiles:w,replyMessage:C}=sM(),A=d.length>0&&(t==null?void 0:t.isGroup)===true;W2({mentions:c,onSubmit:H=>{var z;if(H.content){let G=ec(H.content);m(G);let R=((z=H.participants)==null?void 0:z.map(V=>({mentionedId:V.id})))||[];b({mentions:R,convertedBody:G});}}});W2({onSubmit:H=>{H.content&&(m(H.content),b());}});let {showMentionDropdown:P,filteredParticipants:S,selectedMentionIndex:D,mentionPosition:T,handleMentionInput:L,insertMention:E,handleKeyNavigation:B}=Lp({participants:d,shouldUseMentions:A,textAreaRef:o,onInsertMention:(H,z)=>{l(H),m(H);}}),W=()=>{if(A&&c){let H=i.trim();if(H){let z=ec(H),G=d.filter(R=>H.includes(`@${R.name}`)).map(R=>({mentionedId:R.id}));b({mentions:G,convertedBody:z});}else (f.length>0||C)&&b();}else (p.trim()||f.length>0||C)&&b();},q=A?i.trim().length>0||f.length>0||!!C:w,Y=H=>{let z=H.emoji,G=o.current;if(!G)return;let R=G.selectionStart,V=G.selectionEnd;if(A){let _=i.substring(0,R)+z+i.substring(V),$=_.length>0?_.charAt(0).toUpperCase()+_.slice(1):_;l($),m($);}else {let _=p.substring(0,R)+z+p.substring(V);m(_.length>0?_.charAt(0).toUpperCase()+_.slice(1):_);}requestAnimationFrame(()=>{G.focus(),G.selectionStart=G.selectionEnd=R+z.length;});};return J__namespace.default.createElement("div",{className:"flex flex-col gap-2"},u&&J__namespace.default.createElement("div",{className:"flex items-center gap-2 p-2 bg-gray-50 rounded-lg"},J__namespace.default.createElement(Ip,{onSend:H=>{v(H,"audio"),g(false);},onCancel:()=>g(false)})),f.length>0&&J__namespace.default.createElement("div",{className:"flex gap-2 overflow-x-auto pb-2"},f.map((H,z)=>{var G;return J__namespace.default.createElement("div",{key:z,className:"relative flex-shrink-0"},H.type==="media"&&H.previewUrl&&J__namespace.default.createElement("div",{className:"relative w-20 h-20 rounded-lg overflow-hidden"},J__namespace.default.createElement("img",{src:H.previewUrl,alt:"Preview",className:"w-full h-full object-cover"}),J__namespace.default.createElement("button",{onClick:()=>h(z),className:"absolute top-1 right-1 bg-red-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs"},"\xD7")),H.type==="audio"&&J__namespace.default.createElement(K2,{src:(G=H.previewUrl)!=null?G:""}))})),J__namespace.default.createElement("div",{className:"flex items-end gap-2 w-full"},A?J__namespace.default.createElement(Rd,{ref:o,placeholder:"Digite sua mensagem...",value:i,onChange:H=>{let z=H.target.value,G=z.length>0?z.charAt(0).toUpperCase()+z.slice(1):z;l(G),m(G);},onMentionDetected:L,onKeyDown:H=>{let z=B(H);if(z==="select"){E(S[D],i);return}z||H.key==="Enter"&&!H.shiftKey&&(H.preventDefault(),W());},onFocus:()=>{e&&setTimeout(()=>{window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"});},300);},maxRows:8,className:e?"w-full max-h-26 shadow-xs !h-full gap-2 px-3 py-2 rounded-[1.5rem] border border-[#E4EBF1] flex items-center !bg-white flex-1":"w-full max-h-26 shadow-xs !h-full gap-[0.625rem] px-6 py-[1rem] rounded-[1rem] border border-[#E4EBF1] flex items-center !bg-white",inputClassName:"flex-1 w-full !h-auto leading-5 resize-none",leftIcon:J__namespace.default.createElement(U2,{onAttach:v}),rightIcon:J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement(q2,{showPicker:a,onTogglePicker:s,onSelect:Y}),!i.trim()&&J__namespace.default.createElement(_2,{hasMessage:q,onStart:()=>g(true)}),(i.trim()||f.length>0||!!C)&&J__namespace.default.createElement(V2,{hasMessage:q,onClick:W}))}):J__namespace.default.createElement(U1,{ref:o,placeholder:"Digite sua mensagem...",value:p,onChange:H=>{let z=H.target.value,G=z.length>0?z.charAt(0).toUpperCase()+z.slice(1):z;m(G);},onKeyDown:x,onFocus:()=>{e&&setTimeout(()=>{window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"});},300);},maxRows:8,className:e?"w-full max-h-26 shadow-xs !h-full gap-2 px-3 py-2 rounded-[1.5rem] border border-[#E4EBF1] flex items-center !bg-white flex-1":"w-full max-h-26 shadow-xs !h-full gap-[0.625rem] px-6 py-[1rem] rounded-[1rem] border border-[#E4EBF1] flex items-center !bg-white",inputClassName:"flex-1 w-full !h-auto leading-5 resize-none",leftIcon:J__namespace.default.createElement(U2,{onAttach:v}),rightIcon:J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement(q2,{showPicker:a,onTogglePicker:s,onSelect:Y}),!p.trim()&&J__namespace.default.createElement(_2,{hasMessage:q,onStart:()=>g(true)}),(p.trim()||f.length>0||!!C)&&J__namespace.default.createElement(V2,{hasMessage:q,onClick:W}))})),P&&A&&J__namespace.default.createElement(Dp,{participants:S,selectedIndex:D,position:T,onSelectParticipant:H=>{E(H,i);}}),J__namespace.default.createElement(react.AnimatePresence,null,a&&J__namespace.default.createElement(react.motion.div,{ref:n,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},className:"absolute bottom-full right-0 mb-2 z-50"})))}function uV(){let{selectedChat:e}=it(),{isMobile:t}=Ne(),{page:o}=M();return J__namespace.default.createElement("div",{className:U("!w-full !h-full !flex !flex-col !gap-6 !p-6 !bg-white !border !border-[#E4EBF1] !rounded-xl !box-border !flex-1 !min-h-0","lg:!max-w-[44.188rem] lg:!max-h-[62.25rem]","md:!max-w-[90vw] md:!p-5 md:!gap-5","sm:!rounded-lg sm:!p-4 sm:!gap-4 sm:!h-auto sm:!max-h-[85vh]","max-sm:!max-w-full max-sm:!border-0 max-sm:!rounded-none max-sm:!h-[100vh] max-sm:!p-3 max-sm:!gap-3")},e?J__namespace.default.createElement(J__namespace.default.Fragment,null,!t&&J__namespace.default.createElement(Ju,null),J__namespace.default.createElement("div",{className:"!flex-1 !min-h-0 !overflow-y-auto !scroll-smooth !pb-24 scrollbar-hide"},J__namespace.default.createElement($u,null)),J__namespace.default.createElement(Ni,null),J__namespace.default.createElement(e8,null)):J__namespace.default.createElement(om,null))}var dM={sharePost:"Share post",repostPost:"Repost post",addDescriptionToRepost:"Add a description to your repost...",startPost:"Start a post...",shareNow:"Share now",repost:"Repost",share:"Share",shareInChat:"Share in chat",searchContacts:"Search contacts",shareIn:"Share on",all:"All",connections:"Connections",communities:"Communities",facebook:"Facebook",linkedin:"LinkedIn",pages:"Pages",copyLink:"Copy link",linkCopied:"Link copied to clipboard!",selectPageToShare:"Select page to share",cancel:"Cancel",sharing:"Sharing...",errorSharingPost:"Error sharing post",errorSharingMessage:"An error occurred while sharing the post",noContactsFound:"No contacts found",tryDifferentSearch:"Try a different search",shareProfile:"Share profile",shareInCommunity:"Share in community",noCommunitiesAvailable:"No communities available to share.",noPagesAvailable:"No pages available to share.",shareProfilePersonalMessage:"Hello, I would like to share my profile with you.",shareProfileMessage:"Hello, I would like to share this profile with you. Check it out:",errorUploadTitle:"Upload error",errorUploadMessage:"Could not upload QR code.",errorUploadImageMessage:"Could not get image URL.",errorProfileInfo:"Profile information not available.",profileSharedTitle:"Profile shared",profileSharedMessage:"Profile shared successfully!",errorSharingProfileTitle:"Error sharing",errorSharingProfileMessage:"An error occurred while sharing the profile."};var cM={sharePost:"Partager la publication",repostPost:"Republier la publication",addDescriptionToRepost:"Ajouter une description \xE0 votre republication...",startPost:"Commencer une publication...",shareNow:"Partager maintenant",repost:"Republier",share:"Partager",shareInChat:"Partager dans le chat",searchContacts:"Rechercher des contacts",shareIn:"Partager sur",all:"Tous",connections:"Connexions",communities:"Communaut\xE9s",facebook:"Facebook",linkedin:"LinkedIn",pages:"Pages",copyLink:"Copier le lien",linkCopied:"Lien copi\xE9 dans le presse-papiers !",selectPageToShare:"S\xE9lectionner la page \xE0 partager",cancel:"Annuler",sharing:"Partage en cours...",errorSharingPost:"Erreur lors du partage de la publication",errorSharingMessage:"Une erreur s'est produite lors du partage de la publication",noContactsFound:"Aucun contact trouv\xE9",tryDifferentSearch:"Essayez une recherche diff\xE9rente",shareProfile:"Partager le profil",shareInCommunity:"Partager dans la communaut\xE9",noCommunitiesAvailable:"Aucune communaut\xE9 disponible pour partager.",noPagesAvailable:"Aucune page disponible pour partager.",shareProfilePersonalMessage:"Bonjour, j'aimerais partager mon profil avec vous.",shareProfileMessage:"Bonjour, j'aimerais partager ce profil avec vous. D\xE9couvrez-le :",errorUploadTitle:"Erreur de t\xE9l\xE9chargement",errorUploadMessage:"Impossible de t\xE9l\xE9charger le code QR.",errorUploadImageMessage:"Impossible d'obtenir l'URL de l'image.",errorProfileInfo:"Informations du profil non disponibles.",profileSharedTitle:"Profil partag\xE9",profileSharedMessage:"Profil partag\xE9 avec succ\xE8s !",errorSharingProfileTitle:"Erreur de partage",errorSharingProfileMessage:"Une erreur s'est produite lors du partage du profil."};var pM={sharePost:"Compartilhar publica\xE7\xE3o",repostPost:"Repostar publica\xE7\xE3o",addDescriptionToRepost:"Adicionar uma descri\xE7\xE3o ao seu repost...",startPost:"Comece uma publica\xE7\xE3o...",shareNow:"Compartilhar agora",repost:"Repost",share:"Compartilhar",shareInChat:"Compartilhar no chat",searchContacts:"Pesquisar contatos",shareIn:"Compartilhar em",all:"Todos",connections:"Conex\xF5es",communities:"Comunidades",facebook:"Facebook",linkedin:"LinkedIn",pages:"P\xE1ginas",copyLink:"Copiar link",linkCopied:"Link copiado para a \xE1rea de transfer\xEAncia!",selectPageToShare:"Selecionar p\xE1gina para partilhar",cancel:"Cancelar",sharing:"Partilhando...",errorSharingPost:"Erro ao compartilhar publica\xE7\xE3o",errorSharingMessage:"Ocorreu um erro ao compartilhar a publica\xE7\xE3o",noContactsFound:"Nenhum contato encontrado",tryDifferentSearch:"Tente uma pesquisa diferente",shareProfile:"Partilhar perfil",shareInCommunity:"Compartilhar na comunidade",noCommunitiesAvailable:"Nenhuma comunidade dispon\xEDvel para compartilhar.",noPagesAvailable:"Nenhuma p\xE1gina dispon\xEDvel para compartilhar.",shareProfilePersonalMessage:"Ol\xE1, gostaria de partilhar com voc\xEA o meu perfil.",shareProfileMessage:"Ol\xE1, gostaria de compartilhar este perfil com voc\xEA. Confira:",errorUploadTitle:"Erro ao fazer upload",errorUploadMessage:"N\xE3o foi poss\xEDvel fazer upload do QR code.",errorUploadImageMessage:"N\xE3o foi poss\xEDvel obter a URL da imagem.",errorProfileInfo:"Informa\xE7\xF5es do perfil n\xE3o dispon\xEDveis.",profileSharedTitle:"Perfil compartilhado",profileSharedMessage:"Perfil compartilhado com sucesso!",errorSharingProfileTitle:"Erro ao compartilhar",errorSharingProfileMessage:"Ocorreu um erro ao compartilhar o perfil."};var fV={pt:y({},pM),en:y({},dM),fr:y({},cM)};function se(e,t){return fV[e][t]}function o8({postId:e,onClose:t,searchTerm:o=""}){let[r,n]=J.useState(""),{isSendingMessageIntoChat:a,sendMessageIntoChat:s}=Wx(),{user:i,locale:l}=M(),{conversationId:d,isCheckingConversation:c}=Yp(r),{createANewConversation:p,isCreatingANewConversation:f}=vp({avatar:"",id:r,name:""}),{contacts:u,isFetchingNextPage:g,fetchNextPage:m,hasNextPage:v,isGettingContacts:h}=zn({perPage:50,slug:i==null?void 0:i.slug,sort:"",sortDir:"",filter:{name:o.trim()||null,slug:null}}),b=J.useRef(null),x=J.useRef(null),w=J.useRef(false),C=J.useCallback(P=>{P[0].isIntersecting&&v&&!g&&m();},[m,v,g]);J.useEffect(()=>{let P={root:b.current,rootMargin:"0px",threshold:1},S=new IntersectionObserver(C,P);return x.current&&S.observe(x.current),()=>{x.current&&S.unobserve(x.current);}},[C]);let A=J.useCallback(P=>{c||a||f||n(P);},[c,a,f]);J.useEffect(()=>{if(!r||!e||w.current)return;j(this,null,function*(){if(w.current=true,d!=null&&d.length){s({conversationId:d,postId:e}),t==null||t(),w.current=false;return}p(void 0,{onSuccess(S){var D;s({conversationId:(D=S==null?void 0:S.createConversation)==null?void 0:D.id,postId:e}),t==null||t();},onSettled(){w.current=false;}});});},[r,d,e,p,s,t]);let k=()=>Array.from({length:6}).map((P,S)=>J__namespace.default.createElement("div",{key:S,className:"flex flex-col items-center text-center min-w-[64px] sm:min-w-[72px]"},J__namespace.default.createElement(Zt,{className:"h-12 w-12 rounded-full mb-1 sm:h-14 sm:w-14"}),J__namespace.default.createElement(Zt,{className:"h-3 w-[48px] sm:w-[56px]"}))),N=()=>J__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center w-full text-center"},J__namespace.default.createElement("div",{className:"text-gray-shade8 mb-2"},J__namespace.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5"},J__namespace.default.createElement("path",{d:"M16 16l4 4"}),J__namespace.default.createElement("circle",{cx:"10",cy:"10",r:"6"}))),J__namespace.default.createElement("p",{className:"text-sm text-gray-shade8"},o.trim()?`${se(l!=null?l:"pt","noContactsFound")} "${o.trim()}"`:se(l!=null?l:"pt","noContactsFound")),o.trim()&&J__namespace.default.createElement("p",{className:"text-xs text-gray-shade8 mt-1"},se(l!=null?l:"pt","tryDifferentSearch"))),I=h||a||c||f;return J__namespace.default.createElement("div",{className:U("w-full overflow-x-auto scrollbar-thin scrollbar-thumb-muted scrollbar-track-transparent","hover:scrollbar-thumb-gray-shatext-gray-shade8 scroll-smooth snap-x","overflow-y-hidden touch-pan-x"),ref:b},J__namespace.default.createElement("div",{className:"flex gap-4 py-2 min-w-max"},h&&k(),!h&&(u==null?void 0:u.length)===0&&N(),!h&&(u==null?void 0:u.length)>0&&(u==null?void 0:u.map(P=>{var T;let S=(T=P==null?void 0:P.followed)!=null?T:P==null?void 0:P.follower,D=I;return J__namespace.default.createElement("div",{key:P.id,onClick:()=>!D&&A(S==null?void 0:S.id),className:U("flex flex-col items-center text-center min-w-[64px] sm:min-w-[72px]","transition-opacity select-none",D?"opacity-50 cursor-not-allowed":"cursor-pointer hover:opacity-80")},J__namespace.default.createElement(ae,{src:S==null?void 0:S.avatar,name:S==null?void 0:S.name,className:"mb-1"}),J__namespace.default.createElement("span",{className:"text-sm text-gray-shade8 truncate w-[64px] sm:w-[72px]"},S==null?void 0:S.name))})),!h&&(u==null?void 0:u.length)>0&&J__namespace.default.createElement("div",{ref:x,className:"flex items-center justify-center min-w-[80px]"},g&&k(),!g&&v&&J__namespace.default.createElement("span",{className:"text-xs text-gray-shade8 animate-pulse"},"\u22EF"))),J__namespace.default.createElement("div",{className:"absolute right-0 top-0 bottom-0 w-10 bg-gradient-to-l from-background pointer-events-none"}))}var Z1=zustand.create(e=>({isDownloadModalOpen:false,openDownloadModal:()=>e({isDownloadModalOpen:true}),closeDownloadModal:()=>e({isDownloadModalOpen:false}),toggleDownloadModal:()=>e(t=>({isDownloadModalOpen:!t.isDownloadModalOpen}))}));var bm=()=>{let{locale:e="pt"}=M(),t=o=>he(e,o);return {title:t("download.banner.title"),subtitle:t("download.banner.subtitle"),button:t("download.banner.button"),trigger:t("download.banner.trigger")}};function vV(e){let{fontSize:t=20}=e;return J__namespace.createElement("svg",y({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},e),J__namespace.createElement("path",{opacity:.4,d:"M17.554 7.296c2.451 0 4.446 2.06 4.446 4.592v5.032c0 2.526-1.99 4.58-4.436 4.58H6.448C3.996 21.5 2 19.441 2 16.91v-5.033c0-2.525 1.991-4.58 4.438-4.58h11.116z",fill:"#fff"}),J__namespace.createElement("path",{d:"M12.546 16.037l2.91-2.967c.3-.307.3-.8-.003-1.107a.762.762 0 00-1.089.002l-1.593 1.626V3.282a.777.777 0 00-.77-.782.776.776 0 00-.77.782v10.309l-1.594-1.626a.762.762 0 00-1.089-.002.788.788 0 00-.002 1.107l2.91 2.967c.144.148.34.231.544.231a.766.766 0 00.546-.23z",fill:"#fff"}))}var yV=J__namespace.memo(vV),fM=yV;var bV="mirantes-b2c-app://",xV="https://apps.apple.com/br/app/mirantes/idYOUR_APP_ID",wV="https://play.google.com/store/apps/details?id=com.desenvolvimentomirantes.mirantes&hl=pt-BR";function gM(){if(typeof window=="undefined")return;let e=Date.now(),t=/iPhone|iPad|iPod/i.test(navigator.userAgent),o=/Android/i.test(navigator.userAgent),r=`${bV}home`;window.location.href=r,setTimeout(()=>{Date.now()-e<2e3&&(t?window.location.href=xV:o&&(window.location.href=wV));},1500);}var CV=e=>J__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},J__namespace.createElement("g",{id:"freepik--background-complete--inject-10"},J__namespace.createElement("path",{fill:"#ebebeb",d:"M0 382.4h500v.25H0zM416.78 398.49h33.12v.25h-33.12zM322.53 401.21h8.69v.25h-8.69zM396.59 389.21h19.19v.25h-19.19zM52.46 390.89h43.19v.25H52.46zM104.56 390.89h6.33v.25h-6.33zM131.47 395.11h93.68v.25h-93.68zM237 337.8H43.91a5.71 5.71 0 0 1-5.7-5.71V60.66a5.71 5.71 0 0 1 5.7-5.66H237a5.71 5.71 0 0 1 5.71 5.71v271.38a5.71 5.71 0 0 1-5.71 5.71M43.91 55.2a5.46 5.46 0 0 0-5.45 5.46v271.43a5.46 5.46 0 0 0 5.45 5.46H237a5.47 5.47 0 0 0 5.46-5.46V60.66A5.47 5.47 0 0 0 237 55.2ZM453.31 337.8h-193.1a5.72 5.72 0 0 1-5.71-5.71V60.66a5.72 5.72 0 0 1 5.71-5.66h193.1a5.71 5.71 0 0 1 5.69 5.66v271.43a5.71 5.71 0 0 1-5.69 5.71M260.21 55.2a5.47 5.47 0 0 0-5.46 5.46v271.43a5.47 5.47 0 0 0 5.46 5.46h193.1a5.47 5.47 0 0 0 5.46-5.46V60.66a5.47 5.47 0 0 0-5.46-5.46Z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M280.25 96.3h148.01v98.39H280.25z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M283.54 96.3h148.01v98.39H283.54z"}),J__namespace.createElement("path",{fill:"#fff",d:"M425.65 102.93v85.13H289.44v-85.13z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M425.65 102.93v85.13h-2.49v-85.13z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M285.98 167.86h143.13v8.9H285.98z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M438 85.32H273.81a.91.91 0 0 0-.91.91.91.91 0 0 0 .91.91H438a.91.91 0 0 0 .91-.91.91.91 0 0 0-.91-.91"}),J__namespace.createElement("circle",{cx:"438.9",cy:"86.23",r:"2.27",fill:"#e6e6e6"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M281.48 91.32a1.23 1.23 0 0 1-1.23-1.22v-2.64a1.23 1.23 0 0 1 1.23-1.23 1.23 1.23 0 0 1 1.22 1.23v2.64a1.22 1.22 0 0 1-1.22 1.22M424.28 91.32a1.23 1.23 0 0 1-1.23-1.22v-2.64a1.24 1.24 0 0 1 1.23-1.23 1.23 1.23 0 0 1 1.23 1.23v2.64a1.23 1.23 0 0 1-1.23 1.22"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M285.98 86.23H437.7v95.6H285.98z",opacity:"0.4"}),J__namespace.createElement("circle",{cx:"296.09",cy:"86.23",r:"2.27",fill:"#e6e6e6"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M377.72 199.16c2.66 3.68-2 7 1.84 10.81s-1.21 7.33-2.09 11.37 5 5.9 5.51 10.9-8.65 11-8.65 11-6.53-1.6-8.89-6.36 2-8-1.09-11.48-9.79-5.48-8.39-10-3.67-6-5.51-10c-.62-1.36-.25-.38.52-1.91 1.93-3.84 5.29-10.72 9.53-11.43 8.92-1.56 13.5 1.94 17.22 7.1"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M379.16 193.1c-3.31 4 1.72 8-3 12.12s.78 8.38 1.44 13-6.13 6.37-7.12 12 8.9 13 8.9 13 7.52-1.39 10.58-6.63-1.62-9.16 2.18-12.94 11.53-5.56 10.31-10.77 4.64-6.52 7.06-11c.87-1.61.47-3.6-.39-5.5a13.88 13.88 0 0 0-10.64-7.82c-5.88-.92-14.67-1.07-19.32 4.54"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M410 227s-.81 22.85-31.58 22.85S346.88 227 346.88 227Z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M279.68 256.14h29.04v119.73h-29.04zM285.26 375.88h143.2v6.52h-143.2z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M434.03 375.88H308.72V256.15h125.31z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M423.12 330.31H319.63v-28.6h103.49Zm-102.49-1h101.49v-26.6H320.63ZM423.12 364.06H319.63v-28.59h103.49Zm-102.49-1h101.49v-26.59H320.63Z"}),J__namespace.createElement("path",{fill:"#ebebeb",d:"M383.4 306.84h-24a2.32 2.32 0 0 1-2.31-2.31 2.32 2.32 0 0 1 2.31-2.32h24a2.32 2.32 0 0 1 2.31 2.32 2.32 2.32 0 0 1-2.31 2.31"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M423.12 296.56H319.63V268h103.49Zm-102.49-1h101.49V269H320.63Z"}),J__namespace.createElement("path",{fill:"#ebebeb",d:"M383.4 273.09h-24a2.33 2.33 0 0 1-2.31-2.32 2.32 2.32 0 0 1 2.31-2.31h24a2.32 2.32 0 0 1 2.31 2.31 2.33 2.33 0 0 1-2.31 2.32M383.4 340.6h-24a2.33 2.33 0 0 1-2.31-2.32 2.32 2.32 0 0 1 2.31-2.31h24a2.32 2.32 0 0 1 2.31 2.31 2.33 2.33 0 0 1-2.31 2.32"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M308.72 249.85H437.9v6.3H308.72z"}),J__namespace.createElement("path",{fill:"#e6e6e6",d:"M308.72 256.14h-33.1v-6.3h33.1z"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M95.11 82h106.82v121.18H95.11z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M96.68 82h113.99v121.18H96.68z"}),J__namespace.createElement("path",{fill:"#fff",d:"M201.12 91.55v102.08h-94.89V91.55z"}),J__namespace.createElement("rect",{width:"52.6",height:"48.89",x:"127.37",y:"118.14",fill:"#f5f5f5",rx:"9.41",transform:"rotate(90 153.67 142.59)"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M197.47 287.61c-.53 0-1.07 0-1.61.05a23 23 0 0 0-20.55 28.86 114.8 114.8 0 0 1 3.6 29.89v29.34a3.86 3.86 0 0 0 3.85 3.86h93.16v-92Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M298.86 310.55a22.94 22.94 0 1 0-45.1 6 114.8 114.8 0 0 1 3.6 29.89v29.34a3.85 3.85 0 0 0 3.85 3.86h29.41a3.86 3.86 0 0 0 3.86-3.86v-31.1a105 105 0 0 1 3.55-28 23 23 0 0 0 .83-6.13"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M160.69 323.75h83.61v55.86h-83.61z"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M108.95 250.57h77.18a17.36 17.36 0 0 1 17.36 17.36v68.45H91.58v-68.45a17.36 17.36 0 0 1 17.36-17.36Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M130 250.57h78.86a16.53 16.53 0 0 1 16.53 16.53v69.28H113.45v-69.29A16.53 16.53 0 0 1 130 250.57"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M166.16 318.65h77.07a5 5 0 0 1 5 5v12.67a5 5 0 0 1-5 5h-77.07a1.51 1.51 0 0 1-1.51-1.51v-19.66a1.51 1.51 0 0 1 1.51-1.5"}),J__namespace.createElement("path",{fill:"#f0f0f0",d:"M83.34 287.61c-.53 0-1.07 0-1.61.05a23 23 0 0 0-21.29 21.39 23.3 23.3 0 0 0 .74 7.47 114.8 114.8 0 0 1 3.6 29.89v29.34a3.85 3.85 0 0 0 3.85 3.86h93.15v-92Z"}),J__namespace.createElement("path",{fill:"#f5f5f5",d:"M184.73 310.55a22.94 22.94 0 1 0-45.1 6 115.2 115.2 0 0 1 3.59 29.89v29.34a3.86 3.86 0 0 0 3.86 3.86h29.41a3.85 3.85 0 0 0 3.85-3.86v-31.1a104.5 104.5 0 0 1 3.56-28 23 23 0 0 0 .83-6.13"}),J__namespace.createElement("path",{fill:"#e0e0e0",d:"M274.28 382.4H85a2.79 2.79 0 0 1-2.8-2.79h194.87a2.79 2.79 0 0 1-2.79 2.79"})),J__namespace.createElement("g",{id:"freepik--Shadow--inject-10"},J__namespace.createElement("ellipse",{id:"freepik--path--inject-10",cx:"250",cy:"416.24",fill:"#f5f5f5",rx:"193.89",ry:"11.32"})),J__namespace.createElement("g",{id:"freepik--Character--inject-10"},J__namespace.createElement("path",{fill:"#263238",d:"M308.2 123.37c2.86 5.16 3.1 26.23-2.2 30.55-9.74-1.07-17.49-5.78-17.74-16.87s14.55-23.38 19.94-13.68"}),J__namespace.createElement("path",{fill:"#263238",d:"M297.9 151c-2.56-1.5-6.82 3.44-7.8 11.91-.7 6-12.46-4.14-16.29 5.68-3.94-3-6.21-14.69 5-11.57 7.93 2.19 6.26.87 9.92-4 3.84-5.1 6.73-4.74 9.17-2.02"}),J__namespace.createElement("path",{fill:"#803e3c",d:"m331.63 176.61.91 2.85c.32 1 .66 2 1 2.95.67 2 1.37 4 2.11 5.92s1.47 3.94 2.26 5.9l1.15 3 .29.74.07.17a1.4 1.4 0 0 0-.42-.25c-.22-.08-.31 0-.18 0a2.3 2.3 0 0 0 .71-.11 11 11 0 0 0 2.25-1 42.4 42.4 0 0 0 4.88-3.34c1.62-1.26 3.21-2.61 4.76-4s3.14-2.84 4.65-4.26l3.07 2.6c-1.28 1.84-2.64 3.52-4 5.23s-2.92 3.31-4.5 4.9a40 40 0 0 1-5.28 4.52 17.8 17.8 0 0 1-3.48 1.9 9.5 9.5 0 0 1-2.41.62 6.6 6.6 0 0 1-3.33-.45 6.9 6.9 0 0 1-3.2-3l-.26-.54-.36-.73c-.48-1-1-2-1.42-2.94-.91-2-1.82-4-2.64-6s-1.65-4.06-2.41-6.12c-.37-1-.72-2.09-1.07-3.14s-.66-2.08-1-3.31Z"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M329.27 167.73c3.44.88 5.85 15.06 5.85 15.06l-9.49 6.46s-9.11-14.31-6.46-18.1c2.76-3.94 5.07-4.7 10.1-3.42"}),J__namespace.createElement("path",{fill:"#263238",d:"M329.27 167.73c3.44.88 5.85 15.06 5.85 15.06l-9.49 6.46s-9.11-14.31-6.46-18.1c2.76-3.94 5.07-4.7 10.1-3.42"}),J__namespace.createElement("path",{d:"m328.96 170.9 2.64 14.29-5.33 3.62z",opacity:"0.3"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m355.91 185.52 3.17-7.64 3.91 7.64s-2.54 3.8-5.89 2.87Z"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m362.57 177.09 5.03 2.02-4.61 6.41-3.91-7.64z"}),J__namespace.createElement("rect",{width:"29.73",height:"29.73",x:"360.51",y:"171.77",fill:"#0B89CE",rx:"7.75",transform:"rotate(-38.93 375.37 186.633)"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M310.62 406.45h8.36l.56-19.37h-8.36zM254.5 381.5l7.69 3.28 10.06-16.76-7.69-3.28z"}),J__namespace.createElement("path",{fill:"#263238",d:"m263.66 383.64-8-4.92a.66.66 0 0 0-.87.14l-4.8 5.77a1.34 1.34 0 0 0 .36 2c2.82 1.67 4.27 2.33 7.79 4.49 2.16 1.34 5.19 3.5 8.18 5.34s5-1 3.89-2.05c-4.85-4.63-4.71-6.83-5.62-9.57a2.2 2.2 0 0 0-.93-1.2M319.27 405.48h-9.4a.66.66 0 0 0-.66.57l-1.07 7.44a1.33 1.33 0 0 0 1.34 1.48c3.27-.05 4.85-.25 9-.25 2.54 0 7.8.27 11.31.27s3.7-3.47 2.24-3.79c-6.56-1.41-9.14-3.35-11.34-5.2a2.17 2.17 0 0 0-1.42-.52"}),J__namespace.createElement("path",{d:"m319.54 387.09-.29 9.98h-8.36l.28-9.98zM264.55 364.75l7.7 3.27-5.19 8.64-7.7-3.28z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#263238",d:"M329.27 167.73s4 1.4-4 50.47h-34c.57-13.82.58-22.34-6-50.71a100 100 0 0 1 14.42-1.9 107 107 0 0 1 15.42 0c6.65.6 14.16 2.14 14.16 2.14"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M301.24 148.22c1 5 1.94 14.06-1.53 17.37 0 0 1.36 5 10.58 5 10.13 0 4.84-5 4.84-5-5.53-1.32-5.39-5.43-4.43-9.28Z"}),J__namespace.createElement("path",{d:"m305.1 151.52 5.6 4.78a15.6 15.6 0 0 0-.47 2.74c-2.12-.31-5-2.63-5.25-4.84a7.5 7.5 0 0 1 .12-2.68",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M296.66 139.36c1.93 8.07 2.58 11.53 7.44 15 7.3 5.21 16.79 1.07 17.31-7.42.46-7.64-2.78-19.55-11.34-21.39a11.31 11.31 0 0 0-13.41 13.81"}),J__namespace.createElement("path",{fill:"#263238",d:"M319.67 134.09a.38.38 0 0 0 .33-.09.4.4 0 0 0 0-.56 4 4 0 0 0-3.39-1.26.41.41 0 0 0-.32.47.4.4 0 0 0 .47.31 3.15 3.15 0 0 1 2.67 1 .4.4 0 0 0 .24.13"}),J__namespace.createElement("path",{fill:"#fff",d:"M319.46 143.73a2.57 2.57 0 0 1-1.6-.6 7.8 7.8 0 0 1-2.32-5.32c-.31-3.6 1-6.65 3.09-6.95a2.43 2.43 0 0 1 1.91.58 7.8 7.8 0 0 1 2.32 5.32c.32 3.59-1 6.65-3.08 7a1.7 1.7 0 0 1-.32-.03m-.51-12.4h-.25c-1.76.26-2.95 3.14-2.67 6.42a7.28 7.28 0 0 0 2.14 5 1.94 1.94 0 0 0 1.53.48c1.76-.26 3-3.14 2.67-6.42a7.28 7.28 0 0 0-2.14-5 2.08 2.08 0 0 0-1.23-.48Z"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M325.27 218.2s6.6 64.42 6.05 89.92c-.57 26.52-10.29 87-10.29 87h-11.31s1.79-58.95.79-85c-1.09-28.4-10.11-91.94-10.11-91.94Z"}),J__namespace.createElement("path",{fill:"#fff",d:"M325.27 218.2s6.6 64.42 6.05 89.92c-.57 26.52-10.29 87-10.29 87h-11.31s1.79-58.95.79-85c-1.09-28.4-10.11-91.94-10.11-91.94Z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M308.74 395.54h13.27l.97-4.23-14.86-.52z"}),J__namespace.createElement("path",{d:"M310.62 234.23C319 251 312.3 281.62 309.35 293c-1.52-17.1-4.07-38-6.05-53.37 1.26-8.63 3.47-13.14 7.32-5.4",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M316.3 218.2s-7.69 67-13.5 88.47c-6.9 25.53-33.13 69-33.13 69l-10.49-4.46s16.24-49.36 21.51-62.81c11.26-28.7 1.62-71.47 10.62-90.2Z"}),J__namespace.createElement("path",{fill:"#fff",d:"M316.3 218.2s-7.69 67-13.5 88.47c-6.9 25.53-33.13 69-33.13 69l-10.49-4.46s16.24-49.36 21.51-62.81c11.26-28.7 1.62-71.47 10.62-90.2Z",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"m257.74 371.24 13.02 5.54 3.12-3.5-15.01-7.21z"}),J__namespace.createElement("path",{fill:"#263238",d:"M309.43 139.47c.12.66.57 1.14 1 1.06s.69-.68.58-1.34-.57-1.14-1-1.07-.69.68-.58 1.35M316.94 138.15c.12.66.57 1.14 1 1.06s.69-.68.57-1.34-.56-1.14-1-1.07-.68.68-.57 1.35"}),J__namespace.createElement("path",{fill:"#263238",d:"m317.33 136.88 1.52-.75s-.6 1.39-1.52.75"}),J__namespace.createElement("path",{fill:"#630f0f",d:"M315.16 139.64a18 18 0 0 0 3.11 3.82 2.91 2.91 0 0 1-2.29.86Z"}),J__namespace.createElement("path",{fill:"#263238",d:"M313 147.45a6.5 6.5 0 0 0 1.13-.1.2.2 0 0 0 .16-.23.19.19 0 0 0-.29-.12 5.34 5.34 0 0 1-4.65-1.31.2.2 0 1 0-.29.27 5.56 5.56 0 0 0 3.94 1.49M308.89 127.46c.15 3.85-5.91 16.21-10.28 17.17-5.36-3.5-6.86-9.63-3.74-16.17s13.74-8.25 14.02-1"}),J__namespace.createElement("path",{fill:"#263238",d:"M311.65 121.25c-3.39-.53-15 1.42-8.78 5s11.17 4.55 14.19 4.19 2.05-8.03-5.41-9.19"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"M295.64 145.27a6.06 6.06 0 0 0 3.28 3.27c2 .8 3.19-.91 2.84-2.89-.31-1.79-1.72-4.36-3.79-4.31a2.73 2.73 0 0 0-2.33 3.93"}),J__namespace.createElement("path",{fill:"#263238",d:"M306.75 137.19a.4.4 0 0 0 .24-.2 3.14 3.14 0 0 1 2.25-1.76.39.39 0 0 0 .35-.44.39.39 0 0 0-.44-.35 3.92 3.92 0 0 0-2.87 2.19.4.4 0 0 0 .18.54.42.42 0 0 0 .29.02"}),J__namespace.createElement("path",{fill:"#fff",d:"M311 145a2.6 2.6 0 0 1-1.6-.61 7.8 7.8 0 0 1-2.32-5.32c-.31-3.59 1-6.65 3.08-6.95a2.53 2.53 0 0 1 1.92.58 7.8 7.8 0 0 1 2.32 5.32c.31 3.6-1 6.65-3.08 7Zm-.51-12.41h-.25c-1.76.26-3 3.14-2.67 6.42a7.28 7.28 0 0 0 2.14 5 1.93 1.93 0 0 0 1.53.48c1.76-.25 2.95-3.13 2.67-6.42a7.3 7.3 0 0 0-2.14-5 2.08 2.08 0 0 0-1.3-.49Z"}),J__namespace.createElement("path",{fill:"#803e3c",d:"M289.62 178.33a109 109 0 0 1-1.95 14.25 77.5 77.5 0 0 1-4 14l-.75 1.73-.19.43a4 4 0 0 1-.22.44 3.5 3.5 0 0 1-.32.52 5 5 0 0 1-1 1.12 4.7 4.7 0 0 1-1.65.84 5 5 0 0 1-2.92-.08 6.2 6.2 0 0 1-1.57-.75 12.2 12.2 0 0 1-1.88-1.54 37.4 37.4 0 0 1-4.68-6 102 102 0 0 1-6.79-12.53l3.49-2c2.72 3.67 5.45 7.42 8.33 10.85a37 37 0 0 0 4.33 4.57 4.4 4.4 0 0 0 .87.59c.08 0 .14 0 0 0a2.1 2.1 0 0 0-1.21 0c-1.48.44-1.65 1.75-1.34.74l.55-1.51a90 90 0 0 0 3.11-12.87c.76-4.39 1.34-9 1.76-13.33Z"}),J__namespace.createElement("path",{fill:"#263238",d:"M285.29 167.49c-3.4 1-7.49 12.75-7.49 12.75l13.2 9.44s4.81-9.78 3.38-14.18c-1.49-4.58-5.21-9.19-9.09-8.01"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M267.05 386.82a1.13 1.13 0 0 0 .7-.7.65.65 0 0 0 0-.68c-.6-.88-3.62-.81-4-.8a.2.2 0 0 0-.18.12.2.2 0 0 0 0 .21c.79.79 2.27 2.08 3.31 1.88Zm-2.81-1.82c1.21 0 2.83.17 3.14.64a.27.27 0 0 1 0 .3.75.75 0 0 1-.54.49c-.55.14-1.51-.43-2.6-1.43"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M265.13 384.79c.92-.29 1.89-.8 2.11-1.37a.7.7 0 0 0-.28-.82 1 1 0 0 0-.86-.21c-1.19.21-2.46 2.25-2.52 2.34a.23.23 0 0 0 0 .2.19.19 0 0 0 .17.1 4.9 4.9 0 0 0 1.38-.24m.92-2h.12a.65.65 0 0 1 .54.13c.2.16.19.28.15.37-.2.55-1.72 1.21-2.73 1.34a5 5 0 0 1 1.92-1.82ZM322.41 406.94a3.2 3.2 0 0 0 2-.51 1.1 1.1 0 0 0 .35-1 .63.63 0 0 0-.33-.52c-1-.56-4.36 1.14-4.74 1.33a.21.21 0 0 0-.1.21.18.18 0 0 0 .16.16 13.5 13.5 0 0 0 2.66.33m1.49-1.73a.8.8 0 0 1 .37.07.27.27 0 0 1 .13.22.71.71 0 0 1-.23.63c-.51.46-1.88.54-3.73.23a10.7 10.7 0 0 1 3.46-1.15"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M319.82 406.65h.08c1-.45 3-2.25 2.81-3.2 0-.23-.19-.5-.74-.56a1.43 1.43 0 0 0-1.1.34c-1.05.88-1.24 3.13-1.25 3.22a.18.18 0 0 0 .08.18.2.2 0 0 0 .12.02m2-3.39h.12c.36 0 .38.19.39.23.09.57-1.25 2-2.26 2.61a4.57 4.57 0 0 1 1.06-2.58 1 1 0 0 1 .68-.26Z"}),J__namespace.createElement("path",{fill:"#263238",d:"m290.8 216.21-.87 3c-.12.23.16.47.55.47h35c.3 0 .56-.15.58-.34l.3-3c0-.21-.24-.39-.58-.39h-34.43a.63.63 0 0 0-.55.26"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M295.42 220.05h-.92c-.19 0-.33-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.18.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M295.42 220.05h-.92c-.19 0-.33-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.18.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M322.85 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.21.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M322.85 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.17-.21.36-.21h.92c.18 0 .32.1.31.21l-.43 4c-.02.16-.21.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M309.13 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.18-.21.36-.21h.92c.19 0 .33.1.31.21l-.43 4c-.01.16-.17.21-.36.21"}),J__namespace.createElement("path",{fill:"#fff",d:"M309.13 220.05h-.92c-.18 0-.32-.09-.31-.21l.43-4c0-.11.18-.21.36-.21h.92c.19 0 .33.1.31.21l-.43 4c-.01.16-.17.21-.36.21",opacity:"0.2"}),J__namespace.createElement("path",{fill:"#263238",d:"m309.82 138.19 1.52-.74s-.6 1.39-1.52.74"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m262.14 191.88-8-4.25 7.89-3.16s4.15 3.41 3.48 6.82Z"}),J__namespace.createElement("path",{fill:"#7f3e3b",d:"m251.32 181.2 6.75-2.29 4.98 6.5-8.88 2.22z"})),J__namespace.createElement("g",{id:"freepik--Smartphone--inject-10"},J__namespace.createElement("path",{fill:"#263238",d:"M253.64 132.52H140a11.71 11.71 0 0 0-11.73 12l5.88 259.72a12.38 12.38 0 0 0 12.28 12h113.63a11.71 11.71 0 0 0 11.73-12l-5.88-259.72a12.37 12.37 0 0 0-12.27-12"}),J__namespace.createElement("path",{fill:"#263238",d:"M256.47 132.52H142.8a11.7 11.7 0 0 0-11.72 12L137 404.24a12.37 12.37 0 0 0 12.27 12H262.9a11.7 11.7 0 0 0 11.72-12l-5.88-259.72a12.37 12.37 0 0 0-12.27-12"}),J__namespace.createElement("path",{fill:"#fff",d:"m138.51 404.09-5.88-259.42a7.93 7.93 0 0 1 8-8.15h118.23a8.37 8.37 0 0 1 8.33 8.15l5.88 259.42a7.94 7.94 0 0 1-8 8.15H146.84a8.37 8.37 0 0 1-8.33-8.15"}),J__namespace.createElement("path",{fill:"#263238",d:"M178.12 401.65a1 1 0 0 1-.47-.12l-3.93-2.25a1 1 0 0 1-.49-.82.94.94 0 0 1 .48-.83l3.83-2.24a1 1 0 0 1 1.44.8l.1 4.48a1 1 0 0 1-1 1Zm-4.16-2.8 3.94 2.24a.45.45 0 0 0 .68-.4l-.1-4.49a.47.47 0 0 0-.69-.38l-3.79 2.24a.46.46 0 0 0-.23.4.48.48 0 0 0 .23.39ZM205.58 401.93a3.56 3.56 0 0 1-3.54-3.46 3.38 3.38 0 0 1 3.4-3.48 3.57 3.57 0 0 1 3.54 3.47 3.37 3.37 0 0 1-3.4 3.47m-.14-6.44a2.9 2.9 0 0 0-2.08.87 2.86 2.86 0 0 0-.82 2.1 3.06 3.06 0 0 0 3 3 2.87 2.87 0 0 0 2.9-3 3.06 3.06 0 0 0-3-2.97M237.81 401.58h-4.57a.85.85 0 0 1-.85-.83l-.1-4.57a.78.78 0 0 1 .23-.59.8.8 0 0 1 .59-.25h4.57a.85.85 0 0 1 .85.83l.1 4.57a.8.8 0 0 1-.82.84m-4.7-5.74a.33.33 0 0 0-.23.1.28.28 0 0 0-.09.23l.1 4.57a.35.35 0 0 0 .35.34h4.57a.32.32 0 0 0 .19-.08.34.34 0 0 0 .09-.24l-.1-4.57a.35.35 0 0 0-.35-.34ZM146.05 141.61a1 1 0 0 0-1 1 1 1 0 0 0 1 1 1 1 0 0 0 1-1 1 1 0 0 0-1-1M148.86 140.46a1 1 0 0 0-1 1v1.15a1 1 0 0 0 1 1 1 1 0 0 0 .95-1v-1.15a1 1 0 0 0-.95-1M151.67 139.28a1 1 0 0 0-.95 1l.05 2.33a1 1 0 0 0 1 1 1 1 0 0 0 1-1l-.06-2.33a1 1 0 0 0-1.04-1M250.75 138.78h-6.83a1.6 1.6 0 0 0-1.6 1.64v1.5a1.69 1.69 0 0 0 1.68 1.64h6.83a1.6 1.6 0 0 0 1.6-1.64v-1.5a1.7 1.7 0 0 0-1.68-1.64M253.49 139.82h-.37a.41.41 0 0 0-.42.43v1.84a.45.45 0 0 0 .44.43h.37a.42.42 0 0 0 .41-.43v-1.84a.43.43 0 0 0-.43-.43M229.47 143.56H170.3a6.93 6.93 0 0 1-6.94-5.14l-.72-3.42h74.11l-.56 3.42a6.56 6.56 0 0 1-6.72 5.14"}),J__namespace.createElement("path",{fill:"#263238",d:"M141.93 404.13a2.07 2.07 0 0 1-2.05-2L134.11 147a1.94 1.94 0 0 1 1.95-2 2.07 2.07 0 0 1 2.05 2l5.77 255.09a1.94 1.94 0 0 1-1.95 2.04M269.65 404.13a2.07 2.07 0 0 1-2-2L261.83 147a1.94 1.94 0 0 1 1.95-2 2.07 2.07 0 0 1 2.05 2l5.77 255.09a1.94 1.94 0 0 1-1.95 2.04",opacity:"0.1"}),J__namespace.createElement("path",{fill:"#0B89CE",d:"M172 211.4h-14.27a8 8 0 0 1-7.92-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.57 7.57 0 0 1-7.54 7.75M245.11 211.4h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.58 7.75M208.54 211.4h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.23a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M172.8 248.21h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.23a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M209.37 248.21h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.58 7.75M173.63 285H159.4a8 8 0 0 1-7.92-7.75l-.33-14.23a7.57 7.57 0 0 1 7.58-7.75H173a8 8 0 0 1 7.92 7.75l.33 14.23a7.58 7.58 0 0 1-7.62 7.75M246.78 285h-14.23a8 8 0 0 1-7.92-7.75l-.33-14.23a7.56 7.56 0 0 1 7.58-7.75h14.23a8 8 0 0 1 7.92 7.75l.32 14.23a7.56 7.56 0 0 1-7.57 7.75M210.21 285H196a8 8 0 0 1-7.93-7.75l-.32-14.23a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.59 7.75M174.46 321.84h-14.22a8 8 0 0 1-7.93-7.75l-.31-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.56 7.56 0 0 1-7.59 7.75M247.61 321.84h-14.23a8 8 0 0 1-7.92-7.75l-.32-14.23a7.56 7.56 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.23a7.57 7.57 0 0 1-7.58 7.75M211 321.84h-14.19a8 8 0 0 1-7.92-7.75l-.33-14.23a7.58 7.58 0 0 1 7.58-7.75h14.23a8 8 0 0 1 7.92 7.75l.32 14.23a7.56 7.56 0 0 1-7.61 7.75M175.87 383.8h-14.23a8 8 0 0 1-7.93-7.75l-.32-14.22a7.56 7.56 0 0 1 7.58-7.75h14.22a8 8 0 0 1 7.93 7.75l.32 14.22a7.55 7.55 0 0 1-7.57 7.75M249 383.8h-14.21a8 8 0 0 1-7.93-7.75l-.32-14.22a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.93 7.75l.32 14.22a7.55 7.55 0 0 1-7.59 7.75M212.44 383.8h-14.23a8 8 0 0 1-7.92-7.75l-.29-14.22a7.55 7.55 0 0 1 7.57-7.75h14.23a8 8 0 0 1 7.92 7.75l.33 14.22a7.56 7.56 0 0 1-7.61 7.75M251.91 169.39H149.03l-.02-1.11h102.87zM250.44 156.81a4.07 4.07 0 0 0-5.76 0 4 4 0 0 0-.49 4.92l-1.48 1.5a1 1 0 0 0 1.48 1.45l1.47-1.51a4 4 0 0 0 4.78-6.36m-5 5.13a3.15 3.15 0 1 1 4.51 0 3.19 3.19 0 0 1-4.53 0Z"}))),hM=CV;var vM=({isOpen:e,onClose:t,children:o,hideCloseButton:r=false,closeOnClickOutside:n=true,className:a=""})=>{let[s]=J__namespace.default.useState(()=>{if(typeof window=="undefined")return null;let d=document.createElement("div");return d.setAttribute("id","mobile-modal-portal"),d});J.useEffect(()=>{if(s)return document.body.appendChild(s),()=>{s.parentNode&&s.parentNode.removeChild(s);}},[s]);let i=()=>{n&&t();},l=d=>d.stopPropagation();return !s||!e?null:tQ.createPortal(J__namespace.default.createElement("div",{className:"fixed inset-0 z-[100] lg:hidden flex items-center justify-center bg-black/50",onClick:i},J__namespace.default.createElement("div",{className:`w-[90%] max-w-xs bg-white rounded-2xl p-6 shadow-lg flex flex-col gap-4 relative ${a}`,onClick:l},!r&&J__namespace.default.createElement("button",{onClick:t,className:"absolute top-4 right-4",type:"button"},J__namespace.default.createElement(lucideReact.X,{className:"h-6 w-6"})),o)),s)};var xm=()=>{let{isMobile:e}=Ne(),{isDownloadModalOpen:t,closeDownloadModal:o}=Z1(),{title:r,subtitle:n,button:a}=bm(),s=J__namespace.default.createElement("div",{className:"flex flex-col gap-4"},J__namespace.default.createElement("div",{className:"flex justify-center mb-4 w-[12.6rem] h-[12.6rem] mx-auto"},J__namespace.default.createElement(hM,null)),J__namespace.default.createElement("h2",{className:"text-[20px] font-bold text-gray-900 mb-2"},r),J__namespace.default.createElement("p",{className:"text-[#050910] text-[14px] mb-6"},n),J__namespace.default.createElement(le,{className:"w-full h-[48px] bg-primary hover:bg-primary/80 text-white text-[14px] font-bold rounded-[10px] py-2 border-0 outline-none flex items-center justify-center gap-2",onClick:gM},a,J__namespace.default.createElement(fM,{fontSize:24})));return e?J__namespace.default.createElement(vM,{isOpen:t,onClose:o,closeOnClickOutside:true,className:"text-center"},s):J__namespace.default.createElement(qe,{isOpen:t,onClose:o,closeOnClickOutside:true,disableFullScreen:true,hideCloseButton:false,className:"max-w-[327px] max-h-[512px] rounded-2xl bg-white p-6 shadow-lg text-center"},s)};var NV=()=>{let{openDownloadModal:e}=Z1(),{trigger:t}=bm();return J__namespace.default.createElement(le,{onClick:e,variant:"outline",className:"w-fit"},t)};var r8="mirantes_download_banner_last_shown",bc="mirantes_download_banner_count",wm="mirantes_download_banner_session_shown",n8=(e={})=>{let{maxShows:t=5,initialDelayMs:o=5e3,mobileOnly:r=true}=e,{openDownloadModal:n,isDownloadModalOpen:a}=Z1(),[s,i]=J.useState(false),l=()=>typeof window=="undefined"?false:window.innerWidth<=768||/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),d=()=>!(typeof window=="undefined"||r&&!l()||sessionStorage.getItem(wm)==="true"||parseInt(sessionStorage.getItem(bc)||"0")>=t),c=()=>{if(typeof window=="undefined")return;let g=new Date().toISOString(),m=parseInt(sessionStorage.getItem(bc)||"0");sessionStorage.setItem(r8,g),sessionStorage.setItem(bc,(m+1).toString()),sessionStorage.setItem(wm,"true");},p=()=>{d()&&(i(true),setTimeout(()=>{n(),c(),i(false);},o));},f=()=>{typeof window!="undefined"&&(sessionStorage.removeItem(r8),sessionStorage.removeItem(bc),sessionStorage.removeItem(wm));},u=()=>{if(typeof window=="undefined")return {lastShown:null,showsCount:0,remainingShows:t,canShow:false,shownInCurrentSession:false};let g=sessionStorage.getItem(r8),m=parseInt(sessionStorage.getItem(bc)||"0"),v=sessionStorage.getItem(wm)==="true";return {lastShown:g?new Date(g):null,showsCount:m,remainingShows:Math.max(0,t-m),canShow:d(),shownInCurrentSession:v}};return J.useEffect(()=>{let g=setTimeout(()=>{p();},1e3);return ()=>clearTimeout(g)},[]),{shouldShow:s,showBanner:p,resetBannerData:f,getBannerStats:u,canShow:d(),isMobile:l()}};var kV=({maxShows:e=5,initialDelayMs:t=3e4,mobileOnly:o=true,enabled:r=true})=>{let{canShow:n}=n8({maxShows:e,initialDelayMs:t,mobileOnly:o});return !r||!n?J__namespace.default.createElement(xm,null):J__namespace.default.createElement(xm,null)};function TV(e){let{fontSize:t="20px"}=e;return J__namespace.createElement("svg",y({width:t,height:t,viewBox:"0 0 20 21",fill:"none"},e),J__namespace.createElement("path",{opacity:.4,d:"M1.667 9.732c.042 1.949.158 5.281.175 5.649.06.785.36 1.58.828 2.14.652.785 1.454 1.136 2.574 1.136 1.546.009 3.251.009 4.907.009 1.663 0 3.276 0 4.639-.009 1.103 0 1.93-.36 2.574-1.137.468-.56.769-1.362.811-2.14.017-.309.1-3.926.15-5.648H1.667z",fill:"#687588"}),J__namespace.createElement("path",{d:"M9.371 13.32v1.078a.625.625 0 001.25 0V13.32a.625.625 0 00-1.25 0z",fill:"#687588"}),J__namespace.createElement("path",{d:"M11.072 2.167c1.25 0 2.276.94 2.433 2.15h1.647a3.177 3.177 0 013.173 3.174v2.889c0 .21-.106.406-.28.521-1.718 1.138-3.758 1.895-5.898 2.19a.625.625 0 01-.692-.465A1.504 1.504 0 009.992 11.5c-.701 0-1.297.454-1.482 1.13a.626.626 0 01-.69.456c-2.125-.297-4.157-1.051-5.872-2.184a.624.624 0 01-.281-.521V7.49a3.18 3.18 0 013.18-3.174h1.64a2.46 2.46 0 012.433-2.15h2.152zM8.92 3.417c-.56 0-1.029.383-1.169.9h4.49c-.14-.517-.609-.9-1.169-.9H8.92z",fill:"#687588"}))}var DV=J__namespace.memo(TV),bM=DV;var xM=zustand.create(e=>({isOpen:false,openModal:()=>e({isOpen:true}),closeModal:()=>e({isOpen:false})}));function FV({onClick:e}){let{openModal:t}=xM(),{locale:o}=M();return J__namespace.default.createElement(re,{onClick:r=>{t(),e==null||e(r);},leftElement:J__namespace.default.createElement(bM,null),className:"text-gray-600 hover:opacity-90 h-auto !p-0 hover:bg-transparent",label:Je(o,"explore.oportunities.jobs")})}var n0=({rating:e})=>J__namespace.default.createElement("div",{className:"flex gap-[2px] my-1"},Array.from({length:5}).map((t,o)=>{let r=o+1,n=e>=r,a=!n&&e>=r-.5,s="M9.14692 0.511345L11.0023 4.23991C11.139 4.51004 11.3999 4.69764 11.7008 4.73933L15.8684 5.3463C16.1117 5.38049 16.3326 5.50889 16.4818 5.70482C16.6294 5.89825 16.6927 6.14338 16.6569 6.38433C16.6277 6.58443 16.5335 6.76953 16.3893 6.91127L13.3695 9.83859C13.1486 10.0429 13.0486 10.3455 13.1019 10.6415L13.8454 14.7569C13.9246 15.2538 13.5954 15.7224 13.1019 15.8166C12.8986 15.8491 12.6902 15.815 12.5068 15.7216L8.78934 13.7848C8.51345 13.6455 8.18755 13.6455 7.91165 13.7848L4.19419 15.7216C3.73742 15.9642 3.17147 15.7991 2.91725 15.3489C2.82306 15.1696 2.78972 14.9654 2.82056 14.7661L3.56405 10.6498C3.6174 10.3547 3.51654 10.0504 3.2965 9.84609L0.276681 6.92044C-0.0825632 6.57359 -0.0933988 6.00247 0.252509 5.64312C0.26001 5.63562 0.268345 5.62728 0.276681 5.61894C0.420045 5.47303 0.608418 5.38049 0.811795 5.35631L4.97936 4.7485C5.27942 4.70598 5.54031 4.52005 5.67784 4.24825L7.46656 0.511345C7.62576 0.191182 7.95583 -0.00808573 8.31424 0.000251838H8.42593C8.73683 0.0377709 9.00772 0.230369 9.14692 0.511345";return a?J__namespace.default.createElement("svg",{key:o,className:"w-5 h-5",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},J__namespace.default.createElement("defs",null,J__namespace.default.createElement("linearGradient",{id:`half-star-${o}`},J__namespace.default.createElement("stop",{offset:"50%",stopColor:"#EC991C"}),J__namespace.default.createElement("stop",{offset:"50%",stopColor:"rgba(236,153,28,0.3)"}))),J__namespace.default.createElement("path",{d:s,fill:`url(#half-star-${o})`})):J__namespace.default.createElement("svg",{key:o,className:"w-5 h-5",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},J__namespace.default.createElement("path",{d:s,fill:n?"#EC991C":"rgba(236,153,28,0.3)"}))}));var xc=(e=0)=>e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:e.toString(),CM=e=>{let t=Math.floor((new Date().getTime()-new Date(e).getTime())/1e3);if(t<60)return `${t}s`;let o=Math.floor(t/60);if(o<60)return `${o}m`;let r=Math.floor(o/60);if(r<24)return `${r}h`;let n=Math.floor(r/24);if(n<7)return `${n}D`;let a=Math.floor(n/7);if(a<4)return `${a}W`;let s=Math.floor(n/30);return s<12?`${s}M`:`${Math.floor(n/365)}Y`};var MM=vf.gql`
994
994
  query GET_RATING_STATS($userId: String, $pageId: String, $communityId: String) {
995
995
  getRatingStats(userId: $userId, pageId: $pageId, communityId: $communityId) {
996
996
  average
@@ -1806,7 +1806,7 @@ query Communities($options: SearchCommunityInput) {
1806
1806
  id
1807
1807
  }
1808
1808
  }
1809
- `;function ZP(){let{feedApi:e,user:t}=M(),{mutate:o,isPending:r}=ge({mutationKey:["createFollow"],mutationFn:a=>j(this,[a],function*({createFollowInput:n}){var s;try{return yield vf__default.default(e!=null?e:"",KP,{createFollowInput:n},{"x-access-token":(s=t==null?void 0:t.accessToken)!=null?s:""})}catch(i){throw i}})});return {createFollow:o,isCreatingFollow:r}}var YP=zustand.create(e=>({following:[],unfollowing:[],setFollowing:t=>e({following:t}),setUnfollowing:t=>e({unfollowing:t})}));function JP({user:e,className:t,insideClasse:o,icon:r,isFollowing:n}){var A,k,N,I,P;let{user:a}=M(),{setFollowing:s,following:i,setUnfollowing:l,unfollowing:d}=YP(),{isOpen:c,toggle:p}=ur(),{createFollow:f,isCreatingFollow:u}=ZP(),{dispatch:g}=WP(),[m,v]=J__namespace.default.useOptimistic({isFollowed:(A=n!=null?n:e==null?void 0:e.isFollowed)!=null?A:false,isFollowedBy:(k=e==null?void 0:e.isFollowedBy)!=null?k:false,isContact:(N=e==null?void 0:e.isContact)!=null?N:false},(S,D)=>D.type==="follow"?F(y({},S),{isFollowed:true,isContact:S.isFollowedBy}):F(y({},S),{isFollowed:false,isContact:false})),h=()=>{var L,E,B,W;if(!(e!=null&&e.id))return;let S=a==null?void 0:a.id;if((e==null?void 0:e.id)===S)return;let D=i==null?void 0:i.includes((L=e==null?void 0:e.id)!=null?L:""),T=!D;D?(s((E=i==null?void 0:i.filter(q=>q!==(e==null?void 0:e.id)))!=null?E:[]),l([...d!=null?d:[],e==null?void 0:e.id]),J.startTransition(()=>{v({type:"unfollow"});})):(s([...i!=null?i:[],e==null?void 0:e.id]),l((B=d==null?void 0:d.filter(q=>q!==(e==null?void 0:e.id)))!=null?B:[]),J.startTransition(()=>{v({type:"follow"});})),p(),f({createFollowInput:{followedId:(W=e==null?void 0:e.id)!=null?W:""}}),J.startTransition(()=>{e!=null&&e.id&&g({type:T?"follow":"unfollow",userId:e.id});});},b=()=>{let S="font-medium border rounded-[10px] flex justify-center";return m!=null&&m.isContact||m!=null&&m.isFollowedBy?`${S} bg-primary/10 text-primary border-primary/20`:`${S} bg-primary text-white border-transparent`},x=(i==null?void 0:i.includes((I=e==null?void 0:e.id)!=null?I:""))||c||(m==null?void 0:m.isFollowed),w=d==null?void 0:d.includes((P=e==null?void 0:e.id)!=null?P:""),C=()=>m!=null&&m.isContact||e!=null&&e.isContact?"Contacto":x&&!w?"Deixar de seguir":"Seguir";return J__namespace.default.createElement(le,{onClick:h,variant:"ghost",size:"sm",className:U(o?b():"h-auto p-2 text-primary hover:bg-transparent hover:text-primary/80 font-normal",t)},r||J__namespace.default.createElement(lucideReact.UserPlusIcon,{className:"h-3 w-3"}),u?J__namespace.default.createElement(lucideReact.CircleIcon,{className:"w-4 h-4 animate-spin"}):C())}var $P={AGREE:J__namespace.default.createElement(Wi,{size:20}),LIKE:J__namespace.default.createElement(w0,{size:20}),SUPPORT:J__namespace.default.createElement(Wi,{size:20}),DISLIKE:J__namespace.default.createElement(Qi,{size:20}),DISAGREE:J__namespace.default.createElement(Qi,{size:20}),EUREKA:J__namespace.default.createElement(b0,{fontSize:20}),NO_COMMENT:J__namespace.default.createElement(C0,{fontSize:20}),HAHA:J__namespace.default.createElement(M0,{size:20}),LOVE:J__namespace.default.createElement(P0,{size:20})};function RP({reactions:e,handleGoToProfile:t}){var p;let{user:o,locale:r}=M(),n=r||"pt",a=e!=null?e:[],s=J.useMemo(()=>a.reduce((f,u)=>{var m;let g=(m=u==null?void 0:u.reaction)!=null?m:"";return g&&(f[g]||(f[g]=[]),f[g].push(u)),f},{}),[a]),{reactions:i}=Vm({currentReaction:"",onChange:()=>{},size:"normal"}),l=J.useMemo(()=>{let f=Object.keys(s).filter(Boolean),u={id:"all",label:rn(n,"allReactions"),emoji:null,count:a.length,users:a},g=f.map(m=>{var h,b,x,w,C;let v=i.find(A=>A.id===m);return {id:m,label:"",emoji:(b=(h=$P[m])!=null?h:v==null?void 0:v.emoji)!=null?b:null,count:(w=(x=s[m])==null?void 0:x.length)!=null?w:0,users:(C=s[m])!=null?C:[]}});return [u,...g]},[s,i,a]),[d,c]=J.useState("all");return a.length===0?J__namespace.default.createElement("div",{className:"py-8 text-center text-sm text-gray-500"},rn(n,"noReactionsYet")):J__namespace.default.createElement("div",null,J__namespace.default.createElement("div",{className:"bg-white"},J__namespace.default.createElement("div",{className:"flex gap-2 overflow-x-auto py-1 px-0 border-b"},l.map(f=>J__namespace.default.createElement("div",{key:f.id,className:"inline-block relative overflow-visible "},J__namespace.default.createElement("button",{onClick:()=>c(f.id),"aria-pressed":d===f.id,className:`pr-6 py-2 text-sm font-medium rounded-full transition-colors whitespace-nowrap ${d===f.id?"text-primary":"text-gray-500 hover:text-gray-700"}`},f.emoji&&J__namespace.default.createElement("span",{className:"w-2 h-2 inline-block mr-2 mb-2"},f.emoji),J__namespace.default.createElement("span",{className:"space-x-4"},J__namespace.default.createElement("span",{className:"text-[14px] font-medium"},f.label),f.count>0&&J__namespace.default.createElement("span",{className:"text-[#050910] text-[14px] font-semibold"},f.count))),d===f.id&&J__namespace.default.createElement("div",{className:"absolute -left-2 right-0 -bottom-1 h-[2px] bg-primary rounded-none"}))))),J__namespace.default.createElement("div",{className:"space-y-6 max-h-[60vh] overflow-y-auto pr-2 pt-4"},(d==="all"?a:(p=s[d])!=null?p:[]).map(f=>{var u,g,m,v,h,b,x,w,C,A;return J__namespace.default.createElement("div",{key:f==null?void 0:f.id,className:"flex items-center gap-2 group"},J__namespace.default.createElement("div",{className:"relative"},J__namespace.default.createElement(ae,{name:(g=(u=f==null?void 0:f.user)==null?void 0:u.name)!=null?g:"",src:(m=f==null?void 0:f.user)==null?void 0:m.avatar,className:"w-10 lg:w-12 h-10 lg:h-12",onClick:()=>t==null?void 0:t(f==null?void 0:f.user),type:"user"}),(f==null?void 0:f.reaction)&&J__namespace.default.createElement("div",{className:"absolute -bottom-1 -right-1 bg-white rounded-full p-[2px] shadow-sm transform transition-all duration-200 ease-out opacity-90 group-hover:scale-110 group-hover:opacity-100"},(b=(h=$P[f==null?void 0:f.reaction])!=null?h:(v=i.find(k=>k.id===(f==null?void 0:f.reaction)))==null?void 0:v.emoji)!=null?b:null)),J__namespace.default.createElement("div",{className:"flex-1"},J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement("h3",{className:"text-sm lg:text-base font-medium",onClick:()=>t==null?void 0:t(f==null?void 0:f.user)},(x=f==null?void 0:f.user)==null?void 0:x.name),(o==null?void 0:o.id)!==((w=f==null?void 0:f.user)==null?void 0:w.id)&&!((C=f==null?void 0:f.user)!=null&&C.isFollowed)&&J__namespace.default.createElement(JP,{user:f==null?void 0:f.user})),J__namespace.default.createElement("p",{className:"text-xs text-gray-600"},(A=f==null?void 0:f.user)==null?void 0:A.headline)))})))}function g8({onClose:e,post:t,comment:o,optimisticReactions:r}){var f,u;let{isMobile:n}=Eo(),{user:a,locale:s}=M(),i=s||"pt",l=(u=(f=r!=null?r:o==null?void 0:o.reactions)!=null?f:t==null?void 0:t.reactions)!=null?u:[],d=l.length,c=d===1?rn(i,"reactionsSingular"):rn(i,"reactionsPlural");return J__namespace.default.createElement(qe,{closeOnClickOutside:true,className:"flex flex-col w-full mt-[40px] md:mt-0 h-full md:w-[33rem] md:h-[25.625rem]",isOpen:true,onClose:e,hideCloseButton:true},J__namespace.default.createElement("div",{className:"w-full"},J__namespace.default.createElement("h2",{className:`text-lg h-[60px] font-semibold ${n?"border-b-8 border-[#F5F5F5]":""} flex items-center gap-4`},n?J__namespace.default.createElement("button",{onClick:e,className:"cursor-pointer flex-shrink-0",type:"button"},J__namespace.default.createElement(lucideReact.ChevronLeft,{className:"h-8 w-8"})):null,n?null:J__namespace.default.createElement("span",null,d," ",c)),J__namespace.default.createElement("div",{className:` ${n?"px-4":""}`},J__namespace.default.createElement(RP,{reactions:l,handleGoToProfile:g=>{Ae(),(g==null?void 0:g.id)===(a==null?void 0:a.id)?window.location.href=`/profile/${s}`:window.location.href=`/profile/${s}/${g==null?void 0:g.slug}`;}}))))}function sW(e){let{fontSize:t=30}=e;return J__namespace.createElement("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J__namespace.createElement("path",{d:"M19.4636 6.412C19.2625 6.15672 19.0152 5.9523 18.7381 5.8123C18.461 5.6723 18.1605 5.59993 17.8565 5.6H12.8567V4C12.8567 2.93913 12.4804 1.92172 11.8107 1.17157C11.1409 0.421428 10.2326 2.05102e-07 9.28539 2.05102e-07C9.15269 -0.0001062 9.0226 0.0411911 8.90968 0.119262C8.79677 0.197332 8.70551 0.309089 8.64613 0.442L5.27303 8H1.42852C1.04965 8 0.686304 8.16857 0.418404 8.46863C0.150504 8.76869 0 9.17565 0 9.6V18.4C0 18.8243 0.150504 19.2313 0.418404 19.5314C0.686304 19.8314 1.04965 20 1.42852 20H16.7851C17.3072 20.0002 17.8113 19.7869 18.2029 19.4003C18.5945 19.0136 18.8466 18.4801 18.9118 17.9L19.9832 8.3C20.0212 7.96202 19.9945 7.61886 19.9049 7.29334C19.8153 6.96781 19.6649 6.66737 19.4636 6.412ZM1.42852 9.6H4.99983V18.4H1.42852V9.6Z",fill:"#687588"}))}var iW=J__namespace.memo(sW),h8=iW;var qm={AGREE:"#B38FD8",DISLIKE:"#F87171",EUREKA:"#FACC15",LIKE:"#60A5FA",NO_COMMENT:"#9CA3AF",SUPPORT:"#60A5FA"};function oS(e){return e?e>=1e6?`${(e/1e6).toFixed(1).replace(/\.0$/,"")}M`:e>=1e3?`${(e/1e3).toFixed(1).replace(/\.0$/,"")}K`:e.toString():""}function rS({currentReaction:e,onChange:t,size:o="normal",totalReactions:r=0,topReactions:n=[],isLoading:a,className:s,orientation:i="horizontal",post:l,comment:d,variant:c="default",optimisticReactions:p}){var oe;let{user:f}=M(),[u,g]=usehooks.useToggle(false),{handleReactionSelect:m,reactions:v,selectedReaction:h,isNormalSize:b}=Vm({currentReaction:e,onChange:t,size:o}),[x,w]=J.useState(false),[C,A]=J.useState(false),{isOpen:k,onOpen:N,onClose:I}=ur(),{isOpen:P,onOpen:S,onClose:D}=ur(),T=J.useRef(null),L=J.useRef(null),E=h!=null&&h.id&&qm[h.id]?qm[h.id]:qm.LIKE,B=h?`${E}1A`:"transparent",W=`${E}15`,q=Array.isArray(n)?n.filter(K=>!!K&&!!K.id&&!!K.emoji&&!!K.label&&K.id!=="LOVE"&&K.id!=="HAHA"):[],Y=()=>{T.current&&clearTimeout(T.current),N();},H=()=>{T.current=setTimeout(()=>I(),200);},z=()=>{w(true),L.current=setTimeout(()=>{N();},300);},G=()=>{w(false),L.current&&clearTimeout(L.current);},R=K=>{K.stopPropagation(),I(),S();},V=()=>{if(f&&!f.isActive){g(true);return}if(typeof window!="undefined"&&"vibrate"in navigator&&navigator.vibrate(25),A(true),setTimeout(()=>A(false),180),h)m(null);else {let K=$[0];K&&m(K);}},_=K=>{if(f&&!f.isActive){g(true),I();return}m(K);},$=v.filter(K=>K.id!=="LOVE"&&K.id!=="HAHA");return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("div",{className:U("relative group rounded-[3.125rem] border transition-all duration-200 p-[0.5rem] min-w-[37px] h-[42px] flex items-center",q.length===0?"justify-center":"justify-between",c==="comment"?"border-none bg-white":h?"":"border-gray-300 bg-transparent",s),style:{borderColor:c==="comment"?"transparent":h?E:void 0,backgroundColor:c==="comment"?"white":h?B:void 0,transform:x?"scale(0.97)":"scale(1)",transition:"transform 0.15s ease-out"},onMouseEnter:Y,onMouseLeave:H,onTouchStart:z,onTouchEnd:G},J__namespace.default.createElement("button",{disabled:a,onClick:V,className:U("button-empty font-normal flex items-center gap-x-2 transition-all duration-200 ease-out transform",b?"text-sm":"text-xs","hover:scale-[1.05] hover:shadow-md active:scale-[0.97]",h?"font-semibold":"text-gray-600 hover:text-gray-800"),style:{color:h?E:void 0}},J__namespace.default.createElement("div",{className:U("flex items-center justify-center transition-transform duration-150 ease-in-out",C&&"animate-emoji-flicker")},(oe=h==null?void 0:h.emoji)!=null?oe:J__namespace.default.createElement(h8,{fontSize:20,className:U(b?"h-5 w-5":"h-4 w-4")}))),q.length>0&&J__namespace.default.createElement("div",{className:"flex items-center relative ml-2 cursor-pointer select-none group/reactions active:scale-95 transition-transform duration-150 ease-out",onClick:R},J__namespace.default.createElement("span",{className:"h-4 border-l mx-2 transition-colors duration-200",style:{borderColor:E}}),J__namespace.default.createElement("div",{className:"flex items-center relative transition-transform duration-150 ease-out group-hover/reactions:scale-[1.05]"},q.slice(0,2).map((K,ne)=>{var Me;let me=qm[K.id]||"#9CA3AF";return J__namespace.default.createElement("span",{key:K.id,className:"relative transition-transform duration-150 ease-in-out group-hover/reactions:translate-y-[-2px]",style:{right:ne===0?0:6,zIndex:q.length-ne,color:me}},(Me=K.emoji)!=null?Me:J__namespace.default.createElement(h8,{className:"h-4 w-4"}))}),r>0&&J__namespace.default.createElement("span",{className:"ml-2 font-semibold transition-all duration-150 ease-in-out group-hover/reactions:scale-105 group-hover/reactions:brightness-110",style:{color:"#687588"}},oS(r)))),q.length===0&&r>0&&J__namespace.default.createElement("div",{className:"flex items-center relative ml-2 cursor-pointer select-none group/reactions active:scale-95 transition-transform duration-150 ease-out",onClick:R},J__namespace.default.createElement("span",{className:"h-4 border-l mx-2 transition-colors duration-200",style:{borderColor:E}}),J__namespace.default.createElement("span",{className:"font-semibold transition-all duration-150 ease-in-out group-hover/reactions:scale-105 group-hover/reactions:brightness-110",style:{color:"#687588"}},oS(r))),J__namespace.default.createElement("div",{className:U("absolute inset-0 rounded-[3.125rem] pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-200"),style:{backgroundColor:W}}),k&&J__namespace.default.createElement(jP,{onClose:I,orientation:i,handleReactionSelect:_,reactions:$}),P&&J__namespace.default.createElement(g8,{onClose:D,post:l,comment:d,optimisticReactions:p})),J__namespace.default.createElement(ko,{isOpen:u,onClose:()=>g(false)}))}var cW={AGREE:J__namespace.default.createElement(Wi,null),LIKE:J__namespace.default.createElement(w0,null),SUPPORT:J__namespace.default.createElement(Wi,null),DISLIKE:J__namespace.default.createElement(Qi,null),DISAGREE:J__namespace.default.createElement(Qi,null),EUREKA:J__namespace.default.createElement(b0,null),NO_COMMENT:J__namespace.default.createElement(C0,null),HAHA:J__namespace.default.createElement(M0,null),LOVE:J__namespace.default.createElement(P0,null)};function pW({post:e,hideLabel:t,className:o,orientation:r}){let{reaction:n,handleCreateReaction:a,reactions:s,totalReactions:i}=GP({post:e}),{totalReactions:l,topReactions:d}=J.useMemo(()=>{if(!s||(s==null?void 0:s.length)===0)return {totalReactions:0,topReactions:[]};let c={};s==null||s.forEach(f=>{f!=null&&f.reaction&&(c[f.reaction]=(c[f.reaction]||0)+1);});let p=Object.entries(c).sort((f,u)=>u[1]-f[1]).slice(0,2).map(([f])=>({id:f,emoji:cW[f]||J__namespace.default.createElement("span",null,f),label:f,color:""}));return {totalReactions:i,topReactions:p}},[s,i]);return J__namespace.default.createElement(rS,{orientation:r,currentReaction:n,hideLabel:t,totalReactions:l,topReactions:d,className:o,post:e,optimisticReactions:s,onChange:(c,p)=>{a(c?c==null?void 0:c.id:(p==null?void 0:p.id)||"");}})}var mW=e=>J__namespace.createElement("svg",y({width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),J__namespace.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19113 3.64286C3.73647 3.64286 3.30044 3.82347 2.97894 4.14496C2.65745 4.46645 2.47684 4.90249 2.47684 5.35714V9.92857C2.47684 10.3832 2.65745 10.8193 2.97894 11.1408C3.30044 11.4622 3.73647 11.6429 4.19113 11.6429H5.71494C5.86649 11.6429 6.01183 11.7031 6.119 11.8102L8.00065 13.6919L9.88231 11.8102C9.98947 11.7031 10.1348 11.6429 10.2864 11.6429H11.8102C12.2648 11.6429 12.7009 11.4622 13.0224 11.1408C13.3438 10.8193 13.5245 10.3832 13.5245 9.92857V5.35714C13.5245 4.90249 13.3438 4.46645 13.0224 4.14496C12.7009 3.82347 12.2648 3.64286 11.8102 3.64286H4.19113ZM2.17082 3.33684C2.70664 2.80102 3.43337 2.5 4.19113 2.5H11.8102C12.5679 2.5 13.2947 2.80102 13.8305 3.33684C14.3663 3.87266 14.6673 4.59938 14.6673 5.35714V9.92857C14.6673 10.6863 14.3663 11.4131 13.8305 11.9489C13.2947 12.4847 12.5679 12.7857 11.8102 12.7857H10.5231L8.40471 14.9041C8.18156 15.1272 7.81975 15.1272 7.59659 14.9041L5.47824 12.7857H4.19113C3.43337 12.7857 2.70664 12.4847 2.17082 11.9489C1.635 11.4131 1.33398 10.6863 1.33398 9.92857V5.35714C1.33398 4.59938 1.635 3.87266 2.17082 3.33684ZM4.3816 6.11905C4.3816 5.80346 4.63744 5.54762 4.95303 5.54762H11.0483C11.3639 5.54762 11.6197 5.80346 11.6197 6.11905C11.6197 6.43464 11.3639 6.69048 11.0483 6.69048H4.95303C4.63744 6.69048 4.3816 6.43464 4.3816 6.11905ZM4.3816 9.16667C4.3816 8.85108 4.63744 8.59524 4.95303 8.59524H9.52446C9.84005 8.59524 10.0959 8.85108 10.0959 9.16667C10.0959 9.48226 9.84005 9.7381 9.52446 9.7381H4.95303C4.63744 9.7381 4.3816 9.48226 4.3816 9.16667Z",fill:"#A0AEC0"})),nS=mW;var fW="pending_chat_data",gW=300;function hW({user:e,label:t,className:o,disabled:r=false,onClick:n,variant:a="default"}){let{isMobile:s}=Ne(),{locale:i,page:l}=M(),{saveCookie:d}=im(),c=J.useMemo(()=>{var v,h;return e?{id:(v=e==null?void 0:e.id)!=null?v:"",name:e==null?void 0:e.name,avatar:e==null?void 0:e.avatar,slug:(h=e==null?void 0:e.slug)!=null?h:""}:null},[e]),p=J.useMemo(()=>{let v=a==="small";return o||`${v?"text-primary font-medium p-[1rem]":"border border-primary bg-white text-primary font-medium p-[1rem]"} ${s?"rounded-full":"rounded-[0.5rem]"}`},[a,s,o]),f=J.useMemo(()=>{let v=a==="small";return {icon:v?J__namespace.default.createElement(nS,null):J__namespace.default.createElement(Zp,null),label:!s&&!v?t||O(i,"message.label"):void 0}},[a,s,t,i]),u=J.useCallback(()=>{if(!(c!=null&&c.id)||!(l!=null&&l.slug))return;localStorage.removeItem("b2b-recruitment-trigger-open"),n==null||n();let v={id:c.id,name:c.name,avatar:c.avatar,slug:c.slug,openChat:true};try{let h=btoa(encodeURIComponent(JSON.stringify(v)));d(fW,h,{maxAge:oM,secure:!0,path:"/",sameSite:"lax"});let b=`/company/${i}/${l==null?void 0:l.slug}/inbox`;setTimeout(()=>{window.location.assign(b);},gW);}catch(h){}},[c,l==null?void 0:l.slug,i,n,d]);if(!!!(e&&l))return null;let m=r;return J__namespace.default.createElement(re,{className:p,label:f.label,onClick:u,leftElement:f.icon,disabled:m,"aria-label":f.label||"Send message"})}var xW=({pdfName:e,currentPage:t,numPages:o,isHovered:r,variant:n="default",onOpenAccessibility:a,onDownload:s,onClose:i})=>{let l=n==="fullscreen",d=l&&(a||s||i),{locale:c}=M();return J__namespace.default.createElement("div",{className:`${l?"relative":"absolute top-0 left-0 right-0"} z-30 border-b ${l?"border-gray-700":"border-gray-200"} p-4 transition-all duration-300 ${l||r?"opacity-100 bg-black/50":"opacity-0 pointer-events-none"}`},J__namespace.default.createElement("div",{className:"flex items-center justify-between"},J__namespace.default.createElement("div",{className:"flex items-center gap-3"},J__namespace.default.createElement("h2",{className:"text-base font-semibold text-white"},e||jt(c,"pdfName")),J__namespace.default.createElement("div",{className:"rounded-full bg-white/70 w-1.5 h-1.5"}),J__namespace.default.createElement("p",{className:"text-sm text-white/90"},o," ",jt(c,"pages"))),d&&J__namespace.default.createElement("div",{className:"flex items-center gap-3"},a&&J__namespace.default.createElement("button",{onClick:a,className:"px-3 py-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all flex items-center gap-2","aria-label":"Abrir PDF em nova aba para acessibilidade"},J__namespace.default.createElement(lucideReact.Accessibility,{className:"w-4 h-4"}),J__namespace.default.createElement("span",{className:"text-sm"},jt(c,"accessibilityMode"))),s&&J__namespace.default.createElement("button",{onClick:s,className:"px-3 py-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all flex items-center gap-2","aria-label":"Baixar PDF"},J__namespace.default.createElement(lucideReact.Download,{className:"w-4 h-4"}),J__namespace.default.createElement("span",{className:"text-sm"},jt(c,"download"))),i&&J__namespace.default.createElement("button",{onClick:i,className:"p-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all","aria-label":jt(c,"closeFullscreen")},J__namespace.default.createElement(lucideReact.X,{className:"w-5 h-5"})))))},Oc=xW;var MW=({onPrevious:e,onNext:t,canGoPrevious:o,canGoNext:r})=>{let{locale:n}=M();return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("button",{className:"w-16 h-16 p-2 rounded-full border border-gray-300 bg-primary backdrop-blur-sm hover:bg-primary/90 transition-all shadow-md hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed pointer-events-auto",onClick:e,disabled:!o,"aria-label":jt(n,"previousPage")},J__namespace.default.createElement(lucideReact.ChevronLeft,{className:"w-8 h-8 text-white"})),J__namespace.default.createElement("button",{className:"w-16 h-16 p-2 rounded-full border border-gray-300 bg-primary backdrop-blur-sm hover:bg-primary/90 transition-all shadow-md hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed pointer-events-auto",onClick:t,disabled:!r,"aria-label":jt(n,"nextPage")},J__namespace.default.createElement(lucideReact.ChevronRight,{className:"w-8 h-8 text-white"})))},A0=MW;var PW=({currentPage:e,totalPages:t})=>{let o=t>0?e/t*100:0;return J__namespace.default.createElement("div",{className:"w-full"},J__namespace.default.createElement("div",{className:"w-full h-1.5 bg-white/20 rounded-full overflow-hidden"},J__namespace.default.createElement("div",{className:"h-full bg-white rounded-full transition-all duration-300",style:{width:`${o}%`}})))},w8=PW;var IW=({currentPage:e,numPages:t,pdfUrl:o,isHovered:r,onToggleFullscreen:n,variant:a="default",zoom:s,onZoomIn:i,onZoomOut:l})=>{let d=a==="fullscreen",c=d&&s!==void 0&&i&&l,{locale:p}=M();return J__namespace.default.createElement("div",{className:`${d?"relative":"absolute bottom-0 left-0 right-0"} z-30 border-t ${d?"border-gray-700":"border-gray-200"} px-4 py-0 flex items-center justify-between transition-all duration-300 ${d||r?"opacity-100 bg-black/50":"opacity-0 pointer-events-none"}`},J__namespace.default.createElement("div",{className:"text-sm font-normal text-white m-4"},e,"/",t),J__namespace.default.createElement("div",{className:"flex-1 max-w-md mx-4"},J__namespace.default.createElement(w8,{currentPage:e,totalPages:t})),c?J__namespace.default.createElement("div",{className:"flex items-center gap-4"},J__namespace.default.createElement("button",{onClick:l,disabled:s<=50,className:"p-2 rounded-full bg-white/10 text-white hover:bg-white/20 transition-all disabled:opacity-50 disabled:cursor-not-allowed","aria-label":jt(p,"zoomOut")},J__namespace.default.createElement(lucideReact.Plus,{className:"w-5 h-5"})),J__namespace.default.createElement("span",{className:"text-sm text-white min-w-[60px] text-center"},s,"%"),J__namespace.default.createElement("button",{onClick:i,disabled:s>=200,className:"p-2 rounded-full bg-white/10 text-white hover:bg-white/20 transition-all disabled:opacity-50 disabled:cursor-not-allowed","aria-label":jt(p,"zoomIn")},J__namespace.default.createElement(lucideReact.Minus,{className:"w-5 h-5"}))):n&&J__namespace.default.createElement("div",{className:"text-sm font-normal text-white m-4"},J__namespace.default.createElement(lucideReact.Maximize,{className:"w-6 h-6 text-white pointer-events-auto hover:text-white/80 transition-all duration-300 cursor-pointer",onClick:n})))},Hc=IW;var kW=({pdfUrl:e,pdfUrlWithPage:t,currentPage:o,numPages:r,pdfName:n,zoom:a,onClose:s,onDownload:i,onOpenAccessibility:l,onZoomIn:d,onZoomOut:c,onPreviousPage:p,onNextPage:f,canGoPrevious:u,canGoNext:g})=>{let{locale:m}=M(),v=J__namespace.default.createElement("div",{className:"fixed inset-0 z-[9999] w-screen h-screen bg-black flex flex-col",style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"80vw",height:"100vh",margin:0,padding:0}},J__namespace.default.createElement(Oc,{pdfName:n,currentPage:o,numPages:r,isHovered:true,variant:"fullscreen",onOpenAccessibility:l,onDownload:i,onClose:s}),J__namespace.default.createElement("div",{className:"flex-1 relative overflow-hidden bg-gray-900"},J__namespace.default.createElement("embed",{key:`${o}-${a}`,src:t,type:"application/pdf",className:"w-full h-full",title:jt(m,"pdfViewerFullscreen"),style:{overflow:"hidden"}}),J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:p,onNext:f,canGoPrevious:u,canGoNext:g}))),J__namespace.default.createElement(Hc,{currentPage:o,numPages:r,pdfUrl:e,isHovered:true,variant:"fullscreen",zoom:a,onZoomIn:d,onZoomOut:c}));return typeof window!="undefined"?tQ.createPortal(v,document.body):null},C8=kW;var aS=({pdfUrl:e,initialTotalPages:t,initialPdfName:o,retryCount:r=3,retryDelay:n=1e3,enableCorsProxy:a=false}={})=>{let[s,i]=J.useState(t||null),[l,d]=J.useState(o||""),[c,p]=J.useState(false),[f,u]=J.useState(null),g=J.useRef(void 0),m=J.useRef(null),v=J.useRef(false),h=J.useCallback(w=>{if(!w)return "";try{let A=new URL(w).pathname;return decodeURIComponent(A.split("/").pop()||"documento.pdf").replace(".pdf","").replace(/%20/g," ").trim()}catch(C){let A=w.split("/").pop()||"documento.pdf";return decodeURIComponent(A).replace(".pdf","").replace(/%20/g," ").trim()}},[]),b=J.useCallback((I,...P)=>j(void 0,[I,...P],function*(w,C=1,A=r,k=n,N){try{let S;try{S=yield fetch(w,{method:"GET",headers:{Accept:"application/pdf"},credentials:"omit",cache:"no-cache",signal:N});}catch(L){throw new Error(`Erro ao fazer fetch do PDF: ${L.message}`)}if(!S.ok)throw new Error(`HTTP ${S.status}: ${S.statusText}`);let D=S.headers.get("content-type");D&&D.includes("application/pdf");let T=yield S.arrayBuffer();if(!T||T.byteLength===0)throw new Error("PDF vazio ou inv\xE1lido");return T}catch(S){if(S.name==="AbortError")throw S;if(C<A)return yield new Promise(D=>setTimeout(D,k*C)),b(w,C+1,A,k,N);throw S}}),[]),x=J.useCallback(w=>j(void 0,null,function*(){if(typeof window!="undefined"&&e){if(v.current=true,t){i(t),p(false),v.current=false;return}p(true),u(null);try{let C=h(e);C&&!o&&d(C);let A=yield b(e,1,r,n,w),N=(yield pdfLib.PDFDocument.load(A,{ignoreEncryption:!1})).getPageCount();if(N>0&&N<1e4)i(N),u(null);else {let I=new Error(`N\xFAmero de p\xE1ginas inv\xE1lido: ${N}`);u(I);}}catch(C){if(C.name==="AbortError")return;let A=(C==null?void 0:C.message)||"Erro desconhecido ao carregar metadados do PDF",k=new Error(A);u(k),i(null);}finally{p(false),v.current=false;}}}),[e,t,o,h,b,r,n]);return J.useEffect(()=>{if(!e){g.current=void 0;return}if(g.current!==e&&(v.current=false),v.current||g.current===e&&s!==null)return;m.current&&m.current.abort();let w=new AbortController;return m.current=w,g.current=e,x(w.signal),()=>{w.abort(),m.current=null;}},[e,x]),{totalPages:s,pdfName:l||o||"",isLoading:c,error:f}};var zW=({pdfUrl:e="https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",totalPages:t,pdfName:o,className:r,onMaximizeClicked:n})=>{let[a,s]=J.useState(1),[i,l]=J.useState(false),[d,c]=J.useState(false),[p,f]=J.useState(false),[u,g]=J.useState(100),{locale:m}=M(),{totalPages:v,pdfName:h,isLoading:b}=aS({pdfUrl:e,initialTotalPages:t,initialPdfName:o,retryCount:3,retryDelay:1e3});J.useEffect(()=>{if(typeof window=="undefined")return;let T=setTimeout(()=>{let L=document.querySelector('embed[title="PDF Viewer"]');L&&L.offsetHeight===0&&l(true);},2e3);return ()=>clearTimeout(T)},[a]);let x=()=>{a>1&&(s(a-1),l(false));},w=()=>{let T=v!=null?v:100;a<T&&(s(a+1),l(false));},C=()=>{if(typeof window!="undefined"){let T=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0`;window.open(T,"_blank");}},A=()=>{n?n():f(!p);},k=()=>j(void 0,null,function*(){try{let T=yield fetch(e);if(!T.ok)throw new Error("Erro ao baixar o PDF");let L=yield T.blob();if(typeof window=="undefined")return;let E=window.URL.createObjectURL(L),B=document.createElement("a");B.href=E,B.download=`${h||"documento"}.pdf`,document.body.appendChild(B),B.click(),document.body.removeChild(B),window.URL.revokeObjectURL(E);}catch(T){typeof window!="undefined"&&window.open(e,"_blank");}}),N=()=>{if(typeof window!="undefined"){let T=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0`;window.open(T,"_blank");}},I=()=>{g(T=>Math.min(T+25,200));},P=()=>{g(T=>Math.max(T-25,50));},S=T=>{T.preventDefault(),T.stopPropagation();},D=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0&view=FitH&zoom=${u}`;return J__namespace.default.createElement("div",{className:`relative w-full flex flex-col border border-gray-200 rounded-lg overflow-hidden shadow-sm ${r||""}`,onMouseEnter:()=>c(true),onMouseLeave:()=>c(false)},J__namespace.default.createElement("div",{className:"relative w-full bg-gray-50 pdf-container",style:{minHeight:"400px",aspectRatio:"16/9"},onWheel:S,onTouchMove:S},J__namespace.default.createElement("div",{className:"relative w-full overflow-hidden",style:{height:"calc(100% - 60px)",minHeight:"calc(100% - 60px)"}},J__namespace.default.createElement(Oc,{pdfName:h,currentPage:a,numPages:v!=null?v:100,isHovered:d}),b&&J__namespace.default.createElement("div",{className:"absolute top-16 left-1/2 transform -translate-x-1/2 z-30 px-3 py-1 bg-black/70 text-white text-xs rounded"},J__namespace.default.createElement(Ge,null)),i?J__namespace.default.createElement("div",{className:"w-full h-full flex flex-col items-center justify-center p-8 bg-gray-50"},J__namespace.default.createElement("div",{className:"text-center max-w-md"},J__namespace.default.createElement("p",{className:"text-lg font-semibold text-gray-900 mb-2"},jt(m,"blockedPdfTitle")),J__namespace.default.createElement("p",{className:"text-sm text-gray-600 mb-6"},jt(m,"blockedPdfDescription")),J__namespace.default.createElement("button",{onClick:C,className:"px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-all flex items-center gap-2 mx-auto"},J__namespace.default.createElement(lucideReact.ExternalLink,{className:"w-4 h-4"}),jt(m,"openPdfInNewTab"))),J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:x,onNext:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)}))):J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("embed",{key:a,src:D,type:"application/pdf",className:"w-full h-full object-contain",title:"PDF Viewer",style:{overflow:"hidden",width:"100%",height:"100%"}}),J__namespace.default.createElement("div",{className:"absolute inset-0 z-10",onWheel:S,onTouchMove:S,style:{pointerEvents:"none"}},J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:x,onNext:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)})))),J__namespace.default.createElement(Hc,{currentPage:a,numPages:v!=null?v:100,pdfUrl:e,isHovered:d,onToggleFullscreen:A}))),p&&J__namespace.default.createElement(C8,{pdfUrl:e,pdfUrlWithPage:D,currentPage:a,numPages:v!=null?v:100,pdfName:h,zoom:u,onClose:()=>f(false),onDownload:k,onOpenAccessibility:N,onZoomIn:I,onZoomOut:P,onPreviousPage:x,onNextPage:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)}))},Uc=zW;function S8(e,t){return t.split(".").reduce((o,r)=>o&&typeof o=="object"?o[r]:void 0,e)}function Qm(e,t){let{locale:o}=M(),r=e[o]||e.pt,n=(a,s)=>{let i=a,l=S8(r,i);return l===void 0?(console.warn(`Translation key "${i}" not found for locale "${o}"`),i):typeof l=="string"&&s?l.replace(/\{\{(\w+)\}\}/g,(d,c)=>{var p;return ((p=s[c])==null?void 0:p.toString())||d}):typeof l=="string"?l:i};return {translate:n,t:n,locale:o}}var sS={feed:{post:"Publica\xE7\xE3o","posts-not-found":{title:"Nenhuma publica\xE7\xE3o encontrada",description:"Crie uma publica\xE7\xE3o para come\xE7ar a interagir com a comunidade."},"post-filters":{all:"Todos",connections:"Conex\xF5es",contacts:"Contactos",communities:"Comunidades"},communities:{title:"Comunidades",explore:"Ver tudo",tabs:{explore:"Explorar comunidades",my:"Minhas comunidades",requests:"Solicita\xE7\xF5es","contact-communities":"Comunidades em seus contactos fazem parte","interested-communities":"Comunidades que podem te interessar","view-more-communities":"Ver mais comunidades",back:"Voltar","join-community":"Fazer parte","cancel-join":"Cancelar",loading:"Carregando...",loadMore:"Carregar mais"}},pages:{title:"P\xE1ginas para voc\xEA",explore:"Explorar",my:"Minhas p\xE1ginas","for-you":"P\xE1ginas para voc\xEA",popular:"P\xE1ginas populares","view-more":"Ver mais p\xE1ginas",follow:"Seguir",following:"Seguindo"},users:{title:"Pessoas",explore:"Ver todas",tabs:{explore:"Explorar pessoas",following:"Pessoas que sigo",followers:"Meus seguidores","contact-people":"Pessoas que seus contatos conhecem","suggested-people":"Pessoas que voc\xEA pode conhecer","view-more-people":"Ver mais pessoas",back:"Voltar",follow:"Seguir",unfollow:"Deixar de seguir",loading:"Carregando...",loadMore:"Carregar mais"}},"users-suggestion":{title:"Sugest\xF5es para voc\xEA","view-more":"Mais sugest\xF5es"},"suggestions-modal":{users:"Sugest\xF5es de pessoas",communities:"Sugest\xF5es de comunidades",pages:"Sugest\xF5es de p\xE1ginas",placeholder:"Pesquisar"},reels:{title:"Clips",button:"Criar clips","remaining-time":"Restante ","remaining-time-plural":"Restam ",expired:"Publica\xE7\xE3o expirada","remaining-time-seconds":"segundos","remaining-time-minutes":"minutos","remaining-time-hours":"horas","remaining-time-days":"dias","remaining-time-months":"meses","remaining-time-years":"anos",comments:{title:"Coment\xE1rios",reply:"Responder",like:"Curtiu",likes:"curtidas","add-comment":"Adicione um coment\xE1rio...",edited:"(Editado)","load-more-comments":"Carregar mais coment\xE1rios","show-less-comments":"Mostrar menos coment\xE1rios","load-more-answers":"Carregar mais respostas","show-less-answers":"Mostrar menos respostas",loading:"Carregando..."}},streaming:{"upcoming-streams":"Lives agendadas","browse-streams":"Explorar mais lives"},messages:{title:"Mensagens","view-all":"Ver todas"},respost:{title:"Repostar publica\xE7\xE3o"},"share-post":{title:"Compartilhar publica\xE7\xE3o","copy-link":{"post-card-label":"Copiar link da publica\xE7\xE3o",label:"Copiar link",success:{title:"Link copiado com sucesso!",description:"O link da publica\xE7\xE3o foi copiado. Agora voc\xEA pode compartilh\xE1-lo com seus amigos."},error:{title:"Erro ao copiar link!",description:"Ocorreu um erro ao copiar o link da publica\xE7\xE3o. Tente novamente."}}},"create-post":{title:"Criar publica\xE7\xE3o","start-a-post":"Comece uma publica\xE7\xE3o","add-description":"Adicione uma descri\xE7\xE3o...",options:{midia:"M\xEDdia",job:"Vaga",reels:"Clips",article:"Artigo",emoji:"Emoji",mention:"Mencionar",schedule:"Agendar","saved-items":"Itens salvos",scheduling:"Agendamentos"},schedule:{"base-on-your-location":"baseado na sua localiza\xE7\xE3o","select-date":"Selecionar data","select-time":"Selecionar hor\xE1rio","scheduled-for":"Agendado para",confirm:"Agendar publica\xE7\xE3o","set-date-time":"Defina o dia e a hora da publica\xE7\xE3o","cancel-button":"Cancelar","schedule-button":"Agendar","schedule-publication":"Agendar publica\xE7\xE3o","publish-ideal-time":"Publicar no hor\xE1rio ideal","publication-scheduled-for":"Publica\xE7\xE3o agendada para","no-post-scheduled":"Nenhuma publica\xE7\xE3o agendada","no-scheduled-posts-yet":"Voc\xEA ainda n\xE3o tem publica\xE7\xF5es agendadas","close-button":"Fechar","scheduled-publications":"Publica\xE7\xF5es agendadas","view-upcoming-publications":"Ver o que ser\xE1 publicado em breve","edit-button":"Editar","delete-button":"Excluir","loading-scheduled-posts":"Carregando publica\xE7\xF5es agendadas...","loading-pages":"Carregando p\xE1ginas..."},filters:{all:"Todos",connections:"Conex\xF5es",communities:"Comunidades"},buttons:{save:"Salvar",saving:"Salvando...",resume:"Retomar",publish:"Publicar",publishing:"Publicando..."},reel:{"upload-prompt":{title:"Arraste, solte e veja a m\xE1gica em 30 segundos! \u{1F680}\u{1F3A5}",button:"Selecionar v\xEDdeo"}}},"post-card":{community:{"published-in":"Tamb\xE9m publicado na comunidade",enter:"Entrar na comunidade"},page:{"published-by":"Publicado pela p\xE1gina"},"not-found":{"users-not-found":"Nenhum usu\xE1rio encontrado",title:"Publica\xE7\xE3o n\xE3o encontrada",description:"A publica\xE7\xE3o que voc\xEA procura n\xE3o existe."},user:{follow:"Seguir",unfollow:"Deixar de seguir","make-contact":"Fazer contato",following:"Seguindo",contact:"Contato"},content:{"view-more":"Ver mais","view-less":"Ver menos"},post:{options:{save:"Salvar","view-stats":"Ver estat\xEDsticas","copy-link":"Copiar link da publica\xE7\xE3o",delete:"Excluir publica\xE7\xE3o",edit:"Editar publica\xE7\xE3o"},reactions:{agree:"Apoio",dislike:"Discordo",love:"Amor",genial:"Genial",haha:"Haha",like:"Concordo","no-comments":"Sem coment\xE1rios"},stats:{reactions:"rea\xE7\xE3o(\xF5es)",comments:"coment\xE1rio(s)",shares:"compartilhamento(s)",stats:"Estat\xEDsticas"},audio:{listen:"Ouvir",pause:"Pausar",resume:"Retomar",restart:"Reiniciar",stop:"Parar"},actions:{react:"Reagir",comment:"Comentar",share:"Compartilhar",repost:"Recompartilhar"},timer:{extend:"Estender",reactivate:"Reativar",expired:"Expirou"},comments:{options:{edit:"Editar",delete:"Excluir","switch-profile":{title:"Trocar perfil",description:"Selecione o perfil que deseja usar para comentar nesta publica\xE7\xE3o.",button:{confirm:"Confirmar",cancel:"Cancelar"},"commenting-as":"Comentando como...",search:"Pesquisar","confirm-comment":"Voc\xEA realmente quer comentar usando esta p\xE1gina?","no-results":'Nenhum perfil encontrado para "{searchQuery}"'}},comment:"Comentar na publica\xE7\xE3o",answer:"Escreva sua resposta",actions:{answer:"Responder",react:"Reagir"},delete:{label:"Excluir",title:"Excluir coment\xE1rio",description:"Tem certeza de que deseja excluir este coment\xE1rio?",toasts:{error:{title:"Erro ao excluir coment\xE1rio!",label:"Ocorreu um erro ao excluir o coment\xE1rio. Tente novamente."}}},edit:{save:"Salvar",cancel:"Cancelar"}}}},"delete-modal":{title:"Excluir publica\xE7\xE3o",description:"Tem certeza de que deseja excluir esta publica\xE7\xE3o?"},"share-modal":{post:{"shared-by":"Compartilhado por","share-now":"Compartilhar agora",title:"Compartilhar publica\xE7\xE3o","in-community":{title:"Compartilhar na comunidade",empty:"Voc\xEA n\xE3o faz parte de nenhuma comunidade ainda."},"in-chat":{title:"Compartilhar no chat"},to:{title:"Compartilhar para",page:"P\xE1gina"},"empty-message":"Voc\xEA n\xE3o faz parte de nenhuma comunidade ainda."}},"medias-modal":{"loading-medias":"Carregando m\xEDdias...",added:{title:"M\xEDdia adicionada"},"edit-media":"Editar m\xEDdia"},done:"Conclu\xEDdo",toasts:{create:{creating:{title:"Criando publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo criada. Voc\xEA pode continuar editando enquanto isso."},success:{title:"Publica\xE7\xE3o criada com sucesso!",description:"Sua publica\xE7\xE3o foi criada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao criar publica\xE7\xE3o!",description:"Ocorreu um erro ao criar sua publica\xE7\xE3o. Tente novamente."}},edit:{editing:{title:"Editando publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo editada. Voc\xEA pode continuar trabalhando enquanto isso."},success:{title:"Publica\xE7\xE3o editada com sucesso!",description:"Sua publica\xE7\xE3o foi editada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao editar publica\xE7\xE3o!",description:"Ocorreu um erro ao editar sua publica\xE7\xE3o. Tente novamente."}},delete:{deleting:{title:"Excluindo publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo exclu\xEDda. Voc\xEA pode continuar navegando enquanto isso."},success:{title:"Publica\xE7\xE3o exclu\xEDda com sucesso!",description:"Sua publica\xE7\xE3o foi exclu\xEDda com sucesso."},error:{title:"Erro ao excluir publica\xE7\xE3o!",description:"Ocorreu um erro ao excluir sua publica\xE7\xE3o. Tente novamente."}},share:{success:{title:"Publica\xE7\xE3o compartilhada com sucesso!",description:"Sua publica\xE7\xE3o foi compartilhada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao compartilhar publica\xE7\xE3o!",description:"Ocorreu um erro ao compartilhar sua publica\xE7\xE3o. Tente novamente."}},extend:{success:{title:"Tempo estendido com sucesso!",description:"O tempo de expira\xE7\xE3o da sua publica\xE7\xE3o foi estendido com sucesso."},error:{title:"Erro ao estender tempo!",description:"N\xE3o foi poss\xEDvel estender o tempo de expira\xE7\xE3o da publica\xE7\xE3o. Tente novamente."}}},"post-stats-modal":{title:"Estat\xEDsticas da publica\xE7\xE3o",createdAt:"Publicado em",engagement:{options:{impressions:"Impress\xF5es",likes:"Curtidas",comments:"Coment\xE1rios",shares:"Compartilhamentos"},posts:{back:"Voltar","post-impressions":{title:"Impress\xF5es da publica\xE7\xE3o","posted-at":"Publicado em",remain:{label:"Restante",hours:"horas"},"social-media-impact":{title:"Impacto nas redes sociais",reactions:"Rea\xE7\xF5es",comments:"Coment\xE1rios",shares:"Compartilhamentos","no-impact":{comments:"Nenhuma altera\xE7\xE3o necess\xE1ria"}},views:{title:"Visualiza\xE7\xF5es","viewed-at":"Visualizado em","all-reactions":"Todas as rea\xE7\xF5es"}},title:"Publica\xE7\xF5es",tip:"Publica\xE7\xF5es frequentes podem aumentar suas chances de ser descoberto e destaque em at\xE9 3x.","create-post":"Criar publica\xE7\xE3o",discovers:{title:"Descobertas","users-reached":"Usu\xE1rios alcan\xE7ados"}}},stats:{reactions:"Rea\xE7\xF5es",comments:"Coment\xE1rios",shares:"Compartilhamentos",views:"Visualiza\xE7\xF5es","last-days":"nos \xFAltimos 7 dias"},schedule:{title:"Agendar publica\xE7\xE3o","select-date":"Selecionar data","select-time":"Selecionar hor\xE1rio","scheduled-for":"Agendado para",confirm:"Agendar publica\xE7\xE3o","scheduled-indicator":"Agendado para"}}}};var iS={feed:{post:"Post","posts-not-found":{title:"No posts found",description:"Create a post to start engaging with the community."},"post-filters":{all:"All",connections:"Connections",contacts:"Contacts",communities:"Communities"},communities:{title:"Communities",explore:"See all",tabs:{explore:"Explore communities",my:"My communities",requests:"Requests","contact-communities":"Communities your contacts are part of","interested-communities":"Communities that may interest you","view-more-communities":"View more communities",back:"Back","join-community":"Join community","cancel-join":"Cancel",loading:"Loading...",loadMore:"Load more"}},pages:{title:"Pages for you",explore:"Explore",my:"My pages","for-you":"Pages for you",popular:"Popular pages","view-more":"View more pages",follow:"Follow",following:"Following"},users:{title:"People",explore:"See all",tabs:{explore:"Explore people",following:"People I follow",followers:"My followers","contact-people":"People your contacts know","suggested-people":"People you may know","view-more-people":"View more people",back:"Back",follow:"Follow",unfollow:"Unfollow",loading:"Loading...",loadMore:"Load more"}},"users-suggestion":{title:"Suggestions for you","view-more":"More suggestions"},"suggestions-modal":{users:"People suggestions",communities:"Community suggestions",pages:"Page suggestions",placeholder:"Search"},reels:{title:"Clips",button:"Create a clip","remaining-time":"Remaining ","remaining-time-plural":"Remain ",expired:"Post expired","remaining-time-seconds":"seconds","remaining-time-minutes":"minutes","remaining-time-hours":"hours","remaining-time-days":"days","remaining-time-months":"months","remaining-time-years":"years",comments:{title:"Comments",reply:"Reply",like:"Liked",likes:"likes","add-comment":"Add a comment...",edited:"(Edited)","load-more-comments":"Load more comments","show-less-comments":"Show less comments","load-more-answers":"Load more answers","show-less-answers":"Show less answers",loading:"Loading..."}},streaming:{"upcoming-streams":"Scheduled lives","browse-streams":"Explore more lives"},messages:{title:"Messages","view-all":"View all"},"share-post":{title:"Share post","copy-link":{"post-card-label":"Copy post link",label:"Copy link",success:{title:"Link copied successfully!",description:"The post link was copied successfully. Now you can share it with your friends."},error:{title:"Error copying post link!",description:"An error occurred while copying the post link. Please try again."}}},"create-post":{title:"Create post","start-a-post":"Start a post","add-description":"Add a description...",options:{midia:"Media",job:"Jobs",reels:"Clips",article:"Article",emoji:"Emoji",mention:"Mention",schedule:"Schedule",scheduling:"Appoitments","saved-items":"Saved items"},schedule:{"base-on-your-location":"based on your location","select-date":"Select Date","select-time":"Select Time","scheduled-for":"Scheduled for",confirm:"Schedule Post","set-date-time":"Set the day and time for publication","cancel-button":"Cancel","schedule-button":"Schedule","schedule-publication":"Schedule Publication","publish-ideal-time":"Publish at the ideal time","publication-scheduled-for":"Post scheduled for","no-post-scheduled":"No post scheduled","no-scheduled-posts-yet":"You don\u2019t have any scheduled posts yet","close-button":"Close","scheduled-publications":"Scheduled posts","view-upcoming-publications":"See what will be published soon","edit-button":"Edit","delete-button":"Delete","loading-scheduled-posts":"Loading scheduled posts...","loading-pages":"Loading pages..."},filters:{all:"All",connections:"Connections",communities:"Communities"},buttons:{save:"Save",saving:"Saving...",resume:"Resume",publish:"Publish",publishing:"Publishing..."},reel:{"upload-prompt":{title:"Drag, drop, and see the magic in 30 seconds! \u{1F680}\u{1F3A5}",button:"Select video"}}},"post-card":{community:{"published-in":"Also published in the community",enter:"Join community"},page:{"published-by":"Published by page"},"not-found":{"users-not-found":"No users found",title:"Post not found",description:"The post you are looking for does not exist."},user:{follow:"Follow",unfollow:"Unfollow","make-contact":"Make contact",following:"Following",contact:"Contact"},content:{"view-more":"View more","view-less":"View less"},post:{options:{save:"Save","view-stats":"View stats","copy-link":"Copy post link",delete:"Delete post",edit:"Edit post"},reactions:{agree:"Support",dislike:"Disagree",love:"Love",genial:"Brilliant",haha:"Haha",like:"Like","no-comments":"No comments"},stats:{reactions:"reaction(s)",comments:"comment(s)",shares:"share(s)",stats:"Statistics"},audio:{listen:"Listen",pause:"Pause",resume:"Resume",restart:"Restart",stop:"Stop"},actions:{react:"React",comment:"Comment",share:"Share",repost:"Repost"},timer:{extend:"Extend",reactivate:"Reactivate",expired:"Expired"},comments:{options:{edit:"Edit",delete:"Delete","switch-profile":{title:"Switch profile",description:"Select the profile you want to use to comment on this post.",button:{confirm:"Confirm",cancel:"Cancel"},"commenting-as":"Commenting as...",search:"Search","confirm-comment":"Do you really want to comment using this page?","no-results":'No profiles found for "{searchQuery}"'}},comment:"Comment on post",answer:"Write your reply",actions:{answer:"Reply",react:"React"},delete:{label:"Delete",title:"Delete comment",description:"Are you sure you want to delete this comment?",toasts:{error:{title:"Error deleting comment!",label:"An error occurred while deleting the comment. Please try again."}}},edit:{save:"Save",cancel:"Cancel"}}}},"delete-modal":{title:"Delete post",description:"Are you sure you want to delete this post?"},"share-modal":{post:{"shared-by":"Shared by","share-now":"Share now",title:"Share post","in-community":{title:"Share in community"},"empty-message":"You are not part of any community yet.","in-chat":{title:"Share in chat"},to:{title:"Share to",page:"Page"}}},"medias-modal":{"loading-medias":"Loading media...",added:{title:"Media added"},"edit-media":"Edit media"},done:"Done",toasts:{create:{creating:{title:"Creating post...",description:"Your post is being created. You can keep editing in the meantime."},success:{title:"Post created successfully!",description:"Your post was created successfully. You can now share it with your friends."},error:{title:"Error creating post!",description:"An error occurred while creating your post. Please try again."}},edit:{editing:{title:"Editing post...",description:"Your post is being edited. You can keep working while it\u2019s updated."},success:{title:"Post edited successfully!",description:"Your post was edited successfully. You can now share it with your friends."},error:{title:"Error editing post!",description:"An error occurred while editing your post. Please try again."}},delete:{deleting:{title:"Deleting post...",description:"Your post is being deleted. You can keep browsing in the meantime."},success:{title:"Post deleted successfully!",description:"Your post was deleted successfully."},error:{title:"Error deleting post!",description:"An error occurred while deleting your post. Please try again."}},share:{success:{title:"Post shared successfully!",description:"Your post was shared successfully. You can now share it with your friends."},error:{title:"Error sharing post!",description:"An error occurred while sharing your post. Please try again."}},extend:{success:{title:"Time extended successfully!",description:"Your post expiration time has been extended successfully."},error:{title:"Error extending time!",description:"Could not extend the post expiration time. Please try again."}}},"post-stats-modal":{title:"Post statistics",createdAt:"Published on",engagement:{options:{impressions:"Impressions",likes:"Likes",comments:"Comments",shares:"Shares"},posts:{back:"Back","post-impressions":{title:"Post impressions","posted-at":"Posted on",remain:{label:"Remaining",hours:"hours"},"social-media-impact":{title:"Social media impact",reactions:"Reactions",comments:"Comments",shares:"Shares","no-impact":{comments:"No changes needed"}},views:{title:"Views","viewed-at":"Viewed on","all-reactions":"All reactions"}},title:"Posts",tip:"Frequent posts can increase your chances of being discovered and featured by up to 3x.","create-post":"Create post",discovers:{title:"Discoveries","users-reached":"Users reached"}}},stats:{reactions:"Reactions",comments:"Comments",shares:"Shares",views:"Views","last-days":"in the last 7 days"},schedule:{title:"Schedule Post","select-date":"Select Date","select-time":"Select Time","scheduled-for":"Scheduled for",confirm:"Schedule Post","scheduled-indicator":"Scheduled for"}}}};var lS={feed:{post:"Publication","posts-not-found":{title:"Aucune publication trouv\xE9e",description:"Cr\xE9ez une publication pour commencer \xE0 interagir avec la communaut\xE9."},"post-filters":{all:"Tous",connections:"Connexions",contacts:"Contacts",communities:"Communaut\xE9s"},communities:{title:"Communaut\xE9s",explore:"Voir tout",tabs:{explore:"Explorer les communaut\xE9s",my:"Mes communaut\xE9s",requests:"Demandes","contact-communities":"Communaut\xE9s dont vos contacts font partie","interested-communities":"Communaut\xE9s qui pourraient vous int\xE9resser","view-more-communities":"Voir plus de communaut\xE9s",back:"Retour","join-community":"Rejoindre"}},pages:{title:"Pages pour vous",explore:"Explorer",my:"Mes pages","for-you":"Pages pour vous",popular:"Pages populaires","view-more":"Voir plus de pages",follow:"Suivre",following:"Suivant"},users:{title:"Personnes",explore:"Voir tout",tabs:{explore:"Explorer les personnes",following:"Personnes que je suis",followers:"Mes abonn\xE9s","contact-people":"Personnes que vos contacts connaissent","suggested-people":"Personnes que vous pourriez conna\xEEtre","view-more-people":"Voir plus de personnes",back:"Retour",follow:"Suivre",unfollow:"Ne plus suivre",loading:"Chargement...",loadMore:"Charger plus"}},"users-suggestion":{title:"Suggestions pour vous","view-more":"Plus de suggestions"},"suggestions-modal":{users:"Suggestions de personnes",communities:"Suggestions de communaut\xE9s",pages:"Suggestions de pages",placeholder:"Rechercher"},reels:{title:"Clips",button:"Cr\xE9er un clip","remaining-time":"Il reste ","remaining-time-plural":"Restent ",expired:"Publication expir\xE9e","remaining-time-seconds":"secondes","remaining-time-minutes":"minutes","remaining-time-hours":"heures","remaining-time-days":"jours","remaining-time-months":"mois","remaining-time-years":"ann\xE9es",comments:{title:"Commentaires",reply:"R\xE9pondre",like:"Aim\xE9",likes:"mentions J'aime","add-comment":"Ajouter un commentaire...",edited:"(Modifi\xE9)","load-more-comments":"Charger plus de commentaires","show-less-comments":"Afficher moins de commentaires","load-more-answers":"Charger plus de r\xE9ponses","show-less-answers":"Afficher moins de r\xE9ponses",loading:"Chargement..."}},streaming:{"upcoming-streams":"Lives programm\xE9s","browse-streams":"Explorer plus de lives"},messages:{title:"Messages","view-all":"Voir tout"},"share-post":{title:"Partager la publication","copy-link":{"post-card-label":"Copier le lien de la publication",label:"Copier le lien",success:{title:"Lien copi\xE9 avec succ\xE8s !",description:"Le lien de la publication a \xE9t\xE9 copi\xE9 avec succ\xE8s. Vous pouvez maintenant le partager avec vos amis."},error:{title:"Erreur lors de la copie du lien !",description:"Une erreur s'est produite lors de la copie du lien de la publication. Veuillez r\xE9essayer."}}},"create-post":{title:"Cr\xE9er une publication","start-a-post":"Commencez une publication","add-description":"Ajoutez une description...",options:{midia:"M\xE9dia",job:"Offre d'emploi",reels:"Clips",article:"Article",emoji:"\xC9moji",mention:"Mentionner",schedule:"Programmer","saved-items":"\xC9l\xE9ments enregistr\xE9s"},schedule:{"base-on-your-location":"selon votre localisation","select-date":"S\xE9lectionner la date","select-time":"S\xE9lectionner l'heure","scheduled-for":"Pr\xE9vu pour",confirm:"Programmer la publication","set-date-time":"D\xE9finir la date et l'heure de publication","cancel-button":"Annuler","schedule-button":"Programmer","schedule-publication":"Programmer la publication","publish-ideal-time":"Publiez au moment id\xE9al","publication-scheduled-for":"Publication pr\xE9vue pour","no-post-scheduled":"Aucune publication programm\xE9e","no-scheduled-posts-yet":"Vous n'avez pas encore de publications programm\xE9es","close-button":"Fermer","scheduled-publications":"Publications programm\xE9es","view-upcoming-publications":"Voir les publications \xE0 venir","edit-button":"Modifier","delete-button":"Supprimer","loading-scheduled-posts":"Chargement des publications programm\xE9es...","loading-pages":"Chargement des pages..."},filters:{all:"Tous",connections:"Connexions",communities:"Communaut\xE9s"},buttons:{save:"Enregistrer",saving:"Enregistrement...",resume:"Reprendre",publish:"Publier",publishing:"Publication..."},reel:{"upload-prompt":{title:"Glissez, d\xE9posez et voyez le changement en 30 secondes ! \u{1F680}\u{1F3A5}",button:"S\xE9lectionner une vid\xE9o"}}},"post-card":{community:{"published-in":"\xC9galement publi\xE9 dans la communaut\xE9",enter:"Rejoindre la communaut\xE9"},page:{"published-by":"Publi\xE9 par la page"},"not-found":{"users-not-found":"Aucun utilisateur trouv\xE9",title:"Publication introuvable",description:"La publication que vous recherchez n'existe pas."},user:{follow:"Suivre",unfollow:"Ne plus suivre","make-contact":"Entrer en contact",following:"Suivi",contact:"Contact"},content:{"view-more":"Voir plus","view-less":"Voir moins"},post:{options:{save:"Enregistrer","view-stats":"Voir les statistiques","copy-link":"Copier le lien de la publication",delete:"Supprimer la publication",edit:"Modifier la publication"},reactions:{agree:"Soutien",dislike:"\xCAtre en d\xE9saccord",love:"J'adore",genial:"G\xE9nial",haha:"Rires",like:"J'aime","no-comments":"Aucun commentaire"},stats:{reactions:"r\xE9action(s)",comments:"commentaire(s)",shares:"partage(s)",stats:"Statistiques"},audio:{listen:"\xC9couter",pause:"Pause",resume:"Reprendre",restart:"Recommencer",stop:"Arr\xEAter"},actions:{react:"R\xE9agir",comment:"Commenter",share:"Partager",repost:"Reposter"},timer:{extend:"Prolonger",reactivate:"R\xE9activer",expired:"Expir\xE9"},comments:{options:{edit:"Modifier",delete:"Supprimer","switch-profile":{title:"Changer de profil",description:"S\xE9lectionnez le profil que vous souhaitez utiliser pour commenter cette publication.",button:{confirm:"Confirmer",cancel:"Annuler"},"commenting-as":"Commenter en tant que...",search:"Rechercher","confirm-comment":"Voulez-vous vraiment commenter avec cette page ?","no-results":"Aucun profil trouv\xE9 pour \xAB {searchQuery} \xBB"}},comment:"Commenter la publication",answer:"\xC9crivez votre r\xE9ponse",actions:{answer:"R\xE9pondre",react:"R\xE9agir"},delete:{label:"Supprimer",title:"Supprimer le commentaire",description:"\xCAtes-vous s\xFBr de vouloir supprimer ce commentaire ?",toasts:{error:{title:"Erreur lors de la suppression du commentaire !",label:"Une erreur s'est produite lors de la suppression du commentaire. Veuillez r\xE9essayer."}}},edit:{save:"Enregistrer",cancel:"Annuler"}}}},"delete-modal":{title:"Supprimer la publication",description:"\xCAtes-vous s\xFBr de vouloir supprimer cette publication ?"},"share-modal":{post:{"shared-by":"Partag\xE9 par","share-now":"Partager maintenant",title:"Partager la publication","in-community":{title:"Partager dans la communaut\xE9"},"empty-message":"Vous n'\xEAtes pas membre de aucune communaut\xE9 encore.","in-chat":{title:"Partager dans le chat"},to:{title:"Partager sur",page:"Page"}}},"medias-modal":{"loading-medias":"Chargement des m\xE9dias...",added:{title:"M\xE9dias ajout\xE9s"},"edit-media":"Modifier le m\xE9dia"},done:"Termin\xE9",toasts:{create:{creating:{title:"Cr\xE9ation de la publication...",description:"Votre publication est en cours de cr\xE9ation. Vous pouvez continuer \xE0 modifier pendant le processus."},success:{title:"Publication cr\xE9\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 cr\xE9\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors de la cr\xE9ation de la publication !",description:"Une erreur s'est produite lors de la cr\xE9ation de votre publication. Veuillez r\xE9essayer."}},edit:{editing:{title:"Modification de la publication...",description:"Votre publication est en cours de modification. Vous pouvez continuer \xE0 \xE9diter pendant le processus."},success:{title:"Publication modifi\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 modifi\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors de la modification de la publication !",description:"Une erreur s'est produite lors de la modification de votre publication. Veuillez r\xE9essayer."}},delete:{deleting:{title:"Suppression de la publication...",description:"Votre publication est en cours de suppression. Vous pouvez continuer \xE0 naviguer pendant le processus."},success:{title:"Publication supprim\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 supprim\xE9e avec succ\xE8s."},error:{title:"Erreur lors de la suppression de la publication !",description:"Une erreur s'est produite lors de la suppression de votre publication. Veuillez r\xE9essayer."}},share:{success:{title:"Publication partag\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 partag\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors du partage de la publication !",description:"Une erreur s'est produite lors du partage de votre publication. Veuillez r\xE9essayer."}},extend:{success:{title:"Dur\xE9e prolong\xE9e avec succ\xE8s !",description:"La dur\xE9e d'expiration de votre publication a \xE9t\xE9 prolong\xE9e avec succ\xE8s."},error:{title:"Erreur lors de la prolongation !",description:"Impossible de prolonger la dur\xE9e d'expiration de la publication. Veuillez r\xE9essayer."}}},"post-stats-modal":{title:"Statistiques de la publication",createdAt:"Publi\xE9 le",engagement:{options:{impressions:"Impressions",likes:"Mentions J'aime",comments:"Commentaires",shares:"Partages"},posts:{back:"Retour","post-impressions":{title:"Impressions de la publication","posted-at":"Publi\xE9 le",remain:{label:"Restant",hours:"heures"},"social-media-impact":{title:"Impact sur les r\xE9seaux sociaux",reactions:"R\xE9actions",comments:"Commentaires",shares:"Partages","no-impact":{comments:"Aucun changement n\xE9cessaire"}},views:{title:"Vues","viewed-at":"Vu le","all-reactions":"Toutes les r\xE9actions"}},title:"Publications",tip:"Publier fr\xE9quemment augmente jusqu'\xE0 3\xD7 vos chances d'\xEAtre d\xE9couvert et mis en avant.","create-post":"Cr\xE9er une publication",discovers:{title:"D\xE9couvertes","users-reached":"Utilisateurs atteints"}}},stats:{reactions:"R\xE9actions",comments:"Commentaires",shares:"Partages",views:"Vues","last-days":"des 7 derniers jours"},schedule:{title:"Programmer la publication","select-date":"S\xE9lectionner la date","select-time":"S\xE9lectionner l'heure","scheduled-for":"Pr\xE9vu pour",confirm:"Programmer la publication","scheduled-indicator":"Pr\xE9vu pour"}}}};var dS={article:{title:"Artigo",editor:{placeholder:"Comece a escrever seu artigo...","title-placeholder":"T\xEDtulo do artigo"},hashtags:{"suggested-title":"Hastags sugeridas:",default:{professionals:"Profissionais",companies:"Empresas",innovation:"Inova\xE7\xE3o",angola:"Angola"}},upload:{"uploading-single":"Enviando imagem...","uploading-multiple":"Enviando {{count}} imagens...","click-to-upload":"Clique para enviar","drag-and-drop":"ou arraste e solte","uploading-files":"Enviando {{count}} arquivos","clear-all":"Limpar tudo","no-file-selected":"Nenhum arquivo selecionado","no-files-to-upload":"Nenhum arquivo para enviar","max-files-error":"M\xE1ximo {{limit}} arquivo{{plural}} permitido{{plural}}","file-size-error":"Tamanho do arquivo excede o m\xE1ximo permitido ({{maxSize}}MB)","upload-failed":"Falha no upload","no-url-returned":"Falha no upload: Nenhuma URL retornada","upload-function-not-defined":"Fun\xE7\xE3o de upload n\xE3o definida"},buttons:{publish:"Publicar",publishing:"Publicando...",save:"Salvar",saving:"Salvando..."}}};var cS={article:{title:"Article",editor:{placeholder:"Start writing your article...","title-placeholder":"Article title"},hashtags:{"suggested-title":"Suggested hashtags:",default:{professionals:"Professionals",companies:"Companies",innovation:"Innovation",angola:"Angola"}},upload:{"uploading-single":"Uploading image...","uploading-multiple":"Uploading {{count}} images...","click-to-upload":"Click to upload","drag-and-drop":"or drag and drop","uploading-files":"Uploading {{count}} files","clear-all":"Clear All","no-file-selected":"No file selected","no-files-to-upload":"No files to upload","max-files-error":"Maximum {{limit}} file{{plural}} allowed","file-size-error":"File size exceeds maximum allowed ({{maxSize}}MB)","upload-failed":"Upload failed","no-url-returned":"Upload failed: No URL returned","upload-function-not-defined":"Upload function is not defined"},buttons:{publish:"Publish",publishing:"Publishing...",save:"Save",saving:"Saving..."}}};var pS={article:{title:"Article",editor:{placeholder:"Commencez \xE0 \xE9crire votre article...","title-placeholder":"Titre de l'article"},hashtags:{"suggested-title":"Hashtags sugg\xE9r\xE9s :",default:{professionals:"Professionnels",companies:"Entreprises",innovation:"Innovation",angola:"Angola"}},upload:{"uploading-single":"T\xE9l\xE9chargement de l'image...","uploading-multiple":"T\xE9l\xE9chargement de {{count}} images...","click-to-upload":"Cliquez pour t\xE9l\xE9charger","drag-and-drop":"ou glissez-d\xE9posez","uploading-files":"T\xE9l\xE9chargement de {{count}} fichiers","clear-all":"Tout effacer","no-file-selected":"Aucun fichier s\xE9lectionn\xE9","no-files-to-upload":"Aucun fichier \xE0 t\xE9l\xE9charger","max-files-error":"Maximum {{limit}} fichier{{plural}} autoris\xE9{{plural}}","file-size-error":"La taille du fichier d\xE9passe le maximum autoris\xE9 ({{maxSize}}MB)","upload-failed":"\xC9chec du t\xE9l\xE9chargement","no-url-returned":"\xC9chec du t\xE9l\xE9chargement : Aucune URL retourn\xE9e","upload-function-not-defined":"Fonction de t\xE9l\xE9chargement non d\xE9finie"},buttons:{publish:"Publier",publishing:"Publication...",save:"Sauvegarder",saving:"Sauvegarde..."}}};var mS={pt:sS,en:iS,fr:lS};var uS={pt:dS,en:cS,fr:pS};function Oe(){let{translate:e}=Qm(mS);return {translate:e}}function Ja(){let{translate:e}=Qm(uS);return {translate:e}}var Zi=vf.gql`
1809
+ `;function ZP(){let{feedApi:e,user:t}=M(),{mutate:o,isPending:r}=ge({mutationKey:["createFollow"],mutationFn:a=>j(this,[a],function*({createFollowInput:n}){var s;try{return yield vf__default.default(e!=null?e:"",KP,{createFollowInput:n},{"x-access-token":(s=t==null?void 0:t.accessToken)!=null?s:""})}catch(i){throw i}})});return {createFollow:o,isCreatingFollow:r}}var YP=zustand.create(e=>({following:[],unfollowing:[],setFollowing:t=>e({following:t}),setUnfollowing:t=>e({unfollowing:t})}));function JP({user:e,className:t,insideClasse:o,icon:r,isFollowing:n}){var A,k,N,I,P;let{user:a}=M(),{setFollowing:s,following:i,setUnfollowing:l,unfollowing:d}=YP(),{isOpen:c,toggle:p}=ur(),{createFollow:f,isCreatingFollow:u}=ZP(),{dispatch:g}=WP(),[m,v]=J__namespace.default.useOptimistic({isFollowed:(A=n!=null?n:e==null?void 0:e.isFollowed)!=null?A:false,isFollowedBy:(k=e==null?void 0:e.isFollowedBy)!=null?k:false,isContact:(N=e==null?void 0:e.isContact)!=null?N:false},(S,D)=>D.type==="follow"?F(y({},S),{isFollowed:true,isContact:S.isFollowedBy}):F(y({},S),{isFollowed:false,isContact:false})),h=()=>{var L,E,B,W;if(!(e!=null&&e.id))return;let S=a==null?void 0:a.id;if((e==null?void 0:e.id)===S)return;let D=i==null?void 0:i.includes((L=e==null?void 0:e.id)!=null?L:""),T=!D;D?(s((E=i==null?void 0:i.filter(q=>q!==(e==null?void 0:e.id)))!=null?E:[]),l([...d!=null?d:[],e==null?void 0:e.id]),J.startTransition(()=>{v({type:"unfollow"});})):(s([...i!=null?i:[],e==null?void 0:e.id]),l((B=d==null?void 0:d.filter(q=>q!==(e==null?void 0:e.id)))!=null?B:[]),J.startTransition(()=>{v({type:"follow"});})),p(),f({createFollowInput:{followedId:(W=e==null?void 0:e.id)!=null?W:""}}),J.startTransition(()=>{e!=null&&e.id&&g({type:T?"follow":"unfollow",userId:e.id});});},b=()=>{let S="font-medium border rounded-[10px] flex justify-center";return m!=null&&m.isContact||m!=null&&m.isFollowedBy?`${S} bg-primary/10 text-primary border-primary/20`:`${S} bg-primary text-white border-transparent`},x=(i==null?void 0:i.includes((I=e==null?void 0:e.id)!=null?I:""))||c||(m==null?void 0:m.isFollowed),w=d==null?void 0:d.includes((P=e==null?void 0:e.id)!=null?P:""),C=()=>m!=null&&m.isContact||e!=null&&e.isContact?"Contacto":x&&!w?"Deixar de seguir":"Seguir";return J__namespace.default.createElement(le,{onClick:h,variant:"ghost",size:"sm",className:U(o?b():"h-auto p-2 text-primary hover:bg-transparent hover:text-primary/80 font-normal",t)},r||J__namespace.default.createElement(lucideReact.UserPlusIcon,{className:"h-3 w-3"}),u?J__namespace.default.createElement(lucideReact.CircleIcon,{className:"w-4 h-4 animate-spin"}):C())}var $P={AGREE:J__namespace.default.createElement(Wi,{size:20}),LIKE:J__namespace.default.createElement(w0,{size:20}),SUPPORT:J__namespace.default.createElement(Wi,{size:20}),DISLIKE:J__namespace.default.createElement(Qi,{size:20}),DISAGREE:J__namespace.default.createElement(Qi,{size:20}),EUREKA:J__namespace.default.createElement(b0,{fontSize:20}),NO_COMMENT:J__namespace.default.createElement(C0,{fontSize:20}),HAHA:J__namespace.default.createElement(M0,{size:20}),LOVE:J__namespace.default.createElement(P0,{size:20})};function RP({reactions:e,handleGoToProfile:t}){var p;let{user:o,locale:r}=M(),n=r||"pt",a=e!=null?e:[],s=J.useMemo(()=>a.reduce((f,u)=>{var m;let g=(m=u==null?void 0:u.reaction)!=null?m:"";return g&&(f[g]||(f[g]=[]),f[g].push(u)),f},{}),[a]),{reactions:i}=Vm({currentReaction:"",onChange:()=>{},size:"normal"}),l=J.useMemo(()=>{let f=Object.keys(s).filter(Boolean),u={id:"all",label:rn(n,"allReactions"),emoji:null,count:a.length,users:a},g=f.map(m=>{var h,b,x,w,C;let v=i.find(A=>A.id===m);return {id:m,label:"",emoji:(b=(h=$P[m])!=null?h:v==null?void 0:v.emoji)!=null?b:null,count:(w=(x=s[m])==null?void 0:x.length)!=null?w:0,users:(C=s[m])!=null?C:[]}});return [u,...g]},[s,i,a]),[d,c]=J.useState("all");return a.length===0?J__namespace.default.createElement("div",{className:"py-8 text-center text-sm text-gray-500"},rn(n,"noReactionsYet")):J__namespace.default.createElement("div",null,J__namespace.default.createElement("div",{className:"bg-white"},J__namespace.default.createElement("div",{className:"flex gap-2 overflow-x-auto py-1 px-0 border-b"},l.map(f=>J__namespace.default.createElement("div",{key:f.id,className:"inline-block relative overflow-visible "},J__namespace.default.createElement("button",{onClick:()=>c(f.id),"aria-pressed":d===f.id,className:`pr-6 py-2 text-sm font-medium rounded-full transition-colors whitespace-nowrap ${d===f.id?"text-primary":"text-gray-500 hover:text-gray-700"}`},f.emoji&&J__namespace.default.createElement("span",{className:"w-2 h-2 inline-block mr-2 mb-2"},f.emoji),J__namespace.default.createElement("span",{className:"space-x-4"},J__namespace.default.createElement("span",{className:"text-[14px] font-medium"},f.label),f.count>0&&J__namespace.default.createElement("span",{className:"text-[#050910] text-[14px] font-semibold"},f.count))),d===f.id&&J__namespace.default.createElement("div",{className:"absolute -left-2 right-0 -bottom-1 h-[2px] bg-primary rounded-none"}))))),J__namespace.default.createElement("div",{className:"space-y-6 max-h-[60vh] overflow-y-auto pr-2 pt-4"},(d==="all"?a:(p=s[d])!=null?p:[]).map(f=>{var u,g,m,v,h,b,x,w,C,A;return J__namespace.default.createElement("div",{key:f==null?void 0:f.id,className:"flex items-center gap-2 group"},J__namespace.default.createElement("div",{className:"relative"},J__namespace.default.createElement(ae,{name:(g=(u=f==null?void 0:f.user)==null?void 0:u.name)!=null?g:"",src:(m=f==null?void 0:f.user)==null?void 0:m.avatar,className:"w-10 lg:w-12 h-10 lg:h-12",onClick:()=>t==null?void 0:t(f==null?void 0:f.user),type:"user"}),(f==null?void 0:f.reaction)&&J__namespace.default.createElement("div",{className:"absolute -bottom-1 -right-1 bg-white rounded-full p-[2px] shadow-sm transform transition-all duration-200 ease-out opacity-90 group-hover:scale-110 group-hover:opacity-100"},(b=(h=$P[f==null?void 0:f.reaction])!=null?h:(v=i.find(k=>k.id===(f==null?void 0:f.reaction)))==null?void 0:v.emoji)!=null?b:null)),J__namespace.default.createElement("div",{className:"flex-1"},J__namespace.default.createElement("div",{className:"flex items-center gap-2"},J__namespace.default.createElement("h3",{className:"text-sm lg:text-base font-medium",onClick:()=>t==null?void 0:t(f==null?void 0:f.user)},(x=f==null?void 0:f.user)==null?void 0:x.name),(o==null?void 0:o.id)!==((w=f==null?void 0:f.user)==null?void 0:w.id)&&!((C=f==null?void 0:f.user)!=null&&C.isFollowed)&&J__namespace.default.createElement(JP,{user:f==null?void 0:f.user})),J__namespace.default.createElement("p",{className:"text-xs text-gray-600"},(A=f==null?void 0:f.user)==null?void 0:A.headline)))})))}function g8({onClose:e,post:t,comment:o,optimisticReactions:r}){var f,u;let{isMobile:n}=Eo(),{user:a,locale:s}=M(),i=s||"pt",l=(u=(f=r!=null?r:o==null?void 0:o.reactions)!=null?f:t==null?void 0:t.reactions)!=null?u:[],d=l.length,c=d===1?rn(i,"reactionsSingular"):rn(i,"reactionsPlural");return J__namespace.default.createElement(qe,{closeOnClickOutside:true,className:"flex flex-col w-full mt-[40px] md:mt-0 h-full md:w-[33rem] md:h-[25.625rem]",isOpen:true,onClose:e,hideCloseButton:true},J__namespace.default.createElement("div",{className:"w-full"},J__namespace.default.createElement("h2",{className:`text-lg h-[60px] font-semibold ${n?"border-b-8 border-[#F5F5F5]":""} flex items-center gap-4`},n?J__namespace.default.createElement("button",{onClick:e,className:"cursor-pointer flex-shrink-0",type:"button"},J__namespace.default.createElement(lucideReact.ChevronLeft,{className:"h-8 w-8"})):null,n?null:J__namespace.default.createElement("span",null,d," ",c)),J__namespace.default.createElement("div",{className:` ${n?"px-4":""}`},J__namespace.default.createElement(RP,{reactions:l,handleGoToProfile:g=>{Ae(),(g==null?void 0:g.id)===(a==null?void 0:a.id)?window.location.href=`/profile/${s}`:window.location.href=`/profile/${s}/${g==null?void 0:g.slug}`;}}))))}function sW(e){let{fontSize:t=30}=e;return J__namespace.createElement("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J__namespace.createElement("path",{d:"M19.4636 6.412C19.2625 6.15672 19.0152 5.9523 18.7381 5.8123C18.461 5.6723 18.1605 5.59993 17.8565 5.6H12.8567V4C12.8567 2.93913 12.4804 1.92172 11.8107 1.17157C11.1409 0.421428 10.2326 2.05102e-07 9.28539 2.05102e-07C9.15269 -0.0001062 9.0226 0.0411911 8.90968 0.119262C8.79677 0.197332 8.70551 0.309089 8.64613 0.442L5.27303 8H1.42852C1.04965 8 0.686304 8.16857 0.418404 8.46863C0.150504 8.76869 0 9.17565 0 9.6V18.4C0 18.8243 0.150504 19.2313 0.418404 19.5314C0.686304 19.8314 1.04965 20 1.42852 20H16.7851C17.3072 20.0002 17.8113 19.7869 18.2029 19.4003C18.5945 19.0136 18.8466 18.4801 18.9118 17.9L19.9832 8.3C20.0212 7.96202 19.9945 7.61886 19.9049 7.29334C19.8153 6.96781 19.6649 6.66737 19.4636 6.412ZM1.42852 9.6H4.99983V18.4H1.42852V9.6Z",fill:"#687588"}))}var iW=J__namespace.memo(sW),h8=iW;var qm={AGREE:"#B38FD8",DISLIKE:"#F87171",EUREKA:"#FACC15",LIKE:"#60A5FA",NO_COMMENT:"#9CA3AF",SUPPORT:"#60A5FA"};function oS(e){return e?e>=1e6?`${(e/1e6).toFixed(1).replace(/\.0$/,"")}M`:e>=1e3?`${(e/1e3).toFixed(1).replace(/\.0$/,"")}K`:e.toString():""}function rS({currentReaction:e,onChange:t,size:o="normal",totalReactions:r=0,topReactions:n=[],isLoading:a,className:s,orientation:i="horizontal",post:l,comment:d,variant:c="default",optimisticReactions:p}){var oe;let{user:f}=M(),[u,g]=usehooks.useToggle(false),{handleReactionSelect:m,reactions:v,selectedReaction:h,isNormalSize:b}=Vm({currentReaction:e,onChange:t,size:o}),[x,w]=J.useState(false),[C,A]=J.useState(false),{isOpen:k,onOpen:N,onClose:I}=ur(),{isOpen:P,onOpen:S,onClose:D}=ur(),T=J.useRef(null),L=J.useRef(null),E=h!=null&&h.id&&qm[h.id]?qm[h.id]:qm.LIKE,B=h?`${E}1A`:"transparent",W=`${E}15`,q=Array.isArray(n)?n.filter(K=>!!K&&!!K.id&&!!K.emoji&&!!K.label&&K.id!=="LOVE"&&K.id!=="HAHA"):[],Y=()=>{T.current&&clearTimeout(T.current),N();},H=()=>{T.current=setTimeout(()=>I(),200);},z=()=>{w(true),L.current=setTimeout(()=>{N();},300);},G=()=>{w(false),L.current&&clearTimeout(L.current);},R=K=>{K.stopPropagation(),I(),S();},V=()=>{if(f&&!f.isActive){g(true);return}if(typeof window!="undefined"&&"vibrate"in navigator&&navigator.vibrate(25),A(true),setTimeout(()=>A(false),180),h)m(null);else {let K=$[0];K&&m(K);}},_=K=>{if(f&&!f.isActive){g(true),I();return}m(K);},$=v.filter(K=>K.id!=="LOVE"&&K.id!=="HAHA");return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("div",{className:U("relative group rounded-[3.125rem] border transition-all duration-200 p-[0.5rem] min-w-[37px] h-[42px] flex items-center",q.length===0?"justify-center":"justify-between",c==="comment"?"border-none bg-white":h?"":"border-gray-300 bg-transparent",s),style:{borderColor:c==="comment"?"transparent":h?E:void 0,backgroundColor:c==="comment"?"white":h?B:void 0,transform:x?"scale(0.97)":"scale(1)",transition:"transform 0.15s ease-out"},onMouseEnter:Y,onMouseLeave:H,onTouchStart:z,onTouchEnd:G},J__namespace.default.createElement("button",{disabled:a,onClick:V,className:U("button-empty font-normal flex items-center gap-x-2 transition-all duration-200 ease-out transform",b?"text-sm":"text-xs","hover:scale-[1.05] hover:shadow-md active:scale-[0.97]",h?"font-semibold":"text-gray-600 hover:text-gray-800"),style:{color:h?E:void 0}},J__namespace.default.createElement("div",{className:U("flex items-center justify-center transition-transform duration-150 ease-in-out",C&&"animate-emoji-flicker")},(oe=h==null?void 0:h.emoji)!=null?oe:J__namespace.default.createElement(h8,{fontSize:20,className:U(b?"h-5 w-5":"h-4 w-4")}))),q.length>0&&J__namespace.default.createElement("div",{className:"flex items-center relative ml-2 cursor-pointer select-none group/reactions active:scale-95 transition-transform duration-150 ease-out",onClick:R},J__namespace.default.createElement("span",{className:"h-4 border-l mx-2 transition-colors duration-200",style:{borderColor:E}}),J__namespace.default.createElement("div",{className:"flex items-center relative transition-transform duration-150 ease-out group-hover/reactions:scale-[1.05]"},q.slice(0,2).map((K,ne)=>{var Me;let me=qm[K.id]||"#9CA3AF";return J__namespace.default.createElement("span",{key:K.id,className:"relative transition-transform duration-150 ease-in-out group-hover/reactions:translate-y-[-2px]",style:{right:ne===0?0:6,zIndex:q.length-ne,color:me}},(Me=K.emoji)!=null?Me:J__namespace.default.createElement(h8,{className:"h-4 w-4"}))}),r>0&&J__namespace.default.createElement("span",{className:"ml-2 font-semibold transition-all duration-150 ease-in-out group-hover/reactions:scale-105 group-hover/reactions:brightness-110",style:{color:"#687588"}},oS(r)))),q.length===0&&r>0&&J__namespace.default.createElement("div",{className:"flex items-center relative ml-2 cursor-pointer select-none group/reactions active:scale-95 transition-transform duration-150 ease-out",onClick:R},J__namespace.default.createElement("span",{className:"h-4 border-l mx-2 transition-colors duration-200",style:{borderColor:E}}),J__namespace.default.createElement("span",{className:"font-semibold transition-all duration-150 ease-in-out group-hover/reactions:scale-105 group-hover/reactions:brightness-110",style:{color:"#687588"}},oS(r))),J__namespace.default.createElement("div",{className:U("absolute inset-0 rounded-[3.125rem] pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-200"),style:{backgroundColor:W}}),k&&J__namespace.default.createElement(jP,{onClose:I,orientation:i,handleReactionSelect:_,reactions:$}),P&&J__namespace.default.createElement(g8,{onClose:D,post:l,comment:d,optimisticReactions:p})),J__namespace.default.createElement(ko,{isOpen:u,onClose:()=>g(false)}))}var cW={AGREE:J__namespace.default.createElement(Wi,null),LIKE:J__namespace.default.createElement(w0,null),SUPPORT:J__namespace.default.createElement(Wi,null),DISLIKE:J__namespace.default.createElement(Qi,null),DISAGREE:J__namespace.default.createElement(Qi,null),EUREKA:J__namespace.default.createElement(b0,null),NO_COMMENT:J__namespace.default.createElement(C0,null),HAHA:J__namespace.default.createElement(M0,null),LOVE:J__namespace.default.createElement(P0,null)};function pW({post:e,hideLabel:t,className:o,orientation:r}){let{reaction:n,handleCreateReaction:a,reactions:s,totalReactions:i}=GP({post:e}),{totalReactions:l,topReactions:d}=J.useMemo(()=>{if(!s||(s==null?void 0:s.length)===0)return {totalReactions:0,topReactions:[]};let c={};s==null||s.forEach(f=>{f!=null&&f.reaction&&(c[f.reaction]=(c[f.reaction]||0)+1);});let p=Object.entries(c).sort((f,u)=>u[1]-f[1]).slice(0,2).map(([f])=>({id:f,emoji:cW[f]||J__namespace.default.createElement("span",null,f),label:f,color:""}));return {totalReactions:i,topReactions:p}},[s,i]);return J__namespace.default.createElement(rS,{orientation:r,currentReaction:n,hideLabel:t,totalReactions:l,topReactions:d,className:o,post:e,optimisticReactions:s,onChange:(c,p)=>{a(c?c==null?void 0:c.id:(p==null?void 0:p.id)||"");}})}var mW=e=>J__namespace.createElement("svg",y({width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),J__namespace.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19113 3.64286C3.73647 3.64286 3.30044 3.82347 2.97894 4.14496C2.65745 4.46645 2.47684 4.90249 2.47684 5.35714V9.92857C2.47684 10.3832 2.65745 10.8193 2.97894 11.1408C3.30044 11.4622 3.73647 11.6429 4.19113 11.6429H5.71494C5.86649 11.6429 6.01183 11.7031 6.119 11.8102L8.00065 13.6919L9.88231 11.8102C9.98947 11.7031 10.1348 11.6429 10.2864 11.6429H11.8102C12.2648 11.6429 12.7009 11.4622 13.0224 11.1408C13.3438 10.8193 13.5245 10.3832 13.5245 9.92857V5.35714C13.5245 4.90249 13.3438 4.46645 13.0224 4.14496C12.7009 3.82347 12.2648 3.64286 11.8102 3.64286H4.19113ZM2.17082 3.33684C2.70664 2.80102 3.43337 2.5 4.19113 2.5H11.8102C12.5679 2.5 13.2947 2.80102 13.8305 3.33684C14.3663 3.87266 14.6673 4.59938 14.6673 5.35714V9.92857C14.6673 10.6863 14.3663 11.4131 13.8305 11.9489C13.2947 12.4847 12.5679 12.7857 11.8102 12.7857H10.5231L8.40471 14.9041C8.18156 15.1272 7.81975 15.1272 7.59659 14.9041L5.47824 12.7857H4.19113C3.43337 12.7857 2.70664 12.4847 2.17082 11.9489C1.635 11.4131 1.33398 10.6863 1.33398 9.92857V5.35714C1.33398 4.59938 1.635 3.87266 2.17082 3.33684ZM4.3816 6.11905C4.3816 5.80346 4.63744 5.54762 4.95303 5.54762H11.0483C11.3639 5.54762 11.6197 5.80346 11.6197 6.11905C11.6197 6.43464 11.3639 6.69048 11.0483 6.69048H4.95303C4.63744 6.69048 4.3816 6.43464 4.3816 6.11905ZM4.3816 9.16667C4.3816 8.85108 4.63744 8.59524 4.95303 8.59524H9.52446C9.84005 8.59524 10.0959 8.85108 10.0959 9.16667C10.0959 9.48226 9.84005 9.7381 9.52446 9.7381H4.95303C4.63744 9.7381 4.3816 9.48226 4.3816 9.16667Z",fill:"#A0AEC0"})),nS=mW;var fW="pending_chat_data",gW=300;function hW({user:e,label:t,className:o,disabled:r=false,onClick:n,variant:a="default"}){let{isMobile:s}=Ne(),{locale:i,page:l,mirantesDomain:d}=M(),{saveCookie:c}=im(),p=J.useMemo(()=>{var h,b;return e?{id:(h=e==null?void 0:e.id)!=null?h:"",name:e==null?void 0:e.name,avatar:e==null?void 0:e.avatar,slug:(b=e==null?void 0:e.slug)!=null?b:""}:null},[e]),f=J.useMemo(()=>{let h=a==="small";return o||`${h?"text-primary font-medium p-[1rem]":"border border-primary bg-white text-primary font-medium p-[1rem]"} ${s?"rounded-full":"rounded-[0.5rem]"}`},[a,s,o]),u=J.useMemo(()=>{let h=a==="small";return {icon:h?J__namespace.default.createElement(nS,null):J__namespace.default.createElement(Zp,null),label:!s&&!h?t||O(i,"message.label"):void 0}},[a,s,t,i]),g=J.useCallback(()=>{if(!(p!=null&&p.id)||!(l!=null&&l.slug))return;localStorage.removeItem("b2b-recruitment-trigger-open"),n==null||n();let h={id:p.id,name:p.name,avatar:p.avatar,slug:p.slug,openChat:true};try{let b=btoa(encodeURIComponent(JSON.stringify(h)));c(fW,b,{maxAge:oM,secure:!0,domain:d,path:"/",sameSite:"lax"});let x=`/company/${i}/${l==null?void 0:l.slug}/inbox`;setTimeout(()=>{window.location.assign(x);},gW);}catch(b){}},[p,l==null?void 0:l.slug,i,n,c]);if(!!!(e&&l))return null;let v=r;return J__namespace.default.createElement(re,{className:f,label:u.label,onClick:g,leftElement:u.icon,disabled:v,"aria-label":u.label||"Send message"})}var xW=({pdfName:e,currentPage:t,numPages:o,isHovered:r,variant:n="default",onOpenAccessibility:a,onDownload:s,onClose:i})=>{let l=n==="fullscreen",d=l&&(a||s||i),{locale:c}=M();return J__namespace.default.createElement("div",{className:`${l?"relative":"absolute top-0 left-0 right-0"} z-30 border-b ${l?"border-gray-700":"border-gray-200"} p-4 transition-all duration-300 ${l||r?"opacity-100 bg-black/50":"opacity-0 pointer-events-none"}`},J__namespace.default.createElement("div",{className:"flex items-center justify-between"},J__namespace.default.createElement("div",{className:"flex items-center gap-3"},J__namespace.default.createElement("h2",{className:"text-base font-semibold text-white"},e||jt(c,"pdfName")),J__namespace.default.createElement("div",{className:"rounded-full bg-white/70 w-1.5 h-1.5"}),J__namespace.default.createElement("p",{className:"text-sm text-white/90"},o," ",jt(c,"pages"))),d&&J__namespace.default.createElement("div",{className:"flex items-center gap-3"},a&&J__namespace.default.createElement("button",{onClick:a,className:"px-3 py-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all flex items-center gap-2","aria-label":"Abrir PDF em nova aba para acessibilidade"},J__namespace.default.createElement(lucideReact.Accessibility,{className:"w-4 h-4"}),J__namespace.default.createElement("span",{className:"text-sm"},jt(c,"accessibilityMode"))),s&&J__namespace.default.createElement("button",{onClick:s,className:"px-3 py-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all flex items-center gap-2","aria-label":"Baixar PDF"},J__namespace.default.createElement(lucideReact.Download,{className:"w-4 h-4"}),J__namespace.default.createElement("span",{className:"text-sm"},jt(c,"download"))),i&&J__namespace.default.createElement("button",{onClick:i,className:"p-2 rounded-lg bg-white/10 text-white hover:bg-white/20 transition-all","aria-label":jt(c,"closeFullscreen")},J__namespace.default.createElement(lucideReact.X,{className:"w-5 h-5"})))))},Oc=xW;var MW=({onPrevious:e,onNext:t,canGoPrevious:o,canGoNext:r})=>{let{locale:n}=M();return J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("button",{className:"w-16 h-16 p-2 rounded-full border border-gray-300 bg-primary backdrop-blur-sm hover:bg-primary/90 transition-all shadow-md hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed pointer-events-auto",onClick:e,disabled:!o,"aria-label":jt(n,"previousPage")},J__namespace.default.createElement(lucideReact.ChevronLeft,{className:"w-8 h-8 text-white"})),J__namespace.default.createElement("button",{className:"w-16 h-16 p-2 rounded-full border border-gray-300 bg-primary backdrop-blur-sm hover:bg-primary/90 transition-all shadow-md hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed pointer-events-auto",onClick:t,disabled:!r,"aria-label":jt(n,"nextPage")},J__namespace.default.createElement(lucideReact.ChevronRight,{className:"w-8 h-8 text-white"})))},A0=MW;var PW=({currentPage:e,totalPages:t})=>{let o=t>0?e/t*100:0;return J__namespace.default.createElement("div",{className:"w-full"},J__namespace.default.createElement("div",{className:"w-full h-1.5 bg-white/20 rounded-full overflow-hidden"},J__namespace.default.createElement("div",{className:"h-full bg-white rounded-full transition-all duration-300",style:{width:`${o}%`}})))},w8=PW;var IW=({currentPage:e,numPages:t,pdfUrl:o,isHovered:r,onToggleFullscreen:n,variant:a="default",zoom:s,onZoomIn:i,onZoomOut:l})=>{let d=a==="fullscreen",c=d&&s!==void 0&&i&&l,{locale:p}=M();return J__namespace.default.createElement("div",{className:`${d?"relative":"absolute bottom-0 left-0 right-0"} z-30 border-t ${d?"border-gray-700":"border-gray-200"} px-4 py-0 flex items-center justify-between transition-all duration-300 ${d||r?"opacity-100 bg-black/50":"opacity-0 pointer-events-none"}`},J__namespace.default.createElement("div",{className:"text-sm font-normal text-white m-4"},e,"/",t),J__namespace.default.createElement("div",{className:"flex-1 max-w-md mx-4"},J__namespace.default.createElement(w8,{currentPage:e,totalPages:t})),c?J__namespace.default.createElement("div",{className:"flex items-center gap-4"},J__namespace.default.createElement("button",{onClick:l,disabled:s<=50,className:"p-2 rounded-full bg-white/10 text-white hover:bg-white/20 transition-all disabled:opacity-50 disabled:cursor-not-allowed","aria-label":jt(p,"zoomOut")},J__namespace.default.createElement(lucideReact.Plus,{className:"w-5 h-5"})),J__namespace.default.createElement("span",{className:"text-sm text-white min-w-[60px] text-center"},s,"%"),J__namespace.default.createElement("button",{onClick:i,disabled:s>=200,className:"p-2 rounded-full bg-white/10 text-white hover:bg-white/20 transition-all disabled:opacity-50 disabled:cursor-not-allowed","aria-label":jt(p,"zoomIn")},J__namespace.default.createElement(lucideReact.Minus,{className:"w-5 h-5"}))):n&&J__namespace.default.createElement("div",{className:"text-sm font-normal text-white m-4"},J__namespace.default.createElement(lucideReact.Maximize,{className:"w-6 h-6 text-white pointer-events-auto hover:text-white/80 transition-all duration-300 cursor-pointer",onClick:n})))},Hc=IW;var kW=({pdfUrl:e,pdfUrlWithPage:t,currentPage:o,numPages:r,pdfName:n,zoom:a,onClose:s,onDownload:i,onOpenAccessibility:l,onZoomIn:d,onZoomOut:c,onPreviousPage:p,onNextPage:f,canGoPrevious:u,canGoNext:g})=>{let{locale:m}=M(),v=J__namespace.default.createElement("div",{className:"fixed inset-0 z-[9999] w-screen h-screen bg-black flex flex-col",style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"80vw",height:"100vh",margin:0,padding:0}},J__namespace.default.createElement(Oc,{pdfName:n,currentPage:o,numPages:r,isHovered:true,variant:"fullscreen",onOpenAccessibility:l,onDownload:i,onClose:s}),J__namespace.default.createElement("div",{className:"flex-1 relative overflow-hidden bg-gray-900"},J__namespace.default.createElement("embed",{key:`${o}-${a}`,src:t,type:"application/pdf",className:"w-full h-full",title:jt(m,"pdfViewerFullscreen"),style:{overflow:"hidden"}}),J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:p,onNext:f,canGoPrevious:u,canGoNext:g}))),J__namespace.default.createElement(Hc,{currentPage:o,numPages:r,pdfUrl:e,isHovered:true,variant:"fullscreen",zoom:a,onZoomIn:d,onZoomOut:c}));return typeof window!="undefined"?tQ.createPortal(v,document.body):null},C8=kW;var aS=({pdfUrl:e,initialTotalPages:t,initialPdfName:o,retryCount:r=3,retryDelay:n=1e3,enableCorsProxy:a=false}={})=>{let[s,i]=J.useState(t||null),[l,d]=J.useState(o||""),[c,p]=J.useState(false),[f,u]=J.useState(null),g=J.useRef(void 0),m=J.useRef(null),v=J.useRef(false),h=J.useCallback(w=>{if(!w)return "";try{let A=new URL(w).pathname;return decodeURIComponent(A.split("/").pop()||"documento.pdf").replace(".pdf","").replace(/%20/g," ").trim()}catch(C){let A=w.split("/").pop()||"documento.pdf";return decodeURIComponent(A).replace(".pdf","").replace(/%20/g," ").trim()}},[]),b=J.useCallback((I,...P)=>j(void 0,[I,...P],function*(w,C=1,A=r,k=n,N){try{let S;try{S=yield fetch(w,{method:"GET",headers:{Accept:"application/pdf"},credentials:"omit",cache:"no-cache",signal:N});}catch(L){throw new Error(`Erro ao fazer fetch do PDF: ${L.message}`)}if(!S.ok)throw new Error(`HTTP ${S.status}: ${S.statusText}`);let D=S.headers.get("content-type");D&&D.includes("application/pdf");let T=yield S.arrayBuffer();if(!T||T.byteLength===0)throw new Error("PDF vazio ou inv\xE1lido");return T}catch(S){if(S.name==="AbortError")throw S;if(C<A)return yield new Promise(D=>setTimeout(D,k*C)),b(w,C+1,A,k,N);throw S}}),[]),x=J.useCallback(w=>j(void 0,null,function*(){if(typeof window!="undefined"&&e){if(v.current=true,t){i(t),p(false),v.current=false;return}p(true),u(null);try{let C=h(e);C&&!o&&d(C);let A=yield b(e,1,r,n,w),N=(yield pdfLib.PDFDocument.load(A,{ignoreEncryption:!1})).getPageCount();if(N>0&&N<1e4)i(N),u(null);else {let I=new Error(`N\xFAmero de p\xE1ginas inv\xE1lido: ${N}`);u(I);}}catch(C){if(C.name==="AbortError")return;let A=(C==null?void 0:C.message)||"Erro desconhecido ao carregar metadados do PDF",k=new Error(A);u(k),i(null);}finally{p(false),v.current=false;}}}),[e,t,o,h,b,r,n]);return J.useEffect(()=>{if(!e){g.current=void 0;return}if(g.current!==e&&(v.current=false),v.current||g.current===e&&s!==null)return;m.current&&m.current.abort();let w=new AbortController;return m.current=w,g.current=e,x(w.signal),()=>{w.abort(),m.current=null;}},[e,x]),{totalPages:s,pdfName:l||o||"",isLoading:c,error:f}};var zW=({pdfUrl:e="https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf",totalPages:t,pdfName:o,className:r,onMaximizeClicked:n})=>{let[a,s]=J.useState(1),[i,l]=J.useState(false),[d,c]=J.useState(false),[p,f]=J.useState(false),[u,g]=J.useState(100),{locale:m}=M(),{totalPages:v,pdfName:h,isLoading:b}=aS({pdfUrl:e,initialTotalPages:t,initialPdfName:o,retryCount:3,retryDelay:1e3});J.useEffect(()=>{if(typeof window=="undefined")return;let T=setTimeout(()=>{let L=document.querySelector('embed[title="PDF Viewer"]');L&&L.offsetHeight===0&&l(true);},2e3);return ()=>clearTimeout(T)},[a]);let x=()=>{a>1&&(s(a-1),l(false));},w=()=>{let T=v!=null?v:100;a<T&&(s(a+1),l(false));},C=()=>{if(typeof window!="undefined"){let T=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0`;window.open(T,"_blank");}},A=()=>{n?n():f(!p);},k=()=>j(void 0,null,function*(){try{let T=yield fetch(e);if(!T.ok)throw new Error("Erro ao baixar o PDF");let L=yield T.blob();if(typeof window=="undefined")return;let E=window.URL.createObjectURL(L),B=document.createElement("a");B.href=E,B.download=`${h||"documento"}.pdf`,document.body.appendChild(B),B.click(),document.body.removeChild(B),window.URL.revokeObjectURL(E);}catch(T){typeof window!="undefined"&&window.open(e,"_blank");}}),N=()=>{if(typeof window!="undefined"){let T=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0`;window.open(T,"_blank");}},I=()=>{g(T=>Math.min(T+25,200));},P=()=>{g(T=>Math.max(T-25,50));},S=T=>{T.preventDefault(),T.stopPropagation();},D=`${e}#page=${a}&toolbar=0&navpanes=0&scrollbar=0&view=FitH&zoom=${u}`;return J__namespace.default.createElement("div",{className:`relative w-full flex flex-col border border-gray-200 rounded-lg overflow-hidden shadow-sm ${r||""}`,onMouseEnter:()=>c(true),onMouseLeave:()=>c(false)},J__namespace.default.createElement("div",{className:"relative w-full bg-gray-50 pdf-container",style:{minHeight:"400px",aspectRatio:"16/9"},onWheel:S,onTouchMove:S},J__namespace.default.createElement("div",{className:"relative w-full overflow-hidden",style:{height:"calc(100% - 60px)",minHeight:"calc(100% - 60px)"}},J__namespace.default.createElement(Oc,{pdfName:h,currentPage:a,numPages:v!=null?v:100,isHovered:d}),b&&J__namespace.default.createElement("div",{className:"absolute top-16 left-1/2 transform -translate-x-1/2 z-30 px-3 py-1 bg-black/70 text-white text-xs rounded"},J__namespace.default.createElement(Ge,null)),i?J__namespace.default.createElement("div",{className:"w-full h-full flex flex-col items-center justify-center p-8 bg-gray-50"},J__namespace.default.createElement("div",{className:"text-center max-w-md"},J__namespace.default.createElement("p",{className:"text-lg font-semibold text-gray-900 mb-2"},jt(m,"blockedPdfTitle")),J__namespace.default.createElement("p",{className:"text-sm text-gray-600 mb-6"},jt(m,"blockedPdfDescription")),J__namespace.default.createElement("button",{onClick:C,className:"px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-all flex items-center gap-2 mx-auto"},J__namespace.default.createElement(lucideReact.ExternalLink,{className:"w-4 h-4"}),jt(m,"openPdfInNewTab"))),J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:x,onNext:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)}))):J__namespace.default.createElement(J__namespace.default.Fragment,null,J__namespace.default.createElement("embed",{key:a,src:D,type:"application/pdf",className:"w-full h-full object-contain",title:"PDF Viewer",style:{overflow:"hidden",width:"100%",height:"100%"}}),J__namespace.default.createElement("div",{className:"absolute inset-0 z-10",onWheel:S,onTouchMove:S,style:{pointerEvents:"none"}},J__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none"},J__namespace.default.createElement(A0,{onPrevious:x,onNext:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)})))),J__namespace.default.createElement(Hc,{currentPage:a,numPages:v!=null?v:100,pdfUrl:e,isHovered:d,onToggleFullscreen:A}))),p&&J__namespace.default.createElement(C8,{pdfUrl:e,pdfUrlWithPage:D,currentPage:a,numPages:v!=null?v:100,pdfName:h,zoom:u,onClose:()=>f(false),onDownload:k,onOpenAccessibility:N,onZoomIn:I,onZoomOut:P,onPreviousPage:x,onNextPage:w,canGoPrevious:a>1,canGoNext:a<(v!=null?v:100)}))},Uc=zW;function S8(e,t){return t.split(".").reduce((o,r)=>o&&typeof o=="object"?o[r]:void 0,e)}function Qm(e,t){let{locale:o}=M(),r=e[o]||e.pt,n=(a,s)=>{let i=a,l=S8(r,i);return l===void 0?(console.warn(`Translation key "${i}" not found for locale "${o}"`),i):typeof l=="string"&&s?l.replace(/\{\{(\w+)\}\}/g,(d,c)=>{var p;return ((p=s[c])==null?void 0:p.toString())||d}):typeof l=="string"?l:i};return {translate:n,t:n,locale:o}}var sS={feed:{post:"Publica\xE7\xE3o","posts-not-found":{title:"Nenhuma publica\xE7\xE3o encontrada",description:"Crie uma publica\xE7\xE3o para come\xE7ar a interagir com a comunidade."},"post-filters":{all:"Todos",connections:"Conex\xF5es",contacts:"Contactos",communities:"Comunidades"},communities:{title:"Comunidades",explore:"Ver tudo",tabs:{explore:"Explorar comunidades",my:"Minhas comunidades",requests:"Solicita\xE7\xF5es","contact-communities":"Comunidades em seus contactos fazem parte","interested-communities":"Comunidades que podem te interessar","view-more-communities":"Ver mais comunidades",back:"Voltar","join-community":"Fazer parte","cancel-join":"Cancelar",loading:"Carregando...",loadMore:"Carregar mais"}},pages:{title:"P\xE1ginas para voc\xEA",explore:"Explorar",my:"Minhas p\xE1ginas","for-you":"P\xE1ginas para voc\xEA",popular:"P\xE1ginas populares","view-more":"Ver mais p\xE1ginas",follow:"Seguir",following:"Seguindo"},users:{title:"Pessoas",explore:"Ver todas",tabs:{explore:"Explorar pessoas",following:"Pessoas que sigo",followers:"Meus seguidores","contact-people":"Pessoas que seus contatos conhecem","suggested-people":"Pessoas que voc\xEA pode conhecer","view-more-people":"Ver mais pessoas",back:"Voltar",follow:"Seguir",unfollow:"Deixar de seguir",loading:"Carregando...",loadMore:"Carregar mais"}},"users-suggestion":{title:"Sugest\xF5es para voc\xEA","view-more":"Mais sugest\xF5es"},"suggestions-modal":{users:"Sugest\xF5es de pessoas",communities:"Sugest\xF5es de comunidades",pages:"Sugest\xF5es de p\xE1ginas",placeholder:"Pesquisar"},reels:{title:"Clips",button:"Criar clips","remaining-time":"Restante ","remaining-time-plural":"Restam ",expired:"Publica\xE7\xE3o expirada","remaining-time-seconds":"segundos","remaining-time-minutes":"minutos","remaining-time-hours":"horas","remaining-time-days":"dias","remaining-time-months":"meses","remaining-time-years":"anos",comments:{title:"Coment\xE1rios",reply:"Responder",like:"Curtiu",likes:"curtidas","add-comment":"Adicione um coment\xE1rio...",edited:"(Editado)","load-more-comments":"Carregar mais coment\xE1rios","show-less-comments":"Mostrar menos coment\xE1rios","load-more-answers":"Carregar mais respostas","show-less-answers":"Mostrar menos respostas",loading:"Carregando..."}},streaming:{"upcoming-streams":"Lives agendadas","browse-streams":"Explorar mais lives"},messages:{title:"Mensagens","view-all":"Ver todas"},respost:{title:"Repostar publica\xE7\xE3o"},"share-post":{title:"Compartilhar publica\xE7\xE3o","copy-link":{"post-card-label":"Copiar link da publica\xE7\xE3o",label:"Copiar link",success:{title:"Link copiado com sucesso!",description:"O link da publica\xE7\xE3o foi copiado. Agora voc\xEA pode compartilh\xE1-lo com seus amigos."},error:{title:"Erro ao copiar link!",description:"Ocorreu um erro ao copiar o link da publica\xE7\xE3o. Tente novamente."}}},"create-post":{title:"Criar publica\xE7\xE3o","start-a-post":"Comece uma publica\xE7\xE3o","add-description":"Adicione uma descri\xE7\xE3o...",options:{midia:"M\xEDdia",job:"Vaga",reels:"Clips",article:"Artigo",emoji:"Emoji",mention:"Mencionar",schedule:"Agendar","saved-items":"Itens salvos",scheduling:"Agendamentos"},schedule:{"base-on-your-location":"baseado na sua localiza\xE7\xE3o","select-date":"Selecionar data","select-time":"Selecionar hor\xE1rio","scheduled-for":"Agendado para",confirm:"Agendar publica\xE7\xE3o","set-date-time":"Defina o dia e a hora da publica\xE7\xE3o","cancel-button":"Cancelar","schedule-button":"Agendar","schedule-publication":"Agendar publica\xE7\xE3o","publish-ideal-time":"Publicar no hor\xE1rio ideal","publication-scheduled-for":"Publica\xE7\xE3o agendada para","no-post-scheduled":"Nenhuma publica\xE7\xE3o agendada","no-scheduled-posts-yet":"Voc\xEA ainda n\xE3o tem publica\xE7\xF5es agendadas","close-button":"Fechar","scheduled-publications":"Publica\xE7\xF5es agendadas","view-upcoming-publications":"Ver o que ser\xE1 publicado em breve","edit-button":"Editar","delete-button":"Excluir","loading-scheduled-posts":"Carregando publica\xE7\xF5es agendadas...","loading-pages":"Carregando p\xE1ginas..."},filters:{all:"Todos",connections:"Conex\xF5es",communities:"Comunidades"},buttons:{save:"Salvar",saving:"Salvando...",resume:"Retomar",publish:"Publicar",publishing:"Publicando..."},reel:{"upload-prompt":{title:"Arraste, solte e veja a m\xE1gica em 30 segundos! \u{1F680}\u{1F3A5}",button:"Selecionar v\xEDdeo"}}},"post-card":{community:{"published-in":"Tamb\xE9m publicado na comunidade",enter:"Entrar na comunidade"},page:{"published-by":"Publicado pela p\xE1gina"},"not-found":{"users-not-found":"Nenhum usu\xE1rio encontrado",title:"Publica\xE7\xE3o n\xE3o encontrada",description:"A publica\xE7\xE3o que voc\xEA procura n\xE3o existe."},user:{follow:"Seguir",unfollow:"Deixar de seguir","make-contact":"Fazer contato",following:"Seguindo",contact:"Contato"},content:{"view-more":"Ver mais","view-less":"Ver menos"},post:{options:{save:"Salvar","view-stats":"Ver estat\xEDsticas","copy-link":"Copiar link da publica\xE7\xE3o",delete:"Excluir publica\xE7\xE3o",edit:"Editar publica\xE7\xE3o"},reactions:{agree:"Apoio",dislike:"Discordo",love:"Amor",genial:"Genial",haha:"Haha",like:"Concordo","no-comments":"Sem coment\xE1rios"},stats:{reactions:"rea\xE7\xE3o(\xF5es)",comments:"coment\xE1rio(s)",shares:"compartilhamento(s)",stats:"Estat\xEDsticas"},audio:{listen:"Ouvir",pause:"Pausar",resume:"Retomar",restart:"Reiniciar",stop:"Parar"},actions:{react:"Reagir",comment:"Comentar",share:"Compartilhar",repost:"Recompartilhar"},timer:{extend:"Estender",reactivate:"Reativar",expired:"Expirou"},comments:{options:{edit:"Editar",delete:"Excluir","switch-profile":{title:"Trocar perfil",description:"Selecione o perfil que deseja usar para comentar nesta publica\xE7\xE3o.",button:{confirm:"Confirmar",cancel:"Cancelar"},"commenting-as":"Comentando como...",search:"Pesquisar","confirm-comment":"Voc\xEA realmente quer comentar usando esta p\xE1gina?","no-results":'Nenhum perfil encontrado para "{searchQuery}"'}},comment:"Comentar na publica\xE7\xE3o",answer:"Escreva sua resposta",actions:{answer:"Responder",react:"Reagir"},delete:{label:"Excluir",title:"Excluir coment\xE1rio",description:"Tem certeza de que deseja excluir este coment\xE1rio?",toasts:{error:{title:"Erro ao excluir coment\xE1rio!",label:"Ocorreu um erro ao excluir o coment\xE1rio. Tente novamente."}}},edit:{save:"Salvar",cancel:"Cancelar"}}}},"delete-modal":{title:"Excluir publica\xE7\xE3o",description:"Tem certeza de que deseja excluir esta publica\xE7\xE3o?"},"share-modal":{post:{"shared-by":"Compartilhado por","share-now":"Compartilhar agora",title:"Compartilhar publica\xE7\xE3o","in-community":{title:"Compartilhar na comunidade",empty:"Voc\xEA n\xE3o faz parte de nenhuma comunidade ainda."},"in-chat":{title:"Compartilhar no chat"},to:{title:"Compartilhar para",page:"P\xE1gina"},"empty-message":"Voc\xEA n\xE3o faz parte de nenhuma comunidade ainda."}},"medias-modal":{"loading-medias":"Carregando m\xEDdias...",added:{title:"M\xEDdia adicionada"},"edit-media":"Editar m\xEDdia"},done:"Conclu\xEDdo",toasts:{create:{creating:{title:"Criando publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo criada. Voc\xEA pode continuar editando enquanto isso."},success:{title:"Publica\xE7\xE3o criada com sucesso!",description:"Sua publica\xE7\xE3o foi criada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao criar publica\xE7\xE3o!",description:"Ocorreu um erro ao criar sua publica\xE7\xE3o. Tente novamente."}},edit:{editing:{title:"Editando publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo editada. Voc\xEA pode continuar trabalhando enquanto isso."},success:{title:"Publica\xE7\xE3o editada com sucesso!",description:"Sua publica\xE7\xE3o foi editada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao editar publica\xE7\xE3o!",description:"Ocorreu um erro ao editar sua publica\xE7\xE3o. Tente novamente."}},delete:{deleting:{title:"Excluindo publica\xE7\xE3o...",description:"Sua publica\xE7\xE3o est\xE1 sendo exclu\xEDda. Voc\xEA pode continuar navegando enquanto isso."},success:{title:"Publica\xE7\xE3o exclu\xEDda com sucesso!",description:"Sua publica\xE7\xE3o foi exclu\xEDda com sucesso."},error:{title:"Erro ao excluir publica\xE7\xE3o!",description:"Ocorreu um erro ao excluir sua publica\xE7\xE3o. Tente novamente."}},share:{success:{title:"Publica\xE7\xE3o compartilhada com sucesso!",description:"Sua publica\xE7\xE3o foi compartilhada com sucesso. Agora voc\xEA pode compartilh\xE1-la com seus amigos."},error:{title:"Erro ao compartilhar publica\xE7\xE3o!",description:"Ocorreu um erro ao compartilhar sua publica\xE7\xE3o. Tente novamente."}},extend:{success:{title:"Tempo estendido com sucesso!",description:"O tempo de expira\xE7\xE3o da sua publica\xE7\xE3o foi estendido com sucesso."},error:{title:"Erro ao estender tempo!",description:"N\xE3o foi poss\xEDvel estender o tempo de expira\xE7\xE3o da publica\xE7\xE3o. Tente novamente."}}},"post-stats-modal":{title:"Estat\xEDsticas da publica\xE7\xE3o",createdAt:"Publicado em",engagement:{options:{impressions:"Impress\xF5es",likes:"Curtidas",comments:"Coment\xE1rios",shares:"Compartilhamentos"},posts:{back:"Voltar","post-impressions":{title:"Impress\xF5es da publica\xE7\xE3o","posted-at":"Publicado em",remain:{label:"Restante",hours:"horas"},"social-media-impact":{title:"Impacto nas redes sociais",reactions:"Rea\xE7\xF5es",comments:"Coment\xE1rios",shares:"Compartilhamentos","no-impact":{comments:"Nenhuma altera\xE7\xE3o necess\xE1ria"}},views:{title:"Visualiza\xE7\xF5es","viewed-at":"Visualizado em","all-reactions":"Todas as rea\xE7\xF5es"}},title:"Publica\xE7\xF5es",tip:"Publica\xE7\xF5es frequentes podem aumentar suas chances de ser descoberto e destaque em at\xE9 3x.","create-post":"Criar publica\xE7\xE3o",discovers:{title:"Descobertas","users-reached":"Usu\xE1rios alcan\xE7ados"}}},stats:{reactions:"Rea\xE7\xF5es",comments:"Coment\xE1rios",shares:"Compartilhamentos",views:"Visualiza\xE7\xF5es","last-days":"nos \xFAltimos 7 dias"},schedule:{title:"Agendar publica\xE7\xE3o","select-date":"Selecionar data","select-time":"Selecionar hor\xE1rio","scheduled-for":"Agendado para",confirm:"Agendar publica\xE7\xE3o","scheduled-indicator":"Agendado para"}}}};var iS={feed:{post:"Post","posts-not-found":{title:"No posts found",description:"Create a post to start engaging with the community."},"post-filters":{all:"All",connections:"Connections",contacts:"Contacts",communities:"Communities"},communities:{title:"Communities",explore:"See all",tabs:{explore:"Explore communities",my:"My communities",requests:"Requests","contact-communities":"Communities your contacts are part of","interested-communities":"Communities that may interest you","view-more-communities":"View more communities",back:"Back","join-community":"Join community","cancel-join":"Cancel",loading:"Loading...",loadMore:"Load more"}},pages:{title:"Pages for you",explore:"Explore",my:"My pages","for-you":"Pages for you",popular:"Popular pages","view-more":"View more pages",follow:"Follow",following:"Following"},users:{title:"People",explore:"See all",tabs:{explore:"Explore people",following:"People I follow",followers:"My followers","contact-people":"People your contacts know","suggested-people":"People you may know","view-more-people":"View more people",back:"Back",follow:"Follow",unfollow:"Unfollow",loading:"Loading...",loadMore:"Load more"}},"users-suggestion":{title:"Suggestions for you","view-more":"More suggestions"},"suggestions-modal":{users:"People suggestions",communities:"Community suggestions",pages:"Page suggestions",placeholder:"Search"},reels:{title:"Clips",button:"Create a clip","remaining-time":"Remaining ","remaining-time-plural":"Remain ",expired:"Post expired","remaining-time-seconds":"seconds","remaining-time-minutes":"minutes","remaining-time-hours":"hours","remaining-time-days":"days","remaining-time-months":"months","remaining-time-years":"years",comments:{title:"Comments",reply:"Reply",like:"Liked",likes:"likes","add-comment":"Add a comment...",edited:"(Edited)","load-more-comments":"Load more comments","show-less-comments":"Show less comments","load-more-answers":"Load more answers","show-less-answers":"Show less answers",loading:"Loading..."}},streaming:{"upcoming-streams":"Scheduled lives","browse-streams":"Explore more lives"},messages:{title:"Messages","view-all":"View all"},"share-post":{title:"Share post","copy-link":{"post-card-label":"Copy post link",label:"Copy link",success:{title:"Link copied successfully!",description:"The post link was copied successfully. Now you can share it with your friends."},error:{title:"Error copying post link!",description:"An error occurred while copying the post link. Please try again."}}},"create-post":{title:"Create post","start-a-post":"Start a post","add-description":"Add a description...",options:{midia:"Media",job:"Jobs",reels:"Clips",article:"Article",emoji:"Emoji",mention:"Mention",schedule:"Schedule",scheduling:"Appoitments","saved-items":"Saved items"},schedule:{"base-on-your-location":"based on your location","select-date":"Select Date","select-time":"Select Time","scheduled-for":"Scheduled for",confirm:"Schedule Post","set-date-time":"Set the day and time for publication","cancel-button":"Cancel","schedule-button":"Schedule","schedule-publication":"Schedule Publication","publish-ideal-time":"Publish at the ideal time","publication-scheduled-for":"Post scheduled for","no-post-scheduled":"No post scheduled","no-scheduled-posts-yet":"You don\u2019t have any scheduled posts yet","close-button":"Close","scheduled-publications":"Scheduled posts","view-upcoming-publications":"See what will be published soon","edit-button":"Edit","delete-button":"Delete","loading-scheduled-posts":"Loading scheduled posts...","loading-pages":"Loading pages..."},filters:{all:"All",connections:"Connections",communities:"Communities"},buttons:{save:"Save",saving:"Saving...",resume:"Resume",publish:"Publish",publishing:"Publishing..."},reel:{"upload-prompt":{title:"Drag, drop, and see the magic in 30 seconds! \u{1F680}\u{1F3A5}",button:"Select video"}}},"post-card":{community:{"published-in":"Also published in the community",enter:"Join community"},page:{"published-by":"Published by page"},"not-found":{"users-not-found":"No users found",title:"Post not found",description:"The post you are looking for does not exist."},user:{follow:"Follow",unfollow:"Unfollow","make-contact":"Make contact",following:"Following",contact:"Contact"},content:{"view-more":"View more","view-less":"View less"},post:{options:{save:"Save","view-stats":"View stats","copy-link":"Copy post link",delete:"Delete post",edit:"Edit post"},reactions:{agree:"Support",dislike:"Disagree",love:"Love",genial:"Brilliant",haha:"Haha",like:"Like","no-comments":"No comments"},stats:{reactions:"reaction(s)",comments:"comment(s)",shares:"share(s)",stats:"Statistics"},audio:{listen:"Listen",pause:"Pause",resume:"Resume",restart:"Restart",stop:"Stop"},actions:{react:"React",comment:"Comment",share:"Share",repost:"Repost"},timer:{extend:"Extend",reactivate:"Reactivate",expired:"Expired"},comments:{options:{edit:"Edit",delete:"Delete","switch-profile":{title:"Switch profile",description:"Select the profile you want to use to comment on this post.",button:{confirm:"Confirm",cancel:"Cancel"},"commenting-as":"Commenting as...",search:"Search","confirm-comment":"Do you really want to comment using this page?","no-results":'No profiles found for "{searchQuery}"'}},comment:"Comment on post",answer:"Write your reply",actions:{answer:"Reply",react:"React"},delete:{label:"Delete",title:"Delete comment",description:"Are you sure you want to delete this comment?",toasts:{error:{title:"Error deleting comment!",label:"An error occurred while deleting the comment. Please try again."}}},edit:{save:"Save",cancel:"Cancel"}}}},"delete-modal":{title:"Delete post",description:"Are you sure you want to delete this post?"},"share-modal":{post:{"shared-by":"Shared by","share-now":"Share now",title:"Share post","in-community":{title:"Share in community"},"empty-message":"You are not part of any community yet.","in-chat":{title:"Share in chat"},to:{title:"Share to",page:"Page"}}},"medias-modal":{"loading-medias":"Loading media...",added:{title:"Media added"},"edit-media":"Edit media"},done:"Done",toasts:{create:{creating:{title:"Creating post...",description:"Your post is being created. You can keep editing in the meantime."},success:{title:"Post created successfully!",description:"Your post was created successfully. You can now share it with your friends."},error:{title:"Error creating post!",description:"An error occurred while creating your post. Please try again."}},edit:{editing:{title:"Editing post...",description:"Your post is being edited. You can keep working while it\u2019s updated."},success:{title:"Post edited successfully!",description:"Your post was edited successfully. You can now share it with your friends."},error:{title:"Error editing post!",description:"An error occurred while editing your post. Please try again."}},delete:{deleting:{title:"Deleting post...",description:"Your post is being deleted. You can keep browsing in the meantime."},success:{title:"Post deleted successfully!",description:"Your post was deleted successfully."},error:{title:"Error deleting post!",description:"An error occurred while deleting your post. Please try again."}},share:{success:{title:"Post shared successfully!",description:"Your post was shared successfully. You can now share it with your friends."},error:{title:"Error sharing post!",description:"An error occurred while sharing your post. Please try again."}},extend:{success:{title:"Time extended successfully!",description:"Your post expiration time has been extended successfully."},error:{title:"Error extending time!",description:"Could not extend the post expiration time. Please try again."}}},"post-stats-modal":{title:"Post statistics",createdAt:"Published on",engagement:{options:{impressions:"Impressions",likes:"Likes",comments:"Comments",shares:"Shares"},posts:{back:"Back","post-impressions":{title:"Post impressions","posted-at":"Posted on",remain:{label:"Remaining",hours:"hours"},"social-media-impact":{title:"Social media impact",reactions:"Reactions",comments:"Comments",shares:"Shares","no-impact":{comments:"No changes needed"}},views:{title:"Views","viewed-at":"Viewed on","all-reactions":"All reactions"}},title:"Posts",tip:"Frequent posts can increase your chances of being discovered and featured by up to 3x.","create-post":"Create post",discovers:{title:"Discoveries","users-reached":"Users reached"}}},stats:{reactions:"Reactions",comments:"Comments",shares:"Shares",views:"Views","last-days":"in the last 7 days"},schedule:{title:"Schedule Post","select-date":"Select Date","select-time":"Select Time","scheduled-for":"Scheduled for",confirm:"Schedule Post","scheduled-indicator":"Scheduled for"}}}};var lS={feed:{post:"Publication","posts-not-found":{title:"Aucune publication trouv\xE9e",description:"Cr\xE9ez une publication pour commencer \xE0 interagir avec la communaut\xE9."},"post-filters":{all:"Tous",connections:"Connexions",contacts:"Contacts",communities:"Communaut\xE9s"},communities:{title:"Communaut\xE9s",explore:"Voir tout",tabs:{explore:"Explorer les communaut\xE9s",my:"Mes communaut\xE9s",requests:"Demandes","contact-communities":"Communaut\xE9s dont vos contacts font partie","interested-communities":"Communaut\xE9s qui pourraient vous int\xE9resser","view-more-communities":"Voir plus de communaut\xE9s",back:"Retour","join-community":"Rejoindre"}},pages:{title:"Pages pour vous",explore:"Explorer",my:"Mes pages","for-you":"Pages pour vous",popular:"Pages populaires","view-more":"Voir plus de pages",follow:"Suivre",following:"Suivant"},users:{title:"Personnes",explore:"Voir tout",tabs:{explore:"Explorer les personnes",following:"Personnes que je suis",followers:"Mes abonn\xE9s","contact-people":"Personnes que vos contacts connaissent","suggested-people":"Personnes que vous pourriez conna\xEEtre","view-more-people":"Voir plus de personnes",back:"Retour",follow:"Suivre",unfollow:"Ne plus suivre",loading:"Chargement...",loadMore:"Charger plus"}},"users-suggestion":{title:"Suggestions pour vous","view-more":"Plus de suggestions"},"suggestions-modal":{users:"Suggestions de personnes",communities:"Suggestions de communaut\xE9s",pages:"Suggestions de pages",placeholder:"Rechercher"},reels:{title:"Clips",button:"Cr\xE9er un clip","remaining-time":"Il reste ","remaining-time-plural":"Restent ",expired:"Publication expir\xE9e","remaining-time-seconds":"secondes","remaining-time-minutes":"minutes","remaining-time-hours":"heures","remaining-time-days":"jours","remaining-time-months":"mois","remaining-time-years":"ann\xE9es",comments:{title:"Commentaires",reply:"R\xE9pondre",like:"Aim\xE9",likes:"mentions J'aime","add-comment":"Ajouter un commentaire...",edited:"(Modifi\xE9)","load-more-comments":"Charger plus de commentaires","show-less-comments":"Afficher moins de commentaires","load-more-answers":"Charger plus de r\xE9ponses","show-less-answers":"Afficher moins de r\xE9ponses",loading:"Chargement..."}},streaming:{"upcoming-streams":"Lives programm\xE9s","browse-streams":"Explorer plus de lives"},messages:{title:"Messages","view-all":"Voir tout"},"share-post":{title:"Partager la publication","copy-link":{"post-card-label":"Copier le lien de la publication",label:"Copier le lien",success:{title:"Lien copi\xE9 avec succ\xE8s !",description:"Le lien de la publication a \xE9t\xE9 copi\xE9 avec succ\xE8s. Vous pouvez maintenant le partager avec vos amis."},error:{title:"Erreur lors de la copie du lien !",description:"Une erreur s'est produite lors de la copie du lien de la publication. Veuillez r\xE9essayer."}}},"create-post":{title:"Cr\xE9er une publication","start-a-post":"Commencez une publication","add-description":"Ajoutez une description...",options:{midia:"M\xE9dia",job:"Offre d'emploi",reels:"Clips",article:"Article",emoji:"\xC9moji",mention:"Mentionner",schedule:"Programmer","saved-items":"\xC9l\xE9ments enregistr\xE9s"},schedule:{"base-on-your-location":"selon votre localisation","select-date":"S\xE9lectionner la date","select-time":"S\xE9lectionner l'heure","scheduled-for":"Pr\xE9vu pour",confirm:"Programmer la publication","set-date-time":"D\xE9finir la date et l'heure de publication","cancel-button":"Annuler","schedule-button":"Programmer","schedule-publication":"Programmer la publication","publish-ideal-time":"Publiez au moment id\xE9al","publication-scheduled-for":"Publication pr\xE9vue pour","no-post-scheduled":"Aucune publication programm\xE9e","no-scheduled-posts-yet":"Vous n'avez pas encore de publications programm\xE9es","close-button":"Fermer","scheduled-publications":"Publications programm\xE9es","view-upcoming-publications":"Voir les publications \xE0 venir","edit-button":"Modifier","delete-button":"Supprimer","loading-scheduled-posts":"Chargement des publications programm\xE9es...","loading-pages":"Chargement des pages..."},filters:{all:"Tous",connections:"Connexions",communities:"Communaut\xE9s"},buttons:{save:"Enregistrer",saving:"Enregistrement...",resume:"Reprendre",publish:"Publier",publishing:"Publication..."},reel:{"upload-prompt":{title:"Glissez, d\xE9posez et voyez le changement en 30 secondes ! \u{1F680}\u{1F3A5}",button:"S\xE9lectionner une vid\xE9o"}}},"post-card":{community:{"published-in":"\xC9galement publi\xE9 dans la communaut\xE9",enter:"Rejoindre la communaut\xE9"},page:{"published-by":"Publi\xE9 par la page"},"not-found":{"users-not-found":"Aucun utilisateur trouv\xE9",title:"Publication introuvable",description:"La publication que vous recherchez n'existe pas."},user:{follow:"Suivre",unfollow:"Ne plus suivre","make-contact":"Entrer en contact",following:"Suivi",contact:"Contact"},content:{"view-more":"Voir plus","view-less":"Voir moins"},post:{options:{save:"Enregistrer","view-stats":"Voir les statistiques","copy-link":"Copier le lien de la publication",delete:"Supprimer la publication",edit:"Modifier la publication"},reactions:{agree:"Soutien",dislike:"\xCAtre en d\xE9saccord",love:"J'adore",genial:"G\xE9nial",haha:"Rires",like:"J'aime","no-comments":"Aucun commentaire"},stats:{reactions:"r\xE9action(s)",comments:"commentaire(s)",shares:"partage(s)",stats:"Statistiques"},audio:{listen:"\xC9couter",pause:"Pause",resume:"Reprendre",restart:"Recommencer",stop:"Arr\xEAter"},actions:{react:"R\xE9agir",comment:"Commenter",share:"Partager",repost:"Reposter"},timer:{extend:"Prolonger",reactivate:"R\xE9activer",expired:"Expir\xE9"},comments:{options:{edit:"Modifier",delete:"Supprimer","switch-profile":{title:"Changer de profil",description:"S\xE9lectionnez le profil que vous souhaitez utiliser pour commenter cette publication.",button:{confirm:"Confirmer",cancel:"Annuler"},"commenting-as":"Commenter en tant que...",search:"Rechercher","confirm-comment":"Voulez-vous vraiment commenter avec cette page ?","no-results":"Aucun profil trouv\xE9 pour \xAB {searchQuery} \xBB"}},comment:"Commenter la publication",answer:"\xC9crivez votre r\xE9ponse",actions:{answer:"R\xE9pondre",react:"R\xE9agir"},delete:{label:"Supprimer",title:"Supprimer le commentaire",description:"\xCAtes-vous s\xFBr de vouloir supprimer ce commentaire ?",toasts:{error:{title:"Erreur lors de la suppression du commentaire !",label:"Une erreur s'est produite lors de la suppression du commentaire. Veuillez r\xE9essayer."}}},edit:{save:"Enregistrer",cancel:"Annuler"}}}},"delete-modal":{title:"Supprimer la publication",description:"\xCAtes-vous s\xFBr de vouloir supprimer cette publication ?"},"share-modal":{post:{"shared-by":"Partag\xE9 par","share-now":"Partager maintenant",title:"Partager la publication","in-community":{title:"Partager dans la communaut\xE9"},"empty-message":"Vous n'\xEAtes pas membre de aucune communaut\xE9 encore.","in-chat":{title:"Partager dans le chat"},to:{title:"Partager sur",page:"Page"}}},"medias-modal":{"loading-medias":"Chargement des m\xE9dias...",added:{title:"M\xE9dias ajout\xE9s"},"edit-media":"Modifier le m\xE9dia"},done:"Termin\xE9",toasts:{create:{creating:{title:"Cr\xE9ation de la publication...",description:"Votre publication est en cours de cr\xE9ation. Vous pouvez continuer \xE0 modifier pendant le processus."},success:{title:"Publication cr\xE9\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 cr\xE9\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors de la cr\xE9ation de la publication !",description:"Une erreur s'est produite lors de la cr\xE9ation de votre publication. Veuillez r\xE9essayer."}},edit:{editing:{title:"Modification de la publication...",description:"Votre publication est en cours de modification. Vous pouvez continuer \xE0 \xE9diter pendant le processus."},success:{title:"Publication modifi\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 modifi\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors de la modification de la publication !",description:"Une erreur s'est produite lors de la modification de votre publication. Veuillez r\xE9essayer."}},delete:{deleting:{title:"Suppression de la publication...",description:"Votre publication est en cours de suppression. Vous pouvez continuer \xE0 naviguer pendant le processus."},success:{title:"Publication supprim\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 supprim\xE9e avec succ\xE8s."},error:{title:"Erreur lors de la suppression de la publication !",description:"Une erreur s'est produite lors de la suppression de votre publication. Veuillez r\xE9essayer."}},share:{success:{title:"Publication partag\xE9e avec succ\xE8s !",description:"Votre publication a \xE9t\xE9 partag\xE9e avec succ\xE8s. Vous pouvez maintenant la partager avec vos amis."},error:{title:"Erreur lors du partage de la publication !",description:"Une erreur s'est produite lors du partage de votre publication. Veuillez r\xE9essayer."}},extend:{success:{title:"Dur\xE9e prolong\xE9e avec succ\xE8s !",description:"La dur\xE9e d'expiration de votre publication a \xE9t\xE9 prolong\xE9e avec succ\xE8s."},error:{title:"Erreur lors de la prolongation !",description:"Impossible de prolonger la dur\xE9e d'expiration de la publication. Veuillez r\xE9essayer."}}},"post-stats-modal":{title:"Statistiques de la publication",createdAt:"Publi\xE9 le",engagement:{options:{impressions:"Impressions",likes:"Mentions J'aime",comments:"Commentaires",shares:"Partages"},posts:{back:"Retour","post-impressions":{title:"Impressions de la publication","posted-at":"Publi\xE9 le",remain:{label:"Restant",hours:"heures"},"social-media-impact":{title:"Impact sur les r\xE9seaux sociaux",reactions:"R\xE9actions",comments:"Commentaires",shares:"Partages","no-impact":{comments:"Aucun changement n\xE9cessaire"}},views:{title:"Vues","viewed-at":"Vu le","all-reactions":"Toutes les r\xE9actions"}},title:"Publications",tip:"Publier fr\xE9quemment augmente jusqu'\xE0 3\xD7 vos chances d'\xEAtre d\xE9couvert et mis en avant.","create-post":"Cr\xE9er une publication",discovers:{title:"D\xE9couvertes","users-reached":"Utilisateurs atteints"}}},stats:{reactions:"R\xE9actions",comments:"Commentaires",shares:"Partages",views:"Vues","last-days":"des 7 derniers jours"},schedule:{title:"Programmer la publication","select-date":"S\xE9lectionner la date","select-time":"S\xE9lectionner l'heure","scheduled-for":"Pr\xE9vu pour",confirm:"Programmer la publication","scheduled-indicator":"Pr\xE9vu pour"}}}};var dS={article:{title:"Artigo",editor:{placeholder:"Comece a escrever seu artigo...","title-placeholder":"T\xEDtulo do artigo"},hashtags:{"suggested-title":"Hastags sugeridas:",default:{professionals:"Profissionais",companies:"Empresas",innovation:"Inova\xE7\xE3o",angola:"Angola"}},upload:{"uploading-single":"Enviando imagem...","uploading-multiple":"Enviando {{count}} imagens...","click-to-upload":"Clique para enviar","drag-and-drop":"ou arraste e solte","uploading-files":"Enviando {{count}} arquivos","clear-all":"Limpar tudo","no-file-selected":"Nenhum arquivo selecionado","no-files-to-upload":"Nenhum arquivo para enviar","max-files-error":"M\xE1ximo {{limit}} arquivo{{plural}} permitido{{plural}}","file-size-error":"Tamanho do arquivo excede o m\xE1ximo permitido ({{maxSize}}MB)","upload-failed":"Falha no upload","no-url-returned":"Falha no upload: Nenhuma URL retornada","upload-function-not-defined":"Fun\xE7\xE3o de upload n\xE3o definida"},buttons:{publish:"Publicar",publishing:"Publicando...",save:"Salvar",saving:"Salvando..."}}};var cS={article:{title:"Article",editor:{placeholder:"Start writing your article...","title-placeholder":"Article title"},hashtags:{"suggested-title":"Suggested hashtags:",default:{professionals:"Professionals",companies:"Companies",innovation:"Innovation",angola:"Angola"}},upload:{"uploading-single":"Uploading image...","uploading-multiple":"Uploading {{count}} images...","click-to-upload":"Click to upload","drag-and-drop":"or drag and drop","uploading-files":"Uploading {{count}} files","clear-all":"Clear All","no-file-selected":"No file selected","no-files-to-upload":"No files to upload","max-files-error":"Maximum {{limit}} file{{plural}} allowed","file-size-error":"File size exceeds maximum allowed ({{maxSize}}MB)","upload-failed":"Upload failed","no-url-returned":"Upload failed: No URL returned","upload-function-not-defined":"Upload function is not defined"},buttons:{publish:"Publish",publishing:"Publishing...",save:"Save",saving:"Saving..."}}};var pS={article:{title:"Article",editor:{placeholder:"Commencez \xE0 \xE9crire votre article...","title-placeholder":"Titre de l'article"},hashtags:{"suggested-title":"Hashtags sugg\xE9r\xE9s :",default:{professionals:"Professionnels",companies:"Entreprises",innovation:"Innovation",angola:"Angola"}},upload:{"uploading-single":"T\xE9l\xE9chargement de l'image...","uploading-multiple":"T\xE9l\xE9chargement de {{count}} images...","click-to-upload":"Cliquez pour t\xE9l\xE9charger","drag-and-drop":"ou glissez-d\xE9posez","uploading-files":"T\xE9l\xE9chargement de {{count}} fichiers","clear-all":"Tout effacer","no-file-selected":"Aucun fichier s\xE9lectionn\xE9","no-files-to-upload":"Aucun fichier \xE0 t\xE9l\xE9charger","max-files-error":"Maximum {{limit}} fichier{{plural}} autoris\xE9{{plural}}","file-size-error":"La taille du fichier d\xE9passe le maximum autoris\xE9 ({{maxSize}}MB)","upload-failed":"\xC9chec du t\xE9l\xE9chargement","no-url-returned":"\xC9chec du t\xE9l\xE9chargement : Aucune URL retourn\xE9e","upload-function-not-defined":"Fonction de t\xE9l\xE9chargement non d\xE9finie"},buttons:{publish:"Publier",publishing:"Publication...",save:"Sauvegarder",saving:"Sauvegarde..."}}};var mS={pt:sS,en:iS,fr:lS};var uS={pt:dS,en:cS,fr:pS};function Oe(){let{translate:e}=Qm(mS);return {translate:e}}function Ja(){let{translate:e}=Qm(uS);return {translate:e}}var Zi=vf.gql`
1810
1810
  mutation CreatePost($createPostInput: CreatePostInput!) {
1811
1811
  createPost(createPostInput: $createPostInput) {
1812
1812
  id
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirantes-micro/foundation-design-system",
3
3
  "description": "A scalable and customizable design system package featuring a collection of reusable React components, utility functions, and context providers. Built to enforce visual and functional consistency across applications, this package offers accessible, themeable UI elements, shared logic through utility helpers, and context-based providers for managing global state such as themes, modals, and user sessions.",
4
- "version": "1.2.182",
4
+ "version": "1.2.184",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Mirantes Frontend team"