PageSourceSearch

https://cdn-web.gettr.com/static/js/3223.154fe052.chunk.js

js gettr.com collected 2026-10-01 08:45:54 UTC 98,664 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgetter_fe=self.webpackChunkgetter_fe||[]).push([[3223],{81967:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm15 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-6-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z",fill:"currentColor"})}),s=(0,o.forwardRef)(l)},47443:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,n.jsx)("path",{d:"M9.99999 15.172L18.485 6.68606C18.8755 6.29553 19.5086 6.2954 19.8993 6.68577C20.2901 7.07633 20.2902 7.70979 19.8995 8.10049L9.99999 18L4.34299 12.343C3.95252 11.9525 3.95252 11.3195 4.34299 10.929C4.73345 10.5385 5.36652 10.5385 5.75699 10.929L9.99999 15.172Z",fill:"currentColor"})}),s=(0,o.forwardRef)(l)},46378:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsxs)("svg",{width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,n.jsx)("path",{d:"M14.301 7.153H7.607c-.586 0-1.004.502-1.004 1.004 0 .503.502 1.005 1.004 1.005H14.3c.586 0 1.004-.502 1.004-1.005 0-.502-.418-1.004-1.004-1.004zM7.607 10.5h4.184c.585 0 1.004.502 1.004 1.005 0 .502-.419 1.004-1.004 1.004H7.607c-.502 0-1.004-.502-1.004-1.004 0-.503.418-1.005 1.004-1.005z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.238 3.22c-.502-.585-1.255-.836-2.008-.836H4.678c-.753 0-1.506.335-2.008.837a2.922 2.922 0 0 0-.837 2.008v9.957c0 1.088.92 2.009 2.008 2.009h3.264l2.426 2.092c.419.334.92.502 1.423.502.502 0 1.004-.168 1.422-.502l2.427-2.092h3.263c1.088 0 2.009-.92 2.009-2.009V5.23c0-.753-.335-1.423-.837-2.008zm-.67 11.966c0 .252-.25.502-.502.502h-3.849l-2.845 2.427a.76.76 0 0 1-.836 0L7.69 15.69H3.841c-.25 0-.502-.252-.502-.503V5.23c0-.335.168-.753.419-1.004.25-.251.585-.419.92-.419H17.23c.334 0 .67.168.92.419.251.25.419.585.419 1.004v9.957z",fill:"currentColor"})]}),s=(0,o.forwardRef)(l)},95954:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsxs)("svg",{width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.424 1.577c-.711 0-1.373.417-1.756 1.123L6.974 8.684a.769.769 0 0 0-.067.314v10.65c0 .422.343.765.766.765h10.649c1.152 0 2.094-.937 2.093-2.038l.669-8.037v-.009c0-1.156-.94-2.096-2.097-2.096h-4.659a.566.566 0 0 1-.566-.566V4.514c0-.5-.144-1.03-.38-1.497-.238-.467-.572-.879-.96-1.136a1.796 1.796 0 0 0-.998-.304zM8.438 9.162l2.598-5.779a.548.548 0 0 1 .265-.247.286.286 0 0 1 .273.018c.163.11.329.325.454.583.125.257.204.541.204.777v3.153c0 1.156.94 2.097 2.096 2.097h4.66c.315 0 .563.256.567.507l-.668 8.037v.008a.566.566 0 0 1-.565.566H8.438v-9.72zM1.682 8.233a.766.766 0 0 0-.765.765v10.65c0 .422.343.765.765.765h3.994a.766.766 0 0 0 .765-.766V8.998a.766.766 0 0 0-.765-.765H1.682zm.766 10.649V9.764H4.91v9.118H2.448z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M7.64 20.408h10.755c1.112 0 2.016-.905 2.014-1.96l.675-8.123a2.02 2.02 0 0 0-2.017-2.017h-4.706a.673.673 0 0 1-.672-.672V4.452c0-.972-.562-2.08-1.308-2.576a1.713 1.713 0 0 0-.953-.29c-.676 0-1.314.397-1.685 1.08L7.026 8.705a.676.676 0 0 0-.059.276v10.756c0 .371.301.672.672.672zM1.59 20.408h4.033a.672.672 0 0 0 .672-.672V8.98a.672.672 0 0 0-.672-.672H1.589a.672.672 0 0 0-.672.672v10.756c0 .371.301.672.672.672z",fill:"none"})]}),s=(0,o.forwardRef)(l)},76741:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsxs)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,n.jsx)("path",{d:"M1.991 16.001c-2.655-3.537-2.655-8.476 0-12.013a.91.91 0 0 1 1.456 1.094c-2.173 2.892-2.173 6.934 0 9.826a.911.911 0 0 1-1.456 1.093zM16.734 16.182a.911.911 0 0 1-.18-1.274c2.172-2.893 2.172-6.934 0-9.827a.911.911 0 0 1 1.45
15-1.093c2.655 3.537 2.655 8.476 0 12.013a.91.91 0 0 1-1.275.181z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M5.253 14.245a6.358 6.358 0 0 1 0-8.494.91.91 0 0 1 1.356 1.214 4.542 4.542 0 0 0 0 6.066.91.91 0 0 1-1.356 1.214zM13.463 14.317a.91.91 0 0 1-.071-1.285 4.542 4.542 0 0 0 0-6.066.91.91 0 0 1 1.356-1.214 6.358 6.358 0 0 1 0 8.494.91.91 0 0 1-1.285.07zM10 12.727a2.733 2.733 0 0 1-2.73-2.73A2.733 2.733 0 0 1 10 7.268a2.733 2.733 0 0 1 2.73 2.73 2.733 2.733 0 0 1-2.73 2.73z",fill:"currentColor"})]}),s=(0,o.forwardRef)(l)},5563:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsxs)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5 10.7507C17.5 10.2444 17.0985 9.83402 16.6033 9.83402C16.108 9.83402 15.7065 10.2444 15.7065 10.7507V12.2507C15.7065 12.8032 15.4918 13.3331 15.1096 13.7238C14.7274 14.1145 14.209 14.334 13.6685 14.334H5.56165L6.96561 12.8988C7.31581 12.5409 7.31581 11.9605 6.96561 11.6025C6.61541 11.2445 6.04763 11.2445 5.69743 11.6025L2.76265 14.6025C2.6753 14.6918 2.60974 14.7949 2.56597 14.9049C2.52376 15.0108 2.50035 15.1266 2.5 15.2479L2.5 15.2507C2.5 15.4926 2.59165 15.7125 2.74138 15.8764C2.74916 15.8849 2.75709 15.8932 2.76518 15.9014L5.69743 18.8988C6.04763 19.2568 6.61541 19.2568 6.96561 18.8988C7.31581 18.5409 7.31581 17.9605 6.96561 17.6025L5.56167 16.1673H13.6685C14.6847 16.1673 15.6592 15.7547 16.3778 15.0202C17.0963 14.2857 17.5 13.2894 17.5 12.2507V10.7507Z",fill:"#7F7F7F"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3026 1.10247C13.9524 0.744489 13.3846 0.744489 13.0344 1.10247C12.6842 1.46045 12.6842 2.04085 13.0344 2.39883L14.4383 3.83396H6.33152C5.31534 3.83396 4.34078 4.2466 3.62223 4.98112C2.90368 5.71564 2.5 6.71185 2.5 7.75062V9.25061C2.5 9.75687 2.90148 10.1673 3.39674 10.1673C3.89199 10.1673 4.29348 9.75687 4.29348 9.25061V7.75062C4.29348 7.19808 4.5082 6.66818 4.89041 6.27748C5.27261 5.88678 5.791 5.66729 6.33152 5.66729H14.4384L13.0344 7.10246C12.6842 7.46044 12.6842 8.04084 13.0344 8.39882C13.3846 8.7568 13.9524 8.7568 14.3026 8.39882L17.2374 5.39882C17.3295 5.30463 17.3974 5.19504 17.441 5.07816C17.474 4.99008 17.4941 4.89546 17.4989 4.79674C17.5003 4.76718 17.5004 4.73756 17.499 4.70799C17.4943 4.60118 17.4716 4.49913 17.434 4.40491C17.3932 4.30231 17.3335 4.20574 17.2548 4.12078C17.2484 4.11384 17.2418 4.107 17.2352 4.10027M17.2352 4.10027L14.3026 1.10247Z",fill:"#7F7F7F"})]}),s=(0,o.forwardRef)(l)},34139:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.1367 2.25C9.72252 2.25 9.38673 2.58579 9.38673 3V4.41572C9.38673 4.96611 8.98873 5.53882 8.33198 5.91145C7.71119 6.26367 7.06503 6.31017 6.59292 6.04686L5.22882 5.28604C4.8747 5.08853 4.42773 5.20824 4.21971 5.55629L2.35643 8.67398C2.25239 8.84806 2.22328 9.05686 2.27575 9.25276C2.32821 9.44866 2.45777 9.61496 2.63489 9.71375L4.00131 10.4759C4.44446 10.723 4.72853 11.2947 4.72853 12C4.72853 12.7051 4.4445 13.2767 4.00144 13.5238L2.63468 14.2861C2.45756 14.3849 2.328 14.5512 2.27553 14.7471C2.22307 14.943 2.25218 15.1518 2.35622 15.3259L4.2195 18.4436C4.42751 18.7917 4.87449 18.9114 5.22861 18.7139L6.59266 17.9531C7.06482 17.6897 7.71105 17.7362 8.3319 18.0885C8.9887 18.4612 9.38673 19.0339 9.38673 19.5844V21C9.38673 21.4142 9.72252 21.75 10.1367 21.75H13.8633C14.2775 21.75 14.6133 21.4142 14.6133 21V19.5844C14.6133 19.0339 15.0113 18.4612 15.6682 18.0885C16.289 17.7362 16.9353 17.6897 17.4075 17.953L18.7714 18.7137C19.1255 18.9113 19.5725 18.7915 19.7805 18.4435L21.6438 15.3258C21.7478 15.1517 21.7769 14.9429 21.7245 14.747C21.672 14.5511 21.5424 14.3848 21.3653 14.286L19.9985 13.5237C19.5555 13.2766 19.2715 12.7051 19.2715 12C19.2715 11.2948 19.5556 10.7231 19.9987 10.476L21.3651 9.71385C21.5422 9.61506 21.6718 9.44876 21.7243 9.25286C21.7767 9.05696 21.7476 8.84817 21.6436 8.67408L19.7803 5.55639C19.5723 5.20834 19.1253 5.08863 18.7712 5.28614L17.4072 6.04689C16.9351 6.31021 16.2889 6.2637 15.6681 5.9
11147C15.0113 5.53883 14.6133 4.9661 14.6133 4.41569V3C14.6133 2.58579 14.2775 2.25 13.8633 2.25H10.1367ZM10.8867 4.41572V3.75H13.1133V4.41569C13.1133 5.69516 13.9931 6.68573 14.9279 7.2161C15.8436 7.73569 17.0671 7.95413 18.1379 7.3569L18.8661 6.95071L19.9596 8.78026L19.268 9.16595C18.1897 9.76736 17.7715 10.9632 17.7715 12C17.7715 13.0367 18.1897 14.2324 19.2679 14.8337L19.9598 15.2196L18.8663 17.0492L18.1381 16.643C17.0673 16.0458 15.8438 16.2642 14.9279 16.7839C13.9931 17.3143 13.1133 18.3049 13.1133 19.5844V20.25H10.8867V19.5844C10.8867 18.3049 10.0069 17.3143 9.07213 16.7839C8.15633 16.2643 6.93285 16.0458 5.862 16.643L5.13366 17.0493L4.04024 15.2197L4.73209 14.8339C5.81032 14.2325 6.22853 13.0368 6.22853 12C6.22853 10.9631 5.81029 9.76727 4.73196 9.16584L4.04045 8.78015L5.13387 6.95061L5.86227 7.35687C6.93304 7.95409 8.15644 7.73566 9.07219 7.21609C10.007 6.68573 10.8867 5.69517 10.8867 4.41572ZM9.75 12C9.75 10.7574 10.7574 9.75 12 9.75C13.2426 9.75 14.25 10.7574 14.25 12C14.25 13.2426 13.2426 14.25 12 14.25C10.7574 14.25 9.75 13.2426 9.75 12ZM12 8.25C9.92893 8.25 8.25 9.92893 8.25 12C8.25 14.0711 9.92893 15.75 12 15.75C14.0711 15.75 15.75 14.0711 15.75 12C15.75 9.92893 14.0711 8.25 12 8.25Z",fill:"currentColor"})}),s=(0,o.forwardRef)(l)},78595:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsx)("svg",{width:32,height:33,viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,n.jsx)("path",{d:"M21.267 16.318c-.878-.843-2.03-1.27-3.415-1.27-.042 0-.124 0-.207.013h-.082c-.05.016-.1.03-.151.042-.014 0-.014.013-.028.013v-4.943c.275.441.783.939 1.633 1.588 1.756 1.325.507 2.693.507 2.693.933-.456 1.29-1.644.426-2.665.604-.567.727-1.534 0-2.39.741-.69.782-2.003-.63-2.955-1.702-1.148-1.922-2.831-1.922-2.845v-.014h-.563v5.496c-.356.276-.713.553-1.069.801-1.03.718-2.031 1.313-3.046 1.782v.4l1.029-.566v9.598c0 .332-.028.608-.11.829a4.06 4.06 0 0 1-.33.705c.989-.346 1.702-.802 2.114-1.368.425-.58.617-1.63.617-3.12v-1.77c.26-.207.521-.386.795-.594l.015 8.645c-.165.042-.344.097-.494.124-.21.027-.42.04-.631.042-1.51 0-2.731-.705-3.69-2.127-.962-1.422-1.428-3.272-1.428-5.565 0-1.92.288-3.604.905-5.068.59-1.464 1.51-2.762 2.717-3.867-1.798.814-3.265 2.086-4.445 3.826C8.59 13.555 8 15.338 8 17.174c0 2.238.755 4.115 2.264 5.662 1.51 1.547 3.32 2.32 5.46 2.32.38 0 .762-.027 1.139-.082v3.355c0 .042 0 .207-.068.428-.07.194-.207.442-.508.705-.192.151-.59.33-.824.358l-.082.014h-.233a1.17 1.17 0 0 1-.316-.069c-.095-.028-.192-.083-.274-.124-.082-.042-.151-.124-.22-.193a.897.897 0 0 1-.22-.442c-.067-.373.097-.635.166-.746.028-.07.082-.097.123-.124.128.13.299.208.48.22.467.07.878-.276.946-.745a.874.874 0 0 0-.162-.641.863.863 0 0 0-.564-.34c-.33-.041-.686 0-1.043.29-.299.257-.514.6-.617.981-.028.096-.041.207-.069.317-.027.
111-.013.208 0 .332.014.207.082.442.192.65.11.22.261.428.467.58.096.082.206.137.329.206.11.07.234.097.37.124.124.028.261.042.385.042 1.29 0 2.29-.566 2.332-1.934v-3.342a7.085 7.085 0 0 0 3.17-1.533c1.358-1.146 2.044-2.471 2.044-3.976-.055-1.257-.493-2.32-1.4-3.149zM19.8 11.636c-.137-.138-.315-.276-.507-.428a4.49 4.49 0 0 1-1.894-2.734v-.719c.275.442.755.954 1.647 1.602 1.125.898.987 1.782.754 2.28zM19.03 7.01c1.152.857 1.002 1.754.782 2.264-.137-.138-.316-.276-.508-.427-1.523-1.036-1.838-2.486-1.907-2.776v-.69c.246.441.741.952 1.633 1.629zm-3.005 9.032v-5.939l.795-.58v5.94c-.26.192-.52.372-.795.58zm3.897 4.64c-.029.262-.206 1.836-1.085 2.72-.342.346-.781.622-1.29.829a.484.484 0 0 1-.15.042l-.014-8.728c.604.11 1.098.372 1.523.829.357.386.632.911.81 1.519.028.11.096.386.096.428.013.041.246.993.11 2.361z",fill:"currentColor"})}),s=(0,o.forwardRef)(l)},79270:(e,t,i)=>{i.d(t,{r:()=>s});var o=i(68963),n=i(75859);const l=(e,t)=>(0,n.jsx)("svg",{width:20,height:21,viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,n.jsx)("path",{d:"M16.875 4.112H3.125a1.25 1.25 0 0 0-1.25 1.25v12.5a1.238 1.238 0 0 0 .722 1.133 1.241 1.241 0 0 0 1.34-.187l2.508-2.196h10.43a1.25 1.25 0 0 0 1.25-1.25v-10a1.25 1.25 0 0 0-1.25-1.25zm0 11.25H6.445c-.294 0-.579.104-.804.293l-.01.009-2.506 2.198v-12.5h13.75v10zm-10-6.25a.625.625 0 0 1 .625-.625h5a.625.625 0 1 1 0 1.25h-5a.625.625 0 0 1-.625-.625zm0 2.5a.625.625 0 0 1 .625-.625h5a.625.625 0 0 1 0 1.25h-5a.625.625 0 0 1-.625-.625z",fill:"currentColor"})}),s=(0,o.forwardRef)(l)},22336:(e,t,i)=>{i.d(t,{Z:()=>u});var o=i(2295),n=i(68963),l=i(47345);const s=(e,t)=>{const i=(0,n.useRef)(null),o=(0,n.useRef)(new Map),l=(0,n.useRef)(-1),s=(0,n.useRef)([]);(0,n.useEffect)((()=>{if(!e&&!t)return;const n=o.current;return i.current=new IntersectionObserver((i=>{if(i.forEach((e=>{const t=parseInt(e.target.dataset.index,10);isNaN(t)||(e.isIntersecting&&e.intersectionRatio>.1?o.current.set(t,{element:e.target,rect:e.boundingClientRect,intersectionRatio:e.intersectionRatio}):o.current.delete(t))})),e){const t=.3*window.innerHeight;let i=-1,n=1/0;o.current.forEach(((e,o)=>{const l=Math.abs(e.rect.top-t);l<n&&(n=l,i=o)})),-1!==i&&i!==l.current&&(l.current=i,window.requestIdleCallback?window.requestIdleCallback((()=>{e(i)})):e(i))}if(t){const e=[];o.current.forEach(((t,i)=>{t.intersectionRatio>.5&&e.push(i)})),e.sort(((e,t)=>e-t));(e.length!==s.current.length||e.some(((e,t)=>e!==s.current[t])))&&(s.current=[...e],window.requestIdleCallback?window.requestIdleCallback((()=>{t(e)})):t(e))}}),{root:null,rootMargin:"0px",threshold:[0,.1,.25,.5,.75,1]}),()=>{i.current&&i.current.disconnect(),n.clear(),l.current=-1,s.current=[]}}),[e,t]);return{observeElement:(0,n.useCallback)(((e,t)=>{e&&i.current&&(e.dataset.index=t.toString(),i.current.observe(e))}),[])}};var r=i(75859);const a=(0,o.Z)((()=>({virtual:{marginBottom:50}}))),d={top:1e3,bottom:1400},c=(0,n.forwardRef)(((e,t)=>{let{itemContainer:i=null,items:o,renderItem:c,initialIndex:u=0,endReached:v,endReachedContent:p,emptyPlaceholder:m,scrollSeekPlaceholder:h,onVisibleIndexChange:g,onVisibleElementsChange:x,onAtBottom:f,increaseViewportBy:C=d,...j}=e;const w=a(),{observeElement:b}=s(g,x),y=(0,n.useMemo)((()=>(e=>(e=parseInt(e,10))>0?e-.5:e)(o&&u<o.length?u:0)),[u,o]),I=(0,n.useCallback)(((e,t)=>(0,r.jsx)("div",{ref:t=>{t&&b(t,e)},children:c(e,t)})),[c,b]),k=(0,n.useCallback)((e=>{f&&f(e)}),[f]),N=(0,n.useMemo)((()=>({Footer:p,EmptyPlaceholder:m,itemContainer:i,ScrollSeekPlaceholder:h})),[m,p,i,h]);return(0,r.jsx)(l.OO,{...j,ref:t,initialTopMostItemIndex:y,increaseViewportBy:C,useWindowScroll:void 0===j.useWindowScroll||j.useWindowScroll,data:o,itemContent:g?I:c,components:N,endReached:v,atBottomStateChange:k,id:"virtuoso",className:w.virtual})}));c.displayName="EndlessResults";const u=c},52694:(e,t,i)=>{i.d(t,{Z:()=>d});var o=i(68963),n=i(2295),l=i(87381),s=i(1012),r=i(75859);const a=(0,n.Z)((e=>(0,l.Z)({menuItemContainer:{cursor:"pointer","&.menuItemContainer":{display:"flex",alignItems:"center",height:48,color:e.palette.text.primary,padding:"0 18px",backgroundColor:e.type.includes("chill")?e.palette.newColors.backgroundBg["0_elevated"]:e.palette.newColors.backgroundBg[0],transition:e.palette.newColors.transition.background["02"],"&:hover":{backgroundColor:e.type.includes("chill")?e.palette.newColors.unique.chillListHover:e.palette.newColors.backgroundBg[3]},"& .icon":{width:20,height:20,marginRight:15,"--icon-padding-multiplier":"none","&:hover":{backgroundColor:"transparent"}},"& .disableIcon":{cursor:"not-allowed","& path":{fill:e.palette.newColors.neutral[400]}},"& .right-icon.icon":{marginRight:0,display:"inline-flex",justifyContent:"flex-end","& svg":{width:"20px",height:"20px"}},"&.danger > .wrapper":{"& .icon":{"& svg":{color:e.palette.newColors.neutral[900]}}},"& > .wrapper":{display:"flex",width:"100%","& .icon":{"& svg":{color:e.palette.newColors.neutral[900],fontSize:20,width:"1em",height:"1em"}},"& > .subText":{flexDirection:"column",alignItems:"flex-start"},"& > .subTextIcon":{justifyContent:"flex-start"}},"& .separator":{padding:0},"&.wrap-text":{height:"auto",padding:"15px","& > .wrapper > div":{whiteSpace:"pre-wrap"}}},"&.disabled":{color:e.palette.newColors.neutral[400],cursor:"not-allowed"}},menuItemName:{display:"flex",lineHeight:"19.95px",color:e.palette.newColors.neutral[900],fontSize:15,fontWeight:400,alignItems:"center",flexGrow:1,whiteSpace:"nowrap",textAlign:"left",cursor:"pointer","&.disabled":{color:e.palette.newColors.neutral[200],cursor:"not-allowed"}
1,"&.sub-text":{display:"inline-block !important"}},subText:{color:e.palette.newColors.neutral[500]},centerVertically:{display:"flex",alignItems:"center",justifyContent:"center"},moreOptionFocus:{display:"block",backgroundColor:"transparent",border:"none",width:"100%"}}))),d=e=>{let{className:t,doClick:i,icon:n,rightIcon:l,overrideContentComp:d,role:c,text:u,subText:v,url:p,wrapText:m,disabled:h,noLeftIcon:g,rightComp:x}=e;const f=a(),C="separator"===c,j=d?(0,r.jsx)("div",{className:"wrapper",children:d}):(0,r.jsxs)("div",{className:"wrapper",children:[!g&&(0,r.jsx)("div",{className:f.centerVertically,children:(0,o.isValidElement)(n)?(0,r.jsx)("div",{className:(0,s.Z)("icon",h&&"disableIcon"),children:n}):(0,r.jsx)("div",{className:"icon"})}),(0,r.jsxs)("div",{className:(0,s.Z)(f.menuItemName,h&&"disabled","menu-item-name",v&&"sub-text"),children:[u,(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:f.subText,children:v})]}),(0,r.jsxs)("div",{className:(0,s.Z)(f.centerVertically,"right-centerVertically"),children:[(0,o.isValidElement)(l)&&x,(0,o.isValidElement)(l)&&(0,r.jsx)("div",{className:(0,s.Z)("icon right-icon",h&&"disableIcon"),children:l})]})]});return(0,r.jsx)(r.Fragment,{children:!h&&(0,r.jsx)("button",{className:f.moreOptionFocus,children:(0,r.jsx)("div",{className:(0,s.Z)(f.menuItemContainer,C?"separator":t,m&&"wrap-text",h&&"disabled","menuItemContainer"),onClick:e=>i(e,p),tabIndex:0,children:C?null:j})})})}},73223:(e,t,i)=>{i.r(t),i.d(t,{default:()=>Nt});var o=i(2295),n=i(55195),l=i(1012),s=i(57643),r=i(22971),a=i(10950),d=i(244),c=i(53390),u=i(68963),v=i(62758),p=i(78344),m=i(4667),h=i(22336),g=i(14167),x=i(94200),f=i(81557),C=i(73650),j=i(30107),w=i(24463),b=(i(9756),i(34990)),y=i(54487),I=i(12727),k=i(4365),N=i(47099),Z=i(32495);const S=e=>{const{t:t}=(0,n.$)();switch(e){case x.J.postTypes.POST:case x.J.postTypes.SHARE_POST:case x.J.postTypes.LIKE_POST:return t("getter_fe.notifications.post");case x.J.postTypes.COMMENT:case x.J.postTypes.LIKE_COMMENT:case x.J.postTypes.SHARE_COMMENT:return t("getter_fe.notifications.reply");default:return""}};var L=i(41748),T=i(42823),B=i(41600),R=i(31024),M=i(41176),_=i(52694),V=i(85338),H=i(43e3),P=i(81967),E=i(18341),W=i(75859);const U=(e,t)=>(0,W.jsx)("svg",{width:28,height:29,viewBox:"0 0 28 29",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8753 3.78516C14.8753 3.30191 14.4835 2.91016 14.0003 2.91016C13.517 2.91016 13.1253 3.30191 13.1253 3.78516V4.12489C11.6755 4.28515 10.3443 4.83898 9.24095 5.67717L10.2234 7.12954C11.264 6.31343 12.5753 5.82682 14.0003 5.82682C17.383 5.82682 20.1253 8.56908 20.1253 11.9518V17.3276C20.1253 17.6326 20.2841 17.9156 20.5444 18.0745C21.5002 18.6579 22.1896 19.6297 22.3951 20.7691H19.4502L20.634 22.5191H23.1715C23.7443 22.5191 24.2086 22.0548 24.2086 21.482C24.2086 19.5866 23.2892 17.9066 21.8753 16.8626V11.9518C21.8753 7.89834 18.8127 4.56015 14.8753 4.12489V3.78516ZM7.24553 7.90124C6.53431 9.08473 6.12533 10.4705 6.12533 11.9518V16.8626C4.71137 17.9066 3.79199 19.5866 3.79199 21.482C3.79199 22.0548 4.25632 22.5191 4.82911 22.5191H10.7927C10.8285 24.26 12.2509 25.6601 14.0003 25.6601C15.7149 25.6601 17.1153 24.3152 17.2042 22.6227L15.9503 20.7691H5.60548C5.81096 19.6297 6.50042 18.6578 7.45618 18.0745C7.71651 17.9156 7.87532 17.6326 7.87532 17.3276V11.9518C7.87532 11.1005 8.04902 10.2897 8.36289 9.553L7.24553 7.90124ZM12.5435 22.5191C12.5787 23.2933 13.2175 23.9101 14.0003 23.9101C14.7832 23.9101 15.422 23.2933 15.4571 22.5191H12.5435ZM7.72502 4.4615C7.45425 4.06123 6.91027 3.95625 6.51 4.22702C6.10973 4.49779 6.00475 5.04177 6.27552 5.44204L19.6922 25.2754C19.963 25.6756 20.5069 25.7806 20.9072 25.5098C21.3075 25.2391 21.4125 24.6951 21.1417 24.2948L7.72502 4.4615Z",fill:"currentColor"})}),O=(0,u.forwardRef)(U);var D=i(35469);const F=(e,t)=>(0,W.jsx)("svg",{width:28,height:29,viewBox:"0 0 28 29",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7083 2.61719C14.1916 2.61719 14.5833 3.00894 14.5833 3.49219V3.83192C18.5208 4.26718 21.5833 7.60537 21.5833 11.6589V16.5697C22.9973 17.6136 23.9167 19.2937 23.9167 21.189C23.9167 21.7618 23.4523 22.2262 22.8795 22.2262H16.916C16.8801 23.967 15.4578 25.3672 13.7083 25.3672C11.9589 25.3672 10.5365 23.967 10.5007 22.2262H4.53712C3.96433 22.2262 3.5 21.7618 3.5 21.189C3.5 19.2937 4.41938 17.6136 5.83333 16.5697V11.6589C5.83333 7.60537 8.89588 4.26718 12.8333 3.83192V3.49219C12.8333 3.00894 13.2251 2.61719 13.7083 2.61719ZM12.2515 22.2262C12.2867 23.0003 12.9255 23.6172 13.7083 23.6172C14.4912 23.6172 15.13 23.0003 15.1651 22.2262H12.2515ZM7.58333 11.6589C7.58333 8.27611 10.3256 5.53385 13.7083 5.53385C17.0911 5.53385 19.8333 8.27611 19.8333 11.6589V17.0347C19.8333 17.3397 19.9921 17.6227 20.2525 17.7815C21.2082 18.3649 21.8977 19.3367 22.1032 20.4762H5.31349C5.51897 19.3367 6.20843 18.3649 7.16419 17.7815C7.42452 17.6227 7.58333 17.3397 7.58333 17.0347V11.6589Z",fill:"currentColor"})}),A=(0,u.forwardRef)(F);var z=i(10429);const J=(0,o.Z)((e=>({root:{display:"flex",width:40,height:40,marginRight:7,alignItems:"center",justifyContent:"center",textAlign:"center",borderRadius:"50%",position:"absolute",top:8,right:0,"& svg":{color:e.palette.newColors.neutral[500]},"&:hover":{transition:e.palette.newColors.transition["02"],backgroundColor:t=>{let{anchorEl:i}=t;return null===i?e.palette.newColors.neutral[100]:""},cursor:"pointer","& svg":{color:e.palette.text.primary}}},content:{zIndex:9,"& .MuiPaper-root":{backgroundColor:e.palette.newColors.backgroundBg[0],width:245,borderRadius:6,position:"absolute",maxHeight:"80vh",overflow:"auto",top:"5px",right:"-12px",border:"1px solid ".concat(e.palette.newColors.backgroundBg[3]),boxShadow:e.palette.type.includes("dark")?"none":"0 0 7px 2px rgba(0, 0, 0, 0.08)",boxSizing:"content-box","& .MuiList-root":{padding:0}}},menuIcon:{height:"auto !important",padding:"15px 18px !important",textAlign:"left","&.menuItemContainer":{backgroundColor:e.palette.newColors.backgroundBg[0],"&:hover":{backgroundColor:e.palette.newColors.backgroundBg[2]}},"&.menuItemContainer.menuWrap":{borderRadius:0},"& .icon":{"& svg":{color:e.palette.newColors.neutral[500]}},"& .wrapper":{display:"flex",alignItems:"flex-start"}
1,"& div:nth-child(2)":{display:"-webkit-box",overflow:"hidden",whiteSpace:"normal !important",textOverflow:"ellipsis",textAlign:"left",wordWrap:"break-word","-webkit-line-clamp":"3 !important","-webkit-box-orient":"vertical",fontSize:15,color:e.palette.newColors.neutral[900]},"& div:last-child":{whiteSpace:"normal"},"&.danger.menuItemContainer":{transition:e.palette.newColors.transition["02"],"& div":{color:e.palette.newColors.neutral[900]},"&:hover":{backgroundColor:e.palette.newColors.backgroundBg[2]}}},NotificationLightIcon:{"& svg":{fill:e.palette.newColors.unique.inverseWhite}}})));function X(e){var t;let{id:i,action:o,isLive:n,uname:s,tname:r,iname:a,deleteNotification:d,removeNotification:c,updateRingMeState:p,addTurnOffNotification:m,addTurnOnNotification:h,userTurnedOffLiveNotificationCurrentUser:g,userTurnedOnLiveNotificationCurrentUser:x,status:f,toggleCloseAllDropDown:C,setNotiHoverColorBg0:w}=e;const b=(0,v.I0)(),[y,I]=(0,u.useState)(!1),[k,N]=(0,u.useState)(null),Z=J({anchorEl:k}),{turnedOffLiveNotificationUsers:S={},turnedOnLiveNotificationUsers:M={}}=null!==f&&void 0!==f?f:{},H=(0,z.Z)(S||M,a),[U,F]=(0,u.useState)(null),X=(0,v.v9)((e=>e.notifications.notifUserList)),q=()=>{N(null)};(0,u.useEffect)((()=>{f.closeAllDropDown&&q()}),[f.closeAllDropDown]),(0,u.useEffect)((()=>{w(!!k)}),[k]),(0,u.useEffect)((()=>{if(M[a]){const e=null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)!==a));e.push({iname:a,ringme_ls:1}),b((0,R.qP)(e))}else if(S[a]){const e=null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)!==a));e.push({iname:a,ringme_ls:0}),b((0,R.qP)(e))}}),[H]);const G=X&&(null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)===a)));return(0,u.useEffect)((()=>{(null===G||void 0===G?void 0:G.length)<=0&&!U?I(!0):I(!1),G&&F(null)}),[G,U]),(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:Z.root,children:[(0,W.jsx)(L.ZP,{title:(0,j.t)("getter_fe.common.people.more"),placement:"bottom",children:(0,W.jsx)(P.r,{"aria-controls":"more-menu","aria-haspopup":"true",onClick:e=>{e.preventDefault(),e.stopPropagation(),G&&(null===G||void 0===G?void 0:G.length)<=0&&async function(){let e={uname:s,tnames:["".concat(a)]};const t=await(0,D.R)(e);F(t);let i={iname:a,ringme_ls:null===t||void 0===t?void 0:t.ringme_ls},o=[...X]||[];const n=null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)===a));(null===n||void 0===n?void 0:n.length)<=0&&(o.push(i),b((0,R.qP)(o)))}();const t={...e};C(!0),setTimeout((()=>C(!1)),0),setTimeout((()=>{(async e=>{N(e.currentTarget),n&&!H&&(I(!0),await g({uname:s,iname:a}),I(!1)),n&&H&&(I(!0),await x({uname:s,iname:a}),I(!1))})(t)}),100)}})}),(0,W.jsx)(V.i,{anchorEl:k,id:"notification-menu",open:!!k,onClose:q,className:Z.content,children:y?(0,W.jsx)(Y,{}):(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(_.Z,{text:(0,j.t)("getter_fe.notifications.deleteNotification"),icon:(0,W.jsx)(E.r,{}),doClick:async e=>{e.preventDefault(),e.stopPropagation(),q();const t=await d(i);null!==t&&void 0!==t&&t.err?console.error(null===t||void 0===t?void 0:t.err):(c({id:i,action:o}),T.Am.info((0,W.jsx)(B.r,{message:(0,j.t)("getter_fe.notifications.deletedNotificationSuccess")}),{type:T.Am.TYPE.SUCCESS,delay:300}))},className:(0,l.Z)(Z.menuIcon,"danger","menuWrap")}),n&&(G&&1===(null===(t=G[0])||void 0===t?void 0:t.ringme_ls)||1===(null===U||void 0===U?void 0:U.ringme_ls))?(0,W.jsx)(_.Z,{text:"".concat((0,j.t)("getter_fe.notifications.turnOffLiveNotification",{username:r})),icon:(0,W.jsx)(O,{}),doClick:async e=>{e.preventDefault(),e.stopPropagation();const t={uname:s,tname:a,notifSwitch:"ringme_ls",notifState:0},i=await p(t);if(q(),null!==i&&void 0!==i&&i.err)return void console.error(null===i||void 0===i?void 0:i.err);m({tname:a,turnOff:!0,turnOn:!1}),T.Am.info((0,W.jsx)(B.r,{message:(0,j.t)("getter_fe.notifications.turnedOffLiveNotificationSuccess",{username:r})}),{type:T.Am.TYPE.SUCCESS,delay:300});const o=null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)!==a));o.push({iname:a,ringme_ls:0}),b((0,R.qP)(o))},className:(0,l.Z)(Z.menuIcon,"menuWrap")}):n&&(0,W.jsx)(_.Z,{text:"".concat((0,j.t)("getter_fe.notifications.turnOnLiveNotification",{username:r})),icon:(0,W.jsx)(A,{className:Z.NotificationLightIcon}),doClick:async e=>{e.preventDefault(),e.stopPropagation();const t={uname:s,tname:a,notifSwitch:"ringme_ls",notifState:1},i=await p(t);if(q(),null!==i&&void 0!==i&&i.err)return void console.error(null===i||void 0===i?void 0:i.err);h({tname:a,turnOn:!0,turnOff:!1}),T.Am.info((0,W.jsx)(B.r,{message:(0,j.t)("getter_fe.notifications.turnedOnLiveNotificationSuccess",{username:r})}),{type:T.Am.TYPE.SUCCESS,delay:300});const o=null===X||void 0===X?void 0:X.filter((e=>(null===e||void 0===e?void 0:e.iname)!==a));o.push({iname:a,ringme_ls:1}),b((0,R.qP)(o))},className:(0,l.Z)(Z.menuIcon,"menuWrap")})]})})]})})}const q=(0,v.$j)((e=>{let{status:t}=e;return{status:t}}),{deleteNotification:R.no,removeNotification:R.FV,updateRingMeState:R.jg,addTurnOffNotification:M.oM,addTurnOnNotification:M.AI,userTurnedOffLiveNotificationCurrentUser:M.Bb,userTurnedOnLiveNotificationCurrentUser:M.B5,toggleCloseAllDropDown:M.zW})((0,u.memo)(X)),Y=e=>{let{isMobile:t}=e;const i={width:"100%",height:100,display:"flex",alignItems:"center",justifyContent:"center"};return t&&(i.height=228),(0,W.jsx)(H.P,{wrapperStyle:i})};var G=i(46378),$=i(90652),Q=i(62290),K=i(57136);const ee=async(e,t)=>{if(!e)return;const i={method:"get",url:"https://gettr.com/api"+(e.startsWith("p")?"/u/post/".concat(e,"?incl=poststats|userinfo|shared|liked|bookmarks"):"/u/comment/".concat(e,"?incl=commentstats|userinfo|shared|liked|bookmarks")),headers:{"Content-Type":"application/json"}};await(0,K.Z)(i,(e=>{if(200===e.status&&e.data.result){var i,o,n,l,s;const{data:v,aux:p}=null!==(i=null===(o=e.data)||void 0===o?void 0:o.result)&&void 0!==i?i:{},{lks:m,shrs:h,bookmarks:g}=null!==p&&void 0!==p?p:{};if((null===m||void 0===m?void 0:m.length)>0&&t((0,$.u8)(m)),(null===h||void 0===h?void 0:h.length)>0&&t((0,$.uW)(h)),(null===g||void 0===g?void 0:g.length)>0&&t((0,$._u)(g)),null!==(n=e.data)&&void 0!==n&&null!==(l=n.result)&&void 0!==l&&null!==(s=l.aux)&&void 0!==s&&s.post){var r,a,d,c,u;let{lks:i,shrs:o,bookmarks:n}=null!==(r=null===(a=e.data)||void 0===a||null===(d=a.result)||void 0===d||null===(c=d.aux)||void 0===c||null===(u=c.post)||void 0===u?void 0:u.aux)&&void 0!==r?r:{};(null===i||void 0===i?void 0:i.length)>0&&t((0,$.u8)(i)),(null===o||void 0===o?void 0:o.length)>0&&t((0,$.uW)(o)),(null===n||void 0===n?void 0:n.length)>0&&t((0,$._u)(n))}if(v&&p){const{comments:e,likes:i,reposts:o}=(0,Q.Zx)(v,p);t((0,$.q9)({[v._id]:{c:e,l:i,s:o}}))}}}),(e=>{console.error(e)}))},te=(0,o.Z)((e=>({notificationContainer:{cursor:"pointer",fontSize:15,backgroundColor:t=>{let{isSeen:i}=t;return i?e.palette.newColors.backgroundBg["0_elevated"]:e.palette.newColors.systemBlue[50]},borderRadius:10,display:"grid",gridTemplateColumns:"76px 1fr",padding:"15px 40px 1px 0",marginBottom:22,boxShadow:e.mixins.boxShadow.primary,transition:e.palette.newColors.transition["02"],[e.breakpoints.down("xs")]:{marginBottom:10,borderRadius:0,boxShadow:"none"},"&:hover":{backgroundColor:t=>{let{notiHoverColorBg0:i}=t;return i?e.palette.newColors.backgroundBg[0]:e.palette.newColors.backgroundBg[2]}}},notificationLeft:{display:"flex",justifyContent:"flex-end",paddingRight:e.spacing(2),paddingTop:e.spacing(.25)},blueIcon:{color:"#0F6CF6"},notificationBody:{"& h4":{fontWeight:700,"& span":{fontWeight:400}}},notificationHeader:{marginBottom:e.spacing(1.25),"& p":{color:e.palette.text.primary}},flexBox:{width:"80%",flexGrow:1,display:"flex"}
1,fullWidthBox:{display:"flex",alignItems:"center"},avatarColumn:{position:"relative",padding:"15px 18px 1px 18px","& > div":{maxWidth:"100%"}},avatar:{width:32,height:32,borderRadius:"100%",cursor:"pointer"},soloAvatar:{width:50,height:50,borderRadius:"100%",cursor:"pointer",border:"1px solid ".concat(e.palette.newColors.avatarBorder)},avatarList:{display:"flex",flexDirection:"row-reverse",justifyContent:"flex-end",marginLeft:10,marginBottom:e.spacing(1.5),"& .MuiAvatar-circular":{"&:not(:last-child)":{}}},icon:{width:16,height:16,borderRadius:"100%"},influencer:{display:"flex",alignItems:"center",flexShrink:0,marginRight:"3px"},headerContent:{display:"flex",justifyContent:"space-between",flexDirection:"column",fontSize:15,padding:"5px 10px"},mentionItem:{cursor:"pointer",display:"flex",flexDirection:"column",backgroundColor:t=>{let{isSeen:i}=t;return i?e.palette.newColors.backgroundBg[0]:e.palette.newColors.systemBlue[50]},boxShadow:e.mixins.boxShadow.primary,borderRadius:10,width:"100%",transition:e.palette.newColors.transition["02"],[e.breakpoints.only("xs")]:{borderRadius:0},"&:hover":{backgroundColor:t=>{let{notiHoverColorBg0:i}=t;return i?e.palette.newColors.backgroundBg[0]:e.palette.newColors.backgroundBg[2]}}},mentionItemBody:{position:"relative",flexDirection:"row",flexGrow:1,fontSize:15,"& .detailLine":{left:60,width:"100%",maxWidth:540},"& .stats-counts-wrapper":{paddingLeft:80}},mentionColumn:{width:"calc(100% - 67px)",display:"flex",flexDirection:"column",wordBreak:"break-all"},moreDropDown:{marginRight:8},mentionItemContent:{cursor:"pointer"},dot:{color:e.palette.newColors.neutral[500],display:"flex",fontSize:15,flexShrink:0,marginLeft:5,marginRight:5},replyingTo:{color:e.palette.text.primary,marginTop:e.spacing(1),marginBottom:e.spacing(.5),fontSize:15,"& a":{color:["light","dark"].includes(e.type)?e.palette.newColors.systemBlue[500]:e.palette.newColors.red[600],fontWeight:"normal","&:hover":{textDecoration:"underline"}},[e.breakpoints.down("sm")]:{color:e.palette.text.grey3}},sinceTime:{color:e.palette.newColors.neutral[500],display:"flex",flexShrink:0},userAtNameShort:{maxWidth:90,color:e.palette.newColors.neutral[500],flexShrink:99,marginLeft:"3px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontWeight:"400",[e.breakpoints.down("xs")]:{flexShrink:99,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",Display:"block"}},userDisplayName:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",lineHeight:"19px","&:hover a":{textDecoration:"underline"},"& a":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",maxWidth:"240px",verticalAlign:"bottom",[e.breakpoints.down("xs")]:{maxWidth:"96px"}}},userAtName:{color:e.palette.newColors.neutral[500],cursor:"pointer",fontWeight:500,flexShrink:0,maxWidth:"130px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},text:{fontSize:15,letterSpacing:"0.01em",lineHeight:"19.5px",wordBreak:"break-word"},bodyText:{lineHeight:"19.5px","& .highlight, & .highlight-link":{color:"light"===e.type||"dark"===e.type?e.palette.text.link:e.palette.newColors.red[600],fontWeight:"normal","&:hover":{textDecoration:"underline"}}},linkText:{color:e.palette.text.grey,lineHeight:"19.5px",wordBreak:"break-word"},hoverPopup:{flexShrink:0,alignItems:"flex-start"},avatarRow:{display:"flex"},statIcon:{paddingLeft:0}}))),ie=e=>{const t=(e=e.replace(/^https?:\/\//,"")).split("/");if(t.length>1){var i;let e=t[t.length-1];return e=(null===(i=e)||void 0===i?void 0:i.length)>10?e.slice(0,10)+"...":e,t[0]+"/.../"+e}return t},oe=e=>{var t;let{notification:i,onClickCapture:o,user:n,originalUser:l,userInfos:s}=e;const{othr:r,isSeen:a,topk_init_lvl:d,rtxt:c,ttxt:m,tid:h,rid:g,ruid:C,rtype:y,tmedia:N,count:Z}=null!==i&&void 0!==i?i:{},L=te({isSeen:a}),T=S(null!==y&&void 0!==y?y:x.J.postTypes.POST),B=(0,v.I0)(),R=(0,p.s0)(),M=[...null!==r&&void 0!==r?r:[]],[_]=null!==r&&void 0!==r?r:[],[V]=null!==N&&void 0!==N?N:[],H=(0,w.vX)("https://media.gettr.com",(0,w.Ml)(V,500,0))||"";return(0,u.useEffect)((()=>{ee(h,B)}),[h]),Z>1?(0,W.jsxs)("div",{className:L.notificationContainer,onClickCapture:o,onClick:()=>{R("/".concat(g.startsWith(x.v)?"post":"comment","/").concat(g))},children:[(0,W.jsx)("div",{className:L.notificationLeft,children:(0,W.jsx)(G.r,{className:L.blueIcon})}),(0,W.jsxs)("div",{className:L.notificationBody,children:[(0,W.jsxs)("div",{className:L.notificationHeader,children:[(0,W.jsx)("div",{className:L.avatarList,children:(null===M||void 0===M?void 0:M.length)&&M.reverse().map((e=>{let{p:t,i:i,n:o}=e;return(0,W.jsx)(k.Z,{userId:i,extraClass:L.hoverPopup,children:(0,W.jsx)(b._,{avatarUrl:t,userInfo:s[i],styleClasses:L.avatar,username:o})},t)}))}),(0,W.jsxs)("h4",{className:L.userDisplayName,children:[(0,W.jsx)(k.Z,{leftAligned:!0,userId:null===_||void 0===_?void 0:_.i,triggerTag:"span",children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===_||void 0===_?void 0:_.i),onClick:e=>{e.stopPropagation()},children:null===_||void 0===_?void 0:_.n})}),Z>2?(0,W.jsx)("span",{children:(0,j.t)("getter_fe.notifications.moreRepliedYour",{number:Z-1,label:T})}):(0,W.jsxs)("span",{children:[(0,j.t)("getter_fe.notifications.multiUserDivider"),(0,W.jsx)(k.Z,{leftAligned:!0,userId:null===_||void 0===_?void 0:_.i,triggerTag:"span",children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===_||void 0===_?void 0:_.i),onClick:e=>{e.stopPropagation()},children:null===(t=M[0])||void 0===t?void 0:t.o})}),(0,j.t)("getter_fe.notifications.twoRepliedYour",{label:T})]})]})]}),(0,W.jsx)("div",{className:L.bodyText}),(0,W.jsx)(I.Z,{text:m}),H&&(0,W.jsx)("div",{className:L.linkText,children:ie(H)})]})]}):(0,W.jsx)(ne,{notification:i,onClickCapture:o,user:n,originalUser:l,userInfos:s})},ne=e=>{let{notification:t,onClickCapture:i,user:o,originalUser:n,userInfos:l}=e;const{act:s,cdate:r,othr:a,isSeen:d,topk_init_lvl:v,ttxt:m,tid:h,ruid:g,tmedia:S,msgId:L}=null!==t&&void 0!==t?t:{},[T,B]=(0,u.useState)(!1),R=te({isSeen:d,notiHoverColorBg0:T}),M=(0,p.s0)(),[_]=null!==a&&void 0!==a?a:[],V=C.k.SinceTimeV5(r,Date.now(),(0,j.VQ)(),!1),H=C.k.SinceTimeV4(r,Date.now()),P=s===x.J.COMMENT,[E]=null!==S&&void 0!==S?S:[],U=(0,w.vX)("https://media.gettr.com",(0,w.Ml)(E,500,0))||"";return(0,W.jsx)("div",{className:R.mentionItem,onClickCapture:i,onClick:()=>{M("/".concat(P?"comment":"post","/").concat(h))},children:(0,W.jsxs)("div",{className:R.mentionItemBody,children:[(0,W.jsx)("div",{className:R.avatarColumn,children:(0,W.jsxs)("div",{className:R.avatarRow,children:[(0,W.jsx)(k.Z,{userId:null===_||void 0===_?void 0:_.i,extraClass:R.hoverPopup,children:(0,W.jsx)(b._,{avatarUrl:null===_||void 0===_?void 0:_.p,styleClasses:R.soloAvatar,userId:null===_||void 0===_?void 0:_.i,username:null===_||void 0===_?void 0:_.n,userInfo:null===l||void 0===l?void 0:l[null===_||void 0===_?void 0:_.i]})}),(0,W.jsx)("div",{className:R.mentionColumn,children:(0,W.jsxs)("div",{className:R.headerContent,children:[(0,W.jsxs)(c.Z,{alignItems:"center",flexDirection:"row",className:R.flexBox,children:[(0,W.jsxs)(c.Z,{className:R.fullWidthBox,children:[(0,W.jsx)("div",{className:R.userDisplayName,children:(0,W.jsx)(k.Z,{leftAligned:!0,userId:null===_||void 0===_?void 0:_.i,triggerTag:"span",children:(0,W.jsx)(y.a,{userId:null===_||void 0===_?void 0:_.i,nickname:null===_||void 0===_?void 0:_.n})})}),(0,W.jsx)(N.d,{userInfo:null===l||void 0===l?void 0:l[null===_||void 0===_?void 0:_.i],cssStyle:R.icon,isVerified:null===_||void 0===_?void 0:_.l})]}),(0,W.jsxs)(c.Z,{className:R.fullWidthBox,children:[(0,W.jsxs)("div",{className:H?R.userAtNameShort:R.userAtName,children:["@",null===_||void 0===_?void 0:_.o]}),(0,W.jsx)("div",{className:R.dot,children:"\xb7"}),(0,W.jsx)("div",{className:R.sinceTime,children:V})]})]}),P?(0,W.jsxs)(c.Z,{className:R.replyingTo,children:[(0,j.t)("getter_fe.post.tips.replying_to")," ",(0,W.jsxs)(f.rU,{onClick:e=>e.stopPropagation(),to:"/user/".concat(g),children:["@",g]})]}):null,(0,W.jsxs)(c.Z,{mt:.5,pr:2.25,className:R.mentionItemContent,children:[(0,W.jsx)("div",{className:R.bodyText}),(0,W.jsx)(I.Z,{text:m}),U&&(0,W.jsx)("div",{className:R.linkText,children:ie(U)})]})]})})]})}),(0,W.jsx)("div",{className:R.statIcon,children:(0,W.jsx)(Z.s,{user:o,item:t,type:"comment-detail",detailLink:"".concat("https://gettr.com","/").concat("c"===(null===t||void 0===t?void 0:t.act)?"comment":"post","/").concat(null===t||void 0===t?void 0:t.t
1id),originalUser:n,scene:"notifications",isReplyCmt:P})}),(0,W.jsx)("div",{className:R.moreDropDown,children:(0,W.jsx)(q,{id:L,isLive:s===x.J.LIVE_STREAM,action:s,tname:null===_||void 0===_?void 0:_.o,uname:g,iname:null===_||void 0===_?void 0:_.i,setNotiHoverColorBg0:B})})]})})};var le=i(54889),se=i(39633),re=i(30497),ae=i(5563),de=i(95954);const ce=(e,t)=>(0,W.jsx)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.292 5.833a2.708 2.708 0 1 1 5.416 0 2.708 2.708 0 0 1-5.416 0zM10 1.875a3.958 3.958 0 1 0 0 7.917 3.958 3.958 0 0 0 0-7.917zm.898 10.417a5.145 5.145 0 0 1 5.114 4.583H3.989a5.145 5.145 0 0 1 5.114-4.583h1.795zm-1.795-1.25a6.394 6.394 0 0 0-6.395 6.394c0 .38.309.689.69.689h13.205a.69.69 0 0 0 .689-.69 6.394 6.394 0 0 0-6.395-6.393H9.104z",fill:"#007AFF"})}),ue=(0,u.forwardRef)(ce),ve=(e,t)=>(0,W.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,W.jsx)("path",{d:"M3.81818 6.22222V4.88267C3.81985 4.64923 3.91536 4.42579 4.0841 4.26064C4.25284 4.09548 4.48125 4.00186 4.72 4H21.0982C21.5964 4 22 4.39556 22 4.88267V19.1173C21.9983 19.3508 21.9028 19.5742 21.7341 19.7394C21.5653 19.9045 21.3369 19.9981 21.0982 20H4.72C4.48074 19.9998 4.25136 19.9067 4.08226 19.7412C3.91317 19.5757 3.81818 19.3513 3.81818 19.1173V18.2222H20.1818V7.82222L12.9091 14.2222L3.81818 6.22222ZM2 10.2222H6.54545V12H2V10.2222ZM2 14.6667H9.27273V16.4444H2V14.6667Z",fill:"black"})}),pe=(0,u.forwardRef)(ve);var me=i(76741),he=i(79270);const ge=(e,t)=>(0,W.jsxs)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 2.5C3.79357 2.5 4.16667 2.8731 4.16667 3.33333L4.16667 16.6667C4.16667 17.1269 3.79357 17.5 3.33333 17.5C2.8731 17.5 2.5 17.1269 2.5 16.6667L2.5 3.33333C2.5 2.8731 2.8731 2.5 3.33333 2.5Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M2.5 3.95801H11.4583C12.0336 3.95801 12.5 4.42438 12.5 4.99967V4.99967C12.5 5.57497 12.0336 6.04134 11.4583 6.04134H2.5V3.95801Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M2.5 8.95801H16.4583C17.0336 8.95801 17.5 9.42438 17.5 9.99967V9.99967C17.5 10.575 17.0336 11.0413 16.4583 11.0413H2.5V8.95801Z",fill:"currentColor"}),(0,W.jsx)("path",{d:"M2.5 13.958H8.125C8.7003 13.958 9.16667 14.4244 9.16667 14.9997V14.9997C9.16667 15.575 8.7003 16.0413 8.125 16.0413H2.5V13.958Z",fill:"currentColor"})]}),xe=(0,u.forwardRef)(ge);var fe=i(78595);const Ce=(e,t)=>(0,W.jsxs)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 1.66602C3.79357 1.66602 4.16667 2.03911 4.16667 2.49935V3.12435H11.4583C12.0336 3.12435 12.5 3.59072 12.5 4.16602C12.5 4.74131 12.0336 5.20768 11.4583 5.20768H4.16667V8.12435H16.4583C17.0336 8.12435 17.5 8.59072 17.5 9.16602C17.5 9.74131 17.0336 10.2077 16.4583 10.2077H15.8257C15.0344 9.557 14.0211 9.16634 12.9167 9.16634C11.8122 9.16634 10.799 9.557 10.0076 10.2077H4.16667V13.1243H8.125C8.21 13.1243 8.29263 13.1345 8.37172 13.1537C8.3464 13.3488 8.33333 13.5477 8.33333 13.7497C8.33333 14.2273 8.4064 14.6879 8.54197 15.1209C8.41429 15.1767 8.27326 15.2077 8.125 15.2077H4.16667V15.8327C4.16667 16.2929 3.79357 16.666 3.33333 16.666C2.8731 16.666 2.5 16.2929 2.5 15.8327V15.2077V13.1243V10.2077V8.12435V5.20768V3.12435V2.49935C2.5 2.03911 2.8731 1.66602 3.33333 1.66602Z",fill:"#currentColor"}),(0,W.jsx)("path",{d:"M16.6665 13.75C16.6665 15.8211 14.9876 17.5 12.9165 17.5C10.8454 17.5 9.1665 15.8211 9.1665 13.75C9.1665 11.6789 10.8454 10 12.9165 10C14.9876 10 16.6665 11.6789 16.6665 13.75Z",fill:"currentColor"}),(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9165 17.5C14.9876 17.5 16.6665 15.8211 16.6665 13.75C16.6665 11.6789 14.9876 10 12.9165 10C10.8454 10 9.1665 11.6789 9.1665 13.75C9.1665 15.8211 10.8454 17.5 12.9165 17.5ZM14.8558 12.3465C15.0754 12.5661 15.0754 12.9222 14.8558 13.1418L12.7711 15.2265C12.7158 15.2818 12.6518 15.3232 12.5835 15.3507C12.3808 15.4322 12.1401 15.3908 11.9758 15.2265L10.9676 14.2183C10.748 13.9987 10.748 13.6426 10.9676 13.423C11.1872 13.2034 11.5433 13.2034 11.7629 13.423L12.3735 14.0336L14.0606 12.3465C14.2802 12.1269 14.6362 12.1269 14.8558 12.3465Z",fill:"#currentColor"})]}),je=(0,u.forwardRef)(Ce);var we=i(74025),be=i(18922);const ye=function(e){return"number"==typeof e?e:(0,be.Z)(e)?NaN:+e};var Ie=i(46650);const ke=function(e,t){return function(i,o){var n;if(void 0===i&&void 0===o)return t;if(void 0!==i&&(n=i),void 0!==o){if(void 0===n)return o;"string"==typeof i||"string"==typeof o?(i=(0,Ie.Z)(i),o=(0,Ie.Z)(o)):(i=ye(i),o=ye(o)),n=e(i,o)}return n}}((function(e,t){return e+t}),0),Ne=(0,o.Z)((e=>({wrapper:{}
1,notificationContainer:{position:"relative",cursor:"pointer",fontSize:15,backgroundColor:e.palette.colors_v2.modalWindowBg,display:"grid",gridTemplateColumns:"76px 1fr",padding:"15px 18px 15px 0",borderBottom:"dark"===e.palette.type?"1px solid rgba(255, 255, 255, 0.08)":"1px solid ".concat(e.palette.newColors.neutral[100]),transition:"background-color 120ms ease",[e.breakpoints.down("xs")]:{borderRadius:0,boxShadow:"none"},"&:hover":{backgroundColor:t=>{let{notiHoverColorBg0:i}=t;return i?e.palette.colors_v2.modalWindowBg:"dark"===e.palette.type?"rgba(255, 255, 255, 0.06)":"rgba(0, 0, 0, 0.04)"}}},notificationLeft:{color:e.palette.newColors.red[600],display:"flex",justifyContent:"flex-end",padding:e.spacing(.5,2,0,5),"& .likeIcon":{color:e.palette.newColors.unique.red600},"& svg":{width:20,height:20}},notificationBody:{overflow:"hidden",color:e.palette.colors_v2.element[80],"& h4":{fontWeight:800,"& span":{fontWeight:400}}},notificationHeader:{marginBottom:e.spacing(.5),"& p":{color:e.palette.text.grey},"& .avatar-list":{marginLeft:0}},flexHeader:{display:"flex"},zeroBottomMargin:{marginBottom:0},avatarList:{display:"flex",flexDirection:"row-reverse",justifyContent:"flex-end",alignItems:"center",marginLeft:10,marginBottom:e.spacing(1.5),"& .MuiAvatar-circular":{"&:not(:last-child)":{}}},avatarAlign:{marginLeft:0},visionBody:{display:"flex",margin:"8px 0px 15px 0px !important"},visionPreview:{width:84,height:117,minWidth:84,borderRadius:5,marginRight:8},userTagText:{fontSize:15,fontWeight:500},bodyText:{color:e.palette.colors_v2.element[60],lineHeight:"20px",wordBreak:"break-word",marginTop:e.spacing(.75)},bodyGreyText:{color:e.palette.colors_v2.element[60],lineHeight:"19.5px",wordBreak:"break-word"},linkText:{color:e.palette.colors_v2.element[60],lineHeight:"19.5px"},avatar:{height:40,width:40,border:"1px solid ".concat(e.palette.newColors.avatarBorder)},avgClasses:{height:12,width:12},userNameLink:{color:e.palette.colors_v2.element[100],"&:hover":{textDecoration:"underline"}},sinceTimeBox:{fontWeight:500,marginLeft:e.spacing(.5),color:e.palette.colors_v2.element[20],flexShrink:0,"& > .MuiBox-root":{color:e.palette.colors_v2.element[20]}},sinceDateBox:{color:e.palette.colors_v2.element[20]},hoverPopup:{display:"inline-block"},inlineHoverPopUp:{display:"inline"},icon:{width:16,minWidth:16,height:16},textIsUnderImage:{display:"flex",flexDirection:"column"},pollPostBody:{overflow:"hidden","& h4":{fontWeight:700,lineHeight:"18.2px",fontSize:e.spacing(1.75),display:"inline","& span":{fontWeight:400}}},profileIconStyle:{"& path":{fill:"".concat(e.palette.newColors.systemBlue[500]," !important")}},mailLiveIconStyle:{color:e.palette.newColors.unique.red600},pollIconStyle:{color:e.palette.newColors.neutral[900]},visionIconStyle:{"& path":{fill:"".concat(e.palette.newColors.neutral[900]," !important")}},postIconStyle:{"& path":{fill:"".concat(e.palette.newColors.neutral[900]," !important")}},pollVoteText:{color:e.palette.newColors.neutral[500],fontSize:e.spacing(1.625),lineHeight:"18px",marginTop:e.spacing(1)},pollVotedIconStyle:{"& path:first-child":{fill:"".concat(e.palette.newColors.neutral[900]," !important")},"& path:nth-child(2)":{fill:"".concat(e.palette.newColors.white," !important")},"& path:nth-child(3)":{fill:"".concat(e.palette.newColors.systemRed[600]," !important")}},listAvatar:{marginRight:e.spacing(1),[e.breakpoints.only("xs")]:{marginRight:e.spacing(.5)}},statLinePadding:{padding:"15px 18px 15px 0px !important"},mentionItemWrapper:{paddingBottom:e.spacing(2.75)},postBodyText:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",display:"-webkit-box","-webkit-line-clamp":"1","-webkit-box-orient":"vertical"}}))),Ze=e=>{const t=(e=e.replace(/^https?:\/\//,"")).split("/");if(t.length>1){var i;let e=t[t.length-1];return e=(null===(i=e)||void 0===i?void 0:i.length)>10?e.slice(0,10)+"...":e,t[0]+"/.../"+e}return t},Se=[x.J.MENTIONED,x.J.COMMENT],Le=e=>{let{notification:t,onClickCapture:i,user:o,originalUser:n,userInfos:s}=e;const{act:r,isSeen:a,rid:d,tid:c,rtype:m,othr:h,id:g}=null!==t&&void 0!==t?t:{},f=d||g,C=(0,v.I0)(),[j,w]=(0,u.useState)(!1),b=Ne({isSeen:a,notiHoverColorBg0:j}),y=(0,p.s0)(),[I]=null!==h&&void 0!==h?h:[],{userInfo:k}=(0,se.E)(),N=(null===k||void 0===k?void 0:k._id)||"";let Z=(null===I||void 0===I?void 0:I.i)===N;(0,u.useEffect)((()=>{ee(f,C)}),[f,C]);const S=(0,u.useMemo)((()=>{const e=Z?(0,W.jsx)(xe,{className:b.pollIconStyle}):(0,W.jsx)(je,{className:b.pollVotedIconStyle}),t={[x.J.LIKE]:{Icon:(0,W.jsx)(de.r,{className:"likeIcon"}),getBody:()=>Re,onClickContainer:(e,t)=>{let{rid:i}=t;e("/".concat(i.startsWith(x.v)?"post":"comment","/").concat(i),{state:{showLiked:!0}})}},[x.J.REPOSTED]:{Icon:(0,W.jsx)(ae.r,{className:b.postIconStyle}),getBody:()=>Me,onClickContainer:(e,t)=>{let{tid:i}=t;e("/post/".concat(i))}},[x.J.SHARED]:{Icon:(0,W.jsx)(ae.r,{className:b.postIconStyle}),getBody:()=>Me,onClickContainer:(e,t)=>{let{rid:i}=t;e("/".concat(i.startsWith(x.v)?"post":"comment","/").concat(i))}},[x.J.FOLLOWED]:{Icon:(0,W.jsx)(ue,{className:b.profileIconStyle}),getBody:()=>Be,onClickContainer:(e,t)=>{let{notification:i}=t;if((null===i||void 0===i?void 0:i.count)>1&&null!==i&&void 0!==i&&i.othr)e("/user/".concat(null===i||void 0===i?void 0:i.ruid,"/followers"));else{const t=null===i||void 0===i?void 0:i.othr[0];e("/user/".concat(null===t||void 0===t?void 0:t.i))}}},[x.J.NEW_LOGIN]:{Icon:(0,W.jsx)(pe,{className:b.mailLiveIconStyle}),getBody:()=>Te,onClickContainer:()=>{}},[x.J.LIVE_STREAM]:{Icon:(0,W.jsx)(me.r,{className:b.mailLiveIconStyle}),getBody:()=>_e,onClickContainer:(e,t)=>{let{tid:i}=t;e("/post/".concat(i))}},[x.J.POST]:{Icon:(0,W.jsx)(he.r,{className:b.postIconStyle}),getBody:()=>Ve,onClickContainer:(e,t)=>{let{tid:i}=t;e("/post/".concat(i))}},[x.J.POLL_POST]:{Icon:e,getBody:()=>He,onClickContainer:(e,t)=>{let{tid:i}=t;e("/post/".concat(i))}},[x.J.MENTIONS_VISION]:{Icon:(0,W.jsx)(fe.r,{className:b.visionIconStyle}),getBody:()=>Pe,onClickContainer:(e,t)=>{let{tid:i}=t;e("/gtok/".concat(i))}}},i=t[r];return i?{...i,Body:i.getBody()}:null}),[Z,r,b.mailLiveIconStyle,b.pollIconStyle,b.pollVotedIconStyle,b.postIconStyle,b.profileIconStyle,b.visionIconStyle]);if(-1!==Se.indexOf(r))return(0,W.jsx)("div",{className:b.mentionItemWrapper,children:(0,W.jsx)(oe,{notification:t,rtype:m,userInfos:s,onClickCapture:i,user:o,originalUser:n})});if(!S)return null;const{Icon:L,Body:T,onClickContainer:B}=S,{msgId:R,ruid:M,act:_}=null!==t&&void 0!==t?t:{},V=["ls","f","pp","p"].includes(_);return(0,W.jsx)("div",{className:b.wrapper,children:(0,W.jsxs)("div",{className:(0,l.Z)(b.notificationContainer,V&&b.statLinePadding),onClickCapture:i,onClick:e=>
1{"A"!==e.target.tagName&&B(y,{rid:d,tid:c,notification:t})},children:[(0,W.jsx)("div",{className:b.notificationLeft,children:L}),(0,W.jsx)("div",{className:b.notificationBody,children:(0,W.jsx)(T,{notification:t,user:o,originalUser:n,onClick:i,userInfos:s})}),(0,W.jsx)(q,{isLive:r===x.J.LIVE_STREAM,tname:null===I||void 0===I?void 0:I.o,uname:M,iname:null===I||void 0===I?void 0:I.i,id:R,action:r,setNotiHoverColorBg0:w})]})})},Te=()=>(0,W.jsx)("p",{children:(0,j.t)("getter_fe.notifications.newLogin")}),Be=e=>{let{notification:t,userInfos:i}=e;const o=Ne(),{count:n,othr:s,cdate:r}=null!==t&&void 0!==t?t:{},a=C.k.SinceTimeV5(r,Date.now(),(0,j.VQ)(),!1),d=1===n,[u]=null!==s&&void 0!==s?s:[];let v=null;if(d)v=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,extraClass:o.hoverPopup,children:(0,W.jsx)(b._,{avatarUrl:null===u||void 0===u?void 0:u.p,styleClasses:o.avatar,userId:null===u||void 0===u?void 0:u.i,userInfo:null===i||void 0===i?void 0:i[null===u||void 0===u?void 0:u.i],username:null===u||void 0===u?void 0:u.o,avgClasses:o.avgClasses})})}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===u||void 0===u?void 0:u.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===u||void 0===u?void 0:u.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===u||void 0===u?void 0:u.i],cssStyle:o.icon,isVerified:null===u||void 0===u?void 0:u.l}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[(0,j.t)("getter_fe.notifications.followedYou"),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:a})]})]})]});else{var p,m,h,g;const e=[...s];v=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:o.avatarList,children:e.reverse().map((e=>{let{p:t,i:n,o:s}=e;return(0,W.jsx)(k.Z,{userId:n,extraClass:(0,l.Z)(o.hoverPopup,o.listAvatar),children:(0,W.jsx)(b._,{avatarUrl:t,styleClasses:o.avatar,userId:n,username:s,userInfo:null===i||void 0===i?void 0:i[n],avgClasses:o.avgClasses})},t)}))}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===u||void 0===u?void 0:u.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===u||void 0===u?void 0:u.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===u||void 0===u?void 0:u.i],cssStyle:o.icon,isVerified:null===u||void 0===u?void 0:u.l}),2===n&&2===e.length&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(c.Z,{className:o.sinceTimeBox,mr:.5,component:"span",children:(0,j.t)("getter_fe.notifications.multiUserDivider")}),(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===(p=e[0])||void 0===p?void 0:p.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===(m=e[0])||void 0===m?void 0:m.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===(h=e[0])||void 0===h?void 0:h.n})})})}),(0,W.jsx)(N.d,{userInfo:e[0],cssStyle:o.icon,isVerified:null===(g=e[0])||void 0===g?void 0:g.l})]}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[n>2?(0,j.t)("getter_fe.notifications.moreFollowedYou",{number:n-1}):(0,j.t)("getter_fe.notifications.followedYou"),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:a})]})]})]})}return(0,W.jsx)("div",{className:(0,l.Z)(o.notificationHeader,d&&o.flexHeader,d&&o.zeroBottomMargin,o.textIsUnderImage),children:v})},Re=e=>{let{notification:t,userInfos:i}=e;const o=Ne(),{count:n,rtxt:s,rtype:r,rmedia:a,othr:d,cdate:u}=null!==t&&void 0!==t?t:{},v=C.k.SinceTimeV5(u,Date.now(),(0,j.VQ)(),!1),p=1===n,[m]=null!==d&&void 0!==d?d:[],h=S(r),[g]=null!==a&&void 0!==a?a:[],x=(0,w.vX)("https://media.gettr.com",g)||"";let y=null;if(p)y=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{children:(0,W.jsx)(k.Z,{userId:null===m||void 0===m?void 0:m.i,extraClass:o.hoverPopup,children:(0,W.jsx)(b._,{avatarUrl:null===m||void 0===m?void 0:m.p,styleClasses:o.avatar,userId:null===m||void 0===m?void 0:m.i,username:null===m||void 0===m?void 0:m.o,userInfo:null===i||void 0===i?void 0:i[null===m||void 0===m?void 0:m.i],avgClasses:o.avgClasses})})}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===m||void 0===m?void 0:m.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===m||void 0===m?void 0:m.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===m||void 0===m?void 0:m.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===m||void 0===m?void 0:m.i],cssStyle:o.icon,isVerified:null===m||void 0===m?void 0:m.l}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[(0,j.t)("getter_fe.notifications.likedYour",{label:h}),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:v})]})]})]});else{var I,Z,L,T;const e=[...d];y=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:o.avatarList,children:e.reverse().map((e=>{let{p:t,i:n,o:s}=e;return(0,W.jsx)(k.Z,{userId:n,extraClass:(0,l.Z)(o.hoverPopup,o.listAvatar),children:(0,W.jsx)(b._,{avatarUrl:t,styleClasses:o.avatar,userId:n,userInfo:null===i||void 0===i?void 0:i[n],username:s,avgClasses:o.avgClasses})},t)}))}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===m||void 0===m?void 0:m.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===m||void 0===m?void 0:m.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===m||void 0===m?void 0:m.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===m||void 0===m?void 0:m.i],cssStyle:o.icon,isVerified:null===m||void 0===m?void 0:m.l}),2===n&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(c.Z,{className:o.sinceTimeBox,mr
1:.5,component:"span",children:(0,j.t)("getter_fe.notifications.multiUserDivider")}),(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===(I=e[0])||void 0===I?void 0:I.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===(Z=e[0])||void 0===Z?void 0:Z.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===(L=e[0])||void 0===L?void 0:L.n})})})}),(0,W.jsx)(N.d,{userInfo:e[0],cssStyle:o.icon,isVerified:null===(T=e[0])||void 0===T?void 0:T.l})]}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[n>2?(0,j.t)("getter_fe.notifications.moreLikedYour",{number:n-1,label:h}):(0,j.t)("getter_fe.notifications.twoLikedYour",{label:h}),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:v})]})]})]})}return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:(0,l.Z)(o.notificationHeader,p&&o.flexHeader,o.textIsUnderImage),children:y}),(0,W.jsx)("div",{className:o.bodyGreyText,children:s}),x&&(0,W.jsx)("div",{className:o.linkText,children:Ze(x)})]})},Me=e=>{let{notification:t,userInfos:i}=e;const o=Ne(),{rtxt:n,rtype:s,rmedia:r,othr:a,count:d,cdate:u}=null!==t&&void 0!==t?t:{},v=C.k.SinceTimeV5(u,Date.now(),(0,j.VQ)(),!1),[p]=null!==a&&void 0!==a?a:[],m=S(s),[h]=null!==r&&void 0!==r?r:[],g=(0,w.vX)("https://media.gettr.com",(0,w.Ml)(h,500,0))||"";let x=null;if(1===d)x=(0,W.jsxs)("div",{className:(0,l.Z)(o.notificationHeader,o.flexHeader,o.textIsUnderImage),children:[(0,W.jsx)("div",{children:(0,W.jsx)(k.Z,{userId:null===p||void 0===p?void 0:p.i,extraClass:o.hoverPopup,children:(0,W.jsx)(b._,{avatarUrl:null===p||void 0===p?void 0:p.p,styleClasses:o.avatar,userId:null===p||void 0===p?void 0:p.i,username:null===p||void 0===p?void 0:p.o,userInfo:null===i||void 0===i?void 0:i[null===p||void 0===p?void 0:p.i],avgClasses:o.avgClasses})})}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===p||void 0===p?void 0:p.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===p||void 0===p?void 0:p.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===p||void 0===p?void 0:p.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===p||void 0===p?void 0:p.i],cssStyle:o.icon,isVerified:null===p||void 0===p?void 0:p.l}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[(0,j.t)("getter_fe.notifications.repostedYour",{label:m}),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:v})]})]})]});else if(d>1){var y,I,Z,L;const e=[...a];x=(0,W.jsxs)("div",{className:o.notificationHeader,children:[(0,W.jsx)("div",{className:(0,l.Z)(o.avatarList,"avatar-list"),children:e.reverse().map((e=>{let{p:t,i:n,o:s}=e;return(0,W.jsx)(k.Z,{userId:n,extraClass:(0,l.Z)(o.hoverPopup,o.listAvatar),children:(0,W.jsx)(b._,{avatarUrl:t,styleClasses:o.avatar,userId:n,userInfo:null===i||void 0===i?void 0:i[n],username:s,avgClasses:o.avgClasses})},t)}))}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===p||void 0===p?void 0:p.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===p||void 0===p?void 0:p.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===p||void 0===p?void 0:p.n})})})}),(0,W.jsx)(N.d,{userInfo:null===i||void 0===i?void 0:i[null===p||void 0===p?void 0:p.i],cssStyle:o.icon,isVerified:null===p||void 0===p?void 0:p.l}),2===d&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(c.Z,{className:o.sinceTimeBox,mr:.5,component:"span",children:(0,j.t)("getter_fe.notifications.multiUserDivider")}),(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===(y=e[0])||void 0===y?void 0:y.i,triggerTag:"span",leftAligned:!0,extraClass:o.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===(I=e[0])||void 0===I?void 0:I.i),onClick:e=>e.stopPropagation(),className:o.userNameLink,children:(0,W.jsx)(re.X,{text:null===(Z=e[0])||void 0===Z?void 0:Z.n})})})}),(0,W.jsx)(N.d,{userInfo:e[0],cssStyle:o.icon,isVerified:null===(L=e[0])||void 0===L?void 0:L.l})]}),(0,W.jsxs)(c.Z,{className:o.sinceTimeBox,component:"span",children:[d>2?(0,j.t)("getter_fe.notifications.moreRepostedYour",{number:d-1,label:m}):(0,j.t)("getter_fe.notifications.twoRepostedYourContent",{label:m}),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:o.sinceDateBox,children:v})]})]})]})}return(0,W.jsxs)(W.Fragment,{children:[x,(0,W.jsx)("div",{className:o.bodyGreyText,children:n}),g&&(0,W.jsx)("div",{className:o.linkText,children:Ze(g)})]})},_e=e=>{let{notification:t,onClick:i,userInfos:o}=e;const n=Ne(),{ttxt:s,othr:r,cdate:a}=null!==t&&void 0!==t?t:{},d=C.k.SinceTimeV5(a,Date.now(),(0,j.VQ)(),!1),[u]=null!==r&&void 0!==r?r:[];return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:(0,l.Z)(n.notificationHeader,n.flexHeader,n.textIsUnderImage),children:[(0,W.jsx)("div",{children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,extraClass:n.hoverPopup,children:(0,W.jsx)(b._,{onClick:i,avatarUrl:null===u||void 0===u?void 0:u.p,styleClasses:n.avatar,userId:null===u||void 0===u?void 0:u.i,username:null===u||void 0===u?void 0:u.o,userInfo:null===o||void 0===o?void 0:o[null===u||void 0===u?void 0:u.i],avgClasses:n.avgClasses})})}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,triggerTag:"span",leftAligned:!0,extraClass:n.inl
1ineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===u||void 0===u?void 0:u.i),onClick:e=>e.stopPropagation(),className:n.userNameLink,children:(0,W.jsx)(re.X,{text:null===u||void 0===u?void 0:u.n})})})}),(0,W.jsx)(N.d,{userInfo:null===o||void 0===o?void 0:o[null===u||void 0===u?void 0:u.i],cssStyle:n.icon,isVerified:null===u||void 0===u?void 0:u.l}),(0,W.jsxs)(c.Z,{className:n.sinceTimeBox,component:"span",children:[(0,j.t)("getter_fe.notifications.isLiveStreaming"),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:n.sinceDateBox,children:d})]})]})]}),(0,W.jsx)(c.Z,{className:n.bodyText,children:(0,W.jsx)(re.X,{text:s})})]})},Ve=e=>{let{notification:t,onClick:i,userInfos:o}=e;const n=Ne(),{ttxt:s,othr:r,cdate:a}=null!==t&&void 0!==t?t:{},d=C.k.SinceTimeV5(a,Date.now(),(0,j.VQ)(),!1),[u]=null!==r&&void 0!==r?r:[];return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:(0,l.Z)(n.notificationHeader,n.flexHeader,n.textIsUnderImage),children:[(0,W.jsx)("div",{children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,extraClass:n.hoverPopup,children:(0,W.jsx)(b._,{onClick:i,avatarUrl:null===u||void 0===u?void 0:u.p,styleClasses:n.avatar,userId:null===u||void 0===u?void 0:u.i,username:null===u||void 0===u?void 0:u.o,userInfo:null===o||void 0===o?void 0:o[null===u||void 0===u?void 0:u.i],avgClasses:n.avgClasses})})}),(0,W.jsxs)(c.Z,{display:"flex",alignItems:"center",children:[(0,W.jsx)(le.Z,{variant:"inherit",color:"initial",noWrap:!0,children:(0,W.jsx)(k.Z,{userId:null===u||void 0===u?void 0:u.i,triggerTag:"span",leftAligned:!0,extraClass:n.inlineHoverPopUp,children:(0,W.jsx)(f.rU,{to:"/user/".concat(null===u||void 0===u?void 0:u.i),onClick:e=>e.stopPropagation(),className:n.userNameLink,children:(0,W.jsx)(re.X,{text:null===u||void 0===u?void 0:u.n})})})}),(0,W.jsx)(N.d,{userInfo:null===o||void 0===o?void 0:o[null===u||void 0===u?void 0:u.i],cssStyle:n.icon,isVerified:null===u||void 0===u?void 0:u.l}),(0,W.jsxs)(c.Z,{className:n.sinceTimeBox,component:"span",children:[(0,j.t)("getter_fe.notifications.newPost"),(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:n.sinceDateBox,children:d})]})]})]}),s&&(0,W.jsx)(c.Z,{className:(0,l.Z)(n.bodyText,n.postBodyText),children:(0,W.jsx)(re.X,{text:s})})]})},He=e=>{let{notification:t}=e;const i=Ne(),{cdate:o,ttxt:n,othr:l,tpollCount:s}=null!==t&&void 0!==t?t:{},r=C.k.SinceTimeV5(o,Date.now(),(0,j.VQ)(),!1),[a]=null!==l&&void 0!==l?l:[],{userInfo:d}=(0,se.E)(),u=(null===d||void 0===d?void 0:d._id)||"";let v=(null===a||void 0===a?void 0:a.i)===u;const p=s?(0,we.Z)(s).reduce(ke,0):0;return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:i.pollPostBody,children:[(0,W.jsx)("h4",{children:(0,j.t)("getter_fe.pollPost.pollEndedTip",{text:v?"created":"voted"})}),(0,W.jsxs)(c.Z,{className:i.sinceTimeBox,component:"span",children:[(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:i.sinceDateBox,children:r})]})]}),(0,W.jsx)(c.Z,{className:i.bodyText,children:(0,W.jsx)(re.X,{text:n})}),(0,W.jsx)(c.Z,{className:i.pollVoteText,children:(0,W.jsx)(re.X,{text:[0,1].includes(p)?"".concat(p," ").concat((0,j.t)("getter_fe.pollPost.vote")):"".concat(p," ").concat((0,j.t)("getter_fe.pollPost.votes"))})})]})},Pe=e=>{var t,i;let{notification:o,onClick:n,userInfos:s}=e;const r=Ne(),{othr:a,cdate:d,ttxt:u,tmedia:v}=null!==o&&void 0!==o?o:{},p=[...a],m=C.k.SinceTimeV5(d,Date.now(),(0,j.VQ)(),!1),[h]=null!==v&&void 0!==v?v:[],g=(0,w.vX)("https://media.gettr.com",(0,w.Ml)(h,500,0))||"",x=(null===p||void 0===p||null===(t=p[0])||void 0===t?void 0:t.o)||(null===p||void 0===p||null===(i=p[0])||void 0===i?void 0:i.n);return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:(0,l.Z)(r.avatarAlign,r.avatarList),children:p.reverse().map((e=>{let{p:t,i:i,o:o}=e;return(0,W.jsx)(k.Z,{userId:i,extraClass:(0,l.Z)(r.hoverPopup,r.listAvatar),children:(0,W.jsx)(b._,{onClick:n,avatarUrl:t,styleClasses:r.avatar,userId:i,username:o,userInfos:null===s||void 0===s?void 0:s[i],avgClasses:r.avgClasses})},t)}))}),(0,W.jsxs)("div",{className:r.pollPostBody,children:[(0,W.jsxs)("h4",{children:[x," "]}),(0,W.jsx)("span",{className:r.userTagText,children:(0,j.t)("getter_fe.pollPost.taggedVision")}),(0,W.jsxs)(c.Z,{className:r.sinceTimeBox,component:"span",children:[(0,W.jsx)(c.Z,{component:"span",mx:.5,children:"\xb7"}),(0,W.jsx)("span",{className:r.sinceDateBox,children:m})]})]}),(0,W.jsxs)(c.Z,{className:(0,l.Z)(r.bodyText,r.visionBody),children:[g&&(0,W.jsx)("img",{className:r.visionPreview,src:g}),(0,W.jsx)(I.Z,{text:u,onLinkClick:n})]})]})};var Ee=i(30299),We=i(74178),Ue=i(73450),Oe=i(17507),De=i(79939);const Fe=(0,o.Z)((e=>({LiveNotificationList:{borderBottom:"1px solid ".concat(e.palette.line.grey1),paddingTop:e.spacing(2),paddingBottom:e.spacing(2),paddingLeft:e.spacing(5),paddingRight:e.spacing(2),"&:hover":{backgroundColor:e.palette.newColors.neutral[50]}},itemIcon:{color:e.palette.newColors.unique.red600,minWidth:"auto",marginRight:e.spacing(2),marginBottom:-2},itemText:{margin:0},itemPrimaryText:{fontSize:15,fontWeight:e.typography.fontWeightMedium},itemRightIcon:{minWidth:"auto"},arrowIcon:{width:e.spacing(2),height:e.spacing(2)},colorError:{backgroundColor:e.palette.newColors.red[600]},badge:{left:-20,bottom:"50%",zIndex:0}}))),Ae=()=>{const e=Fe(),{t:t}=(0,n.$)(),i=(0,v.I0)(),o=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.livestreamUnread})),l=(0,v.v9)((e=>{var t,i;return null===(t=e.notifications)||void 0===t||null===(i=t.categoryUnreadLoaded)||void 0===i?void 0:i.livestream})),s=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.unread}));return(0,u.useEffect)((()=>{!l&&s>0&&i((0,R._9)())}),[i,s,l]),(0,W.jsxs)(Ee.Z,{button:!0,to:"/notifications/livestream",component:f.rU,ContainerComponent:"div",classes:{root:e.LiveNotificationList},children:[(0,W.jsx)(We.Z,{className:e.itemIcon,children:(0,W.jsx)(me.r,{})}),(0,W.jsx)(Ue.Z,{classes:{root:e.itemText,primary:e.itemPrimaryText},primaryTypographyProps:{noWrap:!0},primary:t("getter_fe.analytics.lives")}),(0,W.jsx)(We.Z,{className:e.itemRightIcon,children:(0,W.jsx)(Oe.Z,{classes:{colorError:e.colorError,badge:e.badge},badgeContent:o,color:"error",anchorOrigin:{horizontal:"left",vertical:"bottom"},children:(0,W.jsx)(De.r,{className:e.arrowIcon})})})]})},ze=(0,o.Z)((e=>({PostNotificationList:{borderBottom:"1px solid ".concat(e.palette.line.grey1),paddingTop:e.spacing(2),paddingBottom:e.spacing(2),paddingLeft:e.spacing(5),paddingRight:e.spacing(2),"&:hover":{backgroundColor:e.palette.newColors.neutral[50]}},itemIcon:{color:e.palette.newColors.unique.blue600,minWidth:"auto",marginRight:e.spacing(2),marginBottom:-2,"& svg":{width:20,height:20}},itemText:{margin:0},itemPrimaryText:{fontSize:15,fontWeight:e.typography.fontWeightMedium},itemRightIcon:{minWidth:"auto"},arrowIcon:{width:e.spacing(2),height:e.spacing(2)},colorError:{backgroundColor:e.palette.newColors.red[600]},badge:{left:-20,bottom:"50%",zIndex:0}}))),Je=()=>{const e=ze(),{t:t}=(0,n.$)(),i=(0,v.I0)(),o=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.postUnread})),l=(0,v.v9)((e=>{var t,i;return null===(t=e.notifications)||void 0===t||null===(i=t.categoryUnreadLoaded)||void 0===i?void 0:i.post})),s=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.unread}));return(0,u.useEffect)((()=>{!l&&s>0&&i((0,R.cO)())}),[i,s,l]),(0,W.jsxs)(Ee.Z,{button:!0,to:"/notifications/posts",component:f.rU,ContainerComponent:"div",classes:{root:e.PostNotificationList},children:[(0,W.jsx)(We.Z,{className:e.itemIcon,children:(0,W.jsx)(he.r,{})}),(0,W.jsx)(Ue.Z,{classes:{root:e.itemText,primary:e.itemPrimaryText},primaryTypographyProps:{noWrap:!0},primary:t("getter_fe.analytics.posts")}),(0,W.jsx)(We.Z,{className:e.itemRightIcon,children:(0,W.jsx)(Oe.Z,{classes:{colorError:e.colorError,badge:e.badge},badgeContent:o,color:"error",anchorOrigin:{horizontal:"left",vertical:"bottom"},children:(0,W.jsx)(De.r,{className:e.arrowIcon})})})]})},Xe=(0,o.Z)((e=>({root:{borderBottom:"1px solid ".concat(e.palette.line.grey1),paddingTop:e.spacing(2),paddingBottom:e.spacing(2),paddingLeft:e.spacing(5),paddingRight:e.spacing(2),"&:hover":{backgroundColor:e.palette.newColors.neutral[50]}},itemIcon:{minWidth:"auto",marginRight:e.spacing(2),marginBottom:-2,"& svg path":{fill:e.palette.newColors.neutral[900]}},itemText:{margin:0},itemPrimaryText:{fontSize:15,fontWeight:e.typography.fontWeightMedium},itemRightIcon:{minWidth:"auto"},arrowIcon:{width:e.spacing(2),height:e.spacing(2)},colorError:{backgroundColor:e.palette.newColors.red[600]},badge:{left:-20,bottom:"50%",zIndex:0}}))),qe=()=>{const e=Xe(),{t:t}=(0,n.$)(),i=(0,v.I0)(),o=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.pollUnread})),l=(0,v.v9)((e=>{var t,i;return null===(t=e.notifications)||void 0===t||null===(i=t.categoryUnreadLoaded)||void 0===i?void 0:i.poll})),s=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.unread}));return(0,u.useEffect)((()=>{!l&&s>0&&i((0,R.VC)())}),[i,s,l]),(0,W.jsxs)(Ee.Z,{button:!0,to:"/notifications/polls",component:f.rU,ContainerComponent:"div",classes:{root:e.root},children:[(0,W.jsx)(We.Z,{className:e.itemIcon,children:(0,W.jsx)(xe,{})}),(0,W.jsx)(Ue.Z,{classes:{root:e.itemText,primary:e.itemPrimaryText},primaryTypographyProps:{noWrap:!0},primary:t("getter_fe.notifications.polls")}),(0,W.jsx)(We.Z,{className:e.itemRightIcon,children:(0,W.jsx)(Oe.Z,{classes:{colorError:e.colorError,badge:e.badge},badgeContent:o,color:"error",anchorOrigin:{horizontal:"left",vertical:"bottom"},children:(0,W.jsx)(De.r,{className:e.arrowIcon})})})]})};var Ye=i(42841),Ge=i(34859),$e=i(70602);const Qe=["","mentions"],Ke=(0,o.Z)((e=>({emptyFeedContainer:{marginTop:75,textAlign:"center","& h3":{fontSize:18,marginBottom:e.spacing(1.25),fontWeight:800},"& p":{fontSize:14,color:e.palette.text.secondary,letterSpacing:"0.01em",[e.breakpoints.down("xs")]:{margin:"0 80px"}}},tabs:{"& .MuiTabs-scroller":{overflow:"hidden",display:"flex",justifyContent:"center"},backgroundColor:e.palette.colors_v2.modalWindowBg,borderBottom:"dark"===e.palette.type?"1px solid rgba(255, 255, 255, 0.08)":"1px solid ".concat(e.palette.newColors.neutral[100]),"& .MuiTabs-indicator":{backgroundColor:e.palette.colors_v2.accent,height:3,borderRadius:3,bottom:0}},tab:{textTransform:"none",fontSize:"15px",lineHeight:"20px",opacity:1,fontWeight:700,minWidth:"max-content",marginBottom:0,borderRadius:8,padding:e.spacing(1.25,1.25,1.75),margin:e.spacing(0,1),"& .MuiTab-wrapper":{color:e.palette.colors_v2.element[40]},"&.Mui-selected .MuiTab-wrapper":{opacity:1,color:e.palette.colors_v2.element[100]},"&:hover":{backgroundColor:"dark"===e.palette.type?"rgba(255, 255, 255, 0.06)":"rgba(0, 0, 0, 0.04)","& .MuiTab-wrapper":{color:e.palette.colors_v2.element[100]},[e.breakpoints.down("xs")]:{backgroundColor:"transparent"}}},tabPanel:{width:"100%",margin:"0 auto",[e.breakpoints.down("xs")]:{width:"100%"}},loadingNotifications:{"& > div":{height:"240px !important","& > div":{marginTop:250}}},loadingMentions:{"& > div":{height:"240px !important","& > div":{marginTop:50}}},endReachedContent:{height:e.spacing(3),[e.breakpoints.down("xs")]:{height:e.spacing(10.5)}}}))),et=e=>{var t;let{view:i}=e;const o=(0,u.useMemo)((()=>Qe.indexOf(i)),[i]),n=(0,v.I0)(),s=Ke(),{categoryUnreadLoaded:r,livestreamUnread:c,pollUnread:m,postUnread:h,unread:x}=null!==(t=(0,v.v9)((e=>{let{notifications:t}=e;return t})))&&void 0!==t?t:{},f=(Number(c)||0)+(Number(h)||0)+(Number(m)||0),C=(null===r||void 0===r?void 0:r.livestream)&&(null===r||void 0===r?void 0:r.post)&&(null===r||void 0===r?void 0:r.poll),w=(0,p.s0)();(0,u.useEffect)((()=>{n((0,R.wY)())}),[n]),(0,u.useEffect)((()=>{""===i&&C&&x>f&&n((0,R.uX)())}),[C,f,n,x,i]);const b=[{ViewComponent:tt,label:(0,j.t)("getter_fe.notifications.all")},{ViewComponent:it,label:(0,j.t)("getter_fe.notifications.mentions")}];return(0,u.useEffect)((()=>{let e=(new Date).toISOString(),t=0===o?"notification":"notification_mentions";return sessionStorage.setItem("pageTrack",JSON.stringify({target_id:t,startts:e})),()=>{let i=(new Date).toISOString();(0,$e.fG)(t,e,i),sessionStorage.removeItem("pageTrack")}}),[o]),(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(a.Z,{className:(0,l.Z)(s.tabs,1===o?s.mentions:""),value:o,onChange:(e,t)=>
1{const i=Qe[t],o=i?"/".concat(i):"";w("/notifications".concat(o))},children:b.map(((e,t)=>{let{label:i}=e;return(0,W.jsx)(d.Z,{className:s.tab,label:i,disableRipple:!0},t)}))}),b.map(((e,t)=>{let{ViewComponent:i}=e;return(0,W.jsxs)(g.x,{value:o,index:t,className:s.tabPanel,children:[0===t&&(0,W.jsx)(Ae,{}),0===t&&(0,W.jsx)(Je,{}),0===t&&(0,W.jsx)(qe,{}),(0,W.jsx)(i,{})]},t)}))]})},tt=()=>{var e;let{fetchMore:t,isDone:i,isLoading:o,loadedOnce:n,next:l,notificationsList:s,userInfos:r}=(e=>{const{enabled:t=!0}=null!==e&&void 0!==e?e:{},i=(0,v.I0)(),{allNotifications:o,showFromVerifiedUsers:n}=(0,v.v9)((e=>{let{notifications:t}=e;return t}))||{},{isDone:l,isLoading:s,next:r,notificationsList:a,loadedOnce:d,userInfos:c,postInfos:p}=o;return(0,u.useEffect)((()=>{t&&i((0,R.TH)())}),[n,t]),{fetchMore:()=>i((0,R.TH)()),isDone:l,isLoading:s,next:r,notificationsList:null===a||void 0===a?void 0:a.map((e=>{const t=null===p||void 0===p?void 0:p.find((t=>(null===t||void 0===t?void 0:t._id)===(null===e||void 0===e?void 0:e.tid))),i="cm"===(null===e||void 0===e?void 0:e.ttype)?null===e||void 0===e?void 0:e.tid:(null===e||void 0===e?void 0:e.rid)||(null===e||void 0===e?void 0:e.tid);return{...e,lkbpst:null!==t&&void 0!==t&&t.lkbpst?t.lkbpst:0,likes:null!==t&&void 0!==t&&t.lkbpst?t.lkbpst:0,cm:null!==t&&void 0!==t&&t.cm?t.cm:0,comments:null!==t&&void 0!==t&&t.cm?t.cm:0,shbpst:null!==t&&void 0!==t&&t.shbpst?t.shbpst:0,reposts:null!==t&&void 0!==t&&t.shbpst?t.shbpst:0,lkbcm:null!==t&&void 0!==t&&t.lkbcm?t.lkbcm:0,shbcm:null!==t&&void 0!==t&&t.shbcm?t.shbcm:0,txt:(null===e||void 0===e?void 0:e.ttxt)||(null===e||void 0===e?void 0:e.rtxt),id:i,imgs:null!==t&&void 0!==t&&t.imgs?null===t||void 0===t?void 0:t.imgs:null,pvid:null!==t&&void 0!==t&&t.vid?null===t||void 0===t?void 0:t.vid:null}})),loadedOnce:d,userInfos:c,postInfos:p}})({enabled:!1});const{userInfo:a}=(0,se.E)(),d=Ke(),p=null===(e=Object.values(x.J))||void 0===e?void 0:e.filter((e=>"string"===typeof e)),[{notificationsList:g,index:f=0},C]=(0,Ge.Z)((()=>({notificationsList:null===s||void 0===s?void 0:s.filter((e=>(null===p||void 0===p?void 0:p.includes(null===e||void 0===e?void 0:e.act))&&(null===e||void 0===e?void 0:e.act)!==x.J.POLL_POST&&"Content Not Found"!==(null===e||void 0===e?void 0:e.ttxt)&&"Content Not Found"!==(null===e||void 0===e?void 0:e.rtxt)))})),[s]);return(0,u.useEffect)((()=>{n||o||t()}),[n,o]),(0,W.jsxs)(W.Fragment,{children:[Boolean(null===g||void 0===g?void 0:g.length)&&(0,W.jsx)(h.Z,{initialIndex:f,items:g,renderItem:(e,n)=>{var s,d,c,u,v,p;const{othr:h,act:x}=null!==n&&void 0!==n?n:{},f={bgimg:null===(s=h[0])||void 0===s?void 0:s.p,nickname:null===(d=h[0])||void 0===d?void 0:d.n,ousername:null===(c=h[0])||void 0===c?void 0:c.o,username:null===(u=h[0])||void 0===u?void 0:u.o,id:null===(v=h[0])||void 0===v?void 0:v.i,ico:null===(p=h[0])||void 0===p?void 0:p.p},j={...a,id:null===a||void 0===a?void 0:a._id},w=["s","l"].includes(x)?j:f;return"Content Not Found"!==(null===n||void 0===n?void 0:n.ttxt)&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(Le,{notification:n,user:w,originalUser:f,onClickCapture:()=>{C({index:Math.max(e-1,0)})},userInfos:r},e),!i&&!!l&&((null===g||void 0===g?void 0:g.length)-10<=0||(null===g||void 0===g?void 0:g.length)-e<3)&&(0,W.jsx)(m.h,{scrollableAncestor:window,onEnter:()=>{o||t()}})]})},endReachedContent:()=>(0,W.jsx)(c.Z,{className:d.endReachedContent})}),o?(0,W.jsx)("div",{className:d.loadingNotifications,children:(0,W.jsx)(ot,{})}):null,!i||null!==g&&void 0!==g&&g.length?null:(0,W.jsx)(Ye.P,{title:(0,j.t)("getter_fe.notifications.emptyNotificationMessage"),message:(0,j.t)("getter_fe.notifications.emptyNotificationSubtext"),page:"notification"})]})},it=()=>{const{fetchMore:e,isDone:t,isLoading:i,mentionsList:o,userInfos:n}=(e=>{var t;const{enabled:i=!0}=null!==e&&void 0!==e?e:{},o=(0,v.I0)(),{mentions:n,showFromVerifiedUsers:l}=null!==(t=(0,v.v9)((e=>{let{notifications:t}=e;return t})))&&void 0!==t?t:{},{mentionsList:s,isDone:r,isLoading:a,userInfos:d,postInfos:c}=n;(0,u.useEffect)((()=>{r||null!==s&&void 0!==s&&s.length||a||!i||o((0,R.qR)())}),[l,r,s]);const p=null===s||void 0===s?void 0:s.map((e=>{const t=null===c||void 0===c?void 0:c.find((t=>(null===t||void 0===t?void 0:t._id)===(null===e||void 0===e?void 0:e.tid))),i="cm"===(null===e||void 0===e?void 0:e.ttype)?null===e||void 0===e?void 0:e.tid:(null===e||void 0===e?void 0:e.rid)||(null===e||void 0===e?void 0:e.tid);return{...e,lkbpst:null!==t&&void 0!==t&&t.lkbpst?t.lkbpst:0,likes:null!==t&&void 0!==t&&t.lkbpst?t.lkbpst:0,cm:null!==t&&void 0!==t&&t.cm?t.cm:0,comments:null!==t&&void 0!==t&&t.cm?t.cm:0,shbpst:null!==t&&void 0!==t&&t.shbpst?t.shbpst:0,reposts:null!==t&&void 0!==t&&t.shbpst?t.shbpst:0,lkbcm:null!==t&&void 0!==t&&t.lkbcm?t.lkbcm:0,shbcm:null!==t&&void 0!==t&&t.shbcm?t.shbcm:0,txt:(null===e||void 0===e?void 0:e.ttxt)||(null===e||void 0===e?void 0:e.rtxt),id:i,imgs:null!==t&&void 0!==t&&t.imgs?null===t||void 0===t?void 0:t.imgs:null,pvid:null!==t&&void 0!==t&&t.vid?null===t||void 0===t?void 0:t.vid:null}}));return{fetchMore:()=>o((0,R.qR)()),isDone:r,isLoading:a,userInfos:d,mentionsList:p,postInfos:c}})(),{userInfo:l}=(0,se.E)(),s=Ke(),[{mentionsList:r,index:a=0},d]=(0,Ge.Z)((()=>({mentionsList:o})),[o]);return(0,W.jsxs)(W.Fragment,{children:[!(null===r||void 0===r||!r.length)&&(0,W.jsx)(u.Fragment,{children:(0,W.jsx)(h.Z,{initialIndex:a,items:r,renderItem:(i,o)=>{var a,c,v,p;const{othr:h}=o,g={bgimg:null===(a=h[0])||void 0===a?void 0:a.p,nickname:null===(c=h[0])||void 0===c?void 0:c.n,ousername:null===(v=h[0])||void 0===v?void 0:v.o,username:h[0].o,id:null===(p=h[0])||void 0===p?void 0:p.i,ico:h[0].p};return(0,W.jsxs)(u.Fragment,{children:[(0,W.jsx)("div",{className:s.mentionItemWrapper,children:(0,W.jsx)(oe,{notification:o,userInfos:n,onClickCapture:()=>{d({index:Math.max(i-1,0)})},user:g,originalUser:l},"".concat(o.msgId,"_").concat(i))}),(null===r||void 0===r?void 0:r.length)-10<=0||(null===r||void 0===r?void 0:r.length)-i<3?(0,W.jsx)(m.h,{scrollableAncestor:window,onEnter:()=>{!t&&(null===r||void 0===r?void 0:r.length)>
10&&e()}}):null]},i)},endReachedContent:()=>(0,W.jsx)(c.Z,{className:s.endReachedContent})})}),i?(0,W.jsx)("div",{className:s.loadingMentions,children:(0,W.jsx)(ot,{})}):null,!t||null!==r&&void 0!==r&&r.length?null:(0,W.jsx)(Ye.P,{title:(0,j.t)("getter_fe.notifications.emptyNotificationMessage"),message:(0,j.t)("getter_fe.notifications.emptyNotificationSubtext"),page:"notification"})]})},ot=e=>{let{isMobile:t}=e;const i={width:"100%",height:196,display:"flex",alignItems:"center",justifyContent:"center"};return t&&(i.height=228),(0,W.jsx)(H.P,{wrapperStyle:i,size:54})};var nt=i(13840),lt=i(47443),st=i(96798);const rt=(0,o.Z)((e=>({notificationFilter:{display:"flex",position:"relative",flexGrow:1},selected:{cursor:"pointer",color:e.palette.colors_v2.element[60],display:"flex",alignItems:"center",fontWeight:500,"& svg":{width:12,height:12,marginLeft:8,"& path":{fill:e.palette.colors_v2.element[40]}}},content:{transform:"none !important",zIndex:9,"& .MuiPaper-root":{backgroundColor:e.palette.colors_v2.modalWindowBg,width:218,borderRadius:14,position:"absolute",maxHeight:"80vh",overflow:"auto",top:26,left:0,border:"dark"===e.palette.type?"1px solid rgba(255, 255, 255, 0.1)":"1px solid ".concat(e.palette.newColors.neutral[100]),boxShadow:"0 16px 44px rgba(0, 0, 0, 0.24)",boxSizing:"content-box","& .MuiList-root":{padding:e.spacing(.75)}}},menuItem:{flex:1,minWidth:0,display:"flex",justifyContent:"flex-start",alignItems:"center","& p":{fontSize:13.5,letterSpacing:"0.01em",color:e.palette.colors_v2.element[100],display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:e.spacing(23),"&.active":{color:e.palette.colors_v2.element[100],fontWeight:600}}},checkMark:{color:"".concat(e.palette.colors_v2.accent," !important"),fill:"".concat(e.palette.colors_v2.accent," !important"),"& path":{fill:"".concat(e.palette.colors_v2.accent," !important")},width:e.spacing(2.25),height:e.spacing(2.25),flexShrink:0},icon:{transform:"rotate(180deg)"},notiFilter:{display:"flex",alignItems:"center",padding:e.spacing(1.25,1.5),borderRadius:9,cursor:"pointer",gap:e.spacing(1),"&:hover":{backgroundColor:"dark"===e.palette.type?"rgba(255, 255, 255, 0.06)":"rgba(0, 0, 0, 0.04)"}}}))),at=["getter_fe.notifications.fromAllUsers","getter_fe.notifications.fromVerifiedUsers"],dt=()=>{const e=rt(),{t:t}=(0,n.$)(),i=(0,p.s0)(),[o,l]=(0,u.useState)(null),s=(0,v.v9)((e=>{var t;return null===(t=e.notifications)||void 0===t?void 0:t.showFromVerifiedUsers})),r=(0,v.I0)(),a=s?1:0,d=()=>{l(null)};return(0,u.useEffect)((()=>{const e="/notifications".concat(s?"/verified":"");e!==window.location.pathname&&i(e)}),[s]),(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:e.notificationFilter,children:[(0,W.jsxs)("div",{className:e.selected,"aria-controls":"more-menu","aria-haspopup":"true",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(e.currentTarget)},children:[(0,W.jsx)("span",{children:t(at[a])}),(0,W.jsx)(st.r,{className:o&&e.icon})]}),(0,W.jsx)(V.i,{anchorEl:o,id:"notification-menu",open:!!o,onClose:d,className:e.content,children:null===at||void 0===at?void 0:at.map(((i,o)=>(0,W.jsxs)("div",{className:e.notiFilter,children:[(0,W.jsx)(nt.Z,{disableRipple:!0,className:e.menuItem,onClick:()=>(e=>{r((0,R.aH)(!!e)),d(),window.scrollTo({top:0,left:0,behavior:"smooth"})})(o),disabled:s===!!o,children:(0,W.jsx)("p",{className:a===o?"active":null,children:t(i)})}),a===o&&(0,W.jsx)(lt.r,{className:e.checkMark})]},o)))})]})})},ct=(e,t)=>
1(0,W.jsx)("svg",{width:80,height:80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,W.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.513 19.18a2.89 2.89 0 0 1 2.043-.847h12.136l4.648 6.971a2.5 2.5 0 0 0 2.08 1.114h24.253a2.89 2.89 0 0 1 2.887 2.748H24.794a10 10 0 0 0-9.615 7.253l-3.512 12.293v-27.49c0-.766.304-1.5.846-2.043zm45.09 42.66H18.986c-2.925-.431-4.908-3.37-4.065-6.32l5.066-17.727a5 5 0 0 1 4.807-3.627h37.138c3.322 0 5.72 3.18 4.808 6.374l-5.065 17.727a5 5 0 0 1-4.072 3.573zm-38.928 5h-4.119a7.89 7.89 0 0 1-7.89-7.89V21.223a7.89 7.89 0 0 1 7.89-7.89H28.03a2.5 2.5 0 0 1 2.08 1.113l4.648 6.972h22.915a7.89 7.89 0 0 1 7.89 7.89c0 .175-.018.347-.053.513 4.66 1.78 7.514 6.927 6.038 12.093L66.483 59.64a10 10 0 0 1-9.616 7.253H19.73c-.357 0-.708-.019-1.054-.054z",fill:"currentColor"})}),ut=(0,u.forwardRef)(ct),vt=(0,o.Z)((e=>({emptyFeedContainer:{marginTop:75,textAlign:"center","& h3":{fontSize:18,marginBottom:e.spacing(1.25),fontWeight:800},"& p":{fontSize:14,color:e.palette.text.secondary,letterSpacing:"0.01em",[e.breakpoints.down("xs")]:{margin:"0 80px"}}},loadingNotifications:{"& > div":{height:"240px !important","& > div":{marginTop:50}}},endReachedContent:{height:e.spacing(3),[e.breakpoints.down("xs")]:{height:e.spacing(10.5)}},noLivestreamContainer:{height:"169px",flexGrow:0,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:"10px",padding:"60px 40px 0"},folder:{width:80,height:80,"& path":{fill:e.palette.newColors.neutral[200]}},noLiveStreamMessage:{height:16,fontSize:14,fontWeight:500,lineHeight:1.36,letterSpacing:"-0.15px",textAlign:"center",color:e.palette.newColors.neutral[500]}}))),pt=()=>{const e=(e=>{var t;const{enabled:i=!0,markAsRead:o=!1}=null!==e&&void 0!==e?e:{},n=(0,v.I0)(),{livestreamNotifications:l,showFromVerifiedUsers:s}=null!==(t=(0,v.v9)((e=>{let{notifications:t}=e;return t})))&&void 0!==t?t:{},{list:r,isDone:a,isLoading:d,loadedOnce:c,next:p,userInfos:m}=l;(0,u.useEffect)((()=>{o&&n((0,R.WC)(x.J.LIVE_STREAM))}),[n,o]);const h=()=>n((0,R.mS)({markAsRead:o}));return(0,u.useEffect)((()=>{a||null!==r&&void 0!==r&&r.length||d||!i||h()}),[s,a,r]),{fetchMore:h,isDone:a,isLoading:d,list:r,loadedOnce:c,next:p,userInfos:m}})({markAsRead:!0});return(0,W.jsx)(mt,{...e})},mt=e=>{var t;let{fetchMore:i,isDone:o,isLoading:l,next:s,list:r,loadedOnce:a,userInfos:d}=e;const v=vt(),{t:p}=(0,n.$)(),g=null===(t=Object.values(x.J))||void 0===t?void 0:t.filter((e=>"string"===typeof e)),[{notificationsList:f,index:C=0},j]=(0,Ge.Z)((()=>({notificationsList:null===r||void 0===r?void 0:r.filter((e=>(null===g||void 0===g?void 0:g.includes(null===e||void 0===e?void 0:e.act))&&"Content Not Found"!==(null===e||void 0===e?void 0:e.ttxt)&&"Content Not Found"!==(null===e||void 0===e?void 0:e.rtxt)))})),[r]);return(0,W.jsxs)(W.Fragment,{children:[a&&!(null===f||void 0===f||!f.length)&&(0,W.jsx)(u.Fragment,{children:(0,W.jsx)(h.Z,{initialIndex:C,items:f,renderItem:(e,t)=>"Content Not Found"!==(null===t||void 0===t?void 0:t.ttxt)&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(Le,{notification:t,onClickCapture:()=>{j({index:Math.max(e-1,0)})},userInfos:d},e),!o&&!!s&&((null===f||void 0===f?void 0:f.length)-10<=0||(null===f||void 0===f?void 0:f.length)-e<3)&&(0,W.jsx)(m.h,{scrollableAncestor:window,onEnter:()=>{l||i()}})]}),endReachedContent:()=>(0,W.jsx)(c.Z,{className:v.endReachedContent})})}),l?(0,W.jsx)("div",{className:v.loadingNotifications,children:(0,W.jsx)(ht,{})}):null,!o||null!==f&&void 0!==f&&f.length?null:(0,W.jsxs)("div",{className:v.noLivestreamContainer,children:[(0,W.jsx)(ut,{className:v.folder}),(0,W.jsx)("div",{className:v.noLiveStreamMessage,children:p("getter_fe.notifications.noLivestreamsYet")})]})]})},ht=e=>{let{isMobile:t}=e;const i={width:"100%",height:196,display:"flex",alignItems:"center",justifyContent:"center"};return t&&(i.height=228),(0,W.jsx)(H.P,{wrapperStyle:i})},gt=(0,o.Z)((e=>({emptyFeedContainer:{marginTop:75,textAlign:"center","& h3":{fontSize:18,marginBottom:e.spacing(1.25),fontWeight:800},"& p":{fontSize:14,color:e.palette.text.secondary,letterSpacing:"0.01em",[e.breakpoints.down("xs")]:{margin:"0 80px"}}},loadingNotifications:{"& > div":{height:"240px !important","& > div":{marginTop:50}}},endReachedContent:{height:e.spacing(3),[e.breakpoints.down("xs")]:{height:e.spacing(10.5)}},noPostsContainer:{height:"169px",flexGrow:0,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:"10px",padding:"60px 40px 0"},folder:{width:80,height:80,"& path":{fill:e.palette.newColors.neutral[200]}},noPostsMessage:{height:16,fontSize:14,fontWeight:500,lineHeight:1.36,letterSpacing:"-0.15px",textAlign:"center",color:e.palette.newColors.neutral[500]}}))),xt=()=>{const e=(e=>{var t;const{enabled:i=!0,markAsRead:o=!1}=null!==e&&void 0!==e?e:{},n=(0,v.I0)(),{postNotifications:l,showFromVerifiedUsers:s}=null!==(t=(0,v.v9)((e=>{let{notifications:t}=e;return t})))&&void 0!==t?t:{},{list:r,isDone:a,isLoading:d,loadedOnce:c,next:p,userInfos:m}=l;(0,u.useEffect)((()=>{o&&n((0,R.WC)(x.J.POST))}),[n,o]);const h=()=>n((0,R.jw)({markAsRead:o}));return(0,u.useEffect)((()=>{a||null!==r&&void 0!==r&&r.length||d||!i||h()}),[s,a,r]),{fetchMore:h,isDone:a,isLoading:d,list:r,loadedOnce:c,next:p,userInfos:m}})({markAsRead:!0});return(0,W.jsx)(ft,{...e})},ft=e=>{var t;let{fetchMore:i,isDone:o,isLoading:l,next:s,list:r,loadedOnce:a,userInfos:d}=e;const v=gt(),{t:p}=(0,n.$)(),g=null===(t=Object.values(x.J))||void 0===t?void 0:t.filter((e=>"string"===typeof e)),[{notificationsList:f,index:C=0},j]=(0,Ge.Z)((()=>({notificationsList:null===r||void 0===r?void 0:r.filter((e=>(null===g||void 0===g?void 0:g.includes(null===e||void 0===e?void 0:e.act))&&"Content Not Found"!==(null===e||void 0===e?void 0:e.ttxt)&&"Content Not Found"!==(null===e||void 0===e?void 0:e.rtxt)))})),[r]);return(0,W.jsxs)(W.Fragment,{children:[a&&!(null===f||void 0===f||!f.length)&&(0,W.jsx)(u.Fragment,{children:(0,W.jsx)(h.Z,{initialIndex:C,items:f,renderItem:(e,t)=>
1"Content Not Found"!==(null===t||void 0===t?void 0:t.ttxt)&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(Le,{notification:t,onClickCapture:()=>{j({index:Math.max(e-1,0)})},userInfos:d},e),!o&&!!s&&((null===f||void 0===f?void 0:f.length)-10<=0||(null===f||void 0===f?void 0:f.length)-e<3)&&(0,W.jsx)(m.h,{scrollableAncestor:window,onEnter:()=>{l||i()}})]}),endReachedContent:()=>(0,W.jsx)(c.Z,{className:v.endReachedContent})})}),l?(0,W.jsx)("div",{className:v.loadingNotifications,children:(0,W.jsx)(Ct,{})}):null,!o||null!==f&&void 0!==f&&f.length?null:(0,W.jsxs)("div",{className:v.noPostsContainer,children:[(0,W.jsx)(ut,{className:v.folder}),(0,W.jsx)("div",{className:v.noPostsMessage,children:p("getter_fe.notifications.noNewPostsYet")})]})]})},Ct=e=>{let{isMobile:t}=e;const i={width:"100%",height:196,display:"flex",alignItems:"center",justifyContent:"center"};return t&&(i.height=228),(0,W.jsx)(H.P,{wrapperStyle:i})},jt=(0,o.Z)((e=>({loadingNotifications:{"& > div":{height:"240px !important","& > div":{marginTop:50}}},endReachedContent:{height:e.spacing(3),[e.breakpoints.down("xs")]:{height:e.spacing(10.5)}},noPollsContainer:{height:"169px",flexGrow:0,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:"10px",padding:"60px 40px 0"},folder:{width:80,height:80,"& path":{fill:e.palette.newColors.neutral[200]}},noPollsMessage:{height:16,fontSize:14,fontWeight:500,lineHeight:1.36,letterSpacing:"-0.15px",textAlign:"center",color:e.palette.newColors.neutral[500]}}))),wt=()=>{const e=(e=>{const{enabled:t=!0,markAsRead:i=!1}=null!==e&&void 0!==e?e:{},o=(0,v.I0)(),{pollNotifications:n,showFromVerifiedUsers:l}=(0,v.v9)((e=>{let{notifications:t}=e;return t}))||{},{isDone:s,isLoading:r,next:a,list:d,loadedOnce:c,userInfos:p}=n;(0,u.useEffect)((()=>{i&&o((0,R.WC)(x.J.POLL_NOTIFICATION))}),[o,i]);const m=()=>o((0,R.QH)({markAsRead:i}));return(0,u.useEffect)((()=>{t&&m()}),[l]),{fetchMore:m,isDone:s,isLoading:r,next:a,list:d,loadedOnce:c,userInfos:p}})({markAsRead:!0});return(0,W.jsx)(bt,{...e})},bt=e=>{var t;let{fetchMore:i,isDone:o,isLoading:l,next:s,list:r,loadedOnce:a}=e;const d=jt(),{t:v}=(0,n.$)(),p=null===(t=Object.values(x.J))||void 0===t?void 0:t.filter((e=>"string"===typeof e)),[{notificationsList:g,index:f=0},C]=(0,Ge.Z)((()=>({notificationsList:null===r||void 0===r?void 0:r.filter((e=>(null===p||void 0===p?void 0:p.includes(null===e||void 0===e?void 0:e.act))&&"Content Not Found"!==(null===e||void 0===e?void 0:e.ttxt)&&"Content Not Found"!==(null===e||void 0===e?void 0:e.rtxt)))})),[r]);return(0,W.jsxs)(W.Fragment,{children:[a&&!(null===g||void 0===g||!g.length)&&(0,W.jsx)(u.Fragment,{children:(0,W.jsx)(h.Z,{initialIndex:f,items:g,renderItem:(e,t)=>"Content Not Found"!==(null===t||void 0===t?void 0:t.ttxt)&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(Le,{notification:t,onClickCapture:()=>{C({index:Math.max(e-1,0)})}},e),!o&&!!s&&((null===g||void 0===g?void 0:g.length)-10<=0||(null===g||void 0===g?void 0:g.length)-e<3)&&(0,W.jsx)(m.h,{scrollableAncestor:window,onEnter:()=>{l||i()}})]}),endReachedContent:()=>(0,W.jsx)(c.Z,{className:d.endReachedContent})})}),l?(0,W.jsx)("div",{className:d.loadingNotifications,children:(0,W.jsx)(yt,{})}):null,!o||null!==g&&void 0!==g&&g.length?null:(0,W.jsxs)("div",{className:d.noPollsContainer,children:[(0,W.jsx)(ut,{className:d.folder}),(0,W.jsx)("div",{className:d.noPollsMessage,children:v("getter_fe.notifications.noNewPollsYet")})]})]})},yt=e=>{let{isMobile:t}=e;const i={width:"100%",height:196,display:"flex",alignItems:"center",justifyContent:"center"};return t&&(i.height=228),(0,W.jsx)(H.P,{wrapperStyle:i})};i(34139);const It="NOTIFICATIONS",kt=(0,o.Z)((e=>({span:{color:"#0086F8"},titleSpacing:{flex:1},backTitle:{zIndex:100,[e.breakpoints.down("xs")]:{top:0},marginLeft:1,marginRight:1},livestreamBackTitle:{"&.backTitle":{justifyContent:"flex-start"},[e.breakpoints.up("sm")]:{height:"auto",paddingTop:"34px",paddingBottom:"30px","& button":{marginTop:e.spacing(-1),marginBottom:e.spacing(-1)}}},notificationsBackTitle:{paddingLeft:25,paddingRight:0,marginTop:8,[e.breakpoints.down("xs")]:{marginTop:0}},icons:{color:e.palette.newColors.unique.gray300,"&:hover":{color:e.palette.utility.black},"& svg":{width:22,height:22},[e.breakpoints.down("xs")]:{paddingTop:0,paddingBottom:0}},textTransformNone:{textTransform:"none"},icon:{position:"relative",justifyContent:"center",alignItems:"center",borderRadius:"100%","& svg":{width:20,height:"auto"}}}))),Nt=e=>{let{view:t}=e;const i=kt(),{t:o}=(0,n.$)();return(0,W.jsx)(s.U,{id:"notifications",title:o("getter_fe.menu.common.notifications"),children:"polls"===t?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r.F,{title:o("getter_fe.notifications.polls"),isSticky:!0,type:It,className:(0,l.Z)(i.backTitle,i.livestreamBackTitle),forceDisplayChildren:!0}),(0,W.jsx)(wt,{})]}):"livestream"===t?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r.F,{title:o("getter_fe.analytics.lives"),isSticky:!0,type:It,className:(0,l.Z)(i.backTitle,i.livestreamBackTitle),forceDisplayChildren:!0}),(0,W.jsx)(pt,{})]}):"posts"===t?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r.F,{title:o("getter_fe.analytics.posts"),isSticky:!0,type:It,className:(0,l.Z)(i.backTitle,i.livestreamBackTitle),forceDisplayChildren:!0}),(0,W.jsx)(xt,{})]}):(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r.F,{notificationHome:!0,title:o("getter_fe.menu.common.notifications"),isSticky:!0,type:It,className:(0,l.Z)(i.backTitle,i.notificationsBackTitle),forceDisplayChildren:!0,children:(0,W.jsx)(dt,{})}),(0,W.jsx)(et,{view:t})]})})}},34859:(e,t,i)=>{i.d(t,{Z:()=>d});var o=i(37198),n=i(30915),l=i(83111),s=i(68963),r=i(78344),a=i(249);const d=function(e,t,i){const d=(0,r.TH)(),c=i||d.key,u=(0,s.useContext)(a.Z),v=(0,s.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.get(c);return null!=e&&Object.entries(e).forEach((e=>{let[i,s]=e;var r;r=s,(((0,o.Z)(r)?Boolean(r.length):"number"===typeof r||((0,n.Z)(r)?!(0,l.Z)(r):Boolean(r)))||!t[i])&&Object.assign(t,{[i]:s})})),t}),[]),p=(0,s.useMemo)((()=>{u.get(c)||u.set(c,{});const t=u.get(c),i=e(t);return v(i,t)}),t),m=(0,s.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.get(c);return null!=e&&Object.entries(e).forEach((e=>{let[i,o]=e;void 0===o&&t[i]||Object.assign(t,{[i]:o})})),t}),[]);return[p,v,m]}},85338:(e,t,i)=>{i.d(t,{i:()=>d});var o=i(68963),n=i(25317),l=i(29069),s=i(86690),r=i(46578),a=i(75859);const d=e=>{let{children:t,disablePadding:i,onClose:d,open:c,id:u,disablePortal:v=!0,maxSubWidth:p,callback:m,...h}=e;const[g,x]=(0,o.useState)(null);return(0,o.useEffect)((()=>{p&&c&&g&&setTimeout((()=>(()=>{const e=(null===g||void 0===g?void 0:g.getBoundingClientRect().left)||-1;e<0||p+g.offsetLeft<0||e+g.offsetWidth>p?m&&m("left"):(g.style.left="".concat(g.offsetLeft,"px"),g.style.right="initial",m&&m("right"))})()),200)}),[c,g]),(0,a.jsx)(s.Z,{open:c,disablePortal:v,...h,children:(0,a.jsx)(l.Z,{ref:e=>{x(e)},children:(0,a.jsx)(n.Z,{onClickAway:d,children:(0,a.jsx)(r.Z,{autoFocusItem:c,id:u,disablePadding:i,children:t})})})})}}}]);

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.