1import{T as b,a as p,n as v,a2 as m,b9 as y,an as w,f as o,S as g,ba as _,a5 as k,b as u,e as d,o as f,O as C,bb as E,t as h}from"./index-D5gHkNn-.js";import{g as M,a as S}from"./index-BZcJr2o1.js";import{u as P}from"./vip-service-KVoGc22m.js";import{c as I}from"./store-PX6HdYSJ.js";import{I as T}from"./IconEmail-B-bAR8DA.js";import"./aes-esiODmZk.js";import"./index-CgokGjYA.js";(function(){try{var e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e.SENTRY_RELEASE={id:"8c3b9aa2b95acaad15d7da0cf7f36f5b8cfcd6d1"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(n){for(var a=1;a<arguments.length;a++){var r=arguments[a];if(r!=null)for(var s in r)r.hasOwnProperty(s)&&(n[s]=r[s])}return n})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:playsmart-ai":!0})}catch(n){}})();var x=h('<div class="absolute left-10 top-2 h-6 w-[1px] bg-third">'),N=h('<div class="center relative size-10">');function $(e){const{badge:n}=I,[a]=m(M),r=_(a),s=()=>{var t,i,c;return(c=(i=n())!=null?i:(t=r())==null?void 0:t.number)!=null?c:0},l=k();return u.on("trigger_right",()=>{var t;(t=e.onClick)==null||t.call(e)}),[o(g,{get when(){return!d.mobile},get children(){return x()}}),(()=>{var t=N();return f(t,o(C,{class:"center size-full p-0",onClick:()=>{d.mobile?l("/chat-model"):e.onClick&&e.onClick(),u.emit("track",{event:"upperbar_click"})},get children(){return o(T,{class:"size-6 fill-secondary"})}}),null),f(t,o(E,{class:"absolute -right-1 -top-1",get value(){return s()}}),null),t})()]}function L(e){const[n,a]=b(v(!1),{name:`showPrivate_${p.userId}`}),[r]=m(S),[s]=P();return y(w([r,s],([l,t])=>{l&&t&&(l.host===!1&&t.hostCard&&t.hostCard.userProfile===2?a(!0):a(!1))})),o(g,{get when(){return n()},get fallback(){return e.children},get children(){return o($,{get onClick(){return e.onClick}})}})}export{L as default};
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.