1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8196,8783],{10931:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/metrics-calculator/[handle]",function(){return n(42554)}])},5599:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(85893);n(67294);var o=n(9008),a=n.n(o),s=n(34155);let i=e=>{let{title:t="Twitter \uD835\uDD4F Metrics Calculator â Engagement Rate & Analytics | tweethunter",desc:n="Find detailed analytics insights for any Twitter/\uD835\uDD4F profile. Engagement rate, average views, median engagement, and more. Free and instant.",url:o="https://tweethunter.io/metrics-calculator",image:i="",handle:l=""}=e,c=l?"@".concat(l," Twitter/\uD835\uDD4F Metrics â Engagement Rate & Analytics | tweethunter"):t,u=l?"https://tweethunter.io/metrics-calculator/".concat(l):o;return i||(i="https://ondemand.bannerbear.com/simpleurl/9MOpzJ843LWBnGWYvq/image/title/text/"+encodeURIComponent(c.replace(" | tweethunter",""))),(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:c}),(0,r.jsx)("link",{rel:"canonical",href:u}),(0,r.jsx)("meta",{name:"description",content:n}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twcard"),(0,r.jsx)("meta",{name:"twitter:title",content:c}),(0,r.jsx)("meta",{name:"twitter:description",content:n}),(0,r.jsx)("meta",{property:"og:url",content:u},"ogurl"),(0,r.jsx)("meta",{property:"og:image",content:i},"ogimage"),(0,r.jsx)("meta",{property:"og:title",content:c},"ogtitle"),(0,r.jsx)("meta",{property:"og:description",content:n},"ogdesc"),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,r.jsx)("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(s.env.NEXT_PUBLIC_GOOGLE_ANALYTICS)}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(s.env.NEXT_PUBLIC_GOOGLE_ANALYTICS,"');\n ")}})]})}},3335:function(e,t,n){"use strict";n.d(t,{V:function(){return m}});var r=n(85893),o=n(67294),a=n(23100),s=n(36979),i=n(90634),l=n(14418),c=n(88911),u=n(28129),d=n(29222),g=n(11163);let m=()=>{let[e,t]=(0,o.useState)(""),[n,m]=(0,o.useState)(!1),h=(0,g.useRouter)(),p=()=>{let t=e.replace("@","").trim();if(!t)return;let n=t.includes(".com/")?t.split(".com/").pop():t;m(!0),h.push("/metrics-calculator/".concat(n))};return(0,r.jsx)(a.xu,{bg:"gray.50",py:{base:10,md:16},children:(0,r.jsx)(s.W,{maxW:"container.md",children:(0,r.jsxs)(i.g,{spacing:6,textAlign:"center",children:[(0,r.jsx)(l.X,{as:"h1",fontSize:{base:"2xl",md:"4xl"},fontWeight:"800",children:"Twitter \uD835\uDD4F Metrics Calculator"}),(0,r.jsx)(c.x,{color:"gray.600",fontSize:{base:"md",md:"lg"},maxW:"520px",children:"Find detailed analytics insights for any Twitter/\uD835\uDD4F profile. Engagement rate, average views, and more."}),(0,r.jsxs)(i.g,{spacing:4,w:"100%",maxW:"400px",pt:4,children:[(0,r.jsx)(u.I,{placeholder:"@username or profile URL",value:e,onChange:e=>t(e.target.value),onKeyDown:e=>{"Enter"===e.key&&p()},size:"lg",bg:"white",borderColor:"gray.300",_focus:{borderColor:"#3DA4EF",boxShadow:"0 0 0 1px #3DA4EF"}}),(0,r.jsx)(d.z,{w:"100%",size:"lg",bg:"#3DA4EF",color:"white",fontWeight:"600",_hover:{bg:"#2b8fd4"},onClick:p,isLoading:n,loadingText:"Loading...",children:"Analyze Profile"})]})]})})})}},501:function(e,t,n){"use strict";n.d(t,{o:function(){return g}});var r=n(85893),o=n(23100),a=n(88911),s=n(36979),i=n(90634),l=n(14418),c=n(31708);let u=[{question:"What metrics does this Twitter/\uD835\uDD4F calculator show?",answer:"Total views, average and median views per post, views-to-followers ratio, total engagements (likes + replies + reposts), average and median engagements per post, engagements-to-followers ratio, and your overall Twitter/\uD835\uDD4F engagement rate."},{question:"How is the engagement rate calculated?",answer:"Engagement rate = total engagements / total impressions across your last 100 original posts (excluding replies and retweets). This is the standard formula used by social media professionals."},{question:"Why do you show median alongside average?",answer:"Averages can be skewed by a single viral post. Median gives you a more honest picture of how your typical post performs â it's the number where half your posts do better and half do worse."},{question:"How many posts are analyzed?",answer:"We analyze your last 100 original posts (excluding replies and retweets). This gives a statistically meaningful sample while keeping the analysis focused on recent performance."},{question:"How often is the data refreshed?",answer:"Results are cached for 24 hours. If you check the same profile again within that window, you'll see cached results. After 24 hours, fresh data is fetched from the \uD835\uDD4F API."},{question:"Can I check any Twitter/\uD835\uDD4F profile?",answer:"Yes â you can analyze any public Twitter/\uD835\uDD4F profile. Private accounts or accounts with very few posts may not return complete results."}],d=e=>{let{question:t,answer:n}=e;return(0,r.jsxs)(o.xu,{bg:"white",p:5,borderRadius:"lg",border:"1px solid",borderColor:"gray.100",children:[(0,r.jsx)(a.x,{fontWeight:"700",fontSize:"sm",mb:2,children:t}),(0,r.jsx)(a.x,{fontSize:"sm",color:"gray.600",children:n})]})},g=()=>(0,r.jsx)(o.xu,{bg:"gray.50",py:{base:10,md:16},children:(0,r.jsx)(s.W,{maxW:"container.lg",children:(0,r.jsxs)(i.g,{spacing:6,children:[(0,r.jsx)(l.X,{as:"h2",fontSize:{base:"xl",md:"2xl"},fontWeight:"700",children:"Frequently Asked Questions"}),(0,r.jsx)(c.r,{templateColumns:{base:"1fr",md:"repeat(2, 1fr)"},gap:4,w:"100%",children:u.map(e=>(0,r.jsx)(d,{...e},e.question))})]})})})},42554:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return q},default:function(){return V}});var r=n(85893),o=n(67294),a=n(7754),s=n(88911),i=n(51194),l=n.n(i),c=n(30319),u=n.n(c),d=n(73352),g=n(62656),m=n(78854),h=n(80874),p=n(5599),x=n(3335),f=n(57577),w=n(23100),v=n(11028),j=n(47441),b=n(47523),y=n(33229),D=n(36979),E=n(90634),C=n(204),_=n(25416),F=n(14418),k=n(33838),P=n(29222),S=n(97822),W=n(31708),T=(0,n(40078).I)({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}),z=n(48441);function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toFixed(t)}function L(e){return(100*e).toFixed(2)+"%"}function A(e){let{value:t,average:n}=e;if(!n||0===n)return null;let o=(t-n)/n*100,a=o>=0;return(0,r.jsxs)(f.v,{fontSize:"xs",color:a?"green.600":"red.500",mt:1,mb:0,children:[a?"â²":"â¼"," ",Math.abs(o).toFixed(0),"% ",a?"above":"below"," avg"]})}function O(e){let{label:t,value:n,tooltip:o,numericValue:a,average:s}=e;return(0,r.jsx)(w.xu,{bg:"white",p:5,borderRadius:"lg",border:"1px solid",borderColor:"gray.100",shadow:"sm",children:(0,r.jsxs)(v.k,{children:[(0,r.jsxs)(j.d,{fontSize:"xs",color:"gray.500",children:[t,o&&(0,r.jsx)(b.u,{label:o,fontSize:"xs",hasArrow:!0,children:(0,r.jsx)(T,{ml:1,w:3,h:3,color:"gray.400"})})]}),(0,r.jsx)(y.J,{fontSize:"xl",fontWeight:"700",children:n}),void 0!==a&&void 0!==s&&(0,r.jsx)(A,{value:a,average:s})]})})}let M=e=>{var t,n,o,a,i,l,c,u,d,g,m,h;let{data:p,averages:x}=e,f="My \uD835\uDD4F profile analytics:\n\uD83D\uDCCA ".concat(R(
1p.totalViews)," total views\n\uD83D\uDCAC ").concat(L(p.averageEngagementRate)," engagement rate\n\uD83D\uDC65 ").concat(R(p.followersCount)," followers\n\nCheck yours:"),v="https://tweethunter.io/metrics-calculator/".concat(p.screen_name),j="https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(f+" "+v));return(0,r.jsx)(w.xu,{py:{base:8,md:12},children:(0,r.jsx)(D.W,{maxW:"container.lg",children:(0,r.jsxs)(E.g,{spacing:8,children:[(0,r.jsxs)(C.k,{alignItems:"center",gap:4,children:[(0,r.jsx)(_.q,{src:p.profile_image_url_https,name:p.name,size:"lg"}),(0,r.jsxs)(w.xu,{children:[(0,r.jsx)(F.X,{as:"h2",fontSize:"xl",fontWeight:"700",children:p.name}),(0,r.jsxs)(s.x,{color:"gray.500",fontSize:"sm",children:["@",p.screen_name," \xb7 ",R(p.followersCount)," ","followers \xb7 Based on last ",p.postCount," posts"]})]})]}),(0,r.jsx)(k.r,{href:j,isExternal:!0,_hover:{textDecoration:"none"},onClick:()=>(0,z.L)("metrics_share",{tool:"metrics-calculator",platform:"x"}),children:(0,r.jsx)(P.z,{variant:"outline",size:"sm",borderColor:"gray.300",color:"gray.700",_hover:{bg:"gray.50"},children:"Share on \uD835\uDD4F"})}),(0,r.jsx)(S.i,{}),(0,r.jsxs)(w.xu,{w:"100%",children:[(0,r.jsx)(F.X,{as:"h3",fontSize:"md",fontWeight:"600",mb:4,children:"\uD83D\uDCC8 Reach"}),(0,r.jsxs)(W.r,{templateColumns:{base:"1fr",md:"repeat(2, 1fr)",lg:"repeat(4, 1fr)"},gap:4,children:[(0,r.jsx)(O,{label:"Total Views",value:R(p.totalViews),tooltip:"Total impressions across your last 100 posts"}),(0,r.jsx)(O,{label:"Avg Views / Post",value:R(p.averageViewsPerPost)}),(0,r.jsx)(O,{label:"Median Views / Post",value:R(p.medianViewsPerPost),tooltip:"Median is more representative than average â it filters out viral outliers"}),(0,r.jsx)(O,{label:"Avg Views / Followers",value:L(p.avgViewsPerFollowersRatio),tooltip:"What percentage of your followers see each post on average",numericValue:p.avgViewsPerFollowersRatio,average:null==x?void 0:x.avgViewsPerFollowersRatio})]})]}),(0,r.jsx)(S.i,{}),(0,r.jsxs)(w.xu,{w:"100%",children:[(0,r.jsx)(F.X,{as:"h3",fontSize:"md",fontWeight:"600",mb:4,children:"\uD83D\uDCAC Engagement"}),(0,r.jsxs)(W.r,{templateColumns:{base:"1fr",md:"repeat(2, 1fr)",lg:"repeat(3, 1fr)"},gap:4,children:[(0,r.jsx)(O,{label:"Total Engagements",value:R(p.totalEngagements),tooltip:"Likes + replies + reposts across last 100 posts"}),(0,r.jsx)(O,{label:"Avg Engagements / Post",value:R(p.averageEngagementsPerPost)}),(0,r.jsx)(O,{label:"Median Engagements / Post",value:R(p.medianEngagementsPerPost)}),(0,r.jsx)(O,{label:"Avg Engagements / Followers",value:L(p.avgEngagementsPerFollowersRatio),numericValue:p.avgEngagementsPerFollowersRatio,average:null==x?void 0:x.avgEngagementsPerFollowersRatio}),(0,r.jsx)(O,{label:"Engagement Rate",value:L(p.averageEngagementRate),tooltip:"Total engagements / total impressions â the key metric for content quality",numericValue:p.averageEngagementRate,average:null==x?void 0:x.averageEngagementRate})]})]}),p.tweetWithMostEngagements&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S.i,{}),(0,r.jsxs)(w.xu,{w:"100%",children:[(0,r.jsx)(F.X,{as:"h3",fontSize:"md",fontWeight:"600",mb:4,children:"\uD83C\uDFC6 Best & Worst Performing Posts"}),(0,r.jsxs)(W.r,{templateColumns:{base:"1fr",md:"repeat(2, 1fr)"},gap:4,children:[(0,r.jsxs)(w.xu,{bg:"green.50",p:5,borderRadius:"lg",border:"1px solid",borderColor:"green.100",children:[(0,r.jsx)(s.x,{fontSize:"xs",fontWeight:"600",color:"green.600",mb:2,children:"TOP PERFORMING"}),(0,r.jsx)(s.x,{fontSize:"sm",noOfLines:3,mb:2,children:p.tweetWithMostEngagements.text}),(0,r.jsxs)(s.x,{fontSize:"xs",color:"gray.500",children:[R((null!==(c=null===(t=p.tweetWithMostEngagements.public_metrics)||void 0===t?void 0:t.like_count)&&void 0!==c?c:0)+(null!==(u=null===(n=p.tweetWithMostEngagements.public_metrics)||void 0===n?void 0:n.reply_count)&&void 0!==u?u:0)+(null!==(d=null===(o=p.tweetWithMostEngagements.public_metrics)||void 0===o?void 0:o.retweet_count)&&void 0!==d?d:0))," ","engagements"]})]}),p.tweetWithLeastEngagements&&(0,r.jsxs)(w.xu,{bg:"red.50",p:5,borderRadius:"lg",border:"1px solid",borderColor:"red.100",children:[(0,r.jsx)(s.x,{fontSize:"xs",fontWeight:"600",color:"red.600",mb:2,children:"LOWEST PERFORMING"}),(0,r.jsx)(s.x,{fontSize:"sm",noOfLines:3,mb:2,children:p.tweetWithLeastEngagements.text}),(0,r.jsxs)(s.x,{fontSize:"xs",color:"gray.500",children:[R((null!==(g=null===(a=p.tweetWithLeastEngagements.public_metrics)||void 0===a?void 0:a.like_count)&&void 0!==g?g:0)+(null!==(m=null===(i=p.tweetWithLeastEngagements.public_metrics)||void 0===i?void 0:i.reply_count)&&void 0!==m?m:0)+(null!==(h=null===(l=p.tweetWithLeastEngagements.public_metrics)||void 0===l?void 0:l.retweet_count)&&void 0!==h?h:0))," ","engagements"]})]})]})]})]})]})})})};var N=n(501),I=n(78783),q=!0,V=e=>{let{tools:t,handle:n}=e,[i,c]=(0,o.useState)(null),[f,w]=(0,o.useState)(null),[v,j]=(0,o.useState)(null),[b,y]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(0,z.L)("page_view",{tool:"metrics-calculator",handle:n})},[n]),(0,o.useEffect)(()=>{n&&(y(!0),j(null),fetch((0,I.getInternalApiUrl)("/api/metrics-data?handle=".concat(encodeURIComponent(n)))).then(e=>e.json()).then(e=>{e.success&&e.data?(c(e.data),e.averages&&w(e.averages),(0,z.L)("metrics_calculate",{tool:"metrics-calculator",handle:n,engagementRate:e.data.averageEngagementRate,followers:e.data.followersCount})):j("not_found"===e.error?"Account not found or has no public posts.":"Something went wrong. Please try again.")}).catch(()=>{j("Something went wrong. Please try again.")}).finally(()=>{y(!1)}))},[n]),(0,r.jsxs)("main",{className:u().className,children:[(0,r.jsx)(p.u,{handle:n}),(0,r.jsx)(d.Z,{tools:t,currentTool:"\uD835\uDD4F Metrics Calculator"}),(0,r.jsx)(x.V,{}),b&&(0,r.jsx)(a.M,{py:16,children:(0,r.jsx)(l(),{color:"#3DA4EF",size:50})}),v&&(0,r.jsx)(a.M,{py:16,children:(0,r.jsx)(s.x,{color:"red.500",children:v})}),i&&(0,r.jsx)(M,{data:i,averages:f}),(0,r.jsx)(m.Z,{toolName:"metrics-calculator"}),(0,r.jsx)(N.o,{}),(0,r.jsx)(g.Z,{tools:t,toolName:"metrics-calculator"}),(0,r.jsx)(h.Z,{isVisible:!!i,toolName:"metrics-calculator"})]})}},78783:function(e,t,n){"use strict";function r(e){return"".concat("https://tools.tweethunter.io").concat(e)}n.d(t,{getInternalApiUrl:function(){return r}})},11163:function(e,t,n){e.exports=n(96885)},97822:function(e,t,n){"use strict";n.d(t,{i:function(){return c}});var r=n(35059),o=n(91639),a=n(33179),s=n(19184),i=n(25432),l=n(85893),c=(0,r.G)(function(e,t){let{borderLeftWidth:n,borderBottomWidth:r,borderTopWidth:c,borderRightWidth:u,borderWidth:d,borderStyle:g,borderColor:m,...h}=(0,o.mq)("Divider",e),{className:p,orientation:x="horizontal",__css:f,...w}=(0,a.Lr)(e);return(0,l.jsx)(s.m.hr,{ref:t,"aria-orientation":x,...w,__css:{...h,border:"0",borderColor:m,borderStyle:g,...{vertical:{borderLeftWidth:n||u||d||"1px",height:"100%"},horizontal:{borderBottomWidth:r||c||d||"1px",width:"100%"}}[x],...f},className:(0,i.cx)("chakra-divider",p)})});c.displayName="Divider"},47523:function(e,t,n){"use strict";n.d(t,{u:function(){return C}});
1var r={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},o=n(61735),a=n(31054),s=n(68795),i=n(85075),l=n(57134),c=n(81103),u=n(25432),d=n(67294),g=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},m=e=>{var t,n;return(null==(n=null==(t=e.current)?void 0:t.ownerDocument)?void 0:n.defaultView)||window},h="chakra-ui:close-tooltip",p=n(49598),x=n(19184),f=n(35059),w=n(91639),v=n(33179),j=n(75119),b=n(97340),y=n(51526),D=n(85893),E=(0,x.m)(b.E.div),C=(0,f.G)((e,t)=>{var n,f;let b;let C=(0,w.mq)("Tooltip",e),_=(0,v.Lr)(e),F=(0,j.F)(),{children:k,label:P,shouldWrapChildren:S,"aria-label":W,hasArrow:T,bg:z,portalProps:R,background:L,backgroundColor:A,bgColor:O,motionProps:M,...N}=_,I=null!=(f=null!=(n=null!=L?L:A)?n:z)?f:O;if(I){C.bg=I;let e=(0,v.K1)(F,"colors",I);C[s.Dq.arrowBg.var]=e}let q=function(e={}){let{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:p,closeOnScroll:x,closeOnPointerDown:f=p,closeOnEsc:w=!0,onOpen:v,onClose:j,placement:b,id:y,isOpen:D,defaultIsOpen:E,arrowSize:C=10,arrowShadowColor:_,arrowPadding:F,modifiers:k,isDisabled:P,gutter:S,offset:W,direction:T,...z}=e,{isOpen:R,onOpen:L,onClose:A}=(0,i.q)({isOpen:D,defaultIsOpen:E,onOpen:v,onClose:j}),{referenceRef:O,getPopperProps:M,getArrowInnerProps:N,getArrowProps:I}=(0,a.D)({enabled:R,placement:b,arrowPadding:F,modifiers:k,gutter:S,offset:W,direction:T}),q=(0,d.useId)(),V=`tooltip-${null!=y?y:q}`,X=(0,d.useRef)(null),B=(0,d.useRef)(),G=(0,d.useCallback)(()=>{B.current&&(clearTimeout(B.current),B.current=void 0)},[]),U=(0,d.useRef)(),Z=(0,d.useCallback)(()=>{U.current&&(clearTimeout(U.current),U.current=void 0)},[]),H=(0,d.useCallback)(()=>{Z(),A()},[A,Z]),Y=((0,d.useEffect)(()=>{let e=g(X);return e.addEventListener(h,H),()=>e.removeEventListener(h,H)},[H,X]),()=>{let e=g(X),t=m(X);e.dispatchEvent(new t.CustomEvent(h))}),K=(0,d.useCallback)(()=>{if(!P&&!B.current){Y();let e=m(X);B.current=e.setTimeout(L,t)}},[Y,P,L,t]),J=(0,d.useCallback)(()=>{G();let e=m(X);U.current=e.setTimeout(H,n)},[n,H,G]),$=(0,d.useCallback)(()=>{R&&r&&J()},[r,J,R]),Q=(0,d.useCallback)(()=>{R&&f&&J()},[f,J,R]),ee=(0,d.useCallback)(e=>{R&&"Escape"===e.key&&J()},[R,J]);(0,l.O)(()=>g(X),"keydown",w?ee:void 0),(0,l.O)(()=>{let e=X.current;if(!e)return null;let t=function e(t){return["html","body","#document"].includes(t.localName)?t.ownerDocument.body:(0,o.Re)(t)&&function(e){let t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+o+r)}(t)?t:e("html"===t.localName?t:t.assignedSlot||t.parentElement||t.ownerDocument.documentElement)}(e);return"body"===t.localName?m(X):t},"scroll",()=>{R&&x&&H()},{passive:!0,capture:!0}),(0,d.useEffect)(()=>{P&&(G(),R&&A())},[P,R,A,G]),(0,d.useEffect)(()=>()=>{G(),Z()},[G,Z]),(0,l.O)(()=>X.current,"pointerleave",J);let et=(0,d.useCallback)((e={},t=null)=>{let n={...e,ref:(0,c.lq)(X,t,O),onPointerEnter:(0,u.v0)(e.onPointerEnter,e=>{"touch"!==e.pointerType&&K()}),onClick:(0,u.v0)(e.onClick,$),onPointerDown:(0,u.v0)(e.onPointerDown,Q),onFocus:(0,u.v0)(e.onFocus,K),onBlur:(0,u.v0)(e.onBlur,J),"aria-describedby":R?V:void 0};return n},[K,J,Q,R,V,$,O]),en=(0,d.useCallback)((e={},t=null)=>M({...e,style:{...e.style,[s.Dq.arrowSize.var]:C?`${C}px`:void 0,[s.Dq.arrowShadowColor.var]:_}},t),[M,C,_]),er=(0,d.useCallback)((e={},t=null)=>{let n={...e.style,position:"relative",transformOrigin:s.Dq.transformOrigin.varRef};return{ref:t,...z,...e,id:V,role:"tooltip",style:n}},[z,V]);return{isOpen:R,show:K,hide:J,getTriggerProps:et,getTooltipProps:er,getTooltipPositionerProps:en,getArrowProps:I,getArrowInnerProps:N}}({...N,direction:F.direction}),V="string"==typeof k||S;if(V)b=(0,D.jsx)(x.m.span,{display:"inline-block",tabIndex:0,...q.getTriggerProps(),children:k});else{let e=d.Children.only(k);b=(0,d.cloneElement)(e,q.getTriggerProps(e.props,e.ref))}let X=!!W,B=q.getTooltipProps({},t),G=X?function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(B,["role","id"]):B,U=function(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}(B,["role","id"]);return P?(0,D.jsxs)(D.Fragment,{children:[b,(0,D.jsx)(y.M,{children:q.isOpen&&(0,D.jsx)(p.h,{...R,children:(0,D.jsx)(x.m.div,{...q.getTooltipPositionerProps(),__css:{zIndex:C.zIndex,pointerEvents:"none"},children:(0,D.jsxs)(E,{variants:r,initial:"exit",animate:"enter",exit:"exit",...M,...G,__css:C,children:[P,X&&(0,D.jsx)(x.m.span,{srOnly:!0,...U,children:W}),T&&(0,D.jsx)(x.m.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,D.jsx)(x.m.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:C.bg}})})]})})})})]}):(0,D.jsx)(D.Fragment,{children:k})});C.displayName="Tooltip"}},function(e){e.O(0,[2805,973,7216,461,3550,255,9774,2888,179],function(){return e(e.s=10931)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.