PageSourceSearch

https://memelab.ru/assets/UnreadMessagesBar-Bl5X76qq.js

js memelab.ru collected 2026-09-24 15:11:35 UTC 2,479 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FeedbackModal-Cze3sErB.js","assets/framer-vendor-CmyO9YTp.js","assets/redux-vendor-DWORWaQR.js","assets/index-D9YmmtmV.js","assets/react-vendor-C2XVenru.js","assets/i18n-vendor-DLMq0lCU.js","assets/index-Q1iuChRU.css","assets/feedback-BXYUnTJf.js","assets/ChannelCheckPanel-CqfIw0za.js"])))=>i.map(i=>d[i]);
2import{a7 as s}from"./index-D9YmmtmV.js";import{j as e}from"./framer-vendor-CmyO9YTp.js";import{r as a}from"./redux-vendor-DWORWaQR.js";import{L as i}from"./react-vendor-C2XVenru.js";import{u as l}from"./i18n-vendor-DLMq0lCU.js";const d=a.lazy(()=>s(()=>import("./FeedbackModal-Cze3sErB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])));function u(){return typeof window>"u"?!1:new URLSearchParams(window.location.search).get("feedback")==="1"}function h({className:n="ml-iconbtn"}){const[r,t]=a.useState(u),o="Сообщить об ошибке или предложить идею";return e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:()=>t(!0),className:n,title:o,"aria-label":o,children:e.jsx("svg",{className:"h-[18px] w-[18px]",width:16,height:16,fill:"none",stroke:"currentColor",strokeWidth:1.8,viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v4m0 4h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"})})}),e.jsx(a.Suspense,{fallback:null,children:r?e.jsx(d,{isOpen:r,onClose:()=>t(!1)}):null})]})}function b({unread:n}){const{t:r}=l();if(n<=0)return null;const t=n===1?r("header.unreadMessageOne",{defaultValue:"Тебе пришло сообщение от MemeLab"}):r("header.unreadMessages",{defaultValue:"Тебе пришло {{count}} сообщения от MemeLab",count:n});return e.jsxs("div",{role:"status",style:{display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"center",gap:12,padding:"10px 16px",position:"relative",zIndex:1,background:"color-mix(in srgb, rgb(var(--ml-primary, 157 92 255)) 16%, transparent)",borderBottom:"1px solid color-mix(in srgb, rgb(var(--ml-primary, 157 92 255)) 32%, transparent)",fontSize:14},children:[e.jsx("span",{children:t}),e.jsx(i,{to:"/messages",style:{padding:"5px 12px",borderRadius:999,background:"rgb(var(--ml-primary, 157 92 255))",color:"var(--violet-ink, #0d0c0b)",fontWeight:600,textDecoration:"none"},children:r("header.unreadMessagesRead",{defaultValue:"Прочитать"})})]})}export{h as F,b as U};

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.