PageSourceSearch

https://baei.ai/_expo/static/js/web/behavior-19e8281a51cd6b98b0e6a97840e38b19.js

js baei.ai collected 2026-10-05 14:25:52 UTC 59,302 bytes, 11 lines download raw bytes

1__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return v}});var t=e(r(d[0])),l=e(r(d[1])),n=e(r(d[2])),s=e(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),y=e(r(d[8])),f=r(d[9]),p=r(d[10]),x=r(d[11]),b=r(d[12]);const j=[{value:'7',label:'7 Days'},{value:'30',label:'30 Days'},{value:'90',label:'90 Days'},{value:'all',label:'All-Time'}];var v=()=>{const{isAdmin:e}=(0,u.useAdmin)(),{isDark:l}=(0,h.useAppTheme)(),{t:v}=(0,r(d[13]).useTranslation)(),C=(0,b.getAdminTheme)(l),{width:D}=(0,n.default)(),k=D>=1180,[S,T]=(0,r(d[14]).useState)('30'),{includePreLaunch:A,launchStartDate:I}=(0,r(d[15]).useAdminLaunchWindow)(),R=(0,r(d[14]).useMemo)(()=>(0,r(d[16]).getAnalyticsDaysForTimeRange)(S,{includePreLaunch:A,selectedStartDate:I,allTimeDays:1825})||1825,[S,A,I]);return e?(0,r(d[17]).jsxs)(s.default,{style:[w.container,{backgroundColor:C.colors.background}],children:[(0,r(d[17]).jsx)(c.Stack.Screen,{options:{title:v('admin.behavior.title','Behavior'),headerShown:!0,headerStyle:{backgroundColor:C.colors.background},headerTintColor:C.colors.onBackground,headerBackTitle:'Back',headerTitleStyle:{color:C.colors.onBackground}}}),(0,r(d[17]).jsxs)(t.default,{style:w.scrollView,contentContainerStyle:w.scrollContent,showsVerticalScrollIndicator:!1,children:[(0,r(d[17]).jsxs)(s.default,{style:w.headerRow,children:[(0,r(d[17]).jsxs)(s.default,{style:w.headerText,children:[(0,r(d[17]).jsx)(o.Text,{style:[w.heading,{color:C.colors.onSurface}],children:v('admin.behavior.heading','Behavior')}),(0,r(d[17]).jsx)(o.Text,{style:[w.subheading,{color:C.colors.onSurfaceVariant}],children:v('admin.behavior.subheading','PostHog-driven signals: how users land, click, share, and engage with email.')})]}),(0,r(d[17]).jsx)(y.default,{value:S,onValueChange:e=>T(e),options:j,density:"small",mobileLayout:"wrap",style:w.timeRange})]}),(0,r(d[17]).jsxs)(s.default,{style:[w.grid,k?w.gridDesktop:null],children:[(0,r(d[17]).jsx)(s.default,{style:w.gridItem,children:(0,r(d[17]).jsx)(f.SlugLandingFunnelCard,{days:R})}),(0,r(d[17]).jsx)(s.default,{style:w.gridItem,children:(0,r(d[17]).jsx)(p.ShareActivityCard,{days:R,limit:10})}),(0,r(d[17]).jsx)(s.default,{style:[w.gridItem,k?w.gridItemFullDesktop:null],children:(0,r(d[17]).jsx)(x.EmailEngagementCard,{days:R})})]})]})]}):(0,r(d[17]).jsx)(s.default,{style:[w.container,{backgroundColor:C.colors.background,justifyContent:'center',alignItems:'center'}],children:(0,r(d[17]).jsx)(o.Card,{style:[w.accessDeniedCard,{backgroundColor:C.colors.surface}],children:(0,r(d[17]).jsxs)(o.Card.Content,{children:[(0,r(d[17]).jsx)(o.Text,{style:[w.accessTitle,{color:C.colors.onSurface}],children:v('admin.behavior.accessDenied.title','Access Denied')}),(0,r(d[17]).jsx)(o.Text,{style:[w.accessSubtitle,{color:C.colors.onSurfaceVariant}],children:v('admin.behavior.accessDenied.body','You must be an admin to view this page.')})]})})})};const w=l.default.create({container:{flex:1},scrollView:{flex:1},scrollContent:{padding:b.spacing.md,gap:b.spacing.md},headerRow:{flexDirection:'row',alignItems:'flex-start',justifyContent:'space-between',flexWrap:'wrap',gap:b.spacing.sm},headerText:{flex:1,minWidth:240,gap:2},heading:{...b.typography.headlineMedium,fontWeight:'800'},subheading:{...b.typography.bodyMedium},timeRange:{minWidth:280},grid:{gap:b.spacing.md},gridDesktop:{flexDirection:'row',flexWrap:'wrap'},gridItem:{width:'100%'},gridItemFullDesktop:{width:'100%'},accessDeniedCard:{margin:b.spacing.md,borderRadius:b.borderRadius.large,elevation:2},accessTitle:{...b.typography.titleLarge,fontWeight:'700'},accessSubtitle:{...b.typography.bodyMedium}})},1497,[156,86,1130,77,1658,1657,2249,1995,2991,3070,3071,3072,2005,2007,78,2906,2907,209]);
2__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.AdminLaunchWindowProvider=function({children:n}){const[u,c]=(0,r(d[0]).useState)(!1),[s,o]=(0,r(d[0]).useState)(r(d[1]).DEFAULT_ANALYTICS_START_DATE);return(0,r(d[2]).jsx)(t.Provider,{value:{includePreLaunch:u,launchStartDate:s,setIncludePreLaunch:c,setLaunchStartDate:o},children:n})},e.useAdminLaunchWindow=function(){return(0,r(d[0]).useContext)(t)};
2const t=(0,r(d[0]).createContext)({includePreLaunch:!1,launchStartDate:r(d[1]).DEFAULT_ANALYTICS_START_DATE,setIncludePreLaunch:()=>{},setLaunchStartDate:()=>{}})},2906,[78,2907,209]);
3__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"DEFAULT_ANALYTICS_START_DATE",{enumerable:!0,get:function(){return t}}),e.normalizeAnalyticsStartDate=n,e.formatAnalyticsStartDate=c,e.getDaysSinceOfficialLaunch=u,e.getAnalyticsDaysForTimeRange=function(t,n){if('all'!==t)return parseInt(t,10);if(!n.includePreLaunch)return u(n.now,n.selectedStartDate);return n.allTimeDays},e.getClampedAnalyticsDays=function(t,n){if(n.includePreLaunch)return t;return Math.min(t,u(n.now,n.selectedStartDate))},e.hasFullAnalyticsWindow=function(t,n){if(n.includePreLaunch)return!0;return u(n.now,n.selectedStartDate)>=t},e.hasFullPriorAnalyticsWindow=function(t,n){if(n.includePreLaunch)return!0;return u(n.now,n.selectedStartDate)>=2*t},e.getAnalyticsTimeRangeLabel=function(t,n,u){switch(t){case'7':return'Last 7 Days';case'30':return'Last 30 Days';case'90':return'Last 90 Days';case'all':return n?'All-Time':`Since ${c(u)}`;default:return''}};const t='2026-04-12';function n(n){return n&&/^\d{4}-\d{2}-\d{2}$/.test(n)?n:t}function c(t){return new Date(`${n(t)}T00:00:00Z`).toLocaleDateString('en-US',{month:'long',day:'numeric',year:'numeric',timeZone:'UTC'})}function u(t=new Date,c){const u=new Date(`${n(c)}T00:00:00Z`),l=t.getTime()-u.getTime(),s=Math.ceil(l/864e5);return Math.max(s,1)}},2907,[]);
4__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"analyticsAggregationService",{enumerable:!0,get:function(){return E}});var t=r(d[0]);
4const n="\n  query AdminAnalyticsQuery($operation: String!, $params: AWSJSON) {\n    adminAnalyticsQuery(operation: $operation, params: $params)\n  }\n",o="\n  query UserAnalyticsQuery($operation: String!, $params: AWSJSON) {\n    userAnalyticsQuery(operation: $operation, params: $params)\n  }\n",s="\n  query CreatorAnalyticsQuery($operation: String!, $params: AWSJSON) {\n    creatorAnalyticsQuery(operation: $operation, params: $params)\n  }\n",c=t=>{if(!t)return null;if('string'==typeof t)try{return JSON.parse(t)}catch{return null}return t},l=t=>{const n=c(t);if((0,r(d[1]).isPostHogNotConfiguredPayload)(n))throw new(r(d[1]).PostHogNotConfiguredError);return n},u=(t,n,o)=>(0,r(d[1]).isPostHogNotConfiguredError)(n)?[null,n]:(r(d[2]).Logger.Analytics.error(t,n),[null,n instanceof Error?n:new Error(o)]),y=()=>(0,t.getClientWithAuth)(),h=new Map,f=new Map,p=(t,n,o)=>`${n}:${t}:${o}`,w=t=>Boolean(t&&Date.now()-t.fetchedAt<3e5);async function v(t,n,o){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorInsights',params:JSON.stringify({personId:t,userId:n,period:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator insights');const f=c(u.data?.creatorAnalyticsQuery);return f&&h.set(p(t,n,o),{data:f,fetchedAt:Date.now()}),[f,null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator insights:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator insights')]}}const E={async getMonetizationHealth(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getMonetizationHealth',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch monetization health');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching monetization health:',t),[null,t instanceof Error?t:new Error('Failed to fetch monetization health')]}},async getPlatformMetrics(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getPlatformMetrics',params:JSON.stringify('number'==typeof t?{days:t}:{})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch platform metrics');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching platform metrics:',t),[null,t instanceof Error?t:new Error('Failed to fetch platform metrics')]}},async getUserGrowthMetrics(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getUserGrowthMetrics',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch user growth metrics');return[c(s.data?.adminAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching user growth metrics:',t),[[],t instanceof Error?t:new Error('Failed to fetch user growth metrics')]}},async getRevenueMetrics(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getRevenueMetrics',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch revenue metrics');return[c(s.data?.adminAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching revenue metrics:',t),[[],t instanceof Error?t:new Error('Failed to fetch revenue metrics')]}},async getPopularPeople(t=10,o){try{const s=y(),l=await s.graphql({query:n,variables:{operation:'getPopularPeople',params:JSON.stringify({limit:t,days:o})}});if(l.errors)throw new Error(l.errors[0]?.message||'Failed to fetch popular people');return[c(l.data?.adminAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching popular people:',t),[[],t instanceof Error?t:new Error('Failed to fetch popular people')]}},async getCategoryBreakdown(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getCategoryBreakdown',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch category breakdown');return[c(s.data?.adminAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching category breakdown:',t),[[],t instanceof Error?t:new Error('Failed to fetch category breakdown')]}},async getSessionAnalytics(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getSessionAnalytics',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch session analytics');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching session analytics:',t),[null,t instanceof Error?t:new Error('Failed to fetch session analytics')]}},async getInviteCodeAnalytics(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getInviteCodeAnalytics',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch invite code analytics');const l=c(s.data?.adminAnalyticsQuery);
4if(!l)return[null,null];const u=l.totalCodes||0,h=l.totalUses||0,f=l.activeCodes||0,p=l.expiredCodes||0,w=l.revokedCodes||0,v=h,E=l.usedCodesCount||0,q=l.unusedCodesCount??Math.max(u-E,0),A=l.totalTokensAllocated||0,S=l.averageTokensPerCode||0;return[{totalCodes:u,usedCodes:v,usedCodeCount:E,unusedCodes:q,activeCodes:f,expiredCodes:p,revokedCodes:w,totalSignups:l.totalUsers||0,conversionRate:l.conversionRate||0,totalTokensAllocated:A,averageTokensPerCode:S,usageOverTime:(l.usageOverTime||[]).map(t=>({date:t.date||'',created:t.created||0,used:t.used||0})),usageByType:(l.usageByType||[]).map(t=>({type:t.type||'',count:t.count||0,used:t.used||0,conversionRate:t.conversionRate||0})),topCodes:(l.topCodes||[]).map(t=>({code:t.code||'',usageCount:t.uses||0,type:'GENERAL',createdAt:(new Date).toISOString()})),recentSignups:(l.recentSignups||[]).map(t=>({email:t.email||'',code:t.code||'',createdAt:t.createdAt||(new Date).toISOString(),tokensReceived:t.tokensReceived||0,tokensSpent:t.tokensSpent||0,lastLogin:t.lastLogin||null,personName:t.personName,personSlug:t.personSlug})),creatorBreakdown:(l.creatorBreakdown||[]).map(t=>({adminId:t.adminId||'',adminEmail:t.adminEmail||'',codesCreated:t.codesCreated||0,codesUsed:t.codesUsed||0,conversionRate:t.conversionRate||0})),personSpecificCodes:(l.personSpecificCodes||[]).map(t=>({personId:t.personId||'',personName:t.personName||'',personSlug:t.personSlug||'',code:t.code||'',usageCount:t.usageCount||0,maxUses:t.maxUses||1})),personStats:(l.personStats||[]).map(t=>({personId:t.personId||null,personName:t.personName||'',personSlug:t.personSlug||'',totalInviteCodes:t.totalInviteCodes||0,totalSignups:t.totalSignups||0,totalUsageMinutes:t.totalUsageMinutes||0,uniqueUsers:t.uniqueUsers||0,notes:t.notes||[]})),topUsers:(l.topUsers||[]).map(t=>({userId:t.userId||'',name:t.name||'',email:t.email||'',sessions:t.sessions||0,tokensSpent:t.tokensSpent||0,loginCount:t.loginCount||0,lastLogin:t.lastLogin||null,favoritePersonId:t.favoritePersonId||null,favoritePersonName:t.favoritePersonName||null,favoritePersonSlug:t.favoritePersonSlug||null,favoritePersonSessions:t.favoritePersonSessions||0}))},null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching invite code analytics:',t),[null,t instanceof Error?t:new Error('Failed to fetch invite code analytics')]}},async getPersonInviteUsers(t,o){try{const s=y(),l=await s.graphql({query:n,variables:{operation:'getPersonInviteUsers',params:JSON.stringify({personId:t,days:o})}});if(l.errors)throw new Error(l.errors[0]?.message||'Failed to fetch person invite users');return[(c(l.data?.adminAnalyticsQuery)||[]||[]).map(t=>({userId:t.userId||'',name:t.name||'',email:t.email||'',sessions:t.sessions||0,tokensSpent:t.tokensSpent||0,loginCount:t.loginCount||0,lastLogin:t.lastLogin||null,favoritePersonId:t.favoritePersonId||null,favoritePersonName:t.favoritePersonName||null,favoritePersonSlug:t.favoritePersonSlug||null,favoritePersonSessions:t.favoritePersonSessions||0})),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching person invite users:',t),[[],t instanceof Error?t:new Error('Failed to fetch person invite users')]}},async getUserPersonUsage(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getUserPersonUsage',params:JSON.stringify({userId:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch user person usage');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching user person usage:',t),[null,t instanceof Error?t:new Error('Failed to fetch user person usage')]}},async getMyUsageStats(t,n){try{const s=y(),l={userId:t};null!=n&&(l.days=n);const u=await s.graphql({query:o,variables:{operation:'getMyUsageStats',params:JSON.stringify(l)}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch usage stats');return[c(u.data?.userAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching usage stats:',t),[null,t instanceof Error?t:new Error('Failed to fetch usage stats')]}},async getMySpendingTrends(t,n){try{const s=y(),l={userId:t};null!=n&&(l.days=n);const u=await s.graphql({query:o,variables:{operation:'getMySpendingTrends',params:JSON.stringify(l)}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch spending trends');return[c(u.data?.userAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching spending trends:',t),[null,t instanceof Error?t:new Error('Failed to fetch spending trends')]}},async getMyFavoriteCreators(t,n){try{const s=y(),l={userId:t};null!=n&&(l.days=n);const u=await s.graphql({query:o,variables:{operation:'getMyFavoriteCreators',params:JSON.stringify(l)}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch favorite creators');return[c(u.data?.userAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching favorite creators:',t),[[],t instanceof Error?t:new Error('Failed to fetch favorite creators')]}},async getMyConversationInsights(t,n){try{const s=y(),l={userId:t};null!=n&&(l.days=n);const u=await s.graphql({query:o,variables:{operation:'getMyConversationInsights',params:JSON.stringify(l)}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch conversation insights');return[c(u.data?.userAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching conversation insights:',t),[null,t instanceof Error?t:new Error('Failed to fetch conversation insights')]}},async getCreatorMetrics(t,n,o=30){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorMetrics',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator metrics');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator metrics:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator metrics')]}},async getCreatorInsights(t,n,o="thisMonth",s){const c=p(t,n,o),l=h.get(c);if(!s?.force&&w(l))return[l.data,null];const u=f.get(c);if(!s?.force&&u)return u;const y=v(t,n,o).finally(()=>{f.delete(c)});return f.set(c,y),y},async getCreatorConversationHistory(t,n,o="thisMonth",l=20){try{const u=y(),h=await u.graphql({query:s,variables:{operation:'getCreatorConversationHistory',params:JSON.stringify({personId:t,userId:n,period:o,limit:l})}});if(h.errors)throw new Error(h.errors[0]?.message||'Failed to fetch creator conversation history');return[c(h.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator conversation history:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator conversation history')]}},getCachedCreatorInsights:(t,n,o="thisMonth")=>
4h.get(p(t,n,o))?.data||null,prefetchCreatorInsights(t,n,o="thisMonth"){const s=p(t,n,o);if(w(h.get(s))||f.has(s))return;const c=v(t,n,o).finally(()=>{f.delete(s)});f.set(s,c)},invalidateCreatorInsightsCache(t){if(!t)return h.clear(),void f.clear();for(const n of h.keys())n.includes(`:${t}:`)&&h.delete(n);for(const n of f.keys())n.includes(`:${t}:`)&&f.delete(n)},async getCreatorAudience(t,n,o=30){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorAudience',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator audience');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator audience:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator audience')]}},async getCreatorTopQuestions(t,n,o=30){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorTopQuestions',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator top questions');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator top questions:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator top questions')]}},async getCreatorPerformanceTrends(t,n,o=30){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorPerformanceTrends',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator performance trends');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator performance trends:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator performance trends')]}},async getConversationQualityMetrics(t,o){try{const s=y(),l=await s.graphql({query:n,variables:{operation:'getConversationQualityMetrics',params:JSON.stringify({days:t,personId:o})}});if(l.errors)throw new Error(l.errors[0]?.message||'Failed to fetch conversation quality metrics');return[c(l.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching conversation quality metrics:',t),[null,t instanceof Error?t:new Error('Failed to fetch conversation quality metrics')]}},async getConversationInsights(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getConversationInsights',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch conversation insights');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching conversation insights:',t),[null,t instanceof Error?t:new Error('Failed to fetch conversation insights')]}},async getQualityPageData(t,o,s){try{const l=y(),u={days:t};o&&(u.personId=o),s&&s.length>0&&(u.filters=JSON.stringify(s));const h=await l.graphql({query:n,variables:{operation:'getQualityPageData',params:JSON.stringify(u)}});if(h.errors)throw new Error(h.errors[0]?.message||'Failed to fetch quality page data');return[c(h.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching quality page data:',t),[null,t instanceof Error?t:new Error('Failed to fetch quality page data')]}},async getLaunchExecOverview(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getLaunchExecOverview',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch launch exec overview');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching launch exec overview:',t),[null,t instanceof Error?t:new Error('Failed to fetch launch exec overview')]}},async getConversionFunnelV2(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getConversionFunnelV2',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch conversion funnel v2');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching conversion funnel v2:',t),[null,t instanceof Error?t:new Error('Failed to fetch conversion funnel v2')]}},async getRevenueAttribution(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getRevenueAttribution',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch revenue attribution');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching revenue attribution:',t),[null,t instanceof Error?t:new Error('Failed to fetch revenue attribution')]}},async getCreatorHealthMetrics(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getCreatorHealthMetrics',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch creator health metrics');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator health metrics:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator health metrics')]}},async getRetentionCohorts(t=90){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getRetentionCohorts',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch retention cohorts');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching retention cohorts:',t,'Failed to fetch retention cohorts')}},async getAnalyticsDataQuality(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getAnalyticsDataQuality',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch analytics data quality');return[c(s.data?.adminAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching analytics data quality:',t),[null,t instanceof Error?t:new Error('Failed to fetch analytics data quality')]}},async getCreatorQualityMetrics(t,n,o){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorQualityMetrics',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator quality metrics');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator quality metrics:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator quality metrics')]}},async getCreatorModerationOverview(t,n,o){try{const l=y(),u=await l.graphql({query:s,variables:{operation:'getCreatorModerationOverview',params:JSON.stringify({personId:t,userId:n,days:o})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to fetch creator moderation overview');return[c(u.data?.creatorAnalyticsQuery),null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator moderation overview:',t),[null,t instanceof Error?t:new Error('Failed to fetch creator moderation overview')]}},async getCreatorLeaderboard(t,n){try{const o=y(),s=await o.graphql({query:"\n  query AuthenticatedAnalyticsQuery($operation: String!, $params: AWSJSON) {\n    authenticatedAnalyticsQuery(operation: $operation, params: $params)\n  }\n",variables:{operation:'getCreatorLeaderboard',params:JSON.stringify({days:t,limit:n})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch creator leaderboard');return[c(s.data?.authenticatedAnalyticsQuery)||[],null]}catch(t){return r(d[2]).Logger.Analytics.error('Error fetching creator leaderboard:',t),[[],t instanceof Error?t:new Error('Failed to fetch creator leaderboard')]}},async getLiveToday(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getLiveToday',params:JSON.stringify({brand:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch live today metrics');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching live today metrics:',t,'Failed to fetch live today metrics')}},async getHealthSignals(t){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getHealthSignals',params:JSON.stringify({brand:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch health signals');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching health signals:',t,'Failed to fetch health signals')}},async getAcquisitionFunnel(t=30,o="all"){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getAcquisitionFunnel',params:JSON.stringify({days:t,source:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch acquisition funnel');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching acquisition funnel:',t,'Failed to fetch acquisition funnel')}},async getRetentionCohortsPosthog(t=8){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getRetentionWeeklyPostHog',params:JSON.stringify({weeks:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch retention cohorts');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching retention cohorts:',t,'Failed to fetch retention cohorts')}},async getPostHogQueryHealth(){try{const t=y(),o=await t.graphql({query:n,variables:{operation:'getPostHogQueryHealth',params:JSON.stringify({})}});if(o.errors)throw new Error(o.errors[0]?.message||'Failed to fetch PostHog query health');return[l(o.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching PostHog query health:',t,'Failed to fetch PostHog query health')}},async getTrafficSources(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getTrafficSources',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch traffic sources');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching traffic sources:',t,'Failed to fetch traffic sources')}},async getTopViewedCreators(t=30,o=20){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getTopViewedCreators',params:JSON.stringify({days:t,limit:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch top viewed creators');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching top viewed creators:',t,'Failed to fetch top viewed creators')}},async getCreatorSlugFunnel(t=30,o=30){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getCreatorSlugFunnel',params:JSON.stringify({days:t,attributionWindowDays:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch creator slug funnel');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching creator slug funnel:',t,'Failed to fetch creator slug funnel')}},async runCustomFunnel(t,o=30,s="all"){try{const c=y(),u=await c.graphql({query:n,variables:{operation:'runCustomFunnel',params:JSON.stringify({events:t,conversionWindowDays:o,source:s})}});if(u.errors)throw new Error(u.errors[0]?.message||'Failed to run custom funnel');return[l(u.data?.adminAnalyticsQuery),null]}catch(t){return u('Error running custom funnel:',t,'Failed to run custom funnel')}},async getCustomFunnelAllowedEvents(){try{const t=y(),o=await t.graphql({query:n,variables:{operation:'getCustomFunnelAllowedEvents',params:JSON.stringify({})}});if(o.errors)throw new Error(o.errors[0]?.message||'Failed to fetch allowed events');return[l(o.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching allowed events:',t,'Failed to fetch allowed events')}},async getSlugLandingFunnel(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getSlugLandingFunnel',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch slug landing funnel');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching slug landing funnel:',t,'Failed to fetch slug landing funnel')}},async getShareActivity(t=30,o=10){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getShareActivity',params:JSON.stringify({days:t,limit:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch share activity');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching share activity:',t,'Failed to fetch share activity')}},async getEmailEngagement(t=30){try{const o=y(),s=await o.graphql({query:n,variables:{operation:'getEmailEngagement',params:JSON.stringify({days:t})}});if(s.errors)throw new Error(s.errors[0]?.message||'Failed to fetch email engagement');return[l(s.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching email engagement:',t,'Failed to fetch email engagement')}},async getCreatorBehaviorSnapshot(t,o=30){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getCreatorBehaviorSnapshot',params:JSON.stringify({personId:t,days:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch creator behavior snapshot');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching creator behavior snapshot:',t,'Failed to fetch creator behavior snapshot')}},async getUserJourney(t,o=90){try{const s=y(),c=await s.graphql({query:n,variables:{operation:'getUserJourney',params:JSON.stringify({query:t,days:o})}});if(c.errors)throw new Error(c.errors[0]?.message||'Failed to fetch user journey');return[l(c.data?.adminAnalyticsQuery),null]}catch(t){return u('Error fetching user journey:',t,'Failed to fetch user journey')}
4}}},2988,[2032,2989,686]);
5__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"POSTHOG_NOT_CONFIGURED_REASON",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"PostHogNotConfiguredError",{enumerable:!0,get:function(){return n}}),e.isPostHogNotConfiguredError=function(t){return t instanceof n||t instanceof Error&&t.reason===o},e.isPostHogNotConfiguredPayload=function(n){return Boolean(n&&'object'==typeof n&&!1===n.configured&&n.reason===o)};const o='POSTHOG_NOT_CONFIGURED';class n extends Error{reason=o;constructor(){super('PostHog analytics is not configured for this environment'),this.name='PostHogNotConfiguredError'}}},2989,[]);
6__d(function(g,r,i,a,m,_e,d){"use strict";function o(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}});var e=o(r(d[0])),t=o(r(d[1])),n=o(r(d[2])),l=o(r(d[3])),s=o(r(d[4])),u=r(d[5]),c=r(d[6]),p=r(d[7]);function f({value:o,onValueChange:t,options:f,tone:b="primary",density:y,mobileBreakpoint:C=768,mobileLayout:w="wrap",style:x,contentContainerStyle:R,compact:W=!1}){const{isDark:L}=(0,c.useAppTheme)(),O=(0,p.getAdminTheme)(L),{width:j}=(0,l.default)(),v=j<C,k='secondary'===b?O.colors.secondary:O.colors.primary,S='secondary'===b?O.colors.onSecondary:O.colors.onPrimary,V=(e,n,l=!1)=>{const c=e.value===o;return(0,r(d[8]).jsx)(s.default,{onPress:()=>t(e.value),style:[h.option,W&&h.optionCompact,'wrap'===w&&h.wrapOption,'wrap'===w&&4===f.length&&h.wrapOptionQuarter,l&&h.fullWidthOption,0===n&&l&&h.fullWidthFirst,n===f.length-1&&l&&h.fullWidthLast,{backgroundColor:c?k:O.colors.surface,borderColor:c?k:O.colors.outlineVariant}],children:(0,r(d[8]).jsx)(u.Text,{numberOfLines:1,style:[h.optionLabel,W&&h.optionLabelCompact,{color:c?S:O.colors.onSurface}],children:e.label})},e.value)};return v?'scroll'===w?(0,r(d[8]).jsx)(e.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:[h.scrollContainer,R],style:x,children:f.map((o,e)=>V(o,e))}):(0,r(d[8]).jsx)(n.default,{style:['fullWidth'===w?h.fullWidthContainer:h.wrapContainer,R,x],children:f.map((o,e)=>V(o,e,'fullWidth'===w))}):(0,r(d[8]).jsx)(n.default,{style:[h.desktopContainer,{backgroundColor:O.colors.surface,borderColor:O.colors.outlineVariant},x],children:f.map((o,e)=>V(o,e,!0))})}const h=t.default.create({desktopContainer:{flexDirection:'row',alignItems:'stretch',borderWidth:1,borderRadius:p.borderRadius.round,overflow:'hidden'},fullWidthContainer:{flexDirection:'row',alignItems:'stretch',borderRadius:p.borderRadius.round,gap:p.spacing.xs},wrapContainer:{flexDirection:'row',flexWrap:'wrap',width:'100%',alignSelf:'stretch',alignContent:'flex-start',gap:p.spacing.sm},scrollContainer:{flexDirection:'row',gap:p.spacing.sm,paddingVertical:p.spacing.xs},option:{minHeight:42,borderWidth:1,borderRadius:p.borderRadius.round,paddingHorizontal:p.spacing.md,paddingVertical:p.spacing.sm,justifyContent:'center',alignItems:'center'},optionCompact:{minHeight:38,paddingHorizontal:p.spacing.sm+2,paddingVertical:p.spacing.xs+2},wrapOption:{flexGrow:1},wrapOptionQuarter:{flexBasis:'48%',flexGrow:0,maxWidth:'48%'},fullWidthOption:{flex:1,borderRadius:0},fullWidthFirst:{borderTopLeftRadius:p.borderRadius.round,borderBottomLeftRadius:p.borderRadius.round},fullWidthLast:{borderTopRightRadius:p.borderRadius.round,borderBottomRightRadius:p.borderRadius.round},optionLabel:{...p.typography.labelLarge,fontWeight:'700'},optionLabelCompact:{...p.typography.labelMedium,fontWeight:'700'}})},2991,[156,86,77,1130,1105,1658,1995,2005,209]);
7__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return u}});var t=e(r(d[0])),n=e(r(d[1])),o=r(d[2]),l=r(d[3]),c=r(d[4]),s=r(d[5]);function u({icon:e="analytics-outline",title:t,description:u,actionLabel:y,onAction:h,style:b}){const{isDark:f}=(0,c.useAppTheme)(),x=(0,s.getAdminTheme)(f);return(0,r(d[6]).jsx)(o.Card,{style:[p.card,{backgroundColor:x.colors.elevation.level1,borderColor:x.colors.outlineVariant},b],children:(0,r(d[6]).jsxs)(o.Card.Content,{style:p.content,children:[(0,r(d[6]).jsx)(n.default,{style:[p.iconWrap,{backgroundColor:x.colors.primaryContainer}],children:(0,r(d[6]).jsx)(l.Ionicons,{name:e,size:22,color:x.colors.primary})}),(0,r(d[6]).jsx)(o.Text,{style:[p.title,{color:x.colors.onSurface}],children:t}),(0,r(d[6]).jsx)(o.Text,{style:[p.description,{color:x.colors.onSurfaceVariant}],children:u}),y&&h?(0,r(d[6]).jsx)(o.Button,{mode:"outlined",onPress:h,style:p.button,children:y}):null]})})}const p=t.default.create({card:{borderRadius:s.borderRadius.large,borderWidth:1},content:{alignItems:'center',gap:s.spacing.md,paddingVertical:s.spacing.xl},iconWrap:{width:48,height:48,borderRadius:s.borderRadius.round,alignItems:'center',justifyContent:'center'},title:{...s.typography.titleMedium,fontWeight:'700',textAlign:'center'},description:{...s.typography.bodyMedium,textAlign:'center',maxWidth:360},button:{marginTop:s.spacing.xs}})},2992,[86,77,1658,1992,1995,2005,209]);
8__d(function(g,r,i,a,m,_e,d){"use strict";
8Object.defineProperty(_e,'__esModule',{value:!0}),_e.PostHogNotConfiguredNotice=function({style:t}){const{t:e}=(0,r(d[1]).useTranslation)();return(0,r(d[2]).jsx)(o.default,{icon:"cloud-offline-outline",title:e('admin.posthogNotConfigured.title'),description:e('admin.posthogNotConfigured.description'),style:t})};var t,e=r(d[0]),o=(t=e)&&t.__esModule?t:{default:t}},2996,[2992,2007,209]);
9__d(function(g,_r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.SlugLandingFunnelCard=function({days:e=30,onError:t}){const{t:y}=(0,_r(d[8]).useTranslation)(),{isDark:f}=(0,c.useAppTheme)(),b=(0,u.getAdminTheme)(f),[x,v]=(0,_r(d[9]).useState)(null),[w,S]=(0,_r(d[9]).useState)(!0),[T,j]=(0,_r(d[9]).useState)(null),C=(0,_r(d[10]).isPostHogNotConfiguredError)(T),F=(0,_r(d[9]).useRef)(!0),k=(0,_r(d[9]).useCallback)(async()=>{S(!0);const[l,r]=await o.analyticsAggregationService.getSlugLandingFunnel(e);F.current&&(r?(j(r),(0,_r(d[10]).isPostHogNotConfiguredError)(r)||(t?.(r),_r(d[11]).Logger.Admin.warn('SlugLandingFunnelCard fetch failed:',r))):(j(null),v(l)),S(!1))},[e,t]);(0,_r(d[9]).useEffect)(()=>(F.current=!0,k(),()=>{F.current=!1}),[k]);const L=(0,_r(d[9]).useMemo)(()=>x?[{key:'views',label:y('admin.behavior.slugFunnel.views','Slug views'),value:x.views,conversion:null},{key:'cta',label:y('admin.behavior.slugFunnel.cta','CTA clicks'),value:x.ctaClicks,conversion:x.viewToCtaPct},{key:'session',label:y('admin.behavior.slugFunnel.session','Sessions'),value:x.sessions,conversion:x.ctaToSessionPct}]:[],[x,y]),R=L.length>0&&Math.max(...L.map(e=>e.value))||1,M=x?.ctaBreakdown??[],W=M.length>0?Math.max(...M.map(e=>e.share)):100;return(0,_r(d[12]).jsx)(r.Card,{style:[p.card,{backgroundColor:b.colors.surface}],children:(0,_r(d[12]).jsxs)(r.Card.Content,{style:p.cardContent,children:[(0,_r(d[12]).jsxs)(l.default,{style:p.header,children:[(0,_r(d[12]).jsxs)(l.default,{style:p.titleWrap,children:[(0,_r(d[12]).jsx)(n.Ionicons,{name:"funnel-outline",size:16,color:b.colors.primary}),(0,_r(d[12]).jsx)(r.Text,{style:[p.title,{color:b.colors.onSurface}],children:y('admin.behavior.slugFunnel.title','Slug landing funnel')}),(0,_r(d[12]).jsx)(r.Text,{style:[p.subtitle,{color:b.colors.onSurfaceVariant}],children:y('admin.behavior.slugFunnel.subtitle','last {{n}}d \u2022 view \u2192 CTA \u2192 session',{n:e})})]}),x?(0,_r(d[12]).jsxs)(r.Text,{style:[p.headlineMetric,{color:b.colors.primary}],children:[null!==x.viewToSessionPct?`${x.viewToSessionPct.toFixed(1)}%`:'\u2014',(0,_r(d[12]).jsxs)(r.Text,{style:[p.headlineMetricLabel,{color:b.colors.onSurfaceVariant}],children:[' ',y('admin.behavior.slugFunnel.endToEndPct','view\u2192session')]})]}):null]}),C?(0,_r(d[12]).jsx)(s.PostHogNotConfiguredNotice,{}):T?(0,_r(d[12]).jsx)(r.Text,{style:[p.errorText,{color:b.colors.error}],children:y('admin.behavior.slugFunnel.unavailable','Slug landing data temporarily unavailable')}):null,C?null:(0,_r(d[12]).jsxs)(_r(d[12]).Fragment,{children:[(0,_r(d[12]).jsx)(l.default,{style:p.stages,children:L.map((e,t)=>{const n=x?Math.max(6,e.value/R*100):0;return(0,_r(d[12]).jsxs)(l.default,{style:p.stageRow,children:[(0,_r(d[12]).jsx)(r.Text,{style:[p.stageLabel,{color:b.colors.onSurfaceVariant}],numberOfLines:1,children:e.label}),(0,_r(d[12]).jsxs)(l.default,{style:[p.stageBarTrack,{backgroundColor:b.colors.elevation.level1}],children:[(0,_r(d[12]).jsx)(l.default,{style:[p.stageBarFill,{width:w&&!x?'0%':`${n}%`,backgroundColor:b.colors.primary,opacity:0===t?1:.55}]}),(0,_r(d[12]).jsxs)(l.default,{style:p.stageBarValueRow,children:[(0,_r(d[12]).jsx)(r.Text,{style:[p.stageBarValue,{color:b.colors.onSurface}],children:w&&!x?'\u2014':e.value.toLocaleString()}),null!==e.conversion?(0,_r(d[12]).jsxs)(r.Text,{style:[p.stageBarConv,{color:b.colors.onSurfaceVariant}],children:[e.conversion.toFixed(0),"%"]}):null]})]})]},e.key)})}),(0,_r(d[12]).jsx)(l.default,{style:[p.divider,{backgroundColor:b.colors.outline+'30'}]}),(0,_r(d[12]).jsx)(r.Text,{style:[p.subSectionTitle,{color:b.colors.onSurfaceVariant}],children:y('admin.behavior.slugFunnel.ctaTitle','Top CTAs clicked')}),0===M.length?(0,_r(d[12]).jsx)(r.Text,{style:[p.placeholderText,{color:b.colors.onSurfaceVariant}],children:w&&!x?y('admin.behavior.slugFunnel.loading','Loading\u2026'):y('admin.behavior.slugFunnel.ctaEmpty','No CTA clicks in this window.')}):(0,_r(d[12]).jsx)(l.default,{style:p.ctaList,children:M.map(e=>(0,_r(d[12]).jsxs)(l.default,{style:p.ctaRow,children:[(0,_r(d[12]).jsxs)(l.default,{style:p.ctaRowHeader,children:[(0,_r(d[12]).jsx)(r.Text,{style:[p.ctaLabel,{color:b.colors.onSurface}],numberOfLines:1,children:h(e.ctaType,y)}),(0,_r(d[12]).jsxs)(r.Text,{style:[p.ctaCount,{color:b.colors.onSurface}
9],children:[e.clicks.toLocaleString(),(0,_r(d[12]).jsx)(r.Text,{style:[p.ctaShare,{color:b.colors.onSurfaceVariant}],children:`  ${e.share.toFixed(0)}%`})]})]}),(0,_r(d[12]).jsx)(l.default,{style:[p.barTrack,{backgroundColor:b.colors.elevation.level1}],children:(0,_r(d[12]).jsx)(l.default,{style:[p.barFill,{width:`${Math.max(3,e.share/Math.max(1,W)*100)}%`,backgroundColor:b.colors.primary}]})})]},e.ctaType))})]})]})})};var t=e(_r(d[0])),l=e(_r(d[1])),r=_r(d[2]),n=_r(d[3]),o=_r(d[4]),s=_r(d[5]),c=_r(d[6]),u=_r(d[7]);function h(e,t){switch(e){case'signup_free':return t('admin.behavior.slugFunnel.ctaSignup','Sign up free');case'start_session':return t('admin.behavior.slugFunnel.ctaStartSession','Start session');case'browse_avatars':return t('admin.behavior.slugFunnel.ctaBrowse','Browse avatars');case'chat_login':return t('admin.behavior.slugFunnel.ctaChatLogin','Chat (login required)');case'unknown':return t('admin.behavior.slugFunnel.ctaUnknown','Unspecified');default:return e}}const p=t.default.create({card:{width:'100%',borderRadius:u.borderRadius.large},cardContent:{gap:u.spacing.sm},header:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',flexWrap:'wrap',gap:u.spacing.sm},titleWrap:{flexDirection:'row',alignItems:'center',gap:u.spacing.xs,flexWrap:'wrap',flex:1,minWidth:0},title:{...u.typography.titleMedium,fontWeight:'700'},subtitle:{...u.typography.labelSmall},headlineMetric:{...u.typography.titleLarge,fontWeight:'800'},headlineMetricLabel:{...u.typography.labelSmall,fontWeight:'500'},errorText:{...u.typography.labelSmall},stages:{gap:u.spacing.sm},stageRow:{flexDirection:'row',alignItems:'center',gap:u.spacing.sm},stageLabel:{...u.typography.labelMedium,fontWeight:'600',width:100},stageBarTrack:{flex:1,height:28,borderRadius:u.borderRadius.small,overflow:'hidden',justifyContent:'center'},stageBarFill:{position:'absolute',top:0,bottom:0,left:0,borderRadius:u.borderRadius.small,transitionDuration:'180ms'},stageBarValueRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',paddingHorizontal:u.spacing.sm},stageBarValue:{...u.typography.labelMedium,fontWeight:'700'},stageBarConv:{...u.typography.labelSmall,fontWeight:'600'},divider:{height:t.default.hairlineWidth,width:'100%',marginVertical:u.spacing.xs},subSectionTitle:{...u.typography.labelSmall,fontWeight:'700',textTransform:'uppercase',letterSpacing:.3},placeholderText:{...u.typography.bodySmall,paddingVertical:u.spacing.sm},ctaList:{gap:u.spacing.sm},ctaRow:{gap:4},ctaRowHeader:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',gap:u.spacing.sm},ctaLabel:{...u.typography.bodyMedium,fontWeight:'600',flex:1},ctaCount:{...u.typography.bodyMedium,fontWeight:'700'},ctaShare:{...u.typography.labelSmall,fontWeight:'600'}
9,barTrack:{height:6,borderRadius:u.borderRadius.small,overflow:'hidden'},barFill:{height:'100%',borderRadius:u.borderRadius.small}})},3070,[86,77,1658,1992,2988,2996,1995,2005,2007,78,2989,686,209]);
10__d(function(g,r,i,a,_m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.ShareActivityCard=function({days:e=30,limit:o=10,onError:f}){const{t:b}=(0,r(d[10]).useTranslation)(),{isDark:S}=(0,m.useAppTheme)(),v=(0,p.getAdminTheme)(S),[j,T]=(0,r(d[11]).useState)(null),[w,C]=(0,r(d[11]).useState)(!0),[k,M]=(0,r(d[11]).useState)(null),R=(0,r(d[12]).isPostHogNotConfiguredError)(k),L=(0,r(d[11]).useRef)(!0),W=(0,r(d[11]).useCallback)(async()=>{C(!0);const[t,l]=await h.analyticsAggregationService.getShareActivity(e,o);L.current&&(l?(M(l),(0,r(d[12]).isPostHogNotConfiguredError)(l)||(f?.(l),r(d[13]).Logger.Admin.warn('ShareActivityCard fetch failed:',l))):(M(null),T(t)),C(!1))},[e,o,f]);(0,r(d[11]).useEffect)(()=>(L.current=!0,W(),()=>{L.current=!1}),[W]);const I=j?.byMethod??[],V=j?.topCreators??[],N=I.length>0?Math.max(...I.map(e=>e.share)):100,A=V.length>0?Math.max(...V.map(e=>e.shares)):1;return(0,r(d[14]).jsx)(s.Card,{style:[x.card,{backgroundColor:v.colors.surface}],children:(0,r(d[14]).jsxs)(s.Card.Content,{style:x.cardContent,children:[(0,r(d[14]).jsxs)(l.default,{style:x.header,children:[(0,r(d[14]).jsxs)(l.default,{style:x.titleWrap,children:[(0,r(d[14]).jsx)(n.Ionicons,{name:"share-social-outline",size:16,color:v.colors.primary}),(0,r(d[14]).jsx)(s.Text,{style:[x.title,{color:v.colors.onSurface}],children:b('admin.behavior.share.title','Share activity')}),(0,r(d[14]).jsx)(s.Text,{style:[x.subtitle,{color:v.colors.onSurfaceVariant}],children:b('admin.behavior.share.subtitle','last {{n}}d',{n:e})})]}),j?(0,r(d[14]).jsxs)(l.default,{style:x.headerStats,children:[(0,r(d[14]).jsx)(s.Text,{style:[x.headlineMetric,{color:v.colors.primary}],children:j.totalShares.toLocaleString()}),(0,r(d[14]).jsx)(s.Text,{style:[x.headlineMetricLabel,{color:v.colors.onSurfaceVariant}],children:b('admin.behavior.share.shares','{{n}} unique sharers',{n:j.uniqueSharers})})]}):null]}),R?(0,r(d[14]).jsx)(u.PostHogNotConfiguredNotice,{}):k?(0,r(d[14]).jsx)(s.Text,{style:[x.errorText,{color:v.colors.error}],children:b('admin.behavior.share.unavailable','Share data temporarily unavailable')}):null,R?null:(0,r(d[14]).jsxs)(r(d[14]).Fragment,{children:[(0,r(d[14]).jsx)(s.Text,{style:[x.subSectionTitle,{color:v.colors.onSurfaceVariant}],children:b('admin.behavior.share.byMethodTitle','By method')}),0===I.length?(0,r(d[14]).jsx)(s.Text,{style:[x.placeholderText,{color:v.colors.onSurfaceVariant}],children:w&&!j?b('admin.behavior.share.loading','Loading\u2026'):b('admin.behavior.share.methodsEmpty','No share events in this window.')}):(0,r(d[14]).jsx)(l.default,{style:x.methodsList,children:I.map(e=>(0,r(d[14]).jsxs)(l.default,{style:x.methodRow,children:[(0,r(d[14]).jsxs)(l.default,{style:x.methodRowHeader,children:[(0,r(d[14]).jsx)(s.Text,{style:[x.methodLabel,{color:v.colors.onSurface}],numberOfLines:1,children:y(e.method,b)}),(0,r(d[14]).jsxs)(s.Text,{style:[x.methodCount,{color:v.colors.onSurface}],children:[e.count.toLocaleString(),(0,r(d[14]).jsx)(s.Text,{style:[x.methodShare,{color:v.colors.onSurfaceVariant}],children:`  ${e.share.toFixed(0)}%`})]})]}),(0,r(d[14]).jsx)(l.default,{style:[x.barTrack,{backgroundColor:v.colors.elevation.level1}],children:(0,r(d[14]).jsx)(l.default,{style:[x.barFill,{width:`${Math.max(3,e.share/Math.max(1,N)*100)}%`,backgroundColor:v.colors.primary}]})})]},e.method))}),(0,r(d[14]).jsx)(l.default,{style:[x.divider,{backgroundColor:v.colors.outline+'30'}]}),(0,r(d[14]).jsx)(s.Text,{style:[x.subSectionTitle,{color:v.colors.onSurfaceVariant}],children:b('admin.behavior.share.topCreatorsTitle','Most-shared creators')}),0===V.length?(0,r(d[14]).jsx)(s.Text,{style:[x.placeholderText,{color:v.colors.onSurfaceVariant}],children:w&&!j?b('admin.behavior.share.loading','Loading\u2026'):b('admin.behavior.share.creatorsEmpty','No creators shared in this window.')}):(0,r(d[14]).jsx)(l.default,{style:x.creatorList,children:V.map((e,o)=>{const n=Math.max(3,e.shares/A*100);return(0,r(d[14]).jsxs)(t.default,{onPress:()=>e.personId?c.router.push(`/admin/person-analytics/${e.personId}`):void 0,style:({pressed:e,hovered:t})=>[x.creatorRow,e||t?{backgroundColor:v.colors.elevation.level2}:null],children:[(0,r(d[14]).jsx)(s.Text,{style:[x.creatorRank,{color:v.colors.onSurfaceVariant}],children:o+1}),(0,r(d[14]).jsxs)(l.default,{style:x.creatorInfo,children:[(0,r(d[14]).jsx)(s.Text,{style:[x.creatorName,{color:v.colors.onSurface}],numberOfLines:1,children:e.personName||e.personSlug||e.personId.slice(0,8)}),e.personSlug?(0,r(d[14]).jsxs)(s.Text,{style:[x.creatorSlug,{color:v.colors.onSurfaceVariant}],numberOfLines:1,children:["/",e.personSlug]}):null]}),(0,r(d[14]).jsxs)(l.default,{style:x.creatorBarColumn,children:[(0,r(d[14]).jsx)(s.Text,{style:[x.creatorCount,{color:v.colors.onSurface}
10],children:e.shares.toLocaleString()}),(0,r(d[14]).jsx)(l.default,{style:[x.creatorBarTrack,{backgroundColor:v.colors.elevation.level1}],children:(0,r(d[14]).jsx)(l.default,{style:[x.creatorBarFill,{width:`${n}%`,backgroundColor:v.colors.primary}]})})]})]},e.personId)})})]})]})})};var t=e(r(d[0])),o=e(r(d[1])),l=e(r(d[2])),s=r(d[3]),n=r(d[4]),c=r(d[5]),h=r(d[6]),u=r(d[7]),m=r(d[8]),p=r(d[9]);function y(e,t){switch(e){case'native_share':return t('admin.behavior.share.methodNative','Native share');case'copy_link':return t('admin.behavior.share.methodCopy','Copy link');case'twitter':return t('admin.behavior.share.methodTwitter','X / Twitter');case'facebook':return t('admin.behavior.share.methodFacebook','Facebook');case'sms':return t('admin.behavior.share.methodSms','Text / SMS');case'email':return t('admin.behavior.share.methodEmail','Email');case'unknown':return t('admin.behavior.share.methodUnknown','Unspecified');default:return e}}const x=o.default.create({card:{width:'100%',borderRadius:p.borderRadius.large},cardContent:{gap:p.spacing.sm},header:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',flexWrap:'wrap',gap:p.spacing.sm},titleWrap:{flexDirection:'row',alignItems:'center',gap:p.spacing.xs,flexWrap:'wrap',flex:1,minWidth:0},title:{...p.typography.titleMedium,fontWeight:'700'},subtitle:{...p.typography.labelSmall},headerStats:{alignItems:'flex-end'},headlineMetric:{...p.typography.titleLarge,fontWeight:'800'},headlineMetricLabel:{...p.typography.labelSmall},errorText:{...p.typography.labelSmall},subSectionTitle:{...p.typography.labelSmall,fontWeight:'700',textTransform:'uppercase',letterSpacing:.3},placeholderText:{...p.typography.bodySmall,paddingVertical:p.spacing.sm},methodsList:{gap:p.spacing.sm},methodRow:{gap:4},methodRowHeader:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',gap:p.spacing.sm},methodLabel:{...p.typography.bodyMedium,fontWeight:'600',flex:1},methodCount:{...p.typography.bodyMedium,fontWeight:'700'},methodShare:{...p.typography.labelSmall,fontWeight:'600'}
10,barTrack:{height:6,borderRadius:p.borderRadius.small,overflow:'hidden'},barFill:{height:'100%',borderRadius:p.borderRadius.small},divider:{height:o.default.hairlineWidth,width:'100%',marginVertical:p.spacing.xs},creatorList:{gap:4},creatorRow:{flexDirection:'row',alignItems:'center',paddingVertical:p.spacing.xs,paddingHorizontal:p.spacing.xs,borderRadius:p.borderRadius.small,gap:p.spacing.sm,minHeight:40},creatorRank:{...p.typography.labelMedium,fontWeight:'700',width:22,textAlign:'center'},creatorInfo:{flex:1.4,minWidth:0,gap:2},creatorName:{...p.typography.bodyMedium,fontWeight:'600'},creatorSlug:{...p.typography.labelSmall},creatorBarColumn:{width:100,alignItems:'flex-end',gap:4},creatorCount:{...p.typography.bodyMedium,fontWeight:'700'},creatorBarTrack:{height:6,width:'100%',borderRadius:p.borderRadius.small,overflow:'hidden'},creatorBarFill:{height:'100%',borderRadius:p.borderRadius.small}})},3071,[1105,86,77,1658,1992,1657,2988,2996,1995,2005,2007,78,2989,686,209]);
11__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.EmailEngagementCard=function({days:e=30,onError:l}){const{t:x}=(0,r(d[8]).useTranslation)(),{isDark:f}=(0,u.useAppTheme)(),b=(0,h.getAdminTheme)(f),[S,T]=(0,r(d[9]).useState)(null),[j,C]=(0,r(d[9]).useState)(!0),[k,v]=(0,r(d[9]).useState)(null),w=(0,r(d[10]).isPostHogNotConfiguredError)(k),V=(0,r(d[9]).useRef)(!0),L=(0,r(d[9]).useCallback)(async()=>{C(!0);const[t,o]=await c.analyticsAggregationService.getEmailEngagement(e);V.current&&(o?(v(o),(0,r(d[10]).isPostHogNotConfiguredError)(o)||(l?.(o),r(d[11]).Logger.Admin.warn('EmailEngagementCard fetch failed:',o))):(v(null),T(t)),C(!1))},[e,l]);(0,r(d[9]).useEffect)(()=>(V.current=!0,L(),()=>{V.current=!1}),[L]);const W=S?.byType??[],E=S?.byStage??[];return(0,r(d[12]).jsx)(o.Card,{style:[y.card,{backgroundColor:b.colors.surface}],children:(0,r(d[12]).jsxs)(o.Card.Content,{style:y.cardContent,children:[(0,r(d[12]).jsxs)(t.default,{style:y.header,children:[(0,r(d[12]).jsxs)(t.default,{style:y.titleWrap,children:[(0,r(d[12]).jsx)(n.Ionicons,{name:"mail-outline",size:16,color:b.colors.primary}),(0,r(d[12]).jsx)(o.Text,{style:[y.title,{color:b.colors.onSurface}],children:x('admin.behavior.email.title','Email engagement')}),(0,r(d[12]).jsx)(o.Text,{style:[y.subtitle,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.subtitle','last {{n}}d \u2022 opens + clicks',{n:e})})]}),S?(0,r(d[12]).jsxs)(t.default,{style:y.headerStats,children:[(0,r(d[12]).jsx)(o.Text,{style:[y.headlineMetric,{color:b.colors.primary}],children:null!==S.overallClickThroughPct?`${S.overallClickThroughPct.toFixed(1)}%`:'\u2014'}),(0,r(d[12]).jsx)(o.Text,{style:[y.headlineMetricLabel,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.ctr','click-through (opens\u2192clicks)')})]}):null]}),(0,r(d[12]).jsxs)(t.default,{style:y.kpiRow,children:[(0,r(d[12]).jsxs)(t.default,{style:y.kpi,children:[(0,r(d[12]).jsx)(o.Text,{style:[y.kpiValue,{color:b.colors.onSurface}],children:S?S.totalOpens.toLocaleString():'\u2014'}),(0,r(d[12]).jsx)(o.Text,{style:[y.kpiLabel,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.totalOpens','Total opens')})]}),(0,r(d[12]).jsxs)(t.default,{style:y.kpi,children:[(0,r(d[12]).jsx)(o.Text,{style:[y.kpiValue,{color:b.colors.onSurface}],children:S?S.totalClicks.toLocaleString():'\u2014'}),(0,r(d[12]).jsx)(o.Text,{style:[y.kpiLabel,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.totalClicks','Total clicks')})]})]}),w?(0,r(d[12]).jsx)(s.PostHogNotConfiguredNotice,{}):k?(0,r(d[12]).jsx)(o.Text,{style:[y.errorText,{color:b.colors.error}],children:x('admin.behavior.email.unavailable','Email engagement data temporarily unavailable')}):null,w?null:(0,r(d[12]).jsxs)(r(d[12]).Fragment,{children:[(0,r(d[12]).jsx)(t.default,{style:[y.divider,{backgroundColor:b.colors.outline+'30'}]}),(0,r(d[12]).jsx)(o.Text,{style:[y.subSectionTitle,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.byTypeTitle','By email type')}),(0,r(d[12]).jsxs)(t.default,{style:[y.tableHeader,{borderBottomColor:b.colors.outline+'20'}],children:[(0,r(d[12]).jsx)(o.Text,{style:[y.headerCell,y.typeCol,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.colType','Type')}),(0,r(d[12]).jsx)(o.Text,{style:[y.headerCell,y.numCol,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.colOpens','Opens')}),(0,r(d[12]).jsx)(o.Text,{style:[y.headerCell,y.numCol,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.colClicks','Clicks')}),(0,r(d[12]).jsx)(o.Text,{style:[y.headerCell,y.numCol,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.colCtr','CTR')})]}),0===W.length?(0,r(d[12]).jsx)(o.Text,{style:[y.placeholderText,{color:b.colors.onSurfaceVariant}],children:j&&!S?x('admin.behavior.email.loading','Loading\u2026'):x('admin.behavior.email.byTypeEmpty','No email events in this window.')}):W.map(e=>(0,r(d[12]).jsxs)(t.default,{style:y.row,children:[(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.typeCol,{color:b.colors.onSurface}],numberOfLines:1,children:p(e.emailType)}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.onSurface}
11],children:e.opens.toLocaleString()}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.onSurface}],children:e.clicks.toLocaleString()}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.primary,fontWeight:'700'}],children:null!==e.clickRate?`${e.clickRate.toFixed(0)}%`:'\u2014'})]},e.emailType)),E.length>0?(0,r(d[12]).jsxs)(r(d[12]).Fragment,{children:[(0,r(d[12]).jsx)(t.default,{style:[y.divider,{backgroundColor:b.colors.outline+'30'}]}),(0,r(d[12]).jsx)(o.Text,{style:[y.subSectionTitle,{color:b.colors.onSurfaceVariant}],children:x('admin.behavior.email.byStageTitle','By reminder stage')}),E.map(e=>(0,r(d[12]).jsxs)(t.default,{style:y.row,children:[(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.typeCol,{color:b.colors.onSurface}],numberOfLines:1,children:p(e.reminderStage)}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.onSurface}],children:e.opens.toLocaleString()}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.onSurface}],children:e.clicks.toLocaleString()}),(0,r(d[12]).jsx)(o.Text,{style:[y.cell,y.numCol,{color:b.colors.onSurfaceVariant}],children:e.opens>0?`${Math.round(e.clicks/e.opens*100)}%`:'\u2014'})]},e.reminderStage))]}):null]})]})})};
11var l=e(r(d[0])),t=e(r(d[1])),o=r(d[2]),n=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),h=r(d[7]);function p(e){return e&&'(none)'!==e?e.split(/[_-]+/).map(e=>e.length>0?e[0].toUpperCase()+e.slice(1):e).join(' '):'(none)'}const y=l.default.create({card:{width:'100%',borderRadius:h.borderRadius.large},cardContent:{gap:h.spacing.sm},header:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',flexWrap:'wrap',gap:h.spacing.sm},titleWrap:{flexDirection:'row',alignItems:'center',gap:h.spacing.xs,flexWrap:'wrap',flex:1,minWidth:0},title:{...h.typography.titleMedium,fontWeight:'700'},subtitle:{...h.typography.labelSmall},headerStats:{alignItems:'flex-end'},headlineMetric:{...h.typography.titleLarge,fontWeight:'800'},headlineMetricLabel:{...h.typography.labelSmall},errorText:{...h.typography.labelSmall},kpiRow:{flexDirection:'row',gap:h.spacing.sm},kpi:{flex:1,gap:2},kpiValue:{...h.typography.titleMedium,fontWeight:'700'},kpiLabel:{...h.typography.labelSmall},divider:{height:l.default.hairlineWidth,width:'100%',marginVertical:h.spacing.xs},subSectionTitle:{...h.typography.labelSmall,fontWeight:'700',textTransform:'uppercase',letterSpacing:.3},placeholderText:{...h.typography.bodySmall,paddingVertical:h.spacing.sm},tableHeader:{flexDirection:'row',alignItems:'center',paddingBottom:4,borderBottomWidth:l.default.hairlineWidth,gap:h.spacing.sm},headerCell:{...h.typography.labelSmall,fontWeight:'700',textTransform:'uppercase',letterSpacing:.3},row:{flexDirection:'row',alignItems:'center',paddingVertical:h.spacing.xs,gap:h.spacing.sm,minHeight:32},cell:{...h.typography.bodySmall},typeCol:{flex:1.6,minWidth:0},numCol:{width:70,textAlign:'right'}})},3072,[86,77,1658,1992,2988,2996,1995,2005,2007,78,2989,686,209]);

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.