티스토리 수익 글 보기

티스토리 수익 글 보기

try{let e=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof globalThis?globalThis:”undefined”!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=”9a6049dd-bfce-4336-9048-80b45134fba6″,e._sentryDebugIdIdentifier=”sentry-dbid-9a6049dd-bfce-4336-9048-80b45134fba6″)}catch(e){}(“undefined”!==typeof window?window:”undefined”!==typeof global?global:”undefined”!==typeof globalThis?globalThis:”undefined”!==typeof self?self:{}).SENTRY_RELEASE={id:”1.114.0″};(()=>{var t={91655:(t,s,o)=>{“use strict”;o.r(s);o(54993),o(5809);window.setImmediate=e=>setTimeout(e,0);var n=o(19690),a=o(15991),r=o(22706),i=o(43535);(0,r.init)({enabled:!i.IS_DEV&&!!i.SENTRY_DSN,autoSessionTracking:!1,dsn:i.SENTRY_DSN,debug:!1,environment:i.ENV,dist:i.BUNDLE_IDENTIFIER,release:i.RELEASE_VERSION,ignoreErrors:[“t is not defined”,”Can’t find variable: t”,”Network request failed”],attachStacktrace:!1,sampleRate:i.IS_INTERNAL?1:.1});var l=o(41770),c=o(3563),d=o(91035),u=o(84322),m=o(74708),h=o(26633),p=o(21705),f=o(69601),g=o(70513),x=o(94045),_=o(45420),y=o(62220),b=o(23226),j=o(59372),v=o(41668),S=o(32840),w=o(85692),T=o(85804),k=o(97315),C=o(31254),P=o(9107),A=o(29628),I=o(56610),L=o(2724),R=o(48327),E=o(94319),D=o(26586),B=o(49817),M=o(9978),O=o(2895),F=o(73653),N=o(98933),H=o(32177),z=o(2481),V=o(63971),U=o(4423),G=o(40242),W=o(60990),q=o(56962),Q=o(73344),K=o(71541),Z=o(56382),Y=o(39838),$=o(79423),X=o(63128),J=o(67058),ee=o(12592),te=o(42670),se=o(43611),oe=o(12606),ne=o(23910),ae=o(45067),re=o(39028),ie=o(48919),le=o(86251),ce=o(58765),de=o(57578),ue=o(42445),me=o(61385),he=o(80466),pe=o(36037),fe=o(68911),ge=o(37905),xe=o(62479),_e=o(96328),ye=o(56904),be=o(99313),je=o(17096),ve=o(27771),Se=o(90680),we=o(26155),Te=o(66386),ke=o(8252),Ce=o(67458),Pe=o(73862),Ae=o(29068),Ie=o(89240),Le=o(46030),Re=o(5765),Ee=o(18917),De=o(4717),Be=o(71079),Me=o(83012),Oe=o(44062),Fe=o(64070),Ne=o(40547),He=o(19075),ze=o(70333),Ve=o(22788),Ue=o(71927),Ge=o(26712),We=o(42254),qe=o(10934),Qe=o(20479),Ke=o(64676),Ze=o(23719),Ye=o(82299),$e=o(11892),Xe=o(82612),Je=o(46887),et=o(61382),tt=o(73343),st=o(3535),ot=o(97474),nt=o(8187),at=o(6206),rt=o(51428),it=o(1833),lt=o(36861);l.library.add(c.faAddressCard,B.faAngleDown,M.faAngleLeft,O.faAngleRight,F.faAngleUp,H.faArrowLeft,z.faArrowRight,q.faArrowUp,N.faArrowDown,V.faArrowRightFromBracket,Q.faArrowUpFromBracket,K.faArrowUpRightFromSquare,U.faArrowRotateLeft,W.faArrowTrendUp,G.faArrowsRotate,Z.faAt,Y.faBan,$.faBars,X.faBell,d.faBell,J.faBookmark,u.faBookmark,m.faCalendar,ee.faCamera,te.faCheck,oe.faChevronRight,h.faCircle,ne.faCircleCheck,p.faCircleCheck,ae.faCircleDot,re.faCircleExclamation,f.faCirclePlay,g.faCircleUser,ie.faClipboardCheck,le.faClone,x.faClone,_.faComment,y.faCommentDots,ce.faCommentSlash,b.faComments,j.faCompass,de.faDownload,ue.faEllipsis,me.faEnvelope,pe.faEye,he.faExclamation,v.faEyeSlash,S.faFaceSmile,ge.faFire,xe.faFlask,w.faFloppyDisk,_e.faGear,ye.faGlobe,be.faHand,T.faHand,je.faHashtag,k.faHeart,ve.faHeart,Se.faHouse,we.faImage,C.faImage,Te.faInfo,ke.faLanguage,Ce.faLink,Pe.faList,Ae.faListUl,Ie.faLock,Le.faMagnifyingGlass,P.faMessage,Re.faNoteSticky,Ee.faPaintRoller,A.faPaste,De.faPause,Be.faPen,Me.faPenNib,Oe.faPenToSquare,Fe.faPhone,Ne.faPlay,He.faPlus,ze.faQuoteLeft,Ve.faReply,Ue.faRetweet,Ge.faRss,We.faSatelliteDish,qe.faServer,Qe.faShare,Ke.faShareFromSquare,Ze.faShield,Ye.faSignal,$e.faSliders,I.faSquare,L.faSquareCheck,R.faSquarePlus,et.faUniversalAccess,D.faUser,ot.faUsers,tt.faUserCheck,nt.faUserSlash,st.faUserPlus,rt.faUserXmark,at.faUsersSlash,Xe.faThumbtack,Je.faTicket,E.faTrashCan,it.faX,lt.faXmark,se.faChevronDown,fe.faFilter);var ct=o(95004),dt=o(69052),ut=o(96963),mt=o(18178),ht=o(23980),pt=o(83540),ft=o(17789),gt=o(12855),xt=o(64303),_t=o(28654);function yt(){const e=(0,a.c)(3),{appLanguage:t}=(0,_t.useLanguagePrefs)();let s,n;e[0]!==t?(s=()=>{const e=(0,gt.sanitizeAppLanguageSetting)(t);document.documentElement.lang=e,async function(e){let t;switch(e){case xt.AppLanguage.an:t=await o.e(328).then(o.t.bind(o,65328,23));break;case xt.AppLanguage.ast:t=await o.e(777).then(o.t.bind(o,47777,23));break;case xt.AppLanguage.ca:t=await o.e(251).then(o.t.bind(o,16251,23));break;case xt.AppLanguage.cy:t=await o.e(528).then(o.t.bind(o,18528,23));break;case xt.AppLanguage.da:t=await o.e(418).then(o.t.bind(o,66224,23));break;case xt.AppLanguage.de:t=await o.e(82).then(o.t.bind(o,93082,23));break;case xt.AppLanguage.el:t=await o.e(470).then(o.t.bind(o,26470,23));break;case xt.AppLanguage.en_GB:t=await o.e(871).then(o.t.bind(o,27179,23));break;case xt.AppLanguage.eo:t=await o.e(108).then(o.t.bind(o,61108,23));break;case xt.AppLanguage.es:t=await o.e(145).then(o.t.bind(o,15145,23));break;case xt.AppLanguage.eu:t=await o.e(348).then(o.t.bind(o,74348,23));break;case xt.AppLanguage.fi:t=await o.e(905).then(o.t.bind(o,81905,23));break;case xt.AppLanguage.fr:t=await o.e(697).then(o.t.bind(o,24697,23));break;case xt.AppLanguage.fy:t=await o.e(39).then(o.t.bind(o,53039,23));break;case xt.AppLanguage.ga:t=await o.e(640).then(o.t.bind(o,80640,23));break;case xt.AppLanguage.gd:t=await o.e(262).then(o.t.bind(o,81262,23));break;case xt.AppLanguage.gl:t=await o.e(850).then(o.t.bind(o,30850,23));break;case xt.AppLanguage.hi:t=await o.e(419).then(o.t.bind(o,93419,23));break;case xt.AppLanguage.hu:t=await o.e(373).then(o.t.bind(o,21373,23));break;case xt.AppLanguage.ia:t=await o.e(288).then(o.t.bind(o,67288,23));break;case xt.AppLanguage.id:t=await o.e(982).then(o.t.bind(o,45982,23));break;case xt.AppLanguage.it:t=await o.e(77).then(o.t.bind(o,95077,23));break;case xt.AppLanguage.ja:t=await o.e(936).then(o.t.bind(o,43936,23));break;case xt.AppLanguage.km:t=await o.e(92).then(o.t.bind(o,39092,23));break;case xt.AppLanguage.ko:t=await o.e(667).then(o.t.bind(o,2667,23));break;case xt.AppLanguage.ne:t=await o.e(666).then(o.t.bind(o,76666,23));break;case xt.AppLanguage.nl:t=await o.e(953).then(o.t.bind(o,30953,23));break;case xt.AppLanguage.pl:t=await o.e(101).then(o.t.bind(o,43101,23));break;case xt.AppLanguage.pt_BR:t=await o.e(742).then(o.t.bind(o,2742,23));break;case xt.AppLanguage.pt_PT:t=await o.e(939).then(o.t.bind(o,25939,23));break;case xt.AppLanguage.ro:t=await o.e(508).then(o.t.bind(o,66508,23));break;case xt.AppLanguage.ru:t=await o.e(789).then(o.t.bind(o,35373,23));break;case xt.AppLanguage.sv:t=await o.e(874).then(o.t.bind(o,65874,23));break;case xt.AppLanguage.th:t=await o.e(660).then(o.t.bind(o,35660,23));break;case xt.AppLanguage.tr:t=await o.e(977).then(o.t.bind(o,14977,23));break;case xt.AppLanguage.uk:t=await o.e(889).then(o.t.bind(o,1889,23));break;case xt.AppLanguage.vi:t=await o.e(703).then(o.t.bind(o,40703,23));break;case xt.AppLanguage.zh_CN:t=await o.e(767).then(o.t.bind(o,51767,23));break;case xt.AppLanguage.zh_HK:t=await o.e(491).then(o.t.bind(o,71491,23));break;case xt.AppLanguage.zh_TW:t=await o.e(931).then(o.t.bind(o,5931,23));break;default:t=await o.e(521).then(o.t.bind(o,99521,23))}ft.i18n.load(e,t.messages),ft.i18n.activate(e)}(e)},n=[t],e[0]=t,e[1]=s,e[2]=n):(s=e[1],n=e[2]),(0,ct.useEffect)(s,n)}var bt=o(2629);function jt(e){const t=(0,a.c)(2),{children:s}=e;let o;return yt(),t[0]!==s?(o=(0,bt.jsx)(ut.I18nProvider,{i18n:ft.i18n,children:s}),t[0]=s,t[1]=o):o=t[1],o}var vt=o(89586),St=o(77268),wt=o(10098),Tt=o(43029),kt=o(17110),Ct=o(86731),Pt=o(6648),At=o(13369),It=o(49818),Lt=o(97154);const Rt=(0,ct.createContext)(null);function Et(e){const t=(0,a.c)(7),{children:s}=e,{currentAccount:o}=(0,Lt.useSession)(),n=o?.did;let r;t[0]!==n?(r={did:n,staleTime:Pt.STALE.INFINITY},t[0]=n,t[1]=r):r=t[1];const{data:i}=(0,At.useProfileQuery)(r),l=(0,It.useCheckEmailConfirmed)(),c=!!i?.createdAt&&Date.parse(i.createdAt)>=Date.parse(“2024-11-18T19:00:00.000Z”),d=!(o&&(0,Ct.getHostnameFromUrl)(o.service)!==(0,Ct.getHostnameFromUrl)(kt.BSKY_SERVICE))&&l&&!o?.emailConfirmed&&c;let u;t[2]!==d?(u={needsEmailVerification:d},t[2]=d,t[3]=u):u=t[3];const m=u;let h;return t[4]!==s||t[5]!==m?(h=(0,bt.jsx)(Rt.Provider,{value:m,children:s}),t[4]=s,t[5]=m,t[6]=h):h=t[6],h}function Dt(){const e=(0,ct.useContext)(Rt);if(!e)throw new Error(“useEmail must be used within a EmailVerificationProvider”);return e}Rt.displayName=”EmailVerificationContext”,Et.displayName=”EmailVerificationProvider”;var Bt=o(61715);const Mt=ct.createContext(!1);Mt.displayName=”HomeBadgeStateContext”;const Ot=ct.createContext((e=>{}));function Ft(e){const t=(0,a.c)(5),{children:s}=e,[o,n]=ct.useState(!1);let r,i;return t[0]!==s?(r=(0,bt.jsx)(Ot.Provider,{value:n,children:s}),t[0]=s,t[1]=r):r=t[1],t[2]!==o||t[3]!==r?(i=(0,bt.jsx)(Mt.Provider,{value:o,children:r}),t[2]=o,t[3]=r,t[4]=i):i=t[4],i}function Nt(){return ct.useContext(Mt)}Ot.displayName=”HomeBadgeApiContext”;var Ht=o(87357),zt=o(92799),Vt=o(21136),Ut=o(55856);const Gt=ct.createContext(null);function Wt(){const e=ct.useContext(Gt);if(!e)throw new Error(“useMessageDrafts must be used within a MessageDraftsContext”);return e}function qt(e,t){switch(t.type){case”set”:return Object.assign({},e,{[t.convoId]:t.draft});case”clear”:return Object.assign({},e,{[t.convoId]:””});default:return e}}function Qt(e){const t=(0,a.c)(6),{children:s}=e;let o;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o={},t[0]=o):o=t[0];const[n,r]=(0,ct.useReducer)(qt,o);let i;t[1]!==n?(i={state:n,dispatch:r},t[1]=n,t[2]=i):i=t[2];const l=i;let c;return t[3]!==s||t[4]!==l?(c=(0,bt.jsx)(Gt.Provider,{value:l,children:s}),t[3]=s,t[4]=l,t[5]=c):c=t[5],c}function Kt(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,bt.jsx)(zt.CurrentConvoIdProvider,{children:(0,bt.jsx)(Qt,{children:(0,bt.jsx)(Vt.MessagesEventBusProvider,{children:(0,bt.jsx)(Ut.ListConvosProvider,{children:s})})})}),t[0]=s,t[1]=o):o=t[1],o}Gt.displayName=”MessageDraftsContext”;var Zt=o(58810),Yt=o(8023),$t=o(3987),Xt=o(15874),Jt=o(90464),es=o(96613),ts=o(30756),ss=o(86940),os=o(20564);const ns=ct.createContext(void 0);ns.displayName=”ActiveStarterPackStateContext”;const as=ct.createContext((e=>{}));function rs(e){const t=(0,a.c)(5),{children:s}=e,[o,n]=ct.useState();let r,i;return t[0]!==s?(r=(0,bt.jsx)(as.Provider,{value:n,children:s}),t[0]=s,t[1]=r):r=t[1],t[2]!==o||t[3]!==r?(i=(0,bt.jsx)(ns.Provider,{value:o,children:r}),t[2]=o,t[3]=r,t[4]=i):i=t[4],i}as.displayName=”ActiveStarterPackSetContext”;const is=()=>ct.useContext(ns),ls=()=>ct.useContext(as),cs=ct.createContext({showLoggedOut:!1,requestedAccountSwitchTo:void 0});cs.displayName=”LoggedOutStateContext”;const ds=ct.createContext({setShowLoggedOut:()=>{},requestSwitchToAccount:()=>{},clearRequestedAccount:()=>{}});function us(e){const t=(0,a.c)(9),{children:s}=e,o=is(),{hasSession:n}=(0,Lt.useSession)(),r=Boolean(o?.uri)&&!n,i=r?os.isWeb?”starterpack”:”new”:void 0;let l;t[0]!==r||t[1]!==i?(l={showLoggedOut:r,requestedAccountSwitchTo:i},t[0]=r,t[1]=i,t[2]=l):l=t[2];const[c,d]=ct.useState(l);let u;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(u={setShowLoggedOut(e){d((t=>Object.assign({},t,{showLoggedOut:e})))},requestSwitchToAccount(e){const{requestedAccount:t}=e;d((e=>Object.assign({},e,{showLoggedOut:!0,requestedAccountSwitchTo:t})))},clearRequestedAccount(){d(ms)}},t[3]=u):u=t[3];const m=u;let h,p;return t[4]!==s?(h=(0,bt.jsx)(ds.Provider,{value:m,children:s}),t[4]=s,t[5]=h):h=t[5],t[6]!==c||t[7]!==h?(p=(0,bt.jsx)(cs.Provider,{value:c,children:h}),t[6]=c,t[7]=h,t[8]=p):p=t[8],p}function ms(e){return Object.assign({},e,{requestedAccountSwitchTo:void 0})}function hs(){return ct.useContext(cs)}function ps(){return ct.useContext(ds)}ds.displayName=”LoggedOutControlsContext”;var fs=o(58505),gs=o(24095),xs=o(33520);const _s=(0,ct.createContext)(null);_s.displayName=”SelectedFeedStateContext”;const ys=(0,ct.createContext)((e=>{}));function bs(e){const t=(0,a.c)(10),{children:s}=e,{currentAccount:o}=(0,Lt.useSession)();let n;t[0]!==o?.did?(n=()=>function(e){if(os.isWeb){if(“/”===window.location.pathname){const e=new URLSearchParams(window.location.search).get(“feed”);if(e)return e}const e=sessionStorage.getItem(“lastSelectedHomeFeed”);if(e)return e}if(e){const t=xs.account.get([e,”lastSelectedHomeFeed”]);if(t)return t}return null}(o?.did),t[0]=o?.did,t[1]=n):n=t[1];const[r,i]=(0,ct.useState)(n);let l;t[2]!==o?.did?(l=e=>{if(i(e),os.isWeb)try{sessionStorage.setItem(“lastSelectedHomeFeed”,e)}catch{}o?.did&&xs.account.set([o?.did,”lastSelectedHomeFeed”],e)},t[2]=o?.did,t[3]=l):l=t[3],o?.did;const c=l;let d,u;return t[4]!==s||t[5]!==c?(d=(0,bt.jsx)(ys.Provider,{value:c,children:s}),t[4]=s,t[5]=c,t[6]=d):d=t[6],t[7]!==r||t[8]!==d?(u=(0,bt.jsx)(_s.Provider,{value:r,children:d}),t[7]=r,t[8]=d,t[9]=u):u=t[9],u}function js(){return(0,ct.useContext)(_s)}function vs(){return(0,ct.useContext)(ys)}ys.displayName=”SelectedFeedSetContext”;var Ss=o(36197),ws=o(70341),Ts=o(59550),ks=o(88528),Cs=o(67842),Ps=o(3611),As=o(67781),Is=o(61521),Ls=o(88186),Rs=o(19955),Es=o(13308),Ds=o(9269),Bs=o(19552),Ms=o(63410),Os=o(96587),Fs=o(5448),Ns=o(58895);const Hs=new Ns.default;const zs=[“accountEmailState”];function Vs(){const e=(0,a.c)(15),t=(0,Lt.useAgent)(),{partialRefreshSession:s}=(0,Lt.useSessionApi)(),[o,n]=(0,ct.useState)(!!t.session?.emailConfirmed),r=!!t.session?.emailConfirmed,i=!!t.session?.emailAuthFactor;let l;e[0]!==r||e[1]!==i?(l={isEmailVerified:r,email2FAEnabled:i},e[0]=r,e[1]=i,e[2]=l):l=e[2];const c=l,d=!!t.session,u=!o;let m,h,p,f;return e[3]!==s?(m=async()=>(await s(),null),e[3]=s,e[4]=m):m=e[4],e[5]!==d||e[6]!==u||e[7]!==m?(h={enabled:d,refetchOnWindowFocus:u,queryKey:zs,queryFn:m},e[5]=d,e[6]=u,e[7]=m,e[8]=h):h=e[8],(0,Fs.useQuery)(h),e[9]!==o||e[10]!==c.isEmailVerified?(p=()=>{c.isEmailVerified&&!o?(n(!0),Hs.emit(“emailVerified”)):!c.isEmailVerified&&o&&n(!1)},e[9]=o,e[10]=c.isEmailVerified,e[11]=p):p=e[11],e[12]!==o||e[13]!==c?(f=[c,o],e[12]=o,e[13]=c,e[14]=f):f=e[14],(0,ct.useEffect)(p,f),c}var Us=o(47571);function Gs(){const e=(0,a.c)(2),{_:t}=(0,ut.useLingui)();let s;return e[0]!==t?(s=e=>{if(!e)return{raw:void 0,clean:void 0};let s=e.toString();return qs(s)?{raw:s,clean:t({id:”ItUNqU”})}:s.includes(“Upstream Failure”)||s.includes(“NotEnoughResources”)||s.includes(“pipethrough network error”)?{raw:s,clean:t({id:”ZdWWqK”})}:s.includes(“Do not have authorization to set preferences”)&&s.includes(“app.bsky.actor.defs#personalDetailsPref”)?{raw:s,clean:t({id:”0cMFWr”})}:s.includes(“Bad token scope”)||s.includes(“Bad token method”)?{raw:s,clean:t({id:”77VGfA”})}:s.includes(“Rate Limit Exceeded”)?{raw:s,clean:t({id:”hsiT9p”})}:(s.startsWith(“Error: “)&&(s=s.slice(7)),{raw:s,clean:void 0})},e[0]=t,e[1]=s):s=e[1],s}const Ws=[“Abort”,”Network request failed”,”Failed to fetch”,”Load failed”,”Upstream service unreachable”];function qs(e){const t=String(e);for(const s of Ws)if(t.includes(s))return!0;return!1}var Qs=o(27344),Ks=o(51536),Zs=o(84639),Ys=o(96449),$s=o(50788),Xs=o(23486);function Js({onPress:e,style:t}){const s=(0,Bs.useTheme)(),{_:o}=(0,ut.useLingui)(),[n,a]=(0,ct.useState)(null);return(0,bt.jsxs)(Xs.Text,{style:[Bs.atoms.italic,Bs.atoms.leading_snug,s.atoms.text_contrast_medium,t],children:[(0,bt.jsx)(ut.Trans,{id:”7xEtFq”,components:{0:(0,bt.jsx)(Ys.InlineLinkText,Object.assign({label:o({id:”MyjAbr”})},(0,Ys.createStaticClick)((()=>{(async()=>{a(“sending”);try{await(0,Us.wait)(1e3,e()),a(“success”)}finally{setTimeout((()=>{a(null)}),1e3)}})()}))))}}),” “,(0,bt.jsx)(Xs.Span,{style:{top:1},children:”sending”===n?(0,bt.jsx)($s.Loader,{size:”xs”}):”success”===n?(0,bt.jsx)(Zs.CheckThick_Stroke2_Corner0_Rounded,{size:”xs”,fill:s.palette.positive_500}):null})]})}var eo=o(75281),to=o(79694);function so(e){return Boolean(e&&/^[A-Z2-7]{5}-[A-Z2-7]{5}$/.test(e))}function oo(e){const t=(0,a.c)(11),{value:s,onChangeText:o,onSubmitEditing:n}=e,{_:r}=(0,ut.useLingui)(),i=Boolean(s&&s.length>10&&!so(s));let l;t[0]!==o?(l=e=>{o?.(function(e){const t=e.toUpperCase().replace(/[^A-Z2-7]/g,””);return t.length<=5?t:`${t.slice(0,5)}-${t.slice(5)}`}(e))},t[0]=o,t[1]=l):l=t[1];const c=l;let d,u,m;return t[2]===Symbol.for("react.memo_cache_sentinel")?(d=(0,bt.jsx)(eo.Icon,{icon:to.Shield_Stroke2_Corner0_Rounded}),t[2]=d):d=t[2],t[3]!==r?(u=r({id:"ioZOzk"}),t[3]=r,t[4]=u):u=t[4],t[5]!==c||t[6]!==i||t[7]!==n||t[8]!==u||t[9]!==s?(m=(0,bt.jsx)(Cs.default,{children:(0,bt.jsxs)(eo.Root,{children:[d,(0,bt.jsx)(eo.Input,{isInvalid:i,label:u,placeholder:"XXXXX-XXXXX",value:s,onChangeText:c,onSubmitEditing:n})]})}),t[5]=c,t[6]=i,t[7]=n,t[8]=u,t[9]=s,t[10]=m):m=t[10],m}var no=o(37729);function ao(){const e=(0,a.c)(3),t=(0,Lt.useAgent)(),{currentAccount:s}=(0,Lt.useSession)();let o;return e[0]!==t||e[1]!==s?(o={mutationFn:async e=>{const{enabled:o,token:n}=e;if(!s?.email)throw new Error(“No email found for the current account”);await t.com.atproto.server.updateEmail({email:s.email,emailAuthFactor:o,token:n}),await t.resumeSession(t.session)}},e[0]=t,e[1]=s,e[2]=o):o=e[2],(0,no.useMutation)(o)}function ro(){const e=(0,a.c)(2),t=(0,Lt.useAgent)();let s;return e[0]!==t?(s={mutationFn:async()=>(await t.com.atproto.server.requestEmailUpdate()).data},e[0]=t,e[1]=s):s=e[1],(0,no.useMutation)(s)}function io(e){const t=(0,a.c)(3),{style:s}=e,o=(0,Bs.useTheme)();let n;return t[0]!==s||t[1]!==o.atoms.border_contrast_low?(n=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full,Bs.atoms.border_t,o.atoms.border_contrast_low,s]}),t[0]=s,t[1]=o.atoms.border_contrast_low,t[2]=n):n=t[2],n}var lo=o(90161);function co(e,t){switch(t.type){case”setError”:return Object.assign({},e,{error:t.error,emailStatus:”error”,tokenStatus:”error”});case”setStep”:return Object.assign({},e,{error:””,step:t.step});case”setEmailStatus”:return Object.assign({},e,{error:””,emailStatus:t.status});case”setTokenStatus”:return Object.assign({},e,{error:””,tokenStatus:t.status});default:return e}}function uo(){const e=(0,a.c)(24),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)(),o=Gs(),{currentAccount:n}=(0,Lt.useSession)(),{mutateAsync:r}=ro(),{mutateAsync:i}=ao(),l=(0,Ms.useDialogContext)(),[c,d]=(0,ct.useState)(“”);let u;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(u={error:””,step:”email”,emailStatus:”default”,tokenStatus:”default”},e[0]=u):u=e[0];const[m,h]=(0,ct.useReducer)(co,u);let p;e[1]!==s||e[2]!==o||e[3]!==r?(p=async()=>{h({type:”setEmailStatus”,status:”pending”});try{await(0,Us.wait)(1e3,r()),h({type:”setEmailStatus”,status:”success”}),setTimeout((()=>{h({type:”setStep”,step:”token”})}),1e3)}catch(g){const t=g;vt.logger.error(“Manage2FA: email update code request failed”,{safeMessage:t});const{clean:n}=o(t);h({type:”setError”,error:n||s({id:”tN9z3K”})})}},e[1]=s,e[2]=o,e[3]=r,e[4]=p):p=e[4];const f=p;let g;e[5]!==s||e[6]!==o||e[7]!==l||e[8]!==i||e[9]!==c?(g=async()=>{if(so(c)){h({type:”setTokenStatus”,status:”pending”});try{await(0,Us.wait)(1e3,i({enabled:!1,token:c})),h({type:”setTokenStatus”,status:”success”}),setTimeout((()=>{l.close()}),1e3)}catch(_){const t=_;vt.logger.error(“Manage2FA: disable email 2FA failed”,{safeMessage:t});const{clean:n}=o(t);h({type:”setError”,error:n||s({id:”U977Ib”})})}}else h({type:”setError”,error:s({id:”wtvoeQ”})})},e[5]=s,e[6]=o,e[7]=l,e[8]=i,e[9]=c,e[10]=g):g=e[10];const x=g;let _,y,b;return e[11]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.gap_sm],e[11]=_):_=e[11],e[12]===Symbol.for(“react.memo_cache_sentinel”)?(y=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_xl,Bs.atoms.font_bold,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”M2Ap+K”})}),e[12]=y):y=e[12],e[13]!==s||e[14]!==n?.email||e[15]!==x||e[16]!==f||e[17]!==m.emailStatus||e[18]!==m.error||e[19]!==m.step||e[20]!==m.tokenStatus||e[21]!==t.atoms.text_contrast_medium||e[22]!==c?(b=(0,bt.jsxs)(Cs.default,{style:_,children:[y,”email”===m.step?(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”tOZ4CW”,values:{0:n?.email},components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold]})}})}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_lg,Bs.atoms.pt_sm],children:[m.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:m.error}),(0,bt.jsxs)(Ks.Button,{label:s({id:”65dxv8″}),size:”large”,variant:”solid”,color:”primary”,onPress:f,disabled:”pending”===m.emailStatus,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”65dxv8″})}),(0,bt.jsx)(Ks.ButtonIcon,{icon:”pending”===m.emailStatus?$s.Loader:”success”===m.emailStatus?Zs.Check_Stroke2_Corner0_Rounded:lo.Envelope_Stroke2_Corner0_Rounded})]}),(0,bt.jsx)(io,{}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”xN/fJ8″,components:{0:(0,bt.jsx)(Ys.InlineLinkText,Object.assign({label:s({id:”lPgKS3″})},(0,Ys.createStaticClick)((()=>{h({type:”setStep”,step:”token”})}))))}})})]})]}):(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”tOZ4CW”,values:{0:n?.email},components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold]})}})}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm,Bs.atoms.py_sm],children:[(0,bt.jsx)(oo,{value:c,onChangeText:d,onSubmitEditing:x}),(0,bt.jsx)(Js,{onPress:f})]}),m.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:m.error}),(0,bt.jsxs)(Ks.Button,{label:s({id:”qERl58″}),size:”large”,variant:”solid”,color:”primary”,onPress:x,disabled:!c||11!==c.length||”pending”===m.tokenStatus,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”qERl58″})}),”pending”===m.tokenStatus?(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader}):”success”===m.tokenStatus?(0,bt.jsx)(Ks.ButtonIcon,{icon:Zs.Check_Stroke2_Corner0_Rounded}):null]})]})]}),e[13]=s,e[14]=n?.email,e[15]=x,e[16]=f,e[17]=m.emailStatus,e[18]=m.error,e[19]=m.step,e[20]=m.tokenStatus,e[21]=t.atoms.text_contrast_medium,e[22]=c,e[23]=b):b=e[23],b}function mo(e,t){switch(t.type){case”setError”:return Object.assign({},e,{error:t.error,status:”error”});case”setStatus”:return Object.assign({},e,{error:””,status:t.status});default:return e}}function ho(){const e=(0,a.c)(46),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)(),o=Gs(),{gtPhone:n}=(0,Bs.useBreakpoints)(),{mutateAsync:r}=ao(),i=(0,Ms.useDialogContext)();let l;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(l={error:””,status:”default”},e[0]=l):l=e[0];const[c,d]=(0,ct.useReducer)(mo,l);let u;e[1]!==s||e[2]!==o||e[3]!==i||e[4]!==r?(u=async()=>{d({type:”setStatus”,status:”pending”});try{await(0,Us.wait)(1e3,r({enabled:!0})),d({type:”setStatus”,status:”success”}),setTimeout((()=>{i.close()}),1e3)}catch(h){const t=h;vt.logger.error(“Manage2FA: enable email 2FA failed”,{safeMessage:t});const{clean:n}=o(t);d({type:”setError”,error:n||s({id:”U977Ib”})})}},e[1]=s,e[2]=o,e[3]=i,e[4]=r,e[5]=u):u=e[5];const m=u;let h,p,f,g,x,_,y,b,j,v;e[6]===Symbol.for(“react.memo_cache_sentinel”)?(h=[Bs.atoms.gap_lg],e[6]=h):h=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(p=[Bs.atoms.gap_sm],e[7]=p):p=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_xl,Bs.atoms.font_bold,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”O/nhm+”})}),e[8]=f):f=e[8],e[9]!==t.atoms.text_contrast_medium?(g=[Bs.atoms.text_sm,Bs.atoms.leading_snug,t.atoms.text_contrast_medium],e[9]=t.atoms.text_contrast_medium,e[10]=g):g=e[10],e[11]===Symbol.for(“react.memo_cache_sentinel”)?(x=(0,bt.jsx)(ut.Trans,{id:”QRRuU+”}),e[11]=x):x=e[11],e[12]!==g?(_=(0,bt.jsxs)(Cs.default,{style:p,children:[f,(0,bt.jsx)(Xs.Text,{style:g,children:x})]}),e[12]=g,e[13]=_):_=e[13],e[14]!==c.error?(y=c.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:c.error}),e[14]=c.error,e[15]=y):y=e[15],e[16]!==n?(b=n&&[Bs.atoms.flex_row_reverse],e[16]=n,e[17]=b):b=e[17],e[18]!==b?(j=[Bs.atoms.gap_sm,b],e[18]=b,e[19]=j):j=e[19],e[20]!==s?(v=s({id:”PaQ3df”}),e[20]=s,e[21]=v):v=e[21];const S=”pending”===c.status;let w;e[22]===Symbol.for(“react.memo_cache_sentinel”)?(w=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”PaQ3df”})}),e[22]=w):w=e[22];const T=”pending”===c.status?$s.Loader:”success”===c.status?Zs.Check_Stroke2_Corner0_Rounded:to.ShieldCheck_Stroke2_Corner0_Rounded;let k,C,P,A,I,L,R,E;return e[23]!==T?(k=(0,bt.jsx)(Ks.ButtonIcon,{position:”right”,icon:T}),e[23]=T,e[24]=k):k=e[24],e[25]!==m||e[26]!==v||e[27]!==S||e[28]!==k?(C=(0,bt.jsxs)(Ks.Button,{label:v,size:”large”,variant:”solid”,color:”primary”,onPress:m,disabled:S,children:[w,k]}),e[25]=m,e[26]=v,e[27]=S,e[28]=k,e[29]=C):C=e[29],e[30]!==s?(P=s({id:”dEgA5A”}),e[30]=s,e[31]=P):P=e[31],e[32]!==i?(A=()=>i.close(),e[32]=i,e[33]=A):A=e[33],e[34]===Symbol.for(“react.memo_cache_sentinel”)?(I=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”dEgA5A”})}),e[34]=I):I=e[34],e[35]!==P||e[36]!==A?(L=(0,bt.jsx)(Ks.Button,{label:P,size:”large”,variant:”solid”,color:”secondary”,onPress:A,children:I}),e[35]=P,e[36]=A,e[37]=L):L=e[37],e[38]!==j||e[39]!==C||e[40]!==L?(R=(0,bt.jsxs)(Cs.default,{style:j,children:[C,L]}),e[38]=j,e[39]=C,e[40]=L,e[41]=R):R=e[41],e[42]!==R||e[43]!==_||e[44]!==y?(E=(0,bt.jsxs)(Cs.default,{style:h,children:[_,y,R]}),e[42]=R,e[43]=_,e[44]=y,e[45]=E):E=e[45],E}let po=function(e){return e.Update=”Update”,e.Verify=”Verify”,e.VerificationReminder=”VerificationReminder”,e.Manage2FA=”Manage2FA”,e}({});function fo(e){const t=(0,a.c)(10),{showScreen:s}=e,{isEmailVerified:o,email2FAEnabled:n}=Vs(),[r,i]=(0,ct.useState)(null);let l,c;if(t[0]!==o||t[1]!==s?(l=()=>{o||s({id:po.Verify,instructions:[(0,bt.jsx)(ut.Trans,{id:”PriClI”},”2fa”)],onVerify:()=>{s({id:po.Manage2FA})}})},c=[o,s],t[0]=o,t[1]=s,t[2]=l,t[3]=c):(l=t[2],c=t[3]),(0,ct.useEffect)(l,c),n){if(!r){let e;return i(“disable”),t[4]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(uo,{}),t[4]=e):e=t[4],e}if(“disable”===r){let e;return t[5]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(uo,{}),t[5]=e):e=t[5],e}if(“enable”===r){let e;return t[6]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ho,{}),t[6]=e):e=t[6],e}}else{if(!r){let e;return i(“enable”),t[7]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ho,{}),t[7]=e):e=t[7],e}if(“disable”===r){let e;return t[8]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(uo,{}),t[8]=e):e=t[8],e}if(“enable”===r){let e;return t[9]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ho,{}),t[9]=e):e=t[9],e}}return null}var go=o(64611);function xo(){const e=(0,a.c)(2),t=(0,Lt.useAgent)();let s;return e[0]!==t?(s={mutationFn:async()=>{await t.com.atproto.server.requestEmailConfirmation()}},e[0]=t,e[1]=s):s=e[1],(0,no.useMutation)(s)}async function _o(e,t,s){await e.com.atproto.server.updateEmail({email:t.trim(),token:s}),await e.resumeSession(e.session)}function yo(e,t){switch(t.type){case”setStep”:return Object.assign({},e,{step:t.step});case”setError”:return Object.assign({},e,{error:t.error,mutationStatus:”error”});case”setMutationStatus”:return Object.assign({},e,{error:””,mutationStatus:t.status});case”setEmail”:{const s=(0,go.validate)(t.value);return Object.assign({},e,{step:”email”,token:””,email:t.value,emailValid:s})}case”setToken”:return Object.assign({},e,{error:””,token:t.value})}}function bo(e){const t=(0,a.c)(61),s=(0,Bs.useTheme)(),{_:o}=(0,ut.useLingui)(),n=Gs(),{currentAccount:r}=(0,Lt.useSession)();let i;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i={step:”email”,mutationStatus:”default”,error:””,email:””,emailValid:!0,token:””},t[0]=i):i=t[0];const[l,c]=(0,ct.useReducer)(yo,i),{mutateAsync:d}=function(){const e=(0,a.c)(3),t=(0,Lt.useAgent)(),{mutateAsync:s}=ro();let o;return e[0]!==t||e[1]!==s?(o={mutationFn:async e=>{const{email:o,token:n}=e;if(n)return await _o(t,o,n),{status:”success”};{const{tokenRequired:e}=await s();return e?{status:”tokenRequired”}:(await _o(t,o,n),{status:”success”})}}},e[0]=t,e[1]=s,e[2]=o):o=e[2],(0,no.useMutation)(o)}(),{mutateAsync:u}=ro(),{mutateAsync:m}=xo();let h;t[1]===Symbol.for(“react.memo_cache_sentinel”)?(h=e=>{c({type:”setEmail”,value:e})},t[1]=h):h=t[1];const p=h;let f;t[2]!==o||t[3]!==n||t[4]!==r||t[5]!==m||t[6]!==l.email||t[7]!==l.emailValid||t[8]!==l.step||t[9]!==l.token||t[10]!==d?(f=async()=>{if(“token”!==l.step||so(l.token))if(c({type:”setMutationStatus”,status:”pending”}),!1!==l.emailValid)if(l.email!==r.email)try{const{status:e}=await(0,Us.wait)(1e3,d({email:l.email,token:l.token}));if(“tokenRequired”===e)c({type:”setStep”,step:”token”}),c({type:”setMutationStatus”,status:”default”});else if(“success”===e){c({type:”setMutationStatus”,status:”success”});try{await m()}catch{}}}catch(x){const t=x;vt.logger.error(“EmailDialog: update email failed”,{safeMessage:t});const{clean:s}=n(t);c({type:”setError”,error:s||o({id:”cUqfSd”})})}else c({type:”setError”,error:o({id:”MxD+dT”})});else c({type:”setError”,error:o({id:”Wq6Wcm”})});else c({type:”setError”,error:o({id:”wtvoeQ”})})},t[2]=o,t[3]=n,t[4]=r,t[5]=m,t[6]=l.email,t[7]=l.emailValid,t[8]=l.step,t[9]=l.token,t[10]=d,t[11]=f):f=t[11];const g=f;let x,_,y,b,j,v,S,w,T,k;t[12]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.gap_lg],t[12]=x):x=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(_=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_xl,Bs.atoms.font_bold],children:(0,bt.jsx)(ut.Trans,{id:”GmYkFm”})}),t[13]=_):_=t[13],t[14]!==r?.emailAuthFactor?(y=r?.emailAuthFactor&&(0,bt.jsx)(Qs.Admonition,{type:”warning”,children:(0,bt.jsx)(ut.Trans,{id:”hCwhYI”})}),t[14]=r?.emailAuthFactor,t[15]=y):y=t[15],t[16]===Symbol.for(“react.memo_cache_sentinel”)?(b=[Bs.atoms.gap_md],t[16]=b):b=t[16],t[17]!==s.atoms.text_contrast_medium?(j=[Bs.atoms.pb_sm,Bs.atoms.leading_snug,s.atoms.text_contrast_medium],t[17]=s.atoms.text_contrast_medium,t[18]=j):j=t[18],t[19]===Symbol.for(“react.memo_cache_sentinel”)?(v=(0,bt.jsx)(ut.Trans,{id:”YpAI24″}),t[19]=v):v=t[19],t[20]!==j?(S=(0,bt.jsx)(Xs.Text,{style:j,children:v}),t[20]=j,t[21]=S):S=t[21],t[22]===Symbol.for(“react.memo_cache_sentinel”)?(w=(0,bt.jsx)(eo.Icon,{icon:lo.Envelope_Stroke2_Corner0_Rounded}),t[22]=w):w=t[22],t[23]!==o?(T=o({id:”OenGwo”}),t[23]=o,t[24]=T):T=t[24],t[25]!==o?(k=o({id:”w8klS3″}),t[25]=o,t[26]=k):k=t[26];const C=”success”===l.mutationStatus?void 0:p;let P,A,I,L,R,E,D;return t[27]!==g||t[28]!==l.email||t[29]!==T||t[30]!==k||t[31]!==C?(P=(0,bt.jsxs)(eo.Root,{children:[w,(0,bt.jsx)(eo.Input,{label:T,placeholder:k,defaultValue:l.email,onChangeText:C,keyboardType:”email-address”,autoComplete:”email”,autoCapitalize:”none”,onSubmitEditing:g})]}),t[27]=g,t[28]=l.email,t[29]=T,t[30]=k,t[31]=C,t[32]=P):P=t[32],t[33]!==P||t[34]!==S?(A=(0,bt.jsxs)(Cs.default,{children:[S,P]}),t[33]=P,t[34]=S,t[35]=A):A=t[35],t[36]!==g||t[37]!==u||t[38]!==l.mutationStatus||t[39]!==l.step||t[40]!==l.token||t[41]!==s.atoms.text_contrast_medium?(I=”token”===l.step&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(io,{}),(0,bt.jsxs)(Cs.default,{children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.pb_sm,Bs.atoms.font_semi_bold],children:(0,bt.jsx)(ut.Trans,{id:”4fWT0G”})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.pb_sm,Bs.atoms.leading_snug,s.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”94kT9k”})}),(0,bt.jsx)(oo,{value:l.token,onChangeText:”success”===l.mutationStatus?void 0:e=>{c({type:”setToken”,value:e})},onSubmitEditing:g}),”success”!==l.mutationStatus&&(0,bt.jsx)(Js,{onPress:u,style:[Bs.atoms.pt_sm]})]})]}),t[36]=g,t[37]=u,t[38]=l.mutationStatus,t[39]=l.step,t[40]=l.token,t[41]=s.atoms.text_contrast_medium,t[42]=I):I=t[42],t[43]!==l.error?(L=l.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:l.error}),t[43]=l.error,t[44]=L):L=t[44],t[45]!==A||t[46]!==I||t[47]!==L?(R=(0,bt.jsxs)(Cs.default,{style:b,children:[A,I,L]}),t[45]=A,t[46]=I,t[47]=L,t[48]=R):R=t[48],t[49]!==o||t[50]!==g||t[51]!==l.email||t[52]!==l.mutationStatus||t[53]!==l.step||t[54]!==l.token||t[55]!==s.palette?(E=”success”===l.mutationStatus?(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(io,{}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm],children:[(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_sm,Bs.atoms.align_center],children:[(0,bt.jsx)(Zs.CheckThick_Stroke2_Corner0_Rounded,{fill:s.palette.positive_500,size:”xs”}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.font_bold],children:(0,bt.jsx)(ut.Trans,{id:”oMgC5V”})})]}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”UGGtmB”})})]})]}):(0,bt.jsxs)(Ks.Button,{label:o({id:”F3cQW2″}),size:”large”,variant:”solid”,color:”primary”,onPress:g,disabled:!l.email||”token”===l.step&&(!l.token||11!==l.token.length)||”pending”===l.mutationStatus,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”F3cQW2″})}),”pending”===l.mutationStatus&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader})]}),t[49]=o,t[50]=g,t[51]=l.email,t[52]=l.mutationStatus,t[53]=l.step,t[54]=l.token,t[55]=s.palette,t[56]=E):E=t[56],t[57]!==R||t[58]!==E||t[59]!==y?(D=(0,bt.jsxs)(Cs.default,{style:x,children:[_,y,R,E]}),t[57]=R,t[58]=E,t[59]=y,t[60]=D):D=t[60],D}var jo=o(44922);function vo(e){const t=(0,a.c)(12),{gradient:s,style:o}=e;if(s.values.length<2)throw new Error("Gradient must have at least 2 colors");let n;t[0]!==s.values?(n=s.values.map(wo),t[0]=s.values,t[1]=n):n=t[1];const r=n;let i;t[2]!==s.values?(i=s.values.map(So),t[2]=s.values,t[3]=i):i=t[3];const l=i;let c,d,u,m;return t[4]===Symbol.for("react.memo_cache_sentinel")?(c={x:0,y:0},d={x:1,y:1},t[4]=c,t[5]=d):(c=t[4],d=t[5]),t[6]!==o?(u=[Bs.atoms.absolute,Bs.atoms.inset_0,o],t[6]=o,t[7]=u):u=t[7],t[8]!==r||t[9]!==l||t[10]!==u?(m=(0,bt.jsx)(jo.LinearGradient,{colors:r,locations:l,start:c,end:d,style:u}),t[8]=r,t[9]=l,t[10]=u,t[11]=m):m=t[11],m}function So(e){return e[0]}function wo(e){return e[1]}function To(e){const t=(0,a.c)(57),{showScreen:s}=e,o=(0,Bs.useTheme)(),{_:n}=(0,ut.useLingui)(),{gtPhone:r,gtMobile:i}=(0,Bs.useBreakpoints)(),l=(0,Ms.useDialogContext)(),c=i?Bs.atoms.p_2xl.padding:Bs.atoms.p_xl.padding;let d;t[0]===Symbol.for("react.memo_cache_sentinel")?(d=[Bs.atoms.gap_lg],t[0]=d):d=t[0];const u=-1*(0,Bs.platform)({web:c,default:Bs.atoms.p_2xl.padding}),m=-1*c,h=-1*c;let p,f,g,x,_,y,b;t[1]!==u||t[2]!==m||t[3]!==h?(p=[Bs.atoms.absolute,{top:u,left:m,right:h,height:150}],t[1]=u,t[2]=m,t[3]=h,t[4]=p):p=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(f={borderTopLeftRadius:Bs.atoms.rounded_md.borderRadius,borderTopRightRadius:Bs.atoms.rounded_md.borderRadius},t[5]=f):f=t[5],t[6]!==o.atoms.bg_contrast_100?(g=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.align_center,Bs.atoms.justify_center,Bs.atoms.overflow_hidden,Bs.atoms.pt_md,o.atoms.bg_contrast_100,f],t[6]=o.atoms.bg_contrast_100,t[7]=g):g=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(x=(0,bt.jsx)(vo,{gradient:Bs.tokens.gradients.primary}),t[8]=x):x=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(_=(0,bt.jsx)(to.ShieldCheck_Stroke2_Corner0_Rounded,{width:64,fill:"white",style:[Bs.atoms.z_10]}),t[9]=_):_=t[9],t[10]!==g?(y=(0,bt.jsxs)(Cs.default,{style:g,children:[x,_]}),t[10]=g,t[11]=y):y=t[11],t[12]!==y||t[13]!==p?(b=(0,bt.jsx)(Cs.default,{style:p,children:y}),t[12]=y,t[13]=p,t[14]=b):b=t[14];const j=150-c;let v,S,w,T,k,C,P,A,I,L,R,E,D,B,M,O,F,N,H,z;return t[15]!==j?(v=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.mb_xs,{height:j}]}),t[15]=j,t[16]=v):v=t[16],t[17]===Symbol.for("react.memo_cache_sentinel")?(S=[Bs.atoms.gap_sm],t[17]=S):S=t[17],t[18]===Symbol.for("react.memo_cache_sentinel")?(w=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_xl,Bs.atoms.font_bold],children:(0,bt.jsx)(ut.Trans,{id:"F132R+"})}),t[18]=w):w=t[18],t[19]!==o.atoms.text_contrast_medium?(T=[Bs.atoms.text_sm,Bs.atoms.leading_snug,o.atoms.text_contrast_medium],t[19]=o.atoms.text_contrast_medium,t[20]=T):T=t[20],t[21]===Symbol.for("react.memo_cache_sentinel")?(k=(0,bt.jsx)(ut.Trans,{id:"E8ogPW"}),t[21]=k):k=t[21],t[22]!==T?(C=(0,bt.jsxs)(Cs.default,{style:S,children:[w,(0,bt.jsx)(Xs.Text,{style:T,children:k})]}),t[22]=T,t[23]=C):C=t[23],t[24]===Symbol.for("react.memo_cache_sentinel")?(P=(0,bt.jsx)(io,{}),t[24]=P):P=t[24],t[25]!==r?(A=r&&[Bs.atoms.flex_row_reverse],t[25]=r,t[26]=A):A=t[26],t[27]!==A?(I=[Bs.atoms.gap_sm,A],t[27]=A,t[28]=I):I=t[28],t[29]!==n?(L=n({id:"ZDIydz"}),t[29]=n,t[30]=L):L=t[30],t[31]!==s?(R=()=>s({id:po.Verify}),t[31]=s,t[32]=R):R=t[32],t[33]===Symbol.for(“react.memo_cache_sentinel”)?(E=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”ZDIydz”})}),t[33]=E):E=t[33],t[34]!==L||t[35]!==R?(D=(0,bt.jsx)(Ks.Button,{label:L,variant:”solid”,color:”primary”,size:”large”,onPress:R,children:E}),t[34]=L,t[35]=R,t[36]=D):D=t[36],t[37]!==n?(B=n({id:”Dd7YLj”}),t[37]=n,t[38]=B):B=t[38],t[39]!==n?(M=n({id:”EN1na+”}),t[39]=n,t[40]=M):M=t[40],t[41]!==l?(O=()=>l.close(),t[41]=l,t[42]=O):O=t[42],t[43]===Symbol.for(“react.memo_cache_sentinel”)?(F=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”Dd7YLj”})}),t[43]=F):F=t[43],t[44]!==B||t[45]!==M||t[46]!==O?(N=(0,bt.jsx)(Ks.Button,{label:B,accessibilityHint:M,variant:”ghost”,color:”secondary”,size:”large”,onPress:O,children:F}),t[44]=B,t[45]=M,t[46]=O,t[47]=N):N=t[47],t[48]!==I||t[49]!==D||t[50]!==N?(H=(0,bt.jsxs)(Cs.default,{style:I,children:[D,N]}),t[48]=I,t[49]=D,t[50]=N,t[51]=H):H=t[51],t[52]!==b||t[53]!==v||t[54]!==C||t[55]!==H?(z=(0,bt.jsxs)(Cs.default,{style:d,children:[b,v,C,P,H]}),t[52]=b,t[53]=v,t[54]=C,t[55]=H,t[56]=z):z=t[56],z}function ko(e){const t=(0,a.c)(9);let s;t[0]!==e?(s=void 0===e?{}:e,t[0]=e,t[1]=s):s=t[1];const{onSuccess:o,onError:n}=s,r=(0,Lt.useAgent)(),{currentAccount:i}=(0,Lt.useSession)();let l,c;return t[2]!==r||t[3]!==i?(l=async e=>{const{token:t}=e;if(!i?.email)throw new Error(“No email found for the current account”);await r.com.atproto.server.confirmEmail({email:i.email.trim(),token:t.trim()}),await r.resumeSession(r.session)},t[2]=r,t[3]=i,t[4]=l):l=t[4],t[5]!==n||t[6]!==o||t[7]!==l?(c={mutationFn:l,onSuccess:o,onError:n},t[5]=n,t[6]=o,t[7]=l,t[8]=c):c=t[8],(0,no.useMutation)(c)}function Co(e,t){switch(t.type){case”setStep”:return Object.assign({},e,{error:””,mutationStatus:”default”,step:t.step});case”setError”:return Object.assign({},e,{error:t.error,mutationStatus:”error”});case”setMutationStatus”:return Object.assign({},e,{error:””,mutationStatus:t.status});case”setToken”:return Object.assign({},e,{error:””,token:t.value})}}function Po(e){const t=(0,a.c)(90),{config:s,showScreen:o}=e,n=(0,Bs.useTheme)(),{_:r}=(0,ut.useLingui)(),i=Gs(),{currentAccount:l}=(0,Lt.useSession)();let c;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c={step:”email”,mutationStatus:”default”,error:””,token:””},t[0]=c):c=t[0];const[d,u]=(0,ct.useReducer)(Co,c),{mutateAsync:m}=xo(),{mutateAsync:h}=ko();let p,f;t[1]!==s?(p=()=>{s.onVerify?s.onVerify():u({type:”setStep”,step:”success”})},t[1]=s,t[2]=p):p=t[2],function(e){const t=(0,a.c)(3);let s,o;t[0]!==e?(s=()=>(Hs.once(“emailVerified”,e),()=>{Hs.off(“emailVerified”,e)}),o=[e],t[0]=e,t[1]=s,t[2]=o):(s=t[1],o=t[2]),(0,ct.useEffect)(s,o)}(p),t[3]!==r||t[4]!==i||t[5]!==m?(f=async()=>{u({type:”setMutationStatus”,status:”pending”});try{await(0,Us.wait)(1e3,m()),u({type:”setMutationStatus”,status:”success”})}catch(x){const t=x;vt.logger.error(“EmailDialog: sending verification email failed”,{safeMessage:t});const{clean:s}=i(t);u({type:”setError”,error:s||r({id:”tN9z3K”})})}},t[3]=r,t[4]=i,t[5]=m,t[6]=f):f=t[6];const g=f;let x;t[7]!==r||t[8]!==i||t[9]!==h||t[10]!==d.token?(x=async()=>{if(so(d.token)){u({type:”setMutationStatus”,status:”pending”});try{await(0,Us.wait)(1e3,h({token:d.token})),u({type:”setStep”,step:”success”})}catch(y){const t=y;vt.logger.error(“EmailDialog: confirming email failed”,{safeMessage:t});const{clean:s}=i(t);u({type:”setError”,error:s||r({id:”A9woWr”})})}}else u({type:”setError”,error:r({id:”wtvoeQ”})})},t[7]=r,t[8]=i,t[9]=h,t[10]=d.token,t[11]=x):x=t[11];const _=x;if(“success”===d.step){let e,s,o,a,r,i,l,c,d,u,m;return t[12]===Symbol.for(“react.memo_cache_sentinel”)?(e=[Bs.atoms.gap_lg],t[12]=e):e=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(s=[Bs.atoms.gap_sm],t[13]=s):s=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(o=[Bs.atoms.text_xl,Bs.atoms.font_bold],t[14]=o):o=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(a={top:1},t[15]=a):a=t[15],t[16]!==n.palette.positive_500?(r=(0,bt.jsx)(Xs.Span,{style:a,children:(0,bt.jsx)(Zs.CheckThick_Stroke2_Corner0_Rounded,{size:”sm”,fill:n.palette.positive_500})}),t[16]=n.palette.positive_500,t[17]=r):r=t[17],t[18]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,bt.jsx)(ut.Trans,{id:”7meqJL”}),t[18]=i):i=t[18],t[19]!==r?(l=(0,bt.jsxs)(Xs.Text,{style:o,children:[r,” “,i]}),t[19]=r,t[20]=l):l=t[20],t[21]!==n.atoms.text_contrast_medium?(c=[Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],t[21]=n.atoms.text_contrast_medium,t[22]=c):c=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,bt.jsx)(ut.Trans,{id:”6nY+qX”}),t[23]=d):d=t[23],t[24]!==c?(u=(0,bt.jsx)(Xs.Text,{style:c,children:d}),t[24]=c,t[25]=u):u=t[25],t[26]!==l||t[27]!==u?(m=(0,bt.jsx)(Cs.default,{style:e,children:(0,bt.jsxs)(Cs.default,{style:s,children:[l,u]})}),t[26]=l,t[27]=u,t[28]=m):m=t[28],m}let y,b,j,v,S,w,T,k,C,P,A,I,L,R,E;return t[29]===Symbol.for(“react.memo_cache_sentinel”)?(y=[Bs.atoms.gap_lg],t[29]=y):y=t[29],t[30]===Symbol.for(“react.memo_cache_sentinel”)?(b=[Bs.atoms.gap_sm],t[30]=b):b=t[30],t[31]===Symbol.for(“react.memo_cache_sentinel”)?(j=[Bs.atoms.text_xl,Bs.atoms.font_bold],t[31]=j):j=t[31],t[32]!==d.mutationStatus||t[33]!==d.step||t[34]!==n.palette?(v=(0,bt.jsx)(Xs.Text,{style:j,children:”email”===d.step?”success”===d.mutationStatus?(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Xs.Span,{style:{top:1},children:(0,bt.jsx)(Zs.CheckThick_Stroke2_Corner0_Rounded,{size:”sm”,fill:n.palette.positive_500})}),” “,(0,bt.jsx)(ut.Trans,{id:”JHLcvq”})]}):(0,bt.jsx)(ut.Trans,{id:”/IBv6X”}):(0,bt.jsx)(ut.Trans,{id:”Nuelt3″})}),t[32]=d.mutationStatus,t[33]=d.step,t[34]=n.palette,t[35]=v):v=t[35],t[36]!==s.instructions||t[37]!==d.mutationStatus||t[38]!==d.step||t[39]!==n.atoms.text_contrast_medium?(S=”email”===d.step&&”success”!==d.mutationStatus&&(0,bt.jsx)(bt.Fragment,{children:s.instructions?.map(((e,t)=>(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.italic,Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],children:e},t)))}),t[36]=s.instructions,t[37]=d.mutationStatus,t[38]=d.step,t[39]=n.atoms.text_contrast_medium,t[40]=S):S=t[40],t[41]!==n.atoms.text_contrast_medium?(w=[Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],t[41]=n.atoms.text_contrast_medium,t[42]=w):w=t[42],t[43]!==l.email||t[44]!==d.mutationStatus||t[45]!==d.step||t[46]!==n.atoms.text?(T=”email”===d.step?”success”===d.mutationStatus?(0,bt.jsx)(ut.Trans,{id:”yhUcvK”,values:{0:l.email},components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold,n.atoms.text]})}}):(0,bt.jsx)(ut.Trans,{id:”Z2fqAE”,values:{0:l.email},components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold,n.atoms.text]})}}):(0,bt.jsx)(ut.Trans,{id:”pqIkiM”,values:{0:l.email},components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold,n.atoms.text]})}}),t[43]=l.email,t[44]=d.mutationStatus,t[45]=d.step,t[46]=n.atoms.text,t[47]=T):T=t[47],t[48]!==w||t[49]!==T?(k=(0,bt.jsx)(Xs.Text,{style:w,children:T}),t[48]=w,t[49]=T,t[50]=k):k=t[50],t[51]!==r||t[52]!==o||t[53]!==d.mutationStatus||t[54]!==d.step||t[55]!==n.atoms.text_contrast_medium?(C=”email”===d.step&&”success”!==d.mutationStatus&&(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”GYMBVa”,components:{0:(0,bt.jsx)(Ys.InlineLinkText,Object.assign({label:r({id:”G3YQiX”})},(0,Ys.createStaticClick)((()=>{o({id:po.Update})}))))}})}),t[51]=r,t[52]=o,t[53]=d.mutationStatus,t[54]=d.step,t[55]=n.atoms.text_contrast_medium,t[56]=C):C=t[56],t[57]!==m||t[58]!==d.mutationStatus||t[59]!==d.step?(P=”email”===d.step&&”success”===d.mutationStatus&&(0,bt.jsx)(Js,{onPress:m}),t[57]=m,t[58]=d.mutationStatus,t[59]=d.step,t[60]=P):P=t[60],t[61]!==k||t[62]!==C||t[63]!==P||t[64]!==v||t[65]!==S?(A=(0,bt.jsxs)(Cs.default,{style:b,children:[v,S,k,C,P]}),t[61]=k,t[62]=C,t[63]=P,t[64]=v,t[65]=S,t[66]=A):A=t[66],t[67]!==r||t[68]!==g||t[69]!==d.error||t[70]!==d.mutationStatus||t[71]!==d.step?(I=”email”===d.step&&”success”!==d.mutationStatus?(0,bt.jsxs)(bt.Fragment,{children:[d.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:d.error}),(0,bt.jsxs)(Ks.Button,{label:r({id:”IN+NvY”}),size:”large”,variant:”solid”,color:”primary”,onPress:g,disabled:”pending”===d.mutationStatus,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”65dxv8″})}),(0,bt.jsx)(Ks.ButtonIcon,{icon:”pending”===d.mutationStatus?$s.Loader:lo.Envelope_Stroke2_Corner0_Rounded})]})]}):null,t[67]=r,t[68]=g,t[69]=d.error,t[70]=d.mutationStatus,t[71]=d.step,t[72]=I):I=t[72],t[73]!==r||t[74]!==d.step||t[75]!==n.atoms.text_contrast_medium?(L=”email”===d.step&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(io,{}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”xN/fJ8″,components:{0:(0,bt.jsx)(Ys.InlineLinkText,Object.assign({label:r({id:”lPgKS3″})},(0,Ys.createStaticClick)((()=>{u({type:”setStep”,step:”token”})}))))}})})]}),t[73]=r,t[74]=d.step,t[75]=n.atoms.text_contrast_medium,t[76]=L):L=t[76],t[77]!==r||t[78]!==_||t[79]!==d.error||t[80]!==d.mutationStatus||t[81]!==d.step||t[82]!==d.token||t[83]!==n.atoms.text_contrast_medium?(R=”token”===d.step?(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(oo,{value:d.token,onChangeText:e=>{u({type:”setToken”,value:e})},onSubmitEditing:_}),d.error&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:d.error}),(0,bt.jsxs)(Ks.Button,{label:r({id:”rYQz8C”}),size:”large”,variant:”solid”,color:”primary”,onPress:_,disabled:!d.token||11!==d.token.length||”pending”===d.mutationStatus,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”rYQz8C”})}),”pending”===d.mutationStatus&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader})]}),(0,bt.jsx)(io,{}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”7h9YU2″,components:{0:(0,bt.jsx)(Ys.InlineLinkText,Object.assign({label:r({id:”9dAlPj”})},(0,Ys.createStaticClick)((()=>{u({type:”setStep”,step:”email”})}))))}})})]}):null,t[77]=r,t[78]=_,t[79]=d.error,t[80]=d.mutationStatus,t[81]=d.step,t[82]=d.token,t[83]=n.atoms.text_contrast_medium,t[84]=R):R=t[84],t[85]!==A||t[86]!==I||t[87]!==L||t[88]!==R?(E=(0,bt.jsxs)(Cs.default,{style:y,children:[A,I,L,R]}),t[85]=A,t[86]=I,t[87]=L,t[88]=R,t[89]=E):E=t[89],E}function Ao(){return(0,Os.useGlobalDialogsControlContext)().emailDialogControl}function Io(){const e=(0,a.c)(17),{_:t}=(0,ut.useLingui)(),s=Ao(),{isEmailVerified:o}=Vs();let n;e[0]!==s||e[1]!==o?(n=()=>{o||s.value?.id===po.Verify&&s.value.onCloseWithoutVerifying?.(),s.clear()},e[0]=s,e[1]=o,e[2]=n):n=e[2];const r=n,i=s.control;let l,c,d,u,m,h,p;return e[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,bt.jsx)(Ms.Handle,{}),e[3]=l):l=e[3],e[4]!==t?(c=t({id:”L8XZrX”}),e[4]=t,e[5]=c):c=e[5],e[6]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,Bs.web)({maxWidth:400}),e[6]=d):d=e[6],e[7]!==s?(u=(0,bt.jsx)(Lo,{control:s}),e[7]=s,e[8]=u):u=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(m=(0,bt.jsx)(Ms.Close,{}),e[9]=m):m=e[9],e[10]!==c||e[11]!==u?(h=(0,bt.jsxs)(Ms.ScrollableInner,{label:c,style:d,children:[u,m]}),e[10]=c,e[11]=u,e[12]=h):h=e[12],e[13]!==s.control||e[14]!==r||e[15]!==h?(p=(0,bt.jsxs)(Ms.Outer,{control:i,onClose:r,children:[l,h]}),e[13]=s.control,e[14]=r,e[15]=h,e[16]=p):p=e[16],p}function Lo(e){const t=(0,a.c)(10),{control:s}=e;let o;t[0]!==s.value?(o=()=>s.value,t[0]=s.value,t[1]=o):o=t[1];const[n,r]=(0,ct.useState)(o);if(!n)return null;switch(n.id){case po.Update:{let e;return t[2]!==n?(e=(0,bt.jsx)(bo,{config:n,showScreen:r}),t[2]=n,t[3]=e):e=t[3],e}case po.Verify:{let e;return t[4]!==n?(e=(0,bt.jsx)(Po,{config:n,showScreen:r}),t[4]=n,t[5]=e):e=t[5],e}case po.VerificationReminder:{let e;return t[6]!==n?(e=(0,bt.jsx)(To,{config:n,showScreen:r}),t[6]=n,t[7]=e):e=t[7],e}case po.Manage2FA:{let e;return t[8]!==n?(e=(0,bt.jsx)(fo,{config:n,showScreen:r}),t[8]=n,t[9]=e):e=t[9],e}default:return null}}function Ro(){const e=(0,a.c)(6),{currentAccount:t}=(0,Lt.useSession)(),{needsEmailVerification:s}=Dt(),o=(0,Lt.useRequireAuth)(),n=Ao(),r=(0,Ds.useCloseAllActiveElements)();let i;return e[0]!==r||e[1]!==t||e[2]!==n||e[3]!==s||e[4]!==o?(i=(e,a)=>{const i=void 0===a?{}:a;return(…a)=>{const l=a;return t?s?(Es.default.dismiss(),r(),void n.open(Object.assign({id:po.Verify},i))):e(…l):o((()=>e(…l)))}},e[0]=r,e[1]=t,e[2]=n,e[3]=s,e[4]=o,e[5]=i):i=e[5],i}function Eo(){const e=(0,a.c)(6),{openComposer:t}=(0,ss.useOpenComposer)(),s=Ro();let o,n,r;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=(0,bt.jsx)(ut.Trans,{id:”g669Pi”},”pre-compose”),e[0]=o):o=e[0],e[1]!==t||e[2]!==s?(n=s(t,{instructions:[o]}),e[1]=t,e[2]=s,e[3]=n):n=e[3],e[4]!==n?(r={openComposer:n},e[4]=n,e[5]=r):r=e[5],r}var Do=o(34638),Bo=o(43261);function Mo(){const e=(0,a.c)(6),{verifyEmailDialogControl:t}=No();let s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,bt.jsx)(Ms.Handle,{}),e[0]=s):s=e[0],e[1]!==t?(o=(0,bt.jsx)(Oo,{control:t}),e[1]=t,e[2]=o):o=e[2],e[3]!==t||e[4]!==o?(n=(0,bt.jsxs)(Ms.Outer,{control:t,children:[s,o]}),e[3]=t,e[4]=o,e[5]=n):n=e[5],n}function Oo(e){const t=(0,a.c)(33),s=(0,Bs.useTheme)(),{gtMobile:o}=(0,Bs.useBreakpoints)(),{_:n}=(0,ut.useLingui)(),{verifyEmailState:r}=No(),[i,l]=(0,ct.useState)(“loading”),[c,d]=(0,ct.useState)(!1),u=(0,Lt.useAgent)(),{currentAccount:m}=(0,Lt.useSession)();let h;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(h={onSuccess:()=>l(“success”),onError:()=>l(“failure”)},t[0]=h):h=t[0];const{mutate:p}=ko(h);let f;t[1]!==p||t[2]!==r?(f=()=>{r?.code&&p({token:r.code})},t[1]=p,t[2]=r,t[3]=f):f=t[3];const g=r?.code;let x,_;t[4]!==p||t[5]!==g?(x=[g,p],t[4]=p,t[5]=g,t[6]=x):x=t[6],(0,ct.useEffect)(f,x),t[7]!==u.com.atproto.server?(_=async()=>{d(!0),await u.com.atproto.server.requestEmailConfirmation(),d(!1),l(“resent”)},t[7]=u.com.atproto.server,t[8]=_):_=t[8];const y=_;let b,j,v,S,w,T,k,C,P;return t[9]!==n?(b=n({id:”JMTD7S”}),t[9]=n,t[10]=b):b=t[10],t[11]!==o?(j=o?{width:”auto”,maxWidth:400,minWidth:200}:Bs.atoms.w_full,t[11]=o,t[12]=j):j=t[12],t[13]!==j?(v=[j],t[13]=j,t[14]=v):v=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(S=[Bs.atoms.gap_xl],t[15]=S):S=t[15],t[16]!==m?.email||t[17]!==i||t[18]!==s?(w=”loading”===i?(0,bt.jsx)(Cs.default,{style:[Bs.atoms.py_2xl,Bs.atoms.align_center,Bs.atoms.justify_center],children:(0,bt.jsx)($s.Loader,{size:”xl”,fill:s.atoms.text_contrast_low.color})}):”success”===i?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm,os.isNative&&Bs.atoms.pb_xl],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_bold,Bs.atoms.text_2xl],children:(0,bt.jsx)(ut.Trans,{id:”nKExoO”})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”oNSoEG”})})]}):”failure”===i?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_bold,Bs.atoms.text_2xl],children:(0,bt.jsx)(ut.Trans,{id:”3/4uj+”})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”7FR3ev”})})]}):(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm,os.isNative&&Bs.atoms.pb_xl],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_bold,Bs.atoms.text_2xl],children:(0,bt.jsx)(ut.Trans,{id:”yAJVYn”})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”19e6ry”,values:{0:m?.email},components:{0:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.font_semi_bold]})}})})]}),t[16]=m?.email,t[17]=i,t[18]=s,t[19]=w):w=t[19],t[20]!==n||t[21]!==y||t[22]!==c||t[23]!==i?(T=”failure”===i&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(io,{}),(0,bt.jsxs)(Ks.Button,{label:n({id:”NRybJY”}),onPress:y,color:”secondary_inverted”,size:”large”,disabled:c,children:[(0,bt.jsx)(Ks.ButtonIcon,{icon:c?$s.Loader:Bo.ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded}),(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”Brvd0l”})})]})]}),t[20]=n,t[21]=y,t[22]=c,t[23]=i,t[24]=T):T=t[24],t[25]!==w||t[26]!==T?(k=(0,bt.jsxs)(Cs.default,{style:S,children:[w,T]}),t[25]=w,t[26]=T,t[27]=k):k=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(C=(0,bt.jsx)(Ms.Close,{}),t[28]=C):C=t[28],t[29]!==k||t[30]!==b||t[31]!==v?(P=(0,bt.jsxs)(Ms.ScrollableInner,{label:b,style:v,children:[k,C]}),t[29]=k,t[30]=b,t[31]=v,t[32]=P):P=t[32],P}const Fo=ct.createContext({});Fo.displayName=”IntentDialogsContext”;const No=()=>ct.useContext(Fo);function Ho(e){const t=(0,a.c)(7),{children:s}=e,o=Ms.useDialogControl(),[n,r]=ct.useState();let i;t[0]!==o||t[1]!==n?(i={verifyEmailDialogControl:o,verifyEmailState:n,setVerifyEmailState:r},t[0]=o,t[1]=n,t[2]=i):i=t[2];const l=i;let c,d;return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,bt.jsx)(Mo,{}),t[3]=c):c=t[3],t[4]!==s||t[5]!==l?(d=(0,bt.jsxs)(Fo.Provider,{value:l,children:[s,c]}),t[4]=s,t[5]=l,t[6]=d):d=t[6],d}var zo=o(19882);const Vo=/^[\w.:\-_/]+\|\d+(\.\d+)?\|\d+(\.\d+)?$/;let Uo=””;function Go(){const e=(0,a.c)(11),t=Ls.useLinkingURL(),s=function(){const e=(0,a.c)(4),t=(0,Ds.useCloseAllActiveElements)(),{openComposer:s}=Eo(),{hasSession:o}=(0,Lt.useSession)();let n;e[0]!==t||e[1]!==o||e[2]!==s?(n=e=>{const{text:n,imageUrisStr:a,videoUri:r}=e;if(!o)return;if(t(),r){const[e,t,o]=r.split(“|”);return void s({text:n??void 0,videoUri:{uri:e,width:Number(t),height:Number(o)}})}const i=a?.split(“,”).filter(Qo).map(qo);setTimeout((()=>{s({text:n??void 0,imageUris:os.isNative?i:void 0})}),500)},e[0]=t,e[1]=o,e[2]=s,e[3]=n):n=e[3];return n}(),o=function(){const e=(0,a.c)(4),t=(0,Ds.useCloseAllActiveElements)(),{verifyEmailDialogControl:s,setVerifyEmailState:o}=No();let n;e[0]!==t||e[1]!==s||e[2]!==o?(n=e=>{t(),o({code:e}),setTimeout((()=>{s.open()}),1e3)},e[0]=t,e[1]=s,e[2]=o,e[3]=n):n=e[3];return n}(),{currentAccount:n}=(0,Lt.useSession)(),{tryApplyUpdate:r}={tryApplyUpdate:()=>{},revertToEmbedded:()=>{},isCurrentlyRunningPullRequestDeployment:!1,currentChannel:”web-build”,pending:!1};let i,l;e[0]!==s||e[1]!==t||e[2]!==r||e[3]!==o?(i=()=>{if(t){if(Uo===t)return;(async e=>{os.isIOS&&await Rs.dismissBrowser().catch(Wo);const t=zo.Referrer.getReferrerInfo();t&&”bsky.app”!==t.hostname&&vt.logger.metric(“deepLink:referrerReceived”,{to:e,referrer:t?.referrer,hostname:t?.hostname});const n=(0,Do.parseLinkingUrl)(e),[,a,i]=n.pathname.split(“/”),l=”intent”===a,c=n.searchParams;if(l)switch(i){case”compose”:return void s({text:c.get(“text”),imageUrisStr:c.get(“imageUris”),videoUri:c.get(“videoUri”)});case”verify-email”:{const e=c.get(“code”);if(!e)return;return void o(e)}case”age-assurance”:default:return;case”apply-ota”:{const e=c.get(“channel”);e?r(e):Is.default.alert(“Error”,”No channel provided to look for.”)}}})(t),Uo=t}},e[0]=s,e[1]=t,e[2]=r,e[3]=o,e[4]=i):i=e[4],e[5]!==s||e[6]!==n||e[7]!==t||e[8]!==r||e[9]!==o?(l=[t,s,o,n,r],e[5]=s,e[6]=n,e[7]=t,e[8]=r,e[9]=o,e[10]=l):l=e[10],ct.useEffect(i,l)}function Wo(){}function qo(e){const[t,s,o]=e.split(“|”);return{uri:t,width:Number(s),height:Number(o)}}function Qo(e){return!e.includes(“https://”)&&!e.includes(“http://”)&&Vo.test(e)}var Ko=o(96080);var Zo=o(68922),Yo=o(41711),$o=o(12062),Xo=o(64486),Jo=o(47741),en=o(69883),tn=o(94929),sn=o(17990);const on=(0,kt.createHitslop)(16),nn=Ts.default.create({root:{alignItems:”flex-end”,pointerEvents:”box-none”},closeButton:{marginRight:10,marginTop:10,width:44,height:44,alignItems:”center”,justifyContent:”center”,borderRadius:22,backgroundColor:”#00000077″},blurredBackground:{backdropFilter:”blur(10px)”,WebkitBackdropFilter:”blur(10px)”}}),an=e=>{const t=(0,a.c)(10),{onRequestClose:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[nn.closeButton,nn.blurredBackground],t[0]=n):n=t[0],t[1]!==o?(r=o({id:”47L1V1″}),t[1]=o,t[2]=r):r=t[2],t[3]!==o?(i=o({id:”w2dOBm”}),t[3]=o,t[4]=i):i=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,bt.jsx)(Xo.FontAwesomeIcon,{icon:”close”,color:”#fff”,size:22}),t[5]=l):l=t[5],t[6]!==s||t[7]!==r||t[8]!==i?(c=(0,bt.jsx)(sn.SafeAreaView,{style:nn.root,children:(0,bt.jsx)($o.default,{style:n,onPress:s,hitSlop:on,accessibilityRole:”button”,accessibilityLabel:r,accessibilityHint:i,onAccessibilityEscape:s,children:l})}),t[6]=s,t[7]=r,t[8]=i,t[9]=c):c=t[9],c};function rn(){const e=(0,a.c)(5),{activeLightbox:t}=(0,Ht.useLightbox)(),{closeLightbox:s}=(0,Ht.useLightboxControls)();if(!!!t)return null;const o=t.index,n=t.images;let r,i;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,bt.jsx)(As.RemoveScrollBar,{}),e[0]=r):r=e[0],e[1]!==s||e[2]!==n||e[3]!==o?(i=(0,bt.jsxs)(bt.Fragment,{children:[r,(0,bt.jsx)(ln,{imgs:n,initialIndex:o,onClose:s})]}),e[1]=s,e[2]=n,e[3]=o,e[4]=i):i=e[4],i}function ln(e){const t=(0,a.c)(42),{imgs:s,initialIndex:o,onClose:n}=e,r=void 0===o?0:o,{_:i}=(0,ut.useLingui)(),[l,c]=(0,ct.useState)(r),[d,u]=(0,ct.useState)(!1),m=l>=1,h=l{m&&c(l-1)},t[0]=m,t[1]=l,t[2]=p):p=t[2];const f=p;let g;t[3]!==h||t[4]!==l?(g=()=>{h&&c(l+1)},t[3]=h,t[4]=l,t[5]=g):g=t[5];const x=g;let _;t[6]!==n||t[7]!==f||t[8]!==x?(_=e=>{“Escape”===e.key?(e.preventDefault(),n()):”ArrowLeft”===e.key?f():”ArrowRight”===e.key&&x()},t[6]=n,t[7]=f,t[8]=x,t[9]=_):_=t[9];const y=_;let b,j;t[10]!==y?(b=()=>(window.addEventListener(“keydown”,y),()=>window.removeEventListener(“keydown”,y)),j=[y],t[10]=y,t[11]=b,t[12]=j):(b=t[11],j=t[12]),(0,ct.useEffect)(b,j);const{isTabletOrDesktop:v}=(0,Jo.useWebMediaQueries)(),S=v?cn.btnTablet:cn.btnMobile,w=v?32:24,T=s[l],k=”circle-avi”===T.type||”rect-avi”===T.type;let C,P,A,I,L,R,E;return t[13]!==i?(C=i({id:”l49ujN”}),t[13]=i,t[14]=C):C=t[14],t[15]!==i?(P=i({id:”iKpwmj”}),t[15]=i,t[16]=P):P=t[16],t[17]!==i||t[18]!==S||t[19]!==m||t[20]!==h||t[21]!==w||t[22]!==T||t[23]!==k||t[24]!==f||t[25]!==x?(A=k?(0,bt.jsx)(Cs.default,{style:cn.aviCenterer,children:(0,bt.jsx)(“img”,{src:T.uri,style:Object.assign({},cn.avi,{borderRadius:”circle-avi”===T.type?”50%”:”rect-avi”===T.type?”10%”:0}),alt:T.alt})}):(0,bt.jsxs)(Cs.default,{style:cn.imageCenterer,children:[(0,bt.jsx)(Zo.default,{accessibilityIgnoresInvertColors:!0,source:T,style:cn.image,accessibilityLabel:T.alt,accessibilityHint:””}),m&&(0,bt.jsx)($o.default,{onPress:f,style:[cn.btn,S,cn.leftBtn,cn.blurredBackground],accessibilityRole:”button”,accessibilityLabel:i({id:”MHk+7g”}),accessibilityHint:””,children:(0,bt.jsx)(Xo.FontAwesomeIcon,{icon:”angle-left”,style:cn.icon,size:w})}),h&&(0,bt.jsx)($o.default,{onPress:x,style:[cn.btn,S,cn.rightBtn,cn.blurredBackground],accessibilityRole:”button”,accessibilityLabel:i({id:”EatZYJ”}),accessibilityHint:””,children:(0,bt.jsx)(Xo.FontAwesomeIcon,{icon:”angle-right”,style:cn.icon,size:w})})]}),t[17]=i,t[18]=S,t[19]=m,t[20]=h,t[21]=w,t[22]=T,t[23]=k,t[24]=f,t[25]=x,t[26]=A):A=t[26],t[27]!==n||t[28]!==C||t[29]!==P||t[30]!==A?(I=(0,bt.jsx)(ks.default,{onPress:n,accessibilityRole:”button”,accessibilityLabel:C,accessibilityHint:P,onAccessibilityEscape:n,children:A}),t[27]=n,t[28]=C,t[29]=P,t[30]=A,t[31]=I):I=t[31],t[32]!==i||t[33]!==T.alt||t[34]!==d?(L=T.alt?(0,bt.jsx)(Cs.default,{style:cn.footer,children:(0,bt.jsx)(Yo.default,{accessibilityLabel:i({id:”0PkE20″}),accessibilityHint:i({id:”+2Y2GY”}),onPress:()=>{u(!d)},children:(0,bt.jsx)(tn.Text,{style:en.s.white,numberOfLines:d?0:3,ellipsizeMode:”tail”,children:T.alt})})}):null,t[32]=i,t[33]=T.alt,t[34]=d,t[35]=L):L=t[35],t[36]!==n?(R=(0,bt.jsx)(Cs.default,{style:cn.closeBtn,children:(0,bt.jsx)(an,{onRequestClose:n})}),t[36]=n,t[37]=R):R=t[37],t[38]!==I||t[39]!==L||t[40]!==R?(E=(0,bt.jsxs)(Cs.default,{style:cn.mask,children:[I,L,R]}),t[38]=I,t[39]=L,t[40]=R,t[41]=E):E=t[41],E}const cn=Ts.default.create({mask:{position:”fixed”,top:0,left:0,width:”100%”,height:”100%”,backgroundColor:”#000c”},imageCenterer:{flex:1,alignItems:”center”,justifyContent:”center”},image:{width:”100%”,height:”100%”,resizeMode:”contain”},aviCenterer:{flex:1,alignItems:”center”,justifyContent:”center”},avi:{maxWidth:”calc(min(400px, 100vw))”,maxHeight:”calc(min(400px, 100vh))”,padding:16,boxSizing:”border-box”},icon:{color:en.colors.white},closeBtn:{position:”absolute”,top:10,right:10},btn:{position:”absolute”,backgroundColor:”#00000077″,justifyContent:”center”,alignItems:”center”},btnTablet:{width:50,height:50,borderRadius:25,left:30,right:30},btnMobile:{width:44,height:44,borderRadius:22,left:20,right:20},leftBtn:{right:”auto”,top:”50%”},rightBtn:{left:”auto”,top:”50%”},footer:{paddingHorizontal:32,paddingVertical:24,backgroundColor:en.colors.black},blurredBackground:{backdropFilter:”blur(10px)”,WebkitBackdropFilter:”blur(10px)”}});var dn=o(61551),un=o(32129),mn=o(45473),hn=o(16367),pn=o(98285),fn=o(8347),gn=o(75632),xn=o(52413),_n=o(66894),yn=o(86832);function bn(){const[t,s]=(0,ct.useState)(null),{_:o}=(0,ut.useLingui)(),{resumeSession:n}=(0,Lt.useSessionApi)(),{requestSwitchToAccount:a}=ps();return{onPressSwitchAccount:(0,ct.useCallback)((async(r,i)=>{if(!t)try{s(r.did),r.accessJwt?(os.isWeb&&history.pushState(null,””,”/”),await n(r,!0),(0,ht.logEvent)(“account:loggedIn”,{logContext:i,withPassword:!1}),ws.show(o({id:”Dx1GST”,values:{0:r.handle}}))):(a({requestedAccount:r.did}),ws.show(o({id:”G3Hyy1″,values:{0:r.handle}}),”circle-exclamation”))}catch(e){vt.logger.error(“switch account: selectAccount failed”,{message:e.message}),a({requestedAccount:r.did}),ws.show(o({id:”G3Hyy1″,values:{0:r.handle}}),”circle-exclamation”)}finally{s(null)}}),[o,n,a,t]),pendingDid:t}}function jn(e,t){return”dark”===(0,pt.useTheme)().colorScheme?t:e}var vn=o(25006),Sn=(o(54685),o(54545),o(3917),o(47654),o(32548),o(66949)),wn=o(18102),Tn=o(27321),kn=o(21560),Cn=o(1822),Pn=o(95032);let An;function In(e){An=e}function Ln(e){if(null==e.request.trigger||”object”!==typeof e.request.trigger||!(“type”in e.request.trigger)||”push”!==e.request.trigger.type)return null;const t=os.isIOS?e.request.trigger.payload:e.request.content.data;return t&&t.reason?t:(t&&Tn.logger.debug(“getNotificationPayload: received unknown payload”,{payload:t,identifier:e.request.identifier}),null)}function Rn(e){switch(e?.reason){case”like”:case”repost”:case”like-via-repost”:case”repost-via-repost”:{const t=new Sn.AtUri(e.subject);return”app.bsky.feed.post”===t.collection?`/profile/${t.host}/post/${t.rkey}`:”/notifications”}case”reply”:case”quote”:case”mention”:case”subscribed-post”:{const t=new Sn.AtUri(e.uri);return”app.bsky.feed.post”===t.collection?`/profile/${t.host}/post/${t.rkey}`:”/notifications”}case”follow”:case”starterpack-joined”:return`/profile/${new Sn.AtUri(e.uri).host}`;case”chat-message”:default:return null;case”verified”:case”unverified”:return”/notifications”}}var En=o(57508);function Dn(){return{scrollYs:new Map,focusedKey:null}}function Bn(e){if(!e)return{name:”Home”};let t=e.routes[e.index||0];for(;t.state?.routes&&”number”===typeof t.state?.index;)t=t.state?.routes[t.state?.index];return t}function Mn(e,t){return e===t||e===`${t}Tab`||e===`${t}Inner`}”scrollRestoration”in history&&(history.scrollRestoration=”manual”);let On=function(e){return e[e.InsideAtRoot=0]=”InsideAtRoot”,e[e.Inside=1]=”Inside”,e[e.Outside=2]=”Outside”,e}({});function Fn(e,t){if(!e)return On.Outside;return Mn(Bn(e).name,t)?On.InsideAtRoot:Mn(e.routes[e.index||0].name,t)?On.Inside:On.Outside}function Nn(e,t,s,o=[]){return”Flat”===e?{routes:[{name:t,params:s}]}:{routes:[{name:e,state:{routes:[…o,{name:t,params:s}]}}]}}function Hn(e,t){return`${t?`(${t}) `:””}${e} \u2014 Bluesky`}var zn=o(51833),Vn=o(63366),Un=o(44621),Gn=o(45146),Wn=o(98539);const qn=e=>{1!==e.button||e.target.closest(“a”)||”A”===e.target.tagName||e.target.dispatchEvent(new MouseEvent(“click”,{metaKey:!0,bubbles:!0}))},Qn=e=>{1===e.button&&e.preventDefault()};function Kn(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,bt.jsx)(“div”,{onMouseDown:Qn,onMouseUp:qn,children:s}),t[0]=s,t[1]=o):o=t[1],o}var Zn=o(1814);const Yn=[“children”,”style”,”hoverStyle”],$n=(0,ct.forwardRef)((function(e,t){const s=(0,a.c)(16);let o,n,r,i;if(s[0]!==e){var l=e;({children:o,style:i,hoverStyle:n}=l),r=(0,Vn.default)(l,Yn),s[0]=e,s[1]=o,s[2]=n,s[3]=r,s[4]=i}else o=s[1],n=s[2],r=s[3],i=s[4];const{state:c,onIn:d,onOut:u}=(0,Zn.useInteractionState)();let m,h;return s[5]!==n||s[6]!==c||s[7]!==i?(m=”function”!==typeof i&&c?(0,en.addStyle)(i,n):i,s[5]=n,s[6]=c,s[7]=i,s[8]=m):m=s[8],s[9]!==o||s[10]!==d||s[11]!==u||s[12]!==r||s[13]!==t||s[14]!==m?(h=(0,bt.jsx)(Yo.default,Object.assign({},r,{style:m,onHoverIn:d,onHoverOut:u,ref:t,children:o})),s[9]=o,s[10]=d,s[11]=u,s[12]=r,s[13]=t,s[14]=m,s[15]=h):h=s[15],h})),Xn=[“testID”,”style”,”href”,”title”,”children”,”noFeedback”,”asAnchor”,”accessible”,”anchorNoUnderline”,”navigationAction”,”onBeforePress”,”accessibilityActions”,”onAccessibilityAction”,”dataSet”],Jn=[“testID”,”type”,”style”,”href”,”text”,”numberOfLines”,”lineHeight”,”dataSet”,”title”,”onPress”,”onBeforePress”,”disableMismatchWarning”,”navigationAction”,”anchorNoUnderline”],ea=[“testID”,”type”,”style”,”href”,”text”,”numberOfLines”,”lineHeight”,”navigationAction”,”disableMismatchWarning”,”onBeforePress”],ta=(0,ct.memo)((function(e){const t=(0,a.c)(72);let s,o,n,r,i,l,c,d,u,m,h,p,f,g,x;if(t[0]!==e){var _=e;({testID:g,style:f,href:c,title:x,children:i,noFeedback:u,asAnchor:r,accessible:o,anchorNoUnderline:n,navigationAction:d,onBeforePress:h,accessibilityActions:s,onAccessibilityAction:m,dataSet:l}=_),p=(0,Vn.default)(_,Xn),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l,t[7]=c,t[8]=d,t[9]=u,t[10]=m,t[11]=h,t[12]=p,t[13]=f,t[14]=g,t[15]=x}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6],c=t[7],d=t[8],u=t[9],m=t[10],h=t[11],p=t[12],f=t[13],g=t[14],x=t[15];const y=(0,Bs.useTheme)(),{closeModal:b}=(0,Zt.useModalControls)(),j=(0,Gn.useNavigationDeduped)();let v;t[16]!==r||t[17]!==c?(v=r?(0,Un.sanitizeUrl)(c):void 0,t[16]=r,t[17]=c,t[18]=v):v=t[18];const S=v,w=(0,Wn.useOpenLink)();let T;t[19]!==b||t[20]!==c||t[21]!==j||t[22]!==d||t[23]!==h||t[24]!==w?(T=e=>{if(h?.(),”string”===typeof c)return na(b,j,(0,Un.sanitizeUrl)(c),d,w,e)},t[19]=b,t[20]=c,t[21]=j,t[22]=d,t[23]=h,t[24]=w,t[25]=T):T=t[25];const k=T;let C,P,A;t[26]!==s?(C=s||[],t[26]=s,t[27]=C):C=t[27],t[28]!==x?(P={name:”activate”,label:x},t[28]=x,t[29]=P):P=t[29],t[30]!==C||t[31]!==P?(A=[…C,P],t[30]=C,t[31]=P,t[32]=A):A=t[32];const I=A;let L;t[33]!==n||t[34]!==l?(L=n?Object.assign({},l,{noUnderline:1}):l,t[33]=n,t[34]=l,t[35]=L):L=t[35];const R=L;if(u){let e,s,n,a,r;return t[36]!==m||t[37]!==k?(e=e=>{“activate”===e.nativeEvent.actionName?k():m?.(e)},t[36]=m,t[37]=k,t[38]=e):e=t[38],t[39]!==y.atoms.bg_contrast_25.backgroundColor?(s={color:y.atoms.bg_contrast_25.backgroundColor},t[39]=y.atoms.bg_contrast_25.backgroundColor,t[40]=s):s=t[40],t[41]!==i||t[42]!==x?(n=i||(0,bt.jsx)(tn.Text,{children:x||”link”}),t[41]=i,t[42]=x,t[43]=n):n=t[43],t[44]!==S||t[45]!==f||t[46]!==n?(a=(0,bt.jsx)(Cs.default,{style:f,href:S,children:n}),t[44]=S,t[45]=f,t[46]=n,t[47]=a):a=t[47],t[48]!==I||t[49]!==o||t[50]!==R||t[51]!==k||t[52]!==p||t[53]!==a||t[54]!==e||t[55]!==s||t[56]!==g?(r=(0,bt.jsx)(Kn,{children:(0,bt.jsx)(Yo.default,Object.assign({testID:g,onPress:k,accessible:o,accessibilityRole:”link”,accessibilityActions:I,onAccessibilityAction:e,dataSet:R},p,{android_ripple:s,unstable_pressDelay:os.isAndroid?90:void 0,children:a}))}),t[48]=I,t[49]=o,t[50]=R,t[51]=k,t[52]=p,t[53]=a,t[54]=e,t[55]=s,t[56]=g,t[57]=r):r=t[57],r}const E=p.hoverStyle?$n:Yo.default,D=p.accessibilityLabel??x;let B,M;return t[58]!==i||t[59]!==x?(B=i||(0,bt.jsx)(tn.Text,{children:x||”link”}),t[58]=i,t[59]=x,t[60]=B):B=t[60],t[61]!==E||t[62]!==o||t[63]!==S||t[64]!==R||t[65]!==k||t[66]!==p||t[67]!==f||t[68]!==D||t[69]!==B||t[70]!==g?(M=(0,bt.jsx)(E,Object.assign({testID:g,style:f,onPress:k,accessible:o,accessibilityRole:”link”,accessibilityLabel:D,accessibilityHint:p.accessibilityHint,href:S,dataSet:R},p,{children:B})),t[61]=E,t[62]=o,t[63]=S,t[64]=R,t[65]=k,t[66]=p,t[67]=f,t[68]=D,t[69]=B,t[70]=g,t[71]=M):M=t[71],M})),sa=(0,ct.memo)((function(e){const t=(0,a.c)(47);let s,o,n,r,i,l,c,d,u,m,h,p,f,g,x;if(t[0]!==e){var _=e;({testID:f,type:p,style:h,href:r,text:g,numberOfLines:c,lineHeight:i,dataSet:o,title:x,onPress:u,onBeforePress:d,disableMismatchWarning:n,navigationAction:l,anchorNoUnderline:s}=_),m=(0,Vn.default)(_,Jn),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l,t[7]=c,t[8]=d,t[9]=u,t[10]=m,t[11]=h,t[12]=p,t[13]=f,t[14]=g,t[15]=x}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6],c=t[7],d=t[8],u=t[9],m=t[10],h=t[11],p=t[12],f=t[13],g=t[14],x=t[15];const y=void 0===p?”md”:p,b=(0,Gn.useNavigationDeduped)(),{closeModal:j}=(0,Zt.useModalControls)(),{linkWarningDialogControl:v}=(0,Os.useGlobalDialogsControlContext)(),S=(0,Wn.useOpenLink)();let w;t[16]!==s||t[17]!==o?(w=s?Object.assign({},o,{noUnderline:1}):o,t[16]=s,t[17]=o,t[18]=w):w=t[18];const T=w;let k;t[19]!==j||t[20]!==n||t[21]!==r||t[22]!==v||t[23]!==b||t[24]!==l||t[25]!==d||t[26]!==u||t[27]!==S||t[28]!==g?(k=e=>{if(!n&&(0,Ct.linkRequiresWarning)(r,”string”===typeof g?g:””)&&(e?.preventDefault?.(),v.open({displayText:”string”===typeof g?g:””,href:r})),!os.isWeb||”#”===r||null==e||!function(e){const t=e.currentTarget,s=t.getAttribute(“target”);return s&&”_self”!==s||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e))return d?.(),u?(e?.preventDefault?.(),u()):na(j,b,(0,Un.sanitizeUrl)(r),l,S,e)},t[19]=j,t[20]=n,t[21]=r,t[22]=v,t[23]=b,t[24]=l,t[25]=d,t[26]=u,t[27]=S,t[28]=g,t[29]=k):k=t[29];const C=k;let P;e:{if((0,Ct.isExternalUrl)(r)){let e;t[30]===Symbol.for(“react.memo_cache_sentinel”)?(e={target:”_blank”},t[30]=e):e=t[30],P=e;break e}let e;t[31]===Symbol.for(“react.memo_cache_sentinel”)?(e={},t[31]=e):e=t[31],P=e}const A=P;let I,L;return t[32]!==r?(I=(0,Ct.convertBskyAppUrlIfNeeded)((0,Un.sanitizeUrl)(r)),t[32]=r,t[33]=I):I=t[33],t[34]!==T||t[35]!==A||t[36]!==i||t[37]!==c||t[38]!==C||t[39]!==m||t[40]!==h||t[41]!==I||t[42]!==f||t[43]!==g||t[44]!==x||t[45]!==y?(L=(0,bt.jsx)(tn.Text,Object.assign({testID:f,type:y,style:h,numberOfLines:c,lineHeight:i,dataSet:T,title:x,hrefAttrs:A,onPress:C,accessibilityRole:”link”,href:I},m,{children:g})),t[34]=T,t[35]=A,t[36]=i,t[37]=c,t[38]=C,t[39]=m,t[40]=h,t[41]=I,t[42]=f,t[43]=g,t[44]=x,t[45]=y,t[46]=L):L=t[46],L})),oa=((0,ct.memo)((function(e){const t=(0,a.c)(32);let s,o,n,r,i,l,c,d,u,m,h;if(t[0]!==e){var p=e;({testID:m,type:u,style:d,href:o,text:h,numberOfLines:i,lineHeight:n,navigationAction:r,disableMismatchWarning:s,onBeforePress:l}=p),c=(0,Vn.default)(p,ea),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l,t[7]=c,t[8]=d,t[9]=u,t[10]=m,t[11]=h}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6],c=t[7],d=t[8],u=t[9],m=t[10],h=t[11];const f=void 0===u?”md”:u;if(os.isWeb){let e;return t[12]!==s||t[13]!==o||t[14]!==n||t[15]!==r||t[16]!==i||t[17]!==l||t[18]!==c||t[19]!==d||t[20]!==m||t[21]!==h||t[22]!==f?(e=(0,bt.jsx)(sa,Object.assign({testID:m,type:f,style:d,href:o,text:h,numberOfLines:i,lineHeight:n,title:c.title,navigationAction:r,disableMismatchWarning:s,onBeforePress:l},c)),t[12]=s,t[13]=o,t[14]=n,t[15]=r,t[16]=i,t[17]=l,t[18]=c,t[19]=d,t[20]=m,t[21]=h,t[22]=f,t[23]=e):e=t[23],e}let g;return t[24]!==n||t[25]!==i||t[26]!==c||t[27]!==d||t[28]!==m||t[29]!==h||t[30]!==f?(g=(0,bt.jsx)(tn.Text,Object.assign({testID:m,type:f,style:d,numberOfLines:i,lineHeight:n,title:c.title},c,{children:h})),t[24]=n,t[25]=i,t[26]=c,t[27]=d,t[28]=m,t[29]=h,t[30]=f,t[31]=g):g=t[31],g})),[“/robots.txt”,”/security.txt”,”/.well-known/”]);function na(e=(()=>{}),t,s,o=”push”,n,a){let r=!1;const i=null==a.button||0===a.button,l=1===a.button,c=a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||l;if(a?!a.defaultPrevented&&(i||l)&&[void 0,null,””,”self”].includes(a.currentTarget?.target)&&(a.preventDefault(),r=!0):r=!a||!a.defaultPrevented,r)if(s=(0,Ct.convertBskyAppUrlIfNeeded)(s),c||s.startsWith(“http”)||s.startsWith(“mailto”)||oa.some((e=>s.startsWith(e))))n(s);else{e();const[n,a]=Pn.router.matchPath(s);if(“push”===o)t.dispatch(Ps.StackActions.push(n,a));else if(“replace”===o)t.dispatch(Ps.StackActions.replace(n,a));else{if(“navigate”!==o)throw Error(“Unsupported navigator action.”);Fn(t.getState(),n)===On.InsideAtRoot?(0,Bt.emitSoftReset)():t.navigate(n,a,{pop:!0})}}}var aa=o(82878);const ra=[“style”,”topBorder”],ia=[“contentContainerStyle”,”style”,”contentOffset”,”desktopFixedHeight”],la=[“contentContainerStyle”],ca=ct.forwardRef((function(e,t){const s=(0,a.c)(4);let{style:o,topBorder:n}=e,r=(0,Vn.default)(e,ra);const i=(0,un.usePalette)(“default”),{isMobile:l}=(0,Jo.useWebMediaQueries)(),{centerColumnOffset:c}=(0,Bs.useLayoutBreakpoints)(),{isWithinDialog:d}=(0,Ms.useDialogContext)();let u;return l||(o=(0,en.addStyle)(o,ua.container)),c&&!d&&(o=(0,en.addStyle)(o,ua.containerOffset)),n&&(o=(0,en.addStyle)(o,{borderTopWidth:1}),o=(0,en.addStyle)(o,i.border)),s[0]!==r||s[1]!==t||s[2]!==o?(u=(0,bt.jsx)(Cs.default,Object.assign({ref:t,style:o},r)),s[0]=r,s[1]=t,s[2]=o,s[3]=u):u=s[3],u})),da=(ct.forwardRef((function(e,t){const s=(0,a.c)(10);let{contentContainerStyle:o,style:n,contentOffset:r,desktopFixedHeight:i}=e,l=(0,Vn.default)(e,ia);const{isMobile:c}=(0,Jo.useWebMediaQueries)(),{centerColumnOffset:d}=(0,Bs.useLayoutBreakpoints)(),{isWithinDialog:u}=(0,Ms.useDialogContext)();if(c||(o=(0,en.addStyle)(o,ua.containerScroll)),d&&!u&&(n=(0,en.addStyle)(n,ua.containerOffset)),r&&0!==r?.y&&(n=(0,en.addStyle)(n,{paddingTop:0}),o=(0,en.addStyle)(o,{paddingTop:Math.abs(r.y)})),i){if(“number”===typeof i)n=(0,en.addStyle)(n,{height:`calc(100vh – ${i}px)`});else{let e;s[0]!==n?(e=(0,en.addStyle)(n,ua.fixedHeight),s[0]=n,s[1]=e):e=s[1],n=e}c||(l.dataSet=l.dataSet||{},l.dataSet.stableGutters=”1″)}let m,h;return s[2]!==o?(m=[ua.contentContainer,o],s[2]=o,s[3]=m):m=s[3],s[4]!==r||s[5]!==l||s[6]!==t||s[7]!==n||s[8]!==m?(h=(0,bt.jsx)(dn.default.FlatList,Object.assign({ref:t,contentContainerStyle:m,style:n,contentOffset:r},l)),s[4]=r,s[5]=l,s[6]=t,s[7]=n,s[8]=m,s[9]=h):h=s[9],h})),ct.forwardRef((function(e,t){const s=(0,a.c)(13);let o,n;if(s[0]!==e){var r=e;({contentContainerStyle:o}=r),n=(0,Vn.default)(r,la),s[0]=e,s[1]=o,s[2]=n}else o=s[1],n=s[2];const{isMobile:i}=(0,Jo.useWebMediaQueries)(),{centerColumnOffset:l}=(0,Bs.useLayoutBreakpoints)();if(!i){let e;s[3]!==o?(e=(0,en.addStyle)(o,ua.containerScroll),s[3]=o,s[4]=e):e=s[4],o=e}if(l){let e;s[5]!==o?(e=(0,en.addStyle)(o,ua.containerOffset),s[5]=o,s[6]=e):e=s[6],o=e}let c,d;return s[7]!==o?(c=[ua.contentContainer,o],s[7]=o,s[8]=c):c=s[8],s[9]!==n||s[10]!==t||s[11]!==c?(d=(0,bt.jsx)(dn.default.ScrollView,Object.assign({contentContainerStyle:c,ref:t},n)),s[9]=n,s[10]=t,s[11]=c,s[12]=d):d=s[12],d}))),ua=Ts.default.create({contentContainer:{minHeight:”100vh”},container:{width:”100%”,maxWidth:600,marginLeft:”auto”,marginRight:”auto”},containerOffset:{transform:[{translateX:aa.CENTER_COLUMN_OFFSET}]},containerScroll:{width:”100%”,maxWidth:600,marginLeft:”auto”,marginRight:”auto”},fixedHeight:{height:”100vh”}});function ma(e){const t=(0,a.c)(10),{title:s,renderButton:o}=e;let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,bt.jsx)(aa.Header.BackButton,{}),t[0]=n):n=t[0],t[1]!==s?(r=(0,bt.jsx)(aa.Header.Content,{children:(0,bt.jsx)(aa.Header.TitleText,{children:s})}),t[1]=s,t[2]=r):r=t[2],t[3]!==o?(i=o?.()??null,t[3]=o,t[4]=i):i=t[4],t[5]!==i?(l=(0,bt.jsx)(aa.Header.Slot,{children:i}),t[5]=i,t[6]=l):l=t[6],t[7]!==r||t[8]!==l?(c=(0,bt.jsxs)(aa.Header.Outer,{children:[n,r,l]}),t[7]=r,t[8]=l,t[9]=c):c=t[9],c}const ha=e=>{const t=(0,a.c)(21),s=(0,un.usePalette)(“default”),{_:o}=(0,ut.useLingui)(),n=(0,ts.useSetMinimalShellMode)();let r,i,l,c,d,u,m,h,p,f;return t[0]!==n?(r=()=>{n(!1)},t[0]=n,t[1]=r):r=t[1],(0,Ps.useFocusEffect)(r),t[2]!==o?(i=o({id:”KHzDTk”}),t[2]=o,t[3]=i):i=t[3],t[4]!==i?(l=(0,bt.jsx)(ma,{title:i}),t[4]=i,t[5]=l):l=t[5],t[6]!==s.view?(c=[en.s.hContentRegion,s.view],t[6]=s.view,t[7]=c):c=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(d=[en.s.p20],t[8]=d):d=t[8],t[9]!==s.link?(u=(0,bt.jsx)(ut.Trans,{id:”o4M2MP”,components:{0:(0,bt.jsx)(sa,{style:s.link,href:”https://bsky.social/about/support/community-guidelines”,text:”bsky.social/about/support/community-guidelines”})}}),t[9]=s.link,t[10]=u):u=t[10],t[11]!==s.text||t[12]!==u?(m=(0,bt.jsx)(Cs.default,{style:d,children:(0,bt.jsx)(tn.Text,{style:s.text,children:u})}),t[11]=s.text,t[12]=u,t[13]=m):m=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,bt.jsx)(Cs.default,{style:en.s.footerSpacer}),t[14]=h):h=t[14],t[15]!==c||t[16]!==m?(p=(0,bt.jsxs)(da,{style:c,children:[m,h]}),t[15]=c,t[16]=m,t[17]=p):p=t[17],t[18]!==l||t[19]!==p?(f=(0,bt.jsxs)(aa.Screen,{children:[l,p]}),t[18]=l,t[19]=p,t[20]=f):f=t[20],f},pa=e=>{const t=(0,a.c)(21),s=(0,un.usePalette)(“default”),{_:o}=(0,ut.useLingui)(),n=(0,ts.useSetMinimalShellMode)();let r,i,l,c,d,u,m,h,p,f;return t[0]!==n?(r=()=>{n(!1)},t[0]=n,t[1]=r):r=t[1],(0,Ps.useFocusEffect)(r),t[2]!==o?(i=o({id:”u40k/o”}),t[2]=o,t[3]=i):i=t[3],t[4]!==i?(l=(0,bt.jsx)(ma,{title:i}),t[4]=i,t[5]=l):l=t[5],t[6]!==s.view?(c=[en.s.hContentRegion,s.view],t[6]=s.view,t[7]=c):c=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(d=[en.s.p20],t[8]=d):d=t[8],t[9]!==s.link?(u=(0,bt.jsx)(ut.Trans,{id:”U42lKc”,components:{0:(0,bt.jsx)(sa,{style:s.link,href:”https://bsky.social/about/support/copyright”,text:”bsky.social/about/support/copyright”})}}),t[9]=s.link,t[10]=u):u=t[10],t[11]!==s.text||t[12]!==u?(m=(0,bt.jsx)(Cs.default,{style:d,children:(0,bt.jsx)(tn.Text,{style:s.text,children:u})}),t[11]=s.text,t[12]=u,t[13]=m):m=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,bt.jsx)(Cs.default,{style:en.s.footerSpacer}),t[14]=h):h=t[14],t[15]!==c||t[16]!==m?(p=(0,bt.jsxs)(da,{style:c,children:[m,h]}),t[15]=c,t[16]=m,t[17]=p):p=t[17],t[18]!==l||t[19]!==p?(f=(0,bt.jsxs)(aa.Screen,{children:[l,p]}),t[18]=l,t[19]=p,t[20]=f):f=t[20],f};var fa=o(71286),ga=o(14551),xa=o(92696),_a=o(33387),ya=o(6831),ba=o(93859);function ja(){const e=(0,Wn.useOpenLink)();return(0,ct.useCallback)((async(t,s)=>{const o=(0,gt.getTranslatorLink)(t,s);if(os.isAndroid)try{if(!await ba.getApplicationIconAsync(“com.google.android.apps.translate”))throw new Error(“Translate app not installed”);await ba.startActivityAsync(“android.intent.action.PROCESS_TEXT”,{type:”text/plain”,extra:{“android.intent.extra.PROCESS_TEXT”:t,”android.intent.extra.PROCESS_TEXT_READONLY”:!0}})}catch(n){0,await e(o)}else await e(o)}),[e])}var va=o(35938),Sa=o(21605),wa=o(56947),Ta=o(88972),ka=o(28965),Ca=o(56436),Pa=o(43549),Aa=o(8364),Ia=o.n(Aa),La=o(96597),Ra=o(89913),Ea=o(77625),Da=o.n(Ea),Ba=o(49119),Ma=o(48833);async function Oa(e,t=100){let s,o=[];for(let n=0;n[Fa,e];function Ha(e){const t=(0,a.c)(7),{currentAccount:s}=(0,Lt.useSession)(),o=(0,Lt.useAgent)();let n,r;return t[0]!==e?(n=Na(e),t[0]=e,t[1]=n):n=t[1],t[2]!==o||t[3]!==s||t[4]!==e||t[5]!==n?(r={staleTime:Pt.STALE.MINUTES.ONE,queryKey:n,async queryFn(){const t=[],n=[Oa((e=>o.app.bsky.graph.getLists({actor:s.did,cursor:e,limit:50}).then(Ua)))];”all-including-subscribed”!==e&&”mod”!==e||(n.push(Oa((e=>o.app.bsky.graph.getListMutes({cursor:e,limit:50}).then(Va)))),n.push(Oa((e=>o.app.bsky.graph.getListBlocks({cursor:e,limit:50}).then(za)))));const a=await Promise.all(n);for(const s of a)for(const o of s)”curate”===e&&”app.bsky.graph.defs#curatelist”!==o.purpose||”mod”===e&&”app.bsky.graph.defs#modlist”!==o.purpose||t.find((e=>e.uri===o.uri))||t.push(o);return t},enabled:!!s},t[2]=o,t[3]=s,t[4]=e,t[5]=n,t[6]=r):r=t[6],(0,Fs.useQuery)(r)}function za(e){return{cursor:e.data.cursor,items:e.data.lists}}function Va(e){return{cursor:e.data.cursor,items:e.data.lists}}function Ua(e){return{cursor:e.data.cursor,items:e.data.lists}}function Ga(e,t){t?e.invalidateQueries({queryKey:Na(t)}):e.invalidateQueries({queryKey:[Fa]})}const Wa=30,qa=”profile-lists”,Qa=e=>[qa,e];function Ka(e){return e.cursor}const Za=”list”,Ya=e=>[Za,e];function $a(e){return”string”===typeof e?.data?.list.uri}function Xa(e){return!e?.success}function Ja(e){const t=new Sn.AtUri(e);return{$type:”com.atproto.repo.applyWrites#delete”,collection:t.collection,rkey:t.rkey}}function er(e){return e.uri}function tr(){const e=(0,a.c)(5),t=(0,wn.useQueryClient)(),s=(0,Lt.useAgent)();let o,n;return e[0]!==s?(o=async e=>{const{uri:t,mute:o}=e;o?await s.muteModList(t):await s.unmuteModList(t),await or(s,t,(e=>Boolean(e?.data.list.viewer?.muted)===o))},e[0]=s,e[1]=o):o=e[1],e[2]!==t||e[3]!==o?(n={mutationFn:o,onSuccess(e,s){t.invalidateQueries({queryKey:Ya(s.uri)})}},e[2]=t,e[3]=o,e[4]=n):n=e[4],(0,no.useMutation)(n)}function sr(){const e=(0,a.c)(5),t=(0,wn.useQueryClient)(),s=(0,Lt.useAgent)();let o,n;return e[0]!==s?(o=async e=>{const{uri:t,block:o}=e;o?await s.blockModList(t):await s.unblockModList(t),await or(s,t,(e=>o?”string”===typeof e?.data.list.viewer?.blocked:!e?.data.list.viewer?.blocked))},e[0]=s,e[1]=o):o=e[1],e[2]!==t||e[3]!==o?(n={mutationFn:o,onSuccess(e,s){t.invalidateQueries({queryKey:Ya(s.uri)})}},e[2]=t,e[3]=o,e[4]=n):n=e[4],(0,no.useMutation)(n)}async function or(e,t,s){await(0,Ma.until)(5,1e3,s,(()=>e.app.bsky.graph.getList({list:t,limit:1})))}var nr=o(86623),ar=o(77388);const rr=({uri:e})=>[“getFeedSourceInfo”,e],ir={feed:”app.bsky.feed.generator”,list:”app.bsky.graph.list”};function lr(e){const t=new Sn.AtUri(e.uri),s=”app.bsky.feed.generator”===t.collection?”feed”:”lists”,o=`/profile/${t.hostname}/${s}/${t.rkey}`,n=Pn.router.matchPath(o);return{type:”feed”,view:e,uri:e.uri,feedDescriptor:`feedgen|${e.uri}`,cid:e.cid,route:{href:o,name:n[0],params:n[1]},avatar:e.avatar,displayName:e.displayName?(0,Sa.sanitizeDisplayName)(e.displayName):`Feed by ${(0,wa.sanitizeHandle)(e.creator.handle,”@”)}`,description:new Sn.RichText({text:e.description||””,facets:(e.descriptionFacets||[])?.slice()}),creatorDid:e.creator.did,creatorHandle:e.creator.handle,likeCount:e.likeCount,acceptsInteractions:e.acceptsInteractions,likeUri:e.viewer?.like,contentMode:e.contentMode}}function cr(e){const t=new Sn.AtUri(e.uri),s=”app.bsky.feed.generator”===t.collection?”feed”:”lists”,o=`/profile/${t.hostname}/${s}/${t.rkey}`,n=Pn.router.matchPath(o);return{type:”list”,view:e,uri:e.uri,feedDescriptor:`list|${e.uri}`,route:{href:o,name:n[0],params:n[1]},cid:e.cid,avatar:e.avatar,description:new Sn.RichText({text:e.description||””,facets:(e.descriptionFacets||[])?.slice()}),creatorDid:e.creator.did,creatorHandle:e.creator.handle,displayName:e.name?(0,Sa.sanitizeDisplayName)(e.name):`User List by ${(0,wa.sanitizeHandle)(e.creator.handle,”@”)}`,contentMode:void 0}}function dr(e){const{pathname:t}=new Sn.AtUri(e);return t.includes(ir.feed)?”feed”:”list”}function ur(e){const t=(0,a.c)(11),{uri:s}=e;let o;t[0]!==s?(o=dr(s),t[0]=s,t[1]=o):o=t[1];const n=o,r=(0,Lt.useAgent)();let i,l,c;return t[2]!==s?(i=rr({uri:s}),t[2]=s,t[3]=i):i=t[3],t[4]!==r||t[5]!==n||t[6]!==s?(l=async()=>{let e;if(“feed”===n){e=lr((await r.app.bsky.feed.getFeedGenerator({feed:s})).data.view)}else{e=cr((await r.app.bsky.graph.getList({list:s,limit:1})).data.list)}return e},t[4]=r,t[5]=n,t[6]=s,t[7]=l):l=t[7],t[8]!==i||t[9]!==l?(c={staleTime:Pt.STALE.INFINITY,queryKey:i,queryFn:l},t[8]=i,t[9]=l,t[10]=c):c=t[10],(0,Fs.useQuery)(c)}const mr=[“at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/with-friends”,”at://did:plc:tenurhgjptubkk5zf5qhi3og/app.bsky.feed.generator/mutuals”,”at://did:plc:tenurhgjptubkk5zf5qhi3og/app.bsky.feed.generator/only-posts”,”at://did:plc:wzsilnxf24ehtmmc3gssy5bu/app.bsky.feed.generator/mentions”,”at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.generator/bangers”,”at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/mutuals”,”at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.generator/my-followers”,”at://did:plc:vpkhqolt662uhesyj6nxm7ys/app.bsky.feed.generator/followpics”];function hr(e){const t=(0,a.c)(23),{hasSession:s}=(0,Lt.useSession)(),o=(0,Lt.useAgent)(),n=e?.limit||10,{data:r}=(0,nr.usePreferencesQuery)(),i=(0,wn.useQueryClient)(),l=(0,Xt.useModerationOpts)();let c,d;r?.savedFeeds,t[0]!==r?.savedFeeds?(c=r?.savedFeeds||[],t[0]=r?.savedFeeds,t[1]=c):c=t[1],t[2]!==s||t[3]!==l||t[4]!==c?(d={hasSession:s,savedFeeds:c,moderationOpts:l},t[2]=s,t[3]=l,t[4]=c,t[5]=d):d=t[5];const u=d,m=(0,ct.useRef)(0),h=Boolean(l)&&!1!==e?.enabled;let p,f,g;t[6]!==e?(p=function(e){return[“getPopularFeeds”,e?.limit]}(e),t[6]=e,t[7]=p):p=t[7],t[8]!==o||t[9]!==n||t[10]!==i?(f=async e=>{const{pageParam:t}=e,s=await o.app.bsky.unspecced.getPopularFeedGenerators({limit:n,cursor:t});for(const o of s.data.feeds){const e=lr(o);Ar(i,e)}return s.data},t[8]=o,t[9]=n,t[10]=i,t[11]=f):f=t[11],t[12]!==u?(g=e=>{const{savedFeeds:t,hasSession:s,moderationOpts:o}=u;return Object.assign({},e,{pages:e.pages.map((e=>Object.assign({},e,{feeds:e.feeds.filter((e=>{if(!s&&mr.includes(e.uri))return!1;const n=Boolean(t?.find((t=>t.value===e.uri))),a=(0,Sn.moderateFeedGenerator)(e,o);return!n&&!a.ui(“contentList”).filter}))})))})},t[12]=u,t[13]=g):g=t[13];const x=g;let _;t[14]!==h||t[15]!==p||t[16]!==f||t[17]!==x?(_={enabled:h,queryKey:p,queryFn:f,initialPageParam:void 0,getNextPageParam:pr,select:x},t[14]=h,t[15]=p,t[16]=f,t[17]=x,t[18]=_):_=t[18];const y=(0,La.useInfiniteQuery)(_);let b,j;return t[19]!==n||t[20]!==y?(b=()=>{const{isFetching:e,hasNextPage:t,data:s}=y;if(e||!t)return;if(0!==m.current&&m.current===s?.pages?.length)return;let o=0;for(const n of s?.pages||[])o+=n.feeds.length;o[“popularFeedsSearch”,e];function gr(e){const t=(0,a.c)(10),{query:s,enabled:o}=e,n=(0,Lt.useAgent)(),r=(0,Xt.useModerationOpts)(),i=o??Boolean(r);let l,c,d;return t[0]!==s?(l=fr(s),t[0]=s,t[1]=l):l=t[1],t[2]!==n||t[3]!==s?(c=async()=>(await n.app.bsky.unspecced.getPopularFeedGenerators({limit:15,query:s})).data.feeds,t[2]=n,t[3]=s,t[4]=c):c=t[4],t[5]!==i||t[6]!==r||t[7]!==l||t[8]!==c?(d={enabled:i,queryKey:l,queryFn:c,placeholderData:Ra.keepPreviousData,select:e=>e.filter((e=>!(0,Sn.moderateFeedGenerator)(e,r).ui(“contentMedia”).blur))},t[5]=i,t[6]=r,t[7]=l,t[8]=c,t[9]=d):d=t[9],(0,Fs.useQuery)(d)}const xr={type:”feed”,displayName:”Discover”,uri:kt.DISCOVER_FEED_URI,feedDescriptor:`feedgen|${kt.DISCOVER_FEED_URI}`,route:{href:”/”,name:”Home”,params:{}},cid:””,avatar:””,description:new Sn.RichText({text:””}),creatorDid:””,creatorHandle:””,likeCount:0,likeUri:””,savedFeed:Object.assign({id:”pwi-discover”},kt.DISCOVER_SAVED_FEED),contentMode:void 0},_r=”pinnedFeedsInfos”;function yr(){const e=(0,a.c)(22),{hasSession:t}=(0,Lt.useSession)(),s=(0,Lt.useAgent)(),{data:o,isLoading:n}=(0,nr.usePreferencesQuery)();let r,i,l,c,d,u,m;e[0]!==t||e[1]!==n||e[2]!==o?.savedFeeds?(r=o?.savedFeeds.filter(wr)??[],m=Fs.useQuery,d=Pt.STALE.INFINITY,u=!n,c=_r,i=t?”authed:”:”unauthed:”,l=r.map(Sr).join(“,”),e[0]=t,e[1]=n,e[2]=o?.savedFeeds,e[3]=r,e[4]=i,e[5]=l,e[6]=c,e[7]=d,e[8]=u,e[9]=m):(r=e[3],i=e[4],l=e[5],c=e[6],d=e[7],u=e[8],m=e[9]);const h=i+l;let p,f,g;return e[10]!==c||e[11]!==h?(p=[c,h],e[10]=c,e[11]=h,e[12]=p):p=e[12],e[13]!==s||e[14]!==t||e[15]!==r?(f=async()=>{if(!t)return[xr];const e=new Map,o=r.filter(vr);let n=Promise.resolve();o.length>0&&(n=s.app.bsky.feed.getFeedGenerators({feeds:o.map(jr)}).then((t=>{for(let s=0;ss.app.bsky.graph.getList({list:t.value,limit:1}).then((t=>{const s=t.data.list;e.set(s.uri,cr(s))}))));await n,await Promise.allSettled(a);const i=[];for(const t of r){const s=e.get(t.value);s?i.push(Object.assign({},s,{savedFeed:t})):”timeline”===t.type&&i.push({type:”feed”,displayName:”Following”,uri:t.value,feedDescriptor:”following”,route:{href:”/”,name:”Home”,params:{}},cid:””,avatar:””,description:new Sn.RichText({text:””}),creatorDid:””,creatorHandle:””,likeCount:0,likeUri:””,savedFeed:t,contentMode:void 0})}return i},e[13]=s,e[14]=t,e[15]=r,e[16]=f):f=e[16],e[17]!==d||e[18]!==u||e[19]!==p||e[20]!==f?(g={staleTime:d,enabled:u,queryKey:p,queryFn:f},e[17]=d,e[18]=u,e[19]=p,e[20]=f,e[21]=g):g=e[21],m(g)}function br(e){return”list”===e.type}function jr(e){return e.value}function vr(e){return”feed”===e.type}function Sr(e){return e.value}function wr(e){return e.pinned}function Tr(){const e=(0,a.c)(14),t=(0,Lt.useAgent)(),{data:s,isLoading:o}=(0,nr.usePreferencesQuery)();let n;e[0]!==s?.savedFeeds?(n=s?.savedFeeds??[],e[0]=s?.savedFeeds,e[1]=n):n=e[1];const r=n,i=(0,wn.useQueryClient)(),l=!o;let c,d,u,m;return e[2]!==r?(c=[_r,…r],d=e=>e||{count:r.length,feeds:[]},e[2]=r,e[3]=c,e[4]=d):(c=e[3],d=e[4]),e[5]!==t||e[6]!==i||e[7]!==r?(u=async()=>{const e=new Map,s=new Map,o=r.filter(Pr),n=r.filter(Cr);let a=Promise.resolve();o.length>0&&(a=t.app.bsky.feed.getFeedGenerators({feeds:o.map(kr)}).then((t=>{t.data.feeds.forEach((t=>{e.set(t.uri,t)}))})));const l=n.map((e=>t.app.bsky.graph.getList({list:e.value,limit:1}).then((e=>{const t=e.data.list;s.set(t.uri,t)}))));await Promise.allSettled([a,…l]),e.forEach((e=>{const t=lr(e);Ar(i,t)})),s.forEach((e=>{Ir(i,e)}));const c=[];for(const t of r)if(“timeline”===t.type)c.push({type:”timeline”,config:t,view:void 0});else if(“feed”===t.type){const s=e.get(t.value);s&&c.push({type:”feed”,config:t,view:s})}else if(“list”===t.type){const e=s.get(t.value);e&&c.push({type:”list”,config:t,view:e})}return{count:c.length,feeds:c}},e[5]=t,e[6]=i,e[7]=r,e[8]=u):u=e[8],e[9]!==l||e[10]!==c||e[11]!==d||e[12]!==u?(m={staleTime:Pt.STALE.INFINITY,enabled:l,queryKey:c,placeholderData:d,queryFn:u},e[9]=l,e[10]=c,e[11]=d,e[12]=u,e[13]=m):m=e[13],(0,Fs.useQuery)(m)}function kr(e){return e.value}function Cr(e){return”list”===e.type}function Pr(e){return”feed”===e.type}function Ar(e,t){(0,ar.precacheResolvedUri)(e,t.creatorHandle,t.creatorDid),e.setQueryData(rr({uri:t.uri}),t)}function Ir(e,t){(0,ar.precacheResolvedUri)(e,t.creator.handle,t.creator.did),e.setQueryData(Ya(t.uri),t)}var Lr=o(45458),Rr=o(27963),Er=o(60578);function Dr(e,t,s){return Math.min(s,Math.max(t,e))}function Br(e){const t=void 0===e?0:e,{isTabletOrDesktop:s}=(0,Jo.useWebMediaQueries)(),{bottom:o}=(0,dt.useSafeAreaInsets)();return(os.isWeb&&s?0:Dr(60+o,60,75))+t}const Mr=100;function Or(e){const{minItemHeight:t,screenHeightOffset:s}=void 0===e?{}:e,o=void 0===t?Mr:t,n=void 0===s?0:s,{height:a}=(0,Er.default)(),{top:r}=(0,dt.useSafeAreaInsets)(),i=a-n-r-Br(),l=Math.floor(i/o);return l<1?1:l}var Fr=o(24315),Nr=o(30511),Hr=o(21169),zr=o(2064);const Vr=(0,zr.createSinglePathSVG)({path:"M5.002 17.036V5h14v12.036h-3.986a1 1 0 0 0-.639.23l-2.375 1.968-2.344-1.965a1 1 0 0 0-.643-.233H5.002ZM20.002 3h-16a1 1 0 0 0-1 1v14.036a1 1 0 0 0 1 1h4.65l2.704 2.266a1 1 0 0 0 1.28.004l2.74-2.27h4.626a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-7.878 3.663c-1.39 0-2.5 1.135-2.5 2.515a1 1 0 0 0 2 0c0-.294.232-.515.5-.515a.507.507 0 0 1 .489.6.174.174 0 0 1-.027.048 1.1 1.1 0 0 1-.267.226c-.508.345-1.128.923-1.286 1.978a1 1 0 1 0 1.978.297.762.762 0 0 1 .14-.359c.063-.086.155-.169.293-.262.436-.297 1.18-.885 1.18-2.013 0-1.38-1.11-2.515-2.5-2.515ZM12 15.75a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z"}),Ur=(0,zr.createSinglePathSVG)({path:"M2.002 6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H12.28l-4.762 2.858A1 1 0 0 1 6.002 21v-2h-1a3 3 0 0 1-3-3V6Zm3-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2a1 1 0 0 1 1 1v1.234l3.486-2.092a1 1 0 0 1 .514-.142h7a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-14Z"}),Gr=((0,zr.createSinglePathSVG)({path:"M2.002 7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H12.28l-4.762 2.858A1 1 0 0 1 6.002 21v-2a4 4 0 0 1-4-4V7Zm4-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h1a1 1 0 0 1 1 1v1.234l3.486-2.092a1 1 0 0 1 .514-.142h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-12Z"}),(0,zr.createSinglePathSVG)({path:"M6.002 6a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3h-4.24l-4.274 2.374a1 1 0 0 1-1.486-.874V19a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h1V6Zm-1 3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h1a1 1 0 0 1 1 1v.8l3.015-1.674a1 1 0 0 1 .485-.126h4.5a1 1 0 0 0 1-1v-1.933a1 1 0 0 1 0-.134V10a1 1 0 0 0-1-1h-10Zm13 4v-3a3 3 0 0 0-3-3h-7V6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-1Z"})),Wr=(0,zr.createSinglePathSVG)({viewBox:"0 0 51 46",strokeLinejoin:"round",strokeWidth:2,path:"M49 17c0 15.333-22 26.667-24 26.667S1 32.333 1 17C1 6.333 7.667 1 14.333 1S25 5 25 5s4-4 10.667-4S49 6.333 49 17Z"}),qr=(0,zr.createSinglePathSVG)({path:"M16.734 5.091c-1.238-.276-2.708.047-4.022 1.38a1 1 0 0 1-1.424 0C9.974 5.137 8.504 4.814 7.266 5.09c-1.263.282-2.379 1.206-2.92 2.556C3.33 10.18 4.252 14.84 12 19.348c7.747-4.508 8.67-9.168 7.654-11.7-.541-1.351-1.657-2.275-2.92-2.557Zm4.777 1.812c1.604 4-.494 9.69-9.022 14.47a1 1 0 0 1-.978 0C2.983 16.592.885 10.902 2.49 6.902c.779-1.942 2.414-3.334 4.342-3.764 1.697-.378 3.552.003 5.169 1.286 1.617-1.283 3.472-1.664 5.17-1.286 1.927.43 3.562 1.822 4.34 3.764Z"}),Qr=(0,zr.createSinglePathSVG)({path:"M12.489 21.372c8.528-4.78 10.626-10.47 9.022-14.47-.779-1.941-2.414-3.333-4.342-3.763-1.697-.378-3.552.003-5.169 1.287-1.617-1.284-3.472-1.665-5.17-1.287-1.927.43-3.562 1.822-4.34 3.764-1.605 4 .493 9.69 9.021 14.47a1 1 0 0 0 .978 0Z"}),Kr=(0,zr.createSinglePathSVG)({path:"M3.92 19v-4.153a1 1 0 0 1 1-1H9l.103.005a1 1 0 0 1 0 1.99L9 15.847H7.285c.854.737 1.784 1.38 2.631 1.9.702.431 1.329.769 1.78.997q.162.08.291.143a25.561 25.561 0 0 0 3.67-2.326c2.144-1.642 4.073-3.756 4.315-6.023a1 1 0 0 1 1.988.212c-.336 3.154-2.89 5.717-5.086 7.398a27.6 27.6 0 0 1-4.34 2.704l-.078.038-.021.01-.007.003-.002.001-.001.001a1 1 0 0 1-.827.01v0h-.002l-.004-.002-.013-.006q-.016-.006-.045-.02l-.162-.075a27.39 27.39 0 0 1-2.503-1.361 22 22 0 0 1-2.95-2.143V19a1 1 0 0 1-2 0ZM2 10c0-2.214.696-3.971 1.833-5.184A5.7 5.7 0 0 1 8 3a7.1 7.1 0 0 1 4 1.228A7.117 7.117 0 0 1 16 3c1.231 0 2.452.402 3.469 1.185l.031-1.702a1 1 0 0 1 2 .035l-.081 4.5a1 1 0 0 1-1 .983H16.5a1 1 0 1 1 0-2h2.02A3.68 3.68 0 0 0 16 5a5.12 5.12 0 0 0-3.11 1.053 3 3 0 0 0-.155.129l-.029.025v.002l-.003.002-.072.064a1 1 0 0 1-1.338-.068l-.028-.025a3 3 0 0 0-.155-.13A5.119 5.119 0 0 0 8 5c-.982 0-1.965.392-2.708 1.185C4.554 6.97 4 8.214 4 10q0 .507.099 1.002l.075.328.02.1a1 1 0 0 1-1.925.5l-.03-.097-.102-.446A7 7 0 0 1 2 10Z"}),Zr=((0,zr.createSinglePathSVG)({path:"M16.293 2.293a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414-1.414L17.586 7H5v4a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1h13.586l-1.293-1.293a1 1 0 0 1 0-1.414ZM21 13v5a1 1 0 0 1-1 1H6.414l1.293 1.293a1 1 0 1 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 0 1 1.414 1.414L6.414 17H19v-4a1 1 0 1 1 2 0Z"}),(0,zr.createSinglePathSVG)({path:"M17.957 2.293a1 1 0 1 0-1.414 1.414L17.836 5H6a3 3 0 0 0-3 3v3a1 1 0 1 0 2 0V8a1 1 0 0 1 1-1h11.836l-1.293 1.293a1 1 0 0 0 1.414 1.414l2.47-2.47a1.75 1.75 0 0 0 0-2.474l-2.47-2.47ZM20 12a1 1 0 0 1 1 1v3a3 3 0 0 1-3 3H6.164l1.293 1.293a1 1 0 1 1-1.414 1.414l-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47a1 1 0 0 1 1.414 1.414L6.164 17H18a1 1 0 0 0 1-1v-3a1 1 0 0 1 1-1Z"})),Yr=(0,zr.createSinglePathSVG)({path:"M16.793 2.293a1 1 0 0 1 1.414 0L20.5 4.586a2 2 0 0 1 0 2.828l-2.293 2.293a1 1 0 0 1-1.414-1.414L18.086 7H7a2 2 0 0 0-2 2v2a1 1 0 1 1-2 0V9a4 4 0 0 1 4-4h11.086l-1.293-1.293a1 1 0 0 1 0-1.414ZM20 12a1 1 0 0 1 1 1v2a4 4 0 0 1-4 4H5.914l1.293 1.293a1 1 0 1 1-1.414 1.414L3.5 19.414a2 2 0 0 1 0-2.828l2.293-2.293a1 1 0 0 1 1.414 1.414L5.914 17H17a2 2 0 0 0 2-2v-2a1 1 0 0 1 1-1Z"}),$r=(0,zr.createSinglePathSVG)({path:"M6.043 14.293a1 1 0 1 1 1.414 1.414L5.164 18l2.293 2.293.068.076a1 1 0 0 1-1.406 1.406l-.076-.068-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47Zm6.22 0a1 1 0 0 1 1.414 1.414L12.384 17H18a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-5.616l1.293 1.293.068.076a1 1 0 0 1-1.406 1.406l-.076-.068-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47ZM3 11V8a3 3 0 0 1 3-3h5.586l-1.293-1.293-.068-.076a1 1 0 0 1 1.406-1.406l.076.068 2.47 2.47.12.133a1.75 1.75 0 0 1 0 2.209l-.12.132-2.47 2.47a1 1 0 1 1-1.414-1.414L11.586 7H6a1 1 0 0 0-1 1v3a1 1 0 1 1-2 0Zm13.543-8.707a1 1 0 0 1 1.338-.068l.076.068 2.47 2.47.12.133a1.75 1.75 0 0 1 0 2.209l-.12.132-2.47 2.47a1 1 0 1 1-1.414-1.414L18.836 6l-2.293-2.293-.068-.076a1 1 0 0 1 .068-1.338Z"});function Xr(e){const t=(0,a.c)(7),{width:s,height:o,style:n}=e,r=(0,Bs.useTheme)();let i,l;return t[0]!==o||t[1]!==r.palette.contrast_50||t[2]!==s?(i={width:s,height:o,backgroundColor:r.palette.contrast_50},t[0]=o,t[1]=r.palette.contrast_50,t[2]=s,t[3]=i):i=t[3],t[4]!==n||t[5]!==i?(l=(0,bt.jsx)(Cs.default,{style:[ci.loadingPlaceholder,i,n]}),t[4]=n,t[5]=i,t[6]=l):l=t[6],l}function Jr(e){const t=(0,a.c)(32),{style:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w;return t[0]!==s?(n=[ci.post,s],t[0]=s,t[1]=n):n=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,bt.jsx)(Xr,{width:42,height:42,style:[ci.avatar,{position:"relative",top:-6}]}),t[2]=r):r=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(i=[en.s.flex1],t[3]=i):i=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,bt.jsx)(Xr,{width:100,height:6,style:{marginBottom:10}}),t[4]=l):l=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(c=(0,bt.jsx)(Xr,{width:"95%",height:6,style:{marginBottom:8}}),t[5]=c):c=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,bt.jsx)(Xr,{width:"95%",height:6,style:{marginBottom:8}}),t[6]=d):d=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(u=(0,bt.jsx)(Xr,{width:"80%",height:6,style:{marginBottom:11}}),t[7]=u):u=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(m=[ci.postCtrl,{marginLeft:-6}],t[8]=m):m=t[8],t[9]!==o.palette.contrast_500?(h={color:o.palette.contrast_500},t[9]=o.palette.contrast_500,t[10]=h):h=t[10],t[11]===Symbol.for("react.memo_cache_sentinel")?(p={pointerEvents:"none"},t[11]=p):p=t[11],t[12]!==h?(f=(0,bt.jsx)(Cs.default,{style:m,children:(0,bt.jsx)(Cs.default,{style:ci.postBtn,children:(0,bt.jsx)(Ur,{style:[h,p],width:18})})}),t[12]=h,t[13]=f):f=t[13],t[14]!==o.palette.contrast_500?(g={color:o.palette.contrast_500},t[14]=o.palette.contrast_500,t[15]=g):g=t[15],t[16]===Symbol.for("react.memo_cache_sentinel")?(x={pointerEvents:"none"},t[16]=x):x=t[16],t[17]!==g?(_=(0,bt.jsx)(Cs.default,{style:ci.postCtrl,children:(0,bt.jsx)(Cs.default,{style:ci.postBtn,children:(0,bt.jsx)(Zr,{style:[g,x],width:18})})}),t[17]=g,t[18]=_):_=t[18],t[19]!==o.palette.contrast_500?(y={color:o.palette.contrast_500},t[19]=o.palette.contrast_500,t[20]=y):y=t[20],t[21]===Symbol.for("react.memo_cache_sentinel")?(b={pointerEvents:"none"},t[21]=b):b=t[21],t[22]!==y?(j=(0,bt.jsx)(Cs.default,{style:ci.postCtrl,children:(0,bt.jsx)(Cs.default,{style:ci.postBtn,children:(0,bt.jsx)(qr,{style:[y,b],width:18})})}),t[22]=y,t[23]=j):j=t[23],t[24]===Symbol.for("react.memo_cache_sentinel")?(v=(0,bt.jsx)(Cs.default,{style:ci.postCtrl,children:(0,bt.jsx)(Cs.default,{style:[ci.postBtn,{minHeight:30}]})}),t[24]=v):v=t[24],t[25]!==f||t[26]!==_||t[27]!==j?(S=(0,bt.jsxs)(Cs.default,{style:i,children:[l,c,d,u,(0,bt.jsxs)(Cs.default,{style:ci.postCtrls,children:[f,_,j,v]})]}),t[25]=f,t[26]=_,t[27]=j,t[28]=S):S=t[28],t[29]!==n||t[30]!==S?(w=(0,bt.jsxs)(Cs.default,{style:n,children:[r,S]}),t[29]=n,t[30]=S,t[31]=w):w=t[31],w}function ei(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,bt.jsxs)(Cs.default,{children:[(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{}),(0,bt.jsx)(Jr,{})]}),e[0]=t):t=e[0],t}function ti(e){const t=(0,a.c)(12),{style:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c,d,u,m;return t[0]!==s?(n=[ci.notification,s],t[0]=s,t[1]=n):n=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(r=[{width:60},Bs.atoms.align_end,Bs.atoms.pr_sm,Bs.atoms.pt_2xs],t[2]=r):r=t[2],t[3]!==o.palette.contrast_50?(i=(0,bt.jsx)(Cs.default,{style:r,children:(0,bt.jsx)(Qr,{size:"xl",style:{color:o.palette.contrast_50}})}),t[3]=o.palette.contrast_50,t[4]=i):i=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(l={flex:1},t[5]=l):l=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.flex_row,en.s.mb10],children:(0,bt.jsx)(Xr,{width:35,height:35,style:ci.smallAvatar})}),t[6]=c):c=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(d=(0,bt.jsx)(Xr,{width:"90%",height:6,style:[en.s.mb5]}),t[7]=d):d=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,bt.jsxs)(Cs.default,{style:l,children:[c,d,(0,bt.jsx)(Xr,{width:"70%",height:6,style:[en.s.mb5]})]}),t[8]=u):u=t[8],t[9]!==n||t[10]!==i?(m=(0,bt.jsxs)(Cs.default,{style:n,children:[i,u]}),t[9]=n,t[10]=i,t[11]=m):m=t[11],m}function si(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{}),(0,bt.jsx)(ti,{})]}),e[0]=t):t=e[0],t}function oi(e){const t=(0,a.c)(8),{style:s}=e;let o,n,r,i,l,c;return t[0]!==s?(o=[ci.profileCard,s],t[0]=s,t[1]=o):o=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,bt.jsx)(Xr,{width:40,height:40,style:ci.profileCardAvi}),t[2]=n):n=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,bt.jsx)(Xr,{width:140,height:8,style:[en.s.mb5]}),t[3]=r):r=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,bt.jsx)(Xr,{width:120,height:8,style:[en.s.mb10]}),t[4]=i):i=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,bt.jsxs)(Cs.default,{children:[r,i,(0,bt.jsx)(Xr,{width:220,height:8,style:[en.s.mb5]})]}),t[5]=l):l=t[5],t[6]!==o?(c=(0,bt.jsxs)(Cs.default,{style:o,children:[n,l]}),t[6]=o,t[7]=c):c=t[7],c}function ni(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{}),(0,bt.jsx)(oi,{})]}),e[0]=t):t=e[0],t}function ai(e){const t=(0,a.c)(15),{style:s,showLowerPlaceholder:o,showTopBorder:n}=e,r=void 0===o||o,i=void 0===n||n,l=(0,Bs.useTheme)(),c=i?Ts.default.hairlineWidth:0;let d,u,m,h,p,f,g,x;return t[0]!==c?(d={padding:16,borderTopWidth:c},t[0]=c,t[1]=d):d=t[1],t[2]!==s||t[3]!==l.atoms.border_contrast_low||t[4]!==d?(u=[d,l.atoms.border_contrast_low,s],t[2]=s,t[3]=l.atoms.border_contrast_low,t[4]=d,t[5]=u):u=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(m=[{flexDirection:"row"}],t[6]=m):m=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,bt.jsx)(Xr,{width:36,height:36,style:[ci.avatar,{borderRadius:8}]}),t[7]=h):h=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(p=[en.s.flex1],t[8]=p):p=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(f=(0,bt.jsxs)(Cs.default,{style:m,children:[h,(0,bt.jsxs)(Cs.default,{style:p,children:[(0,bt.jsx)(Xr,{width:100,height:8,style:[en.s.mt5,en.s.mb10]}),(0,bt.jsx)(Xr,{width:120,height:8})]})]}),t[9]=f):f=t[9],t[10]!==r?(g=r&&(0,bt.jsx)(Cs.default,{style:{marginTop:12},children:(0,bt.jsx)(Xr,{width:120,height:8})}),t[10]=r,t[11]=g):g=t[11],t[12]!==g||t[13]!==u?(x=(0,bt.jsxs)(Cs.default,{style:u,children:[f,g]}),t[12]=g,t[13]=u,t[14]=x):x=t[14],x}function ri(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{}),(0,bt.jsx)(ai,{})]}),e[0]=t):t=e[0],t}function ii(e){const t=(0,a.c)(7),{style:s}=e,o=(0,Bs.useTheme)(),n=Math.random();let r,i,l,c;return t[0]!==s||t[1]!==o.atoms.bg?(r=[Bs.atoms.flex_row,Bs.atoms.gap_md,Bs.atoms.px_lg,Bs.atoms.mt_lg,o.atoms.bg,s],t[0]=s,t[1]=o.atoms.bg,t[2]=r):r=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,bt.jsx)(Xr,{width:52,height:52,style:Bs.atoms.rounded_full}),t[3]=i):i=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,bt.jsxs)(Cs.default,{children:[(0,bt.jsx)(Xr,{width:140,height:12,style:Bs.atoms.mt_xs}),(0,bt.jsx)(Xr,{width:120,height:8,style:Bs.atoms.mt_sm}),(0,bt.jsx)(Xr,{width:80+100*n,height:8,style:Bs.atoms.mt_sm})]}),t[4]=l):l=t[4],t[5]!==r?(c=(0,bt.jsxs)(Cs.default,{style:r,children:[i,l]}),t[5]=r,t[6]=c):c=t[6],c}function li(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{}),(0,bt.jsx)(ii,{})]}),e[0]=t):t=e[0],t}const ci=Ts.default.create({loadingPlaceholder:{borderRadius:6},post:{flexDirection:"row",alignItems:"flex-start",paddingHorizontal:10,paddingTop:20,paddingBottom:5,paddingRight:15},postCtrls:{opacity:.5,flexDirection:"row",justifyContent:"space-between"},postCtrl:{flex:1},postBtn:{flex:1,flexDirection:"row",alignItems:"center",padding:5},avatar:{borderRadius:999,marginRight:12},notification:{flexDirection:"row",padding:10},profileCard:{flexDirection:"row",padding:10,margin:1},profileCardAvi:{borderRadius:999,marginRight:10},smallAvatar:{borderRadius:999,marginRight:10}});var di=o(61032);function ui(e){const t=(0,a.c)(11),{label:s,onPress:o}=e,n=(0,un.usePalette)("default"),r=n.textLight;let i,l,c,d;return t[0]!==r?(i=(0,bt.jsx)(Xo.FontAwesomeIcon,{icon:"arrow-rotate-left",style:r,size:18}),t[0]=r,t[1]=i):i=t[1],t[2]!==n.textLight?(l=[n.textLight,mi.label],t[2]=n.textLight,t[3]=l):l=t[3],t[4]!==s||t[5]!==l?(c=(0,bt.jsx)(tn.Text,{style:l,children:s}),t[4]=s,t[5]=l,t[6]=c):c=t[6],t[7]!==o||t[8]!==i||t[9]!==c?(d=(0,bt.jsxs)(di.Button,{type:"default-light",onPress:o,style:mi.loadMoreRetry,children:[i,c]}),t[7]=o,t[8]=i,t[9]=c,t[10]=d):d=t[10],d}const mi=Ts.default.create({loadMoreRetry:{flexDirection:"row",gap:14,alignItems:"center",borderRadius:0,marginTop:1,paddingVertical:12,paddingHorizontal:20},label:{flex:1}});let hi=function(e){return e.NeueTypography="NeueTypography",e.ExploreInterestsCard="ExploreInterestsCard",e.InitialVerificationAnnouncement="InitialVerificationAnnouncement",e.ActivitySubscriptions="ActivitySubscriptions",e.AgeAssuranceDismissibleNotice="AgeAssuranceDismissibleNotice",e.AgeAssuranceDismissibleFeedBanner="AgeAssuranceDismissibleFeedBanner",e.BookmarksAnnouncement="BookmarksAnnouncement",e.FindContactsAnnouncement="FindContactsAnnouncement",e.FindContactsDismissibleBanner="FindContactsDismissibleBanner",e.LiveNowBetaDialog="LiveNowBetaDialog",e.LiveNowBetaNudge="LiveNowBetaNudge",e.PolicyUpdate202508="PolicyUpdate202508",e}({});const pi=new Set(Object.values(hi)),fi={[hi.NeueTypography]:void 0,[hi.ExploreInterestsCard]:void 0,[hi.InitialVerificationAnnouncement]:void 0,[hi.ActivitySubscriptions]:void 0,[hi.AgeAssuranceDismissibleNotice]:void 0,[hi.AgeAssuranceDismissibleFeedBanner]:void 0,[hi.PolicyUpdate202508]:void 0,[hi.BookmarksAnnouncement]:void 0,[hi.FindContactsAnnouncement]:void 0,[hi.FindContactsDismissibleBanner]:void 0,[hi.LiveNowBetaDialog]:void 0,[hi.LiveNowBetaNudge]:void 0},gi=["data"],xi=["data"];function _i(e){if(!pi.has(e.id))return;if(!Sn.nuxSchema.safeParse(e).success)return;const{data:t}=e,s=(0,Vn.default)(e,gi),o=fi[e.id];if(o&&t){const e=JSON.parse(t);if(!o.safeParse(e).success)return;return Object.assign({},s,{data:e})}return Object.assign({},s,{data:void 0})}function yi(){const e=(0,a.c)(10),{data:t,isSuccess:s,isError:o}=(0,nr.usePreferencesQuery)(),n=s?"ready":o?"error":"loading";if("ready"===n){let s;e[0]!==t?.bskyAppState?.nuxs?(s=t?.bskyAppState?.nuxs?.map(_i)?.filter(Boolean),e[0]=t?.bskyAppState?.nuxs,e[1]=s):s=e[1];const o=s;if(o){let t;return e[2]!==o||e[3]!==n?(t={nuxs:o,status:n},e[2]=o,e[3]=n,e[4]=t):t=e[4],t}{let t,s;return e[5]===Symbol.for("react.memo_cache_sentinel")?(t=[],e[5]=t):t=e[5],e[6]!==n?(s={nuxs:t,status:n},e[6]=n,e[7]=s):s=e[7],s}}let r;return e[8]!==n?(r={nuxs:void 0,status:n},e[8]=n,e[9]=r):r=e[9],r}function bi(e){const t=(0,a.c)(12),{nuxs:s,status:o}=yi();if("ready"===o){let n;if(t[0]!==e||t[1]!==s){let o;t[3]!==e?(o=t=>t.id===e,t[3]=e,t[4]=o):o=t[4],n=s.find(o),t[0]=e,t[1]=s,t[2]=n}else n=t[2];if(n){const e=n;let s;return t[5]!==o||t[6]!==e?(s={nux:e,status:o},t[5]=o,t[6]=e,t[7]=s):s=t[7],s}{let e;return t[8]!==o?(e={nux:void 0,status:o},t[8]=o,t[9]=e):e=t[9],e}}let n;return t[10]!==o?(n={nux:void 0,status:o},t[10]=o,t[11]=n):n=t[11],n}function ji(){const e=(0,a.c)(3),t=(0,wn.useQueryClient)(),s=(0,Lt.useAgent)();let o;return e[0]!==s||e[1]!==t?(o={retry:3,mutationFn:async e=>{await s.bskyAppUpsertNux(function(e){const{data:t}=e,s=(0,Vn.default)(e,xi),o=fi[e.id],n=Object.assign({},s,{data:void 0});return o&&(o.parse(t),n.data=JSON.stringify(t)),Sn.nuxSchema.parse(n),n}(e)),await t.invalidateQueries({queryKey:nr.preferencesQueryKey})}},e[0]=s,e[1]=t,e[2]=o):o=e[2],(0,no.useMutation)(o)}function vi(){const e=(0,a.c)(10),{_:t}=(0,ut.useLingui)();let s,o,n,r;return e[0]!==t?(s=t({id:”nPMed1″}),e[0]=t,e[1]=s):s=e[1],e[2]!==t?(o=t({id:”d0hj9K”}),e[2]=t,e[3]=o):o=e[3],e[4]!==t?(n=t({id:”YB17O9″}),e[4]=t,e[5]=n):n=e[5],e[6]!==s||e[7]!==o||e[8]!==n?(r={notice:s,banner:o,chatsInfoText:n},e[6]=s,e[7]=o,e[8]=n,e[9]=r):r=e[9],r}var Si=o(58403),wi=o(8103);function Ti(){const e=(0,a.c)(5),t=(0,wi.useAgeAssurance)(),{nux:s}=bi(hi.AgeAssuranceDismissibleFeedBanner),{mutate:o,variables:n}=ji(),r=!!n;let i;i=t.state.access!==t.Access.Full&&(!t.state.lastInitiatedAt&&(“config”!==t.state.error&&(!r&&(!s||!s.completed))));const l=i;let c;e[0]!==o?(c=()=>{o({id:hi.AgeAssuranceDismissibleFeedBanner,completed:!0,data:void 0})},e[0]=o,e[1]=c):c=e[1];const d=c;let u;return e[2]!==d||e[3]!==l?(u={visible:l,close:d},e[2]=d,e[3]=l,e[4]=u):u=e[4],u}function ki(){const e=(0,a.c)(46),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)(),{visible:o,close:n}=Ti(),r=vi();if(!o)return null;let i,l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k,C;return e[0]!==t.name||e[1]!==t.palette.primary_25?(i=(0,Bs.select)(t.name,{light:t.palette.primary_25,dark:t.palette.primary_25,dim:t.palette.primary_25}),e[0]=t.name,e[1]=t.palette.primary_25,e[2]=i):i=e[2],e[3]!==i?(l=[Bs.atoms.px_lg,{paddingVertical:10,backgroundColor:i}],e[3]=i,e[4]=l):l=e[4],e[5]!==s?(c=s({id:”s9OL/5″}),e[5]=s,e[6]=c):c=e[6],e[7]!==n?(d=()=>{n(),wi.logger.metric(“ageAssurance:navigateToSettings”,{})},e[7]=n,e[8]=d):d=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.w_full,Bs.atoms.justify_between,Bs.atoms.align_center,Bs.atoms.gap_md],e[9]=u):u=e[9],e[10]!==t.name||e[11]!==t.palette.primary_100?(m=(0,Bs.select)(t.name,{light:t.palette.primary_100,dark:t.palette.primary_100,dim:t.palette.primary_100}),e[10]=t.name,e[11]=t.palette.primary_100,e[12]=m):m=e[12],e[13]!==m?(h=[Bs.atoms.align_center,Bs.atoms.justify_center,Bs.atoms.rounded_full,{width:42,height:42,backgroundColor:m}],e[13]=m,e[14]=h):h=e[14],e[15]===Symbol.for(“react.memo_cache_sentinel”)?(p=(0,bt.jsx)(to.ShieldCheck_Stroke2_Corner0_Rounded,{size:”lg”}),e[15]=p):p=e[15],e[16]!==h?(f=(0,bt.jsx)(Cs.default,{style:h,children:p}),e[16]=h,e[17]=f):f=e[17],e[18]===Symbol.for(“react.memo_cache_sentinel”)?(g=[Bs.atoms.flex_1,{paddingRight:40}],e[18]=g):g=e[18],e[19]===Symbol.for(“react.memo_cache_sentinel”)?(x={maxWidth:400},e[19]=x):x=e[19],e[20]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.leading_snug],e[20]=_):_=e[20],e[21]!==r.banner?(y=(0,bt.jsx)(Cs.default,{style:g,children:(0,bt.jsx)(Cs.default,{style:x,children:(0,bt.jsx)(Xs.Text,{style:_,children:r.banner})})}),e[21]=r.banner,e[22]=y):y=e[22],e[23]!==y||e[24]!==c||e[25]!==d||e[26]!==f?(b=(0,bt.jsxs)(Ys.Link,{label:c,to:”/settings/account”,onPress:d,style:u,children:[f,y]}),e[23]=y,e[24]=c,e[25]=d,e[26]=f,e[27]=b):b=e[27],e[28]!==s?(j=s({id:”VbN7mk”}),e[28]=s,e[29]=j):j=e[29],e[30]!==n?(v=()=>{n(),wi.logger.metric(“ageAssurance:dismissFeedBanner”,{})},e[30]=n,e[31]=v):v=e[31],e[32]===Symbol.for(“react.memo_cache_sentinel”)?(S=[Bs.atoms.absolute,Bs.atoms.justify_center,Bs.atoms.align_center,{top:0,bottom:0,right:0,paddingRight:Bs.atoms.px_md.paddingLeft}],e[32]=S):S=e[32],e[33]!==t.name||e[34]!==t.palette.primary_600?(w=(0,Bs.select)(t.name,{light:t.palette.primary_600,dark:t.palette.primary_600,dim:t.palette.primary_600}),e[33]=t.name,e[34]=t.palette.primary_600,e[35]=w):w=e[35],e[36]!==w?(T=(0,bt.jsx)(Si.TimesLarge_Stroke2_Corner0_Rounded,{width:20,fill:w}),e[36]=w,e[37]=T):T=e[37],e[38]!==j||e[39]!==v||e[40]!==T?(k=(0,bt.jsx)(Ks.Button,{label:j,size:”small”,onPress:v,style:S,children:T}),e[38]=j,e[39]=v,e[40]=T,e[41]=k):k=e[41],e[42]!==l||e[43]!==b||e[44]!==k?(C=(0,bt.jsxs)(Cs.default,{style:l,children:[b,k]}),e[42]=l,e[43]=b,e[44]=k,e[45]=C):C=e[45],C}var Ci=o(45208),Pi=o(18251),Ai=o(93626);function Ii({children:e}){return e}var Li=o(32720);const Ri=(0,zr.createSinglePathSVG)({path:”M2 12A9.97 9.97 0 0 1 4.929 4.93l.076-.068a1 1 0 0 1 1.407 1.406l-.07.076A7.97 7.97 0 0 0 4 12c0 2.072.786 3.958 2.078 5.38l.265.277.07.076a1 1 0 0 1-1.408 1.407l-.076-.07-.331-.346A9.97 9.97 0 0 1 2 12Zm18 0a7.97 7.97 0 0 0-2.078-5.379l-.265-.278-.07-.076a1 1 0 0 1 1.408-1.406l.076.068.331.347A9.97 9.97 0 0 1 22 12c0 2.761-1.12 5.262-2.929 7.07a1 1 0 1 1-1.414-1.413A7.97 7.97 0 0 0 20 12ZM6 12c0-1.656.673-3.158 1.758-4.243a1 1 0 0 1 1.414 1.414A3.99 3.99 0 0 0 8 12.001c0 1.035.393 1.978 1.04 2.689l.132.138.068.077a1 1 0 0 1-1.407 1.406l-.075-.069-.2-.208A5.98 5.98 0 0 1 6 12Zm10 0a3.98 3.98 0 0 0-1.04-2.69l-.132-.139-.068-.075a1 1 0 0 1 1.407-1.407l.075.068.2.208A5.98 5.98 0 0 1 18 12a5.99 5.99 0 0 1-1.758 4.243 1 1 0 0 1-1.414-1.415A3.99 3.99 0 0 0 16 12Zm-6 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z”}),Ei=(0,zr.createSinglePathSVG)({path:”M6.5 3a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v3.997a6.25 6.25 0 0 0 1.83 4.42l.377.376A1 1 0 0 1 20 12.5V15a1 1 0 0 1-1 1h-6v5a1 1 0 1 1-2 0v-5H5a1 1 0 0 1-1-1v-2.5a1 1 0 0 1 .293-.707l.376-.377A6.25 6.25 0 0 0 6.5 6.996V3.001Zm2 1v2.997a8.25 8.25 0 0 1-2.416 5.834L6 12.914V14h12v-1.086l-.084-.083A8.25 8.25 0 0 1 15.5 6.997V4h-7Z”}),Di=(0,zr.createSinglePathSVG)({path:”M7.5 2a1 1 0 0 0-1 1v3.997a6.25 6.25 0 0 1-1.83 4.42l-.377.376A1 1 0 0 0 4 12.5V15a1 1 0 0 0 1 1h6v5a1 1 0 1 0 2 0v-5h6a1 1 0 0 0 1-1v-2.5a1 1 0 0 0-.293-.707l-.376-.377a6.25 6.25 0 0 1-1.831-4.42V3.001a1 1 0 0 0-1-1h-9Z”});var Bi=o(77023),Mi=o(72978),Oi=o(17908);function Fi(){const e=(0,a.c)(5),t=(0,nr.usePreferencesQuery)();let s,o;return function(){const e=(0,a.c)(4),t=(0,wn.useQueryClient)(),s=(0,Lt.useAgent)();let o,n;e[0]!==s||e[1]!==t?(o=()=>{i.IS_DEV&&os.isWeb&&”undefined”!==typeof window&&(window.__updateLiveEventPreferences=async e=>{await s.updateLiveEventPreferences(e),await t.invalidateQueries({queryKey:nr.preferencesQueryKey})})},n=[s,t],e[0]=s,e[1]=t,e[2]=o,e[3]=n):(o=e[2],n=e[3]);(0,ct.useEffect)(o,n)}(),e[0]!==t.data?.liveEventPreferences?(s=t.data?.liveEventPreferences||{hideAllFeeds:!1,hiddenFeedIds:[]},e[0]=t.data?.liveEventPreferences,e[1]=s):s=e[1],e[2]!==t||e[3]!==s?(o=Object.assign({},t,{data:s}),e[2]=t,e[3]=s,e[4]=o):o=e[4],o}function Ni(e){const t=(0,a.c)(4),s=(0,wn.useQueryClient)(),o=(0,Lt.useAgent)();let n;return t[0]!==o||t[1]!==e||t[2]!==s?(n={onSettled(t,s,o){const n=void 0===o.__canUndo;let a=null;e:switch(o.type){case”hideFeed”:a={type:”unhideFeed”,id:o.id,__canUndo:!1};break e;case”unhideFeed”:a={type:”hideFeed”,id:o.id,__canUndo:!1};break e;case”toggleHideAllFeeds”:a={type:”toggleHideAllFeeds”,__canUndo:!1}}t&&!s&&e?.onUpdateSuccess?.({undoAction:n?a:null})},mutationFn:async t=>{const n=(await o.updateLiveEventPreferences(t)).find(Hi);e:switch(t.type){case”hideFeed”:case”unhideFeed”:if(!e.feed){vt.logger.error(“useUpdateLiveEventPreferences: feed is missing, but required for hiding/unhiding”,{action:t});break e}vt.logger.metric(“hideFeed”===t.type?”liveEvents:feedBanner:hide”:”liveEvents:feedBanner:unhide”,{feed:e.feed.url,context:e.metricContext});break e;case”toggleHideAllFeeds”:n.hideAllFeeds?vt.logger.metric(“liveEvents:hideAllFeedBanners”,{context:e.metricContext}):vt.logger.metric(“liveEvents:unhideAllFeedBanners”,{context:e.metricContext})}return s.invalidateQueries({queryKey:nr.preferencesQueryKey}),n}},t[0]=o,t[1]=e,t[2]=s,t[3]=n):n=t[3],(0,no.useMutation)(n)}function Hi(e){return(0,Sn.asPredicate)(Sn.AppBskyActorDefs.validateLiveEventPreferences)(e)}var zi=o(88875);const Vi=new Oi.QueryClient,Ui=[“live-events”],Gi={feeds:[]};async function Wi(){try{const e=await fetch(`${i.LIVE_EVENTS_URL}/config`);if(!e.ok)return null;return await e.json()}catch{return null}}const qi=(0,ct.createContext)(Gi);function Qi(e){const t=(0,a.c)(14),{children:s}=e,[o]=(0,zi.useDevMode)(),n=function(){const e=(0,a.c)(2),t=(0,ht.useGate)();let s;return e[0]!==t?(s=t(“is_bsky_team_member”),e[0]=t,e[1]=s):s=e[1],s}();let r;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(r={staleTime:15e3,queryKey:Ui,refetchInterval:3e5,queryFn:async()=>Wi()},t[0]=r):r=t[0];const{data:i}=(0,Fs.useQuery)(r,Vi);let l;e:{if(!i){l=Gi;break e}let e,s,a;if(t[1]!==i||t[2]!==n||t[3]!==o){let a;t[6]!==n?(a=e=>!(e.preview&&!n),t[6]=n,t[7]=a):a=t[7];const r=i.feeds.filter(a);e=i,s=n&&o?r:r.slice(0,1),t[1]=i,t[2]=n,t[3]=o,t[4]=e,t[5]=s}else e=t[4],s=t[5];t[8]!==e||t[9]!==s?(a=Object.assign({},e,{feeds:s}),t[8]=e,t[9]=s,t[10]=a):a=t[10],l=a}const c=l;let d;return t[11]!==s||t[12]!==c?(d=(0,bt.jsx)(qi.Provider,{value:c,children:s}),t[11]=s,t[12]=c,t[13]=d):d=t[13],d}function Ki(){const e=(0,ct.useContext)(qi);if(!e)throw new Error(“useLiveEventsContext must be used within a Provider”);return e}function Zi(e){const t=(0,Ct.convertBskyAppUrlIfNeeded)(e.url),[,s,,o]=t.split(“/”).filter(Boolean);return(0,Ct.makeRecordUri)(s,”app.bsky.feed.generator”,o).toString()}function Yi(e){return(0,Ct.isBskyCustomFeedUrl)(e.url)}var $i=o(72945);const Xi=[“view”,”children”],Ji=[“description”],el=[“view”,”pin”],tl=[“view”,”pin”,”text”];function sl(e){const t=(0,a.c)(23),{view:s}=e;let o,n,r,i,l;t[0]!==s.avatar?(o=(0,bt.jsx)(rl,{src:s.avatar}),t[0]=s.avatar,t[1]=o):o=t[1],t[2]!==s.creator||t[3]!==s.displayName||t[4]!==s.uri?(n=(0,bt.jsx)(ll,{title:s.displayName,creator:s.creator,uri:s.uri}),t[2]=s.creator,t[3]=s.displayName,t[4]=s.uri,t[5]=n):n=t[5],t[6]!==s?(r=(0,bt.jsx)(ml,{view:s,pin:!0}),t[6]=s,t[7]=r):r=t[7],t[8]!==o||t[9]!==n||t[10]!==r?(i=(0,bt.jsxs)(al,{children:[o,n,r]}),t[8]=o,t[9]=n,t[10]=r,t[11]=i):i=t[11],t[12]!==s.description?(l=(0,bt.jsx)(dl,{description:s.description}),t[12]=s.description,t[13]=l):l=t[13];const c=s.likeCount||0;let d,u,m;return t[14]!==c?(d=(0,bt.jsx)(ul,{count:c}),t[14]=c,t[15]=d):d=t[15],t[16]!==i||t[17]!==l||t[18]!==d?(u=(0,bt.jsxs)(nl,{children:[i,l,d]}),t[16]=i,t[17]=l,t[18]=d,t[19]=u):u=t[19],t[20]!==e||t[21]!==u?(m=(0,bt.jsx)(ol,Object.assign({},e,{children:u})),t[20]=e,t[21]=u,t[22]=m):m=t[22],m}function ol(e){const t=(0,a.c)(16);let s,o,n;if(t[0]!==e){var r=e;({view:n,children:s}=r),o=(0,Vn.default)(r,Xi),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=(0,wn.useQueryClient)();let l;t[4]!==n?(l=function({feed:e}){const t=new Sn.AtUri(e.uri),s=e.creator.handle||e.creator.did;return`/profile/${s}/feed/${t.rkey}`}({feed:n}),t[4]=n,t[5]=l):l=t[5];const c=l;let d,u,m,h;return t[6]!==i||t[7]!==n?(d=()=>{!function(e,t){Ar(e,lr(t))}(i,n)},u=[n,i],t[6]=i,t[7]=n,t[8]=d,t[9]=u):(d=t[8],u=t[9]),ct.useEffect(d,u),t[10]===Symbol.for(“react.memo_cache_sentinel”)?(m=[Bs.atoms.flex_col],t[10]=m):m=t[10],t[11]!==s||t[12]!==c||t[13]!==o||t[14]!==n.displayName?(h=(0,bt.jsx)(Ys.Link,Object.assign({label:n.displayName,to:c,style:m},o,{children:s})),t[11]=s,t[12]=c,t[13]=o,t[14]=n.displayName,t[15]=h):h=t[15],h}function nl(e){const t=(0,a.c)(3),{children:s}=e;let o,n;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[Bs.atoms.w_full,Bs.atoms.gap_sm],t[0]=o):o=t[0],t[1]!==s?(n=(0,bt.jsx)(Cs.default,{style:o,children:s}),t[1]=s,t[2]=n):n=t[2],n}function al(e){const t=(0,a.c)(3),{children:s}=e;let o,n;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_sm],t[0]=o):o=t[0],t[1]!==s?(n=(0,bt.jsx)(Cs.default,{style:o,children:s}),t[1]=s,t[2]=n):n=t[2],n}function rl(e){const t=(0,a.c)(3),{src:s,size:o}=e,n=void 0===o?40:o;let r;return t[0]!==n||t[1]!==s?(r=(0,bt.jsx)(Li.UserAvatar,{type:”algo”,size:n,avatar:s}),t[0]=n,t[1]=s,t[2]=r):r=t[2],r}function il(e){const t=(0,a.c)(5),{size:s}=e,o=void 0===s?40:s,n=(0,Bs.useTheme)();let r,i;return t[0]!==o?(r={width:o,height:o,borderRadius:8},t[0]=o,t[1]=r):r=t[1],t[2]!==n.atoms.bg_contrast_25||t[3]!==r?(i=(0,bt.jsx)(Cs.default,{style:[n.atoms.bg_contrast_25,r]}),t[2]=n.atoms.bg_contrast_25,t[3]=r,t[4]=i):i=t[4],i}function ll(e){const t=(0,a.c)(19),{title:s,creator:o,uri:n}=e,r=(0,Bs.useTheme)(),i=function(){const e=(0,a.c)(2),{feeds:t}=Ki();let s;return e[0]!==t?(s=new Set(t.filter(Yi).map(Zi)),e[0]=t,e[1]=s):s=e[1],s}();let l;t[0]!==r.name||t[1]!==r.palette.negative_500||t[2]!==r.palette.negative_600?(l=(0,Bs.select)(r.name,{dark:r.palette.negative_600,dim:r.palette.negative_600,light:r.palette.negative_500}),t[0]=r.name,t[1]=r.palette.negative_500,t[2]=r.palette.negative_600,t[3]=l):l=t[3];const c=l;let d,u,m,h,p,f;return t[4]===Symbol.for(“react.memo_cache_sentinel”)?(d=[Bs.atoms.flex_1],t[4]=d):d=t[4],t[5]!==i||t[6]!==c||t[7]!==n?(u=n&&i.has(n)&&(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_2xs],children:[(0,bt.jsx)(Ri,{size:”xs”,fill:c}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_2xs,Bs.atoms.font_medium,Bs.atoms.leading_snug,{color:c}],children:(0,bt.jsx)(ut.Trans,{id:”NUsTc4″})})]}),t[5]=i,t[6]=c,t[7]=n,t[8]=u):u=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(m=[Bs.atoms.text_md,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug],t[9]=m):m=t[9],t[10]!==s?(h=(0,bt.jsx)(Xs.Text,{emoji:!0,style:m,numberOfLines:1,children:s}),t[10]=s,t[11]=h):h=t[11],t[12]!==o||t[13]!==r.atoms?(p=o&&(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.leading_snug,r.atoms.text_contrast_medium],numberOfLines:1,children:(0,bt.jsx)(ut.Trans,{id:”8BFAg0″,values:{0:(0,wa.sanitizeHandle)(o.handle,”@”)}})}),t[12]=o,t[13]=r.atoms,t[14]=p):p=t[14],t[15]!==u||t[16]!==h||t[17]!==p?(f=(0,bt.jsxs)(Cs.default,{style:d,children:[u,h,p]}),t[15]=u,t[16]=h,t[17]=p,t[18]=f):f=t[18],f}function cl(e){const t=(0,a.c)(10),{creator:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[Bs.atoms.flex_1,Bs.atoms.gap_xs],t[0]=n):n=t[0],t[1]===Symbol.for(“react.memo_cache_sentinel”)?(r={width:”60%”,height:14},t[1]=r):r=t[1],t[2]!==o.atoms.bg_contrast_50?(i=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,o.atoms.bg_contrast_50,r]}),t[2]=o.atoms.bg_contrast_50,t[3]=i):i=t[3],t[4]!==s||t[5]!==o.atoms.bg_contrast_25?(l=s&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,o.atoms.bg_contrast_25,{width:”40%”,height:10}]}),t[4]=s,t[5]=o.atoms.bg_contrast_25,t[6]=l):l=t[6],t[7]!==i||t[8]!==l?(c=(0,bt.jsxs)(Cs.default,{style:n,children:[i,l]}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function dl(e){const t=(0,a.c)(8);let s,o,n;if(t[0]!==e){var r=e;({description:s}=r),o=(0,Vn.default)(r,Ji),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];e:{if(!s){n=void 0;break e}const e=s||””;let o;t[3]!==e?(o=new Sn.RichText({text:e}),o.detectFacetsWithoutResolution(),t[3]=e,t[4]=o):o=t[4],n=o}const i=n;if(!i)return null;let l;return t[5]!==o||t[6]!==i?(l=(0,bt.jsx)(Mi.RichText,Object.assign({value:i,disableLinks:!0},o)),t[5]=o,t[6]=i,t[7]=l):l=t[7],l}function ul(e){const t=(0,a.c)(7),{count:s}=e,o=(0,Bs.useTheme)();let n;t[0]!==o.atoms.text_contrast_medium?(n=[Bs.atoms.text_sm,o.atoms.text_contrast_medium,Bs.atoms.font_semi_bold],t[0]=o.atoms.text_contrast_medium,t[1]=n):n=t[1];const r=s||0;let i,l;return t[2]!==r?(i=(0,bt.jsx)(ut.Trans,{id:”J0wwLX”,values:{0:r}}),t[2]=r,t[3]=i):i=t[3],t[4]!==n||t[5]!==i?(l=(0,bt.jsx)(Xs.Text,{style:n,children:i}),t[4]=n,t[5]=i,t[6]=l):l=t[6],l}function ml(e){const t=(0,a.c)(8);let s,o,n;if(t[0]!==e){var r=e;({view:n,pin:s}=r),o=(0,Vn.default)(r,el),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const{hasSession:i}=(0,Lt.useSession)();if(!i)return null;let l;return t[4]!==s||t[5]!==o||t[6]!==n?(l=(0,bt.jsx)(hl,Object.assign({view:n,pin:s},o)),t[4]=s,t[5]=o,t[6]=n,t[7]=l):l=t[7],l}function hl(e){let{view:t,pin:s,text:o=!0}=e,n=(0,Vn.default)(e,tl);const{_:a}=(0,ut.useLingui)(),{data:r}=(0,nr.usePreferencesQuery)(),{isPending:i,mutateAsync:l}=(0,nr.useAddSavedFeedsMutation)(),{isPending:c,mutateAsync:d}=(0,nr.useRemoveFeedMutation)(),u=t.uri,m=t.uri.includes(“app.bsky.feed.generator”)?”feed”:”list”,h=ct.useMemo((()=>r?.savedFeeds?.find((e=>e.value===u))),[r?.savedFeeds,u]),p=Bi.usePromptControl(),f=i||c,g=ct.useCallback((async e=>{e.preventDefault(),e.stopPropagation();try{h?await d(h):await l([{type:m,value:u,pinned:s||!1}]),ws.show(a({id:”oIkrPj”}))}catch(t){vt.logger.error(t,{message:”FeedCard: failed to update feeds”,pin:s}),ws.show(a({id:”fZjiHu”}),”xmark”)}}),[a,s,l,d,u,h,m]),x=ct.useCallback((async e=>{e.preventDefault(),e.stopPropagation(),p.open()}),[p]);return(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Ks.Button,Object.assign({disabled:f,label:a({id:”Rj4BN+”}),size:”small”,variant:”solid”,color:h?”secondary”:”primary”,onPress:h?x:g},n,{children:h?(0,bt.jsxs)(bt.Fragment,{children:[f?(0,bt.jsx)(Ks.ButtonIcon,{size:”md”,icon:$s.Loader}):!o&&(0,bt.jsx)(Ks.ButtonIcon,{size:”md”,icon:$i.Trash_Stroke2_Corner0_Rounded}),o&&(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”6AOnq0″})})]}):(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Ks.ButtonIcon,{size:”md”,icon:f?$s.Loader:Ei}),o&&(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”GPwCPg”})})]})})),(0,bt.jsx)(Bi.Basic,{control:p,title:a({id:”am/CTH”}),description:a({id:”6VFU83″}),onConfirm:g,confirmButtonCta:a({id:”t/YqKh”}),confirmButtonColor:”negative”})]})}var pl=o(84857);const fl=(0,zr.createSinglePathSVG)({viewBox:”0 0 46 46″,strokeLinecap:”round”,strokeLinejoin:”round”,strokeWidth:2,path:”M14.333 1 9 45M37 1l-5.333 44M1 11.667h44m0 22.666H1″}),gl=(0,zr.createSinglePathSVG)({path:”M9.124 3.008a1 1 0 0 1 .868 1.116L9.632 7h5.985l.39-3.124a1 1 0 0 1 1.985.248L17.632 7H20a1 1 0 1 1 0 2h-2.617l-.75 6H20a1 1 0 1 1 0 2h-3.617l-.39 3.124a1 1 0 1 1-1.985-.248l.36-2.876H8.382l-.39 3.124a1 1 0 1 1-1.985-.248L6.368 17H4a1 1 0 1 1 0-2h2.617l.75-6H4a1 1 0 1 1 0-2h3.617l.39-3.124a1 1 0 0 1 1.117-.868ZM9.383 9l-.75 6h5.984l.75-6H9.383Z”}),xl=(0,zr.createSinglePathSVG)({path:”M9.186 2.512a1.5 1.5 0 0 0-1.674 1.302L7.176 6.5H4a1.5 1.5 0 1 0 0 3h2.8l-.624 5H4a1.5 1.5 0 0 0 0 3h1.8l-.288 2.314a1.5 1.5 0 1 0 2.976.372l.336-2.686h4.977l-.29 2.314a1.5 1.5 0 1 0 2.977.372l.336-2.686H20a1.5 1.5 0 0 0 0-3h-2.8l.624-5H20a1.5 1.5 0 0 0 0-3h-1.8l.288-2.314a1.5 1.5 0 1 0-2.976-.372L15.176 6.5h-4.977l.29-2.314a1.5 1.5 0 0 0-1.303-1.674ZM9.2 14.5l.625-5h4.977l-.625 5H9.199Z”});var _l=o(42741),yl=o(8299);const bl=[“animals”,”art”,”books”,”comedy”,”comics”,”culture”,”dev”,”education”,”finance”,”food”,”gaming”,”journalism”,”movies”,”music”,”nature”,”news”,”pets”,”photography”,”politics”,”science”,”sports”,”tech”,”tv”,”writers”],jl=[“art”,”gaming”,”sports”,”comics”,”music”,”politics”,”photography”,”science”,”news”];function vl(){const e=(0,a.c)(73),{_:t}=(0,ut.useLingui)();let s,o,n,r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k,C;return e[0]!==t?(s=t({id:”rJytxG”}),e[0]=t,e[1]=s):s=e[1],e[2]!==t?(o=t({id:”+QARA4″}),e[2]=t,e[3]=o):o=e[3],e[4]!==t?(n=t({id:”TGqTIz”}),e[4]=t,e[5]=n):n=e[5],e[6]!==t?(r=t({id:”CWk59I”}),e[6]=t,e[7]=r):r=e[7],e[8]!==t?(i=t({id:”Q70RyM”}),e[8]=t,e[9]=i):i=e[9],e[10]!==t?(l=t({id:”wFuUuH”}),e[10]=t,e[11]=l):l=e[11],e[12]!==t?(c=t({id:”cDg3lw”}),e[12]=t,e[13]=c):c=e[13],e[14]!==t?(d=t({id:”aqxYLv”}),e[14]=t,e[15]=d):d=e[15],e[16]!==t?(u=t({id:”8V6XO3″}),e[16]=t,e[17]=u):u=e[17],e[18]!==t?(m=t({id:”uZCzGe”}),e[18]=t,e[19]=m):m=e[19],e[20]!==t?(h=t({id:”59Bkqw”}),e[20]=t,e[21]=h):h=e[21],e[22]!==t?(p=t({id:”VjZoPG”}),e[22]=t,e[23]=p):p=e[23],e[24]!==t?(f=t({id:”i9rcQ/”}),e[24]=t,e[25]=f):f=e[25],e[26]!==t?(g=t({id:”GfaxEk”}),e[26]=t,e[27]=g):g=e[27],e[28]!==t?(x=t({id:”PGt/mb”}),e[28]=t,e[29]=x):x=e[29],e[30]!==t?(_=t({id:”qdyV/M”}),e[30]=t,e[31]=_):_=e[31],e[32]!==t?(y=t({id:”nkqs9W”}),e[32]=t,e[33]=y):y=e[33],e[34]!==t?(b=t({id:”PDaunD”}),e[34]=t,e[35]=b):b=e[35],e[36]!==t?(j=t({id:”wGvJH+”}),e[36]=t,e[37]=j):j=e[37],e[38]!==t?(v=t({id:”5/lolt”}),e[38]=t,e[39]=v):v=e[39],e[40]!==t?(S=t({id:”7JFNej”}),e[40]=t,e[41]=S):S=e[41],e[42]!==t?(w=t({id:”vlf/In”}),e[42]=t,e[43]=w):w=e[43],e[44]!==t?(T=t({id:”JwFbe8″}),e[44]=t,e[45]=T):T=e[45],e[46]!==t?(k=t({id:”IUykiF”}),e[46]=t,e[47]=k):k=e[47],e[48]!==s||e[49]!==o||e[50]!==h||e[51]!==p||e[52]!==f||e[53]!==g||e[54]!==x||e[55]!==_||e[56]!==y||e[57]!==b||e[58]!==j||e[59]!==v||e[60]!==n||e[61]!==S||e[62]!==w||e[63]!==T||e[64]!==k||e[65]!==r||e[66]!==i||e[67]!==l||e[68]!==c||e[69]!==d||e[70]!==u||e[71]!==m?(C={animals:s,art:o,books:n,comedy:r,comics:i,culture:l,dev:c,education:d,finance:u,food:m,gaming:h,journalism:p,movies:f,music:g,nature:x,news:_,pets:y,photography:b,politics:j,science:v,sports:S,tech:w,tv:T,writers:k},e[48]=s,e[49]=o,e[50]=h,e[51]=p,e[52]=f,e[53]=g,e[54]=x,e[55]=_,e[56]=y,e[57]=b,e[58]=j,e[59]=v,e[60]=n,e[61]=S,e[62]=w,e[63]=T,e[64]=k,e[65]=r,e[66]=i,e[67]=l,e[68]=c,e[69]=d,e[70]=u,e[71]=m,e[72]=C):C=e[72],C}var Sl=o(64256),wl=o(14364),Tl=o(69121),kl=o(52621);const Cl=[“ref”,”style”];function Pl(e){const t=(0,a.c)(13);let s,o,n,r;if(t[0]!==e){var i=e;({ref:o,style:n}=i),s=(0,Vn.default)(i,Cl),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];t[4]!==o?(r={outerRef:o,cursor:”grab”},t[4]=o,t[5]=r):r=t[5];const{refs:l}=function({outerRef:e,cursor:t=”grab”}={}){const s=(0,ct.useRef)(null);return(0,ct.useEffect)((()=>{if(!s.current)return;const e=s.current;let o=!1,n=!1,a=0,r=0;const i=s=>{n=!0,a=s.pageX-e.offsetLeft,r=e.scrollLeft,e.style.cursor=t},l=()=>{o&&e.addEventListener(“click”,(e=>e.stopPropagation()),{once:!0}),n=!1,o=!1,e.style.cursor=”default”},c=t=>{if(!n)return;const s=t.pageX-e.offsetLeft;if(Math.abs(s-a)<3)return;o=!0,t.preventDefault();const i=s-a;e.scrollLeft=r-i,e.contains(document.activeElement)&&document.activeElement?.blur?.()};return e.addEventListener("mousedown",i),window.addEventListener("mouseup",l),window.addEventListener("mousemove",c),()=>{e.removeEventListener(“mousedown”,i),window.removeEventListener(“mouseup”,l),window.removeEventListener(“mousemove”,c)}}),[t]),{refs:(0,ct.useMemo)((()=>(0,kl.mergeRefs)(e?[s,e]:[s])),[s,e])}}(r);let c,d,u;return t[6]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,Bs.web)(Bs.atoms.user_select_none),t[6]=c):c=t[6],t[7]!==n?(d=[n,c],t[7]=n,t[8]=d):d=t[8],t[9]!==s||t[10]!==l||t[11]!==d?(u=(0,bt.jsx)(Ci.default,Object.assign({ref:l,style:d,horizontal:!0},s)),t[9]=s,t[10]=l,t[11]=d,t[12]=u):u=t[12],u}var Al=o(43518);const Il=211,Ll=Al.utils.alpha;function Rl({onSelectTab:e,interests:t,selectedInterest:s,disabled:o,interestsDisplayNames:n,TabComponent:a=El,contentContainerStyle:r,gutterWidth:i=Bs.tokens.space.lg}){const l=(0,Bs.useTheme)(),{_:c}=(0,ut.useLingui)(),d=(0,ct.useRef)(null),[u,m]=(0,ct.useState)(0),[h,p]=(0,ct.useState)(0),[f,g]=(0,ct.useState)(0),x=(0,ct.useRef)([]),[_,y]=(0,ct.useState)([]),b=(0,vn.useNonReactiveCallback)((()=>{j(t.indexOf(s))}));function j(e){const t=_[e];t&&d.current?.scrollTo({x:t.x-(u/2-t.width/2),animated:!0})}function v(s){const o=t[s];e(o),j(s)}function S(e,s,o){_.length||(x.current[e]={x:s,width:o},x.current.filter((e=>!!e)).length===t.length&&y(x.current))}(0,ct.useEffect)((()=>{_&&b()}),[_,b]);const w=h>0,T=Math.ceil(h){o=!1,t&&clearTimeout(t),s&&cancelAnimationFrame(s),k.current=null,setTimeout((()=>{C.current=!1}),100)},t=setTimeout((()=>{if(!o)return;C.current=!0;let t=h;const n=()=>{if(!o||!d.current)return;const a=f-u;let r,i=!1;if(“left”===e&&t>0)r=Math.max(0,t-3),i=r>0;else{if(!(“right”===e&&t()=>{k.current&&k.current()}),[]),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.relative,Bs.atoms.flex_row],children:[(0,bt.jsx)(Pl,{ref:d,contentContainerStyle:[Bs.atoms.gap_sm,{paddingHorizontal:i},r],showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,snapToOffsets:_.filter((e=>!!e)).length===t.length?_.map((e=>e.x-Bs.tokens.space.xl)):void 0,onLayout:e=>m(e.nativeEvent.layout.width),onContentSizeChange:e=>g(e),onScroll:e=>{const t=e.nativeEvent.contentOffset.x;p(t)},scrollEventThrottle:16,children:t.map(((e,t)=>{const r=e===s&&!o;return(0,bt.jsx)(a,{onSelectTab:v,active:r,index:t,interest:e,interestsDisplayName:n[e],onLayout:S},e)}))}),os.isWeb&&w&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.top_0,Bs.atoms.left_0,Bs.atoms.bottom_0,Bs.atoms.justify_center,{paddingLeft:i},Bs.atoms.pr_md,Bs.atoms.z_10,(0,Bs.web)({background:`linear-gradient(to right, ${l.atoms.bg.backgroundColor} 0%, ${l.atoms.bg.backgroundColor} 70%, ${Ll(l.atoms.bg.backgroundColor,0)} 100%)`})],children:(0,bt.jsx)(Ks.Button,{label:c({id:”fZbqlc”}),onPress:function(){if(!C.current&&d.current&&w){const e=Math.max(0,h-200);d.current.scrollTo({x:e,animated:!0})}},onPressIn:()=>P(“left”),onPressOut:A,color:”secondary”,size:”small”,style:[Bs.atoms.border,l.atoms.border_contrast_low,l.atoms.bg,Bs.atoms.h_full,Bs.atoms.aspect_square,Bs.atoms.rounded_full],children:(0,bt.jsx)(Ks.ButtonIcon,{icon:pl.ArrowLeft_Stroke2_Corner0_Rounded})})}),os.isWeb&&T&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.top_0,Bs.atoms.right_0,Bs.atoms.bottom_0,Bs.atoms.justify_center,{paddingRight:i},Bs.atoms.pl_md,Bs.atoms.z_10,(0,Bs.web)({background:`linear-gradient(to left, ${l.atoms.bg.backgroundColor} 0%, ${l.atoms.bg.backgroundColor} 70%, ${Ll(l.atoms.bg.backgroundColor,0)} 100%)`})],children:(0,bt.jsx)(Ks.Button,{label:c({id:”6vj9Bp”}),onPress:function(){if(!C.current&&d.current&&T){const e=f-u,t=Math.min(e,h+200);d.current.scrollTo({x:t,animated:!0})}},onPressIn:()=>P(“right”),onPressOut:A,color:”secondary”,size:”small”,style:[Bs.atoms.border,l.atoms.border_contrast_low,l.atoms.bg,Bs.atoms.h_full,Bs.atoms.aspect_square,Bs.atoms.rounded_full],children:(0,bt.jsx)(Ks.ButtonIcon,{icon:pl.ArrowRight_Stroke2_Corner0_Rounded})})})]})}function El(e){const t=(0,a.c)(29),{onSelectTab:s,interest:o,active:n,index:r,interestsDisplayName:i,onLayout:l}=e,c=(0,Bs.useTheme)(),{_:d}=(0,ut.useLingui)();let u;t[0]!==d||t[1]!==n||t[2]!==i?(u=d(n?{values:{interestsDisplayName:i},id:”XuvNEx”}:{values:{interestsDisplayName:i},id:”aLPMQi”}),t[0]=d,t[1]=n,t[2]=i,t[3]=u):u=t[3];const m=u;let h,p,f,g,x,_;return t[4]!==r||t[5]!==l?(h=e=>l(r,e.nativeEvent.layout.x,e.nativeEvent.layout.width),t[4]=r,t[5]=l,t[6]=h):h=t[6],t[7]!==r||t[8]!==s?(p=()=>s(r),t[7]=r,t[8]=s,t[9]=p):p=t[9],t[10]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,Bs.web)({outline:”none”}),t[10]=f):f=t[10],t[11]!==n||t[12]!==i||t[13]!==c.atoms.bg||t[14]!==c.atoms.bg_contrast_25||t[15]!==c.atoms.border_contrast_low||t[16]!==c.atoms.border_contrast_medium||t[17]!==c.atoms.text||t[18]!==c.atoms.text_contrast_medium||t[19]!==c.palette?(g=e=>{const{hovered:t,pressed:s,focused:o}=e;return(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,Bs.atoms.px_lg,Bs.atoms.py_sm,Bs.atoms.border,n||t||s?[c.atoms.bg_contrast_25,c.atoms.border_contrast_medium]:o?{borderColor:c.palette.primary_300,backgroundColor:c.palette.primary_25}:[c.atoms.bg,c.atoms.border_contrast_low]],children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_medium,n||t||s?c.atoms.text:c.atoms.text_contrast_medium],children:i})})},t[11]=n,t[12]=i,t[13]=c.atoms.bg,t[14]=c.atoms.bg_contrast_25,t[15]=c.atoms.border_contrast_low,t[16]=c.atoms.border_contrast_medium,t[17]=c.atoms.text,t[18]=c.atoms.text_contrast_medium,t[19]=c.palette,t[20]=g):g=t[20],t[21]!==m||t[22]!==p||t[23]!==g?(x=(0,bt.jsx)(Ks.Button,{label:m,onPress:p,style:f,children:g}),t[21]=m,t[22]=p,t[23]=g,t[24]=x):x=t[24],t[25]!==o||t[26]!==h||t[27]!==x?(_=(0,bt.jsx)(Cs.default,{onLayout:h,children:x},o),t[25]=o,t[26]=h,t[27]=x,t[28]=_):_=t[28],_}function Dl(e){return(t,s)=>{const o=e?.indexOf(t)??-1,n=e?.indexOf(s)??-1;return(-1===o?1/0:o)-(-1===n?1/0:n)}}var Bl=o(66142),Ml=o(23876);function Ol(e){const t=(0,a.c)(30),{current:s,total:o,title:n,subtitle:r,tabularNumsTitle:i}=e,l=(0,Bs.useTheme)(),c=!r&&Bs.atoms.align_center;let d,u,m,h,p,f,g,x,_,y;return t[0]!==c?(d=[Bs.atoms.flex_row,Bs.atoms.gap_sm,c],t[0]=c,t[1]=d):d=t[1],t[2]!==s||t[3]!==l.palette.contrast_100||t[4]!==l.palette.primary_400||t[5]!==l.palette.primary_500||t[6]!==o?(u=s===o?(0,bt.jsx)(Ml.AnimatedCheck,{playOnMount:!0,fill:l.palette.primary_500,width:20}):(0,bt.jsx)(Bl.Circle,{progress:s/o,color:l.palette.primary_400,size:20,thickness:3,borderWidth:0,unfilledColor:l.palette.contrast_100}),t[2]=s,t[3]=l.palette.contrast_100,t[4]=l.palette.primary_400,t[5]=l.palette.primary_500,t[6]=o,t[7]=u):u=t[7],t[8]!==r?(m=r&&{marginTop:-2},t[8]=r,t[9]=m):m=t[9],t[10]!==m?(h=[Bs.atoms.flex_col,Bs.atoms.gap_xs,m],t[10]=m,t[11]=h):h=t[11],t[12]!==i?(p=i&&{fontVariant:[“tabular-nums”]},t[12]=i,t[13]=p):p=t[13],t[14]!==p?(f=[Bs.atoms.text_sm,Bs.atoms.font_semi_bold,Bs.atoms.leading_tight,p],t[14]=p,t[15]=f):f=t[15],t[16]!==f||t[17]!==n?(g=(0,bt.jsx)(Xs.Text,{style:f,children:n}),t[16]=f,t[17]=n,t[18]=g):g=t[18],t[19]!==r||t[20]!==l.atoms?(x=r&&(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,l.atoms.text_contrast_medium,Bs.atoms.leading_tight],children:r}),t[19]=r,t[20]=l.atoms,t[21]=x):x=t[21],t[22]!==h||t[23]!==g||t[24]!==x?(_=(0,bt.jsxs)(Cs.default,{style:h,children:[g,x]}),t[22]=h,t[23]=g,t[24]=x,t[25]=_):_=t[25],t[26]!==_||t[27]!==d||t[28]!==u?(y=(0,bt.jsxs)(Cs.default,{style:d,children:[u,_]}),t[26]=_,t[27]=d,t[28]=u,t[29]=y):y=t[29],y}function Fl(e){const t=(0,a.c)(24),{guide:s,showArrow:o}=e,{_:n}=(0,ut.useLingui)(),r=Ms.useDialogControl(),{gtPhone:i}=(0,Bs.useBreakpoints)(),{height:l}=(0,Er.default)();let c,d;t[0]!==n?(c=n({id:”zjruXt”}),t[0]=n,t[1]=c):c=t[1],t[2]!==r?(d=()=>{r.open(),(0,ht.logEvent)(“progressGuide:followDialog:open”,{})},t[2]=r,t[3]=d):d=t[3];const u=i?”small”:”large”;let m,h,p,f,g,x,_,y;return t[4]===Symbol.for(“react.memo_cache_sentinel”)?(m=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”zjruXt”})}),t[4]=m):m=t[4],t[5]!==o?(h=o&&(0,bt.jsx)(Ks.ButtonIcon,{icon:pl.ArrowRight_Stroke2_Corner0_Rounded}),t[5]=o,t[6]=h):h=t[6],t[7]!==c||t[8]!==d||t[9]!==u||t[10]!==h?(p=(0,bt.jsxs)(Ks.Button,{label:c,onPress:d,size:u,color:”primary”,children:[m,h]}),t[7]=c,t[8]=d,t[9]=u,t[10]=h,t[11]=p):p=t[11],t[12]!==l?(f={minHeight:l},t[12]=l,t[13]=f):f=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(g=(0,bt.jsx)(Ms.Handle,{}),t[14]=g):g=t[14],t[15]!==s?(x=(0,bt.jsx)(Vl,{guide:s}),t[15]=s,t[16]=x):x=t[16],t[17]!==r||t[18]!==f||t[19]!==x?(_=(0,bt.jsxs)(Ms.Outer,{control:r,nativeOptions:f,children:[g,x]}),t[17]=r,t[18]=f,t[19]=x,t[20]=_):_=t[20],t[21]!==_||t[22]!==p?(y=(0,bt.jsxs)(bt.Fragment,{children:[p,_]}),t[21]=_,t[22]=p,t[23]=y):y=t[23],y}function Nl(e){const t=(0,a.c)(7),{control:s}=e,{height:o}=(0,Er.default)();let n,r,i,l;return t[0]!==o?(n={minHeight:o},t[0]=o,t[1]=n):n=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,bt.jsx)(Ms.Handle,{}),i=(0,bt.jsx)(Vl,{}),t[2]=r,t[3]=i):(r=t[2],i=t[3]),t[4]!==s||t[5]!==n?(l=(0,bt.jsxs)(Ms.Outer,{control:s,nativeOptions:n,children:[r,i]}),t[4]=s,t[5]=n,t[6]=l):l=t[6],l}let Hl=””,zl=””;function Vl({guide:e}){const{_:t}=(0,ut.useLingui)(),s=vl(),{data:o}=(0,nr.usePreferencesQuery)(),n=o?.interests?.tags,a=Object.keys(s).sort(Dl(jl)).sort(Dl(n)),[r,i]=(0,ct.useState)((()=>Hl||(n&&a.includes(n[0])?n[0]:a[0]))),[l,c]=(0,ct.useState)(zl),d=(0,Xt.useModerationOpts)(),u=(0,ct.useRef)(null),m=(0,ct.useRef)(null),[h,p]=(0,ct.useState)(0),{currentAccount:f}=(0,Lt.useSession)();(0,ct.useEffect)((()=>{zl=l,Hl=r}),[l,r]);const{data:g,isFetching:x,error:_}=(0,wl.useGetSuggestedUsersQuery)({category:r,limit:50}),{data:y,isFetching:b,error:j,isError:v}=(0,Sl.useActorSearch)({enabled:!!l,query:l}),S=!!l,w=l||r,T=(0,ct.useMemo)((()=>{const e=S?y?.pages.flatMap((e=>e.actors)):g?.actors;let s=[];if(x||b){const e=Array(10).fill(0).map(((e,t)=>({type:”placeholder”,key:t+””})));s.push(…e)}else if(S&&j||!S&&_||!e?.length)s.push({type:”empty”,key:”empty”,message:t({id:”zltW1E”})});else{const t=new Set;for(const o of e)t.has(o.did)||o.did!==f?.did&&(o.viewer?.following||(t.add(o.did),s.push({type:”profile”,key:w+”:”+o.did,profile:o})))}return s}),[t,g,_,x,y,j,b,f?.did,S,w]);!l||b||T.length||v||T.push({type:”empty”,key:”empty”,message:t({id:”Ev2r9A”})});const k=(0,ct.useCallback)((({item:e,index:t})=>{switch(e.type){case”profile”:return(0,bt.jsx)(ql,{profile:e.profile,moderationOpts:d,noBorder:0===t});case”placeholder”:return(0,bt.jsx)(Yl,{},e.key);case”empty”:return(0,bt.jsx)($l,{message:e.message},e.key);default:return null}}),[d]),C=(0,ct.useRef)(new Set),P=(0,ct.useRef)(T);P.current=T;const A=(0,ct.useRef)(r);A.current=r;const I=(0,ct.useRef)((({viewableItems:e})=>{for(const t of e){const e=t.item;if(“profile”===e.type&&!C.current.has(e.profile.did)){C.current.add(e.profile.did);const t=P.current.findIndex((t=>”profile”===t.type&&t.profile.did===e.profile.did));vt.logger.metric(“suggestedUser:seen”,{logContext:”ProgressGuide”,recId:void 0,position:-1!==t?t:0,suggestedDid:e.profile.did,category:A.current},{statsig:!0})}}})).current,L=(0,ct.useRef)({itemVisiblePercentThreshold:50}).current,R=(0,ct.useCallback)((e=>{i(e),m.current?.clear(),c(“”),u.current?.scrollToOffset({offset:0,animated:!1})}),[i,c]),E=(0,bt.jsx)(Ul,{guide:e,inputRef:m,listRef:u,searchText:l,onSelectTab:R,setHeaderHeight:p,setSearchText:c,interests:a,selectedInterest:r,interestsDisplayNames:s});return(0,bt.jsx)(Ms.InnerFlatList,{ref:u,data:T,renderItem:k,ListHeaderComponent:E,stickyHeaderIndices:[0],keyExtractor:e=>e.key,style:[Bs.atoms.px_0,(0,Bs.web)([Bs.atoms.py_0,{height:”100vh”,maxHeight:600}]),(0,Bs.native)({height:”100%”})],webInnerContentContainerStyle:Bs.atoms.py_0,webInnerStyle:[Bs.atoms.py_0,{maxWidth:500,minWidth:200}],keyboardDismissMode:”on-drag”,scrollIndicatorInsets:{top:h},initialNumToRender:8,maxToRenderPerBatch:8,onViewableItemsChanged:I,viewabilityConfig:L})}let Ul=e=>{const t=(0,a.c)(32),{guide:s,inputRef:o,listRef:n,searchText:r,onSelectTab:i,setHeaderHeight:l,setSearchText:c,interests:d,selectedInterest:u,interestsDisplayNames:m}=e,h=(0,Bs.useTheme)(),p=Ms.useDialogContext();let f,g,x,_,y,b,j,v;t[0]!==l?(f=e=>l(e.nativeEvent.layout.height),t[0]=l,t[1]=f):f=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(g=(0,Bs.web)(Bs.atoms.pt_lg),x=(0,Bs.native)(Bs.atoms.pt_4xl),t[2]=g,t[3]=x):(g=t[2],x=t[3]),t[4]!==h.atoms.bg||t[5]!==h.atoms.border_contrast_low?(_=[Bs.atoms.relative,g,x,Bs.atoms.pb_xs,Bs.atoms.border_b,h.atoms.border_contrast_low,h.atoms.bg],t[4]=h.atoms.bg,t[5]=h.atoms.border_contrast_low,t[6]=_):_=t[6],t[7]!==s?(y=(0,bt.jsx)(Gl,{guide:s}),t[7]=s,t[8]=y):y=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(b=[(0,Bs.web)(Bs.atoms.pt_xs),Bs.atoms.pb_xs],t[9]=b):b=t[9],t[10]!==n||t[11]!==c?(j=e=>{c(e),n.current?.scrollToOffset({offset:0,animated:!1})},t[10]=n,t[11]=c,t[12]=j):j=t[12],t[13]!==p.close||t[14]!==o||t[15]!==r||t[16]!==j?(v=(0,bt.jsx)(Zl,{inputRef:o,defaultValue:r,onChangeText:j,onEscape:p.close}),t[13]=p.close,t[14]=o,t[15]=r,t[16]=j,t[17]=v):v=t[17];const S=!!r;let w,T,k;return t[18]!==d||t[19]!==m||t[20]!==i||t[21]!==u||t[22]!==S?(w=(0,bt.jsx)(Rl,{onSelectTab:i,interests:d,selectedInterest:u,disabled:S,interestsDisplayNames:m,TabComponent:Wl}),t[18]=d,t[19]=m,t[20]=i,t[21]=u,t[22]=S,t[23]=w):w=t[23],t[24]!==w||t[25]!==v?(T=(0,bt.jsxs)(Cs.default,{style:b,children:[v,w]}),t[24]=w,t[25]=v,t[26]=T):T=t[26],t[27]!==f||t[28]!==T||t[29]!==_||t[30]!==y?(k=(0,bt.jsxs)(Cs.default,{onLayout:f,style:_,children:[y,T]}),t[27]=f,t[28]=T,t[29]=_,t[30]=y,t[31]=k):k=t[31],k};function Gl(e){const t=(0,a.c)(15),{guide:s}=e,{_:o}=(0,ut.useLingui)(),n=(0,Bs.useTheme)(),r=Ms.useDialogContext();let i,l,c,d,u,m,h;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=[Bs.atoms.px_lg,Bs.atoms.relative,Bs.atoms.flex_row,Bs.atoms.justify_between,Bs.atoms.align_center],t[0]=i):i=t[0],t[1]!==n.atoms.text_contrast_high?(l=[Bs.atoms.z_10,Bs.atoms.text_lg,Bs.atoms.font_bold,Bs.atoms.leading_tight,n.atoms.text_contrast_high],t[1]=n.atoms.text_contrast_high,t[2]=l):l=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,bt.jsx)(ut.Trans,{id:”zjruXt”}),t[3]=c):c=t[3],t[4]!==l?(d=(0,bt.jsx)(Xs.Text,{style:l,children:c}),t[4]=l,t[5]=d):d=t[5],t[6]!==s?(u=s&&(0,bt.jsx)(Cs.default,{style:os.isWeb&&{paddingRight:36},children:(0,bt.jsx)(Ol,{current:s.numFollows+1,total:11,title:`${s.numFollows} / 10`,tabularNumsTitle:!0})}),t[6]=s,t[7]=u):u=t[7],t[8]!==o||t[9]!==r?(m=os.isWeb?(0,bt.jsx)(Ks.Button,{label:o({id:”yz7wBu”}),size:”small”,shape:”round”,variant:os.isWeb?”ghost”:”solid”,color:”secondary”,style:[Bs.atoms.absolute,Bs.atoms.z_20,(0,Bs.web)({right:8}),(0,Bs.native)({right:0}),(0,Bs.native)({height:32,width:32,borderRadius:16})],onPress:()=>r.close(),children:(0,bt.jsx)(Ks.ButtonIcon,{icon:Si.TimesLarge_Stroke2_Corner0_Rounded,size:”md”})}):null,t[8]=o,t[9]=r,t[10]=m):m=t[10],t[11]!==d||t[12]!==u||t[13]!==m?(h=(0,bt.jsxs)(Cs.default,{style:i,children:[d,u,m]}),t[11]=d,t[12]=u,t[13]=m,t[14]=h):h=t[14],h}Ul=(0,ct.memo)(Ul);let Wl=e=>{const t=(0,a.c)(26),{onSelectTab:s,interest:o,active:n,index:r,interestsDisplayName:i,onLayout:l}=e,c=(0,Bs.useTheme)(),{_:d}=(0,ut.useLingui)();let u;t[0]!==d||t[1]!==n||t[2]!==i?(u=d(n?{values:{interestsDisplayName:i},id:”Uj7dy6″}:{values:{interestsDisplayName:i},id:”pfhtuo”}),t[0]=d,t[1]=n,t[2]=i,t[3]=u):u=t[3];const m=u;let h,p,f,g,x;return t[4]!==r||t[5]!==l?(h=e=>l(r,e.nativeEvent.layout.x,e.nativeEvent.layout.width),t[4]=r,t[5]=l,t[6]=h):h=t[6],t[7]!==r||t[8]!==s?(p=()=>s(r),t[7]=r,t[8]=s,t[9]=p):p=t[9],t[10]!==n||t[11]!==i||t[12]!==c.atoms.bg||t[13]!==c.atoms.bg_contrast_25||t[14]!==c.atoms.border_contrast_low||t[15]!==c.atoms.text||t[16]!==c.atoms.text_contrast_medium?(f=e=>{const{hovered:t,pressed:s}=e;return(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,Bs.atoms.px_lg,Bs.atoms.py_sm,Bs.atoms.border,n||t||s?[c.atoms.bg_contrast_25,{borderColor:c.atoms.bg_contrast_25.backgroundColor}]:[c.atoms.bg,c.atoms.border_contrast_low]],children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_medium,n||t||s?c.atoms.text:c.atoms.text_contrast_medium],children:i})})},t[10]=n,t[11]=i,t[12]=c.atoms.bg,t[13]=c.atoms.bg_contrast_25,t[14]=c.atoms.border_contrast_low,t[15]=c.atoms.text,t[16]=c.atoms.text_contrast_medium,t[17]=f):f=t[17],t[18]!==m||t[19]!==p||t[20]!==f?(g=(0,bt.jsx)(Ks.Button,{label:m,onPress:p,children:f}),t[18]=m,t[19]=p,t[20]=f,t[21]=g):g=t[21],t[22]!==o||t[23]!==h||t[24]!==g?(x=(0,bt.jsx)(Cs.default,{onLayout:h,children:g},o),t[22]=o,t[23]=h,t[24]=g,t[25]=x):x=t[25],x};Wl=(0,ct.memo)(Wl);let ql=e=>{const t=(0,a.c)(4),{profile:s,moderationOpts:o,noBorder:n}=e;let r;return t[0]!==o||t[1]!==n||t[2]!==s?(r=(0,bt.jsx)(Ql,{profile:s,moderationOpts:o,noBorder:n}),t[0]=o,t[1]=n,t[2]=s,t[3]=r):r=t[3],r};function Ql(e){const t=(0,a.c)(13),{profile:s,moderationOpts:o,onFollow:n,noBorder:r}=e,i=Ms.useDialogContext(),l=(0,Bs.useTheme)();let c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c=[Bs.atoms.flex_1],t[0]=c):c=t[0],t[1]!==i?(d=()=>i.close(),t[1]=i,t[2]=d):d=t[2],t[3]!==o||t[4]!==r||t[5]!==n||t[6]!==s||t[7]!==l?(u=e=>{const{hovered:t,pressed:a}=e;return(0,bt.jsx)(Kl,{style:[Bs.atoms.flex_1,r&&Bs.atoms.border_t_0,(t||a)&&l.atoms.bg_contrast_25],children:(0,bt.jsxs)(_l.Outer,{children:[(0,bt.jsxs)(_l.Header,{children:[(0,bt.jsx)(_l.Avatar,{disabledPreview:!os.isWeb,profile:s,moderationOpts:o}),(0,bt.jsx)(_l.NameAndHandle,{profile:s,moderationOpts:o}),(0,bt.jsx)(_l.FollowButton,{profile:s,moderationOpts:o,logContext:”PostOnboardingFindFollows”,shape:”round”,onPress:n,colorInverted:!0})]}),(0,bt.jsx)(_l.Description,{profile:s,numberOfLines:2})]})})},t[3]=o,t[4]=r,t[5]=n,t[6]=s,t[7]=l,t[8]=u):u=t[8],t[9]!==s||t[10]!==d||t[11]!==u?(m=(0,bt.jsx)(_l.Link,{profile:s,style:c,onPress:d,children:u}),t[9]=s,t[10]=d,t[11]=u,t[12]=m):m=t[12],m}function Kl(e){const t=(0,a.c)(6),{children:s,style:o}=e,n=(0,Bs.useTheme)();let r,i;return t[0]!==o||t[1]!==n.atoms.border_contrast_low?(r=[Bs.atoms.w_full,Bs.atoms.py_md,Bs.atoms.px_lg,Bs.atoms.border_t,n.atoms.border_contrast_low,o],t[0]=o,t[1]=n.atoms.border_contrast_low,t[2]=r):r=t[2],t[3]!==s||t[4]!==r?(i=(0,bt.jsx)(Cs.default,{style:r,children:s}),t[3]=s,t[4]=r,t[5]=i):i=t[5],i}function Zl(e){const t=(0,a.c)(33),{onChangeText:s,onEscape:o,inputRef:n,defaultValue:r}=e,i=(0,Bs.useTheme)(),{_:l}=(0,ut.useLingui)(),{state:c,onIn:d,onOut:u}=(0,Zn.useInteractionState)(),{state:m,onIn:h,onOut:p}=(0,Zn.useInteractionState)(),f=c||m;let g,x;t[0]!==d||t[1]!==u?(g=(0,Bs.web)({onMouseEnter:d,onMouseLeave:u}),t[0]=d,t[1]=u,t[2]=g):g=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_sm,Bs.atoms.px_lg,Bs.atoms.py_xs],t[3]=x):x=t[3];const _=f?i.palette.primary_500:i.palette.contrast_300;let y,b,j;t[4]!==_?(y=(0,bt.jsx)(Tl.MagnifyingGlass_Stroke2_Corner0_Rounded,{size:”md”,fill:_}),t[4]=_,t[5]=y):y=t[5],t[6]!==l?(b=l({id:”OKweoj”}),t[6]=l,t[7]=b):b=t[7],t[8]!==i.atoms.text?(j=[Bs.atoms.flex_1,Bs.atoms.py_md,Bs.atoms.text_md,i.atoms.text],t[8]=i.atoms.text,t[9]=j):j=t[9];const v=i.palette.contrast_500,S=”light”===i.name?”light”:”dark”;let w,T,k,C,P;return t[10]!==o?(w=e=>{const{nativeEvent:t}=e;”Escape”===t.key&&o()},t[10]=o,t[11]=w):w=t[11],t[12]!==l?(T=l({id:”/r0Dm5″}),t[12]=l,t[13]=T):T=t[13],t[14]!==l?(k=l({id:”XRcrP9″}),t[14]=l,t[15]=k):k=t[15],t[16]!==r||t[17]!==n||t[18]!==p||t[19]!==s||t[20]!==h||t[21]!==i.palette.contrast_500||t[22]!==T||t[23]!==k||t[24]!==b||t[25]!==j||t[26]!==S||t[27]!==w?(C=(0,bt.jsx)(yl.default,{ref:n,placeholder:b,defaultValue:r,onChangeText:s,onFocus:h,onBlur:p,style:j,placeholderTextColor:v,keyboardAppearance:S,returnKeyType:”search”,clearButtonMode:”while-editing”,maxLength:50,onKeyPress:w,autoCorrect:!1,autoComplete:”off”,autoCapitalize:”none”,accessibilityLabel:T,accessibilityHint:k}),t[16]=r,t[17]=n,t[18]=p,t[19]=s,t[20]=h,t[21]=i.palette.contrast_500,t[22]=T,t[23]=k,t[24]=b,t[25]=j,t[26]=S,t[27]=w,t[28]=C):C=t[28],t[29]!==g||t[30]!==C||t[31]!==y?(P=(0,bt.jsxs)(Cs.default,Object.assign({},g,{style:x,children:[y,C]})),t[29]=g,t[30]=C,t[31]=y,t[32]=P):P=t[32],P}function Yl(){const e=(0,a.c)(17),t=(0,Bs.useTheme)();let s,o,n,r,i,l,c,d,u,m;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=[Bs.atoms.flex_1,Bs.atoms.py_md,Bs.atoms.px_lg,Bs.atoms.gap_md,Bs.atoms.align_center,Bs.atoms.flex_row],e[0]=s):s=e[0],e[1]===Symbol.for(“react.memo_cache_sentinel”)?(o={width:42,height:42},e[1]=o):o=e[1],e[2]!==t.atoms.bg_contrast_25?(n=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,o,t.atoms.bg_contrast_25]}),e[2]=t.atoms.bg_contrast_25,e[3]=n):n=e[3],e[4]===Symbol.for(“react.memo_cache_sentinel”)?(r=[Bs.atoms.flex_1,Bs.atoms.gap_sm],e[4]=r):r=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(i={width:80,height:14},e[5]=i):i=e[5],e[6]!==t.atoms.bg_contrast_25?(l=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,i,t.atoms.bg_contrast_25]}),e[6]=t.atoms.bg_contrast_25,e[7]=l):l=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(c={width:120,height:10},e[8]=c):c=e[8],e[9]!==t.atoms.bg_contrast_25?(d=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,c,t.atoms.bg_contrast_25]}),e[9]=t.atoms.bg_contrast_25,e[10]=d):d=e[10],e[11]!==l||e[12]!==d?(u=(0,bt.jsxs)(Cs.default,{style:r,children:[l,d]}),e[11]=l,e[12]=d,e[13]=u):u=e[13],e[14]!==n||e[15]!==u?(m=(0,bt.jsxs)(Cs.default,{style:s,children:[n,u]}),e[14]=n,e[15]=u,e[16]=m):m=e[16],m}function $l(e){const t=(0,a.c)(11),{message:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[Bs.atoms.p_lg,Bs.atoms.py_xl,Bs.atoms.align_center,Bs.atoms.gap_md],t[0]=n):n=t[0],t[1]!==o.atoms.text_contrast_high?(r=[Bs.atoms.text_sm,Bs.atoms.italic,o.atoms.text_contrast_high],t[1]=o.atoms.text_contrast_high,t[2]=r):r=t[2],t[3]!==s||t[4]!==r?(i=(0,bt.jsx)(Xs.Text,{style:r,children:s}),t[3]=s,t[4]=r,t[5]=i):i=t[5],t[6]!==o.atoms.text_contrast_low?(l=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_xs,o.atoms.text_contrast_low],children:”(\u256f\xb0\u25a1\xb0)\u256f\ufe35 \u253b\u2501\u253b”}),t[6]=o.atoms.text_contrast_low,t[7]=l):l=t[7],t[8]!==i||t[9]!==l?(c=(0,bt.jsxs)(Cs.default,{style:n,children:[i,l]}),t[8]=i,t[9]=l,t[10]=c):c=t[10],c}ql=(0,ct.memo)(ql);var Xl=o(64559),Jl=o(56694);const ec=10;function tc(e){const t=(0,a.c)(34),{style:s}=e,o=(0,Bs.useTheme)(),{_:n}=(0,ut.useLingui)(),{gtPhone:r}=(0,Bs.useBreakpoints)(),{rightNavVisible:i}=(0,Bs.useLayoutBreakpoints)(),{currentAccount:l}=(0,Lt.useSession)(),c=(0,gs.useProgressGuide)(“follow-10”),d=(0,gs.useProgressGuide)(“like-10-and-follow-7”),u=c||d,{endProgressGuide:m}=(0,gs.useProgressGuideControls)();let h;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(h={limit:ec},t[0]=h):h=t[0];const{data:p}=(0,Xl.useProfileFollowsQuery)(l?.did,h),f=p?.pages?.[0]?.follows?.length??0;if(“follow-10″===u?.guide&&f>=ec)return null;const g=r&&!i;if(u){let e,a,r,i,l,c,d,h,f,x,_,y,b;return t[1]!==s||t[2]!==o.atoms.bg_contrast_25?(e=[Bs.atoms.flex_col,Bs.atoms.gap_md,Bs.atoms.rounded_md,o.atoms.bg_contrast_25,Bs.atoms.p_lg,s],t[1]=s,t[2]=o.atoms.bg_contrast_25,t[3]=e):e=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(a=[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.justify_between],t[4]=a):a=t[4],t[5]!==o.atoms.text?(r=[o.atoms.text,Bs.atoms.font_semi_bold,Bs.atoms.text_md],t[5]=o.atoms.text,t[6]=r):r=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,bt.jsx)(ut.Trans,{id:”5OAfj2″}),t[7]=i):i=t[7],t[8]!==r?(l=(0,bt.jsx)(Xs.Text,{style:r,children:i}),t[8]=r,t[9]=l):l=t[9],t[10]!==n?(c=n({id:”uwkE+S”}),t[10]=n,t[11]=c):c=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(d=[Bs.atoms.bg_transparent,{marginTop:-6,marginRight:-6}],h=(0,bt.jsx)(Ks.ButtonIcon,{icon:Si.TimesLarge_Stroke2_Corner0_Rounded,size:”xs”}),t[12]=d,t[13]=h):(d=t[12],h=t[13]),t[14]!==m||t[15]!==c?(f=(0,bt.jsx)(Ks.Button,{variant:”ghost”,size:”tiny”,color:”secondary”,shape:”round”,label:c,onPress:m,style:d,children:h}),t[14]=m,t[15]=c,t[16]=f):f=t[16],t[17]!==f||t[18]!==l?(x=(0,bt.jsxs)(Cs.default,{style:a,children:[l,f]}),t[17]=f,t[18]=l,t[19]=x):x=t[19],t[20]!==p?.pages?.[0]?.follows||t[21]!==u||t[22]!==g?(_=”follow-10″===u.guide&&(0,bt.jsxs)(Cs.default,{style:[g?[Bs.atoms.flex_row,Bs.atoms.flex_wrap,Bs.atoms.align_center,Bs.atoms.justify_between,Bs.atoms.gap_sm]:Bs.atoms.flex_col,!g&&Bs.atoms.gap_md],children:[(0,bt.jsx)(sc,{follows:p?.pages?.[0]?.follows}),(0,bt.jsx)(Fl,{guide:u,showArrow:g})]}),t[20]=p?.pages?.[0]?.follows,t[21]=u,t[22]=g,t[23]=_):_=t[23],t[24]!==n||t[25]!==u.guide||t[26]!==u.numFollows||t[27]!==u.numLikes?(y=”like-10-and-follow-7″===u.guide&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Ol,{current:u.numLikes+1,total:11,title:n({id:”U4+xpl”}),subtitle:n({id:”rrAqb8″})}),(0,bt.jsx)(Ol,{current:u.numFollows+1,total:8,title:n({id:”6UV0sV”}),subtitle:n({id:”Pddc2S”})})]}),t[24]=n,t[25]=u.guide,t[26]=u.numFollows,t[27]=u.numLikes,t[28]=y):y=t[28],t[29]!==x||t[30]!==_||t[31]!==y||t[32]!==e?(b=(0,bt.jsxs)(Cs.default,{style:e,children:[x,_,y]}),t[29]=x,t[30]=_,t[31]=y,t[32]=e,t[33]=b):b=t[33],b}return null}function sc(e){const t=(0,a.c)(33),{follows:s}=e,o=(0,Bs.useTheme)(),{centerColumnOffset:n}=(0,Bs.useLayoutBreakpoints)(),r=n?30:37,i=n?9:11,l=n?14:18;let c,d,u,m,h,p,f;if(t[0]!==r||t[1]!==s||t[2]!==i||t[3]!==o){d=s?.slice(0,ec)??[],u=ec-d.length;const e=r+(ec-1)*(r-i);let n;c=Cs.default,t[9]!==e?(m=[Bs.atoms.flex_row,Bs.atoms.self_start,{width:e}],t[9]=e,t[10]=m):m=t[10],t[11]!==r||t[12]!==i||t[13]!==o?(n=(e,t)=>(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,{marginLeft:0===t?0:-i,zIndex:ec-t,borderWidth:2,borderColor:o.atoms.bg_contrast_25.backgroundColor}],children:(0,bt.jsx)(Li.UserAvatar,{type:”user”,size:r-4,avatar:e.avatar})},e.did),t[11]=r,t[12]=i,t[13]=o,t[14]=n):n=t[14],h=d.map(n),t[0]=r,t[1]=s,t[2]=i,t[3]=o,t[4]=c,t[5]=d,t[6]=u,t[7]=m,t[8]=h}else c=t[4],d=t[5],u=t[6],m=t[7],h=t[8];if(t[15]!==r||t[16]!==d||t[17]!==l||t[18]!==i||t[19]!==u||t[20]!==o){let e;t[22]!==r||t[23]!==d||t[24]!==l||t[25]!==i||t[26]!==o?(e=(e,t)=>(0,bt.jsx)(Cs.default,{style:[Bs.atoms.align_center,Bs.atoms.justify_center,Bs.atoms.rounded_full,o.atoms.bg_contrast_100,{width:r,height:r,marginLeft:0===d.length&&0===t?0:-i,zIndex:ec-d.length-t,borderWidth:2,borderColor:o.atoms.bg_contrast_25.backgroundColor}],children:(0,bt.jsx)(Jl.Person_Stroke2_Corner2_Rounded,{width:l,height:l,fill:o.atoms.text_contrast_low.color})},`placeholder-${t}`),t[22]=r,t[23]=d,t[24]=l,t[25]=i,t[26]=o,t[27]=e):e=t[27],p=Array(u).fill(0).map(e),t[15]=r,t[16]=d,t[17]=l,t[18]=i,t[19]=u,t[20]=o,t[21]=p}else p=t[21];return t[28]!==c||t[29]!==m||t[30]!==h||t[31]!==p?(f=(0,bt.jsxs)(c,{style:m,children:[h,p]}),t[28]=c,t[29]=m,t[30]=h,t[31]=p,t[32]=f):f=t[32],f}const oc=200,nc=165,ac=120;function rc(e){const t=(0,a.c)(11),{children:s,style:o}=e,n=(0,Bs.useTheme)(),{gtMobile:r}=(0,Bs.useBreakpoints)();let i,l,c;return t[0]!==r?(i=!r&&{width:nc},t[0]=r,t[1]=i):i=t[1],t[2]!==o||t[3]!==n.atoms.bg||t[4]!==n.atoms.border_contrast_low||t[5]!==n.atoms.shadow_sm||t[6]!==i?(l=[Bs.atoms.flex_1,Bs.atoms.w_full,Bs.atoms.p_md,Bs.atoms.rounded_lg,Bs.atoms.border,n.atoms.bg,n.atoms.shadow_sm,n.atoms.border_contrast_low,i,o],t[2]=o,t[3]=n.atoms.bg,t[4]=n.atoms.border_contrast_low,t[5]=n.atoms.shadow_sm,t[6]=i,t[7]=l):l=t[7],t[8]!==s||t[9]!==l?(c=(0,bt.jsx)(Cs.default,{testID:”CardOuter”,style:l,children:s}),t[8]=s,t[9]=l,t[10]=c):c=t[10],c}function ic(){const e=(0,a.c)(4);let t,s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[Bs.atoms.flex_col,Bs.atoms.align_center,Bs.atoms.gap_sm,Bs.atoms.pb_sm,Bs.atoms.mb_auto],s=(0,bt.jsx)(_l.AvatarPlaceholder,{size:88}),o=(0,bt.jsx)(_l.NamePlaceholder,{}),e[0]=t,e[1]=s,e[2]=o):(t=e[0],s=e[1],o=e[2]),e[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,bt.jsx)(rc,{children:(0,bt.jsxs)(_l.Outer,{children:[(0,bt.jsxs)(Cs.default,{style:t,children:[s,o,(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full],children:(0,bt.jsx)(_l.DescriptionPlaceholder,{numberOfLines:2})})]}),(0,bt.jsx)(_l.FollowButtonPlaceholder,{})]})}),e[3]=n):n=e[3],n}function lc(e){let t;t=”popfriends”===e.feedContext?”a”:e.feedContext?.startsWith(“cluster”)?”b”:”popcluster”===e.feedContext?”c”:e.feedContext?.startsWith(“ntpc”)?”d”:e.feedContext?.startsWith(“t-“)?”e”:”nettop”===e.feedContext?”f”:”g”;let s=Math.round(Math.log(1+e.likeCount+e.repostCount+e.replyCount));(e.isFollowedBy||Math.random()>.9)&&(s*=2);return`${t}-${100-s}`}function cc(e,t){const s=lc(e),o=lc(t);return s>o?1:s{p((t=>new Set(t).add(e))),setTimeout((()=>{m((t=>new Set(t).add(e))),p((t=>{const s=new Set(t);return s.delete(e),s}))}),oc)}),[]),g=ct.useMemo((()=>{const t=a?.suggestions??[],s=i?.pages.flatMap((e=>e.actors))??[],o=new Set,n=[];for(const e of t)o.has(e.did)||(o.add(e.did),n.push(e));for(const a of s)o.has(a.did)||a.did===e||(o.add(a.did),n.push(a));return n}),[a?.suggestions,i?.pages,e]),x=ct.useMemo((()=>g.filter((e=>!u.has(e.did)))),[g,u]);return ct.useEffect((()=>{s&&x.length{const{likes:s,follows:o,followSuggestions:n,seen:a}=t,r=s.map((e=>new Sn.AtUri(e))).map((e=>e.host)).filter((e=>!o.includes(e)));let i=[];n.length>0&&(i=[n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)]]);const l=a.sort(cc).map((e=>new Sn.AtUri(e.uri))).map((e=>e.host));return[…new Set([…i,…r,…l])].filter((t=>t!==e?.did))}),[t,e]),{data:o,isLoading:n,error:a}=(0,At.useProfilesQuery)({handles:s.slice(0,16)});return{isLoading:n,error:a,profiles:(o?o.profiles.filter((e=>!e.viewer?.following)):[]).slice(0,6)}}(),{data:r,fetchNextPage:i,hasNextPage:l,isFetchingNextPage:c,error:d}=(0,Pi.useSuggestedFollowsQuery)({limit:25}),[u,m]=ct.useState(new Set),[h,p]=ct.useState(new Set),f=ct.useCallback((e=>{p((t=>new Set(t).add(e))),setTimeout((()=>{m((t=>new Set(t).add(e))),p((t=>{const s=new Set(t);return s.delete(e),s}))}),oc)}),[]),g=ct.useMemo((()=>{const e=r?.pages.flatMap((e=>e.actors))??[],t=new Set,s=[];for(const o of n)t.has(o.did)||(t.add(o.did),s.push(o));for(const o of e)t.has(o.did)||(t.add(o.did),s.push(o));return s}),[n,r?.pages]),x=ct.useMemo((()=>g.filter((e=>!u.has(e.did)))),[g,u]);return ct.useEffect((()=>{t&&x.length{if(b||o||!n.length)return;if(I.current)return;I.current=!0;n.slice(0,T).forEach(((e,t)=>{P.current.has(e.did)||(P.current.add(e.did),vt.logger.metric(“suggestedUser:seen”,{logContext:L,recId:i,position:t,suggestedDid:e.did,category:null},{statsig:!0}))}))},t[4]=o,t[5]=b,t[6]=L,t[7]=T,t[8]=n,t[9]=i,t[10]=R):R=t[10];const E=R;let D,B,M,O,F;t[11]!==E||t[12]!==j||t[13]!==h?(D=()=>{if(j){if(!h)return void(I.current=!1);E()}},B=[h,j,E],t[11]=E,t[12]=j,t[13]=h,t[14]=D,t[15]=B):(D=t[14],B=t[15]),(0,ct.useEffect)(D,B),t[16]!==o||t[17]!==E||t[18]!==b||t[19]!==j||t[20]!==n.length?(M=()=>{if(j)return;if(b||o||!n.length)return;const e=A.current;if(e){if(“undefined”!==typeof IntersectionObserver){const t=new IntersectionObserver((e=>{e[0]?.isIntersecting&&(E(),t.disconnect())}),{threshold:.5});return t.observe(e),()=>t.disconnect()}{const e=setTimeout((()=>{E()}),500);return()=>clearTimeout(e)}}},O=[j,b,o,n.length,E],t[16]=o,t[17]=E,t[18]=b,t[19]=j,t[20]=n.length,t[21]=M,t[22]=O):(M=t[21],O=t[22]),(0,ct.useEffect)(M,O),t[23]!==f||t[24]!==d||t[25]!==o||t[26]!==_||t[27]!==v||t[28]!==b||t[29]!==T||t[30]!==x||t[31]!==c||t[32]!==n||t[33]!==i||t[34]!==w||t[35]!==p?(F=b?Array(T).fill(0).map(((e,t)=>(0,bt.jsx)(Cs.default,{style:[Bs.atoms.flex_1,_&&(0,Bs.web)([Bs.atoms.flex_0,Bs.atoms.flex_grow,{width:`calc(30% – ${Bs.atoms.gap_md.gap/2}px)`}])],children:(0,bt.jsx)(ic,{})},t))):o||!n.length?null:n.slice(0,T).map(((e,t)=>(0,bt.jsx)(dn.default.View,{layout:dn.LinearTransition.duration(oc),style:[Bs.atoms.flex_1,_&&(0,Bs.web)([Bs.atoms.flex_0,Bs.atoms.flex_grow,{width:`calc(30% – ${Bs.atoms.gap_md.gap/2}px)`}]),{opacity:d?.has(e.did)?0:1,transitionProperty:”opacity”,transitionDuration:`${oc}ms`}],children:(0,bt.jsx)(_l.Link,{profile:e,onPress:()=>{(0,ht.logEvent)(“suggestedUser:press”,{logContext:v?”InterstitialDiscover”:”InterstitialProfile”,recId:i,position:t,suggestedDid:e.did,category:null})},style:[Bs.atoms.flex_1],children:s=>{const{hovered:o,pressed:n}=s;return(0,bt.jsx)(rc,{style:[(o||n)&&p.atoms.border_contrast_high],children:(0,bt.jsxs)(_l.Outer,{children:[w&&(0,bt.jsx)(Ks.Button,{label:f({id:”kh25xb”}),onPress:s=>{s.preventDefault(),c(e.did),(0,ht.logEvent)(“suggestedUser:dismiss”,{logContext:v?”InterstitialDiscover”:”InterstitialProfile”,position:t,suggestedDid:e.did,recId:i})},style:[Bs.atoms.absolute,Bs.atoms.z_10,Bs.atoms.p_xs,{top:-4,right:-4}],children:e=>{const{hovered:t,pressed:s}=e;return(0,bt.jsx)(Si.TimesLarge_Stroke2_Corner0_Rounded,{size:”xs”,fill:t||s?p.atoms.text.color:p.atoms.text_contrast_medium.color})}}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_col,Bs.atoms.align_center,Bs.atoms.gap_sm,Bs.atoms.pb_sm,Bs.atoms.mb_auto],children:[(0,bt.jsx)(_l.Avatar,{profile:e,moderationOpts:x,disabledPreview:!0,size:88}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_col,Bs.atoms.align_center,Bs.atoms.max_w_full],children:[(0,bt.jsx)(_l.Name,{profile:e,moderationOpts:x}),(0,bt.jsx)(_l.Description,{profile:e,numberOfLines:2,style:[p.atoms.text_contrast_medium,Bs.atoms.text_center,Bs.atoms.text_xs]})]})]}),(0,bt.jsx)(_l.FollowButton,{profile:e,moderationOpts:x,logContext:”FeedInterstitial”,withIcon:!1,style:[Bs.atoms.rounded_sm],onFollow:()=>{(0,ht.logEvent)(“suggestedUser:follow”,{logContext:v?”InterstitialDiscover”:”InterstitialProfile”,location:”Card”,recId:i,position:t,suggestedDid:e.did,category:null})}})]})})}})},e.did))),t[23]=f,t[24]=d,t[25]=o,t[26]=_,t[27]=v,t[28]=b,t[29]=T,t[30]=x,t[31]=c,t[32]=n,t[33]=i,t[34]=w,t[35]=p,t[36]=F):F=t[36];const N=F,H=r??n.length;if(o||!b&&H{y.open(),(0,ht.logEvent)(“suggestedUser:seeMore”,{logContext:v?”Explore”:”Profile”})},children:e=>{const{hovered:t}=e;return(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,{color:p.palette.primary_500},t&&(0,Bs.web)({textDecorationLine:”underline”,textDecorationColor:p.palette.primary_500})],children:(0,bt.jsx)(ut.Trans,{id:”V1fa9u”})})}}),t[49]=f,t[50]=y,t[51]=v,t[52]=j,t[53]=p.palette,t[54]=Q):Q=t[54],t[55]!==q||t[56]!==Q?(K=(0,bt.jsxs)(Cs.default,{style:U,pointerEvents:os.isIOS?”auto”:”box-none”,children:[q,Q]}),t[55]=q,t[56]=Q,t[57]=K):K=t[57],t[58]!==y?(Z=(0,bt.jsx)(Nl,{control:y}),t[58]=y,t[59]=Z):Z=t[59],t[60]!==N||t[61]!==y||t[62]!==_||t[63]!==j?(Y=_?(0,bt.jsx)(Cs.default,{style:[Bs.atoms.p_lg,Bs.atoms.pt_md],children:(0,bt.jsx)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.flex_row,Bs.atoms.flex_wrap,Bs.atoms.gap_md],children:N})}):(0,bt.jsx)(Ii,{children:(0,bt.jsxs)(Ci.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:[Bs.atoms.p_lg,Bs.atoms.pt_md,Bs.atoms.flex_row,Bs.atoms.gap_md],snapToInterval:nc+Bs.atoms.gap_md.gap,decelerationRate:”fast”,children:[N,!j&&(0,bt.jsx)(pc,{onPress:()=>{y.open(),vt.logger.metric(“suggestedUser:seeMore”,{logContext:”Explore”})}})]})}),t[60]=N,t[61]=y,t[62]=_,t[63]=j,t[64]=Y):Y=t[64],t[65]!==V||t[66]!==K||t[67]!==Z||t[68]!==Y?($=(0,bt.jsxs)(Cs.default,{ref:A,style:V,pointerEvents:os.isIOS?”auto”:”box-none”,children:[K,Z,Y]}),t[65]=V,t[66]=K,t[67]=Z,t[68]=Y,t[69]=$):$=t[69],$}function pc(e){const t=(0,a.c)(8),{onPress:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i,l,c;return t[0]!==o?(n=o({id:”xFpMsp”}),t[0]=o,t[1]=n):n=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(r=[Bs.atoms.flex_col,Bs.atoms.align_center,Bs.atoms.justify_center,Bs.atoms.gap_sm,Bs.atoms.p_md,Bs.atoms.rounded_lg,{width:ac}],i=(0,bt.jsx)(Ks.ButtonIcon,{icon:pl.ArrowRight_Stroke2_Corner0_Rounded,size:”lg”}),t[2]=r,t[3]=i):(r=t[2],i=t[3]),t[4]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,bt.jsx)(Ks.ButtonText,{style:[Bs.atoms.text_md,Bs.atoms.font_medium,Bs.atoms.leading_snug,Bs.atoms.text_center],children:(0,bt.jsx)(ut.Trans,{id:”V1fa9u”})}),t[4]=l):l=t[4],t[5]!==s||t[6]!==n?(c=(0,bt.jsxs)(Ks.Button,{label:n,onPress:s,style:r,children:[i,l]}),t[5]=s,t[6]=n,t[7]=c):c=t[7],c}function fc(){const e=(0,a.c)(8),t=(0,Bs.useTheme)(),{gtMobile:s}=(0,Bs.useBreakpoints)();let o,n,r,i;return e[0]!==s?(o=!s&&{marginTop:4},e[0]=s,e[1]=o):o=e[1],e[2]!==t.atoms.border_contrast_low||e[3]!==o?(n=[t.atoms.border_contrast_low,Bs.atoms.px_lg,Bs.atoms.py_lg,o],e[2]=t.atoms.border_contrast_low,e[3]=o,e[4]=n):n=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,bt.jsx)(tc,{}),e[5]=r):r=e[5],e[6]!==n?(i=(0,bt.jsx)(Cs.default,{style:n,children:r}),e[6]=n,e[7]=i):i=e[7],i}const gc=(0,ct.createContext)({gap:0});function xc(e){const t=(0,a.c)(14),{children:s,gap:o,style:n}=e,r=void 0===o?0:o;let i;t[0]!==r?(i={gap:r},t[0]=r,t[1]=i):i=t[1];const l=i,c=-r/2,d=-r/2;let u,m,h,p;return t[2]!==c||t[3]!==d?(u={marginLeft:c,marginRight:d},t[2]=c,t[3]=d,t[4]=u):u=t[4],t[5]!==n||t[6]!==u?(m=[Bs.atoms.flex_row,Bs.atoms.flex_1,u,n],t[5]=n,t[6]=u,t[7]=m):m=t[7],t[8]!==s||t[9]!==m?(h=(0,bt.jsx)(Cs.default,{style:m,children:s}),t[8]=s,t[9]=m,t[10]=h):h=t[10],t[11]!==l||t[12]!==h?(p=(0,bt.jsx)(gc.Provider,{value:l,children:h}),t[11]=l,t[12]=h,t[13]=p):p=t[13],p}function _c(e){const t=(0,a.c)(10),{children:s,width:o,style:n}=e,r=void 0===o?1:o,{gap:i}=(0,ct.useContext)(gc),l=i/2,c=i/2,d=100*r+”%”;let u,m,h;return t[0]!==l||t[1]!==c||t[2]!==d?(u={paddingLeft:l,paddingRight:c,width:d},t[0]=l,t[1]=c,t[2]=d,t[3]=u):u=t[3],t[4]!==n||t[5]!==u?(m=[Bs.atoms.flex_col,u,n],t[4]=n,t[5]=u,t[6]=m):m=t[6],t[7]!==s||t[8]!==m?(h=(0,bt.jsx)(Cs.default,{style:m,children:s}),t[7]=s,t[8]=m,t[9]=h):h=t[9],h}gc.displayName=”GridContext”;var yc=o(31545),bc=o(66776),jc=o(89052),vc=o(34283),Sc=o(90010),wc=o(58921),Tc=o(3963);const kc=ct.createContext({});kc.displayName=”HiderContext”;const Cc=()=>ct.useContext(kc);function Pc(e){const t=(0,a.c)(22),{modui:s,isContentVisibleInitialState:o,allowOverride:n,children:r}=e,i=(0,Tc.useModerationDetailsDialogControl)(),l=s?.blurs[0],[c,d]=ct.useState(o||!l),u=(0,wc.useModerationCauseDescription)(l);let m;t[0]!==s?.blurs?(m=s?.blurs.find(Ac),t[0]=s?.blurs,t[1]=m):m=t[1];const h=Boolean(m),p=n??!s?.noOverride;let f;t[2]!==h||t[3]!==p?(f={isNoPwi:h,allowOverride:p},t[2]=h,t[3]=p,t[4]=f):f=t[4];const g=f;let x;t[5]!==i?(x=()=>{i.open()},t[5]=i,t[6]=x):x=t[6];const _=x;let y;t[7]!==g?(y=e=>{g.allowOverride&&d(e)},t[7]=g,t[8]=y):y=t[8];const b=y;let j;t[9]!==u||t[10]!==c||t[11]!==g||t[12]!==b||t[13]!==_?(j={isContentVisible:c,setIsContentVisible:b,showInfoDialog:_,info:u,meta:g},t[9]=u,t[10]=c,t[11]=g,t[12]=b,t[13]=_,t[14]=j):j=t[14];const v=j;let S,w;return t[15]!==l||t[16]!==i?(S=(0,bt.jsx)(Tc.ModerationDetailsDialog,{control:i,modcause:l}),t[15]=l,t[16]=i,t[17]=S):S=t[17],t[18]!==r||t[19]!==v||t[20]!==S?(w=(0,bt.jsxs)(kc.Provider,{value:v,children:[r,S]}),t[18]=r,t[19]=v,t[20]=S,t[21]=w):w=t[21],w}function Ac(e){return”label”===e.type&&”!no-unauthenticated”===e.labelDef.identifier}function Ic(e){const{children:t}=e;return Cc().isContentVisible?t:null}function Lc(e){const{children:t}=e;return Cc().isContentVisible?null:t}var Rc=o(46804);function Ec(e){return(0,jc.select)(e.name,{light:e.palette.black,dark:e.atoms.bg_contrast_25.backgroundColor,dim:`hsl(${Il}, 28%, 6%)`})}function Dc(e){const t=(0,a.c)(123),{post:s,sourceContext:o,moderation:n,onInteract:r}=e,i=(0,Bs.useTheme)(),{_:l,i18n:c}=(0,ut.useLingui)(),d=s.embed,{state:u,onIn:m,onOut:h}=(0,Zn.useInteractionState)();let p;t[0]!==n?(p=n.ui(“contentList”),t[0]=n,t[1]=p):p=t[1];const f=p;let g;if(t[2]!==n){g=n.ui(“contentList”);const e=n.ui(“contentMedia”);g.alerts=[…g.alerts,…e.alerts],g.blurs=[…g.blurs,…e.blurs],g.filters=[…g.filters,…e.filters],g.informs=[…g.informs,…e.informs],t[2]=n,t[3]=g}else g=t[3];const x=g;if(!Sn.AppBskyEmbedVideo.isView(d))return null;const _=s.author,y=Rc.dangerousIsType(s.record,Sn.AppBskyFeedPost.isRecord)?s.record?.text:””,b=s?.likeCount??0,j=s?.repostCount??0,{thumbnail:v}=d;let S;t[4]!==i?(S=Ec(i),t[4]=i,t[5]=S):S=t[5];const w=S;let T,k,C,P,A,I,L,R,E,D,B,M;t[6]===Symbol.for(“react.memo_cache_sentinel”)?(T=[Bs.atoms.pr_xs,{paddingTop:6,gap:4}],t[6]=T):T=t[6],t[7]!==y?(k=y&&(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],numberOfLines:2,emoji:!0,children:y}),t[7]=y,t[8]=k):k=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(C=[Bs.atoms.flex_row,Bs.atoms.gap_xs,Bs.atoms.align_center],t[9]=C):C=t[9],t[10]===Symbol.for(“react.memo_cache_sentinel”)?(P=[Bs.atoms.relative,Bs.atoms.rounded_full,{width:20,height:20}],t[10]=P):P=t[10],t[11]!==s.author.avatar?(A=(0,bt.jsx)(Li.UserAvatar,{type:”user”,size:20,avatar:s.author.avatar}),t[11]=s.author.avatar,t[12]=A):A=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(I=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[13]=I):I=t[13],t[14]!==A?(L=(0,bt.jsxs)(Cs.default,{style:P,children:[A,I]}),t[14]=A,t[15]=L):L=t[15],t[16]!==i.atoms.text_contrast_medium?(R=[Bs.atoms.flex_1,Bs.atoms.text_sm,Bs.atoms.leading_tight,i.atoms.text_contrast_medium],t[16]=i.atoms.text_contrast_medium,t[17]=R):R=t[17],t[18]!==s.author.handle?(E=(0,wa.sanitizeHandle)(s.author.handle,”@”),t[18]=s.author.handle,t[19]=E):E=t[19],t[20]!==R||t[21]!==E?(D=(0,bt.jsx)(Xs.Text,{style:R,numberOfLines:1,children:E}),t[20]=R,t[21]=E,t[22]=D):D=t[22],t[23]!==D||t[24]!==L?(B=(0,bt.jsxs)(Cs.default,{style:C,children:[L,D]}),t[23]=D,t[24]=L,t[25]=B):B=t[25],t[26]!==B||t[27]!==k?(M=(0,bt.jsxs)(Cs.default,{style:T,children:[k,B]}),t[26]=B,t[27]=k,t[28]=M):M=t[28];const O=M;let F,N,H,z,V,U,G;t[29]!==l?(F=l({id:”vDuwWp”}),t[29]=l,t[30]=F):F=t[30],t[31]!==l||t[32]!==_.handle||t[33]!==y?(N=l({id:”26b5D5″,values:{0:_.handle,text:y}}),t[31]=l,t[32]=_.handle,t[33]=y,t[34]=N):N=t[34],t[35]!==s.uri||t[36]!==o?(H={screen:”VideoFeed”,params:Object.assign({},o,{initialPostUri:s.uri})},t[35]=s.uri,t[36]=o,t[37]=H):H=t[37],t[38]!==r?(z=()=>{r?.()},t[38]=r,t[39]=z):z=t[39],t[40]===Symbol.for(“react.memo_cache_sentinel”)?(V=[Bs.atoms.flex_col,{alignItems:void 0,justifyContent:void 0}],t[40]=V):V=t[40],t[41]!==w?(U=[Bs.atoms.justify_center,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,{backgroundColor:w,aspectRatio:.5625}],t[41]=w,t[42]=U):U=t[42],t[43]!==v?(G={uri:v},t[43]=v,t[44]=G):G=t[44];const W=u?.8:1;let q,Q,K,Z,Y,$,X,J,ee,te,se,oe,ne,ae,re;t[45]!==W?(q=[Bs.atoms.w_full,Bs.atoms.h_full,{opacity:W}],t[45]=W,t[46]=q):q=t[46],t[47]!==G||t[48]!==q?(Q=(0,bt.jsx)(yc.Image,{source:G,style:q,accessibilityIgnoresInvertColors:!0,blurRadius:100}),t[47]=G,t[48]=q,t[49]=Q):Q=t[49],t[50]===Symbol.for(“react.memo_cache_sentinel”)?(K=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[50]=K):K=t[50],t[51]===Symbol.for(“react.memo_cache_sentinel”)?(Z=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.justify_center,Bs.atoms.align_center],t[51]=Z):Z=t[51],t[52]===Symbol.for(“react.memo_cache_sentinel”)?(Y=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.justify_center,Bs.atoms.align_center,{backgroundColor:”black”,opacity:.2}]}),t[52]=Y):Y=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?($=[Bs.atoms.align_center,Bs.atoms.gap_xs],X=(0,bt.jsx)(vc.EyeSlash_Stroke2_Corner0_Rounded,{size:”lg”,fill:”white”}),t[53]=$,t[54]=X):($=t[53],X=t[54]),t[55]===Symbol.for(“react.memo_cache_sentinel”)?(J=[Bs.atoms.text_sm,{color:”white”}],t[55]=J):J=t[55],t[56]!==l?(ee=l({id:”D+zLDD”}),t[56]=l,t[57]=ee):ee=t[57],t[58]!==ee?(te=(0,bt.jsxs)(Cs.default,{style:Z,children:[Y,(0,bt.jsxs)(Cs.default,{style:$,children:[X,(0,bt.jsx)(Xs.Text,{style:J,children:ee})]})]}),t[58]=ee,t[59]=te):te=t[59],t[60]!==U||t[61]!==Q||t[62]!==te?(se=(0,bt.jsxs)(Cs.default,{style:U,children:[Q,K,te]}),t[60]=U,t[61]=Q,t[62]=te,t[63]=se):se=t[63],t[64]!==f.blur||t[65]!==s.author||t[66]!==O?(oe=f.blur?(0,bt.jsx)(Mc,{author:s.author}):O,t[64]=f.blur,t[65]=s.author,t[66]=O,t[67]=oe):oe=t[67],t[68]!==se||t[69]!==oe?(ne=(0,bt.jsxs)(Lc,{children:[se,oe]}),t[68]=se,t[69]=oe,t[70]=ne):ne=t[70],t[71]!==w?(ae=[Bs.atoms.justify_center,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,{backgroundColor:w,aspectRatio:.5625}],t[71]=w,t[72]=ae):ae=t[72],t[73]!==v?(re={uri:v},t[73]=v,t[74]=re):re=t[74];const ie=u?.8:1;let le,ce,de,ue,me,he,pe,fe,ge,xe,_e,ye,be,je,ve,Se,we,Te,ke,Ce;return t[75]!==ie?(le=[Bs.atoms.w_full,Bs.atoms.h_full,{opacity:ie}],t[75]=ie,t[76]=le):le=t[76],t[77]!==re||t[78]!==le?(ce=(0,bt.jsx)(yc.Image,{source:re,style:le,accessibilityIgnoresInvertColors:!0}),t[77]=re,t[78]=le,t[79]=ce):ce=t[79],t[80]===Symbol.for(“react.memo_cache_sentinel”)?(de=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[80]=de):de=t[80],t[81]===Symbol.for(“react.memo_cache_sentinel”)?(ue=[Bs.atoms.absolute,Bs.atoms.inset_0],t[81]=ue):ue=t[81],t[82]===Symbol.for(“react.memo_cache_sentinel”)?(me=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.pt_2xl,{top:”auto”}],t[82]=me):me=t[82],t[83]!==w?(he=[w,”rgba(0, 0, 0, 0)”],t[83]=w,t[84]=he):he=t[84],t[85]===Symbol.for(“react.memo_cache_sentinel”)?(pe=[.02,1],fe={x:0,y:1},ge={x:0,y:0},t[85]=pe,t[86]=fe,t[87]=ge):(pe=t[85],fe=t[86],ge=t[87]),t[88]===Symbol.for(“react.memo_cache_sentinel”)?(xe=[Bs.atoms.absolute,Bs.atoms.inset_0,{opacity:.9}],t[88]=xe):xe=t[88],t[89]!==he?(_e=(0,bt.jsx)(jo.LinearGradient,{colors:he,locations:pe,start:fe,end:ge,style:xe}),t[89]=he,t[90]=_e):_e=t[90],t[91]===Symbol.for(“react.memo_cache_sentinel”)?(ye=[Bs.atoms.relative,Bs.atoms.z_10,Bs.atoms.p_md,Bs.atoms.flex_row,Bs.atoms.gap_md],t[91]=ye):ye=t[91],t[92]!==c||t[93]!==b?(be=b>0&&(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_xs],children:[(0,bt.jsx)(qr,{size:”sm”,fill:”white”}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.font_semi_bold,{color:”white”}],children:(0,bc.formatCount)(c,b)})]}),t[92]=c,t[93]=b,t[94]=be):be=t[94],t[95]!==c||t[96]!==j?(je=j>0&&(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_xs],children:[(0,bt.jsx)(Zr,{size:”sm”,fill:”white”}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.font_semi_bold,{color:”white”}],children:(0,bc.formatCount)(c,j)})]}),t[95]=c,t[96]=j,t[97]=je):je=t[97],t[98]!==be||t[99]!==je?(ve=(0,bt.jsxs)(Cs.default,{style:ye,children:[be,je]}),t[98]=be,t[99]=je,t[100]=ve):ve=t[100],t[101]!==_e||t[102]!==ve?(Se=(0,bt.jsx)(Cs.default,{style:ue,children:(0,bt.jsxs)(Cs.default,{style:me,children:[_e,ve]})}),t[101]=_e,t[102]=ve,t[103]=Se):Se=t[103],t[104]!==ae||t[105]!==ce||t[106]!==Se?(we=(0,bt.jsxs)(Cs.default,{style:ae,children:[ce,de,Se]}),t[104]=ae,t[105]=ce,t[106]=Se,t[107]=we):we=t[107],t[108]!==we||t[109]!==O?(Te=(0,bt.jsxs)(Ic,{children:[we,O]}),t[108]=we,t[109]=O,t[110]=Te):Te=t[110],t[111]!==x||t[112]!==ne||t[113]!==Te?(ke=(0,bt.jsxs)(Pc,{modui:x,children:[ne,Te]}),t[111]=x,t[112]=ne,t[113]=Te,t[114]=ke):ke=t[114],t[115]!==m||t[116]!==h||t[117]!==F||t[118]!==N||t[119]!==H||t[120]!==z||t[121]!==ke?(Ce=(0,bt.jsx)(Ys.Link,{accessibilityHint:F,label:N,to:H,onPress:z,onPressIn:m,onPressOut:h,style:V,children:ke}),t[115]=m,t[116]=h,t[117]=F,t[118]=N,t[119]=H,t[120]=z,t[121]=ke,t[122]=Ce):Ce=t[122],Ce}function Bc(){const e=(0,a.c)(11),t=(0,Bs.useTheme)();let s;e[0]!==t?(s=Ec(t),e[0]=t,e[1]=s):s=e[1];const o=s;let n,r,i,l,c,d;return e[2]===Symbol.for(“react.memo_cache_sentinel”)?(n=[Bs.atoms.flex_1],e[2]=n):n=e[2],e[3]!==o?(r=[Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,{backgroundColor:o,aspectRatio:.5625}],e[3]=o,e[4]=r):r=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,bt.jsx)(Sc.MediaInsetBorder,{}),e[5]=i):i=e[5],e[6]!==r?(l=(0,bt.jsx)(Cs.default,{style:r,children:i}),e[6]=r,e[7]=l):l=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,bt.jsx)(Mc,{}),e[8]=c):c=e[8],e[9]!==l?(d=(0,bt.jsxs)(Cs.default,{style:n,children:[l,c]}),e[9]=l,e[10]=d):d=e[10],d}function Mc(e){const t=(0,a.c)(17),{author:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[Bs.atoms.flex_1],t[0]=n):n=t[0],t[1]===Symbol.for(“react.memo_cache_sentinel”)?(r=[Bs.atoms.pr_xs,{paddingTop:8,gap:6}],t[1]=r):r=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(i={height:14},t[2]=i):i=t[2],t[3]!==o.atoms.bg_contrast_50?(l=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full,Bs.atoms.rounded_xs,o.atoms.bg_contrast_50,i]}),t[3]=o.atoms.bg_contrast_50,t[4]=l):l=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(c={height:14,width:”70%”},t[5]=c):c=t[5],t[6]!==o.atoms.bg_contrast_50?(d=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full,Bs.atoms.rounded_xs,o.atoms.bg_contrast_50,c]}),t[6]=o.atoms.bg_contrast_50,t[7]=d):d=t[7],t[8]!==s||t[9]!==o.atoms.bg_contrast_25||t[10]!==o.atoms.bg_contrast_50||t[11]!==o.atoms.text_contrast_medium?(u=s?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_xs,Bs.atoms.align_center],children:[(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.relative,Bs.atoms.rounded_full,{width:20,height:20}],children:[(0,bt.jsx)(Li.UserAvatar,{type:”user”,size:20,avatar:s.avatar}),(0,bt.jsx)(Sc.MediaInsetBorder,{})]}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.flex_1,Bs.atoms.text_sm,Bs.atoms.leading_tight,o.atoms.text_contrast_medium],numberOfLines:1,children:(0,wa.sanitizeHandle)(s.handle,”@”)})]}):(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_xs,Bs.atoms.align_center],children:[(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,o.atoms.bg_contrast_50,{width:20,height:20}]}),(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,o.atoms.bg_contrast_25,{height:12,width:”75%”}]})]}),t[8]=s,t[9]=o.atoms.bg_contrast_25,t[10]=o.atoms.bg_contrast_50,t[11]=o.atoms.text_contrast_medium,t[12]=u):u=t[12],t[13]!==l||t[14]!==d||t[15]!==u?(m=(0,bt.jsx)(Cs.default,{style:n,children:(0,bt.jsxs)(Cs.default,{style:r,children:[l,d,u]})}),t[13]=l,t[14]=d,t[15]=u,t[16]=m):m=t[16],m}function Oc(e){const t=(0,a.c)(91),{post:s,sourceContext:o,moderation:n,onInteract:r}=e,i=(0,Bs.useTheme)(),{_:l,i18n:c}=(0,ut.useLingui)(),d=s.embed,{state:u,onIn:m,onOut:h}=(0,Zn.useInteractionState)();let p;if(t[0]!==n){p=n.ui(“contentList”);const e=n.ui(“contentMedia”);p.alerts=[…p.alerts,…e.alerts],p.blurs=[…p.blurs,…e.blurs],p.filters=[…p.filters,…e.filters],p.informs=[…p.informs,…e.informs],t[0]=n,t[1]=p}else p=t[1];const f=p;if(!Sn.AppBskyEmbedVideo.isView(d))return null;const g=s?.likeCount??0,{thumbnail:x}=d;let _;t[2]!==i?(_=Ec(i),t[2]=i,t[3]=_):_=t[3];const y=_;let b,j,v,S,w,T,k,C;t[4]!==l?(b=l({id:”puSNTr”}),t[4]=l,t[5]=b):b=t[5],t[6]!==s.uri||t[7]!==o?(j={screen:”VideoFeed”,params:Object.assign({},o,{initialPostUri:s.uri})},t[6]=s.uri,t[7]=o,t[8]=j):j=t[8],t[9]!==r?(v=()=>{r?.()},t[9]=r,t[10]=v):v=t[10],t[11]===Symbol.for(“react.memo_cache_sentinel”)?(S={alignItems:void 0,justifyContent:void 0},t[11]=S):S=t[11],t[12]!==i.atoms.shadow_sm?(w=[Bs.atoms.flex_col,i.atoms.shadow_sm,S],t[12]=i.atoms.shadow_sm,t[13]=w):w=t[13],t[14]!==y?(T={backgroundColor:y,aspectRatio:.5625},t[14]=y,t[15]=T):T=t[15],t[16]!==i.atoms.border_contrast_low||t[17]!==T?(k=[Bs.atoms.justify_center,Bs.atoms.rounded_lg,Bs.atoms.overflow_hidden,Bs.atoms.border,i.atoms.border_contrast_low,T],t[16]=i.atoms.border_contrast_low,t[17]=T,t[18]=k):k=t[18],t[19]!==x?(C={uri:x},t[19]=x,t[20]=C):C=t[20];const P=u?.8:1;let A,I,L,R,E,D,B,M,O,F,N,H,z,V,U,G;t[21]!==P?(A=[Bs.atoms.w_full,Bs.atoms.h_full,{opacity:P}],t[21]=P,t[22]=A):A=t[22],t[23]!==A||t[24]!==C?(I=(0,bt.jsx)(yc.Image,{source:C,style:A,accessibilityIgnoresInvertColors:!0,blurRadius:100}),t[23]=A,t[24]=C,t[25]=I):I=t[25],t[26]===Symbol.for(“react.memo_cache_sentinel”)?(L=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[26]=L):L=t[26],t[27]===Symbol.for(“react.memo_cache_sentinel”)?(R=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.justify_center,Bs.atoms.align_center],t[27]=R):R=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(E={backgroundColor:”black”,opacity:.2},t[28]=E):E=t[28],t[29]!==i.atoms.border_contrast_low?(D=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.justify_center,Bs.atoms.align_center,Bs.atoms.border,i.atoms.border_contrast_low,E]}),t[29]=i.atoms.border_contrast_low,t[30]=D):D=t[30],t[31]===Symbol.for(“react.memo_cache_sentinel”)?(B=[Bs.atoms.align_center,Bs.atoms.gap_xs],M=(0,bt.jsx)(vc.EyeSlash_Stroke2_Corner0_Rounded,{size:”lg”,fill:”white”}),t[31]=B,t[32]=M):(B=t[31],M=t[32]),t[33]===Symbol.for(“react.memo_cache_sentinel”)?(O=[Bs.atoms.text_sm,{color:”white”}],t[33]=O):O=t[33],t[34]!==l?(F=l({id:”D+zLDD”}),t[34]=l,t[35]=F):F=t[35],t[36]!==F?(N=(0,bt.jsxs)(Cs.default,{style:B,children:[M,(0,bt.jsx)(Xs.Text,{style:O,children:F})]}),t[36]=F,t[37]=N):N=t[37],t[38]!==D||t[39]!==N?(H=(0,bt.jsxs)(Cs.default,{style:R,children:[D,N]}),t[38]=D,t[39]=N,t[40]=H):H=t[40],t[41]!==I||t[42]!==H||t[43]!==k?(z=(0,bt.jsx)(Lc,{children:(0,bt.jsxs)(Cs.default,{style:k,children:[I,L,H]})}),t[41]=I,t[42]=H,t[43]=k,t[44]=z):z=t[44],t[45]!==y?(V={backgroundColor:y,aspectRatio:.5625},t[45]=y,t[46]=V):V=t[46],t[47]!==i.atoms.border_contrast_low||t[48]!==V?(U=[Bs.atoms.justify_center,Bs.atoms.rounded_lg,Bs.atoms.overflow_hidden,Bs.atoms.border,i.atoms.border_contrast_low,V],t[47]=i.atoms.border_contrast_low,t[48]=V,t[49]=U):U=t[49],t[50]!==x?(G={uri:x},t[50]=x,t[51]=G):G=t[51];const W=u?.8:1;let q,Q,K,Z,Y,$,X,J,ee,te,se,oe,ne,ae;return t[52]!==W?(q=[Bs.atoms.w_full,Bs.atoms.h_full,{opacity:W}],t[52]=W,t[53]=q):q=t[53],t[54]!==G||t[55]!==q?(Q=(0,bt.jsx)(yc.Image,{source:G,style:q,accessibilityIgnoresInvertColors:!0}),t[54]=G,t[55]=q,t[56]=Q):Q=t[56],t[57]===Symbol.for(“react.memo_cache_sentinel”)?(K=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[57]=K):K=t[57],t[58]!==i.atoms.shadow_sm?(Z=[Bs.atoms.absolute,Bs.atoms.inset_0,i.atoms.shadow_sm],t[58]=i.atoms.shadow_sm,t[59]=Z):Z=t[59],t[60]===Symbol.for(“react.memo_cache_sentinel”)?(Y=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.p_sm,{bottom:”auto”}],t[60]=Y):Y=t[60],t[61]===Symbol.for(“react.memo_cache_sentinel”)?($=[Bs.atoms.relative,Bs.atoms.rounded_full,{width:24,height:24}],t[61]=$):$=t[61],t[62]!==s.author.avatar?(X=(0,bt.jsx)(Li.UserAvatar,{type:”user”,size:24,avatar:s.author.avatar}),t[62]=s.author.avatar,t[63]=X):X=t[63],t[64]===Symbol.for(“react.memo_cache_sentinel”)?(J=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[64]=J):J=t[64],t[65]!==X?(ee=(0,bt.jsx)(Cs.default,{style:Y,children:(0,bt.jsxs)(Cs.default,{style:$,children:[X,J]})}),t[65]=X,t[66]=ee):ee=t[66],t[67]!==y||t[68]!==c||t[69]!==g?(te=!1,t[67]=y,t[68]=c,t[69]=g,t[70]=te):te=t[70],t[71]!==Z||t[72]!==ee||t[73]!==te?(se=(0,bt.jsxs)(Cs.default,{style:Z,children:[ee,te]}),t[71]=Z,t[72]=ee,t[73]=te,t[74]=se):se=t[74],t[75]!==U||t[76]!==Q||t[77]!==se?(oe=(0,bt.jsx)(Ic,{children:(0,bt.jsxs)(Cs.default,{style:U,children:[Q,K,se]})}),t[75]=U,t[76]=Q,t[77]=se,t[78]=oe):oe=t[78],t[79]!==f||t[80]!==z||t[81]!==oe?(ne=(0,bt.jsxs)(Pc,{modui:f,children:[z,oe]}),t[79]=f,t[80]=z,t[81]=oe,t[82]=ne):ne=t[82],t[83]!==m||t[84]!==h||t[85]!==b||t[86]!==j||t[87]!==v||t[88]!==ne||t[89]!==w?(ae=(0,bt.jsx)(Ys.Link,{label:b,to:j,onPress:v,onPressIn:m,onPressOut:h,style:w,children:ne}),t[83]=m,t[84]=h,t[85]=b,t[86]=j,t[87]=v,t[88]=ne,t[89]=w,t[90]=ae):ae=t[90],ae}function Fc(){const e=(0,a.c)(15),t=(0,Bs.useTheme)();let s;e[0]!==t?(s=Ec(t),e[0]=t,e[1]=s):s=e[1];const o=s;let n,r,i,l,c,d;return e[2]!==t.atoms.shadow_sm?(n=[Bs.atoms.flex_1,t.atoms.shadow_sm],e[2]=t.atoms.shadow_sm,e[3]=n):n=e[3],e[4]!==o?(r={backgroundColor:o,aspectRatio:.5625},e[4]=o,e[5]=r):r=e[5],e[6]!==t.atoms.border_contrast_low||e[7]!==r?(i=[Bs.atoms.rounded_lg,Bs.atoms.overflow_hidden,Bs.atoms.border,t.atoms.border_contrast_low,r],e[6]=t.atoms.border_contrast_low,e[7]=r,e[8]=i):i=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,bt.jsx)(Sc.MediaInsetBorder,{}),e[9]=l):l=e[9],e[10]!==i?(c=(0,bt.jsx)(Cs.default,{style:i,children:l}),e[10]=i,e[11]=c):c=e[11],e[12]!==n||e[13]!==c?(d=(0,bt.jsx)(Cs.default,{style:n,children:c}),e[12]=n,e[13]=c,e[14]=d):d=e[14],d}function Nc(e){const t=(0,a.c)(29),{items:s,sourceContext:o}=e;let n;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[“base”,”base”,0,”base”],t[0]=n):n=t[0];const r=(0,Bs.useGutters)(n);let i,l,c,d,u,m,h,p,f,g,x;if(t[1]!==r||t[2]!==s||t[3]!==o){p=Symbol.for(“react.early_return_sentinel”);e:{const e=s.filter(Vc).map(zc);if(e.length!==s.length){p=null;break e}let n;c=Cs.default,t[12]!==r?(h=[r],t[12]=r,t[13]=h):h=t[13],l=Cs.default,t[14]===Symbol.for(“react.memo_cache_sentinel”)?(m=[Bs.atoms.flex_row,Bs.atoms.gap_sm],t[14]=m):m=t[14],i=xc,d=Bs.atoms.gap_sm.gap,t[15]!==o?(n=e=>(0,bt.jsx)(_c,{width:.5,children:(0,bt.jsx)(Dc,{post:e.post,sourceContext:o,moderation:e.moderation,onInteract:Hc})},e.post.uri),t[15]=o,t[16]=n):n=t[16],u=e.map(n)}t[1]=r,t[2]=s,t[3]=o,t[4]=i,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p}else i=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11];return p!==Symbol.for(“react.early_return_sentinel”)?p:(t[17]!==i||t[18]!==d||t[19]!==u?(f=(0,bt.jsx)(i,{gap:d,children:u}),t[17]=i,t[18]=d,t[19]=u,t[20]=f):f=t[20],t[21]!==l||t[22]!==m||t[23]!==f?(g=(0,bt.jsx)(l,{style:m,children:f}),t[21]=l,t[22]=m,t[23]=f,t[24]=g):g=t[24],t[25]!==c||t[26]!==h||t[27]!==g?(x=(0,bt.jsx)(c,{style:h,children:g}),t[25]=c,t[26]=h,t[27]=g,t[28]=x):x=t[28],x)}function Hc(){(0,ht.logEvent)(“videoCard:click”,{context:”feed”})}function zc(e){return{post:e.post,moderation:e.moderation}}function Vc(e){return Sn.AppBskyEmbedVideo.isView(e.post.embed)}function Uc(){const e=(0,a.c)(6);let t;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[“base”,”base”,0,”base”],e[0]=t):t=e[0];const s=(0,Bs.useGutters)(t);let o,n,r;return e[1]!==s?(o=[s],e[1]=s,e[2]=o):o=e[2],e[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_sm],children:[(0,bt.jsx)(Bc,{}),(0,bt.jsx)(Bc,{})]}),e[3]=n):n=e[3],e[4]!==o?(r=(0,bt.jsx)(Cs.default,{style:o,children:n}),e[4]=o,e[5]=r):r=e[5],r}const Gc=14,Wc=[“trending-topics”];function qc(){const e=(0,a.c)(7),t=(0,Lt.useAgent)(),{data:s}=(0,nr.usePreferencesQuery)();let o;s?.moderationPrefs,e[0]!==s?.moderationPrefs?.mutedWords?(o=s?.moderationPrefs?.mutedWords||[],e[0]=s?.moderationPrefs?.mutedWords,e[1]=o):o=e[1];const n=o;let r;if(e[2]!==t||e[3]!==n){let s;e[5]!==n?(s=e=>({topics:e.topics.filter((e=>!(0,Sn.hasMutedWord)({mutedWords:n,text:e.topic+” “+e.displayName+” “+e.description}))),suggested:e.suggested.filter((e=>!(0,Sn.hasMutedWord)({mutedWords:n,text:e.topic+” “+e.displayName+” “+e.description})))}),e[5]=n,e[6]=s):s=e[6],r={refetchOnWindowFocus:!0,staleTime:Pt.STALE.MINUTES.THREE,queryKey:Wc,async queryFn(){const{data:e}=await t.api.app.bsky.unspecced.getTrendingTopics({limit:Gc});return{topics:e.topics??[],suggested:e.suggested??[]}},select:s},e[2]=t,e[3]=n,e[4]=r}else r=e[4];return(0,Fs.useQuery)(r)}const Qc=(0,zr.createSinglePathSVG)({path:”m18.192 5.004 1.864 5.31a1 1 0 0 0 1.887-.662L20.08 4.34c-.665-1.893-3.378-1.741-3.834.207l-3.381 14.449-2.985-9.605C9.3 7.531 6.684 7.506 6.07 9.355l-1.18 3.56-.969-2.312a1 1 0 0 0-1.844.772l.97 2.315c.715 1.71 3.159 1.613 3.741-.144l1.18-3.56 2.985 9.605c.607 1.952 3.392 1.848 3.857-.138l3.381-14.449Z”}),Kc=(0,zr.createSinglePathSVG)({path:”M15 7a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V9.414L14.414 15a2 2 0 0 1-2.828 0L9 12.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L7.586 11a2 2 0 0 1 2.828 0L13 13.586 18.586 8H16a1 1 0 0 1-1-1Z”});var Zc=o(52808);const Yc=[“targetScale”,”children”,”style”,”onPressIn”,”onPressOut”],$c=os.isNative||Zc.isTouchDevice?.98:1,Xc=dn.default.createAnimatedComponent(Yo.default),Jc={code:”function PressableScaleTsx1(){const{scale}=this.__closure;return{transform:[{scale:scale.get()}]};}”};function ed(e){const t=(0,a.c)(23);let s,o,n,r,i,l;if(t[0]!==e){var c=e;({targetScale:l,children:s,style:i,onPressIn:o,onPressOut:n}=c),r=(0,Vn.default)(c,Yc),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6];const d=void 0===l?$c:l,u=(0,dn.useReducedMotion)(),m=(0,dn.useSharedValue)(1),h=(0,dn.useAnimatedStyle)(function(){const e=()=>({transform:[{scale:m.get()}]});return e.__closure={scale:m},e.__workletHash=0xe4aa5c8749f,e.__initData=Jc,e}());let p,f;t[7]!==o||t[8]!==m||t[9]!==d?(p=e=>{o&&o(e),(0,dn.cancelAnimation)(m),m.set((()=>(0,dn.withTiming)(d,{duration:100})))},t[7]=o,t[8]=m,t[9]=d,t[10]=p):p=t[10],t[11]!==n||t[12]!==m?(f=e=>{n&&n(e),(0,dn.cancelAnimation)(m),m.set(td)},t[11]=n,t[12]=m,t[13]=f):f=t[13];const g=!u&&h;let x,_;return t[14]!==i||t[15]!==g?(x=[g,i],t[14]=i,t[15]=g,t[16]=x):x=t[16],t[17]!==s||t[18]!==r||t[19]!==p||t[20]!==f||t[21]!==x?(_=(0,bt.jsx)(Xc,Object.assign({accessibilityRole:”button”,onPressIn:p,onPressOut:f,style:x},r,{children:s})),t[17]=s,t[18]=r,t[19]=p,t[20]=f,t[21]=x,t[22]=_):_=t[22],_}function td(){return(0,dn.withTiming)(1,{duration:100})}var sd=o(68783);const od=[“topic”,”children”];function nd(e){const t=(0,a.c)(25),{topic:s,size:o,style:n,hovered:r}=e,i=id(s),l=”small”===o,c=”starter-pack”===i.type&&!l;let d,u,m,h,p,f,g,x,_;return t[0]!==l?(d=l?[{paddingVertical:2,paddingHorizontal:4}]:[Bs.atoms.py_xs,Bs.atoms.px_sm],t[0]=l,t[1]=d):d=t[1],t[2]!==c?(u=c&&{gap:6},t[2]=c,t[3]=u):u=t[3],t[4]!==n||t[5]!==d||t[6]!==u?(m=[Bs.atoms.flex_row,Bs.atoms.align_center,d,u,n],t[4]=n,t[5]=d,t[6]=u,t[7]=m):m=t[7],t[8]!==c||t[9]!==i.type?(h=c&&”starter-pack”===i.type&&(0,bt.jsx)(sd.StarterPack,{gradient:”sky”,width:20,style:{marginLeft:-3,marginVertical:-1}}),t[8]=c,t[9]=i.type,t[10]=h):h=t[10],t[11]!==l?(p=l?[Bs.atoms.text_sm]:[Bs.atoms.text_md,{paddingBottom:1}],t[11]=l,t[12]=p):p=t[12],t[13]!==r?(f=r&&{textDecorationLine:”underline”},t[13]=r,t[14]=f):f=t[14],t[15]!==p||t[16]!==f?(g=[Bs.atoms.font_semi_bold,Bs.atoms.leading_tight,p,f],t[15]=p,t[16]=f,t[17]=g):g=t[17],t[18]!==g||t[19]!==i.displayName?(x=(0,bt.jsx)(Xs.Text,{style:g,numberOfLines:1,children:i.displayName}),t[18]=g,t[19]=i.displayName,t[20]=x):x=t[20],t[21]!==m||t[22]!==h||t[23]!==x?(_=(0,bt.jsxs)(Cs.default,{style:m,children:[h,x]}),t[21]=m,t[22]=h,t[23]=x,t[24]=_):_=t[24],_}function ad(e){const t=(0,a.c)(7),{size:s,index:o}=e,n=void 0===s?”large”:s,r=void 0===o?0:o,i=(0,Bs.useTheme)(),l=”small”===n;let c,d;return t[0]!==r||t[1]!==l?(c=l?{width:r%2===0?75:90,height:27}:{width:r%2===0?90:110,height:36},t[0]=r,t[1]=l,t[2]=c):c=t[2],t[3]!==i.atoms.bg_contrast_25||t[4]!==i.atoms.border_contrast_medium||t[5]!==c?(d=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,Bs.atoms.border,i.atoms.border_contrast_medium,i.atoms.bg_contrast_25,c]}),t[3]=i.atoms.bg_contrast_25,t[4]=i.atoms.border_contrast_medium,t[5]=c,t[6]=d):d=t[6],d}function rd(e){const t=(0,a.c)(10);let s,o,n;if(t[0]!==e){var r=e;({topic:o,children:s}=r),n=(0,Vn.default)(r,od),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=id(o),l=i.label,c=i.url;let d,u;return t[4]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,Bs.native)(ed),t[4]=d):d=t[4],t[5]!==s||t[6]!==n||t[7]!==i.label||t[8]!==i.url?(u=(0,bt.jsx)(Ys.Link,Object.assign({label:l,to:c,PressableComponent:d},n,{children:s})),t[5]=s,t[6]=n,t[7]=i.label,t[8]=i.url,t[9]=u):u=t[9],u}function id(e){const{_:t}=(0,ut.useLingui)();return ct.useMemo((()=>{const{topic:s,link:o}=e;return o.startsWith(“/search”)?{type:”topic”,label:t({id:”U7jGCR”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:o.startsWith(“/hashtag”)?{type:”tag”,label:t({id:”zlmzDf”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:o.startsWith(“/starter-pack”)?{type:”starter-pack”,label:t({id:”rf+TQ9″,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:{type:”unknown”,label:t({id:”CURAna”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}}),[t,e])}function ld(){const e=(0,a.c)(3),{enabled:t}=(0,It.useTrendingConfig)(),{trendingDisabled:s}=(0,Fr.useTrendingSettings)();let o;return e[0]!==t||e[1]!==s?(o=t&&!s?(0,bt.jsx)(cd,{}):null,e[0]=t,e[1]=s,e[2]=o):o=e[2],o}function cd(){const e=(0,a.c)(13),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)();let o;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[0,”base”,0,”base”],e[0]=o):o=e[0];const n=(0,Bs.useGutters)(o),r=Bi.usePromptControl(),{setTrendingDisabled:i}=(0,Fr.useTrendingSettingsApi)(),{data:l,error:c,isLoading:d}=qc(),u=!d&&!c&&!l?.topics?.length;let m;e[1]!==i?(m=()=>{(0,ht.logEvent)(“trendingTopics:hide”,{context:”interstitial”}),i(!0)},e[1]=i,e[2]=m):m=e[2];const h=m;let p;return e[3]!==s||e[4]!==c||e[5]!==n||e[6]!==d||e[7]!==u||e[8]!==h||e[9]!==t||e[10]!==l||e[11]!==r?(p=c||u?null:(0,bt.jsxs)(Cs.default,{style:[t.atoms.border_contrast_low,Bs.atoms.border_t,Bs.atoms.border_b],children:[(0,bt.jsx)(Ii,{children:(0,bt.jsx)(Ci.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,children:(0,bt.jsxs)(Cs.default,{style:[n,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_lg],children:[(0,bt.jsx)(Cs.default,{style:{paddingLeft:4,paddingRight:2},children:(0,bt.jsx)(Qc,{size:”sm”})}),d?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.py_lg,Bs.atoms.flex_row,Bs.atoms.gap_lg,Bs.atoms.align_center],children:[(0,bt.jsx)(Xr,{width:80,height:void 0,style:{alignSelf:”stretch”}}),(0,bt.jsx)(Xr,{width:50,height:void 0,style:{alignSelf:”stretch”}}),(0,bt.jsx)(Xr,{width:120,height:void 0,style:{alignSelf:”stretch”}}),(0,bt.jsx)(Xr,{width:30,height:void 0,style:{alignSelf:”stretch”}}),(0,bt.jsx)(Xr,{width:180,height:void 0,style:{alignSelf:”stretch”}}),(0,bt.jsx)(Xs.Text,{style:[t.atoms.text_contrast_medium,Bs.atoms.text_sm,Bs.atoms.font_semi_bold],children:” “})]}):l?.topics?(0,bt.jsxs)(bt.Fragment,{children:[l.topics.map((e=>(0,bt.jsx)(rd,{topic:e,onPress:dd,children:(0,bt.jsx)(Cs.default,{style:[Bs.atoms.py_lg],children:(0,bt.jsx)(Xs.Text,{style:[t.atoms.text_contrast_medium,Bs.atoms.text_sm,Bs.atoms.font_semi_bold],children:e.topic})})},e.link))),(0,bt.jsx)(Ks.Button,{label:s({id:”rht3N9″}),size:”tiny”,variant:”ghost”,color:”secondary”,shape:”round”,onPress:()=>r.open(),children:(0,bt.jsx)(Ks.ButtonIcon,{icon:Si.TimesLarge_Stroke2_Corner0_Rounded})})]}):null]})})}),(0,bt.jsx)(Bi.Basic,{control:r,title:s({id:”DRuhGd”}),description:s({id:”wD+g5e”}),confirmButtonCta:s({id:”vLyv1R”}),onConfirm:h})]}),e[3]=s,e[4]=c,e[5]=n,e[6]=d,e[7]=u,e[8]=h,e[9]=t,e[10]=l,e[11]=r,e[12]=p):p=e[12],p}function dd(){(0,ht.logEvent)(“trendingTopic:click”,{context:”interstitial”})}var ud=o(52783);const md=108,hd=`feedgen|${kt.VIDEO_FEED_URI}`,pd={feedCacheKey:”discover”};function fd(){const e=(0,a.c)(51),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)();let o;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[0,”base”],e[0]=o):o=e[0];const n=(0,Bs.useGutters)(o),{data:r,isLoading:i,error:l}=(0,Nr.usePostFeedQuery)(hd,pd),c=(0,wn.useQueryClient)();let d,u;e[1]!==c?(d=()=>()=>{const e=c.getQueryCache().find({queryKey:(0,Nr.RQKEY)(hd,pd)});e&&e.getObserversCount()<=1&&e.fetch()},u=[c],e[1]=c,e[2]=d,e[3]=u):(d=e[2],u=e[3]),(0,ct.useEffect)(d,u);const{setTrendingVideoDisabled:m}=(0,Fr.useTrendingSettingsApi)(),h=Bi.usePromptControl();let p;e[4]!==m?(p=()=>{m(!0),(0,ht.logEvent)(“trendingVideos:hide”,{context:”interstitial:discover”})},e[4]=m,e[5]=p):p=e[5];const f=p;if(l)return null;let g,x,_,y,b,j,v,S,w,T,k,C,P,A,I,L,R;return e[6]!==t.atoms.bg_contrast_25||e[7]!==t.atoms.border_contrast_low?(g=[Bs.atoms.pt_sm,Bs.atoms.pb_lg,Bs.atoms.border_t,Bs.atoms.overflow_hidden,t.atoms.border_contrast_low,t.atoms.bg_contrast_25],e[6]=t.atoms.bg_contrast_25,e[7]=t.atoms.border_contrast_low,e[8]=g):g=e[8],e[9]!==n?(x=[n,Bs.atoms.pb_sm,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.justify_between],e[9]=n,e[10]=x):x=e[10],e[11]===Symbol.for(“react.memo_cache_sentinel”)?(_=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_sm,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”L/4AeV”})}),e[11]=_):_=e[11],e[12]!==s?(y=s({id:”KVlcll”}),e[12]=s,e[13]=y):y=e[13],e[14]!==h?(b=()=>h.open(),e[14]=h,e[15]=b):b=e[15],e[16]===Symbol.for(“react.memo_cache_sentinel”)?(j=(0,bt.jsx)(Ks.ButtonIcon,{icon:Si.TimesLarge_Stroke2_Corner0_Rounded,size:”sm”}),e[16]=j):j=e[16],e[17]!==y||e[18]!==b?(v=(0,bt.jsx)(Ks.Button,{label:y,size:”tiny”,variant:”solid”,color:”secondary”,shape:”square”,onPress:b,children:j}),e[17]=y,e[18]=b,e[19]=v):v=e[19],e[20]!==v||e[21]!==x?(S=(0,bt.jsxs)(Cs.default,{style:x,children:[_,v]}),e[20]=v,e[21]=x,e[22]=S):S=e[22],e[23]===Symbol.for(“react.memo_cache_sentinel”)?(w=[Bs.atoms.overflow_visible],e[23]=w):w=e[23],e[24]!==n.paddingLeft||e[25]!==n.paddingRight?(T=[Bs.atoms.flex_row,Bs.atoms.gap_md,{paddingLeft:n.paddingLeft,paddingRight:n.paddingRight}],e[24]=n.paddingLeft,e[25]=n.paddingRight,e[26]=T):T=e[26],e[27]!==r||e[28]!==l||e[29]!==i?(k=i?Array(10).fill(0).map(gd):l||!r?(0,bt.jsx)(Xs.Text,{children:(0,bt.jsx)(ut.Trans,{id:”SOQezB”})}):(0,bt.jsx)(xd,{data:r}),e[27]=r,e[28]=l,e[29]=i,e[30]=k):k=e[30],e[31]!==T||e[32]!==k?(C=(0,bt.jsx)(Ii,{children:(0,bt.jsx)(Ci.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,snapToInterval:md+Bs.atoms.gap_md.gap,style:w,children:(0,bt.jsx)(Cs.default,{style:T,children:k})})}),e[31]=T,e[32]=k,e[33]=C):C=e[33],e[34]!==s?(P=s({id:”o5WCAf”}),e[34]=s,e[35]=P):P=e[35],e[36]!==s?(A=s({id:”wD+g5e”}),e[36]=s,e[37]=A):A=e[37],e[38]!==s?(I=s({id:”vLyv1R”}),e[38]=s,e[39]=I):I=e[39],e[40]!==f||e[41]!==P||e[42]!==A||e[43]!==I||e[44]!==h?(L=(0,bt.jsx)(Bi.Basic,{control:h,title:P,description:A,confirmButtonCta:I,onConfirm:f}),e[40]=f,e[41]=P,e[42]=A,e[43]=I,e[44]=h,e[45]=L):L=e[45],e[46]!==S||e[47]!==C||e[48]!==L||e[49]!==g?(R=(0,bt.jsxs)(Cs.default,{style:g,children:[S,C,L]}),e[46]=S,e[47]=C,e[48]=L,e[49]=g,e[50]=R):R=e[50],R}function gd(e,t){return(0,bt.jsx)(Cs.default,{style:[{width:md}],children:(0,bt.jsx)(Fc,{})},t)}function xd({data:e}){const t=(0,ct.useMemo)((()=>e.pages.flatMap((e=>e.slices)).map((e=>e.items[0])).filter(Boolean).filter((e=>Sn.AppBskyEmbedVideo.isView(e.post.embed))).slice(0,8)),[e]);return(0,bt.jsxs)(bt.Fragment,{children:[t.map((e=>(0,bt.jsx)(Cs.default,{style:[{width:md}],children:(0,bt.jsx)(Oc,{post:e.post,moderation:e.moderation,sourceContext:{type:”feedgen”,uri:kt.VIDEO_FEED_URI,sourceInterstitial:”discover”},onInteract:()=>{(0,ht.logEvent)(“videoCard:click”,{context:”interstitial:discover”})}})},e.post.uri))),(0,bt.jsx)(_d,{})]})}function _d(){const e=(0,a.c)(14),t=(0,Bs.useTheme)(),{_:s}=(0,ut.useLingui)();let o;if(e[0]===Symbol.for(“react.memo_cache_sentinel”)){const t=new Sn.AtUri(kt.VIDEO_FEED_URI);o=(0,va.makeCustomFeedLink)(t.host,t.rkey,void 0,”discover”),e[0]=o}else o=e[0];const n=o;let r,i,l,c,d;return e[1]===Symbol.for(“react.memo_cache_sentinel”)?(r=[{width:2*md}],e[1]=r):r=e[1],e[2]!==s?(i=s({id:”4m3nxQ”}),e[2]=s,e[3]=i):i=e[3],e[4]!==t.atoms.bg||e[5]!==t.atoms.border_contrast_low||e[6]!==t.atoms.shadow_sm?(l=[Bs.atoms.justify_center,Bs.atoms.align_center,Bs.atoms.flex_1,Bs.atoms.rounded_lg,Bs.atoms.border,t.atoms.border_contrast_low,t.atoms.bg,t.atoms.shadow_sm],e[4]=t.atoms.bg,e[5]=t.atoms.border_contrast_low,e[6]=t.atoms.shadow_sm,e[7]=l):l=e[7],e[8]!==s?(c=e=>{const{pressed:t}=e;return(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_md,{opacity:t?.6:1}],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md],children:(0,bt.jsx)(ut.Trans,{id:”4m3nxQ”})}),(0,bt.jsx)(Ks.Button,{color:”primary”,size:”small”,shape:”round”,label:s({id:”Jk4Lt2″}),children:(0,bt.jsx)(Ks.ButtonIcon,{icon:ud.ChevronRight_Stroke2_Corner0_Rounded})})]})},e[8]=s,e[9]=c):c=e[9],e[10]!==i||e[11]!==l||e[12]!==c?(d=(0,bt.jsx)(Cs.default,{style:r,children:(0,bt.jsx)(Ys.Link,{to:n,label:i,style:l,children:c})}),e[10]=i,e[11]=l,e[12]=c,e[13]=d):d=e[13],d}const yd=(0,zr.createSinglePathSVG)({path:”M2 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm16 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm-6-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z”}),bd=[Bs.atoms.rounded_lg,Bs.atoms.curve_continuous];function jd({feed:e,metricContext:t}){const{_:s}=(0,ut.useLingui)(),{gtPhone:o}=(0,Bs.useBreakpoints)(),n=e.layouts.wide,a=n.overlayColor,r=n.textColor,i=(0,ct.useMemo)((()=>(0,Ct.isBskyCustomFeedUrl)(e.url)?new URL(e.url).pathname:”/”),[e.url]);return(0,ct.useEffect)((()=>{vt.logger.metric(“liveEvents:feedBanner:seen”,{feed:e.url,context:t})}),[]),(0,bt.jsx)(Ys.Link,{to:i,label:s({id:”SNKK6v”,values:{0:e.title}}),style:[Bs.atoms.w_full],onPress:()=>{vt.logger.metric(“liveEvents:feedBanner:click”,{feed:e.url,context:t})},children:({hovered:t,pressed:s})=>(0,bt.jsx)(Cs.default,{style:[bd,Bs.atoms.shadow_md,Bs.atoms.w_full],children:(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.align_start,bd,Bs.atoms.overflow_hidden,{aspectRatio:o?4:3.69}],children:[(0,bt.jsx)(yc.Image,{accessibilityIgnoresInvertColors:!0,source:{uri:n.image},placeholder:{blurhash:n.blurhash},style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.w_full,Bs.atoms.h_full],contentFit:”cover”,placeholderContentFit:”cover”}),(0,bt.jsx)(jo.LinearGradient,{colors:[a,Bs.utils.alpha(a,0)],locations:[0,1],start:{x:0,y:0},end:{x:1,y:0},style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.transition_opacity,{transitionDuration:”200ms”,opacity:t||s?.6:0}]}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.justify_end],children:[(0,bt.jsx)(jo.LinearGradient,{colors:[a,Bs.utils.alpha(a,0)],locations:[0,1],start:{x:0,y:0},end:{x:1,y:0},style:[Bs.atoms.absolute,Bs.atoms.inset_0]}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.z_10,o?[Bs.atoms.pl_xl,Bs.atoms.pb_lg]:[Bs.atoms.pl_lg,Bs.atoms.pb_md],{paddingRight:64}],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.leading_snug,o?Bs.atoms.text_xs:Bs.atoms.text_2xs,{color:r,opacity:.8}],children:e.preview?(0,bt.jsx)(ut.Trans,{id:”rdUucN”}):(0,bt.jsx)(ut.Trans,{id:”NUsTc4″})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.leading_snug,Bs.atoms.font_bold,o?Bs.atoms.text_3xl:Bs.atoms.text_lg,{color:r}],children:n.title})]})]})]})})})}var vd=o(46985);function Sd(e){const t=(0,a.c)(15),{control:s,feed:o,metricContext:n}=e,{_:r}=(0,ut.useLingui)();let i,l,c,d,u,m,h;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,bt.jsx)(Ms.Handle,{}),t[0]=i):i=t[0],t[1]!==r?(l=r({id:”aPPqOL”}),t[1]=r,t[2]=l):l=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(c=[(0,Bs.web)({maxWidth:400})],t[3]=c):c=t[3],t[4]!==s||t[5]!==o||t[6]!==n?(d=(0,bt.jsx)(wd,{control:s,feed:o,metricContext:n}),t[4]=s,t[5]=o,t[6]=n,t[7]=d):d=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,bt.jsx)(Ms.Close,{}),t[8]=u):u=t[8],t[9]!==l||t[10]!==d?(m=(0,bt.jsxs)(Ms.ScrollableInner,{label:l,style:c,children:[d,u]}),t[9]=l,t[10]=d,t[11]=m):m=t[11],t[12]!==s||t[13]!==m?(h=(0,bt.jsxs)(Ms.Outer,{control:s,children:[i,m]}),t[12]=s,t[13]=m,t[14]=h):h=t[14],h}function wd(e){const t=(0,a.c)(46),{control:s,feed:o,metricContext:n}=e,{_:r}=(0,ut.useLingui)(),{isPending:i,mutate:l,error:c,variables:d}=Ni({feed:o,metricContext:n,onUpdateSuccess(e){const{undoAction:t}=e;vd.show((0,bt.jsxs)(vd.Outer,{children:[(0,bt.jsx)(vd.Icon,{}),(0,bt.jsx)(vd.Text,{children:(0,bt.jsx)(ut.Trans,{id:”XyQOEB”})}),t&&(0,bt.jsx)(vd.Action,{label:r({id:”9uI/rE”}),onPress:()=>{t&&u(t)},children:(0,bt.jsx)(ut.Trans,{id:”9uI/rE”})})]}),{type:”success”}),t&&s.close()}}),u=l,m=Gs();let h;t[0]!==m||t[1]!==c?(h=c?m(c):void 0,t[0]=m,t[1]=c,t[2]=h):h=t[2];const p=h,f=”hideFeed”===d?.type&&i,g=”toggleHideAllFeeds”===d?.type&&i;let x,_,y,b,j,v,S,w,T,k,C,P,A,I,L,R,E,D,B,M,O;return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.gap_lg],t[3]=x):x=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.gap_sm],t[4]=_):_=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(y=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_2xl,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”505Nr8″})}),t[5]=y):y=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(b=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],children:(0,bt.jsx)(ut.Trans,{id:”2S5bAF”})}),t[6]=b):b=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(j=[Bs.atoms.text_md,Bs.atoms.leading_snug],t[7]=j):j=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(v=(0,bt.jsxs)(Cs.default,{style:_,children:[y,b,(0,bt.jsx)(Xs.Text,{style:j,children:(0,bt.jsx)(ut.Trans,{id:”Maas+X”,components:{0:(0,bt.jsx)(Xs.Span,{style:[Bs.atoms.font_semi_bold]})}})})]}),t[8]=v):v=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(S=[Bs.atoms.gap_sm],t[9]=S):S=t[9],t[10]!==r?(w=r({id:”L/VuKr”}),t[10]=r,t[11]=w):w=t[11],t[12]!==o.id||t[13]!==u?(T=()=>{u({type:”hideFeed”,id:o.id})},t[12]=o.id,t[13]=u,t[14]=T):T=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(k=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”L/VuKr”})}),t[15]=k):k=t[15],t[16]!==f?(C=f&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader}),t[16]=f,t[17]=C):C=t[17],t[18]!==w||t[19]!==T||t[20]!==C?(P=(0,bt.jsxs)(Ks.Button,{label:w,size:”large”,color:”primary_subtle”,onPress:T,children:[k,C]}),t[18]=w,t[19]=T,t[20]=C,t[21]=P):P=t[21],t[22]!==r?(A=r({id:”2wMUqT”}),t[22]=r,t[23]=A):A=t[23],t[24]!==u?(I=()=>{u({type:”toggleHideAllFeeds”})},t[24]=u,t[25]=I):I=t[25],t[26]===Symbol.for(“react.memo_cache_sentinel”)?(L=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”2wMUqT”})}),t[26]=L):L=t[26],t[27]!==g?(R=g&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader}),t[27]=g,t[28]=R):R=t[28],t[29]!==A||t[30]!==I||t[31]!==R?(E=(0,bt.jsxs)(Ks.Button,{label:A,size:”large”,color:”secondary”,onPress:I,children:[L,R]}),t[29]=A,t[30]=I,t[31]=R,t[32]=E):E=t[32],t[33]!==r||t[34]!==s?(D=os.isNative&&(0,bt.jsx)(Ks.Button,{label:r({id:”dEgA5A”}),size:”large”,color:”secondary_inverted”,onPress:()=>s.close(),children:(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”dEgA5A”})})}),t[33]=r,t[34]=s,t[35]=D):D=t[35],t[36]!==P||t[37]!==E||t[38]!==D?(B=(0,bt.jsxs)(Cs.default,{style:S,children:[P,E,D]}),t[36]=P,t[37]=E,t[38]=D,t[39]=B):B=t[39],t[40]!==r||t[41]!==p?(M=p&&(0,bt.jsx)(Qs.Admonition,{type:”error”,children:p.clean||p.raw||r({id:”2ePs/6″})}),t[40]=r,t[41]=p,t[42]=M):M=t[42],t[43]!==B||t[44]!==M?(O=(0,bt.jsxs)(Cs.default,{style:x,children:[v,B,M]}),t[43]=B,t[44]=M,t[45]=O):O=t[45],O}function Td(){const e=(0,a.c)(3),t=function(){const e=(0,a.c)(7),t=Ki(),{data:s,isLoading:o}=Fi();if(o)return Gi;const{hideAllFeeds:n,hiddenFeedIds:r}=s;let i,l;return e[0]!==t||e[1]!==r||e[2]!==n?(i=n?[]:t.feeds.filter((e=>!(e?.id&&r.includes(e?.id||””)))),e[0]=t,e[1]=r,e[2]=n,e[3]=i):i=e[3],e[4]!==t||e[5]!==i?(l=Object.assign({},t,{feeds:i}),e[4]=t,e[5]=i,e[6]=l):l=e[6],l}(),{rightNavVisible:s}=(0,Bs.useLayoutBreakpoints)(),{trendingDisabled:o}=(0,Fr.useTrendingSettings)();if(!t.feeds.length){if(s||o)return null;{let t;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,bt.jsx)(ld,{}),e[0]=t):t=e[0],t}}if(s)return null;let n;return e[1]!==t.feeds?(n=t.feeds.map(kd),e[1]=t.feeds,e[2]=n):n=e[2],n}function kd(e){return(0,bt.jsx)(Cd,{feed:e},e.id)}function Cd(e){const t=(0,a.c)(24),{feed:s}=e,{_:o}=(0,ut.useLingui)(),n=(0,Ms.useDialogControl)(),r=s.layouts.wide;let i,l,c,d,u,m,h,p,f,g;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=[Bs.atoms.px_lg,Bs.atoms.pt_md,Bs.atoms.pb_xs],t[0]=i):i=t[0],t[1]!==s?(l=(0,bt.jsx)(jd,{feed:s,metricContext:”discover”}),t[1]=s,t[2]=l):l=t[2],t[3]!==o?(c=o({id:”aPPqOL”}),t[3]=o,t[4]=c):c=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(d=[Bs.atoms.absolute,Bs.atoms.z_10,{top:6,right:6}],t[5]=d):d=t[5],t[6]!==n?(u=()=>{n.open()},t[6]=n,t[7]=u):u=t[7],t[8]!==r.overlayColor||t[9]!==r.textColor?(m=e=>{const{hovered:t,pressed:s}=e;return(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.rounded_full,{backgroundColor:r.overlayColor,opacity:t||s?.8:.6}]}),(0,bt.jsx)(yd,{size:”sm”,fill:r.textColor,style:[Bs.atoms.z_20]})]})},t[8]=r.overlayColor,t[9]=r.textColor,t[10]=m):m=t[10],t[11]!==c||t[12]!==u||t[13]!==m?(h=(0,bt.jsx)(Ks.Button,{label:c,size:”tiny”,shape:”round”,style:d,onPress:u,children:m}),t[11]=c,t[12]=u,t[13]=m,t[14]=h):h=t[14],t[15]!==l||t[16]!==h?(p=(0,bt.jsx)(Cs.default,{style:i,children:(0,bt.jsxs)(Cs.default,{children:[l,h]})}),t[15]=l,t[16]=h,t[17]=p):p=t[17],t[18]!==s||t[19]!==n?(f=(0,bt.jsx)(Sd,{feed:s,control:n,metricContext:”discover”}),t[18]=s,t[19]=n,t[20]=f):f=t[20],t[21]!==p||t[22]!==f?(g=(0,bt.jsxs)(bt.Fragment,{children:[p,f]}),t[21]=p,t[22]=f,t[23]=g):g=t[23],g}var Pd=o(77453),Ad=o(90060),Id=o(76635),Ld=o(62421);function Rd(e,t,s){const o=function(e,t){let s,o=/(^|\s)@([a-z0-9.-]*)/gi;for(;s=o.exec(e);){const e=s[1].length,o=s.index+e;if(t>=o&&t<=o+s[0].length-e)return{value:s[2],index:o}}}(e,t);return o?`${e.slice(0,o.index)}@${s} ${e.slice(o.index+o.value.length+1)}`:e}var Ed=o(94512),Dd=o(23826);const Bd="app.bsky.feed.postgate";function Md(e){return{$type:Bd,createdAt:(new Date).toISOString(),post:e.post,detachedEmbeddingUris:e.detachedEmbeddingUris||[],embeddingRules:e.embeddingRules||[]}}function Od(e,t){const s=Array.from(new Set([...e.detachedEmbeddingUris||[],...t.detachedEmbeddingUris||[]])),o=[...e.embeddingRules||[],...t.embeddingRules||[]].filter(((e,t,s)=>s.findIndex((t=>t.$type===e.$type))===t));return Md({post:e.post,detachedEmbeddingUris:s,embeddingRules:o})}function Fd({uri:e}){return{$type:”app.bsky.embed.record#view”,record:{$type:”app.bsky.embed.record#viewDetached”,uri:e,detached:!0}}}function Nd({post:e,quote:t,quoteUri:s,detached:o}){return Sn.AppBskyEmbedRecord.isView(e.embed)?o?Fd({uri:s}):function({post:e}){return{$type:”app.bsky.embed.record#view”,record:Hd(e)}}({post:t}):Sn.AppBskyEmbedRecordWithMedia.isView(e.embed)?o?Object.assign({},e.embed,{record:Fd({uri:s})}):function({post:e,quote:t}){if(!Sn.AppBskyEmbedRecordWithMedia.isView(e.embed))return;return Object.assign({},e.embed||{},{record:{record:Hd(t)}})}({post:e,quote:t}):void 0}function Hd(e){return{$type:”app.bsky.embed.record#viewRecord”,uri:e.uri,cid:e.cid,author:e.author,value:e.record,labels:e.labels,replyCount:e.replyCount,repostCount:e.repostCount,likeCount:e.likeCount,quoteCount:e.quoteCount,indexedAt:e.indexedAt,embeds:e.embed?[e.embed]:[]}}const zd={disableRule:{$type:”app.bsky.feed.postgate#disableRule”}};var Vd=o(15121);function Ud(e,t,s,o){const n=new Set;for(const[r,i]of t){if(!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(r))continue;if(o.has(r))continue;if(e){n.add(r);continue}const t=s.get(r);if(!t)continue;const a=t.rt.unicodeText.slice(t.facet.index.byteEnd),l=i.rt.unicodeText.slice(i.facet.index.byteEnd);a!==l?(/^\s/m.test(l)||/^[)]?[.,:;!?)](\s|$)/m.test(a)&&/^[)]?[.,:;!?)]\s/m.test(l))&&n.add(r):n.add(r)}for(const r of o)t.has(r)||o.delete(r);let a;return n.size>0&&(a=Array.from(n)[0],o.add(a)),a}class Gd extends Error{constructor(){super(“Aborted”),this.name=”AbortError”}}class Wd extends Error{constructor(){super(“Videos cannot be larger than 100 MB”),this.name=”VideoTooLargeError”}}class qd extends Error{constructor(e){super(e),this.name=”ServerError”}}class Qd extends Error{constructor(e){super(e),this.name=”UploadLimitError”}}async function Kd(e,t){const{mimeType:s,base64:o}=function(e){const[t,s]=e.slice(5).split(“;base64,”);if(!t||!s)throw new Error(“Invalid data URL”);return{mimeType:t,base64:s}}(e.uri),n=function(e,t){const s=atob(e),o=[];for(let n=0;nkt.VIDEO_MAX_SIZE)throw new Wd;return{size:n.size,uri:a,bytes:await n.arrayBuffer(),mimeType:s}}const Zd=(e,t)=>{const s=new URL(kt.VIDEO_SERVICE);if(s.pathname=e,t)for(const o in t)s.searchParams.set(o,t[o]);return s.href};function Yd(){return new Sn.AtpAgent({service:kt.VIDEO_SERVICE})}function $d(e){switch(e){case”video/mp4″:return”mp4″;case”video/webm”:return”webm”;case”video/mpeg”:return”mpeg”;case”video/quicktime”:return”mov”;case”image/gif”:return”gif”;default:throw new Error(`Unsupported mime type: ${e}`)}}async function Xd({agent:e,aud:t,lxm:s,exp:o}){const n=(0,Ct.getServiceAuthAudFromUrl)(e.dispatchUrl);if(!n)throw new Error(“Agent does not have a PDS URL”);const{data:a}=await e.com.atproto.server.getServiceAuth({aud:t??n,lxm:s,exp:o});return a.token}async function Jd({video:e,agent:t,did:s,setProgress:o,signal:n,_:a}){if(n.aborted)throw new Gd;await async function(e,t){const s=await Xd({agent:e,lxm:”app.bsky.video.getUploadLimits”,aud:kt.VIDEO_SERVICE_DID}),o=Yd(),{data:n}=await o.app.bsky.video.getUploadLimits({},{headers:{Authorization:`Bearer ${s}`}}).catch((e=>{throw e instanceof Error?new Qd(e.message):e}));if(!n.canUpload)throw n.message?new Qd(n.message):new Qd(t({id:”FMu5rS”}))}(t,a);const r=Zd(“/xrpc/app.bsky.video.uploadVideo”,{did:s,name:`${(0,Ld.nanoid)(12)}.${$d(e.mimeType)}`});let i=e.bytes;if(!i){if(n.aborted)throw new Gd;i=await fetch(e.uri).then((e=>e.arrayBuffer()))}if(n.aborted)throw new Gd;const l=await Xd({agent:t,lxm:”com.atproto.repo.uploadBlob”,exp:Date.now()/1e3+1800});if(n.aborted)throw new Gd;const c=new XMLHttpRequest,d=await new Promise(((t,s)=>{c.upload.addEventListener(“progress”,(e=>{const t=e.loaded/e.total;o(t)})),c.onloadend=()=>{if(n.aborted)s(new Gd);else if(4===c.readyState){const e=JSON.parse(c.responseText);t(e)}else s(new qd(a({id:”7pThXn”})))},c.onerror=()=>{s(new qd(a({id:”7pThXn”})))},c.open(“POST”,r),c.setRequestHeader(“Content-Type”,e.mimeType),c.setRequestHeader(“Authorization”,`Bearer ${l}`),c.send(i)}));if(!d.jobId)throw new qd(d.error||a({id:”7pThXn”}));if(n.aborted)throw new Gd;return d}const eu=new AbortController;eu.abort();const tu=Object.freeze({status:”idle”,progress:0,abortController:eu,asset:void 0,video:void 0,jobId:void 0,pendingPublish:void 0,altText:””,captions:[]});function su(e,t){return{status:”compressing”,progress:0,abortController:t,asset:e,altText:””,captions:[]}}function ou(e,t){if(t.signal.aborted||t.signal!==e.abortController.signal)return e;if(“to_error”===t.type)return{status:”error”,progress:100,abortController:e.abortController,error:t.error,asset:e.asset??null,video:e.video??null,jobId:e.jobId??null,altText:e.altText,captions:e.captions};if(“update_progress”===t.type){if(“compressing”===e.status||”uploading”===e.status)return Object.assign({},e,{progress:t.progress})}else{if(“update_alt_text”===t.type)return Object.assign({},e,{altText:t.altText});if(“update_captions”===t.type)return Object.assign({},e,{captions:t.updater(e.captions)});if(“compressing_to_uploading”===t.type)return”compressing”===e.status?{status:”uploading”,progress:0,abortController:e.abortController,asset:e.asset,video:t.video,altText:e.altText,captions:e.captions}:e;if(“uploading_to_processing”===t.type){if(“uploading”===e.status)return{status:”processing”,progress:0,abortController:e.abortController,asset:e.asset,video:e.video,jobId:t.jobId,jobStatus:null,altText:e.altText,captions:e.captions}}else if(“update_job_status”===t.type){if(“processing”===e.status)return Object.assign({},e,{jobStatus:t.jobStatus,progress:void 0!==t.jobStatus.progress?t.jobStatus.progress/100:e.progress})}else if(“to_done”===t.type&&”processing”===e.status)return{status:”done”,progress:100,abortController:e.abortController,asset:e.asset,video:e.video,pendingPublish:{blobRef:t.blobRef},altText:e.altText,captions:e.captions}}return e}async function nu(t,s,o,n,a,r){let i,l;try{i=await Kd(t)}catch(e){const o=function(e,t){if(e instanceof Gd)return null;if(e instanceof Wd)return t({id:”TQVwx6″});return vt.logger.error(“Error compressing video”,{safeMessage:e}),t({id:”GEF5nN”})}(e,r);return void(null!==o&&s({type:”to_error”,error:o,signal:a}))}s({type:”compressing_to_uploading”,video:i,signal:a});try{l=await Jd({video:i,agent:o,did:n,signal:a,_:r,setProgress:e=>{s({type:”update_progress”,progress:e,signal:a})}})}catch(e){const o=function(e,t){if(e instanceof Gd)return null;if(vt.logger.error(“Error uploading video”,{safeMessage:e}),e instanceof qd||e instanceof Qd)switch(e.message){case”User is not allowed to upload videos”:return t({id:”cY2cFE”});case”Uploading is disabled at the moment”:return t({id:”YGHpik”});case”Failed to get user’s upload stats”:return t({id:”Do+/5x”});case”User has exceeded daily upload bytes limit”:return t({id:”h8qUzj”});case”User has exceeded daily upload videos limit”:return t({id:”YQ65sD”});case”Account is not old enough to upload videos”:return t({id:”K9PUYb”});case”file size (100000001 bytes) is larger than the maximum allowed size (100000000 bytes)”:return t({id:”TQVwx6″});default:return e.message}return t({id:”SW3kNa”})}(e,r);return void(null!==o&&s({type:”to_error”,error:o,signal:a}))}const c=l.jobId;s({type:”uploading_to_processing”,jobId:c,signal:a});let d=0;for(;;){if(a.aborted)return;const t=Yd();let o,n;try{if(o=(await t.app.bsky.video.getJobStatus({jobId:c})).data.jobStatus,d=0,”JOB_STATE_COMPLETED”===o.state){if(n=o.blob,!n)throw new Error(“Job completed, but did not return a blob”)}else if(“JOB_STATE_FAILED”===o.state)throw new Error(o.error??”Job failed to process”)}catch(e){if(!o&&(d++,d<50)){await new Promise((e=>setTimeout(e,5e3)));continue}return vt.logger.error(“Error processing video”,{safeMessage:e}),void s({type:”to_error”,error:r({id:”tIqkWN”}),signal:a})}if(s(n?{type:”to_done”,blobRef:n,signal:a}:{type:”update_job_status”,jobStatus:o,signal:a}),”JOB_STATE_COMPLETED”===o.state||”JOB_STATE_FAILED”===o.state)return;await new Promise((e=>setTimeout(e,1500)))}}const au=4;function ru(e,t){switch(t.type){case”update_postgate”:return Object.assign({},e,{thread:Object.assign({},e.thread,{postgate:t.postgate})});case”update_threadgate”:return Object.assign({},e,{thread:Object.assign({},e.thread,{threadgate:t.threadgate})});case”update_post”:{let s=e.thread.posts;const o=e.thread.posts.findIndex((e=>e.id===t.postId));return-1!==o&&(s=e.thread.posts.slice(),s[o]=function(e,t){switch(t.type){case”update_richtext”:return Object.assign({},e,{richtext:t.richtext,shortenedGraphemeLength:lu(t.richtext)});case”update_labels”:return Object.assign({},e,{labels:t.labels});case”embed_add_images”:{if(0===t.images.length)return e;const s=e.embed.media;let o=s;return s?”images”===s.type&&(o=Object.assign({},s,{images:[…s.images,…t.images].slice(0,au)})):o={type:”images”,images:t.images.slice(0,au)},Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_image”:{const s=e.embed.media;if(“images”===s?.type){const o=t.image,n=Object.assign({},s,{images:s.images.map((e=>e.source.id===o.source.id?o:e))});return Object.assign({},e,{embed:Object.assign({},e.embed,{media:n})})}return e}case”embed_remove_image”:{const s=e.embed.media;let o=e.labels;if(“images”===s?.type){const n=t.image;let a=Object.assign({},s,{images:s.images.filter((e=>e.source.id!==n.source.id))});return 0===a.images.length&&(a=void 0,e.embed.link||(o=[])),Object.assign({},e,{labels:o,embed:Object.assign({},e.embed,{media:a})})}return e}case”embed_add_video”:{const s=e.embed.media;let o=s;return s||(o={type:”video”,video:su(t.asset,t.abortController)}),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_video”:{const s=t.videoAction,o=e.embed.media;let n=o;return”video”===o?.type&&(n=Object.assign({},o,{video:ou(o.video,s)})),Object.assign({},e,{embed:Object.assign({},e.embed,{media:n})})}case”embed_remove_video”:{const t=e.embed.media;let s=t;”video”===t?.type&&(t.video.abortController.abort(),s=void 0);let o=e.labels;return e.embed.link||(o=[]),Object.assign({},e,{labels:o,embed:Object.assign({},e.embed,{media:s})})}case”embed_add_uri”:{const s=e.embed.quote,o=e.embed.link;let n=s,a=o;return(0,Ct.isBskyPostUrl)(t.uri)?s||(n={type:”link”,uri:t.uri}):o||(a={type:”link”,uri:t.uri}),Object.assign({},e,{embed:Object.assign({},e.embed,{quote:n,link:a})})}case”embed_remove_link”:{let t=e.labels;return e.embed.media||(t=[]),Object.assign({},e,{labels:t,embed:Object.assign({},e.embed,{link:void 0})})}case”embed_remove_quote”:return Object.assign({},e,{embed:Object.assign({},e.embed,{quote:void 0})});case”embed_add_gif”:{const s=e.embed.media;let o=s;return s||(o={type:”gif”,gif:t.gif,alt:””}),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_gif”:{const s=e.embed.media;let o=s;return”gif”===s?.type&&(o=Object.assign({},s,{alt:t.alt})),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_remove_gif”:{const t=e.embed.media;let s=t;return”gif”===t?.type&&(s=void 0),Object.assign({},e,{embed:Object.assign({},e.embed,{media:s})})}}}(e.thread.posts[o],t.postAction)),Object.assign({},e,{thread:Object.assign({},e.thread,{posts:s})})}case”add_post”:{const t=e.activePostIndex,s=[…e.thread.posts];return s.splice(t+1,0,{id:(0,Ld.nanoid)(),richtext:new Sn.RichText({text:””}),shortenedGraphemeLength:0,labels:[],embed:{quote:void 0,media:void 0,link:void 0}}),Object.assign({},e,{thread:Object.assign({},e.thread,{posts:s})})}case”remove_post”:{if(e.thread.posts.length<2)return e;let s=e.activePostIndex;const o=e.thread.posts.findIndex((e=>e.id===t.postId));let n=[…e.thread.posts];if(-1!==o){const t=e.thread.posts[o];”video”===t.embed.media?.type&&t.embed.media.video.abortController.abort(),n.splice(o,1),s=Math.max(0,o-1)}return Object.assign({},e,{activePostIndex:s,mutableNeedsFocusActive:!0,thread:Object.assign({},e.thread,{posts:n})})}case”focus_post”:{const s=e.thread.posts.findIndex((e=>e.id===t.postId));return-1===s?e:Object.assign({},e,{activePostIndex:s})}}}function iu({initText:e,initMention:t,initImageUris:s,initQuoteUri:o,initInteractionSettings:n}){let a,r;if(s?.length&&(a={type:”images”,images:(0,Dd.createInitialImages)(s)}),o){const e=(0,Ct.postUriToRelativePath)(o);e&&(r={type:”link”,uri:(0,Ct.toBskyAppUrl)(e)})}const i=new Sn.RichText({text:e||(t?Rd(`@${t}`,t.length+1,`${t}`):””)});let l;if(e){i.detectFacetsWithoutResolution();const e=new Map,t=new Map;if(i.facets)for(const a of i.facets)for(const s of a.features)Sn.AppBskyRichtextFacet.isLink(s)&&((0,Ct.isBskyPostUrl)(s.uri)?t.set(s.uri,{facet:a,rt:i}):e.set(s.uri,{facet:a,rt:i}));const s=new Set,o=Ud(!0,e,new Map,s);o&&(l={type:”link”,uri:o});const n=Ud(!0,t,new Map,s);n&&(r||(r={type:”link”,uri:n}))}return{activePostIndex:0,mutableNeedsFocusActive:!1,thread:{posts:[{id:(0,Ld.nanoid)(),richtext:i,shortenedGraphemeLength:lu(i),labels:[],embed:{quote:r,media:a,link:l}}],postgate:Md({post:””,embeddingRules:n?.postgateEmbeddingRules||[]}),threadgate:(0,Vd.threadgateRecordToAllowUISetting)({$type:”app.bsky.feed.threadgate”,post:””,createdAt:(new Date).toString(),allow:n?.threadgateAllowRules})}}}function lu(e){return(0,Ed.shortenLinks)(e).graphemeLength}var cu=o(87990),du=o(23173);const uu=(0,zr.createSinglePathSVG)({viewBox:”0 0 46 46″,strokeLinecap:”round”,strokeWidth:1.5,path:”m1.417 28.645 7.586-5.676a5.33 5.33 0 0 1 6.867.809c3.98 4.286 8.594 8.182 14.88 8.182 5.794 0 9.633-2.147 13.333-5.847m-38 18.637h33.334a5.333 5.333 0 0 0 5.333-5.333V6.083A5.333 5.333 0 0 0 39.417.75H6.083A5.333 5.333 0 0 0 .75 6.083v33.334a5.333 5.333 0 0 0 5.333 5.333ZM36.75 14.083a5.333 5.333 0 1 1-10.667 0 5.333 5.333 0 0 1 10.667 0Z”}),mu=(0,zr.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v7.213l1.246-.932.044-.03a3 3 0 0 1 3.863.454c1.468 1.58 2.941 2.749 4.847 2.749 1.703 0 2.855-.555 4-1.618V5H5Zm14 10.357c-1.112.697-2.386 1.097-4 1.097-2.81 0-4.796-1.755-6.313-3.388a1 1 0 0 0-1.269-.164L5 14.712V19h14v-3.643ZM15 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z”});function hu(e){const t=(0,a.c)(6),{style:s,hover:o,web:n,native:r}=e,i=void 0===n||n,l=void 0!==r&&r,c=(0,Bs.useTheme)();let d;e:switch(c.name){case”dark”:d=.4;break e;case”dim”:d=.45;break e;case”light”:d=.5}const u=o?d:0;let m,h;t[0]!==u?(m={opacity:u},t[0]=u,t[1]=m):m=t[1],t[2]!==s||t[3]!==c.atoms.bg_contrast_50||t[4]!==m?(h=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.pointer_events_none,Bs.atoms.transition_opacity,c.atoms.bg_contrast_50,s,m]}),t[2]=s,t[3]=c.atoms.bg_contrast_50,t[4]=m,t[5]=h):h=t[5];const p=h;return os.isWeb&&i?Zc.isTouchDevice?null:p:os.isNative&&l?p:null}function pu(){const{_:e}=(0,ut.useLingui)(),t=(0,Bs.useTheme)(),{openComposer:s}=Eo(),o=(0,Id.useCurrentAccountProfile)(),[n,a]=(0,ct.useState)(!1),{requestCameraAccessIfNeeded:r}=(0,Pd.useCameraPermission)(),{requestPhotoAccessIfNeeded:i}=(0,Pd.usePhotoLibraryPermission)(),{requestVideoAccessIfNeeded:l}=(0,Pd.useVideoLibraryPermission)(),c=(0,cu.useSheetWrapper)(),d=(0,ct.useCallback)((()=>{vt.logger.metric(“composerPrompt:press”,{}),s({})}),[s]),u=(0,ct.useCallback)((async()=>{if(vt.logger.metric(“composerPrompt:gallery:press”,{}),os.isNative)try{const[e,t]=await Promise.all([i(),l()]);if(!e&&!t)return;Es.default.isVisible()&&Es.default.dismiss();const o=au,{assets:n,canceled:a}=await c((0,Ad.openUnifiedPicker)({selectionCountRemaining:o}));if(a)return;if(n.length>0){const e=n.filter((e=>e.mimeType?.startsWith(“image/”))).slice(0,au).map((e=>({uri:e.uri,width:e.width,height:e.height})));e.length>0&&s({imageUris:e})}}catch(e){String(e).toLowerCase().includes(“cancel”)||vt.logger.warn(“Error opening image picker”,{error:e})}else s({openGallery:!0})}),[s,i,l,c]),m=(0,ct.useCallback)((async()=>{vt.logger.metric(“composerPrompt:camera:press”,{});try{if(!await r())return;os.isNative&&Es.default.isVisible()&&Es.default.dismiss();const e=await(0,Ad.openCamera)({mediaTypes:”images”}),t=[{uri:e.path,width:e.width,height:e.height}];s({imageUris:os.isNative?t:void 0})}catch(e){String(e).toLowerCase().includes(“cancel”)||vt.logger.warn(“Error opening camera”,{error:e})}}),[s,r]);return o?(0,bt.jsxs)(Yo.default,{onPress:d,android_ripple:null,accessibilityRole:”button”,accessibilityLabel:e({id:”AIa/f7″}),accessibilityHint:e({id:”ybdkEK”}),onPointerEnter:()=>a(!0),onPointerLeave:()=>a(!1),style:({pressed:e})=>[Bs.atoms.relative,Bs.atoms.flex_row,Bs.atoms.align_start,{paddingLeft:18,paddingRight:15},Bs.atoms.py_md,(0,Bs.native)({paddingTop:10,paddingBottom:10}),(0,Bs.web)({cursor:”pointer”,outline:”none”}),e&&(0,Bs.web)({outline:”none”})],children:[(0,bt.jsx)(hu,{hover:n}),(0,bt.jsx)(Li.UserAvatar,{avatar:o.avatar,size:42,type:o.associated?.labeler?”labeler”:”user”}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.ml_md,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.justify_between,{height:40}],children:[(0,bt.jsx)(Xs.Text,{style:[t.atoms.text_contrast_medium,Bs.atoms.text_md,{includeFontPadding:!1}],children:(0,bt.jsx)(ut.Trans,{id:”tmQ7o0″})}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_md],children:[os.isNative&&(0,bt.jsx)(Ks.Button,{onPress:e=>{e.stopPropagation(),m()},label:e({id:”K9sUMv”}),accessibilityHint:e({id:”1dluSl”}),variant:”ghost”,shape:”round”,children:({hovered:e,pressed:s,focused:o})=>(0,bt.jsx)(du.Camera_Stroke2_Corner0_Rounded,{size:”lg”,style:{color:e||s||o?t.palette.primary_500:t.palette.contrast_300}})}),(0,bt.jsx)(Ks.Button,{onPress:e=>{e.stopPropagation(),u()},label:e({id:”P5MuiB”}),accessibilityHint:e({id:”73xhdw”}),variant:”ghost”,shape:”round”,children:({hovered:e,pressed:s,focused:o})=>(0,bt.jsx)(mu,{size:”lg”,style:{color:e||s||o?t.palette.primary_500:t.palette.contrast_300}})})]})]})]}):null}var fu=o(99866);function gu(e){const t=(0,a.c)(7),{style:s,size:o,strokeWidth:n,color:r}=e,i=void 0===n?2:n,l=void 0===r?”currentColor”:r,c=o||24,d=o||24;let u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,bt.jsx)(fu.Path,{strokeLinecap:”round”,strokeLinejoin:”round”,d:”M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z”}),t[0]=u):u=t[0],t[1]!==l||t[2]!==i||t[3]!==s||t[4]!==c||t[5]!==d?(m=(0,bt.jsx)(fu.default,{fill:”none”,viewBox:”0 0 24 24″,strokeWidth:i,stroke:l,width:c,height:d,style:s,children:u}),t[1]=l,t[2]=i,t[3]=s,t[4]=c,t[5]=d,t[6]=m):m=t[6],m}function xu(e){const t=(0,a.c)(13),{style:s,size:o,strokeWidth:n}=e,r=void 0===n?1.5:n,i=o||24,l=o||24;let c;t[0]!==r?(c=(0,bt.jsx)(fu.Path,{d:”M 20 9 L 20 16 C 20 18.209 18.209 20 16 20 L 8 20 C 5.791 20 4 18.209 4 16 L 4 8 C 4 5.791 5.791 4 8 4 L 15 4″,strokeWidth:r}),t[0]=r,t[1]=c):c=t[1];const d=1.5*r;let u;t[2]!==d?(u=(0,bt.jsx)(fu.Line,{strokeLinecap:”round”,x1:”10″,y1:”14″,x2:”18.5″,y2:”5.5″,strokeWidth:d}),t[2]=d,t[3]=u):u=t[3];const m=1.5*r;let h,p;return t[4]!==m?(h=(0,bt.jsx)(fu.Line,{strokeLinecap:”round”,x1:”20.5″,y1:”3.5″,x2:”21″,y2:”3″,strokeWidth:m}),t[4]=m,t[5]=h):h=t[5],t[6]!==s||t[7]!==i||t[8]!==l||t[9]!==c||t[10]!==u||t[11]!==h?(p=(0,bt.jsxs)(fu.default,{viewBox:”0 0 24 24″,stroke:”currentColor”,fill:”none”,width:i,height:l,style:s,children:[c,u,h]}),t[6]=s,t[7]=i,t[8]=l,t[9]=c,t[10]=u,t[11]=h,t[12]=p):p=t[12],p}function _u(e){const t=(0,a.c)(5),{style:s,size:o,strokeWidth:n}=e,r=void 0===n?1.5:n;let i,l;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,bt.jsx)(fu.Path,{strokeLinecap:”round”,strokeLinejoin:”round”,d:”M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z”}),t[0]=i):i=t[0],t[1]!==o||t[2]!==r||t[3]!==s?(l=(0,bt.jsx)(fu.default,{fill:”none”,viewBox:”0 0 24 24″,strokeWidth:r,stroke:”currentColor”,width:o,height:o,style:s,children:i}),t[1]=o,t[2]=r,t[3]=s,t[4]=l):l=t[4],l}function yu(){const e=(0,a.c)(17),t=(0,un.usePalette)(“default”);let s,o,n,r,i,l,c,d;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s={flexDirection:”row”,alignItems:”center”,paddingVertical:12,paddingHorizontal:12,borderTopWidth:1},e[0]=s):s=e[0],e[1]!==t.border||e[2]!==t.viewLight?(o=[s,t.border,t.viewLight],e[1]=t.border,e[2]=t.viewLight,e[3]=o):o=e[3],e[4]===Symbol.for(“react.memo_cache_sentinel”)?(n={width:68,paddingLeft:12},e[4]=n):n=e[4],e[5]!==t.textLight?(r=(0,bt.jsx)(Cs.default,{style:n,children:(0,bt.jsx)(_u,{size:36,style:t.textLight,strokeWidth:1.5})}),e[5]=t.textLight,e[6]=r):r=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(i={flex:1},e[7]=i):i=e[7],e[8]!==t.link?(l=(0,bt.jsx)(ut.Trans,{id:”Cq0UNG”,components:{0:(0,bt.jsx)(sa,{type:”md-medium”,href:”/profile/bsky.app/feed/whats-hot”,text:”Discover”,style:t.link})}}),e[8]=t.link,e[9]=l):l=e[9],e[10]!==t.text||e[11]!==l?(c=(0,bt.jsx)(Cs.default,{style:i,children:(0,bt.jsx)(tn.Text,{type:”md”,style:t.text,children:l})}),e[10]=t.text,e[11]=l,e[12]=c):c=e[12],e[13]!==o||e[14]!==r||e[15]!==c?(d=(0,bt.jsxs)(Cs.default,{style:o,children:[r,c]}),e[13]=o,e[14]=r,e[15]=c,e[16]=d):d=e[16],d}function bu(e){const t=(0,a.c)(45),{feedUri:s}=e,o=(0,Bs.useTheme)(),{_:n}=(0,ut.useLingui)(),r=vs(),{data:i}=(0,nr.usePreferencesQuery)(),{mutateAsync:l,isPending:c}=(0,nr.useRemoveFeedMutation)(),{mutateAsync:d,isPending:u}=(0,nr.useReplaceForYouWithDiscoverFeedMutation)();let m;t[0]!==s||t[1]!==i?.savedFeeds?(m=i?.savedFeeds?.find((e=>e.value===s&&e.pinned)),t[0]=s,t[1]=i?.savedFeeds,t[2]=m):m=t[2];const h=m;let p;t[3]!==i?.savedFeeds?(p=i?.savedFeeds?.find(ju),t[3]=i?.savedFeeds,t[4]=p):p=t[4];const f=p,g=Boolean(h),x=Boolean(f?.pinned);let _;t[5]!==n||t[6]!==h||t[7]!==x||t[8]!==l||t[9]!==r?(_=async()=>{try{h&&(await l(h),ws.show(n({id:”lLrUFY”}))),x&&r(`feedgen|${(0,kt.PROD_DEFAULT_FEED)(“whats-hot”)}`)}catch(b){const t=b;ws.show(n({id:”BUQ9V9″}),”exclamation-circle”),vt.logger.error(“Failed to update feeds”,{message:t})}},t[5]=n,t[6]=h,t[7]=x,t[8]=l,t[9]=r,t[10]=_):_=t[10];const y=_;let b;t[11]!==n||t[12]!==f||t[13]!==h||t[14]!==d||t[15]!==r?(b=async()=>{try{await d({forYouFeedConfig:h,discoverFeedConfig:f}),r(`feedgen|${(0,kt.PROD_DEFAULT_FEED)(“whats-hot”)}`),ws.show(n({id:”/X+NF+”}))}catch(S){const t=S;ws.show(n({id:”BUQ9V9″}),”exclamation-circle”),vt.logger.error(“Failed to update feeds”,{message:t})}},t[11]=n,t[12]=f,t[13]=h,t[14]=d,t[15]=r,t[16]=b):b=t[16];const j=b,v=u||c;let S,w,T,k,C,P,A,I,L;return t[17]!==o.atoms.border_contrast_low?(S=[Bs.atoms.py_3xl,Bs.atoms.px_2xl,Bs.atoms.gap_xl,o.atoms.border_contrast_low,Bs.atoms.border_t],t[17]=o.atoms.border_contrast_low,t[18]=S):S=t[18],t[19]!==o.atoms.text?(w=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_5xl,Bs.atoms.font_semi_bold,o.atoms.text,Bs.atoms.text_center],children:”:(“}),t[19]=o.atoms.text,t[20]=w):w=t[20],t[21]!==o.atoms.text?(T=[Bs.atoms.text_md,Bs.atoms.leading_snug,o.atoms.text,Bs.atoms.text_center],t[21]=o.atoms.text,t[22]=T):T=t[22],t[23]!==n?(k=n({id:”bgd/oh”}),t[23]=n,t[24]=k):k=t[24],t[25]===Symbol.for(“react.memo_cache_sentinel”)?(C=[Bs.atoms.text_md],t[25]=C):C=t[25],t[26]!==k?(P=(0,bt.jsx)(ut.Trans,{id:”DCBANM”,components:{0:(0,bt.jsx)(Ys.InlineLinkText,{label:k,to:”/profile/bsky.app/feed/whats-hot”,style:C})}}),t[26]=k,t[27]=P):P=t[27],t[28]!==P||t[29]!==T?(A=(0,bt.jsx)(Xs.Text,{style:T,children:P}),t[28]=P,t[29]=T,t[30]=A):A=t[30],t[31]!==n||t[32]!==x||t[33]!==g||t[34]!==v||t[35]!==c||t[36]!==u||t[37]!==y||t[38]!==j?(I=g?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.justify_center,Bs.atoms.gap_sm],children:[(0,bt.jsxs)(Ks.Button,{variant:”outline”,color:”primary”,size:”small”,label:n({id:”W44VX5″}),disabled:v,onPress:y,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”W44VX5″})}),c&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader})]}),!x&&(0,bt.jsxs)(Ks.Button,{variant:”solid”,color:”primary”,size:”small”,label:n({id:”1rnHcc”}),disabled:v,onPress:j,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”1rnHcc”})}),u&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader})]})]}):void 0,t[31]=n,t[32]=x,t[33]=g,t[34]=v,t[35]=c,t[36]=u,t[37]=y,t[38]=j,t[39]=I):I=t[39],t[40]!==A||t[41]!==I||t[42]!==S||t[43]!==w?(L=(0,bt.jsxs)(Cs.default,{style:S,children:[w,A,I]}),t[40]=A,t[41]=I,t[42]=S,t[43]=w,t[44]=L):L=t[44],L}function ju(e){return e.value===(0,kt.PROD_DEFAULT_FEED)(“whats-hot”)}var vu=o(73963),Su=o(66986);const wu=vt.Logger.create(vt.Logger.Context.PostSource),Tu=new Map,ku=new Map;function Cu(e,t,s=!1){0}var Pu=o(40228),Au=o(84008),Iu=o(93621),Lu=o(57325),Ru=o(35851),Eu=o(15186);function Du(e){const t=(0,a.c)(9),{timestamp:s,children:o,timeToString:n}=e,{i18n:r}=(0,ut.useLingui)(),i=(0,Eu.useGetTimeAgo)(),l=(0,ts.useTickEveryMinute)();let c;t[0]!==i||t[1]!==r||t[2]!==l||t[3]!==n||t[4]!==s?(c=()=>n?n(r,s):i(s,l),t[0]=i,t[1]=r,t[2]=l,t[3]=n,t[4]=s,t[5]=c):c=t[5];const[d,u]=ct.useState(c),[m,h]=ct.useState(l);let p;return m!==l&&(h(l),u(n?n(r,s):i(s,l))),t[6]!==o||t[7]!==d?(p=o({timeElapsed:d}),t[6]=o,t[7]=d,t[8]=p):p=t[8],p}let Bu=e=>{const t=(0,a.c)(74),s=(0,Bs.useTheme)(),{i18n:o,_:n}=(0,ut.useLingui)(),r=(0,Ca.useProfileShadow)(e.author),i=r.displayName||r.handle,l=r.handle;let c;t[0]!==r?(c=(0,va.makeProfileLink)(r),t[0]=r,t[1]=c):c=t[1];const d=c,u=(0,wn.useQueryClient)(),m=e.onOpenAuthor;let h;t[2]!==r||t[3]!==m||t[4]!==u?(h=()=>{(0,At.precacheProfile)(u,r),m?.()},t[2]=r,t[3]=m,t[4]=u,t[5]=h):h=t[5];const p=h;let f;t[6]!==r||t[7]!==u?(f=()=>{(0,At.precacheProfile)(u,r)},t[6]=r,t[7]=u,t[8]=f):f=t[8];const g=f;let x;t[9]!==o||t[10]!==e.timestamp?(x=(0,Ta.niceDate)(o,e.timestamp),t[9]=o,t[10]=e.timestamp,t[11]=x):x=t[11];const _=x;let y;t[12]!==r?(y={profile:r},t[12]=r,t[13]=y):y=t[13];const b=(0,Lu.useSimpleVerificationState)(y),{isActive:j}=(0,ya.useActorStatus)(r);let v,S,w;t[14]!==e.style?(v=[Bs.atoms.flex_1,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.pb_xs,Bs.atoms.gap_xs,Bs.atoms.z_20,e.style],t[14]=e.style,t[15]=v):v=t[15],t[16]!==r||t[17]!==j||t[18]!==e.avatarSize||t[19]!==e.moderation||t[20]!==e.showAvatar?(S=e.showAvatar&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.self_center,Bs.atoms.mr_2xs],children:(0,bt.jsx)(Li.PreviewableUserAvatar,{size:e.avatarSize||16,profile:r,moderation:e.moderation?.ui(“avatar”),type:r.associated?.labeler?”labeler”:”user”,live:j,hideLiveBadge:!0})}),t[16]=r,t[17]=j,t[18]=e.avatarSize,t[19]=e.moderation,t[20]=e.showAvatar,t[21]=S):S=t[21],t[22]===Symbol.for(“react.memo_cache_sentinel”)?(w=[Bs.atoms.flex_row,Bs.atoms.align_end,Bs.atoms.flex_shrink],t[22]=w):w=t[22];const T=r.did;let k,C,P,A,I,L,R,E,D,B;t[23]===Symbol.for(“react.memo_cache_sentinel”)?(k=[Bs.atoms.flex_row,Bs.atoms.align_end,Bs.atoms.flex_shrink],t[23]=k):k=t[23],t[24]!==n?(C=n({id:”73lp8c”}),t[24]=n,t[25]=C):C=t[25],t[26]===Symbol.for(“react.memo_cache_sentinel”)?(P={maxWidth:”70%”},t[26]=P):P=t[26],t[27]!==s.atoms.text?(A=[Bs.atoms.text_md,Bs.atoms.font_semi_bold,s.atoms.text,Bs.atoms.leading_tight,Bs.atoms.flex_shrink_0,P],t[27]=s.atoms.text,t[28]=A):A=t[28],t[29]!==i||t[30]!==e.moderation?(I=(0,Pu.forceLTR)((0,Sa.sanitizeDisplayName)(i,e.moderation?.ui(“displayName”))),t[29]=i,t[30]=e.moderation,t[31]=I):I=t[31],t[32]!==p||t[33]!==d||t[34]!==C||t[35]!==A||t[36]!==I?(L=(0,bt.jsx)(Ys.WebOnlyInlineLinkText,{emoji:!0,numberOfLines:1,to:d,label:C,disableMismatchWarning:!0,onPress:p,style:A,children:I}),t[32]=p,t[33]=d,t[34]=C,t[35]=A,t[36]=I,t[37]=L):L=t[37],t[38]!==b.role||t[39]!==b.showBadge?(R=b.showBadge&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.pl_2xs,Bs.atoms.self_center,{marginTop:(0,Bs.platform)({web:0,ios:0,android:-1})}],children:(0,bt.jsx)(Ru.VerificationCheck,{width:(0,Bs.platform)({android:13,default:12}),verifier:”verifier”===b.role})}),t[38]=b.role,t[39]=b.showBadge,t[40]=R):R=t[40],t[41]!==n?(E=n({id:”73lp8c”}),t[41]=n,t[42]=E):E=t[42],t[43]===Symbol.for(“react.memo_cache_sentinel”)?(D={flexShrink:10},t[43]=D):D=t[43],t[44]!==s.atoms.text_contrast_medium?(B=[Bs.atoms.text_md,s.atoms.text_contrast_medium,Bs.atoms.leading_tight,D],t[44]=s.atoms.text_contrast_medium,t[45]=B):B=t[45];const M=Au.NON_BREAKING_SPACE+(0,wa.sanitizeHandle)(l,”@”);let O,F,N,H,z,V,U;return t[46]!==p||t[47]!==d||t[48]!==E||t[49]!==B||t[50]!==M?(O=(0,bt.jsx)(Ys.WebOnlyInlineLinkText,{emoji:!0,numberOfLines:1,to:d,label:E,disableMismatchWarning:!0,disableUnderline:!0,onPress:p,style:B,children:M}),t[46]=p,t[47]=d,t[48]=E,t[49]=B,t[50]=M,t[51]=O):O=t[51],t[52]!==L||t[53]!==R||t[54]!==O?(F=(0,bt.jsxs)(Cs.default,{style:k,children:[L,R,O]}),t[52]=L,t[53]=R,t[54]=O,t[55]=F):F=t[55],t[56]!==r.did||t[57]!==F?(N=(0,bt.jsx)(Iu.ProfileHoverCard,{did:T,children:F}),t[56]=r.did,t[57]=F,t[58]=N):N=t[58],t[59]!==g||t[60]!==e.postHref||t[61]!==s.atoms.text_contrast_medium||t[62]!==_?(H=t=>{const{timeElapsed:o}=t;return(0,bt.jsxs)(Ys.WebOnlyInlineLinkText,{to:e.postHref,label:_,title:_,disableMismatchWarning:!0,disableUnderline:!0,onPress:g,style:[Bs.atoms.pl_xs,Bs.atoms.text_md,Bs.atoms.leading_tight,os.isAndroid&&Bs.atoms.flex_grow,Bs.atoms.text_right,s.atoms.text_contrast_medium,(0,Bs.web)({whiteSpace:”nowrap”})],children:[!os.isAndroid&&(0,bt.jsxs)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_tight,s.atoms.text_contrast_medium],accessible:!1,children:[“\xb7″,” “]}),o]})},t[59]=g,t[60]=e.postHref,t[61]=s.atoms.text_contrast_medium,t[62]=_,t[63]=H):H=t[63],t[64]!==e.timestamp||t[65]!==H?(z=(0,bt.jsx)(Du,{timestamp:e.timestamp,children:H}),t[64]=e.timestamp,t[65]=H,t[66]=z):z=t[66],t[67]!==N||t[68]!==z?(V=(0,bt.jsxs)(Cs.default,{style:w,children:[N,z]}),t[67]=N,t[68]=z,t[69]=V):V=t[69],t[70]!==V||t[71]!==v||t[72]!==S?(U=(0,bt.jsxs)(Cs.default,{style:v,children:[S,V]}),t[70]=V,t[71]=v,t[72]=S,t[73]=U):U=t[73],U};Bu=(0,ct.memo)(Bu);var Mu=o(44959),Ou=o(51158);function Fu(e){const t=(0,a.c)(17),{testID:s,modui:o,ignoreMute:n,style:r,activeStyle:i,childContainerStyle:l,children:c}=e,d=o?.blurs[0];if(!d||n&&(0,Mu.isJustAMute)(o)){let e,o;return t[0]!==c?(e=”function”===typeof c?c({active:!1}):c,t[0]=c,t[1]=e):e=t[1],t[2]!==r||t[3]!==e||t[4]!==s?(o=(0,bt.jsx)(Cs.default,{testID:s,style:r,children:e}),t[2]=r,t[3]=e,t[4]=s,t[5]=o):o=t[5],o}let u,m,h;return t[6]!==i||t[7]!==r?(u=[r,i],t[6]=i,t[7]=r,t[8]=u):u=t[8],t[9]!==c?(m=”function”===typeof c?c({active:!0}):c,t[9]=c,t[10]=m):m=t[10],t[11]!==l||t[12]!==o||t[13]!==u||t[14]!==m||t[15]!==s?(h=(0,bt.jsx)(Nu,{testID:s,modui:o,style:u,childContainerStyle:l,children:m}),t[11]=l,t[12]=o,t[13]=u,t[14]=m,t[15]=s,t[16]=h):h=t[16],h}function Nu({testID:e,modui:t,style:s,childContainerStyle:o,children:n}){const a=(0,Bs.useTheme)(),{_:r}=(0,ut.useLingui)(),{gtMobile:i}=(0,Bs.useBreakpoints)(),[l,c]=ct.useState(!1),d=(0,Tc.useModerationDetailsDialogControl)(),{labelDefs:u}=(0,_t.useLabelDefinitions)(),m=(0,fa.useGlobalLabelStrings)(),{i18n:h}=(0,ut.useLingui)(),p=t?.blurs[0],f=(0,wc.useModerationCauseDescription)(p),g=ct.useMemo((()=>{if(!t?.blurs||!p)return;if(“label”!==p.type||”label”===p.type&&”user”!==p.source.type)return f.isSubjectAccount?r({id:”9EvyLl”,values:{0:f.name}}):f.name;let e=!1;const s=t.blurs.filter((t=>{if(“label”!==t.type)return!1;if(“user”!==t.source.type)return!1;if(Mu.ADULT_CONTENT_LABELS.includes(t.label.val)){if(e)return!1;e=!0}return!0})).slice(0,2).map((e=>{if(“label”!==e.type)return;const t=e.labelDef||(0,Ou.getDefinition)(u,e.label);return”porn”===t.identifier||”sexual”===t.identifier?r({id:”qLa52r”}):(0,Ou.getLabelStrings)(h.locale,m,t).name}));return 0===s.length?f.name:[…new Set(s)].join(“, “)}),[r,t?.blurs,p,f.name,f.isSubjectAccount,u,h.locale,m]);return(0,bt.jsxs)(Cs.default,{testID:e,style:[Bs.atoms.overflow_hidden,s],children:[(0,bt.jsx)(Tc.ModerationDetailsDialog,{control:d,modcause:p}),(0,bt.jsx)(Ks.Button,{onPress:e=>{e.preventDefault(),e.stopPropagation(),t.noOverride?d.open():c((e=>!e))},label:f.name,accessibilityHint:t.noOverride?r({id:”dyp7Hm”}):r(l?{id:”IbbZpm”}:{id:”X8XK4K”}),children:e=>(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.w_full,Bs.atoms.justify_start,Bs.atoms.align_center,Bs.atoms.py_md,Bs.atoms.px_lg,Bs.atoms.gap_xs,Bs.atoms.rounded_sm,a.atoms.bg_contrast_25,i&&[Bs.atoms.gap_sm,Bs.atoms.py_lg,Bs.atoms.mt_xs,Bs.atoms.px_xl],(e.hovered||e.pressed)&&a.atoms.bg_contrast_50],children:[(0,bt.jsx)(f.icon,{size:”md”,fill:a.atoms.text_contrast_medium.color,style:{marginLeft:-2}}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.flex_1,Bs.atoms.text_left,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug,i&&[Bs.atoms.font_semi_bold],a.atoms.text_contrast_medium,(0,Bs.web)({marginBottom:1})],numberOfLines:2,children:g}),!t.noOverride&&(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_semi_bold,Bs.atoms.leading_snug,i&&[Bs.atoms.font_semi_bold],a.atoms.text_contrast_high,(0,Bs.web)({marginBottom:1})],children:l?(0,bt.jsx)(ut.Trans,{id:”vLyv1R”}):(0,bt.jsx)(ut.Trans,{id:”8vETh9″})})]})}),f.source&&”label”===p.type&&!l&&(0,bt.jsx)(Ks.Button,{onPress:e=>{e.preventDefault(),e.stopPropagation(),d.open()},label:r({id:”dyp7Hm”}),style:[Bs.atoms.pt_sm],children:e=>(0,bt.jsxs)(Xs.Text,{style:[Bs.atoms.flex_1,Bs.atoms.text_sm,Bs.atoms.font_normal,Bs.atoms.leading_snug,a.atoms.text_contrast_medium,Bs.atoms.text_left],children:[“user”===f.sourceType?(0,bt.jsx)(ut.Trans,{id:”WeiD66″}):(0,bt.jsx)(ut.Trans,{id:”CaKI7F”,values:{0:(0,Sa.sanitizeDisplayName)(f.source)}}),” “,(0,bt.jsx)(Xs.Text,{style:[{color:a.palette.primary_500},Bs.atoms.text_sm,e.hovered&&[(0,Bs.web)({textDecoration:”underline”})]],children:(0,bt.jsx)(ut.Trans,{id:”F6TdXL”})})]})}),l&&(0,bt.jsx)(Cs.default,{style:o,children:n})]})}var Hu=o(77585);function zu(e){const t=(0,a.c)(7);let s,o,n,r;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(s={preventExpansion:!0},o=(0,bt.jsx)(Ms.Handle,{}),t[0]=s,t[1]=o):(s=t[0],o=t[1]),t[2]!==e?(n=(0,bt.jsx)(Vu,Object.assign({},e)),t[2]=e,t[3]=n):n=t[3],t[4]!==e.control||t[5]!==n?(r=(0,bt.jsxs)(Ms.Outer,{control:e.control,nativeOptions:s,children:[o,n]}),t[4]=e.control,t[5]=n,t[6]=r):r=t[6],r}function Vu(e){const t=(0,a.c)(19),{_:s}=(0,ut.useLingui)(),{currentAccount:o}=(0,Lt.useSession)(),[n,r]=ct.useState(void 0),{labels:i}=e,l=”account”===e.type;let c;if(o?.did,t[0]!==o?.did||t[1]!==i){let e;t[3]!==o?.did?(e=e=>e.src===o?.did,t[3]=o?.did,t[4]=e):e=t[4],c=i.some(e),t[0]=o?.did,t[1]=i,t[2]=c}else c=t[2];const d=c;let u,m,h,p;return t[5]!==s||t[6]!==l?(u=s(l?{id:”yTqCUW”}:{id:”ULB0Ox”}),t[5]=s,t[6]=l,t[7]=u):u=t[7],t[8]!==n||t[9]!==d||t[10]!==o?.did||t[11]!==l||t[12]!==i||t[13]!==e.control?(m=n?(0,bt.jsx)(Gu,{label:n,control:e.control,onPressBack:()=>r(void 0)}):(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_2xl,Bs.atoms.font_bold,Bs.atoms.pb_xs,Bs.atoms.leading_tight],children:l?(0,bt.jsx)(ut.Trans,{id:”0xXuqM”}):(0,bt.jsx)(ut.Trans,{id:”gLA+uA”})}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.leading_snug],children:d?(0,bt.jsx)(ut.Trans,{id:”BUhPgv”}):(0,bt.jsx)(ut.Trans,{id:”EaUwqE”})}),(0,bt.jsx)(Cs.default,{style:[Bs.atoms.py_lg,Bs.atoms.gap_md],children:i.map((t=>(0,bt.jsx)(Uu,{label:t,isSelfLabel:t.src===o?.did,control:e.control,onPressAppeal:r},`${t.val}-${t.src}`)))})]}),t[8]=n,t[9]=d,t[10]=o?.did,t[11]=l,t[12]=i,t[13]=e.control,t[14]=m):m=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,bt.jsx)(Ms.Close,{}),t[15]=h):h=t[15],t[16]!==u||t[17]!==m?(p=(0,bt.jsxs)(Ms.ScrollableInner,{label:u,children:[m,h]}),t[16]=u,t[17]=m,t[18]=p):p=t[18],p}function Uu(e){const t=(0,a.c)(45),{label:s,isSelfLabel:o,control:n,onPressAppeal:r}=e,i=(0,Bs.useTheme)(),{_:l}=(0,ut.useLingui)(),{labeler:c,strings:d}=(0,Ou.useLabelInfo)(s);let u;t[0]!==s||t[1]!==c?(u=c?(0,wa.sanitizeHandle)(c.creator.handle,”@”):s.src,t[0]=s,t[1]=c,t[2]=u):u=t[2];const m=u;let h;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(h={future:!0},t[3]=h):h=t[3];const p=(0,Eu.useGetTimeAgo)(h);let f,g,x,_,y,b,j,v,S,w,T,k,C,P,A;return t[4]!==i.atoms.border_contrast_low?(f=[Bs.atoms.border,i.atoms.border_contrast_low,Bs.atoms.rounded_sm,Bs.atoms.overflow_hidden],t[4]=i.atoms.border_contrast_low,t[5]=f):f=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(g=[Bs.atoms.p_md,Bs.atoms.gap_sm,Bs.atoms.flex_row],t[6]=g):g=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.flex_1,Bs.atoms.gap_xs],t[7]=x):x=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.font_semi_bold,Bs.atoms.text_md],t[8]=_):_=t[8],t[9]!==d.name?(y=(0,bt.jsx)(Xs.Text,{emoji:!0,style:_,children:d.name}),t[9]=d.name,t[10]=y):y=t[10],t[11]!==i.atoms.text_contrast_medium?(b=[i.atoms.text_contrast_medium,Bs.atoms.leading_snug],t[11]=i.atoms.text_contrast_medium,t[12]=b):b=t[12],t[13]!==d.description||t[14]!==b?(j=(0,bt.jsx)(Xs.Text,{emoji:!0,style:b,children:d.description}),t[13]=d.description,t[14]=b,t[15]=j):j=t[15],t[16]!==y||t[17]!==j?(v=(0,bt.jsxs)(Cs.default,{style:x,children:[y,j]}),t[16]=y,t[17]=j,t[18]=v):v=t[18],t[19]!==l||t[20]!==o||t[21]!==s||t[22]!==r?(S=!o&&(0,bt.jsx)(Cs.default,{children:(0,bt.jsx)(Ks.Button,{variant:”solid”,color:”secondary”,size:”small”,label:l({id:”U0Di/P”}),onPress:()=>r(s),children:(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”U0Di/P”})})})}),t[19]=l,t[20]=o,t[21]=s,t[22]=r,t[23]=S):S=t[23],t[24]!==v||t[25]!==S?(w=(0,bt.jsxs)(Cs.default,{style:g,children:[v,S]}),t[24]=v,t[25]=S,t[26]=w):w=t[26],t[27]===Symbol.for(“react.memo_cache_sentinel”)?(T=(0,bt.jsx)(io,{}),t[27]=T):T=t[27],t[28]!==i.atoms.bg_contrast_25?(k=[Bs.atoms.px_md,Bs.atoms.py_sm,i.atoms.bg_contrast_25],t[28]=i.atoms.bg_contrast_25,t[29]=k):k=t[29],t[30]!==n||t[31]!==o||t[32]!==s||t[33]!==c||t[34]!==m||t[35]!==i.atoms.text_contrast_medium||t[36]!==p?(C=o?(0,bt.jsx)(Xs.Text,{style:[i.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”cyoHsh”})}):(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.justify_between,Bs.atoms.gap_xl,{paddingBottom:1}],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.flex_1,Bs.atoms.leading_snug,i.atoms.text_contrast_medium],numberOfLines:1,children:(0,bt.jsx)(ut.Trans,{id:”hINgTt”,values:{sourceName:m},components:{0:(0,bt.jsx)(Ys.InlineLinkText,{label:m,to:(0,va.makeProfileLink)(c?c.creator:{did:s.src,handle:””}),onPress:()=>n.close()})}})}),s.exp&&(0,bt.jsx)(Cs.default,{children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.leading_snug,Bs.atoms.text_sm,Bs.atoms.italic,i.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”p6Htf2″,values:{0:p(Date.now(),s.exp)}})})})]}),t[30]=n,t[31]=o,t[32]=s,t[33]=c,t[34]=m,t[35]=i.atoms.text_contrast_medium,t[36]=p,t[37]=C):C=t[37],t[38]!==k||t[39]!==C?(P=(0,bt.jsx)(Cs.default,{style:k,children:C}),t[38]=k,t[39]=C,t[40]=P):P=t[40],t[41]!==w||t[42]!==P||t[43]!==f?(A=(0,bt.jsxs)(Cs.default,{style:f,children:[w,T,P]}),t[41]=w,t[42]=P,t[43]=f,t[44]=A):A=t[44],A}function Gu(e){const t=(0,a.c)(94),{label:s,control:o,onPressBack:n}=e,{_:r}=(0,ut.useLingui)(),{labeler:i,strings:l}=(0,Ou.useLabelInfo)(s),{gtMobile:c}=(0,Bs.useBreakpoints)(),[d,u]=ct.useState(“”);let m;t[0]!==s?(m={label:s},t[0]=s,t[1]=m):m=t[1];const{subject:h}=(0,Mu.useLabelSubject)(m),p=”did”in h,f=(0,Lt.useAgent)();let g;t[2]!==s||t[3]!==i?(g=i?(0,wa.sanitizeHandle)(i.creator.handle,”@”):s.src,t[2]=s,t[3]=i,t[4]=g):g=t[4];const x=g,[_,y]=(0,ct.useState)(null);let b,j,v,S;t[5]!==f||t[6]!==d||t[7]!==p||t[8]!==s||t[9]!==h?(b=async()=>{const e=p?”com.atproto.admin.defs#repoRef”:”com.atproto.repo.strongRef”;await f.createModerationReport({reasonType:Sn.ToolsOzoneReportDefs.REASONAPPEAL,subject:Object.assign({$type:e},h),reason:d},{encoding:”application/json”,headers:{“atproto-proxy”:`${s.src}#atproto_labeler`}})},t[5]=f,t[6]=d,t[7]=p,t[8]=s,t[9]=h,t[10]=b):b=t[10],t[11]!==r?(j=e=>{e instanceof Hu.XRPCError&&”AlreadyAppealed”===e.error?y(r({id:”ni3xoj”})):y(r({id:”weFIXk”})),vt.logger.error(“Failed to submit label appeal”,{message:e})},t[11]=r,t[12]=j):j=t[12],t[13]!==r||t[14]!==o?(v=()=>{o.close(),ws.show(r({id:”tk78Wd”}))},t[13]=r,t[14]=o,t[15]=v):v=t[15],t[16]!==b||t[17]!==j||t[18]!==v?(S={mutationFn:b,onError:j,onSuccess:v},t[16]=b,t[17]=j,t[18]=v,t[19]=S):S=t[19];const{mutate:w,isPending:T}=(0,no.useMutation)(S);let k;t[20]!==w?(k=()=>w(),t[20]=w,t[21]=k):k=t[21];const C=k;let P,A,I,L,R,E,D,B,M,O,F,N,H,z,V,U,G,W,q,Q,K,Z,Y,$,X,J,ee,te,se;return t[22]===Symbol.for(“react.memo_cache_sentinel”)?(P=[Bs.atoms.text_2xl,Bs.atoms.font_semi_bold,Bs.atoms.pb_xs,Bs.atoms.leading_tight],t[22]=P):P=t[22],t[23]!==l.name?(A=(0,bt.jsx)(Xs.Text,{style:P,children:(0,bt.jsx)(ut.Trans,{id:”/AiU3N”,values:{0:l.name}})}),t[23]=l.name,t[24]=A):A=t[24],t[25]===Symbol.for(“react.memo_cache_sentinel”)?(I=[Bs.atoms.text_md,Bs.atoms.leading_snug],t[25]=I):I=t[25],t[26]!==x?(L={sourceName:x},t[26]=x,t[27]=L):L=t[27],t[28]!==s||t[29]!==i?(R=i?i.creator:{did:s.src,handle:””},t[28]=s,t[29]=i,t[30]=R):R=t[30],t[31]!==R?(E=(0,va.makeProfileLink)(R),t[31]=R,t[32]=E):E=t[32],t[33]!==o?(D=()=>o.close(),t[33]=o,t[34]=D):D=t[34],t[35]===Symbol.for(“react.memo_cache_sentinel”)?(B=[Bs.atoms.text_md,Bs.atoms.leading_snug],t[35]=B):B=t[35],t[36]!==x||t[37]!==E||t[38]!==D?(M={0:(0,bt.jsx)(Ys.InlineLinkText,{label:x,to:E,onPress:D,style:B})},t[36]=x,t[37]=E,t[38]=D,t[39]=M):M=t[39],t[40]!==L||t[41]!==M?(O=(0,bt.jsx)(Xs.Text,{style:I,children:(0,bt.jsx)(ut.Trans,{id:”0y4vp3″,values:L,components:M})}),t[40]=L,t[41]=M,t[42]=O):O=t[42],t[43]!==O||t[44]!==A?(F=(0,bt.jsxs)(Cs.default,{children:[A,O]}),t[43]=O,t[44]=A,t[45]=F):F=t[45],t[46]!==_?(N=_&&(0,bt.jsx)(Qs.Admonition,{type:”error”,style:[Bs.atoms.mt_sm],children:_}),t[46]=_,t[47]=N):N=t[47],t[48]===Symbol.for(“react.memo_cache_sentinel”)?(H=[Bs.atoms.my_md],t[48]=H):H=t[48],t[49]!==r?(z=r({id:”p8Iz39″}),t[49]=r,t[50]=z):z=t[50],t[51]!==r||t[52]!==s||t[53]!==i?(V=r({id:”YROfa6″,values:{0:i?(0,wa.sanitizeHandle)(i.creator.handle,”@”):s.src}}),t[51]=r,t[52]=s,t[53]=i,t[54]=V):V=t[54],t[55]!==d||t[56]!==z||t[57]!==V?(U=(0,bt.jsx)(Cs.default,{style:H,children:(0,bt.jsx)(Ms.Input,{label:z,placeholder:V,value:d,onChangeText:u,autoFocus:!0,numberOfLines:3,multiline:!0,maxLength:300})}),t[55]=d,t[56]=z,t[57]=V,t[58]=U):U=t[58],t[59]!==c?(G=c?[Bs.atoms.flex_row,Bs.atoms.justify_between]:[{flexDirection:”column-reverse”},Bs.atoms.gap_sm],t[59]=c,t[60]=G):G=t[60],t[61]!==r?(W=r({id:”iH8pgl”}),t[61]=r,t[62]=W):W=t[62],t[63]!==r?(q=r({id:”iH8pgl”}),t[63]=r,t[64]=q):q=t[64],t[65]!==q?(Q=(0,bt.jsx)(Ks.ButtonText,{children:q}),t[65]=q,t[66]=Q):Q=t[66],t[67]!==n||t[68]!==W||t[69]!==Q?(K=(0,bt.jsx)(Ks.Button,{testID:”backBtn”,variant:”solid”,color:”secondary”,size:”large”,onPress:n,label:W,children:Q}),t[67]=n,t[68]=W,t[69]=Q,t[70]=K):K=t[70],t[71]!==r?(Z=r({id:”hQRttt”}),t[71]=r,t[72]=Z):Z=t[72],t[73]!==r?(Y=r({id:”hQRttt”}),t[73]=r,t[74]=Y):Y=t[74],t[75]!==Y?($=(0,bt.jsx)(Ks.ButtonText,{children:Y}),t[75]=Y,t[76]=$):$=t[76],t[77]!==T?(X=T&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader}),t[77]=T,t[78]=X):X=t[78],t[79]!==C||t[80]!==Z||t[81]!==$||t[82]!==X?(J=(0,bt.jsxs)(Ks.Button,{testID:”submitBtn”,variant:”solid”,color:”primary”,size:”large”,onPress:C,label:Z,children:[$,X]}),t[79]=C,t[80]=Z,t[81]=$,t[82]=X,t[83]=J):J=t[83],t[84]!==G||t[85]!==K||t[86]!==J?(ee=(0,bt.jsxs)(Cs.default,{style:G,children:[K,J]}),t[84]=G,t[85]=K,t[86]=J,t[87]=ee):ee=t[87],t[88]===Symbol.for(“react.memo_cache_sentinel”)?(te=os.isAndroid&&(0,bt.jsx)(Cs.default,{style:{height:300}}),t[88]=te):te=t[88],t[89]!==F||t[90]!==N||t[91]!==U||t[92]!==ee?(se=(0,bt.jsxs)(bt.Fragment,{children:[F,N,U,ee,te]}),t[89]=F,t[90]=N,t[91]=U,t[92]=ee,t[93]=se):se=t[93],se}function Wu(e){const t=(0,a.c)(26);let{type:s,labels:o,size:n,style:r}=e;const{_:i}=(0,ut.useLingui)(),{currentAccount:l}=(0,Lt.useSession)(),c=(0,Ms.useDialogControl)();if(!o||!l)return null;let d,u,m;if(t[0]!==o?(d=o.filter(qu),t[0]=o,t[1]=d):d=t[1],o=d,!o.length)return null;t[2]!==r?(u=[Bs.atoms.flex_row,r],t[2]=r,t[3]=u):u=t[3],t[4]!==c||t[5]!==o||t[6]!==s?(m=(0,bt.jsx)(zu,{control:c,labels:o,type:s}),t[4]=c,t[5]=o,t[6]=s,t[7]=m):m=t[7];const h=n||”small”;let p,f,g,x,_,y,b;return t[8]!==i?(p=i({id:”RTblld”}),t[8]=i,t[9]=p):p=t[9],t[10]!==c?(f=()=>{c.open()},t[10]=c,t[11]=f):f=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(g=(0,bt.jsx)(Ks.ButtonIcon,{position:”left”,icon:fn.CircleInfo_Stroke2_Corner0_Rounded}),t[12]=g):g=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.leading_snug],t[13]=x):x=t[13],t[14]!==o.length||t[15]!==s?(_=(0,bt.jsx)(Ks.ButtonText,{style:x,children:”account”===s?(0,bt.jsx)(ut.Trans,{id:”WpOWPz”,values:{0:o.length}}):(0,bt.jsx)(ut.Trans,{id:”lQ9kih”,values:{0:o.length}})}),t[14]=o.length,t[15]=s,t[16]=_):_=t[16],t[17]!==h||t[18]!==p||t[19]!==f||t[20]!==_?(y=(0,bt.jsxs)(Ks.Button,{variant:”solid”,color:”secondary”,size:h,label:p,onPress:f,children:[g,_]}),t[17]=h,t[18]=p,t[19]=f,t[20]=_,t[21]=y):y=t[21],t[22]!==y||t[23]!==u||t[24]!==m?(b=(0,bt.jsxs)(Cs.default,{style:u,children:[m,y]}),t[22]=y,t[23]=u,t[24]=m,t[25]=b):b=t[25],b}function qu(e){return!e.val.startsWith(“!”)}function Qu(e){const t=(0,a.c)(3),{post:s,style:o}=e,{currentAccount:n}=(0,Lt.useSession)();if(s.author.did!==n?.did)return null;let r;return t[0]!==s.labels||t[1]!==o?(r=(0,bt.jsx)(Wu,{type:”content”,labels:s.labels,size:”tiny”,style:o}),t[0]=s.labels,t[1]=o,t[2]=r):r=t[2],r}var Ku=o(32581);function Zu(e){const t=(0,a.c)(24),{modui:s,size:o,style:n,additionalCauses:r}=e,i=void 0===o?”sm”:o;if(!s.alert&&!s.inform&&!r?.length)return null;let l,c,d,u,m,h;if(t[0]!==i?(l=”sm”===i&&{marginLeft:-3},t[0]=i,t[1]=l):l=t[1],t[2]!==n||t[3]!==l?(c=[l,n],t[2]=n,t[3]=l,t[4]=c):c=t[4],t[5]!==s.alerts||t[6]!==i){let e;t[8]!==i?(e=e=>(0,bt.jsx)(Ku.Label,{cause:e,size:i,noBg:”sm”===i},(0,Mu.getModerationCauseKey)(e)),t[8]=i,t[9]=e):e=t[9],d=s.alerts.filter(Mu.unique).map(e),t[5]=s.alerts,t[6]=i,t[7]=d}else d=t[7];if(t[10]!==s.informs||t[11]!==i){let e;t[13]!==i?(e=e=>(0,bt.jsx)(Ku.Label,{cause:e,size:i,noBg:”sm”===i},(0,Mu.getModerationCauseKey)(e)),t[13]=i,t[14]=e):e=t[14],u=s.informs.filter(Mu.unique).map(e),t[10]=s.informs,t[11]=i,t[12]=u}else u=t[12];return t[15]!==r||t[16]!==i?(m=r?.map((e=>(0,bt.jsx)(Ku.Label,{cause:e,size:i,noBg:”sm”===i},(0,Mu.getModerationCauseKey)(e)))),t[15]=r,t[16]=i,t[17]=m):m=t[17],t[18]!==i||t[19]!==c||t[20]!==d||t[21]!==u||t[22]!==m?(h=(0,bt.jsxs)(Ku.Row,{size:i,style:c,children:[d,u,m]}),t[18]=i,t[19]=c,t[20]=d,t[21]=u,t[22]=m,t[23]=h):h=t[23],h}var Yu=o(50996),$u=o(35730),Xu=o(50441),Ju=o(27948),em=o(64855),tm=o(70930),sm=o(23933);function om(e){const t=(0,a.c)(69),{control:s,source:o,onAccept:n}=e,{_:r}=(0,ut.useLingui)(),i=(0,Bs.useTheme)(),l=(0,_t.useSetExternalEmbedPref)(),{gtMobile:c}=(0,Bs.useBreakpoints)();let d;t[0]!==s||t[1]!==n||t[2]!==l?(d=()=>{for(const e of tm.embedPlayerSources)l(e,”show”);n(),s.close()},t[0]=s,t[1]=n,t[2]=l,t[3]=d):d=t[3];const u=d;let m;t[4]!==s||t[5]!==n||t[6]!==l||t[7]!==o?(m=()=>{l(o,”show”),n(),s.close()},t[4]=s,t[5]=n,t[6]=l,t[7]=o,t[8]=m):m=t[8];const h=m;let p;t[9]!==s||t[10]!==l||t[11]!==o?(p=()=>{l(o,”hide”),s.close()},t[9]=s,t[10]=l,t[11]=o,t[12]=p):p=t[12];const f=p;let g,x,_,y,b,j,v;t[13]===Symbol.for(“react.memo_cache_sentinel”)?(g={preventExpansion:!0},x=(0,bt.jsx)(Ms.Handle,{}),t[13]=g,t[14]=x):(g=t[13],x=t[14]),t[15]!==r?(_=r({id:”aie5G2″}),t[15]=r,t[16]=_):_=t[16],t[17]!==c?(y=c?{width:”auto”,maxWidth:400}:Bs.atoms.w_full,t[17]=c,t[18]=y):y=t[18],t[19]!==y?(b=[y],t[19]=y,t[20]=b):b=t[20],t[21]===Symbol.for(“react.memo_cache_sentinel”)?(j=(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_2xl,Bs.atoms.font_semi_bold],children:(0,bt.jsx)(ut.Trans,{id:”aie5G2″})}),t[21]=j):j=t[21],t[22]===Symbol.for(“react.memo_cache_sentinel”)?(v=[Bs.atoms.mt_sm,Bs.atoms.mb_2xl,Bs.atoms.gap_lg],t[22]=v):v=t[22];const S=tm.externalEmbedLabels[o];let w,T,k,C;t[23]!==S?(w=(0,bt.jsx)(Xs.Text,{children:(0,bt.jsx)(ut.Trans,{id:”iCR89t”,values:{0:S}})}),t[23]=S,t[24]=w):w=t[24],t[25]===Symbol.for(“react.memo_cache_sentinel”)?(T=(0,bt.jsx)(ut.Trans,{id:”n+JXGp”}),t[25]=T):T=t[25],t[26]!==i.atoms.text_contrast_medium?(k=(0,bt.jsx)(Xs.Text,{style:i.atoms.text_contrast_medium,children:T}),t[26]=i.atoms.text_contrast_medium,t[27]=k):k=t[27],t[28]!==w||t[29]!==k?(C=(0,bt.jsxs)(Cs.default,{style:Bs.atoms.gap_sm,children:[j,(0,bt.jsxs)(Cs.default,{style:v,children:[w,k]})]}),t[28]=w,t[29]=k,t[30]=C):C=t[30];const P=c&&Bs.atoms.flex_1;let A,I,L;t[31]!==r?(A=r({id:”Va5mZi”}),t[31]=r,t[32]=A):A=t[32],t[33]===Symbol.for(“react.memo_cache_sentinel”)?(I=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”Va5mZi”})}),t[33]=I):I=t[33],t[34]!==s.close||t[35]!==u||t[36]!==P||t[37]!==A?(L=(0,bt.jsx)(Ks.Button,{style:P,label:A,onPress:u,onAccessibilityEscape:s.close,color:”primary”,size:”large”,variant:”solid”,children:I}),t[34]=s.close,t[35]=u,t[36]=P,t[37]=A,t[38]=L):L=t[38];const R=c&&Bs.atoms.flex_1;let E;t[39]!==r?(E=r({id:”EdCVUs”}),t[39]=r,t[40]=E):E=t[40];const D=tm.externalEmbedLabels[o];let B,M,O,F,N,H,z,V,U;return t[41]!==D?(B=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”xIKcx6″,values:{0:D}})}),t[41]=D,t[42]=B):B=t[42],t[43]!==s.close||t[44]!==h||t[45]!==R||t[46]!==E||t[47]!==B?(M=(0,bt.jsx)(Ks.Button,{style:R,label:E,onPress:h,onAccessibilityEscape:s.close,color:”secondary”,size:”large”,variant:”solid”,children:B}),t[43]=s.close,t[44]=h,t[45]=R,t[46]=E,t[47]=B,t[48]=M):M=t[48],t[49]!==r?(O=r({id:”tA4dAO”}),t[49]=r,t[50]=O):O=t[50],t[51]===Symbol.for(“react.memo_cache_sentinel”)?(F=(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”tA4dAO”})}),t[51]=F):F=t[51],t[52]!==s.close||t[53]!==f||t[54]!==O?(N=(0,bt.jsx)(Ks.Button,{label:O,onAccessibilityEscape:s.close,onPress:f,color:”secondary”,size:”large”,variant:”ghost”,children:F}),t[52]=s.close,t[53]=f,t[54]=O,t[55]=N):N=t[55],t[56]!==L||t[57]!==M||t[58]!==N?(H=(0,bt.jsxs)(Cs.default,{style:Bs.atoms.gap_md,children:[L,M,N]}),t[56]=L,t[57]=M,t[58]=N,t[59]=H):H=t[59],t[60]===Symbol.for(“react.memo_cache_sentinel”)?(z=(0,bt.jsx)(Ms.Close,{}),t[60]=z):z=t[60],t[61]!==C||t[62]!==H||t[63]!==_||t[64]!==b?(V=(0,bt.jsxs)(Ms.ScrollableInner,{label:_,style:b,children:[C,H,z]}),t[61]=C,t[62]=H,t[63]=_,t[64]=b,t[65]=V):V=t[65],t[66]!==s||t[67]!==V?(U=(0,bt.jsxs)(Ms.Outer,{control:s,nativeOptions:g,children:[x,V]}),t[66]=s,t[67]=V,t[68]=U):U=t[68],U}var nm=o(15127);(0,zr.createSinglePathSVG)({path:”M5.507 2.13a1 1 0 0 1 1.008.013l15 9a1 1 0 0 1 0 1.714l-15 9A1 1 0 0 1 5 21V3a1 1 0 0 1 .507-.87ZM7 4.766v14.468L19.056 12 7 4.766Z”});const am=(0,zr.createSinglePathSVG)({path:”M6.514 2.143A1 1 0 0 0 5 3v18a1 1 0 0 0 1.514.858l15-9a1 1 0 0 0 0-1.716l-15-9Z”}),rm=(0,zr.createSinglePathSVG)({path:”M5 5.086C5 2.736 7.578 1.3 9.576 2.534L20.77 9.448c1.899 1.172 1.899 3.932 0 5.104L9.576 21.466C7.578 22.701 5 21.263 5 18.914V5.086Zm3.525-.85A1 1 0 0 0 7 5.085v13.828a1 1 0 0 0 1.525.85l11.194-6.913a1 1 0 0 0 0-1.702L8.525 4.235Z”});(0,zr.createSinglePathSVG)({path:”M9.576 2.534C7.578 1.299 5 2.737 5 5.086v13.828c0 2.35 2.578 3.787 4.576 2.552l11.194-6.914c1.899-1.172 1.899-3.932 0-5.104L9.576 2.534Z”});function im(e){const t=(0,a.c)(10),{size:s}=e,o=void 0===s?32:s,n=(0,Bs.useTheme)(),r=”light”===n.name?n.palette.contrast_25:n.palette.contrast_975,i=”light”===n.name?n.palette.contrast_975:n.palette.contrast_25,l=o+o/1.5,c=o+o/1.5;let d,u,m;return t[0]!==r||t[1]!==l||t[2]!==c?(d=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,{backgroundColor:r,shadowColor:”black”,shadowRadius:32,shadowOpacity:.5,elevation:24,width:l,height:c,opacity:.7}]}),t[0]=r,t[1]=l,t[2]=c,t[3]=d):d=t[3],t[4]!==i||t[5]!==o?(u=(0,bt.jsx)(am,{width:o,fill:i,style:Bs.atoms.absolute}),t[4]=i,t[5]=o,t[6]=u):u=t[6],t[7]!==d||t[8]!==u?(m=(0,bt.jsxs)(bt.Fragment,{children:[d,u]}),t[7]=d,t[8]=u,t[9]=m):m=t[9],m}function lm(e){const t=(0,a.c)(40),{link:s,params:o}=e,n=(0,Bs.useTheme)(),r=(0,_t.useExternalEmbedsPrefs)(),{_:i}=(0,ut.useLingui)(),l=(0,Ms.useDialogControl)(),[c,d]=ct.useState(!1),[u,m]=ct.useState(!1),[h,p]=ct.useState(!0),f=ct.useRef(null);let g;t[0]!==o.playerUri?(g=()=>{d(!0),yc.Image.prefetch(o.playerUri).then((()=>{m(!0)}))},t[0]=o.playerUri,t[1]=g):g=t[1];const x=g;let _;t[2]!==l||t[3]!==r||t[4]!==c||t[5]!==x||t[6]!==o.source?(_=e=>{e.preventDefault(),void 0!==r?.[o.source]?c?p((e=>e?(os.isNative&&f.current?.stopAnimating(),!1):(os.isNative&&f.current?.startAnimating(),!0))):x():l.open()},t[2]=l,t[3]=r,t[4]=c,t[5]=x,t[6]=o.source,t[7]=_):_=t[7];const y=_;let b,j,v,S,w;t[8]!==l||t[9]!==x||t[10]!==o.source?(b=(0,bt.jsx)(om,{control:l,source:o.source,onAccept:x}),t[8]=l,t[9]=x,t[10]=o.source,t[11]=b):b=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(j={height:300},t[12]=j):j=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(v=[j,Bs.atoms.w_full,Bs.atoms.overflow_hidden,{borderBottomLeftRadius:0,borderBottomRightRadius:0}],t[13]=v):v=t[13],t[14]!==i?(S=i({id:”pmtcOG”}),t[14]=i,t[15]=S):S=t[15],t[16]!==i||t[17]!==s.title?(w=i({id:”HL7kZa”,values:{0:s.title}}),t[16]=i,t[17]=s.title,t[18]=w):w=t[18];const T=!u||os.isWeb&&!h?s.thumb:o.playerUri;let k,C,P,A,I,L;return t[19]!==T?(k={uri:T},t[19]=T,t[20]=k):k=t[20],t[21]===Symbol.for(“react.memo_cache_sentinel”)?(C={flex:1},t[21]=C):C=t[21],t[22]!==h||t[23]!==s.title||t[24]!==k?(P=(0,bt.jsx)(yc.Image,{source:k,style:C,ref:f,autoplay:h,contentFit:”contain”,accessibilityIgnoresInvertColors:!0,accessibilityLabel:s.title,accessibilityHint:s.title,cachePolicy:os.isIOS?”disk”:”memory-disk”}),t[22]=h,t[23]=s.title,t[24]=k,t[25]=P):P=t[25],t[26]!==h||t[27]!==c||t[28]!==u||t[29]!==n?(A=(!u||!h)&&(0,bt.jsxs)(nm.Fill,{style:[Bs.atoms.align_center,Bs.atoms.justify_center],children:[(0,bt.jsx)(nm.Fill,{style:[“light”===n.name?n.atoms.bg_contrast_975:n.atoms.bg,{opacity:.3}]}),h&&c?(0,bt.jsx)(mn.default,{size:”large”,color:”white”}):(0,bt.jsx)(im,{})]}),t[26]=h,t[27]=c,t[28]=u,t[29]=n,t[30]=A):A=t[30],t[31]!==y||t[32]!==P||t[33]!==A||t[34]!==S||t[35]!==w?(I=(0,bt.jsxs)(Yo.default,{style:v,onPress:y,accessibilityRole:”button”,accessibilityHint:S,accessibilityLabel:w,children:[P,A]}),t[31]=y,t[32]=P,t[33]=A,t[34]=S,t[35]=w,t[36]=I):I=t[36],t[37]!==I||t[38]!==b?(L=(0,bt.jsxs)(bt.Fragment,{children:[b,I]}),t[37]=I,t[38]=b,t[39]=L):L=t[39],L}var cm=o(54426);function dm(e){const t=(0,a.c)(4),{children:s,style:o,onKeyDown:n}=e,r=mm,i=void 0===n||n?r:void 0;let l;return t[0]!==s||t[1]!==o||t[2]!==i?(l=(0,bt.jsx)(Cs.default,{onStartShouldSetResponder:um,onTouchEnd:r,onClick:r,onKeyDown:i,style:o,children:s}),t[0]=s,t[1]=o,t[2]=i,t[3]=l):l=t[3],l}function um(e){return!0}function mm(e){e.stopPropagation()}function hm(e){const t=(0,a.c)(13),{isLoading:s,isPlayerActive:o,onPress:n}=e,{_:r}=(0,ut.useLingui)();if(o&&!s)return null;let i,l,c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=[Bs.atoms.absolute,Bs.atoms.inset_0,xm.overlayLayer],t[0]=i):i=t[0],t[1]!==r?(l=r({id:”Jf3XqA”}),t[1]=r,t[2]=l):l=t[2],t[3]!==r?(c=r({id:”Y+VyL0″}),t[3]=r,t[4]=c):c=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(d=[xm.overlayContainer],t[5]=d):d=t[5],t[6]!==o?(u=o?(0,bt.jsx)(mn.default,{size:”large”,color:”white”}):(0,bt.jsx)(im,{}),t[6]=o,t[7]=u):u=t[7],t[8]!==n||t[9]!==l||t[10]!==c||t[11]!==u?(m=(0,bt.jsx)(Cs.default,{style:i,children:(0,bt.jsx)(Yo.default,{accessibilityRole:”button”,accessibilityLabel:l,accessibilityHint:c,onPress:n,style:d,children:u})}),t[8]=n,t[9]=l,t[10]=c,t[11]=u,t[12]=m):m=t[12],m}function pm(e){const t=(0,a.c)(10),{params:s,onLoad:o,isPlayerActive:n}=e;let r;t[0]!==s.playerUri||t[1]!==s.source?(r=e=>e.url===s.playerUri||s.source.startsWith(“youtube”)&&e.url.includes(“www.youtube.com”),t[0]=s.playerUri,t[1]=s.source,t[2]=r):r=t[2];const i=r;if(!n)return null;let l,c,d;return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=[Bs.atoms.absolute,Bs.atoms.inset_0,xm.playerLayer],t[3]=l):l=t[3],t[4]!==s.playerUri?(c={uri:s.playerUri},t[4]=s.playerUri,t[5]=c):c=t[5],t[6]!==o||t[7]!==i||t[8]!==c?(d=(0,bt.jsx)(dm,{style:l,children:(0,bt.jsx)(cm.WebView,{javaScriptEnabled:!0,onShouldStartLoadWithRequest:i,mediaPlaybackRequiresUserAction:!1,allowsInlineMediaPlayback:!0,bounces:!1,allowsFullscreenVideo:!0,nestedScrollEnabled:!0,source:c,onLoad:o,style:xm.webview,setSupportMultipleWindows:!1})}),t[6]=o,t[7]=i,t[8]=c,t[9]=d):d=t[9],d}const fm={code:”function ExternalPlayerTsx1(){const{measure,viewRef,windowDims,isNative,insets,runOnJS,setPlayerActive}=this.__closure;const measurement=measure(viewRef);if(!measurement){return;}const{height:winHeight,width:winWidth}=windowDims;const realWinHeight=isNative?winHeight>winWidth?winHeight:winWidth:winHeight;const top=measurement.pageY;const bot=measurement.pageY+measurement.height;const isVisible=top<=realWinHeight-insets.bottom&&bot>=insets.top;if(!isVisible){runOnJS(setPlayerActive)(false);}}”};function gm(e){const t=(0,a.c)(43),{link:s,params:o}=e,n=(0,Bs.useTheme)(),r=(0,Ps.useNavigation)(),i=(0,dt.useSafeAreaInsets)(),l=(0,Er.default)(),c=(0,_t.useExternalEmbedsPrefs)(),d=(0,Ms.useDialogControl)(),[u,m]=ct.useState(!1),[h,p]=ct.useState(!0),f=!!s.thumb;let g;t[0]!==o.type||t[1]!==f||t[2]!==l.width?(g=(0,tm.getPlayerAspect)({type:o.type,width:l.width,hasThumb:f}),t[0]=o.type,t[1]=f,t[2]=l.width,t[3]=g):g=t[3];const x=g,_=(0,dn.useAnimatedRef)(),y=(0,dn.useFrameCallback)(function(){const e=function(){const e=(0,dn.measure)(_);if(!e)return;const{height:t,width:s}=l,o=os.isNative?t>s?t:s:t,n=e.pageY,a=e.pageY+e.height;n<=o-i.bottom&&a>=i.top||(0,dn.runOnJS)(m)(!1)};return e.__closure={measure:dn.measure,viewRef:_,windowDims:l,isNative:os.isNative,insets:i,runOnJS:dn.runOnJS,setPlayerActive:m},e.__workletHash=35725794750,e.__initData=fm,e}(),!1);let b,j,v;t[4]!==y||t[5]!==u||t[6]!==r?(b=()=>{if(!u)return;const e=r.addListener(“blur”,(()=>{m(!1)}));return y.setActive(!0),()=>{e(),y.setActive(!1)}},j=[r,u,y],t[4]=y,t[5]=u,t[6]=r,t[7]=b,t[8]=j):(b=t[7],j=t[8]),ct.useEffect(b,j),t[9]===Symbol.for(“react.memo_cache_sentinel”)?(v=()=>{p(!1)},t[9]=v):v=t[9];const S=v;let w;t[10]!==d||t[11]!==c||t[12]!==o.source?(w=e=>{e.preventDefault(),void 0!==c?.[o.source]?m(!0):d.open()},t[10]=d,t[11]=c,t[12]=o.source,t[13]=w):w=t[13];const T=w;let k;t[14]===Symbol.for(“react.memo_cache_sentinel”)?(k=()=>{m(!0)},t[14]=k):k=t[14];const C=k;let P,A,I,L,R,E,D;return t[15]!==d||t[16]!==o.source?(P=(0,bt.jsx)(om,{control:d,source:o.source,onAccept:C}),t[15]=d,t[16]=o.source,t[17]=P):P=t[17],t[18]!==x?(A=[x,Bs.atoms.overflow_hidden],t[18]=x,t[19]=A):A=t[19],t[20]!==h||t[21]!==u||t[22]!==s.thumb||t[23]!==n.atoms||t[24]!==n.name||t[25]!==n.palette?(I=!s.thumb||u&&!h?(0,bt.jsx)(nm.Fill,{style:[{backgroundColor:”light”===n.name?n.palette.contrast_975:”black”,opacity:.3}]}):(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(yc.Image,{style:[Bs.atoms.flex_1],source:{uri:s.thumb},accessibilityIgnoresInvertColors:!0,loading:”lazy”}),(0,bt.jsx)(nm.Fill,{style:[“light”===n.name?n.atoms.bg_contrast_975:n.atoms.bg,{opacity:.3}]})]}),t[20]=h,t[21]=u,t[22]=s.thumb,t[23]=n.atoms,t[24]=n.name,t[25]=n.palette,t[26]=I):I=t[26],t[27]!==h||t[28]!==u||t[29]!==T?(L=(0,bt.jsx)(hm,{isLoading:h,isPlayerActive:u,onPress:T}),t[27]=h,t[28]=u,t[29]=T,t[30]=L):L=t[30],t[31]!==u||t[32]!==o?(R=(0,bt.jsx)(pm,{isPlayerActive:u,params:o,onLoad:S}),t[31]=u,t[32]=o,t[33]=R):R=t[33],t[34]!==I||t[35]!==L||t[36]!==R||t[37]!==A||t[38]!==_?(E=(0,bt.jsxs)(dn.default.View,{ref:_,collapsable:!1,style:A,children:[I,L,R]}),t[34]=I,t[35]=L,t[36]=R,t[37]=A,t[38]=_,t[39]=E):E=t[39],t[40]!==E||t[41]!==P?(D=(0,bt.jsxs)(bt.Fragment,{children:[P,E]}),t[40]=E,t[41]=P,t[42]=D):D=t[42],D}const xm=Ts.default.create({overlayContainer:{flex:1,justifyContent:”center”,alignItems:”center”},overlayLayer:{zIndex:2},playerLayer:{zIndex:3},webview:{backgroundColor:”transparent”},gifContainer:{width:”100%”,overflow:”hidden”}});var _m=o(7209);class ym extends ct.PureComponent{videoPlayerRef=ct.createRef();isLoaded=!1;constructor(e){super(e)}componentDidUpdate(e){e.autoplay!==this.props.autoplay&&(this.props.autoplay?this.playAsync():this.pauseAsync())}static async prefetchAsync(e){}firePlayerStateChangeEvent=()=>{this.props.onPlayerStateChange?.({nativeEvent:{isPlaying:!this.videoPlayerRef.current?.paused,isLoaded:this.isLoaded}})};onLoad=()=>{this.isLoaded||(this.isLoaded=!0,this.firePlayerStateChangeEvent())};async playAsync(){this.videoPlayerRef.current?.play()}async pauseAsync(){this.videoPlayerRef.current?.pause()}async toggleAsync(){this.videoPlayerRef.current?.paused?await this.playAsync():await this.pauseAsync()}render(){return(0,bt.jsx)(“video”,{src:this.props.source,autoPlay:this.props.autoplay?”autoplay”:void 0,preload:this.props.autoplay?”auto”:void 0,playsInline:!0,loop:”loop”,muted:”muted”,style:Ts.default.flatten(this.props.style),onCanPlay:this.onLoad,onPlay:this.firePlayerStateChangeEvent,onPause:this.firePlayerStateChangeEvent,”aria-label”:this.props.accessibilityLabel,ref:this.videoPlayerRef})}}function bm(e){const t=(0,a.c)(20),{onPress:s,isPlaying:o,isLoaded:n}=e,{_:r}=(0,ut.useLingui)(),i=(0,Bs.useTheme)();let l,c;t[0]!==r?(l=r({id:”HBvxx5″}),t[0]=r,t[1]=l):l=t[1],t[2]!==r||t[3]!==o?(c=r(o?{id:”IgrLD/”}:{id:”T91vKp”}),t[2]=r,t[3]=o,t[4]=c):c=t[4];const d=!n&&Bs.atoms.border,u=n?void 0:i.atoms.bg_contrast_25.backgroundColor;let m,h,p,f;return t[5]!==u?(m={zIndex:2,backgroundColor:u},t[5]=u,t[6]=m):m=t[6],t[7]!==i.atoms.border_contrast_medium||t[8]!==d||t[9]!==m?(h=[Bs.atoms.absolute,Bs.atoms.align_center,Bs.atoms.justify_center,d,i.atoms.border_contrast_medium,Bs.atoms.inset_0,Bs.atoms.w_full,Bs.atoms.h_full,m],t[7]=i.atoms.border_contrast_medium,t[8]=d,t[9]=m,t[10]=h):h=t[10],t[11]!==n||t[12]!==o?(p=n?o?void 0:(0,bt.jsx)(im,{}):(0,bt.jsx)(Cs.default,{children:(0,bt.jsx)(Cs.default,{style:[Bs.atoms.align_center,Bs.atoms.justify_center],children:(0,bt.jsx)($s.Loader,{size:”xl”})})}),t[11]=n,t[12]=o,t[13]=p):p=t[13],t[14]!==s||t[15]!==l||t[16]!==c||t[17]!==h||t[18]!==p?(f=(0,bt.jsx)(Yo.default,{accessibilityRole:”button”,accessibilityHint:l,accessibilityLabel:c,style:h,onPress:s,children:p}),t[14]=s,t[15]=l,t[16]=c,t[17]=h,t[18]=p,t[19]=f):f=t[19],f}function jm(e){const t=(0,a.c)(47),{params:s,thumb:o,altText:n,isPreferredAltText:r,hideAlt:i,style:l}=e;let c;t[0]!==l?(c=void 0===l?{width:”100%”}:l,t[0]=l,t[1]=c):c=t[1];const d=c,u=(0,Bs.useTheme)(),{_:m}=(0,ut.useLingui)(),h=(0,_t.useAutoplayDisabled)(),p=ct.useRef(null),f=!h;let g;t[2]!==f?(g={isPlaying:f,isLoaded:!1},t[2]=f,t[3]=g):g=t[3];const[x,_]=ct.useState(g);let y;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(y=e=>{_(e.nativeEvent)},t[4]=y):y=t[4];const b=y;let j;t[5]===Symbol.for(“react.memo_cache_sentinel”)?(j=()=>{p.current?.toggleAsync()},t[5]=j):j=t[5];const v=j;let S,w,T,k,C,P=1;if(s.dimensions){const e=s.dimensions.width/s.dimensions.height;let o;t[6]!==e?(o=Dr(e,.75,4),t[6]=e,t[7]=o):o=t[7],P=o}t[8]!==u.palette.black?(S={backgroundColor:u.palette.black},t[8]=u.palette.black,t[9]=S):S=t[9],t[10]!==P?(w={aspectRatio:P},t[10]=P,t[11]=w):w=t[11],t[12]!==d||t[13]!==u.atoms.border_contrast_low||t[14]!==S||t[15]!==w?(T=[Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,Bs.atoms.border,u.atoms.border_contrast_low,S,w,d],t[12]=d,t[13]=u.atoms.border_contrast_low,t[14]=S,t[15]=w,t[16]=T):T=t[16],t[17]===Symbol.for(“react.memo_cache_sentinel”)?(k=[Bs.atoms.absolute,{top:-2,bottom:-2,left:-2,right:-2}],t[17]=k):k=t[17],t[18]!==x.isLoaded||t[19]!==x.isPlaying?(C=(0,bt.jsx)(bm,{onPress:v,isPlaying:x.isPlaying,isLoaded:x.isLoaded}),t[18]=x.isLoaded,t[19]=x.isPlaying,t[20]=C):C=t[20];const A=s.playerUri;let I;t[21]===Symbol.for(“react.memo_cache_sentinel”)?(I=[Bs.atoms.flex_1],t[21]=I):I=t[21];const L=!h;let R,E,D,B,M,O;return t[22]!==m?(R=m({id:”vJs+vu”}),t[22]=m,t[23]=R):R=t[23],t[24]!==n||t[25]!==s.playerUri||t[26]!==L||t[27]!==R||t[28]!==o?(E=(0,bt.jsx)(ym,{source:A,placeholderSource:o,style:I,autoplay:L,onPlayerStateChange:b,ref:p,accessibilityHint:R,accessibilityLabel:n}),t[24]=n,t[25]=s.playerUri,t[26]=L,t[27]=R,t[28]=o,t[29]=E):E=t[29],t[30]!==x.isPlaying||t[31]!==u.atoms.bg||t[32]!==u.atoms.bg_contrast_975||t[33]!==u.name?(D=!x.isPlaying&&(0,bt.jsx)(nm.Fill,{style:[“light”===u.name?u.atoms.bg_contrast_975:u.atoms.bg,{opacity:.3}]}),t[30]=x.isPlaying,t[31]=u.atoms.bg,t[32]=u.atoms.bg_contrast_975,t[33]=u.name,t[34]=D):D=t[34],t[35]!==n||t[36]!==i||t[37]!==r?(B=!i&&r&&(0,bt.jsx)(vm,{text:n}),t[35]=n,t[36]=i,t[37]=r,t[38]=B):B=t[38],t[39]!==C||t[40]!==E||t[41]!==D||t[42]!==B?(M=(0,bt.jsxs)(Cs.default,{style:k,children:[C,E,D,B]}),t[39]=C,t[40]=E,t[41]=D,t[42]=B,t[43]=M):M=t[43],t[44]!==M||t[45]!==T?(O=(0,bt.jsx)(Cs.default,{style:T,children:M}),t[44]=M,t[45]=T,t[46]=O):O=t[46],O}function vm(e){const t=(0,a.c)(28),{text:s}=e,o=Bi.usePromptControl(),n=(0,_m.useLargeAltBadgeEnabled)(),{_:r}=(0,ut.useLingui)();let i;t[0]!==r?(i=r({id:”bBlJ5F”}),t[0]=r,t[1]=i):i=t[1];const l=n&&Bs.atoms.text_xs;let c,d,u,m,h,p,f,g,x,_,y;return t[2]!==l?(c=[Sm.alt,l],t[2]=l,t[3]=c):c=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,bt.jsx)(ut.Trans,{id:”u2HO/d”}),t[4]=d):d=t[4],t[5]!==c?(u=(0,bt.jsx)(Xs.Text,{style:c,accessible:!1,children:d}),t[5]=c,t[6]=u):u=t[6],t[7]!==o.open||t[8]!==i||t[9]!==u?(m=(0,bt.jsx)($o.default,{testID:”altTextButton”,accessibilityRole:”button”,accessibilityLabel:i,accessibilityHint:””,hitSlop:kt.HITSLOP_20,onPress:o.open,style:Sm.altContainer,children:u}),t[7]=o.open,t[8]=i,t[9]=u,t[10]=m):m=t[10],t[11]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,bt.jsx)(Bi.TitleText,{children:(0,bt.jsx)(ut.Trans,{id:”TEAx2g”})}),t[11]=h):h=t[11],t[12]!==s?(p=(0,bt.jsx)(Bi.DescriptionText,{selectable:!0,children:s}),t[12]=s,t[13]=p):p=t[13],t[14]!==o?(f=()=>o.close(),t[14]=o,t[15]=f):f=t[15],t[16]!==r?(g=r({id:”yz7wBu”}),t[16]=r,t[17]=g):g=t[17],t[18]!==g||t[19]!==f?(x=(0,bt.jsx)(Bi.Actions,{children:(0,bt.jsx)(Bi.Action,{onPress:f,cta:g,color:”secondary”})}),t[18]=g,t[19]=f,t[20]=x):x=t[20],t[21]!==o||t[22]!==x||t[23]!==p?(_=(0,bt.jsxs)(Bi.Outer,{control:o,children:[h,p,x]}),t[21]=o,t[22]=x,t[23]=p,t[24]=_):_=t[24],t[25]!==_||t[26]!==m?(y=(0,bt.jsxs)(bt.Fragment,{children:[m,_]}),t[25]=_,t[26]=m,t[27]=y):y=t[27],y}const Sm=Ts.default.create({altContainer:{backgroundColor:”rgba(0, 0, 0, 0.75)”,borderRadius:6,paddingHorizontal:os.isWeb?8:6,paddingVertical:os.isWeb?6:3,position:”absolute”,right:os.isWeb?8:5,bottom:os.isWeb?8:5,zIndex:2},alt:{color:”white”,fontSize:os.isWeb?10:7,fontWeight:”600″}}),wm=e=>{const t=(0,a.c)(52),{link:s,onOpen:o,style:n,hideAlt:r}=e,{_:i}=(0,ut.useLingui)(),l=(0,Bs.useTheme)(),c=(0,Ju.useHaptics)(),d=(0,_t.useExternalEmbedsPrefs)(),u=s.uri;let m,h,p,f,g,x,_,y,b,j;if(t[0]!==i||t[1]!==d||t[2]!==r||t[3]!==s||t[4]!==o||t[5]!==c||t[6]!==n){y=Symbol.for(“react.early_return_sentinel”);{const e=(0,Ct.toNiceDomain)(u);let a,l,b;f=s.thumb;{let e;t[15]!==s.uri?(e=(0,tm.parseEmbedPlayerFromUrl)(s.uri),t[15]=s.uri,t[16]=e):e=t[16];const o=e;o&&”hide”!==d?.[o.source]?a=o:a=void 0}if(h=a,p=Boolean(f||h),t[17]!==o||t[18]!==c?(l=()=>{c(“Light”),o?.()},t[17]=o,t[18]=c,t[19]=l):l=t[19],g=l,t[20]!==s.uri||t[21]!==c?(b=()=>{s.uri&&os.isNative&&(c(“Heavy”),(0,em.shareUrl)(s.uri))},t[20]=s.uri,t[21]=c,t[22]=b):b=t[22],x=b,”tenor”!==h?.source)m=Ys.Link,_=s.title||i({id:”YBWMQi”,values:{niceUrl:e}});else{let e;t[23]!==s.description?(e=(0,Xu.parseAltFromGIFDescription)(s.description),t[23]=s.description,t[24]=e):e=t[24];const o=e;let a,i;t[25]!==h||t[26]!==r||t[27]!==s.thumb||t[28]!==o.alt||t[29]!==o.isPreferred?(a=(0,bt.jsx)(jm,{params:h,thumb:s.thumb,altText:o.alt,isPreferredAltText:o.isPreferred,hideAlt:r}),t[25]=h,t[26]=r,t[27]=s.thumb,t[28]=o.alt,t[29]=o.isPreferred,t[30]=a):a=t[30],t[31]!==n||t[32]!==a?(i=(0,bt.jsx)(Cs.default,{style:n,children:a}),t[31]=n,t[32]=a,t[33]=i):i=t[33],y=i}}t[0]=i,t[1]=d,t[2]=r,t[3]=s,t[4]=o,t[5]=c,t[6]=n,t[7]=m,t[8]=h,t[9]=p,t[10]=f,t[11]=g,t[12]=x,t[13]=_,t[14]=y}else m=t[7],h=t[8],p=t[9],f=t[10],g=t[11],x=t[12],_=t[13],y=t[14];return y!==Symbol.for(“react.early_return_sentinel”)?y:(t[34]!==h||t[35]!==p||t[36]!==f||t[37]!==s||t[38]!==n||t[39]!==l.atoms.border_contrast_high||t[40]!==l.atoms.border_contrast_low||t[41]!==l.atoms.text_contrast_high||t[42]!==l.atoms.text_contrast_low||t[43]!==l.atoms.text_contrast_medium?(b=e=>{const{hovered:t}=e;return(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.transition_color,Bs.atoms.flex_col,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,Bs.atoms.w_full,Bs.atoms.border,n,t?l.atoms.border_contrast_high:l.atoms.border_contrast_low],children:[f&&!h?(0,bt.jsx)(yc.Image,{style:[Bs.atoms.aspect_card],source:{uri:f},accessibilityIgnoresInvertColors:!0,loading:”lazy”}):void 0,h?.isGif?(0,bt.jsx)(lm,{link:s,params:h}):h?(0,bt.jsx)(gm,{link:s,params:h}):void 0,(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.pt_sm,{gap:3},p&&Bs.atoms.border_t,t?l.atoms.border_contrast_high:l.atoms.border_contrast_low],children:[(0,bt.jsxs)(Cs.default,{style:[{gap:3},Bs.atoms.pb_xs,Bs.atoms.px_md],children:[!h?.isGif&&!h?.dimensions&&(0,bt.jsx)(Xs.Text,{emoji:!0,numberOfLines:3,style:[Bs.atoms.text_md,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug],children:s.title||s.uri}),s.description?(0,bt.jsx)(Xs.Text,{emoji:!0,numberOfLines:s.thumb?2:4,style:[Bs.atoms.text_sm,Bs.atoms.leading_snug],children:s.description}):void 0]}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.px_md],children:[(0,bt.jsx)(io,{}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_2xs,Bs.atoms.pb_sm,{paddingTop:6}],children:[(0,bt.jsx)(sm.Earth_Stroke2_Corner0_Rounded,{size:”xs”,style:[Bs.atoms.transition_color,t?l.atoms.text_contrast_medium:l.atoms.text_contrast_low]}),(0,bt.jsx)(Xs.Text,{numberOfLines:1,style:[Bs.atoms.transition_color,Bs.atoms.text_xs,Bs.atoms.leading_snug,t?l.atoms.text_contrast_high:l.atoms.text_contrast_medium],children:(0,Ct.toNiceDomain)(s.uri)})]})]})]})]})},t[34]=h,t[35]=p,t[36]=f,t[37]=s,t[38]=n,t[39]=l.atoms.border_contrast_high,t[40]=l.atoms.border_contrast_low,t[41]=l.atoms.text_contrast_high,t[42]=l.atoms.text_contrast_low,t[43]=l.atoms.text_contrast_medium,t[44]=b):b=t[44],t[45]!==m||t[46]!==s.uri||t[47]!==g||t[48]!==x||t[49]!==_||t[50]!==b?(j=(0,bt.jsx)(m,{label:_,to:s.uri,shouldProxy:!0,onPress:g,onLongPress:x,children:b}),t[45]=m,t[46]=s.uri,t[47]=g,t[48]=x,t[49]=_,t[50]=b,t[51]=j):j=t[51],j)};function Tm(e){const t=(0,a.c)(15),{embed:s}=e,o=(0,Bs.useTheme)();let n,r,i,l,c;return t[0]!==o.atoms.border_contrast_low?(n=[Bs.atoms.border,o.atoms.border_contrast_low,Bs.atoms.p_sm,Bs.atoms.rounded_md],t[0]=o.atoms.border_contrast_low,t[1]=n):n=t[1],t[2]!==s.view.avatar?(r=(0,bt.jsx)(rl,{src:s.view.avatar,size:48}),t[2]=s.view.avatar,t[3]=r):r=t[3],t[4]!==s.view.creator||t[5]!==s.view.displayName||t[6]!==s.view.uri?(i=(0,bt.jsx)(ll,{title:s.view.displayName,creator:s.view.creator,uri:s.view.uri}),t[4]=s.view.creator,t[5]=s.view.displayName,t[6]=s.view.uri,t[7]=i):i=t[7],t[8]!==r||t[9]!==i?(l=(0,bt.jsx)(nl,{children:(0,bt.jsxs)(al,{children:[r,i]})}),t[8]=r,t[9]=i,t[10]=l):l=t[10],t[11]!==s.view||t[12]!==n||t[13]!==l?(c=(0,bt.jsx)(ol,{view:s.view,style:n,children:l}),t[11]=s.view,t[12]=n,t[13]=l,t[14]=c):c=t[14],c}function km({embed:e}){const t=(0,Xt.useModerationOpts)(),s=(0,ct.useMemo)((()=>t?(0,Sn.moderateFeedGenerator)(e.view,t):void 0),[e.view,t]);return(0,bt.jsx)(Fu,{modui:s?.ui(“contentList”),childContainerStyle:[Bs.atoms.pt_xs],children:(0,bt.jsx)(Tm,{embed:e})})}var Cm=o(55125);const Pm=(0,zr.createSinglePathSVG)({path:”M14 5a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L17.586 5H14ZM4 13a1 1 0 0 1 1 1v3.586l4.293-4.293a1 1 0 0 1 1.414 1.414L6.414 19H10a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1Z”}),Am=(0,zr.createSinglePathSVG)({path:”M20.957 3.043a1 1 0 0 1 0 1.414L16.414 9H20a1 1 0 1 1 0 2h-6a1 1 0 0 1-1-1V4a1 1 0 1 1 2 0v3.586l4.543-4.543a1 1 0 0 1 1.414 0ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-3.586l-4.543 4.543a1 1 0 0 1-1.414-1.414L7.586 15H4a1 1 0 0 1-1-1Z”});(0,zr.createSinglePathSVG)({path:”M13 4a1 1 0 0 1 1-1h5a2 2 0 0 1 2 2v5a1 1 0 1 1-2 0V6.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L17.586 5H14a1 1 0 0 1-1-1Zm-9 9a1 1 0 0 1 1 1v3.586l4.293-4.293a1 1 0 0 1 1.414 1.414L6.414 19H10a1 1 0 1 1 0 2H5a2 2 0 0 1-2-2v-5a1 1 0 0 1 1-1Z”}),(0,zr.createSinglePathSVG)({path:”M20.957 3.043a1 1 0 0 1 0 1.414L16.414 9H20a1 1 0 1 1 0 2h-5a2 2 0 0 1-2-2V4a1 1 0 1 1 2 0v3.586l4.543-4.543a1 1 0 0 1 1.414 0ZM3 14a1 1 0 0 1 1-1h5a2 2 0 0 1 2 2v5a1 1 0 1 1-2 0v-3.586l-4.543 4.543a1 1 0 0 1-1.414-1.414L7.586 15H4a1 1 0 0 1-1-1Z”});function Im(e){const t=(0,a.c)(16),{aspectRatio:s,fullBleed:o,children:n,minMobileAspectRatio:r}=e,i=(0,Bs.useTheme)(),l=100*(os.isNative?Math.min(1/s,r??1.7777777777777777):Math.min(1/s,1))+”%”;let c,d,u,m,h,p,f;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c=[Bs.atoms.w_full],t[0]=c):c=t[0],t[1]!==l?(d=[Bs.atoms.overflow_hidden,{paddingTop:l}],t[1]=l,t[2]=d):d=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.flex_row],t[3]=u):u=t[3],t[4]!==s||t[5]!==o?(m=o?Bs.atoms.w_full:{aspectRatio:s},t[4]=s,t[5]=o,t[6]=m):m=t[6],t[7]!==i.atoms.bg_contrast_25||t[8]!==m?(h=[Bs.atoms.h_full,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,i.atoms.bg_contrast_25,m],t[7]=i.atoms.bg_contrast_25,t[8]=m,t[9]=h):h=t[9],t[10]!==n||t[11]!==h?(p=(0,bt.jsx)(Cs.default,{style:u,children:(0,bt.jsx)(Cs.default,{style:h,children:n})}),t[10]=n,t[11]=h,t[12]=p):p=t[12],t[13]!==d||t[14]!==p?(f=(0,bt.jsx)(Cs.default,{style:c,children:(0,bt.jsx)(Cs.default,{style:d,children:p})}),t[13]=d,t[14]=p,t[15]=f):f=t[15],f}function Lm(e){const t=(0,a.c)(66),{image:s,crop:o,hideBadge:n,onPress:r,onLongPress:i,onPressIn:l}=e,c=void 0===o?”constrained”:o,d=(0,Bs.useTheme)(),{_:u}=(0,ut.useLingui)(),m=(0,_m.useLargeAltBadgeEnabled)(),h=(0,dn.useAnimatedRef)(),p=(0,ct.useRef)(null);let f;const g=s.aspectRatio;let x,_,y;g&&(f=g.width/g.height,Number.isNaN(f)&&(f=void 0)),void 0!==f&&(x=Math.max(f,.5),_=Math.max(f,.25),y=f{v||(p.current={width:e.source.width,height:e.source.height})},t[2]=v,t[3]=C):C=t[3],t[4]!==s.alt||t[5]!==s.thumb||t[6]!==T||t[7]!==C?(P=(0,bt.jsx)(yc.Image,{contentFit:T,style:k,source:s.thumb,accessible:!0,accessibilityIgnoresInvertColors:!0,accessibilityLabel:s.alt,accessibilityHint:””,onLoad:C,loading:”lazy”}),t[4]=s.alt,t[5]=s.thumb,t[6]=T,t[7]=C,t[8]=P):P=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(A=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[9]=A):A=t[9],t[10]!==S||t[11]!==n||t[12]!==j||t[13]!==m||t[14]!==d.atoms.bg_contrast_25||t[15]!==d.atoms.text_contrast_high?(I=!S&&!j||n?null:(0,bt.jsxs)(Cs.default,{accessible:!1,style:[Bs.atoms.absolute,Bs.atoms.flex_row,{bottom:Bs.atoms.p_xs.padding,right:Bs.atoms.p_xs.padding,gap:3},m&&[{gap:4}]],children:[j&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_xs,d.atoms.bg_contrast_25,{padding:3,opacity:.8},m&&[{padding:5}]],children:(0,bt.jsx)(Pm,{fill:d.atoms.text_contrast_high.color,width:m?18:12})}),S&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.justify_center,Bs.atoms.rounded_xs,d.atoms.bg_contrast_25,{padding:3,opacity:.8},m&&[{padding:5}]],children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_bold,m?Bs.atoms.text_xs:{fontSize:8}],children:”ALT”})})]}),t[10]=S,t[11]=n,t[12]=j,t[13]=m,t[14]=d.atoms.bg_contrast_25,t[15]=d.atoms.text_contrast_high,t[16]=I):I=t[16],t[17]!==h||t[18]!==P||t[19]!==I?(L=(0,bt.jsxs)(dn.default.View,{ref:h,collapsable:!1,style:w,children:[P,A,I]}),t[17]=h,t[18]=P,t[19]=I,t[20]=L):L=t[20];const R=L;if(b){let e;t[21]!==h||t[22]!==r?(e=()=>r?.(h,p.current),t[21]=h,t[22]=r,t[23]=e):e=t[23];const o=s.alt;let n,a,c;t[24]!==u?(n=u({id:”p117IV”}),t[24]=u,t[25]=n):n=t[25],t[26]!==d.atoms.bg.backgroundColor?(a=Al.utils.alpha(d.atoms.bg.backgroundColor,.2),t[26]=d.atoms.bg.backgroundColor,t[27]=a):a=t[27],t[28]!==a?(c={color:a,foreground:!0},t[28]=a,t[29]=c):c=t[29];const m=_??1;let f,g,x;return t[30]!==m?(f={aspectRatio:m},t[30]=m,t[31]=f):f=t[31],t[32]!==d.atoms.bg_contrast_25||t[33]!==f?(g=[Bs.atoms.w_full,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden,d.atoms.bg_contrast_25,f],t[32]=d.atoms.bg_contrast_25,t[33]=f,t[34]=g):g=t[34],t[35]!==R||t[36]!==s.alt||t[37]!==i||t[38]!==l||t[39]!==e||t[40]!==n||t[41]!==c||t[42]!==g?(x=(0,bt.jsx)(Yo.default,{onPress:e,onLongPress:i,onPressIn:l,accessibilityLabel:o,accessibilityHint:n,accessibilityRole:”button”,android_ripple:c,style:g,children:R}),t[35]=R,t[36]=s.alt,t[37]=i,t[38]=l,t[39]=e,t[40]=n,t[41]=c,t[42]=g,t[43]=x):x=t[43],x}{const e=”square”===c,o=x??1;let n;t[44]!==h||t[45]!==r?(n=()=>r?.(h,p.current),t[44]=h,t[45]=r,t[46]=n):n=t[46];const a=s.alt;let m,f,g,_,y,b;return t[47]!==u?(m=u({id:”p117IV”}),t[47]=u,t[48]=m):m=t[48],t[49]!==d.atoms.bg.backgroundColor?(f=Al.utils.alpha(d.atoms.bg.backgroundColor,.2),t[49]=d.atoms.bg.backgroundColor,t[50]=f):f=t[50],t[51]!==f?(g={color:f,foreground:!0},t[51]=f,t[52]=g):g=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.h_full],t[53]=_):_=t[53],t[54]!==R||t[55]!==s.alt||t[56]!==i||t[57]!==l||t[58]!==n||t[59]!==m||t[60]!==g?(y=(0,bt.jsx)(Yo.default,{onPress:n,onLongPress:i,onPressIn:l,accessibilityLabel:a,accessibilityHint:m,accessibilityRole:”button”,android_ripple:g,style:_,children:R}),t[54]=R,t[55]=s.alt,t[56]=i,t[57]=l,t[58]=n,t[59]=m,t[60]=g,t[61]=y):y=t[61],t[62]!==e||t[63]!==o||t[64]!==y?(b=(0,bt.jsx)(Im,{fullBleed:e,aspectRatio:o,children:y}),t[62]=e,t[63]=o,t[64]=y,t[65]=b):b=t[65],b}}let Rm=function(e){return e.ThreadHighlighted=”ThreadHighlighted”,e.Feed=”Feed”,e.FeedEmbedRecordWithMedia=”FeedEmbedRecordWithMedia”,e}({}),Em=function(e){return e.FeedEmbedRecordWithMedia=”FeedEmbedRecordWithMedia”,e}({});function Dm(e){const t=(0,a.c)(51),{images:s,index:o,imageStyle:n,onPress:r,onPressIn:i,onLongPress:l,viewContext:c,insetBorderStyle:d,containerRefs:u,thumbDimsRef:m}=e,h=(0,Bs.useTheme)(),{_:p}=(0,ut.useLingui)(),f=(0,_m.useLargeAltBadgeEnabled)(),g=s[o],x=!!g.alt,_=c===Rm.FeedEmbedRecordWithMedia,y=u[o];let b,j,v,S,w,T,k,C,P,A,I,L,R,E,D;return t[0]!==u||t[1]!==o||t[2]!==r||t[3]!==m?(b=r?()=>r(o,u,m.current.slice()):void 0,t[0]=u,t[1]=o,t[2]=r,t[3]=m,t[4]=b):b=t[4],t[5]!==o||t[6]!==i?(j=i?()=>i(o):void 0,t[5]=o,t[6]=i,t[7]=j):j=t[7],t[8]!==o||t[9]!==l?(v=l?()=>l(o):void 0,t[8]=o,t[9]=l,t[10]=v):v=t[10],t[11]!==h.atoms.bg.backgroundColor?(S=Al.utils.alpha(h.atoms.bg.backgroundColor,.2),t[11]=h.atoms.bg.backgroundColor,t[12]=S):S=t[12],t[13]!==S?(w={color:S,foreground:!0},t[13]=S,t[14]=w):w=t[14],t[15]!==n||t[16]!==h.atoms.bg_contrast_25?(T=[Bs.atoms.flex_1,Bs.atoms.overflow_hidden,h.atoms.bg_contrast_25,n],t[15]=n,t[16]=h.atoms.bg_contrast_25,t[17]=T):T=t[17],t[18]!==p||t[19]!==g.alt?(k=g.alt||p({id:”hG89Ed”}),t[18]=p,t[19]=g.alt,t[20]=k):k=t[20],t[21]!==g.thumb?(C={uri:g.thumb},t[21]=g.thumb,t[22]=C):C=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(P=[Bs.atoms.flex_1],t[23]=P):P=t[23],t[24]!==o||t[25]!==m?(A=e=>{m.current[o]={width:e.source.width,height:e.source.height}},t[24]=o,t[25]=m,t[26]=A):A=t[26],t[27]!==g.alt||t[28]!==A||t[29]!==C?(I=(0,bt.jsx)(yc.Image,{source:C,style:P,accessible:!0,accessibilityLabel:g.alt,accessibilityHint:””,accessibilityIgnoresInvertColors:!0,onLoad:A,loading:”lazy”}),t[27]=g.alt,t[28]=A,t[29]=C,t[30]=I):I=t[30],t[31]!==d?(L=(0,bt.jsx)(Sc.MediaInsetBorder,{style:d}),t[31]=d,t[32]=L):L=t[32],t[33]!==I||t[34]!==L||t[35]!==b||t[36]!==j||t[37]!==v||t[38]!==w||t[39]!==T||t[40]!==k?(R=(0,bt.jsxs)(Yo.default,{onPress:b,onPressIn:j,onLongPress:v,android_ripple:w,style:T,accessibilityRole:”button”,accessibilityLabel:k,accessibilityHint:””,children:[I,L]}),t[33]=I,t[34]=L,t[35]=b,t[36]=j,t[37]=v,t[38]=w,t[39]=T,t[40]=k,t[41]=R):R=t[41],t[42]!==x||t[43]!==_||t[44]!==f||t[45]!==h.atoms.bg_contrast_25?(E=x&&!_?(0,bt.jsx)(Cs.default,{accessible:!1,style:[Bs.atoms.absolute,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.rounded_xs,h.atoms.bg_contrast_25,{gap:3,padding:3,bottom:Bs.atoms.p_xs.padding,right:Bs.atoms.p_xs.padding,opacity:.8},f&&[{gap:4,padding:5}]],children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.font_bold,f?Bs.atoms.text_xs:{fontSize:8}],children:”ALT”})}):null,t[42]=x,t[43]=_,t[44]=f,t[45]=h.atoms.bg_contrast_25,t[46]=E):E=t[46],t[47]!==y||t[48]!==R||t[49]!==E?(D=(0,bt.jsxs)(Cs.default,{style:Bs.atoms.flex_1,ref:y,collapsable:!1,children:[R,E]}),t[47]=y,t[48]=R,t[49]=E,t[50]=D):D=t[50],D}const Bm=[“style”];function Mm(e){const t=(0,a.c)(14);let s,o;if(t[0]!==e){var n=e;({style:o}=n),s=(0,Vn.default)(n,Bm),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{gtMobile:r}=(0,Bs.useBreakpoints)(),i=s.viewContext===Rm.FeedEmbedRecordWithMedia?r?Bs.atoms.gap_xs:Bs.atoms.gap_2xs:Bs.atoms.gap_xs;let l,c,d,u;return t[3]!==i?(l=[i,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden],t[3]=i,t[4]=l):l=t[4],t[5]!==i||t[6]!==s?(c=(0,bt.jsx)(Om,Object.assign({},s,{gap:i})),t[5]=i,t[6]=s,t[7]=c):c=t[7],t[8]!==l||t[9]!==c?(d=(0,bt.jsx)(Cs.default,{style:l,children:c}),t[8]=l,t[9]=c,t[10]=d):d=t[10],t[11]!==o||t[12]!==d?(u=(0,bt.jsx)(Cs.default,{style:o,children:d}),t[11]=o,t[12]=d,t[13]=u):u=t[13],u}function Om(e){const t=(0,a.c)(100),s=e.gap,o=e.images.length,n=(0,dn.useAnimatedRef)(),r=(0,dn.useAnimatedRef)(),i=(0,dn.useAnimatedRef)(),l=(0,dn.useAnimatedRef)();let c;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c=[],t[0]=c):c=t[0];const d=(0,ct.useRef)(c);switch(o){case 2:{let o;t[1]!==n||t[2]!==r?(o=[n,r],t[1]=n,t[2]=r,t[3]=o):o=t[3];const a=o;let i,l,c,u,m,h,p,f;return t[4]!==s?(i=[Bs.atoms.flex_1,Bs.atoms.flex_row,s],t[4]=s,t[5]=i):i=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(l=[Bs.atoms.flex_1,Bs.atoms.aspect_square],t[6]=l):l=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(c=Fm([“topRight”,”bottomRight”]),t[7]=c):c=t[7],t[8]!==a||t[9]!==e||t[10]!==c?(u=(0,bt.jsx)(Cs.default,{style:l,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:0,insetBorderStyle:c,containerRefs:a,thumbDimsRef:d}))}),t[8]=a,t[9]=e,t[10]=c,t[11]=u):u=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(m=[Bs.atoms.flex_1,Bs.atoms.aspect_square],t[12]=m):m=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(h=Fm([“topLeft”,”bottomLeft”]),t[13]=h):h=t[13],t[14]!==a||t[15]!==e||t[16]!==h?(p=(0,bt.jsx)(Cs.default,{style:m,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:1,insetBorderStyle:h,containerRefs:a,thumbDimsRef:d}))}),t[14]=a,t[15]=e,t[16]=h,t[17]=p):p=t[17],t[18]!==i||t[19]!==u||t[20]!==p?(f=(0,bt.jsxs)(Cs.default,{style:i,children:[u,p]}),t[18]=i,t[19]=u,t[20]=p,t[21]=f):f=t[21],f}case 3:{let o;t[22]!==n||t[23]!==r||t[24]!==i?(o=[n,r,i],t[22]=n,t[23]=r,t[24]=i,t[25]=o):o=t[25];const a=o;let l,c,u,m,h,p,f,g,x,_,y,b,j;return t[26]!==s?(l=[Bs.atoms.flex_1,Bs.atoms.flex_row,s],t[26]=s,t[27]=l):l=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(c=[Bs.atoms.flex_1,Bs.atoms.aspect_square],t[28]=c):c=t[28],t[29]===Symbol.for(“react.memo_cache_sentinel”)?(u=Fm([“topRight”,”bottomRight”]),t[29]=u):u=t[29],t[30]!==a||t[31]!==e||t[32]!==u?(m=(0,bt.jsx)(Cs.default,{style:c,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:0,insetBorderStyle:u,containerRefs:a,thumbDimsRef:d}))}),t[30]=a,t[31]=e,t[32]=u,t[33]=m):m=t[33],t[34]!==s?(h=[Bs.atoms.flex_1,Bs.atoms.aspect_square,s],t[34]=s,t[35]=h):h=t[35],t[36]===Symbol.for(“react.memo_cache_sentinel”)?(p=[Bs.atoms.flex_1],t[36]=p):p=t[36],t[37]===Symbol.for(“react.memo_cache_sentinel”)?(f=Fm([“topLeft”,”bottomLeft”,”bottomRight”]),t[37]=f):f=t[37],t[38]!==a||t[39]!==e||t[40]!==f?(g=(0,bt.jsx)(Cs.default,{style:p,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:1,insetBorderStyle:f,containerRefs:a,thumbDimsRef:d}))}),t[38]=a,t[39]=e,t[40]=f,t[41]=g):g=t[41],t[42]===Symbol.for(“react.memo_cache_sentinel”)?(x=[Bs.atoms.flex_1],t[42]=x):x=t[42],t[43]===Symbol.for(“react.memo_cache_sentinel”)?(_=Fm([“topLeft”,”bottomLeft”,”topRight”]),t[43]=_):_=t[43],t[44]!==a||t[45]!==e||t[46]!==_?(y=(0,bt.jsx)(Cs.default,{style:x,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:2,insetBorderStyle:_,containerRefs:a,thumbDimsRef:d}))}),t[44]=a,t[45]=e,t[46]=_,t[47]=y):y=t[47],t[48]!==y||t[49]!==h||t[50]!==g?(b=(0,bt.jsxs)(Cs.default,{style:h,children:[g,y]}),t[48]=y,t[49]=h,t[50]=g,t[51]=b):b=t[51],t[52]!==b||t[53]!==l||t[54]!==m?(j=(0,bt.jsxs)(Cs.default,{style:l,children:[m,b]}),t[52]=b,t[53]=l,t[54]=m,t[55]=j):j=t[55],j}case 4:{let o;t[56]!==n||t[57]!==r||t[58]!==i||t[59]!==l?(o=[n,r,i,l],t[56]=n,t[57]=r,t[58]=i,t[59]=l,t[60]=o):o=t[60];const a=o;let c,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k;return t[61]!==s?(c=[Bs.atoms.flex_row,s],t[61]=s,t[62]=c):c=t[62],t[63]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.flex_1,{aspectRatio:1.5}],t[63]=u):u=t[63],t[64]===Symbol.for(“react.memo_cache_sentinel”)?(m=Fm([“bottomLeft”,”topRight”,”bottomRight”]),t[64]=m):m=t[64],t[65]!==a||t[66]!==e||t[67]!==m?(h=(0,bt.jsx)(Cs.default,{style:u,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:0,insetBorderStyle:m,containerRefs:a,thumbDimsRef:d}))}),t[65]=a,t[66]=e,t[67]=m,t[68]=h):h=t[68],t[69]===Symbol.for(“react.memo_cache_sentinel”)?(p=[Bs.atoms.flex_1,{aspectRatio:1.5}],t[69]=p):p=t[69],t[70]===Symbol.for(“react.memo_cache_sentinel”)?(f=Fm([“topLeft”,”bottomLeft”,”bottomRight”]),t[70]=f):f=t[70],t[71]!==a||t[72]!==e||t[73]!==f?(g=(0,bt.jsx)(Cs.default,{style:p,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:1,insetBorderStyle:f,containerRefs:a,thumbDimsRef:d}))}),t[71]=a,t[72]=e,t[73]=f,t[74]=g):g=t[74],t[75]!==c||t[76]!==h||t[77]!==g?(x=(0,bt.jsxs)(Cs.default,{style:c,children:[h,g]}),t[75]=c,t[76]=h,t[77]=g,t[78]=x):x=t[78],t[79]!==s?(_=[Bs.atoms.flex_row,s],t[79]=s,t[80]=_):_=t[80],t[81]===Symbol.for(“react.memo_cache_sentinel”)?(y=[Bs.atoms.flex_1,{aspectRatio:1.5}],t[81]=y):y=t[81],t[82]===Symbol.for(“react.memo_cache_sentinel”)?(b=Fm([“topLeft”,”topRight”,”bottomRight”]),t[82]=b):b=t[82],t[83]!==a||t[84]!==e||t[85]!==b?(j=(0,bt.jsx)(Cs.default,{style:y,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:2,insetBorderStyle:b,containerRefs:a,thumbDimsRef:d}))}),t[83]=a,t[84]=e,t[85]=b,t[86]=j):j=t[86],t[87]===Symbol.for(“react.memo_cache_sentinel”)?(v=[Bs.atoms.flex_1,{aspectRatio:1.5}],t[87]=v):v=t[87],t[88]===Symbol.for(“react.memo_cache_sentinel”)?(S=Fm([“topLeft”,”bottomLeft”,”topRight”]),t[88]=S):S=t[88],t[89]!==a||t[90]!==e||t[91]!==S?(w=(0,bt.jsx)(Cs.default,{style:v,children:(0,bt.jsx)(Dm,Object.assign({},e,{index:3,insetBorderStyle:S,containerRefs:a,thumbDimsRef:d}))}),t[89]=a,t[90]=e,t[91]=S,t[92]=w):w=t[92],t[93]!==_||t[94]!==j||t[95]!==w?(T=(0,bt.jsxs)(Cs.default,{style:_,children:[j,w]}),t[93]=_,t[94]=j,t[95]=w,t[96]=T):T=t[96],t[97]!==T||t[98]!==x?(k=(0,bt.jsxs)(bt.Fragment,{children:[x,T]}),t[97]=T,t[98]=x,t[99]=k):k=t[99],k}default:return null}}function Fm(e){const t=[];return e.includes(“topLeft”)&&t.push({borderTopLeftRadius:0}),e.includes(“topRight”)&&t.push({borderTopRightRadius:0}),e.includes(“bottomLeft”)&&t.push({borderBottomLeftRadius:0}),e.includes(“bottomRight”)&&t.push({borderBottomRightRadius:0}),t}const Nm=[“embed”],Hm={code:”function ImageEmbedTsx1(){const{refs,measure,runOnJS,_openLightbox,index_0,fetchedDims_0}=this.__closure;const rects=[];for(const r of refs){rects.push(measure(r));}runOnJS(_openLightbox)(index_0,rects,fetchedDims_0);}”};function zm(e){const t=(0,a.c)(35);let s,o;if(t[0]!==e){var n=e;({embed:s}=n),o=(0,Vn.default)(n,Nm),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{openLightbox:r}=(0,Ht.useLightboxControls)(),{images:i}=s.view;if(i.length>0){let e;t[3]!==i?(e=i.map(Um),t[3]=i,t[4]=e):e=t[4];const s=e;let n;if(t[5]!==s||t[6]!==r){const e=(e,t,o)=>{r({images:s.map(((e,s)=>Object.assign({},e,{thumbRect:t[s]??null,thumbDimensions:o[s]??null,type:”image”}))),index:e})};n=(t,s,o)=>{(0,dn.runOnUI)(function(){const n=function(){const n=[];for(const e of s)n.push((0,dn.measure)(e));(0,dn.runOnJS)(e)(t,n,o)};return n.__closure={refs:s,measure:dn.measure,runOnJS:dn.runOnJS,_openLightbox:e,index_0:t,fetchedDims_0:o},n.__workletHash=0xeeb9b57d86,n.__initData=Hm,n}())()},t[5]=s,t[6]=r,t[7]=n}else n=t[7];const a=n;let l;t[8]!==s?(l=e=>{Cm.default.runAfterInteractions((()=>{yc.Image.prefetch(s.map(Vm),”memory”)}))},t[8]=s,t[9]=l):l=t[9];const c=l;if(1===i.length){const e=i[0];let s;t[10]!==o.style?(s=[Bs.atoms.mt_sm,o.style],t[10]=o.style,t[11]=s):s=t[11];const n=o.viewContext===Rm.ThreadHighlighted?”none”:o.viewContext===Rm.FeedEmbedRecordWithMedia?”square”:”constrained”;let r,l;t[12]!==a?(r=(e,t)=>a(0,[e],[t]),t[12]=a,t[13]=r):r=t[13],t[14]!==c?(l=()=>c(0),t[14]=c,t[15]=l):l=t[15];const d=o.viewContext===Rm.FeedEmbedRecordWithMedia;let u,m;return t[16]!==e||t[17]!==n||t[18]!==r||t[19]!==l||t[20]!==d?(u=(0,bt.jsx)(Lm,{crop:n,image:e,onPress:r,onPressIn:l,hideBadge:d}),t[16]=e,t[17]=n,t[18]=r,t[19]=l,t[20]=d,t[21]=u):u=t[21],t[22]!==s||t[23]!==u?(m=(0,bt.jsx)(Cs.default,{style:s,children:u}),t[22]=s,t[23]=u,t[24]=m):m=t[24],m}let d,u,m;return t[25]!==o.style?(d=[Bs.atoms.mt_sm,o.style],t[25]=o.style,t[26]=d):d=t[26],t[27]!==i||t[28]!==a||t[29]!==c||t[30]!==o.viewContext?(u=(0,bt.jsx)(Mm,{images:i,onPress:a,onPressIn:c,viewContext:o.viewContext}),t[27]=i,t[28]=a,t[29]=c,t[30]=o.viewContext,t[31]=u):u=t[31],t[32]!==d||t[33]!==u?(m=(0,bt.jsx)(Cs.default,{style:d,children:u}),t[32]=d,t[33]=u,t[34]=m):m=t[34],m}}function Vm(e){return e.uri}function Um(e){return{uri:e.fullsize,thumbUri:e.thumb,alt:e.alt,dimensions:e.aspectRatio??null}}const Gm=[“view”,”children”],Wm=”app.bsky.graph.defs#curatelist”,qm=”app.bsky.graph.defs#modlist”;function Qm(e){const t=(0,a.c)(39),{view:s,showPinButton:o}=e,n=(0,Xt.useModerationOpts)();let r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j;if(t[0]!==n||t[1]!==e||t[2]!==s){const o=n?(0,Sn.moderateUserList)(s,n):void 0;c=Km,f=e,l=nl,i=al,t[13]!==s.avatar?(p=(0,bt.jsx)(rl,{src:s.avatar}),t[13]=s.avatar,t[14]=p):p=t[14],r=Zm,d=s.name,u=s.creator,m=s.purpose,h=o?.ui(“contentView”),t[0]=n,t[1]=e,t[2]=s,t[3]=r,t[4]=i,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p,t[12]=f}else r=t[3],i=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11],f=t[12];return t[15]!==r||t[16]!==d||t[17]!==u||t[18]!==m||t[19]!==h?(g=(0,bt.jsx)(r,{title:d,creator:u,purpose:m,modUi:h}),t[15]=r,t[16]=d,t[17]=u,t[18]=m,t[19]=h,t[20]=g):g=t[20],t[21]!==o||t[22]!==s?(x=o&&s.purpose===Wm&&(0,bt.jsx)(ml,{view:s,pin:!0}),t[21]=o,t[22]=s,t[23]=x):x=t[23],t[24]!==i||t[25]!==p||t[26]!==g||t[27]!==x?(_=(0,bt.jsxs)(i,{children:[p,g,x]}),t[24]=i,t[25]=p,t[26]=g,t[27]=x,t[28]=_):_=t[28],t[29]!==s.description?(y=(0,bt.jsx)(dl,{description:s.description}),t[29]=s.description,t[30]=y):y=t[30],t[31]!==l||t[32]!==_||t[33]!==y?(b=(0,bt.jsxs)(l,{children:[_,y]}),t[31]=l,t[32]=_,t[33]=y,t[34]=b):b=t[34],t[35]!==c||t[36]!==b||t[37]!==f?(j=(0,bt.jsx)(c,Object.assign({},f,{children:b})),t[35]=c,t[36]=b,t[37]=f,t[38]=j):j=t[38],j}function Km(e){const t=(0,a.c)(15);let s,o,n;if(t[0]!==e){var r=e;({view:n,children:s}=r),o=(0,Vn.default)(r,Gm),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=(0,wn.useQueryClient)();let l;t[4]!==n?(l=function({list:e}){const t=new Sn.AtUri(e.uri);return`/profile/${e.creator.handle||e.creator.did}/lists/${t.rkey}`}({list:n}),t[4]=n,t[5]=l):l=t[5];const c=l;let d,u,m;return t[6]!==i||t[7]!==n?(d=()=>{Ir(i,n)},u=[n,i],t[6]=i,t[7]=n,t[8]=d,t[9]=u):(d=t[8],u=t[9]),ct.useEffect(d,u),t[10]!==s||t[11]!==c||t[12]!==o||t[13]!==n.name?(m=(0,bt.jsx)(Ys.Link,Object.assign({label:n.name,to:c},o,{children:s})),t[10]=s,t[11]=c,t[12]=o,t[13]=n.name,t[14]=m):m=t[14],m}function Zm(e){const t=(0,a.c)(19),{title:s,creator:o,purpose:n,modUi:r}=e,i=void 0===n?Wm:n,l=(0,Bs.useTheme)(),{_:c}=(0,ut.useLingui)(),{currentAccount:d}=(0,Lt.useSession)();let u;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.flex_1],t[0]=u):u=t[0];const m=o&&d?.did===o.did,h=o&&d?.did===o.did;let p,f,g,x,_,y,b;return t[1]===Symbol.for(“react.memo_cache_sentinel”)?(p=[Bs.atoms.text_md,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug,Bs.atoms.italic],t[1]=p):p=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,bt.jsx)(Lc,{children:(0,bt.jsx)(Xs.Text,{style:p,numberOfLines:1,children:(0,bt.jsx)(ut.Trans,{id:”ould6f”})})}),t[2]=f):f=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(g=[Bs.atoms.text_md,Bs.atoms.font_semi_bold,Bs.atoms.leading_snug],t[3]=g):g=t[3],t[4]!==s?(x=(0,bt.jsx)(Ic,{children:(0,bt.jsx)(Xs.Text,{emoji:!0,style:g,numberOfLines:1,children:s})}),t[4]=s,t[5]=x):x=t[5],t[6]!==r||t[7]!==m||t[8]!==h||t[9]!==x?(_=(0,bt.jsxs)(Pc,{modui:r,isContentVisibleInitialState:m,allowOverride:h,children:[f,x]}),t[6]=r,t[7]=m,t[8]=h,t[9]=x,t[10]=_):_=t[10],t[11]!==c||t[12]!==o||t[13]!==i||t[14]!==l?(y=o&&(0,bt.jsx)(Xs.Text,{emoji:!0,style:[Bs.atoms.leading_snug,l.atoms.text_contrast_medium],numberOfLines:1,children:c(i===qm?{id:”h+3Tua”,values:{0:(0,wa.sanitizeHandle)(o.handle,”@”)}}:{id:”munnPn”,values:{0:(0,wa.sanitizeHandle)(o.handle,”@”)}})}),t[11]=c,t[12]=o,t[13]=i,t[14]=l,t[15]=y):y=t[15],t[16]!==y||t[17]!==_?(b=(0,bt.jsxs)(Cs.default,{style:u,children:[_,y]}),t[16]=y,t[17]=_,t[18]=b):b=t[18],b}function Ym(e){const t=(0,a.c)(5),{embed:s}=e,o=(0,Bs.useTheme)();let n,r;return t[0]!==o.atoms.border_contrast_low?(n=[Bs.atoms.border,o.atoms.border_contrast_low,Bs.atoms.p_md,Bs.atoms.rounded_sm],t[0]=o.atoms.border_contrast_low,t[1]=n):n=t[1],t[2]!==s.view||t[3]!==n?(r=(0,bt.jsx)(Qm,{view:s.view,style:n}),t[2]=s.view,t[3]=n,t[4]=r):r=t[4],r}function $m({embed:e}){const t=(0,Xt.useModerationOpts)(),s=(0,ct.useMemo)((()=>t?(0,Sn.moderateUserList)(e.view,t):void 0),[e.view,t]);return(0,bt.jsx)(Fu,{modui:s?.ui(“contentList”),childContainerStyle:[Bs.atoms.pt_xs],children:(0,bt.jsx)(Ym,{embed:e})})}function Xm(e){const t=(0,a.c)(11),{children:s}=e,o=(0,Bs.useTheme)(),n=(0,un.usePalette)(“default”);let r,i,l,c;return t[0]!==o.atoms.border_contrast_low?(r=[Jm.errorContainer,Bs.atoms.border,o.atoms.border_contrast_low],t[0]=o.atoms.border_contrast_low,t[1]=r):r=t[1],t[2]!==n.text?(i=(0,bt.jsx)(_u,{size:18,style:n.text}),t[2]=n.text,t[3]=i):i=t[3],t[4]!==s||t[5]!==n.text?(l=(0,bt.jsx)(tn.Text,{type:”lg”,style:n.text,children:s}),t[4]=s,t[5]=n.text,t[6]=l):l=t[6],t[7]!==r||t[8]!==i||t[9]!==l?(c=(0,bt.jsxs)(Cs.default,{style:r,children:[i,l]}),t[7]=r,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}const Jm=Ts.default.create({errorContainer:{flexDirection:”row”,alignItems:”center”,gap:4,borderRadius:8,marginTop:8,paddingVertical:14,paddingHorizontal:14,borderWidth:Ts.default.hairlineWidth}});function eh(e){const t=(0,a.c)(35),{title:s,message:o,details:n,onPressTryAgain:r,testID:i,showHeader:l}=e,c=(0,Bs.useTheme)(),d=(0,un.usePalette)(“default”),{_:u}=(0,ut.useLingui)();let m,h,p,f,g;t[0]!==l?(m=l&&(0,bt.jsxs)(aa.Header.Outer,{children:[(0,bt.jsx)(aa.Header.BackButton,{}),(0,bt.jsx)(aa.Header.Content,{children:(0,bt.jsx)(aa.Header.TitleText,{children:(0,bt.jsx)(ut.Trans,{id:”SlfejT”})})}),(0,bt.jsx)(aa.Header.Slot,{})]}),t[0]=l,t[1]=m):m=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(h=[Bs.atoms.px_xl,Bs.atoms.py_2xl],t[2]=h):h=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(p=[Bs.atoms.mb_md,Bs.atoms.align_center],t[3]=p):p=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(f={width:50,height:50},t[4]=f):f=t[4],t[5]!==c.palette.contrast_950?(g=[Bs.atoms.rounded_full,f,Bs.atoms.align_center,Bs.atoms.justify_center,{backgroundColor:c.palette.contrast_950}],t[5]=c.palette.contrast_950,t[6]=g):g=t[6];const x=d.textInverted;let _,y,b,j,v,S,w,T,k,C;return t[7]!==x?(_=(0,bt.jsx)(Xo.FontAwesomeIcon,{icon:”exclamation”,style:x,size:24}),t[7]=x,t[8]=_):_=t[8],t[9]!==g||t[10]!==_?(y=(0,bt.jsx)(Cs.default,{style:p,children:(0,bt.jsx)(Cs.default,{style:g,children:_})}),t[9]=g,t[10]=_,t[11]=y):y=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(b=[Bs.atoms.text_center,Bs.atoms.font_bold,Bs.atoms.text_2xl,Bs.atoms.mb_md],t[12]=b):b=t[12],t[13]!==s?(j=(0,bt.jsx)(Xs.Text,{style:b,children:s}),t[13]=s,t[14]=j):j=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(v=[Bs.atoms.text_center,Bs.atoms.text_md,Bs.atoms.mb_xl],t[15]=v):v=t[15],t[16]!==o?(S=(0,bt.jsx)(Xs.Text,{style:v,children:o}),t[16]=o,t[17]=S):S=t[17],t[18]!==n||t[19]!==c.atoms||t[20]!==i?(w=n&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full,Bs.atoms.border,c.atoms.border_contrast_medium,c.atoms.bg_contrast_25,Bs.atoms.mb_xl,Bs.atoms.py_sm,Bs.atoms.px_lg,Bs.atoms.rounded_xs,Bs.atoms.overflow_hidden],children:(0,bt.jsx)(Xs.Text,{testID:`${i}-details`,style:[Bs.atoms.text_center,Bs.atoms.text_md,c.atoms.text_contrast_high],children:n})}),t[18]=n,t[19]=c.atoms,t[20]=i,t[21]=w):w=t[21],t[22]!==u||t[23]!==r?(T=r&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.align_center],children:(0,bt.jsxs)(Ks.Button,{testID:”errorScreenTryAgainButton”,onPress:r,variant:”solid”,color:”secondary_inverted”,size:”small”,label:u({id:”6gRgw8″}),accessibilityHint:u({id:”EBzg6u”}),children:[(0,bt.jsx)(Ks.ButtonIcon,{icon:Bo.ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded}),(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”EzJZ6f”})})]})}),t[22]=u,t[23]=r,t[24]=T):T=t[24],t[25]!==j||t[26]!==S||t[27]!==w||t[28]!==T||t[29]!==y?(k=(0,bt.jsxs)(Cs.default,{style:h,children:[y,j,S,w,T]}),t[25]=j,t[26]=S,t[27]=w,t[28]=T,t[29]=y,t[30]=k):k=t[30],t[31]!==m||t[32]!==k||t[33]!==i?(C=(0,bt.jsxs)(aa.Center,{testID:i,children:[m,k]}),t[31]=m,t[32]=k,t[33]=i,t[34]=C):C=t[34],C}class th extends ct.Component{state={hasError:!1,error:void 0};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){vt.logger.error(e,{errorInfo:t})}render(){return this.state.hasError?this.props.renderError?this.props.renderError(this.state.error):(0,bt.jsx)(ca,{style:[{height:”100%”,flex:1},this.props.style],children:(0,bt.jsx)(sh,{details:this.state.error.toString()})}):this.props.children}}function sh(e){const t=(0,a.c)(8),{details:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i;return t[0]!==o?(n=o({id:”5GGAqz”}),t[0]=o,t[1]=n):n=t[1],t[2]!==o?(r=o({id:”yUqcy2″}),t[2]=o,t[3]=r):r=t[3],t[4]!==s||t[5]!==n||t[6]!==r?(i=(0,bt.jsx)(eh,{title:n,message:r,details:s}),t[4]=s,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}const oh=ct.createContext(!1);function nh(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,bt.jsx)(oh.Provider,{value:!0,children:s}),t[0]=s,t[1]=o):o=t[1],o}function ah(){return ct.useContext(oh)}function rh(e){return document.addEventListener(“fullscreenchange”,e),()=>document.removeEventListener(“fullscreenchange”,e)}function ih(e){const t=(0,a.c)(10);if(!os.isWeb)throw new Error(“‘useFullscreen’ is a web-only hook”);const s=(0,ct.useSyncExternalStore)(rh,lh),o=(0,ct.useRef)(null),[n,r]=(0,ct.useState)(s);let i;t[0]!==s||t[1]!==e?(i=()=>{if(s)document.exitFullscreen();else{if(!e)throw new Error(“No ref provided”);if(!e.current)return;o.current=window.scrollY,e.current.requestFullscreen()}},t[0]=s,t[1]=e,t[2]=i):i=t[2];const l=i;let c,d,u;return t[3]!==s||t[4]!==n?(c=()=>{n!==s&&(r(s),!n||Zc.isFirefox||Zc.isSafari||setTimeout((()=>{null!==o.current&&(window.scrollTo(0,o.current),o.current=null)}),100))},d=[s,n],t[3]=s,t[4]=n,t[5]=c,t[6]=d):(c=t[5],d=t[6]),(0,ct.useEffect)(c,d),t[7]!==s||t[8]!==l?(u=[s,l],t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function lh(){return Boolean(document.fullscreenElement)}let ch;oh.displayName=”MessageContext”;const dh=(0,zr.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v14h14V5H5Zm10.957 6.293a1 1 0 1 0 0 1.414 1 1 0 0 1 1.414 1.414 3 3 0 1 1 0-4.242 1 1 0 0 1-1.414 1.414Zm-6.331-.22a1 1 0 1 0 .331 1.634 1 1 0 0 1 1.414 1.414 3 3 0 1 1 0-4.242 1 1 0 0 1-1.414 1.414.994.994 0 0 0-.331-.22Z”}),uh=(0,zr.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm11.543 7.293a1 1 0 0 1 1.414 0 1 1 0 0 0 1.414-1.414 3 3 0 1 0 0 4.242 1 1 0 0 0-1.414-1.414 1 1 0 0 1-1.414-1.414Zm-6 0a1 1 0 0 1 1.414 0 1 1 0 0 0 1.414-1.414 3 3 0 1 0 0 4.243 1 1 0 0 0-1.414-1.415 1 1 0 0 1-1.414-1.414Z”}),mh=((0,zr.createSinglePathSVG)({path:”M4 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4Zm2 1v14h2V5H6Zm8-1a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Zm2 1v14h2V5h-2Z”}),(0,zr.createSinglePathSVG)({path:”M4 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4ZM14 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z”}));(0,zr.createSinglePathSVG)({path:”M4 6a3 3 0 0 1 6 0v12a3 3 0 1 1-6 0V6Zm3-1a1 1 0 0 0-1 1v12a1 1 0 1 0 2 0V6a1 1 0 0 0-1-1Zm7 1a3 3 0 1 1 6 0v12a3 3 0 1 1-6 0V6Zm3-1a1 1 0 0 0-1 1v12a1 1 0 1 0 2 0V6a1 1 0 0 0-1-1Z”}),(0,zr.createSinglePathSVG)({path:”M4 6a3 3 0 0 1 6 0v12a3 3 0 1 1-6 0V6ZM14 6a3 3 0 1 1 6 0v12a3 3 0 1 1-6 0V6Z”});function hh(e){const t=(0,a.c)(19),{time:s,style:o}=e,n=(0,Bs.useTheme)(),{_:r}=(0,ut.useLingui)();if(isNaN(s))return null;const i=Math.floor(s/60),l=String(s%60).padStart(2,”0″),c=Number(s)||0;let d,u,m,h,p,f,g;t[0]!==r||t[1]!==c?(d=r({id:”Brqi8s”,values:{0:c}}),t[0]=r,t[1]=c,t[2]=d):d=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(u={backgroundColor:”rgba(0, 0, 0, 0.5)”,borderRadius:6,paddingHorizontal:6,paddingVertical:3,left:6,bottom:6,minHeight:21},t[3]=u):u=t[3],t[4]!==o?(m=[u,Bs.atoms.absolute,Bs.atoms.justify_center,o],t[4]=o,t[5]=m):m=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(h=[“tabular-nums”],t[6]=h):h=t[6],t[7]!==n.palette.white?(p={color:n.palette.white,fontSize:12,fontVariant:h},t[7]=n.palette.white,t[8]=p):p=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(f={lineHeight:1.25},t[9]=f):f=t[9],t[10]!==p?(g=[p,Bs.atoms.font_semi_bold,f],t[10]=p,t[11]=g):g=t[11];const x=`${i}:${l}`;let _,y;return t[12]!==g||t[13]!==x?(_=(0,bt.jsx)(Xs.Text,{style:g,children:x}),t[12]=g,t[13]=x,t[14]=_):_=t[14],t[15]!==_||t[16]!==d||t[17]!==m?(y=(0,bt.jsx)(Cs.default,{pointerEvents:”none”,accessibilityLabel:d,accessibilityHint:””,style:m,children:_}),t[15]=_,t[16]=d,t[17]=m,t[18]=y):y=t[18],y}function ph(e){const t=(0,a.c)(11),{active:s,activeLabel:o,inactiveLabel:n,activeIcon:r,inactiveIcon:i,onPress:l}=e,c=(0,Bs.useTheme)(),d=s?o:n;let u,m,h,p;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.p_xs,Bs.atoms.rounded_full,(0,Bs.web)({transition:”background-color 0.1s”})],m={backgroundColor:”rgba(255, 255, 255, 0.2)”},t[0]=u,t[1]=m):(u=t[0],m=t[1]),t[2]!==r||t[3]!==i||t[4]!==s||t[5]!==c.palette.white?(h=s?(0,bt.jsx)(r,{fill:c.palette.white,width:20,”aria-hidden”:!0}):(0,bt.jsx)(i,{fill:c.palette.white,width:20,”aria-hidden”:!0}),t[2]=r,t[3]=i,t[4]=s,t[5]=c.palette.white,t[6]=h):h=t[6],t[7]!==l||t[8]!==d||t[9]!==h?(p=(0,bt.jsx)($n,{accessibilityRole:”button”,accessibilityLabel:d,accessibilityHint:””,onPress:l,style:u,hoverStyle:m,children:h}),t[7]=l,t[8]=d,t[9]=h,t[10]=p):p=t[10],p}const fh=ct.createContext(null);function gh(e){const t=(0,a.c)(6),{children:s}=e,[o,n]=ct.useState(!0),[r,i]=ct.useState(1);let l;t[0]!==o||t[1]!==r?(l={muted:o,setMuted:n,volume:r,setVolume:i},t[0]=o,t[1]=r,t[2]=l):l=t[2];const c=l;let d;return t[3]!==s||t[4]!==c?(d=(0,bt.jsx)(fh.Provider,{value:c,children:s}),t[3]=s,t[4]=c,t[5]=d):d=t[5],d}function xh(){const e=(0,a.c)(3),t=ct.useContext(fh);if(!t)throw new Error(“useVideoVolumeState must be used within a VideoVolumeProvider”);let s;return e[0]!==t.setVolume||e[1]!==t.volume?(s=[t.volume,t.setVolume],e[0]=t.setVolume,e[1]=t.volume,e[2]=s):s=e[2],s}function _h(e){e.message?.includes(“The play() request was interrupted by a call to pause()”)||vt.logger.error(“Error playing video:”,{message:e})}function yh(e){if(isNaN(e))return”–“;e=Math.round(e);return`${Math.floor(e/60)}:${String(e%60).padStart(2,”0”)}`}function bh(e){const t=(0,a.c)(74),{duration:s,currentTime:o,onSeek:n,onSeekEnd:r,onSeekStart:i,seekLeft:l,seekRight:c,togglePlayPause:d,drawFocus:u}=e,{_:m}=(0,ut.useLingui)(),h=(0,Bs.useTheme)(),[p,f]=(0,ct.useState)(!1),{state:g,onIn:x,onOut:_}=(0,Zn.useInteractionState)(),{state:y,onIn:b,onOut:j}=(0,Zn.useInteractionState)(),[v,S]=(0,ct.useState)(0),w=(0,ct.useRef)(!1),T=(0,ct.useRef)(null),k=(0,ct.useRef)(null);let C;t[0]!==s||t[1]!==n?(C=e=>{if(!T.current)return;const{left:t,width:o}=T.current.getBoundingClientRect(),a=Dr((e.clientX-t)/o,0,1)*s;n(a),S(a)},t[0]=s,t[1]=n,t[2]=C):C=t[2];const P=C;let A;t[3]!==i||t[4]!==P?(A=e=>{const t=e.target;t instanceof Element&&(e.preventDefault(),t.setPointerCapture(e.pointerId),w.current=!0,P(e),f(!0),i())},t[3]=i,t[4]=P,t[5]=A):A=t[5];const I=A;let L;t[6]!==P?(L=e=>{w.current&&(e.preventDefault(),P(e))},t[6]=P,t[7]=L):L=t[7];const R=L;let E;t[8]!==r?(E=e=>{const t=e.target;w.current&&t instanceof Element&&(e.preventDefault(),t.releasePointerCapture(e.pointerId),w.current=!1,r(),f(!1))},t[8]=r,t[9]=E):E=t[9];const D=E;let B,M,O,F;t[10]!==p?(B=()=>{if(Zc.isFirefox&&p)return document.body.classList.add(“force-no-clicks”),jh},t[10]=p,t[11]=B):B=t[11],t[12]!==r||t[13]!==p?(M=[p,r],t[12]=r,t[13]=p,t[14]=M):M=t[14],(0,ct.useEffect)(B,M),t[15]!==u||t[16]!==y||t[17]!==l||t[18]!==c||t[19]!==d?(O=()=>{if(k.current&&y){const e=new AbortController,{signal:t}=e;return k.current.addEventListener(“keydown”,(e=>{” “===e.key?(e.preventDefault(),u(),d()):”ArrowLeft”===e.key?(e.preventDefault(),u(),l()):”ArrowRight”===e.key&&(e.preventDefault(),u(),c())}),{signal:t}),()=>e.abort()}},F=[y,l,c,d,u],t[15]=u,t[16]=y,t[17]=l,t[18]=c,t[19]=d,t[20]=O,t[21]=F):(O=t[20],F=t[21]),(0,ct.useEffect)(O,F);const N=(p?v:o)/s*100;if(s<3)return null;let H;t[22]===Symbol.for("react.memo_cache_sentinel")?(H=[{height:Zc.isTouchDevice?32:18,width:"100%"},Bs.atoms.flex_shrink_0,Bs.atoms.px_xs],t[22]=H):H=t[22];const z=p?"grabbing":"grab";let V,U;t[23]!==z?(V={flex:1,display:"flex",alignItems:"center",position:"relative",cursor:z,padding:"4px 0"},t[23]=z,t[24]=V):V=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(U={backgroundColor:"rgba(255, 255, 255, 0.4)"},t[25]=U):U=t[25];const G=g||p?6:3;let W,q,Q,K,Z,Y,$;t[26]!==G?(W={height:G},t[26]=G,t[27]=W):W=t[27],t[28]===Symbol.for("react.memo_cache_sentinel")?(q=(0,Bs.web)({transition:"height 0.1s ease"}),t[28]=q):q=t[28],t[29]!==W||t[30]!==q?(Q=[Bs.atoms.w_full,Bs.atoms.rounded_full,Bs.atoms.overflow_hidden,U,W,q],t[29]=W,t[30]=q,t[31]=Q):Q=t[31],t[32]!==s||t[33]!==N||t[34]!==h.palette.white?(K=s>0&&(0,bt.jsx)(Cs.default,{style:[Bs.atoms.h_full,{backgroundColor:h.palette.white},{width:`${N}%`}]}),t[32]=s,t[33]=N,t[34]=h.palette.white,t[35]=K):K=t[35],t[36]!==Q||t[37]!==K?(Z=(0,bt.jsx)(Cs.default,{style:Q,children:K}),t[36]=Q,t[37]=K,t[38]=Z):Z=t[38],t[39]!==m?(Y=m({id:”ufWi5/”}),t[39]=m,t[40]=Y):Y=t[40],t[41]!==m||t[42]!==o||t[43]!==s?($=m({id:”FGOUAP”,values:{0:yh(o),1:yh(s)}}),t[41]=m,t[42]=o,t[43]=s,t[44]=$):$=t[44];const X=`calc(${N}% – 8px)`;let J,ee;t[45]!==X?(J={position:”absolute”,height:16,width:16,left:X,borderRadius:8,pointerEvents:”none”},t[45]=X,t[46]=J):J=t[46],t[47]!==h.palette.white?(ee={backgroundColor:h.palette.white},t[47]=h.palette.white,t[48]=ee):ee=t[48];const te=g||p||y?p?1:.6:0;let se,oe,ne,ae,re;return t[49]!==te?(se={transform:[{scale:te}]},t[49]=te,t[50]=se):se=t[50],t[51]!==ee||t[52]!==se?(oe=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.w_full,Bs.atoms.h_full,Bs.atoms.rounded_full,ee,se]}),t[51]=ee,t[52]=se,t[53]=oe):oe=t[53],t[54]!==o||t[55]!==s||t[56]!==j||t[57]!==b||t[58]!==Y||t[59]!==$||t[60]!==J||t[61]!==oe?(ne=(0,bt.jsx)(“div”,{ref:k,”aria-label”:Y,role:”slider”,”aria-valuemax”:s,”aria-valuemin”:0,”aria-valuenow”:o,”aria-valuetext”:$,tabIndex:0,onFocus:b,onBlur:j,style:J,children:oe}),t[54]=o,t[55]=s,t[56]=j,t[57]=b,t[58]=Y,t[59]=$,t[60]=J,t[61]=oe,t[62]=ne):ne=t[62],t[63]!==I||t[64]!==R||t[65]!==D||t[66]!==V||t[67]!==Z||t[68]!==ne?(ae=(0,bt.jsxs)(“div”,{ref:T,style:V,onPointerDown:I,onPointerMove:R,onPointerUp:D,onPointerCancel:D,children:[Z,ne]}),t[63]=I,t[64]=R,t[65]=D,t[66]=V,t[67]=Z,t[68]=ne,t[69]=ae):ae=t[69],t[70]!==_||t[71]!==x||t[72]!==ae?(re=(0,bt.jsx)(Cs.default,{testID:”scrubber”,style:H,onPointerEnter:x,onPointerLeave:_,children:ae}),t[70]=_,t[71]=x,t[72]=ae,t[73]=re):re=t[73],re}function jh(){document.body.classList.remove(“force-no-clicks”)}fh.displayName=”VideoVolumeContext”;var vh=o(66087);const Sh=(0,zr.createSinglePathSVG)({path:”M12.472 3.118A1 1 0 0 1 13 4v16a1 1 0 0 1-1.555.832L5.697 17H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h3.697l5.748-3.832a1 1 0 0 1 1.027-.05ZM11 5.868 6.555 8.833A1 1 0 0 1 6 9H3v6h3a1 1 0 0 1 .555.168L11 18.131V5.87Zm7.364-1.645a1 1 0 0 1 1.414 0A10.969 10.969 0 0 1 23 12c0 3.037-1.232 5.788-3.222 7.778a1 1 0 1 1-1.414-1.414A8.969 8.969 0 0 0 21 12a8.969 8.969 0 0 0-2.636-6.364 1 1 0 0 1 0-1.414Zm-3.182 3.181a1 1 0 0 1 1.414 0A6.483 6.483 0 0 1 18.5 12a6.483 6.483 0 0 1-1.904 4.597 1 1 0 0 1-1.414-1.415A4.483 4.483 0 0 0 16.5 12a4.483 4.483 0 0 0-1.318-3.182 1 1 0 0 1 0-1.414Z”});function wh(e){const t=(0,a.c)(32),{muted:s,changeMuted:o,hovered:n,onHover:r,onEndHover:i,drawFocus:l}=e,{_:c}=(0,ut.useLingui)(),[d,u]=xh();let m;t[0]!==o||t[1]!==l||t[2]!==u?(m=e=>{l();const t=(s=Number(e.target.value),Math.pow(s/100,4));var s;u(t),o(0===t)},t[0]=o,t[1]=l,t[2]=u,t[3]=m):m=t[3];const h=m;let p;var f;t[4]!==s||t[5]!==d?(p=s?0:(f=d,Math.round(100*Math.pow(f,1/4))),t[4]=s,t[5]=d,t[6]=p):p=t[6];const g=p,x=0===d;let _;t[7]!==o||t[8]!==l||t[9]!==x||t[10]!==u?(_=()=>{l(),x?(u(1),o(!1)):o(Th)},t[7]=o,t[8]=l,t[9]=x,t[10]=u,t[11]=_):_=t[11];const y=_;let b,j;t[12]===Symbol.for(“react.memo_cache_sentinel”)?(b=[Bs.atoms.relative],t[12]=b):b=t[12],t[13]!==c||t[14]!==n||t[15]!==h||t[16]!==g?(j=n&&!Zc.isTouchDevice&&(0,bt.jsx)(dn.default.View,{entering:dn.FadeIn.duration(100),exiting:dn.FadeOut.duration(100),style:[Bs.atoms.absolute,Bs.atoms.w_full,{height:100,bottom:”100%”}],children:(0,bt.jsx)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.mb_xs,Bs.atoms.px_2xs,Bs.atoms.py_xs,{backgroundColor:”rgba(0, 0, 0, 0.6)”},Bs.atoms.rounded_xs,Bs.atoms.align_center],children:(0,bt.jsx)(“input”,{type:”range”,min:0,max:100,value:g,”aria-label”:c({id:”/cF7Rs”}),style:Zc.isSafari?{height:92,minHeight:”100%”}:{height:”100%”},onChange:h,orient:”vertical”})})}),t[13]=c,t[14]=n,t[15]=h,t[16]=g,t[17]=j):j=t[17];const v=s||0===d;let S,w,T,k;return t[18]!==c?(S=c({id:”bIW6kV”}),t[18]=c,t[19]=S):S=t[19],t[20]!==c?(w=c({id:”2/ig/T”}),t[20]=c,t[21]=w):w=t[21],t[22]!==y||t[23]!==v||t[24]!==S||t[25]!==w?(T=(0,bt.jsx)(ph,{active:v,activeLabel:S,inactiveLabel:w,activeIcon:vh.Mute_Stroke2_Corner0_Rounded,inactiveIcon:Sh,onPress:y}),t[22]=y,t[23]=v,t[24]=S,t[25]=w,t[26]=T):T=t[26],t[27]!==i||t[28]!==r||t[29]!==j||t[30]!==T?(k=(0,bt.jsxs)(Cs.default,{onPointerEnter:r,onPointerLeave:i,style:b,children:[j,T]}),t[27]=i,t[28]=r,t[29]=j,t[30]=T,t[31]=k):k=t[31],k}function Th(e){return!e}function kh(e){const t=(0,a.c)(164),{videoRef:s,hlsRef:o,active:n,setActive:r,focused:i,setFocused:l,onScreen:c,fullscreenRef:d,hlsLoading:u,hasSubtitleTrack:m}=e,{play:h,pause:p,playing:f,muted:g,changeMuted:x,togglePlayPause:_,currentTime:y,duration:b,buffering:j,error:v,canPlay:S}=function(e){const t=(0,a.c)(30),[s,o]=(0,ct.useState)(!1),[n,r]=(0,ct.useState)(!0),[i,l]=(0,ct.useState)(0),[c,d]=xh(),[u,m]=(0,ct.useState)(0),[h,p]=(0,ct.useState)(!1),[f,g]=(0,ct.useState)(!1),[x,_]=(0,ct.useState)(!1),y=(0,ct.useRef)(!1);let b,j,v,S,w;t[0]!==e||t[1]!==c?(b=()=>{e.current&&(e.current.volume=c)},j=[e,c],t[0]=e,t[1]=c,t[2]=b,t[3]=j):(b=t[2],j=t[3]),(0,ct.useEffect)(b,j),t[4]!==e||t[5]!==d?(v=()=>{if(!e.current)return;let t;const s=function(e){return Math.round(100*e)/100};l(s(e.current.currentTime)||0),m(s(e.current.duration)||0),r(e.current.muted),o(!e.current.paused),d(e.current.volume);const n=new AbortController;return e.current.addEventListener(“timeupdate”,(()=>{e.current&&(l(s(e.current.currentTime)||0),Zc.isSafari&&(t&&clearTimeout(t),p(!1)))}),{signal:n.signal}),e.current.addEventListener(“durationchange”,(()=>{e.current&&m(s(e.current.duration)||0)}),{signal:n.signal}),e.current.addEventListener(“play”,(()=>{o(!0)}),{signal:n.signal}),e.current.addEventListener(“pause”,(()=>{o(!1)}),{signal:n.signal}),e.current.addEventListener(“volumechange”,(()=>{e.current&&r(e.current.muted)}),{signal:n.signal}),e.current.addEventListener(“error”,(()=>{g(!0)}),{signal:n.signal}),e.current.addEventListener(“canplay”,(async()=>{if(t&&clearTimeout(t),p(!1),_(!0),e.current&&y.current){try{await e.current.play()}catch(w){const t=w;if(!t.message?.includes(“The request is not allowed by the user agent”)&&!t.message?.includes(“The play() request was interrupted by a call to pause()”))throw t}y.current=!1}}),{signal:n.signal}),e.current.addEventListener(“canplaythrough”,(()=>{t&&clearTimeout(t),p(!1)}),{signal:n.signal}),e.current.addEventListener(“waiting”,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{p(!0)}),500)}),{signal:n.signal}),e.current.addEventListener(“playing”,(()=>{t&&clearTimeout(t),p(!1),g(!1)}),{signal:n.signal}),e.current.addEventListener(“stalled”,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{p(!0)}),500)}),{signal:n.signal}),e.current.addEventListener(“ended”,(()=>{o(!1),p(!1),g(!1)}),{signal:n.signal}),()=>{n.abort(),clearTimeout(t)}},S=[e,d],t[4]=e,t[5]=d,t[6]=v,t[7]=S):(v=t[6],S=t[7]),(0,ct.useEffect)(v,S),t[8]!==e?(w=()=>{if(e.current)if(e.current.ended&&(e.current.currentTime=0),e.current.readyState{e.current&&(e.current.pause(),y.current=!1)},t[10]=e,t[11]=k):k=t[11];const C=k;let P;t[12]!==C||t[13]!==T||t[14]!==e?(P=()=>{e.current&&(e.current.paused?T():C())},t[12]=C,t[13]=T,t[14]=e,t[15]=P):P=t[15];const A=P;let I;t[16]!==e?(I=t=>{if(!e.current)return;const s=”function”===typeof t?t(e.current.muted):t;e.current.muted=s},t[16]=e,t[17]=I):I=t[17];const L=I;let R;return t[18]!==h||t[19]!==x||t[20]!==L||t[21]!==i||t[22]!==u||t[23]!==f||t[24]!==n||t[25]!==C||t[26]!==T||t[27]!==s||t[28]!==A?(R={play:T,pause:C,togglePlayPause:A,duration:u,currentTime:i,playing:s,muted:n,changeMuted:L,buffering:h,error:f,canPlay:x},t[18]=h,t[19]=x,t[20]=L,t[21]=i,t[22]=u,t[23]=f,t[24]=n,t[25]=C,t[26]=T,t[27]=s,t[28]=A,t[29]=R):R=t[29],R}(s),w=(0,Bs.useTheme)(),{_:T}=(0,ut.useLingui)(),k=(0,_t.useSubtitlesEnabled)(),C=(0,_t.useSetSubtitlesEnabled)(),{state:P,onIn:A,onOut:I}=(0,Zn.useInteractionState)(),[L,R]=ih(d),{state:E,onIn:D,onOut:B}=(0,Zn.useInteractionState)(),[M,O]=(0,ct.useState)(!1),F=u||j,{state:N,onIn:H,onOut:z}=(0,Zn.useInteractionState)();let V;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(V=()=>{O(!0)},t[0]=V):V=t[0];const U=V;let G,W,q,Q,K,Z;t[1]!==M?(G=()=>{if(M)return document.addEventListener(“click”,(()=>O(!1))),()=>{document.removeEventListener(“click”,(()=>O(!1)))}},W=[M],t[1]=M,t[2]=G,t[3]=W):(G=t[2],W=t[3]),(0,ct.useEffect)(G,W),t[4]!==L?(q=()=>{if(L)return document.documentElement.style.scrollbarGutter=”unset”,Ch},Q=[L],t[4]=L,t[5]=q,t[6]=Q):(q=t[5],Q=t[6]),(0,ct.useEffect)(q,Q),t[7]!==n||t[8]!==p||t[9]!==l?(K=()=>{n||(p(),l(!1))},Z=[n,p,l],t[7]=n,t[8]=p,t[9]=l,t[10]=K,t[11]=Z):(K=t[10],Z=t[11]),(0,ct.useEffect)(K,Z);const Y=ah(),$=(0,_t.useAutoplayDisabled)()||Y;let X,J,ee,te,se,oe,ne;t[12]!==n||t[13]!==$||t[14]!==c||t[15]!==p||t[16]!==h?(X=()=>{n&&(c?$||h():p())},J=[c,p,n,h,$],t[12]=n,t[13]=$,t[14]=c,t[15]=p,t[16]=h,t[17]=X,t[18]=J):(X=t[17],J=t[18]),(0,ct.useEffect)(X,J),t[19]!==i||t[20]!==o?(ee=()=>{o.current&&(o.current.config.maxMaxBufferLength=i?30:10)},te=[o,i],t[19]=i,t[20]=o,t[21]=ee,t[22]=te):(ee=t[21],te=t[22]),(0,ct.useEffect)(ee,te),t[23]!==S||t[24]!==m||t[25]!==o||t[26]!==k?(se=()=>{o.current&&(o.current.subtitleTrack=m&&k&&S?0:-1)},oe=[m,k,o,S],t[23]=S,t[24]=m,t[25]=o,t[26]=k,t[27]=se,t[28]=oe):(se=t[27],oe=t[28]),(0,ct.useEffect)(se,oe),t[29]!==n||t[30]!==r||t[31]!==l?(ne=()=>{n||r(),l(!0)},t[29]=n,t[30]=r,t[31]=l,t[32]=ne):ne=t[32];const ae=ne;let re;t[33]!==$||t[34]!==ae||t[35]!==i||t[36]!==h||t[37]!==_?(re=()=>{i?_():(ae(),$&&h())},t[33]=$,t[34]=ae,t[35]=i,t[36]=h,t[37]=_,t[38]=re):re=t[38];const ie=re;let le;t[39]!==ae||t[40]!==_?(le=()=>{ae(),_()},t[39]=ae,t[40]=_,t[41]=le):le=t[41];const ce=le;let de;t[42]!==ae||t[43]!==C||t[44]!==k?(de=()=>{ae(),C(!k)},t[42]=ae,t[43]=C,t[44]=k,t[45]=de):de=t[45];const ue=de;let me;t[46]!==ae||t[47]!==R?(me=()=>{ae(),R()},t[46]=ae,t[47]=R,t[48]=me):me=t[48];const he=me;let pe;t[49]!==s?(pe=e=>{s.current&&(s.current.fastSeek?s.current.fastSeek(e):s.current.currentTime=e)},t[49]=s,t[50]=pe):pe=t[50];const fe=pe,ge=(0,ct.useRef)(!1);let xe;t[51]!==ae||t[52]!==p||t[53]!==f?(xe=()=>{ae(),ge.current=f,p()},t[51]=ae,t[52]=p,t[53]=f,t[54]=xe):xe=t[54];const _e=xe;let ye;t[55]!==h?(ye=()=>{ge.current&&h()},t[55]=h,t[56]=ye):ye=t[56];const be=ye;let je;t[57]!==fe||t[58]!==s?(je=()=>{if(!s.current)return;const e=s.current.currentTime,t=s.current.duration||0;fe(Dr(e-5,0,t))},t[57]=fe,t[58]=s,t[59]=je):je=t[59];const ve=je;let Se;t[60]!==fe||t[61]!==s?(Se=()=>{if(!s.current)return;const e=s.current.currentTime,t=s.current.duration||0;fe(Dr(e+5,0,t))},t[60]=fe,t[61]=s,t[62]=Se):Se=t[62];const we=Se,[Te,ke]=(0,ct.useState)(!0),Ce=(0,ct.useRef)(void 0);let Pe;t[63]!==I?(Pe=()=>{ke(!0),Ce.current&&clearTimeout(Ce.current),Ce.current=setTimeout((()=>{ke(!1),I()}),2e3)},t[63]=I,t[64]=Pe):Pe=t[64];const Ae=Pe;let Ie;t[65]===Symbol.for(“react.memo_cache_sentinel”)?(Ie=()=>{ke(!1),Ce.current&&clearTimeout(Ce.current)},t[65]=Ie):Ie=t[65];const Le=Ie;let Re;t[66]!==P?(Re=e=>{“mouse”===e.pointerType||P||e.preventDefault(),clearTimeout(De.current)},t[66]=P,t[67]=Re):Re=t[67];const Ee=Re,De=(0,ct.useRef)(void 0);let Be;t[68]!==A?(Be=()=>{A(),clearTimeout(De.current)},t[68]=A,t[69]=Be):Be=t[69];const Me=Be;let Oe;t[70]!==I?(Oe=e=>{“mouse”!==e.pointerType?setTimeout(I,3e3):I()},t[70]=I,t[71]=Oe):Oe=t[71];const Fe=Oe,Ne=(i||$)&&!f||(M?E:P);let He,ze,Ve;t[72]===Symbol.for(“react.memo_cache_sentinel”)?(He={position:”absolute”,inset:0,overflow:”hidden”,display:”flex”,flexDirection:”column”},ze=e=>{e.stopPropagation(),O(!1)},t[72]=He,t[73]=ze):(He=t[72],ze=t[73]),t[74]!==T||t[75]!==i||t[76]!==f?(Ve=T(i?f?{id:”cG3912″}:{id:”7TkjAs”}:{id:”Zg5wXO”}),t[74]=T,t[75]=i,t[76]=f,t[77]=Ve):Ve=t[77];const Ue=Te||!f?”pointer”:”none”;let Ge,We,qe,Qe,Ke;t[78]!==Ue?(Ge=(0,Bs.web)({cursor:Ue}),t[78]=Ue,t[79]=Ge):Ge=t[79],t[80]!==Ge?(We=[Bs.atoms.flex_1,Ge],t[80]=Ge,t[81]=We):We=t[81],t[82]!==Ae||t[83]!==ie||t[84]!==Ve||t[85]!==We?(qe=(0,bt.jsx)(Yo.default,{accessibilityRole:”button”,onPointerEnter:Ae,onPointerMove:Ae,onPointerLeave:Le,accessibilityLabel:Ve,accessibilityHint:””,style:We,onPress:ie}),t[82]=Ae,t[83]=ie,t[84]=Ve,t[85]=We,t[86]=qe):qe=t[86],t[87]!==y||t[88]!==b||t[89]!==i||t[90]!==Ne?(Qe=!Ne&&!i&&b>0&&(0,bt.jsx)(hh,{time:Math.floor(b-y)}),t[87]=y,t[88]=b,t[89]=i,t[90]=Ne,t[91]=Qe):Qe=t[91],t[92]===Symbol.for(“react.memo_cache_sentinel”)?(Ke=(0,Bs.web)({background:”linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7))”}),t[92]=Ke):Ke=t[92];const Ze=Ne?1:0;let Ye,$e,Xe,Je,et,tt,st,ot,nt,at,rt,it,lt,dt,mt,ht,pt;return t[93]!==Ze?(Ye={opacity:Ze},t[93]=Ze,t[94]=Ye):Ye=t[94],t[95]===Symbol.for(“react.memo_cache_sentinel”)?($e={transition:”opacity 0.2s ease-in-out”},t[95]=$e):$e=t[95],t[96]!==Ye?(Xe=[Bs.atoms.flex_shrink_0,Bs.atoms.w_full,Bs.atoms.px_xs,Ke,Ye,$e],t[96]=Ye,t[97]=Xe):Xe=t[97],t[98]!==y||t[99]!==ae||t[100]!==b||t[101]!==fe||t[102]!==be||t[103]!==_e||t[104]!==ve||t[105]!==we||t[106]!==_||t[107]!==N?(Je=(!N||Zc.isTouchDevice)&&(0,bt.jsx)(bh,{duration:b,currentTime:y,onSeek:fe,onSeekStart:_e,onSeekEnd:be,seekLeft:ve,seekRight:we,togglePlayPause:_,drawFocus:ae}),t[98]=y,t[99]=ae,t[100]=b,t[101]=fe,t[102]=be,t[103]=_e,t[104]=ve,t[105]=we,t[106]=_,t[107]=N,t[108]=Je):Je=t[108],t[109]===Symbol.for(“react.memo_cache_sentinel”)?(et=[Bs.atoms.flex_1,Bs.atoms.px_xs,Bs.atoms.pb_sm,Bs.atoms.gap_sm,Bs.atoms.flex_row,Bs.atoms.align_center],t[109]=et):et=t[109],t[110]!==T?(tt=T({id:”IgrLD/”}),t[110]=T,t[111]=tt):tt=t[111],t[112]!==T?(st=T({id:”T91vKp”}),t[112]=T,t[113]=st):st=t[113],t[114]!==ce||t[115]!==f||t[116]!==tt||t[117]!==st?(ot=(0,bt.jsx)(ph,{active:f,activeLabel:tt,inactiveLabel:st,activeIcon:mh,inactiveIcon:am,onPress:ce}),t[114]=ce,t[115]=f,t[116]=tt,t[117]=st,t[118]=ot):ot=t[118],t[119]===Symbol.for(“react.memo_cache_sentinel”)?(nt=(0,bt.jsx)(Cs.default,{style:Bs.atoms.flex_1}),t[119]=nt):nt=t[119],t[120]!==y||t[121]!==b||t[122]!==w?(at=Math.round(b)>0&&(0,bt.jsxs)(Xs.Text,{style:[Bs.atoms.px_xs,{color:w.palette.white,fontVariant:[“tabular-nums”]}],children:[yh(y),” / “,yh(b)]}),t[120]=y,t[121]=b,t[122]=w,t[123]=at):at=t[123],t[124]!==T||t[125]!==m||t[126]!==ue||t[127]!==k?(rt=m&&(0,bt.jsx)(ph,{active:k,activeLabel:T({id:”LdKJAe”}),inactiveLabel:T({id:”spRatm”}),activeIcon:uh,inactiveIcon:dh,onPress:ue}),t[124]=T,t[125]=m,t[126]=ue,t[127]=k,t[128]=rt):rt=t[128],t[129]!==x||t[130]!==ae||t[131]!==g||t[132]!==z||t[133]!==H||t[134]!==N?(it=(0,bt.jsx)(wh,{muted:g,changeMuted:x,hovered:N,onHover:H,onEndHover:z,drawFocus:ae}),t[129]=x,t[130]=ae,t[131]=g,t[132]=z,t[133]=H,t[134]=N,t[135]=it):it=t[135],t[136]!==T||t[137]!==L||t[138]!==he?(lt=!os.isIPhoneWeb&&(0,bt.jsx)(ph,{active:L,activeLabel:T({id:”sQpDn6″}),inactiveLabel:T({id:”JWj1N3″}),activeIcon:Am,inactiveIcon:Pm,onPress:he}),t[136]=T,t[137]=L,t[138]=he,t[139]=lt):lt=t[139],t[140]!==ot||t[141]!==at||t[142]!==rt||t[143]!==it||t[144]!==lt?(dt=(0,bt.jsxs)(Cs.default,{style:et,children:[ot,nt,at,rt,it,lt]}),t[140]=ot,t[141]=at,t[142]=rt,t[143]=it,t[144]=lt,t[145]=dt):dt=t[145],t[146]!==Xe||t[147]!==Je||t[148]!==dt?(mt=(0,bt.jsxs)(Cs.default,{style:Xe,children:[Je,dt]}),t[146]=Xe,t[147]=Je,t[148]=dt,t[149]=mt):mt=t[149],t[150]!==v||t[151]!==F||t[152]!==w?(ht=(F||v)&&(0,bt.jsxs)(Cs.default,{pointerEvents:”none”,style:[Bs.atoms.absolute,Bs.atoms.inset_0,Bs.atoms.justify_center,Bs.atoms.align_center],children:[F&&(0,bt.jsx)($s.Loader,{fill:w.palette.white,size:”lg”}),v&&(0,bt.jsx)(Xs.Text,{style:{color:w.palette.white},children:(0,bt.jsx)(ut.Trans,{id:”Vw8l6h”})})]}),t[150]=v,t[151]=F,t[152]=w,t[153]=ht):ht=t[153],t[154]!==B||t[155]!==Fe||t[156]!==D||t[157]!==Me||t[158]!==Ee||t[159]!==qe||t[160]!==Qe||t[161]!==mt||t[162]!==ht?(pt=(0,bt.jsxs)(“div”,{style:He,onClick:ze,onPointerEnter:Me,onPointerMove:Me,onPointerLeave:Fe,onPointerDown:Ee,onFocus:D,onBlur:B,onKeyDown:U,children:[qe,Qe,mt,ht]}),t[154]=B,t[155]=Fe,t[156]=D,t[157]=Me,t[158]=Ee,t[159]=qe,t[160]=Qe,t[161]=mt,t[162]=ht,t[163]=pt):pt=t[163],pt}function Ch(){document.documentElement.style.removeProperty(“scrollbar-gutter”)}function Ph({embed:e,active:t,setActive:s,onScreen:o,lastKnownTime:n}){const a=(0,ct.useRef)(null),r=(0,ct.useRef)(null),[i,l]=(0,ct.useState)(!1),[c,d]=(0,ct.useState)(!1),[u,m]=(0,ct.useState)(!1),h=(0,ct.useId)(),{_:p}=(0,ut.useLingui)(),[f,g]=(0,ct.useState)(null);if(f)throw f;const x=function({playlist:e,setHasSubtitleTrack:t,setError:s,videoRef:o,setHlsLoading:n}){const[a,r]=(0,ct.useState)((()=>Lh.value));(0,ct.useEffect)((()=>{a||(n(!0),Lh.then((e=>{r((()=>e)),n(!1)})))}),[a,n]);const i=(0,ct.useRef)(void 0),[l,c]=(0,ct.useState)([]),d=(0,vn.useNonReactiveCallback)(((e,{frag:t})=>{if(!a)return;if(!i.current)return;const s=i.current;if(s.nextAutoLevel>0){const e=[];for(const o of l)Math.abs(t.start-o.start)<.1||(s.trigger(a.Events.BUFFER_FLUSHING,{startOffset:o.start,endOffset:o.end,type:"video"}),e.push(o));c((t=>t.filter((t=>!e.includes(t)))))}})),u=(0,vn.useNonReactiveCallback)((()=>{if(!a)return;if(!i.current)return;const e=i.current;if(e.nextAutoLevel>0&&1===l.length&&0===l[0].start){const t=l[0];e.trigger(a.Events.BUFFER_FLUSHING,{startOffset:t.start,endOffset:t.end,type:”video”}),c([])}}));return(0,ct.useEffect)((()=>{if(!o.current)return;if(!a)return;if(!a.isSupported())throw new Ah;const n=ch,r=new a({maxMaxBufferLength:10,startLevel:void 0===n?-1:a.DefaultConfig.startLevel});i.current=r,void 0!==n&&(r.bandwidthEstimate=n),r.attachMedia(o.current),r.loadSource(e);const l=new AbortController,{signal:m}=l,h=o.current;return h.addEventListener(“ended”,(()=>{u(),h.currentTime=0,h.play()}),{signal:m}),r.on(a.Events.FRAG_LOADED,(()=>{var e;e=r.bandwidthEstimate,isNaN(e)||(ch=e)})),r.on(a.Events.SUBTITLE_TRACKS_UPDATED,((e,s)=>{s.subtitleTracks.length>0&&t(!0)})),r.on(a.Events.FRAG_BUFFERED,((e,{frag:t})=>{0===t.level&&c((e=>[…e,t]))})),r.on(a.Events.ERROR,((e,t)=>{t.fatal&&(“manifestLoadError”===t.details&&404===t.response?.code?s(new Ih):s(t.error))})),r.on(a.Events.FRAG_CHANGED,d),()=>{i.current=void 0,r.detachMedia(),r.destroy(),l.abort()}}),[e,s,t,o,d,u,a]),i}({playlist:e.playlist,setHasSubtitleTrack:d,setError:g,videoRef:r,setHlsLoading:m});return(0,ct.useEffect)((()=>{n.current&&r.current&&(r.current.currentTime=n.current)}),[n]),(0,bt.jsx)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.rounded_md,Bs.atoms.overflow_hidden],accessibilityLabel:p({id:”JuSZ7J”}),accessibilityHint:””,children:(0,bt.jsxs)(“div”,{ref:a,style:{height:”100%”,width:”100%”},children:[(0,bt.jsxs)(“figure”,{style:{margin:0,position:”absolute”,inset:0},children:[(0,bt.jsx)(“video”,{ref:r,poster:e.thumbnail,style:{width:”100%”,height:”100%”,objectFit:”contain”},playsInline:!0,preload:”none”,muted:!i,”aria-labelledby”:e.alt?h:void 0,onTimeUpdate:e=>{n.current=e.currentTarget.currentTime}}),e.alt&&(0,bt.jsx)(“figcaption”,{id:h,style:{position:”absolute”,width:1,height:1,padding:0,margin:-1,overflow:”hidden”,clip:”rect(0, 0, 0, 0)”,whiteSpace:”nowrap”,borderWidth:0},children:e.alt})]}),(0,bt.jsx)(kh,{videoRef:r,hlsRef:x,active:t,setActive:s,focused:i,setFocused:l,hlsLoading:u,onScreen:o,fullscreenRef:a,hasSubtitleTrack:c})]})})}class Ah extends Error{constructor(){super(“HLS is not supported”)}}class Ih extends Error{constructor(){super(“Video not found”)}}const Lh=o.e(930).then(o.t.bind(o,48930,23)).then((e=>e.default));Lh.value=void 0,Lh.then((e=>{Lh.value=e}));const Rh=ct.createContext(null);function Eh(e){const t=(0,a.c)(14),{children:s}=e;if(!os.isWeb)throw new Error(“ActiveVideoWebContext may only be used on web.”);const[o,n]=(0,ct.useState)(null),r=(0,ct.useRef)(1/0),{height:i}=(0,Er.default)(),l=(0,ct.useRef)(!1),c=(0,ct.useRef)(o);let d,u,m;t[0]!==o?(d=()=>{c.current=o},u=[o],t[0]=o,t[1]=d,t[2]=u):(d=t[1],u=t[2]),(0,ct.useEffect)(d,u),t[3]!==i?(m=e=>{n(e),l.current=!0,r.current=i/2},t[3]=i,t[4]=m):m=t[4];const h=m;let p;t[5]!==i?(p=(e,t)=>{var s;if(!os.isNative)if(e===c.current)r.current=t;else if(o(t)0&&s{o(r)},e[0]=r,e[1]=o,e[2]=l):l=e[2],e[3]!==r||e[4]!==n?(c=e=>n(r,e),e[3]=r,e[4]=n,e[5]=c):c=e[5],e[6]!==s||e[7]!==i||e[8]!==l||e[9]!==c?(d={active:i,setActive:l,currentActiveView:s,sendPosition:c},e[6]=s,e[7]=i,e[8]=l,e[9]=c,e[10]=d):d=e[10],d}(),[d,u]=(0,ct.useState)(!1),[m]=ih(),h=(0,ct.useRef)(void 0);let p,f;t[0]!==m||t[1]!==l?(p=()=>{if(!n.current)return;if(m&&!Zc.isFirefox)return;const e=new IntersectionObserver((e=>{const t=e[0];t&&(u(t.isIntersecting),l(t.boundingClientRect.y+t.boundingClientRect.height/2))}),{threshold:.5});return e.observe(n.current),()=>e.disconnect()},f=[l,m],t[0]=m,t[1]=l,t[2]=p,t[3]=f):(p=t[2],f=t[3]),(0,ct.useEffect)(p,f);const[g,x]=(0,ct.useState)(0);let _;t[4]!==g?(_=e=>(0,bt.jsx)(Uh,{error:e,retry:()=>x(g+1)}),t[4]=g,t[5]=_):_=t[5];const y=_;let b;const j=s.aspectRatio;let v;j&&(b=j.width/j.height,Number.isNaN(b)&&(b=void 0)),void 0!==b&&(v=Math.max(b,.5));const S=`url(${s.thumbnail})`;let w,T,k,C;t[6]!==o.palette.black||t[7]!==S?(w={display:”flex”,flex:1,cursor:”default”,backgroundColor:o.palette.black,backgroundImage:S,backgroundSize:”contain”,backgroundPosition:”center”,backgroundRepeat:”no-repeat”},t[6]=o.palette.black,t[7]=S,t[8]=w):w=t[8],t[9]!==r||t[10]!==s||t[11]!==d||t[12]!==i?(T=(0,bt.jsx)(Vh,{children:(0,bt.jsx)(Ph,{embed:s,active:r,setActive:i,onScreen:d,lastKnownTime:h})}),t[9]=r,t[10]=s,t[11]=d,t[12]=i,t[13]=T):T=t[13],t[14]!==g||t[15]!==y||t[16]!==T?(k=(0,bt.jsx)(th,{renderError:y,children:T},g),t[14]=g,t[15]=y,t[16]=T,t[17]=k):k=t[17],t[18]!==w||t[19]!==k?(C=(0,bt.jsx)(“div”,{ref:n,style:w,onClick:Fh,children:k}),t[18]=w,t[19]=k,t[20]=C):C=t[20];const P=C;let A;t[21]===Symbol.for(“react.memo_cache_sentinel”)?(A=[Bs.atoms.pt_xs],t[21]=A):A=t[21];const I=null!==c,L=v||1;let R,E,D;return t[22]===Symbol.for(“react.memo_cache_sentinel”)?(R=(0,bt.jsx)(Sc.MediaInsetBorder,{}),t[22]=R):R=t[22],t[23]!==P||t[24]!==L?(E=(0,bt.jsxs)(Im,{fullBleed:!0,aspectRatio:L,minMobileAspectRatio:1.5555555555555556,children:[P,R]}),t[23]=P,t[24]=L,t[25]=E):E=t[25],t[26]!==l||t[27]!==I||t[28]!==E?(D=(0,bt.jsx)(Cs.default,{style:A,children:(0,bt.jsx)(Hh,{sendPosition:l,isAnyViewActive:I,children:E})}),t[26]=l,t[27]=I,t[28]=E,t[29]=D):D=t[29],D}function Fh(e){return e.stopPropagation()}Rh.displayName=”ActiveVideoWebContext”;const Nh=(0,ct.createContext)(!1);function Hh(e){const t=(0,a.c)(17),{children:s,sendPosition:o,isAnyViewActive:n}=e,r=(0,ct.useRef)(null),[i,l]=(0,ct.useState)(!1),[c]=ih(),d=ah();let u,m,h,p,f,g,x,_;return t[0]!==c||t[1]!==o?(u=()=>{if(!r.current)return;if(c&&!Zc.isFirefox)return;const e=new IntersectionObserver((e=>{const t=e[0];if(!t)return;const s=t.boundingClientRect.y+t.boundingClientRect.height/2;o(s),l(t.isIntersecting)}),{threshold:Array.from({length:101},zh)});return e.observe(r.current),()=>e.disconnect()},m=[o,c],t[0]=c,t[1]=o,t[2]=u,t[3]=m):(u=t[2],m=t[3]),(0,ct.useEffect)(u,m),t[4]!==n||t[5]!==o?(h=()=>{if(r.current&&!n){const e=r.current.getBoundingClientRect(),t=e.y+e.height/2;o(t)}},p=[n,o],t[4]=n,t[5]=o,t[6]=h,t[7]=p):(h=t[6],p=t[7]),(0,ct.useEffect)(h,p),t[8]===Symbol.for(“react.memo_cache_sentinel”)?(f=[Bs.atoms.flex_1,Bs.atoms.flex_row],t[8]=f):f=t[8],t[9]!==s||t[10]!==i?(g=(0,bt.jsx)(Nh.Provider,{value:i,children:s}),t[9]=s,t[10]=i,t[11]=g):g=t[11],t[12]!==d?(x=(0,bt.jsx)(“div”,{ref:r,style:Object.assign({},d?{top:0,height:”100%”}:{top:”calc(50% – 50vh)”,height:”100vh”},{position:”absolute”,left:”50%”,width:1,pointerEvents:”none”})}),t[12]=d,t[13]=x):x=t[13],t[14]!==g||t[15]!==x?(_=(0,bt.jsxs)(Cs.default,{style:f,children:[g,x]}),t[14]=g,t[15]=x,t[16]=_):_=t[16],_}function zh(e,t){return t/100}Nh.displayName=”VideoNearScreenContext”;const Vh=e=>{const{children:t}=e;return(0,ct.useContext)(Nh)?t:null};function Uh(e){const t=(0,a.c)(14),{error:s,retry:o}=e,{_:n}=(0,ut.useLingui)();let r,i,l,c,d=!0;if(s instanceof Ih){let e;t[0]!==n?(e=n({id:”n/s0oy”}),t[0]=n,t[1]=e):e=t[1],r=e}else if(s instanceof Ah){let e;d=!1,t[2]!==n?(e=n({id:”Y8f6Xh”}),t[2]=n,t[3]=e):e=t[3],r=e}else{let e;t[4]!==n?(e=n({id:”xNDFpR”}),t[4]=n,t[5]=e):e=t[5],r=e}return t[6]!==r?(i=(0,bt.jsx)(Bh,{children:r}),t[6]=r,t[7]=i):i=t[7],t[8]!==o||t[9]!==d?(l=d&&(0,bt.jsx)(Mh,{onPress:o}),t[8]=o,t[9]=d,t[10]=l):l=t[10],t[11]!==i||t[12]!==l?(c=(0,bt.jsxs)(Dh,{children:[i,l]}),t[11]=i,t[12]=l,t[13]=c):c=t[13],c}const Gh=[“embed”],Wh=[“embed”],qh=[“embed”];function Qh(e){const t=(0,a.c)(21);let s,o,n;if(t[0]!==e){var r=e;({embed:s}=r),o=(0,Vn.default)(r,Gh),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];t[3]!==s?(n=(0,$u.parseEmbed)(s),t[3]=s,t[4]=n):n=t[4];const i=n;switch(i.type){case”images”:case”link”:case”video”:{let e;return t[5]!==i||t[6]!==o?(e=(0,bt.jsx)(Kh,Object.assign({embed:i},o)),t[5]=i,t[6]=o,t[7]=e):e=t[7],e}case”feed”:case”list”:case”starter_pack”:case”labeler”:case”post”:case”post_not_found”:case”post_blocked”:case”post_detached”:{let e;return t[8]!==i||t[9]!==o?(e=(0,bt.jsx)(Zh,Object.assign({embed:i},o)),t[8]=i,t[9]=o,t[10]=e):e=t[10],e}case”post_with_media”:{let e,s,n;return t[11]!==i.media||t[12]!==o?(e=(0,bt.jsx)(Kh,Object.assign({embed:i.media},o)),t[11]=i.media,t[12]=o,t[13]=e):e=t[13],t[14]!==i.view||t[15]!==o?(s=(0,bt.jsx)(Zh,Object.assign({embed:i.view},o)),t[14]=i.view,t[15]=o,t[16]=s):s=t[16],t[17]!==o.style||t[18]!==e||t[19]!==s?(n=(0,bt.jsxs)(Cs.default,{style:o.style,children:[e,s]}),t[17]=o.style,t[18]=e,t[19]=s,t[20]=n):n=t[20],n}default:return null}}function Kh(e){const t=(0,a.c)(10);let s;if(t[0]!==e){s=Symbol.for(“react.early_return_sentinel”);e:{const{embed:o}=e,n=(0,Vn.default)(e,Wh);switch(o.type){case”images”:{let e;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(e=[Bs.atoms.mt_sm],t[2]=e):e=t[2],s=(0,bt.jsx)(Fu,{modui:n.moderation?.ui(“contentMedia”),activeStyle:e,children:(0,bt.jsx)(zm,Object.assign({embed:o},n))});break e}case”link”:{let e;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(e=[Bs.atoms.mt_sm],t[3]=e):e=t[3],s=(0,bt.jsx)(Fu,{modui:n.moderation?.ui(“contentMedia”),activeStyle:e,children:(0,bt.jsx)(wm,{link:o.view.external,onOpen:n.onOpen,style:[Bs.atoms.mt_sm,n.style]})});break e}case”video”:{const e=n.moderation?.ui(“contentMedia”);let a,r,i;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(a=[Bs.atoms.mt_sm],t[4]=a):a=t[4],t[5]!==o.view?(r=(0,bt.jsx)(Oh,{embed:o.view}),t[5]=o.view,t[6]=r):r=t[6],t[7]!==e||t[8]!==r?(i=(0,bt.jsx)(Fu,{modui:e,activeStyle:a,children:r}),t[7]=e,t[8]=r,t[9]=i):i=t[9],s=i;break e}default:s=null;break e}}t[0]=e,t[1]=s}else s=t[1];if(s!==Symbol.for(“react.early_return_sentinel”))return s}function Zh(e){const t=(0,a.c)(18);let s,o;if(t[0]!==e){var n=e;({embed:s}=n),o=(0,Vn.default)(n,qh),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];switch(s.type){case”feed”:{let e;return t[3]!==s||t[4]!==o?(e=(0,bt.jsx)(Cs.default,{style:Bs.atoms.mt_sm,children:(0,bt.jsx)(km,Object.assign({embed:s},o))}),t[3]=s,t[4]=o,t[5]=e):e=t[5],e}case”list”:{let e;return t[6]!==s?(e=(0,bt.jsx)(Cs.default,{style:Bs.atoms.mt_sm,children:(0,bt.jsx)($m,{embed:s})}),t[6]=s,t[7]=e):e=t[7],e}case”starter_pack”:{let e;return t[8]!==s.view?(e=(0,bt.jsx)(Cs.default,{style:Bs.atoms.mt_sm,children:(0,bt.jsx)(Yu.Embed,{starterPack:s.view})}),t[8]=s.view,t[9]=e):e=t[9],e}case”labeler”:default:return null;case”post”:{if(o.isWithinQuote&&!o.allowNestedQuotes)return null;const e=o.viewContext===Rm.Feed?Em.FeedEmbedRecordWithMedia:void 0;let n;return t[10]!==s||t[11]!==o||t[12]!==e?(n=(0,bt.jsx)($h,Object.assign({},o,{embed:s,viewContext:e,isWithinQuote:o.isWithinQuote,allowNestedQuotes:o.allowNestedQuotes})),t[10]=s,t[11]=o,t[12]=e,t[13]=n):n=t[13],n}case”post_not_found”:{let e;return t[14]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(Xm,{children:(0,bt.jsx)(ut.Trans,{id:”vGjmyl”})}),t[14]=e):e=t[14],e}case”post_blocked”:{let e;return t[15]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(Xm,{children:(0,bt.jsx)(ut.Trans,{id:”32TndD”})}),t[15]=e):e=t[15],e}case”post_detached”:{let e;return t[16]!==s?(e=(0,bt.jsx)(Yh,{embed:s}),t[16]=s,t[17]=e):e=t[17],e}}}function Yh(e){const t=(0,a.c)(5),{embed:s}=e,{currentAccount:o}=(0,Lt.useSession)();let n;t[0]!==o||t[1]!==s?(n=!!o?.did&&s.view.uri.includes(o.did),t[0]=o,t[1]=s,t[2]=n):n=t[2];const r=n;let i;return t[3]!==r?(i=(0,bt.jsx)(Xm,{children:r?(0,bt.jsx)(ut.Trans,{id:”e8qFwn”}):(0,bt.jsx)(ut.Trans,{id:”W71sdV”})}),t[3]=r,t[4]=i):i=t[4],i}function $h({embed:e,onOpen:t,style:s,isWithinQuote:o,allowNestedQuotes:n}){const a=(0,Xt.useModerationOpts)(),r=(0,ct.useMemo)((()=>Object.assign({},e.view,{$type:”app.bsky.feed.defs#postView”,record:e.view.value,embed:e.view.embeds?.[0]})),[e]),i=(0,ct.useMemo)((()=>a?(0,Sn.moderatePost)(r,a):void 0),[r,a]),l=(0,Bs.useTheme)(),c=(0,wn.useQueryClient)(),d=new Sn.AtUri(r.uri),u=(0,va.makeProfileLink)(r.author,”post”,d.rkey),m=`Post by ${r.author.handle}`,h=(0,ct.useMemo)((()=>{if(!Rc.dangerousIsType(r.record,Sn.AppBskyFeedPost.isRecord))return;const{text:e,facets:t}=r.record;return e.trim()?new Sn.RichText({text:e,facets:t}):void 0}),[r.record]),p=(0,ct.useCallback)((()=>{(0,At.unstableCacheProfileView)(c,r.author),t?.()}),[c,r.author,t]),{state:f,onIn:g,onOut:x}=(0,Zn.useInteractionState)(),{state:_,onIn:y,onOut:b}=(0,Zn.useInteractionState)();return(0,bt.jsx)(Cs.default,{style:[Bs.atoms.mt_sm],onPointerEnter:g,onPointerLeave:x,children:(0,bt.jsx)(Fu,{modui:i?.ui(“contentList”),style:[Bs.atoms.rounded_md,Bs.atoms.border,l.atoms.border_contrast_low,s],activeStyle:[Bs.atoms.p_md,Bs.atoms.pt_sm],childContainerStyle:[Bs.atoms.pt_sm],children:({active:e})=>(0,bt.jsxs)(bt.Fragment,{children:[!e&&(0,bt.jsx)(hu,{native:!0,hover:f||_,style:[Bs.atoms.rounded_md]}),(0,bt.jsxs)(ta,{style:[!e&&Bs.atoms.p_md],hoverStyle:l.atoms.border_contrast_high,href:u,title:m,onBeforePress:p,onPressIn:y,onPressOut:b,children:[(0,bt.jsx)(Cs.default,{pointerEvents:”none”,children:(0,bt.jsx)(Bu,{author:r.author,moderation:i,showAvatar:!0,postHref:u,timestamp:r.indexedAt})}),i?(0,bt.jsx)(Zu,{modui:i.ui(“contentView”),style:[Bs.atoms.py_xs]}):null,h?(0,bt.jsx)(Mi.RichText,{value:h,style:Bs.atoms.text_md,numberOfLines:20,disableLinks:!0}):null,r.embed&&(0,bt.jsx)(Qh,{embed:r.embed,moderation:i,isWithinQuote:o??!0,allowNestedQuotes:!o&&n})]})]})})})}function Xh(e){const t=(0,a.c)(16);let s,{did:o,attr:n,failed:r,prefix:i,style:l}=e;n=n||”handle”,r=r||”user”,t[0]!==o?(s={did:o,staleTime:Pt.STALE.INFINITY},t[0]=o,t[1]=s):s=t[1];const{data:c,isError:d}=(0,At.useProfileQuery)(s);if(d){let e;return t[2]!==r||t[3]!==l?(e=(0,bt.jsx)(Xs.Text,{style:l,numberOfLines:1,children:r}),t[2]=r,t[3]=l,t[4]=e):e=t[4],e}if(c){const e=`${i||””}${(0,Sa.sanitizeDisplayName)(“string”===typeof c[n]&&c[n]?c[n]:(0,wa.sanitizeHandle)(c.handle))}`,s=l;let o,a,r;return t[5]!==c?(o=(0,va.makeProfileLink)(c),t[5]=c,t[6]=o):o=t[6],t[7]!==l||t[8]!==e?(a=(0,bt.jsx)(Xs.Text,{emoji:!0,style:l,children:e}),t[7]=l,t[8]=e,t[9]=a):a=t[9],t[10]!==l||t[11]!==o||t[12]!==a||t[13]!==e?(r=(0,bt.jsx)(Ys.InlineLinkText,{label:e,style:s,numberOfLines:1,to:o,children:a}),t[10]=l,t[11]=o,t[12]=a,t[13]=e,t[14]=r):r=t[14],r}let u;return t[15]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,bt.jsx)(Xr,{width:80,height:8,style:[Bs.atoms.relative,{top:1,left:2}]}),t[15]=u):u=t[15],u}const Jh=(0,zr.createSinglePathSVG)({path:”M15.793 10.293a1 1 0 0 1 1.338-.068l.076.068 3.293 3.293a2 2 0 0 1 .138 2.677l-.138.151-3.293 3.293a1 1 0 1 1-1.414-1.414L18.086 16H8a5 5 0 0 1-5-5V5a1 1 0 0 1 2 0v6a3 3 0 0 0 3 3h10.086l-2.293-2.293-.068-.076a1 1 0 0 1 .068-1.338Z”});function ep(e){const t=(0,a.c)(25),{parentAuthor:s,isParentBlocked:o,isParentNotFound:n}=e,r=(0,Bs.useTheme)(),{currentAccount:i}=(0,Lt.useSession)();let l;t[0]!==r.atoms.text_contrast_medium?(l=[Bs.atoms.text_sm,r.atoms.text_contrast_medium,Bs.atoms.leading_snug],t[0]=r.atoms.text_contrast_medium,t[1]=l):l=t[1];const c=l;let d,u,m,h,p,f,g;if(o){let e;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ut.Trans,{id:”+tnbgX”}),t[2]=e):e=t[2],d=e}else if(n){let e;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ut.Trans,{id:”0BWo2g”}),t[3]=e):e=t[3],d=e}else if(s){const e=”string”===typeof s?s:s.did;if(i?.did===e){let e;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,bt.jsx)(ut.Trans,{id:”wvP61I”}),t[4]=e):e=t[4],d=e}else{let s,o,n;t[5]!==e?(s=(0,bt.jsx)(Iu.ProfileHoverCard,{did:e}),t[5]=e,t[6]=s):s=t[6],t[7]!==e||t[8]!==c?(o=(0,bt.jsx)(Xh,{did:e,attr:”displayName”,style:c}),t[7]=e,t[8]=c,t[9]=o):o=t[9],t[10]!==s||t[11]!==o?(n=(0,bt.jsx)(ut.Trans,{id:”ifYc6D”,components:{0:s,1:o}}),t[10]=s,t[11]=o,t[12]=n):n=t[12],d=n}}return d?(t[13]===Symbol.for(“react.memo_cache_sentinel”)?(u=[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.pb_xs,Bs.atoms.gap_xs],t[13]=u):u=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(m={top:-1},t[14]=m):m=t[14],t[15]!==r.atoms.text_contrast_medium?(h=(0,bt.jsx)(Jh,{size:”xs”,style:[r.atoms.text_contrast_medium,m]}),t[15]=r.atoms.text_contrast_medium,t[16]=h):h=t[16],t[17]!==c?(p=[Bs.atoms.flex_1,c],t[17]=c,t[18]=p):p=t[18],t[19]!==d||t[20]!==p?(f=(0,bt.jsx)(Xs.Text,{style:p,numberOfLines:1,children:d}),t[19]=d,t[20]=p,t[21]=f):f=t[21],t[22]!==h||t[23]!==f?(g=(0,bt.jsxs)(Cs.default,{style:u,children:[h,f]}),t[22]=h,t[23]=f,t[24]=g):g=t[24],g):null}function tp(e){const t=(0,a.c)(16),{onPress:s,style:o}=e,n=(0,Bs.useTheme)(),{_:r}=(0,ut.useLingui)();let i;t[0]!==s?(i=()=>{Rr.default.configureNext(Rr.default.Presets.easeInEaseOut),s()},t[0]=s,t[1]=i):i=t[1];const l=i;let c;t[2]!==o?(c=(0,Bs.flatten)([Bs.atoms.leading_snug,Bs.atoms.text_sm,o]),t[2]=o,t[3]=c):c=t[3];const d=c;let u;t[4]!==r?(u=r({id:”r1B9lp”}),t[4]=r,t[5]=u):u=t[5];const m=d.fontSize/3;let h,p,f;return t[6]!==m?(h=[Bs.atoms.self_start,{paddingBottom:m}],t[6]=m,t[7]=h):h=t[7],t[8]!==n.palette.primary_500||t[9]!==d?(p=e=>{const{pressed:t,hovered:s}=e;return(0,bt.jsx)(Xs.Text,{style:[d,{color:n.palette.primary_500,opacity:t?.6:1,textDecorationLine:s?”underline”:void 0}],children:(0,bt.jsx)(ut.Trans,{id:”YHc0+l”})})},t[8]=n.palette.primary_500,t[9]=d,t[10]=p):p=t[10],t[11]!==l||t[12]!==u||t[13]!==h||t[14]!==p?(f=(0,bt.jsx)(Ks.Button,{label:u,onPress:l,style:h,hitSlop:kt.HITSLOP_10,children:p}),t[11]=l,t[12]=u,t[13]=h,t[14]=p,t[15]=f):f=t[15],f}function sp(){const e=(0,a.c)(2),{i18n:t}=(0,ut.useLingui)();let s;return e[0]!==t?(s=e=>{const s=e>=1e4;return t.number(e,{notation:”compact”,maximumFractionDigits:s?0:1,roundingMode:”trunc”})},e[0]=t,e[1]=s):s=e[1],s}const op={duration:400,easing:”cubic-bezier(0.4, 0, 0.2, 1)”,fill:”forwards”},np=[{opacity:0,transform:”translateY(18px)”},{opacity:1,transform:”translateY(0)”}],ap=[{opacity:0,transform:”translateY(-18px)”},{opacity:1,transform:”translateY(0)”}],rp=[{opacity:1,transform:”translateY(0)”},{opacity:0,transform:”translateY(-18px)”}],ip=[{opacity:1,transform:”translateY(0)”},{opacity:0,transform:”translateY(18px)”}];function lp(e){const t=(0,a.c)(34),{likeCount:s,big:o,isLiked:n,hasBeenToggled:r}=e,i=(0,Bs.useTheme)(),l=!(0,dn.useReducedMotion)()&&r;let c;t[0]!==n||t[1]!==s?(c=function(e,t){let s=!1;if(e||1!==t){if(t>1&&t<1e3)s=!0;else if(t>0){const o=t%100;e&&0===o?s=!0:e||99!==o||(s=!0)}}else s=!0;return s}(n,s),t[0]=n,t[1]=s,t[2]=c):c=t[2];const d=c,u=ct.useRef(null),m=ct.useRef(null),[h,p]=ct.useState(s),f=ct.useRef(n),g=sp();let x;t[3]!==g||t[4]!==s?(x=g(s),t[3]=g,t[4]=s,t[5]=x):x=t[5];const _=x;let y;t[6]!==g||t[7]!==h?(y=g(h),t[6]=g,t[7]=h,t[8]=y):y=t[8];const b=y;let j,v;if(t[9]!==n||t[10]!==s||t[11]!==l||t[12]!==d?(j=()=>{if(n===f.current)return;const e=n?s-1:s+1;l&&d&&(u.current?.animate?.(n?np:ap,op),m.current?.animate?.(n?rp:ip,op),p(e)),f.current=n},v=[n,s,l,d],t[9]=n,t[10]=s,t[11]=l,t[12]=d,t[13]=j,t[14]=v):(j=t[13],v=t[14]),ct.useEffect(j,v),s<1)return null;const S=o?Bs.atoms.text_md:Bs.atoms.text_sm;let w,T,k,C,P;return t[15]!==n||t[16]!==i?(w=n?[Bs.atoms.font_semi_bold,en.s.likeColor]:{color:i.palette.contrast_500},t[15]=n,t[16]=i,t[17]=w):w=t[17],t[18]!==S||t[19]!==w?(T=[S,Bs.atoms.user_select_none,w],t[18]=S,t[19]=w,t[20]=T):T=t[20],t[21]!==_||t[22]!==T?(k=(0,bt.jsx)(Cs.default,{ref:u,children:(0,bt.jsx)(tn.Text,{testID:"likeCount",style:T,children:_})}),t[21]=_,t[22]=T,t[23]=k):k=t[23],t[24]!==o||t[25]!==b||t[26]!==n||t[27]!==s||t[28]!==l||t[29]!==i?(C=l&&(s>1||!n)?(0,bt.jsx)(Cs.default,{style:{position:”absolute”,opacity:0},”aria-disabled”:!0,ref:m,children:(0,bt.jsx)(tn.Text,{style:[o?Bs.atoms.text_md:Bs.atoms.text_sm,Bs.atoms.user_select_none,n?[Bs.atoms.font_semi_bold,en.s.likeColor]:{color:i.palette.contrast_500}],children:b})}):null,t[24]=o,t[25]=b,t[26]=n,t[27]=s,t[28]=l,t[29]=i,t[30]=C):C=t[30],t[31]!==C||t[32]!==k?(P=(0,bt.jsxs)(Cs.default,{children:[k,C]}),t[31]=C,t[32]=k,t[33]=P):P=t[33],P}const cp={duration:600,easing:”cubic-bezier(0.4, 0, 0.2, 1)”,fill:”forwards”},dp=[{transform:”scale(1)”},{transform:”scale(0.7)”},{transform:”scale(1.2)”},{transform:”scale(1)”}],up=[{opacity:0,transform:”scale(0)”},{opacity:.4},{transform:”scale(1.5)”},{opacity:.4},{opacity:0,transform:”scale(1.5)”}],mp=[{opacity:0,transform:”scale(0)”},{opacity:1},{transform:”scale(0)”},{opacity:1},{opacity:0,transform:”scale(1.5)”}];function hp(e){const t=(0,a.c)(19),{isLiked:s,big:o,hasBeenToggled:n}=e,r=(0,Bs.useTheme)(),i=o?22:18,l=!(0,dn.useReducedMotion)()&&n,c=ct.useRef(s),d=ct.useRef(null),u=ct.useRef(null),m=ct.useRef(null);let h,p,f;t[0]!==s||t[1]!==l?(h=()=>{c.current!==s&&(l&&s&&(d.current?.animate?.(dp,cp),u.current?.animate?.(up,cp),m.current?.animate?.(mp,cp)),c.current=s)},p=[l,s],t[0]=s,t[1]=l,t[2]=h,t[3]=p):(h=t[2],p=t[3]),ct.useEffect(h,p),t[4]!==s||t[5]!==i||t[6]!==r.palette?(f=s?(0,bt.jsx)(Cs.default,{ref:d,children:(0,bt.jsx)(Qr,{style:en.s.likeColor,width:i})}):(0,bt.jsx)(qr,{style:[{color:r.palette.contrast_500},{pointerEvents:”none”}],width:i}),t[4]=s,t[5]=i,t[6]=r.palette,t[7]=f):f=t[7];const g=i/2;let x;t[8]!==i||t[9]!==g?(x=(0,bt.jsx)(Cs.default,{ref:u,style:{position:”absolute”,backgroundColor:en.s.likeColor.color,top:0,left:0,width:i,height:i,zIndex:-1,pointerEvents:”none”,borderRadius:g,opacity:0}}),t[8]=i,t[9]=g,t[10]=x):x=t[10];const _=i/2;let y,b;return t[11]!==i||t[12]!==r.atoms.bg.backgroundColor||t[13]!==_?(y=(0,bt.jsx)(Cs.default,{ref:m,style:{position:”absolute”,backgroundColor:r.atoms.bg.backgroundColor,top:0,left:0,width:i,height:i,zIndex:-1,pointerEvents:”none”,borderRadius:_,opacity:0}}),t[11]=i,t[12]=r.atoms.bg.backgroundColor,t[13]=_,t[14]=y):y=t[14],t[15]!==f||t[16]!==x||t[17]!==y?(b=(0,bt.jsxs)(Cs.default,{children:[f,x,y]}),t[15]=f,t[16]=x,t[17]=y,t[18]=b):b=t[18],b}var pp=o(87272);const fp=(0,zr.createSinglePathSVG)({path:”M20.002 7a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v1.918l3.375-2.7a1 1 0 0 1 .625-.218h5a2 2 0 0 0 2-2V7Zm2 8a4 4 0 0 1-4 4h-4.648l-4.727 3.781A1.001 1.001 0 0 1 7.002 22v-3h-1a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8Z”});(0,zr.createSinglePathSVG)({path:”M22.002 15a4 4 0 0 1-4 4h-4.648l-4.727 3.781A1.001 1.001 0 0 1 7.002 22v-3h-1a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8Z”});var gp=o(24834);const xp=[“width”],_p=[“lineHeight”];function yp(e){const t=(0,a.c)(22),{blend:s,style:o}=e,{fonts:n,flags:r,theme:i}=(0,Bs.useAlf)();let l,c,d,u;if(t[0]!==r||t[1]!==n.family||t[2]!==n.scaleMultiplier||t[3]!==o){const e=(0,Bs.flatten)(o),{width:s}=e,a=(0,Vn.default)(e,xp);c=s,l=(0,gp.normalizeTextStyles)([Bs.atoms.text_sm,Bs.atoms.leading_snug,a],{fontScale:n.scaleMultiplier,fontFamily:n.family,flags:r}),t[0]=r,t[1]=n.family,t[2]=n.scaleMultiplier,t[3]=o,t[4]=l,t[5]=c}else l=t[4],c=t[5];if(t[6]!==l){var m=l;({lineHeight:u}=m),d=(0,Vn.default)(m,_p),t[6]=l,t[7]=d,t[8]=u}else d=t[7],u=t[8];const h=void 0===u?14:u,p=.15*h;let f;t[9]!==p||t[10]!==c?(f=[Bs.atoms.flex_1,{maxWidth:c,paddingVertical:p}],t[9]=p,t[10]=c,t[11]=f):f=t[11];const g=.7*h,x=s?.6:1;let _,y,b;return t[12]!==g||t[13]!==x?(_={height:g,opacity:x},t[12]=g,t[13]=x,t[14]=_):_=t[14],t[15]!==d||t[16]!==i.atoms.bg_contrast_50||t[17]!==_?(y=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_md,i.atoms.bg_contrast_50,_,d]}),t[15]=d,t[16]=i.atoms.bg_contrast_50,t[17]=_,t[18]=y):y=t[18],t[19]!==f||t[20]!==y?(b=(0,bt.jsx)(Cs.default,{style:f,children:y}),t[19]=f,t[20]=y,t[21]=b):b=t[21],b}function bp(e){const t=(0,a.c)(10),{children:s,size:o,blend:n,style:r}=e,i=(0,Bs.useTheme)(),l=n?.6:1;let c,d,u;return t[0]!==o||t[1]!==l?(c={width:o,height:o,opacity:l},t[0]=o,t[1]=l,t[2]=c):c=t[2],t[3]!==r||t[4]!==i.atoms.bg_contrast_50||t[5]!==c?(d=[Bs.atoms.justify_center,Bs.atoms.align_center,Bs.atoms.rounded_full,i.atoms.bg_contrast_50,c,r],t[3]=r,t[4]=i.atoms.bg_contrast_50,t[5]=c,t[6]=d):d=t[6],t[7]!==s||t[8]!==d?(u=(0,bt.jsx)(Cs.default,{style:d,children:s}),t[7]=s,t[8]=d,t[9]=u):u=t[9],u}function jp(e){const t=(0,a.c)(8),{size:s,blend:o,style:n}=e,r=(0,Bs.useTheme)(),i=1.618*s,l=o?.6:1;let c,d;return t[0]!==s||t[1]!==i||t[2]!==l?(c={width:i,height:s,opacity:l},t[0]=s,t[1]=i,t[2]=l,t[3]=c):c=t[3],t[4]!==n||t[5]!==r.atoms.bg_contrast_50||t[6]!==c?(d=(0,bt.jsx)(Cs.default,{style:[Bs.atoms.rounded_full,r.atoms.bg_contrast_50,c,n]}),t[4]=n,t[5]=r.atoms.bg_contrast_50,t[6]=c,t[7]=d):d=t[7],d}function vp(e){const t=(0,a.c)(5),{children:s,style:o}=e;let n,r;return t[0]!==o?(n=[Bs.atoms.flex_1,o],t[0]=o,t[1]=n):n=t[1],t[2]!==s||t[3]!==n?(r=(0,bt.jsx)(Cs.default,{style:n,children:s}),t[2]=s,t[3]=n,t[4]=r):r=t[4],r}function Sp(e){const t=(0,a.c)(5),{children:s,style:o}=e;let n,r;return t[0]!==o?(n=[Bs.atoms.flex_row,o],t[0]=o,t[1]=n):n=t[1],t[2]!==s||t[3]!==n?(r=(0,bt.jsx)(Cs.default,{style:n,children:s}),t[2]=s,t[3]=n,t[4]=r):r=t[4],r}var wp=o(37246);function Tp(){const e=(0,a.c)(3),t=(0,wn.useQueryClient)(),s=(0,Lt.useAgent)();let o;return e[0]!==s||e[1]!==t?(o={async mutationFn(e){“create”===e.action?((0,ka.updatePostShadow)(t,e.post.uri,{bookmarked:!0}),await s.app.bsky.bookmark.createBookmark({uri:e.post.uri,cid:e.post.cid})):”delete”===e.action&&((0,ka.updatePostShadow)(t,e.uri,{bookmarked:!1}),await s.app.bsky.bookmark.deleteBookmark({uri:e.uri}))},onSuccess(e,s){“create”===s.action?(0,wp.optimisticallySaveBookmark)(t,s.post):”delete”===s.action&&(0,wp.optimisticallyDeleteBookmark)(t,{uri:s.uri})},onError(e,s){“create”===s.action?(0,ka.updatePostShadow)(t,s.post.uri,{bookmarked:!1}):”delete”===s.action&&(0,ka.updatePostShadow)(t,s.uri,{bookmarked:!0}),(0,pn.isNetworkError)(e)||vt.logger.error(“bookmark mutation failed”,{bookmarkAction:s.action,safeMessage:e})}},e[0]=s,e[1]=t,e[2]=o):o=e[2],(0,no.useMutation)(o)}const kp=(0,zr.createSinglePathSVG)({path:”M9.7 16.895a4 4 0 0 1 4.6 0l3.7 2.6V6.5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v12.995l3.7-2.6Zm10.3 2.6c0 1.62-1.825 2.567-3.15 1.636l-3.7-2.6a2.001 2.001 0 0 0-2.3 0l-3.7 2.6C5.825 22.062 4 21.115 4 19.495V6.5a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v12.995Z”}),Cp=(0,zr.createSinglePathSVG)({path:”M16 2.5a4 4 0 0 1 4 4v12.995c0 1.62-1.825 2.567-3.15 1.636l-3.7-2.6a2.001 2.001 0 0 0-2.3 0l-3.7 2.6C5.825 22.062 4 21.115 4 19.495V6.5a4 4 0 0 1 4-4h8Z”}),Pp=(0,zr.createSinglePathSVG)({path:”M14.2 2.625c.834 0 1.482 0 2.001.042.523.043.949.131 1.331.326.635.324 1.151.84 1.475 1.475.195.382.283.807.326 1.33.042.52.042 1.168.042 2.002v11.09c0 .495 0 .893-.027 1.199-.028.301-.087.585-.26.809-.249.323-.63.518-1.037.533-.282.01-.547-.107-.808-.26-.265-.154-.588-.385-.991-.673l-3.54-2.528c-.36-.258-.461-.322-.559-.347a.626.626 0 0 0-.306 0c-.098.025-.199.09-.559.347l-3.54 2.528c-.403.288-.726.519-.991.674-.261.152-.526.269-.808.259a1.376 1.376 0 0 1-1.038-.534c-.172-.223-.231-.507-.259-.808a7.31 7.31 0 0 1-.024-.528l-.003-.67V7.8c0-.834 0-1.482.042-2.001.043-.523.13-.949.325-1.331a3.376 3.376 0 0 1 1.476-1.475c.382-.195.808-.283 1.33-.326.52-.042 1.168-.042 2.002-.042h4.4Zm-4.4.75c-.846 0-1.458 0-1.94.04-.477.039-.792.114-1.051.246A2.626 2.626 0 0 0 5.66 4.81c-.132.259-.208.574-.247 1.051-.04.482-.039 1.094-.039 1.94v11.09l.003.658c.003.186.01.34.021.473.025.267.07.37.106.418a.626.626 0 0 0 .472.243c.059.002.168-.022.4-.158.23-.133.52-.34.935-.636l3.54-2.529c.308-.22.543-.396.81-.464.222-.056.454-.056.676 0 .267.068.5.244.81.464l3.54 2.529c.414.296.704.503.933.636.233.137.343.16.402.158a.626.626 0 0 0 .472-.243c.036-.048.081-.15.106-.419.024-.263.024-.62.024-1.13V7.8c0-.846 0-1.458-.04-1.94-.039-.477-.114-.792-.246-1.051A2.627 2.627 0 0 0 17.19 3.66c-.259-.132-.575-.207-1.051-.246-.482-.04-1.094-.04-1.94-.04H9.8Zm4.056 4.238a.375.375 0 0 1 .53.53L12.53 10l1.857 1.856a.375.375 0 0 1-.53.53L12 10.53l-1.856 1.857a.375.375 0 0 1-.53-.53L11.47 10 9.613 8.144a.375.375 0 0 1 .53-.53L12 9.47l1.856-1.857Z”}),Ap=[“ref”,”onPress”,”onLongPress”,”children”,”big”,”active”,”activeColor”],Ip=[“icon”,”style”],Lp=[“style”],Rp={top:5,bottom:10,left:10,right:10},Ep=(0,ct.createContext)({});function Dp(e){const t=(0,a.c)(37);let s,o,n,r,i,l,c,d;if(t[0]!==e){var u=e;({ref:d,onPress:l,onLongPress:i,children:r,big:n,active:s,activeColor:o}=u),c=(0,Vn.default)(u,Ap),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l,t[7]=c,t[8]=d}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6],c=t[7],d=t[8];const m=(0,Bs.useTheme)(),h=(0,Ju.useHaptics)(),p=o&&s?o:m.palette.contrast_500;let f,g;t[9]!==p?(f={color:p},t[9]=p,t[10]=f):f=t[10],t[11]!==s||t[12]!==n||t[13]!==f?(g={big:n,active:s,color:f},t[11]=s,t[12]=n,t[13]=f,t[14]=g):g=t[14];const x=g;let _;t[15]===Symbol.for(“react.memo_cache_sentinel”)?(_=[Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_xs,Bs.atoms.bg_transparent,{padding:5}],t[15]=_):_=t[15];const y=_;let b;e:{if(!l){b=void 0;break e}let e;t[16]!==l||t[17]!==h?(e=e=>{h(“Light”),l(e)},t[16]=l,t[17]=h,t[18]=e):e=t[18],b=e}const j=b;let v;e:{if(!i){v=void 0;break e}let e;t[19]!==i||t[20]!==h?(e=e=>{h(“Heavy”),i(e)},t[19]=i,t[20]=h,t[21]=e):e=t[21],v=e}const S=v;let w,T,k,C;return t[22]!==c.hitSlop?(w=c.hitSlop||{},t[22]=c.hitSlop,t[23]=w):w=t[23],t[24]!==w?(T=Object.assign({},Rp,w),t[24]=w,t[25]=T):T=t[25],t[26]!==r||t[27]!==x?(k=”function”===typeof r?e=>(0,bt.jsx)(Ep.Provider,{value:x,children:r(e)}):(0,bt.jsx)(Ep.Provider,{value:x,children:r}),t[26]=r,t[27]=x,t[28]=k):k=t[28],t[29]!==S||t[30]!==j||t[31]!==c||t[32]!==d||t[33]!==m.atoms.bg_contrast_25||t[34]!==T||t[35]!==k?(C=(0,bt.jsx)(Ks.Button,Object.assign({ref:d,onPress:j,onLongPress:S,style:y,hoverStyle:m.atoms.bg_contrast_25,shape:”round”,variant:”ghost”,color:”secondary”},c,{hitSlop:T,children:k})),t[29]=S,t[30]=j,t[31]=c,t[32]=d,t[33]=m.atoms.bg_contrast_25,t[34]=T,t[35]=k,t[36]=C):C=t[36],C}function Bp(e){const t=(0,a.c)(12);let s,o,n;if(t[0]!==e){var r=e;({icon:s,style:n}=r),o=(0,Vn.default)(r,Ip),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const{big:i,color:l}=(0,ct.useContext)(Ep);let c;t[4]!==l||t[5]!==n?(c=[l,Bs.atoms.pointer_events_none,n],t[4]=l,t[5]=n,t[6]=c):c=t[6];const d=i?22:18;let u;return t[7]!==s||t[8]!==o||t[9]!==c||t[10]!==d?(u=(0,bt.jsx)(s,Object.assign({style:c},o,{width:d})),t[7]=s,t[8]=o,t[9]=c,t[10]=d,t[11]=u):u=t[11],u}function Mp(e){const t=(0,a.c)(11);let s,o;if(t[0]!==e){var n=e;({style:o}=n),s=(0,Vn.default)(n,Lp),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{big:r,active:i,color:l}=(0,ct.useContext)(Ep),c=r?Bs.atoms.text_md:Bs.atoms.text_sm,d=i&&Bs.atoms.font_semi_bold;let u,m;return t[3]!==l||t[4]!==o||t[5]!==c||t[6]!==d?(u=[l,c,d,o],t[3]=l,t[4]=o,t[5]=c,t[6]=d,t[7]=u):u=t[7],t[8]!==s||t[9]!==u?(m=(0,bt.jsx)(Xs.Text,Object.assign({style:u},s)),t[8]=s,t[9]=u,t[10]=m):m=t[10],m}Ep.displayName=”PostControlContext”;const Op=(0,ct.memo)((function({post:t,big:s,logContext:o,hitSlop:n}){const a=(0,Bs.useTheme)(),{_:r}=(0,ut.useLingui)(),{mutateAsync:i}=Tp(),l=Gs(),c=(0,Lt.useRequireAuth)(),{feedDescriptor:d}=Ig(),{viewer:u}=t,m=!!u?.bookmarked,h=r({id:”IQEa/P”}),p=async({disableUndo:s}={})=>{try{await i({action:”create”,post:t}),vt.logger.metric(“post:bookmark”,{uri:t.uri,authorDid:t.author.did,logContext:o,feedDescriptor:d}),vd.show((0,bt.jsxs)(vd.Outer,{children:[(0,bt.jsx)(vd.Icon,{}),(0,bt.jsx)(vd.Text,{children:(0,bt.jsx)(ut.Trans,{id:”3yJ36z”})}),!s&&(0,bt.jsx)(vd.Action,{label:h,onPress:()=>f({disableUndo:!0}),children:h})]}),{type:”success”})}catch(e){const{raw:s,clean:o}=l(e);vd.show(o||s||e,{type:”error”})}},f=async({disableUndo:e}={})=>{try{await i({action:”delete”,uri:t.uri}),vt.logger.metric(“post:unbookmark”,{uri:t.uri,authorDid:t.author.did,logContext:o,feedDescriptor:d}),vd.show((0,bt.jsxs)(vd.Outer,{children:[(0,bt.jsx)(vd.Icon,{icon:$i.Trash_Stroke2_Corner0_Rounded}),(0,bt.jsx)(vd.Text,{children:(0,bt.jsx)(ut.Trans,{id:”ronh4s”})}),!e&&(0,bt.jsx)(vd.Action,{label:h,onPress:()=>p({disableUndo:!0}),children:h})]}))}catch(s){const{raw:e,clean:t}=l(s);vd.show(t||e||s,{type:”error”})}};return(0,bt.jsx)(Dp,{testID:”postBookmarkBtn”,big:s,label:r(m?{id:”mmSJsq”}:{id:”yTJ26B”}),onPress:()=>c((async()=>{m?await f():await p()})),hitSlop:n,children:(0,bt.jsx)(Bp,{fill:m?a.palette.primary_500:void 0,icon:m?Cp:kp})})}));var Fp=o(4544),Np=o(44278);function Hp(e,t){const{text:s,facets:o}=e;if(!o?.length)return s;let n=””;for(const a of e.segments()){const e=a.link;if(e&&Sn.AppBskyRichtextFacet.validateLink(e).success){const s=e.uri,o=a.text;n+=(0,Ct.linkRequiresWarning)(s,o)?t?`[${o}](${s})`:o:s}else n+=a.text}return n}var zp=o(62820);async function Vp({agent:t,postUri:s}){const o=new Sn.AtUri(s);if(!o.host.startsWith(“did:”)){const e=await t.resolveHandle({handle:o.host});o.host=e.data.did}try{const{data:e}=await(0,zp.retry)(2,(e=>!e.message.includes(“Could not locate record:”)),(()=>t.api.com.atproto.repo.getRecord({repo:o.host,collection:Bd,rkey:o.rkey})));return e.value&&Rc.validate(e.value,Sn.AppBskyFeedPostgate.validateRecord)?e.value:void 0}catch(e){if(e.message.includes(“Could not locate record:”))return;throw e}}async function Up({agent:e,postUri:t,postgate:s}){const o=new Sn.AtUri(t);await(0,zp.networkRetry)(2,(()=>e.api.com.atproto.repo.putRecord({repo:e.session.did,collection:Bd,rkey:o.rkey,record:s})))}async function Gp({agent:e,postUri:t},s){const o=await Vp({agent:e,postUri:t}),n=await s(o);n&&await Up({agent:e,postUri:t,postgate:n})}const Wp=e=>[“postgate-record”,e];function qp(e){return e??null}function Qp(){const e=(0,a.c)(5),t=(0,Lt.useAgent)(),s=(0,wn.useQueryClient)();let o,n;return e[0]!==t?(o=async e=>{const{postUri:s,postgate:o}=e;return Up({agent:t,postUri:s,postgate:o})},e[0]=t,e[1]=o):o=e[1],e[2]!==s||e[3]!==o?(n={mutationFn:o,onSuccess(e,t){const{postUri:o}=t;s.invalidateQueries({queryKey:Wp(o)})}},e[2]=s,e[3]=o,e[4]=n):n=e[4],(0,no.useMutation)(n)}var Kp=o(24221),Zp=o(92434);(0,zr.createSinglePathSVG)({path:”M7.574 4.178a1 1 0 0 1 .43.822v5h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-8c0-2.585 1.162-4.335 2.316-5.417a8.163 8.163 0 0 1 1.569-1.15 7.029 7.029 0 0 1 .738-.36l.016-.005.005-.003h.003v-.001c.001 0 .002 0 .353.936l-.351-.936a1 1 0 0 1 .92.114Zm-1.57 2.588a5.99 5.99 0 0 0-.316.276C4.842 7.835 4.004 9.085 4.004 11v7h5v-6h-2a1 1 0 0 1-1-1V6.766Zm12.57-2.588a1 1 0 0 1 .43.822v5h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-8c0-2.585 1.162-4.335 2.316-5.417a8.166 8.166 0 0 1 1.569-1.15 7.038 7.038 0 0 1 .738-.36l.016-.005.005-.003h.003v-.001c.001 0 .002 0 .353.936l-.351-.936a1 1 0 0 1 .92.114Zm-1.57 2.588c-.105.085-.21.177-.316.276-.846.793-1.684 2.043-1.684 3.958v7h5v-6h-2a1 1 0 0 1-1-1V6.766Z”}),(0,zr.createSinglePathSVG)({path:”M8.004 5a1 1 0 0 0-.43-.822c-.57-.395-1.176-.031-1.685.255-.428.24-.998.614-1.569 1.15C3.166 6.665 2.004 8.415 2.004 11v8a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2V5ZM19.004 5a1 1 0 0 0-.43-.822c-.57-.395-1.176-.031-1.685.255-.428.24-.998.614-1.569 1.15-1.154 1.082-2.316 2.832-2.316 5.417v8a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2V5Z”});const Yp=(0,zr.createSinglePathSVG)({path:”M2.004 5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v8c0 2.585-1.162 4.335-2.316 5.417-.571.536-1.14.91-1.569 1.15a7.01 7.01 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001L6.004 19l.351.936A1 1 0 0 1 5.004 19v-5h-2a1 1 0 0 1-1-1V5Zm5 12.234c.104-.085.21-.177.316-.276.846-.793 1.684-2.043 1.684-3.958V6h-5v6h2a1 1 0 0 1 1 1v4.234Zm6-12.234a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v8c0 2.585-1.162 4.335-2.316 5.417-.571.536-1.14.91-1.569 1.15a7.018 7.018 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001-.352-.936.351.936A1 1 0 0 1 16.004 19v-5h-2a1 1 0 0 1-1-1V5Zm5 12.234V13a1 1 0 0 0-1-1h-2V6h5v7c0 1.915-.838 3.165-1.684 3.958-.106.1-.212.191-.316.276Z”}),$p=(0,zr.createSinglePathSVG)({path:”M2.003 5.999a2 2 0 0 1 2-1.999h5c1.104 0 2 .893 2 1.999V13c0 2.585-1.16 4.335-2.315 5.417-.571.536-1.14.91-1.569 1.15a7.01 7.01 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001L6.004 19l.351.936a1 1 0 0 1-1.351-.935L5 14H4a2 2 0 0 1-2-2.001l.002-6Zm5 11.236L7 12.999A1 1 0 0 0 6 12H4l.003-6h5v7c0 1.915-.837 3.165-1.683 3.958-.106.1-.213.192-.317.277Zm6-11.235a2 2 0 0 1 2-2h5c1.104 0 2 .893 2 1.999V13c0 2.585-1.16 4.335-2.315 5.417-.571.536-1.14.91-1.569 1.15a7.018 7.018 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001-.352-.936.351.936A1 1 0 0 1 16.004 19v-5h-1a2 2 0 0 1-2-2V6Zm7 0h-5v6h2a1 1 0 0 1 1 1v4.234c.105-.085.211-.177.317-.276.846-.793 1.684-2.043 1.684-3.958V6Z”}),Xp=((0,zr.createSinglePathSVG)({path:”M3.004 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2v5a1 1 0 0 0 .43.822c.57.395 1.176.031 1.685-.255.428-.24.998-.614 1.569-1.15 1.154-1.082 2.316-2.832 2.316-5.417V5a1 1 0 0 0-1-1h-7ZM14.004 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2v5a1 1 0 0 0 .43.822c.57.395 1.176.031 1.685-.255.428-.24.998-.614 1.569-1.15 1.154-1.082 2.316-2.832 2.316-5.417V5a1 1 0 0 0-1-1h-7Z”}),[“control”]);function Jp(e){const t=(0,a.c)(18);let s,o,n;if(t[0]!==e){var r=e;({control:s}=r),o=(0,Vn.default)(r,Xp),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];t[3]!==o.isDirty||t[4]!==o.persist||t[5]!==o.postgate?.embeddingRules||t[6]!==o.threadgateAllowUISettings?(n=()=>{vt.logger.metric(“composer:threadgate:save”,{hasChanged:!!o.isDirty,persist:!!o.persist,replyOptions:o.threadgateAllowUISettings?.map(tf)?.join(“,”)??””,quotesEnabled:!o.postgate?.embeddingRules?.find(ef)})},t[3]=o.isDirty,t[4]=o.persist,t[5]=o.postgate?.embeddingRules,t[6]=o.threadgateAllowUISettings,t[7]=n):n=t[7];const i=(0,vn.useNonReactiveCallback)(n),l=o.isDirty&&o.persist;let c,d,u,m;return t[8]!==l?(c={preventExpansion:!0,preventDismiss:l},t[8]=l,t[9]=c):c=t[9],t[10]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,bt.jsx)(Ms.Handle,{}),t[10]=d):d=t[10],t[11]!==o?(u=(0,bt.jsx)(sf,Object.assign({},o)),t[11]=o,t[12]=u):u=t[12],t[13]!==s||t[14]!==i||t[15]!==c||t[16]!==u?(m=(0,bt.jsxs)(Ms.Outer,{control:s,nativeOptions:c,onClose:i,children:[d,u]}),t[13]=s,t[14]=i,t[15]=c,t[16]=u,t[17]=m):m=t[17],m}function ef(e){return e.$type===zd.disableRule.$type}function tf(e){return e.type}function sf(e){const t=(0,a.c)(10),{_:s}=(0,ut.useLingui)();let o,n,r,i,l,c;return t[0]!==s?(o=s({id:”TlT3VC”}),t[0]=s,t[1]=o):o=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(n=[(0,Bs.web)({maxWidth:400}),Bs.atoms.w_full],r=(0,bt.jsx)(rf,{}),t[2]=n,t[3]=r):(n=t[2],r=t[3]),t[4]!==e?(i=(0,bt.jsx)(af,Object.assign({},e)),t[4]=e,t[5]=i):i=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,bt.jsx)(Ms.Close,{}),t[6]=l):l=t[6],t[7]!==o||t[8]!==i?(c=(0,bt.jsxs)(Ms.ScrollableInner,{label:o,style:n,children:[r,i,l]}),t[7]=o,t[8]=i,t[9]=c):c=t[9],c}function of(e){const t=(0,a.c)(10),s=(0,Kp.usePostThreadContext)();let o,n,r,i,l;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o={preventExpansion:!0},n=(0,bt.jsx)(Ms.Handle,{}),t[0]=o,t[1]=n):(o=t[0],n=t[1]),t[2]!==e?(r=(0,bt.jsx)(nf,Object.assign({},e)),t[2]=e,t[3]=r):r=t[3],t[4]!==s||t[5]!==r?(i=(0,bt.jsx)(Kp.PostThreadContextProvider,{context:s,children:r}),t[4]=s,t[5]=r,t[6]=i):i=t[6],t[7]!==e.control||t[8]!==i?(l=(0,bt.jsxs)(Ms.Outer,{control:e.control,nativeOptions:o,children:[n,i]}),t[7]=e.control,t[8]=i,t[9]=l):l=t[9],l}function nf(t){const{_:s}=(0,ut.useLingui)(),{currentAccount:o}=(0,Lt.useSession)(),[n,r]=(0,ct.useState)(!1),{data:i,isLoading:l}=(0,Vd.useThreadgateViewQuery)({postUri:t.rootPostUri}),{data:c,isLoading:d}=function(e){const t=(0,a.c)(6),{postUri:s}=e,o=(0,Lt.useAgent)();let n,r;return t[0]!==s?(n=Wp(s),t[0]=s,t[1]=n):n=t[1],t[2]!==o||t[3]!==s||t[4]!==n?(r={staleTime:Pt.STALE.SECONDS.THIRTY,queryKey:n,queryFn:async()=>await Vp({agent:o,postUri:s}).then(qp)},t[2]=o,t[3]=s,t[4]=n,t[5]=r):r=t[5],(0,Fs.useQuery)(r)}({postUri:t.postUri}),{mutateAsync:u}=Qp(),{mutateAsync:m}=(0,Vd.useSetThreadgateAllowMutation)(),[h,p]=(0,ct.useState)(),[f,g]=(0,ct.useState)(),x=l||d,_=i||t.initialThreadgateView,y=(0,ct.useMemo)((()=>o?.did===new Sn.AtUri(t.rootPostUri).host),[t.rootPostUri,o?.did]),b=(0,ct.useMemo)((()=>h||c||Md({post:t.postUri})),[c,h,t.postUri]),j=(0,ct.useMemo)((()=>f||(0,Vd.threadgateViewToAllowUISetting)(_)),[_,f]),v=(0,ct.useCallback)((async()=>{if(h||f){r(!0);try{const e=[];h&&e.push(u({postUri:t.postUri,postgate:h})),f&&y&&e.push(m({postUri:t.rootPostUri,allow:f})),await Promise.all(e),t.control.close()}catch(e){vt.logger.error(“Failed to save post interaction settings”,{source:”PostInteractionSettingsDialogControlledInner”,safeMessage:e.message}),ws.show(s({id:”zghcp1″}),”xmark”)}finally{r(!1)}}else t.control.close()}),[s,t.postUri,t.rootPostUri,t.control,h,f,r,u,m,y]);return(0,bt.jsxs)(Ms.ScrollableInner,{label:s({id:”TlT3VC”}),style:[(0,Bs.web)({maxWidth:400}),Bs.atoms.w_full],children:[x?(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.py_5xl,Bs.atoms.gap_md,Bs.atoms.align_center,Bs.atoms.justify_center],children:[(0,bt.jsx)($s.Loader,{size:”xl”}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.italic,Bs.atoms.text_center],children:(0,bt.jsx)(ut.Trans,{id:”Asos8L”})})]}):(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(rf,{}),(0,bt.jsx)(af,{replySettingsDisabled:!y,isSaving:n,onSave:v,postgate:b,onChangePostgate:p,threadgateAllowUISettings:j,onChangeThreadgateAllowUISettings:g})]}),(0,bt.jsx)(Ms.Close,{})]})}function af({canSave:e=!0,onSave:t,isSaving:s,postgate:o,onChangePostgate:n,threadgateAllowUISettings:a,onChangeThreadgateAllowUISettings:r,replySettingsDisabled:i,isDirty:l,persist:c,onChangePersist:d}){const u=(0,Bs.useTheme)(),{_:m}=(0,ut.useLingui)(),h=(0,Ju.useHaptics)(),[p,f]=(0,ct.useState)(!1),{data:g,isPending:x,isError:_}=Ha(“curate”),[y,b]=(0,ct.useState)(!(o.embeddingRules&&o.embeddingRules.find((e=>e.$type===zd.disableRule.$type)))),j=(0,ct.useCallback)((e=>{b(e),n(Md(Object.assign({},o,{embeddingRules:e?[]:[zd.disableRule]})))}),[b,o,n]),v=!!a.find((e=>”nobody”===e.type)),S=!!a.find((e=>”everybody”===e.type)),w=a.filter((e=>”list”===e.type)).length,T=(0,ct.useMemo)((()=>{const e=[];for(const t of a)switch(t.type){case”everybody”:case”nobody”:return[];case”followers”:e.push(“followers”);break;case”following”:e.push(“following”);break;case”mention”:e.push(“mention”);break;case”list”:e.push(`list:${t.list}`)}return e}),[a]);return(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_1,Bs.atoms.gap_lg],children:[(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_lg],children:[i&&(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.px_md,Bs.atoms.py_sm,Bs.atoms.rounded_sm,Bs.atoms.flex_row,Bs.atoms.align_center,Bs.atoms.gap_sm,u.atoms.bg_contrast_25],children:[(0,bt.jsx)(fn.CircleInfo_Stroke2_Corner0_Rounded,{fill:u.atoms.text_contrast_low.color}),(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.flex_1,Bs.atoms.leading_snug,u.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”rCcmIR”})})]}),(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.gap_sm,{opacity:i?.3:1}],children:[(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,Bs.atoms.font_medium],children:(0,bt.jsx)(ut.Trans,{id:”yvDWMs”})}),(0,bt.jsx)(Zp.Group,{label:m({id:”8MdIOQ”}),type:”radio”,maxSelections:1,disabled:i,values:S?[“everyone”]:v?[“nobody”]:[],onChange:e=>{e.includes(“everyone”)?r([{type:”everybody”}]):e.includes(“nobody”)?r([{type:”nobody”}]):r([{type:”mention”}])},children:(0,bt.jsxs)(Cs.default,{style:[Bs.atoms.flex_row,Bs.atoms.gap_sm],children:[(0,bt.jsx)(Zp.Item,{name:”everyone”,type:”checkbox”,label:m({id:”d0kCIx”}),style:[Bs.atoms.flex_1],children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,children:[(0,bt.jsx)(Zp.Radio,{}),(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”z64CLa”})})]})}),(0,bt.jsx)(Zp.Item,{name:”nobody”,type:”checkbox”,label:m({id:”VLlpbA”}),style:[Bs.atoms.flex_1],children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,children:[(0,bt.jsx)(Zp.Radio,{}),(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”xpF9po”})})]})})]})}),(0,bt.jsx)(Zp.Group,{label:m({id:”Z0c5Vk”}),values:T,onChange:e=>{const t=[];if(0===e.length)t.push({type:”everybody”});else for(const s of e)if(s.startsWith(“list:”)){const e=s.slice(5);t.push({type:”list”,list:e})}else t.push({type:s});r(t)},disabled:i,children:(0,bt.jsxs)(Zp.PanelGroup,{children:[(0,bt.jsx)(Zp.Item,{name:”followers”,type:”checkbox”,label:m({id:”TJdzwX”}),hitSlop:0,children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,adjacent:”trailing”,children:[(0,bt.jsx)(Zp.Checkbox,{}),(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”pnEY+u”})})]})}),(0,bt.jsx)(Zp.Item,{name:”following”,type:”checkbox”,label:m({id:”a3XcBm”}),hitSlop:0,children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,adjacent:”both”,children:[(0,bt.jsx)(Zp.Checkbox,{}),(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”RKtTtU”})})]})}),(0,bt.jsx)(Zp.Item,{name:”mention”,type:”checkbox”,label:m({id:”Gpbwcp”}),hitSlop:0,children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,adjacent:”both”,children:[(0,bt.jsx)(Zp.Checkbox,{}),(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”vW6/4C”})})]})}),(0,bt.jsx)(Ks.Button,{label:m(p?{id:”DKqw5l”}:{id:”+3Xo+b”}),accessibilityRole:”togglebutton”,hitSlop:0,onPress:()=>{h(“Light”),os.isIOS&&!p&&Rr.default.configureNext(Object.assign({},Rr.default.Presets.linear,{duration:175})),f((e=>!e))},children:(0,bt.jsxs)(Zp.Panel,{active:w>0,adjacent:p?”both”:”leading”,children:[(0,bt.jsx)(Zp.PanelText,{children:0===w?(0,bt.jsx)(ut.Trans,{id:”0mcAnU”}):(0,bt.jsx)(ut.Trans,{id:”Mg+hW0″,values:{numberOfListsSelected:w},components:{0:(0,bt.jsx)(_a.default,{style:[Bs.atoms.font_normal,Bs.atoms.italic]})}})}),(0,bt.jsx)(Zp.PanelIcon,{icon:p?ud.ChevronTop_Stroke2_Corner0_Rounded:ud.ChevronBottom_Stroke2_Corner0_Rounded})]})}),p&&(x?(0,bt.jsx)(Zp.Panel,{children:(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”lao9x9″})})}):_?(0,bt.jsx)(Zp.Panel,{children:(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”fZ2cjE”})})}):0===g.length?(0,bt.jsx)(Zp.Panel,{children:(0,bt.jsx)(Zp.PanelText,{children:(0,bt.jsx)(ut.Trans,{id:”LXP4VB”})})}):g.map(((e,t)=>(0,bt.jsx)(Zp.Item,{name:`list:${e.uri}`,type:”checkbox”,label:m({id:”gfCAw3″,values:{0:e.name}}),hitSlop:0,children:({selected:s})=>(0,bt.jsxs)(Zp.Panel,{active:s,adjacent:t===g.length-1?”leading”:”both”,children:[(0,bt.jsx)(Zp.Checkbox,{}),(0,bt.jsx)(Li.UserAvatar,{size:24,type:”list”,avatar:e.avatar}),(0,bt.jsx)(Zp.PanelText,{children:e.name})]})},e.uri))))]})})]})]}),(0,bt.jsx)(Zp.Item,{name:”quoteposts”,type:”checkbox”,label:m(y?{id:”RPl1Kg”}:{id:”KJQLjm”}),value:y,onChange:j,children:({selected:e})=>(0,bt.jsxs)(Zp.Panel,{active:e,children:[(0,bt.jsx)(Zp.PanelText,{icon:$p,children:(0,bt.jsx)(ut.Trans,{id:”U4vCK0″})}),(0,bt.jsx)(Zp.Switch,{})]})}),”undefined”!==typeof c&&(0,bt.jsx)(Cs.default,{style:[{minHeight:24},Bs.atoms.justify_center],children:l?(0,bt.jsxs)(Zp.Item,{name:”persist”,type:”checkbox”,label:m({id:”J9OoMH”}),value:c,onChange:()=>d?.(!c),children:[(0,bt.jsx)(Zp.Checkbox,{}),(0,bt.jsx)(Zp.LabelText,{style:[Bs.atoms.text_md,Bs.atoms.font_normal,u.atoms.text],children:(0,bt.jsx)(ut.Trans,{id:”J9OoMH”})})]}):(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_md,u.atoms.text_contrast_medium],children:(0,bt.jsx)(ut.Trans,{id:”L+gxxP”})})}),(0,bt.jsxs)(Ks.Button,{disabled:!e||s,label:m({id:”tfDRzk”}),onPress:t,color:”primary”,size:”large”,children:[(0,bt.jsx)(Ks.ButtonText,{children:(0,bt.jsx)(ut.Trans,{id:”tfDRzk”})}),s&&(0,bt.jsx)(Ks.ButtonIcon,{icon:$s.Loader})]})]})}function rf(){const e=(0,a.c)(2);let t,s;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[Bs.atoms.pb_lg],e[0]=t):t=e[0],e[1]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,bt.jsx)(Cs.default,{style:t,children:(0,bt.jsx)(Xs.Text,{style:[Bs.atoms.text_2xl,Bs.atoms.font_bold],children:(0,bt.jsx)(ut.Trans,{id:”Q0ToY3″})})}),e[1]=s):s=e[1],s}function lf(e){const t=(0,a.c)(6),{postUri:s,rootPostUri:o}=e,n=(0,wn.useQueryClient)(),r=(0,Lt.useAgent)(),i=(0,pp.useGetPost)();let l;return t[0]!==r||t[1]!==i||t[2]!==s||t[3]!==n||t[4]!==o?(l=async()=>{try{await Promise.all([n.prefetchQuery({queryKey:Wp(s),queryFn:()=>Vp({agent:r,postUri:s}).then(cf),staleTime:Pt.STALE.SECONDS.THIRTY}),n.prefetchQuery({queryKey:(0,Vd.createThreadgateViewQueryKey)(o),queryFn:async()=>(await i({uri:o})).threadgate??null,staleTime:Pt.STALE.SECONDS.THIRTY})])}catch(e){const t=e;vt.logger.error(“Failed to prefetch post interaction settings”,{safeMessage:t.message})}},t[0]=r,t[1]=i,t[2]=s,t[3]=n,t[4]=o,t[5]=l):l=t[5],l}function cf(e){return e??null}const df=(0,zr.createSinglePathSVG)({path:”M6.17 5.004c-.553-.029-.814.107-.937.23-.122.122-.258.383-.23.936.03.552.222 1.28.611 2.15.282.628.655 1.304 1.112 2.005a28.26 28.26 0 0 1 1.72-1.88 28.258 28.258 0 0 1 1.88-1.719 14.886 14.886 0 0 0-2.007-1.112c-.868-.39-1.597-.581-2.15-.61Zm5.83.44c-.985-.688-1.953-1.247-2.863-1.655-.998-.447-1.978-.736-2.863-.782-.885-.047-1.791.148-2.455.812-.664.664-.859 1.57-.812 2.455.046.885.335 1.865.782 2.863.408.91.967 1.878 1.655 2.863-.688.985-1.247 1.953-1.655 2.863-.447.998-.736 1.978-.782 2.863-.047.885.148 1.791.812 2.455.664.663 1.57.859 2.455.812.885-.046 1.865-.335 2.863-.782.91-.408 1.878-.967 2.863-1.655.985.688 1.952 1.247 2.863 1.655.998.447 1.978.736 2.863.782.885.047 1.791-.148 2.455-.812.663-.664.859-1.57.812-2.455-.046-.885-.335-1.865-.782-2.863-.408-.91-.967-1.878-1.655-2.863.688-.985 1.247-1.952 1.655-2.863.447-.998.736-1.978.782-2.863.047-.885-.148-1.791-.812-2.455-.664-.664-1.57-.859-2.455-.812-.885.046-1.865.335-2.863.782-.91.408-1.878.967-2.863 1.655Zm0 2.497A25.9 25.9 0 0 0 9.86 9.86 25.899 25.899 0 0 0 7.94 12c.569.711 1.211 1.431 1.92 2.14.709.709 1.429 1.351 2.14 1.92a25.925 25.925 0 0 0 2.14-1.92A25.925 25.925 0 0 0 16.06 12a25.921 25.921 0 0 0-1.92-2.14A25.904 25.904 0 0 0 12 7.94Zm5.274 2.384a28.232 28.232 0 0 0-1.72-1.88 28.27 28.27 0 0 0-1.88-1.719 14.89 14.89 0 0 1 2.007-1.112c.868-.39 1.597-.581 2.15-.61.552-.029.813.107.936.23.123.122.258.383.23.936-.03.552-.222 1.28-.611 2.15a14.883 14.883 0 0 1-1.112 2.005Zm0 3.35a28.24 28.24 0 0 1-1.72 1.88 28.24 28.24 0 0 1-1.88 1.719c.702.457 1.378.83 2.007 1.112.868.39 1.597.581 2.15.61.552.03.813-.106.936-.23.123-.122.258-.383.23-.935-.03-.553-.222-1.282-.611-2.15a14.888 14.888 0 0 0-1.112-2.006Zm-6.949 3.599a28.23 28.23 0 0 1-1.88-1.72 28.27 28.27 0 0 1-1.719-1.88 14.89 14.89 0 0 0-1.112 2.007c-.39.868-.581 1.597-.61 2.15-.029.552.107.813.23.936.122.123.383.258.936.23.552-.03 1.28-.222 2.15-.611a14.884 14.884 0 0 0 2.005-1.112Z”}),uf=(0,zr.createSinglePathSVG)({path:”M8.17 4A3.001 3.001 0 0 1 11 2h2c1.306 0 2.418.835 2.83 2H17a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1.17ZM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V6Zm6 0V5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v1h4Z”});var mf=o(73335);const hf=(0,zr.createSinglePathSVG)({path:”M3.135 12C5.413 16.088 8.77 18 12 18s6.587-1.912 8.865-6C18.587 7.912 15.23 6 12 6c-3.228 0-6.587 1.912-8.865 6ZM12 4c4.24 0 8.339 2.611 10.888 7.54a1 1 0 0 1 0 .92C20.338 17.388 16.24 20 12 20c-4.24 0-8.339-2.611-10.888-7.54a1 1 0 0 1 0-.92C3.662 6.612 7.76 4 12 4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z”}),pf=((0,zr.createSinglePathSVG)({path:”M12 6c-3.127 0-6.367 1.79-8.638 5.606a.77.77 0 0 0 0 .788C5.633 16.209 8.873 18 12 18s6.367-1.79 8.638-5.606a.77.77 0 0 0 0-.788C18.367 7.791 15.127 6 12 6Zm0-2c3.952 0 7.79 2.272 10.357 6.583a2.77 2.77 0 0 1 0 2.834C19.79 17.727 15.952 20 12 20s-7.79-2.272-10.357-6.583a2.77 2.77 0 0 1 0-2.834C4.21 6.273 8.048 4 12 4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z”}),(0,zr.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v4a1 1 0 0 1-.293.707L15 14.414V20a1 1 0 0 1-.758.97l-4 1A1 1 0 0 1 9 21v-6.586L3.293 8.707A1 1 0 0 1 3 8V4Zm2 1v2.586l5.707 5.707A1 1 0 0 1 11 14v5.72l2-.5V14a1 1 0 0 1 .293-.707L19 7.586V5H5Z”})),ff=(0,zr.createSinglePathSVG)({path:”M11.1 2a1 1 0 0 0-.832.445L8.851 4.57 6.6 4.05a1 1 0 0 0-.932.268l-1.35 1.35a1 1 0 0 0-.267.932l.52 2.251-2.126 1.417A1 1 0 0 0 2 11.1v1.8a1 1 0 0 0 .445.832l2.125 1.417-.52 2.251a1 1 0 0 0 .268.932l1.35 1.35a1 1 0 0 0 .932.267l2.251-.52 1.417 2.126A1 1 0 0 0 11.1 22h1.8a1 1 0 0 0 .832-.445l1.417-2.125 2.251.52a1 1 0 0 0 .932-.268l1.35-1.35a1 1 0 0 0 .267-.932l-.52-2.251 2.126-1.417A1 1 0 0 0 22 12.9v-1.8a1 1 0 0 0-.445-.832L19.43 8.851l.52-2.251a1 1 0 0 0-.268-.932l-1.35-1.35a1 1 0 0 0-.932-.267l-2.251.52-1.417-2.126A1 1 0 0 0 12.9 2h-1.8Zm-.968 4.255L11.635 4h.73l1.503 2.255a1 1 0 0 0 1.057.42l2.385-.551.566.566-.55 2.385a1 1 0 0 0 .42 1.057L20 11.635v.73l-2.255 1.503a1 1 0 0 0-.42 1.057l.551 2.385-.566.566-2.385-.55a1 1 0 0 0-1.057.42L12.365 20h-.73l-1.503-2.255a1 1 0 0 0-1.057-.42l-2.385.551-.566-.566.55-2.385a1 1 0 0 0-.42-1.057L4 12.365v-.73l2.255-1.503a1 1 0 0 0 .42-1.057L6.123 6.69l.566-.566 2.385.55a1 1 0 0 0 1.057-.42ZM8 12a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm4-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z”}),gf=(0,zr.createSinglePathSVG)({path:”M9.996 2.869A1.951 1.951 0 0 1 11.62 2h.76c.653 0 1.262.326 1.624.869l1.141 1.712 1.749-.404a1.951 1.951 0 0 1 1.819.522l.588.589c.476.475.673 1.162.522 1.818l-.404 1.749 1.712 1.141c.543.362.869.971.869 1.624v.76c0 .653-.326 1.262-.869 1.624l-1.712 1.141.404 1.749a1.951 1.951 0 0 1-.522 1.819l-.588.588a1.951 1.951 0 0 1-1.819.522l-1.749-.404-1.141 1.712A1.951 1.951 0 0 1 12.38 22h-.76a1.951 1.951 0 0 1-1.624-.869L8.855 19.42l-1.749.404a1.951 1.951 0 0 1-1.818-.522l-.59-.588a1.951 1.951 0 0 1-.52-1.819l.403-1.749-1.712-1.141A1.951 1.951 0 0 1 2 12.38v-.76c0-.653.326-1.262.869-1.624L4.58 8.855l-.404-1.749A1.951 1.951 0 0 1 4.7 5.288l.589-.59a1.951 1.951 0 0 1 1.818-.52l1.749.403 1.141-1.712ZM8.5 12a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z”});var xf=o(29596),_f=o(98174);let yf=({post:t,postFeedContext:s,postReqId:o,record:n,richText:r,threadgateRecord:l,onShowLess:c,logContext:d})=>{const{hasSession:u,currentAccount:m}=(0,Lt.useSession)(),{_:h}=(0,ut.useLingui)(),p=(0,_t.useLanguagePrefs)(),{mutateAsync:f}=(0,pp.usePostDeleteMutation)(),{mutateAsync:g,isPending:x}=function(){const{_:t}=(0,ut.useLingui)(),{currentAccount:s}=(0,Lt.useSession)(),o=(0,Lt.useAgent)(),n=(0,wn.useQueryClient)(),{mutateAsync:a}=(0,At.useProfileUpdateMutation)();return(0,no.useMutation)({mutationFn:async({postUri:r,postCid:i,action:l})=>{const c=”pin”===l;let d;try{if((0,ka.updatePostShadow)(n,r,{pinned:c}),!s)throw new Error(“Not signed in”);const{data:e}=await o.getProfile({actor:s.did});d=e.pinnedPost?.uri,d&&d!==r&&(0,ka.updatePostShadow)(n,d,{pinned:!1}),await a({profile:e,updates:e=>(e.pinnedPost=c?{uri:r,cid:i}:void 0,e),checkCommitted:e=>c?e.data.pinnedPost?.uri===r:!e.data.pinnedPost}),c?ws.show(t({id:”mMWAgA”})):ws.show(t({id:”LQ0OnR”})),n.invalidateQueries({queryKey:(0,Nr.RQKEY)(`author|${s.did}|posts_and_author_threads`)}),n.invalidateQueries({queryKey:(0,Nr.RQKEY)(`author|${s.did}|posts_with_replies`)})}catch(e){ws.show(t({id:”0nCj3X”})),vt.logger.error(“Failed to pin post”,{message:String(e)}),(0,ka.updatePostShadow)(n,r,{pinned:!c}),d&&d!==r&&(0,ka.updatePostShadow)(n,d,{pinned:!0})}}})}(),_=(0,Lt.useRequireAuth)(),y=(0,_t.useHiddenPosts)(),{hidePost:b}=(0,_t.useHiddenPostsApi)(),j=Ig(),v=(0,Wn.useOpenLink)(),S=ja(),w=(0,Ps.useNavigation)(),{mutedWordsDialogControl:T}=(0,Os.useGlobalDialogsControlContext)(),k=(0,Ms.useDialogControl)(),C=(0,_f.useReportDialogControl)(),P=(0,Ms.useDialogControl)(),A=(0,Ms.useDialogControl)(),I=(0,Ms.useDialogControl)(),L=(0,Ms.useDialogControl)(),R=(0,Ms.useDialogControl)(),{mutateAsync:E}=(0,Vd.useToggleReplyVisibilityMutation)(),D=t.uri,B=t.cid,M=(0,Ca.useProfileShadow)(t.author),O=(0,ct.useMemo)((()=>{if(m&&t.embed)return function({viewerDid:e,post:t}){if(Sn.AppBskyEmbedRecord.isView(t.embed)){if(Sn.AppBskyEmbedRecord.isViewDetached(t.embed.record)){const s=new Sn.AtUri(t.embed.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!0}}if(Sn.AppBskyEmbedRecord.isViewRecord(t.embed.record)){const s=new Sn.AtUri(t.embed.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!1}}}else if(Sn.AppBskyEmbedRecordWithMedia.isView(t.embed)){if(Sn.AppBskyEmbedRecord.isViewDetached(t.embed.record.record)){const s=new Sn.AtUri(t.embed.record.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!0}}if(Sn.AppBskyEmbedRecord.isViewRecord(t.embed.record.record)){const s=new Sn.AtUri(t.embed.record.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!1}}}}({viewerDid:m.did,post:t})}),[t,m]),F=n.reply?.root?.uri||D,N=Boolean(n.reply),[H,z,V]=(0,pp.useThreadMuteMutationQueue)(t,F),U=y&&y.includes(D),G=M.did===m?.did,W=new Sn.AtUri(F).host===m?.did,q=(0,Ss.useMergedThreadgateHiddenReplies)({threadgateRecord:l}).has(D),Q=t.viewer?.pinned,{mutateAsync:K,isPending:Z}=function(){const e=(0,a.c)(7),t=(0,Lt.useAgent)(),s=(0,wn.useQueryClient)(),o=(0,pp.useGetPosts)(),n=ct.useRef(void 0);let r,i;return e[0]!==t||e[1]!==s?(r=async e=>{const{post:o,quoteUri:a,action:r}=e;n.current=o.embed,”detach”===r&&(0,ka.updatePostShadow)(s,o.uri,{embed:Nd({post:o,quote:void 0,quoteUri:a,detached:!0})}),await Gp({agent:t,postUri:a},(async e=>{if(e){if(“detach”===r)return Od(e,{detachedEmbeddingUris:[o.uri]});if(“reattach”===r)return Object.assign({},e,{detachedEmbeddingUris:e.detachedEmbeddingUris?.filter((e=>e!==o.uri))||[]})}else if(“detach”===r)return Md({post:a,detachedEmbeddingUris:[o.uri]})}))},e[0]=t,e[1]=s,e[2]=r):r=e[2],e[3]!==o||e[4]!==s||e[5]!==r?(i={mutationFn:r,async onSuccess(e,t){const{post:n,quoteUri:a,action:r}=t;if(“reattach”===r)try{const[e]=await o({uris:[a]});(0,ka.updatePostShadow)(s,n.uri,{embed:Nd({post:n,quote:e,quoteUri:void 0,detached:!1})})}catch(i){const e=i;vt.logger.error(“Postgate: failed to get quote post for re-attachment”,{safeMessage:e.message})}},onError(e,t){const{post:o,action:a}=t;”detach”===a&&n.current&&(Sn.AppBskyEmbedRecord.isView(n.current)||Sn.AppBskyEmbedRecordWithMedia.isView(n.current))&&(0,ka.updatePostShadow)(s,o.uri,{embed:n.current})},onSettled(){n.current=void 0}},e[3]=o,e[4]=s,e[5]=r,e[6]=i):i=e[6],(0,no.useMutation)(i)}(),[Y]=(0,At.useProfileBlockMutationQueue)(M),[$,X]=(0,At.useProfileMuteMutationQueue)(M),J=lf({postUri:t.uri,rootPostUri:F}),ee=(0,ct.useMemo)((()=>{const e=new Sn.AtUri(D);return(0,va.makeProfileLink)(M,”post”,e.rkey)}),[D,M]),te=!!M.labels?.find((e=>”!no-unauthenticated”===e.val)),se=async()=>{if(!O)return;const e=O.isDetached?”reattach”:”detach”,s=”detach”===e;try{await K({post:t,quoteUri:O.uri,action:O.isDetached?”reattach”:”detach”}),ws.show(h(s?{id:”fj6x97″}:{id:”6ZPdY1″}))}catch(o){ws.show(h({id:”JNBh/n”})),vt.logger.error(`Failed to ${e} quote`,{safeMessage:o.message})}},oe=!G&&!U,ne=!G&&W&&!U&&N,ae=O&&O.isOwnedByViewer,re=async()=>{if(!ne)return;const e=q?”show”:”hide”,t=”hide”===e;try{await E({postUri:F,replyUri:D,action:e}),t&&(0,ht.logEvent)(“thread:click:hideReplyForEveryone”,{}),ws.show(h(t?{id:”MTaaPI”}:{id:”AF0xm8″}))}catch(s){s instanceof Vd.MaxHiddenRepliesError?ws.show(h({values:{MAX_HIDDEN_REPLIES:Vd.MAX_HIDDEN_REPLIES},id:”ErKt7C”})):s instanceof Vd.InvalidInteractionSettingsError?ws.show(h({id:”5ciUVU”})):(ws.show(h({id:”Ron617″})),vt.logger.error(`Failed to ${e} reply`,{safeMessage:s.message}))}},ie=(0,ht.useGate)(),le=i.IS_INTERNAL||kt.DISCOVER_DEBUG_DIDS[m?.did||””]||ie(“debug_show_feedcontext”);return(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsxs)(Fp.Outer,{children:[G&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Group,{children:(0,bt.jsxs)(Fp.Item,{testID:”pinPostBtn”,label:h(Q?{id:”XQMQZw”}:{id:”QFR1aH”}),disabled:x,onPress:()=>{(0,ht.logEvent)(Q?”post:unpin”:”post:pin”,{}),g({postUri:D,postCid:B,action:Q?”unpin”:”pin”})},children:[(0,bt.jsx)(Fp.ItemText,{children:h(Q?{id:”XQMQZw”}:{id:”QFR1aH”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:x?$s.Loader:Ei,position:”right”})]})}),(0,bt.jsx)(Fp.Divider,{})]}),(0,bt.jsx)(Fp.Group,{children:!te||u?(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsxs)(Fp.Item,{testID:”postDropdownTranslateBtn”,label:h({id:”pi8x/S”}),onPress:()=>{S(n.text,p.primaryLanguage),Rc.dangerousIsType(t.record,Sn.AppBskyFeedPost.isRecord)&&vt.logger.metric(“translate”,{sourceLanguages:t.record.langs??[],targetLanguage:p.primaryLanguage,textLength:t.record.text.length},{statsig:!1})},children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”pi8x/S”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:Vr,position:”right”})]}),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownCopyTextBtn”,label:h({id:”iQgJaz”}),onPress:()=>{const e=Hp(r,!0);Np.setStringAsync(e),ws.show(h({id:”FxVG/l”}),”clipboard-check”)},children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”iQgJaz”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:uf,position:”right”})]})]}):(0,bt.jsxs)(Fp.Item,{testID:”postDropdownSignInBtn”,label:h({id:”mz9TJF”}),onPress:()=>_((()=>{})),children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”mz9TJF”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:hf,position:”right”})]})}),u&&j.enabled&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Divider,{}),(0,bt.jsxs)(Fp.Group,{children:[(0,bt.jsxs)(Fp.Item,{testID:”postDropdownShowMoreBtn”,label:h({id:”jW1hzq”}),onPress:()=>{j.sendInteraction({event:”app.bsky.feed.defs#requestMore”,item:D,feedContext:s,reqId:o}),vt.logger.metric(“post:showMore”,{uri:D,authorDid:M.did,logContext:d,feedDescriptor:j.feedDescriptor}),ws.show(h({id:”f9Bcg5″}))},children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”jW1hzq”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:mf.EmojiSmile_Stroke2_Corner0_Rounded,position:”right”})]}),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownShowLessBtn”,label:h({id:”CQ/J8K”}),onPress:()=>{j.sendInteraction({event:”app.bsky.feed.defs#requestLess”,item:D,feedContext:s,reqId:o}),vt.logger.metric(“post:showLess”,{uri:D,authorDid:M.did,logContext:d,feedDescriptor:j.feedDescriptor}),c?c({item:D,feedContext:s}):ws.show(h({id:”f9Bcg5″}))},children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”CQ/J8K”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:mf.EmojiSad_Stroke2_Corner0_Rounded,position:”right”})]})]})]}),le&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Divider,{}),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownReportMisclassificationBtn”,label:h({id:”SjjKyj”}),onPress:()=>{const e=`https://docs.google.com/forms/d/e/1FAIpQLSd0QPqhNFksDQf1YyOos7r1ofCLvmrKAH1lU042TaS3GAZaWQ/viewform?entry.1756031717=${(0,Ct.toShareUrl)(ee)}`;v(e)},children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”SjjKyj”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:df,position:”right”})]})]}),u&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Divider,{}),(0,bt.jsxs)(Fp.Group,{children:[(0,bt.jsxs)(Fp.Item,{testID:”postDropdownMuteThreadBtn”,label:h(H?{id:”s12/Py”}:{id:”jq7SjD”}),onPress:()=>{try{H?(V(),vt.logger.metric(“post:unmute”,{uri:D,authorDid:M.did,logContext:d,feedDescriptor:j.feedDescriptor}),ws.show(h({id:”pVj+Jp”}))):(z(),vt.logger.metric(“post:mute”,{uri:D,authorDid:M.did,logContext:d,feedDescriptor:j.feedDescriptor}),ws.show(h({id:”L1+K6L”})))}catch(e){“AbortError”!==e?.name&&(vt.logger.error(“Failed to toggle thread mute”,{message:e}),ws.show(h({id:”ZfARMq”}),”xmark”))}},children:[(0,bt.jsx)(Fp.ItemText,{children:h(H?{id:”s12/Py”}:{id:”jq7SjD”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:H?Sh:vh.Mute_Stroke2_Corner0_Rounded,position:”right”})]}),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownMuteWordsBtn”,label:h({id:”SLpzWX”}),onPress:()=>T.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”SLpzWX”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:pf,position:”right”})]})]})]}),u&&(ne||ae||oe)&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Divider,{}),(0,bt.jsxs)(Fp.Group,{children:[oe&&(0,bt.jsxs)(Fp.Item,{testID:”postDropdownHideBtn”,label:h(N?{id:”Q8z5/C”}:{id:”vcb5vM”}),onPress:()=>A.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h(N?{id:”Q8z5/C”}:{id:”vcb5vM”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:vc.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]}),ne&&(0,bt.jsxs)(Fp.Item,{testID:”postDropdownHideBtn”,label:h(q?{id:”TPZXdh”}:{id:”pJwDYA”}),onPress:q?re:()=>R.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h(q?{id:”TPZXdh”}:{id:”pJwDYA”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:q?hf:vc.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]}),ae&&(0,bt.jsxs)(Fp.Item,{disabled:Z,testID:”postDropdownHideBtn”,label:O.isDetached?h({id:”CA5w+T”}):h({id:”MGP2kL”}),onPress:O.isDetached?se:()=>L.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:O.isDetached?h({id:”CA5w+T”}):h({id:”MGP2kL”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:Z?$s.Loader:O.isDetached?hf:vc.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]})]})]}),u&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Fp.Divider,{}),(0,bt.jsxs)(Fp.Group,{children:[!G&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsxs)(Fp.Item,{testID:”postDropdownMuteBtn”,label:M.viewer?.muted?h({id:”tGvT9+”}):h({id:”BT9ocQ”}),onPress:async()=>{if(M.viewer?.muted)try{await X(),ws.show(h({id:”QU/XdG”}))}catch(e){“AbortError”!==e?.name&&(vt.logger.error(“Failed to unmute account”,{message:e}),ws.show(h({id:”HTQWov”,values:{0:e.toString()}}),”xmark”))}else try{await $(),ws.show(h({id:”qWVN11″}))}catch(t){“AbortError”!==t?.name&&(vt.logger.error(“Failed to mute account”,{message:t}),ws.show(h({id:”HTQWov”,values:{0:t.toString()}}),”xmark”))}},children:[(0,bt.jsx)(Fp.ItemText,{children:M.viewer?.muted?h({id:”tGvT9+”}):h({id:”BT9ocQ”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:M.viewer?.muted?Sh:vh.Mute_Stroke2_Corner0_Rounded,position:”right”})]}),!M.viewer?.blocking&&(0,bt.jsxs)(Fp.Item,{testID:”postDropdownBlockBtn”,label:h({id:”ERffXY”}),onPress:()=>k.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”ERffXY”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:Jl.PersonX_Stroke2_Corner0_Rounded,position:”right”})]}),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownReportBtn”,label:h({id:”6IcSvC”}),onPress:()=>C.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”6IcSvC”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:xf.Warning_Stroke2_Corner0_Rounded,position:”right”})]})]}),G&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsxs)(Fp.Item,Object.assign({testID:”postDropdownEditPostInteractions”,label:h({id:”8I6lte”}),onPress:()=>I.open()},G?{onHoverIn:J}:{},{children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”8I6lte”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:ff,position:”right”})]})),(0,bt.jsxs)(Fp.Item,{testID:”postDropdownDeleteBtn”,label:h({id:”04G5Az”}),onPress:()=>P.open(),children:[(0,bt.jsx)(Fp.ItemText,{children:h({id:”04G5Az”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:$i.Trash_Stroke2_Corner0_Rounded,position:”right”})]})]})]})]})]}),(0,bt.jsx)(Bi.Basic,{control:P,title:h({id:”FbPNuJ”}),description:h({id:”2QY2bw”}),onConfirm:()=>{f({uri:D}).then((()=>{ws.show(h({id:”vD6zF/”}));const e=Bn(w.getState());if(“PostThread”===e.name){const t=e.params;if(m&&G&&(t.name===m.handle||t.name===m.did)){(0,va.makeProfileLink)(M,”post”,t.rkey)===ee&&w.canGoBack()&&w.goBack()}}}),(e=>{vt.logger.error(“Failed to delete post”,{message:e}),ws.show(h({id:”ytX9qK”}),”xmark”)}))},confirmButtonCta:h({id:”cnGeoo”}),confirmButtonColor:”negative”}),(0,bt.jsx)(Bi.Basic,{control:A,title:h(N?{id:”OzKITz”}:{id:”e0QoQq”}),description:h({id:”V+UxdB”}),onConfirm:()=>{b({uri:D}),(0,ht.logEvent)(“thread:click:hideReplyForMe”,{})},confirmButtonCta:h({id:”vLyv1R”})}),(0,bt.jsx)(_f.ReportDialog,{control:C,subject:Object.assign({},t,{$type:”app.bsky.feed.defs#postView”})}),(0,bt.jsx)(of,{control:I,postUri:t.uri,rootPostUri:F,initialThreadgateView:t.threadgate}),(0,bt.jsx)(Bi.Basic,{control:L,title:h({id:”78rGCh”}),description:h({id:”M71yBf”}),onConfirm:se,confirmButtonCta:h({id:”/2cecn”})}),(0,bt.jsx)(Bi.Basic,{control:R,title:h({id:”OzKITz”}),description:h({id:”qOLU3K”}),onConfirm:re,confirmButtonCta:h({id:”4as9PU”})}),(0,bt.jsx)(Bi.Basic,{control:k,title:h({id:”9CjDMy”}),description:h({id:”HG4qt4″}),onConfirm:async()=>{try{await Y(),ws.show(h({id:”ZJdD7R”}))}catch(e){“AbortError”!==e?.name&&(vt.logger.error(“Failed to block account”,{message:e}),ws.show(h({id:”HTQWov”,values:{0:e.toString()}}),”xmark”))}},confirmButtonCta:h({id:”CJkEfx”}),confirmButtonColor:”negative”})]})};yf=(0,ct.memo)(yf);let bf=e=>{const t=(0,a.c)(26),{testID:s,post:o,postFeedContext:n,postReqId:r,big:i,record:l,richText:c,timestamp:d,threadgateRecord:u,onShowLess:m,hitSlop:h,logContext:p}=e,{_:f}=(0,ut.useLingui)(),g=(0,Fp.useMenuControl)(),[x,_]=(0,ct.useState)(!1);let y;t[0]!==g?(y=Object.assign({},g,{open(){_(!0),setTimeout(g.open)}}),t[0]=g,t[1]=y):y=t[1];const b=y;let j,v,S,w,T;return t[2]!==f?(j=f({id:”BJ5/tY”}),t[2]=f,t[3]=j):j=t[3],t[4]!==i||t[5]!==h?(v=e=>{const{props:t}=e;return(0,bt.jsx)(Dp,Object.assign({testID:”postDropdownBtn”,big:i,label:t.accessibilityLabel},t,{hitSlop:h,children:(0,bt.jsx)(Bp,{icon:yd})}))},t[4]=i,t[5]=h,t[6]=v):v=t[6],t[7]!==j||t[8]!==v?(S=(0,bt.jsx)(Fp.Trigger,{label:j,children:v}),t[7]=j,t[8]=v,t[9]=S):S=t[9],t[10]!==x||t[11]!==p||t[12]!==m||t[13]!==o||t[14]!==n||t[15]!==r||t[16]!==l||t[17]!==c||t[18]!==s||t[19]!==u||t[20]!==d?(w=x&&(0,bt.jsx)(yf,{testID:s,post:o,postFeedContext:n,postReqId:r,record:l,richText:c,timestamp:d,threadgateRecord:u,onShowLess:m,logContext:p}),t[10]=x,t[11]=p,t[12]=m,t[13]=o,t[14]=n,t[15]=r,t[16]=l,t[17]=c,t[18]=s,t[19]=u,t[20]=d,t[21]=w):w=t[21],t[22]!==b||t[23]!==S||t[24]!==w?(T=(0,bt.jsx)(dm,{onKeyDown:!1,children:(0,bt.jsxs)(Fp.Root,{control:b,children:[S,w]})}),t[22]=b,t[23]=S,t[24]=w,t[25]=T):T=t[25],T};bf=(0,ct.memo)(bf);const jf=e=>{const t=(0,a.c)(12),{isReposted:s,repostCount:o,onRepost:n,onQuote:r,big:i,embeddingDisabled:l}=e,c=(0,Bs.useTheme)(),{_:d}=(0,ut.useLingui)(),{hasSession:u}=(0,Lt.useSession)(),m=(0,Lt.useRequireAuth)(),h=sp();let p;return t[0]!==d||t[1]!==i||t[2]!==l||t[3]!==h||t[4]!==u||t[5]!==s||t[6]!==r||t[7]!==n||t[8]!==o||t[9]!==m||t[10]!==c.palette.positive_500?(p=u?(0,bt.jsx)(dm,{onKeyDown:!1,children:(0,bt.jsxs)(Fp.Root,{children:[(0,bt.jsx)(Fp.Trigger,{label:d({id:”JOV5dR”}),children:e=>{const{props:t}=e;return(0,bt.jsxs)(Dp,Object.assign({testID:”repostBtn”,active:s,activeColor:c.palette.positive_500,label:t.accessibilityLabel,big:i},t,{children:[(0,bt.jsx)(Bp,{icon:Zr}),”undefined”!==typeof o&&o>0&&(0,bt.jsx)(Mp,{testID:”repostCount”,children:h(o)})]}))}}),(0,bt.jsxs)(Fp.Outer,{style:{minWidth:170},children:[(0,bt.jsxs)(Fp.Item,{label:d(s?{id:”6pYY4t”}:{id:”4yzs8i”}),testID:”repostDropdownRepostBtn”,onPress:n,children:[(0,bt.jsx)(Fp.ItemText,{children:d(s?{id:”6pYY4t”}:{id:”4yzs8i”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:Zr,position:”right”})]}),(0,bt.jsxs)(Fp.Item,{disabled:l,label:d(l?{id:”ttKDoG”}:{id:”8HFFRQ”}),testID:”repostDropdownQuoteBtn”,onPress:r,children:[(0,bt.jsx)(Fp.ItemText,{children:d(l?{id:”ttKDoG”}:{id:”8HFFRQ”})}),(0,bt.jsx)(Fp.ItemIcon,{icon:$p,position:”right”})]})]})]})}):(0,bt.jsxs)(Dp,{onPress:()=>m(vf),active:s,activeColor:c.palette.positive_500,label:d({id:”JOV5dR”}),big:i,children:[(0,bt.jsx)(Bp,{icon:Zr}),”undefined”!==typeof o&&o>0&&(0,bt.jsx)(Mp,{testID:”repostCount”,children:h(o)})]}),t[0]=d,t[1]=i,t[2]=l,t[3]=h,t[4]=u,t[5]=s,t[6]=r,t[7]=n,t[8]=o,t[9]=m,t[10]=c.palette.positive_500,t[11]=p):p=t[11],p};function vf(){}(0,zr.createSinglePathSVG)({path:”M12.707 3.293a1 1 0 0 0-1.414 0l-4.5 4.5a1 1 0 0 0 1.414 1.414L11 6.414v8.836a1 1 0 1 0 2 0V6.414l2.793 2.793a1 1 0 1 0 1.414-1.414l-4.5-4.5ZM5 12.75a1 1 0 1 0-2 0V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-7.25a1 1 0 1 0-2 0V19H5v-6.25Z”});const Sf=(0,zr.createSinglePathSVG)({path:”M20 13.75a1 1 0 0 1 1 1V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3.25a1 1 0 1 1 2 0V18a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3.25a1 1 0 0 1 1-1ZM12 3a1 1 0 0 1 .707.293l4.5 4.5a1 1 0 1 1-1.414 1.414L13 6.414v8.836a1 1 0 1 1-2 0V6.414L8.207 9.207a1 1 0 1 1-1.414-1.414l4.5-4.5A1 1 0 0 1 12 3Z”}),wf=(0,zr.createSinglePathSVG)({path:”M11.839 4.744c0-1.488 1.724-2.277 2.846-1.364l.107.094 7.66 7.256.128.134c.558.652.558 1.62 0 2.272l-.128.135-7.66 7.255c-1.115 1.057-2.953.267-2.953-1.27v-2.748c-3.503.055-5.417.41-6.592.97-.997.474-1.525 1.122-2.084 2.14l-.243.46c-.558 1.088-2.09.583-2.08-.515l.015-.748c.111-3.68.777-6.5 2.546-8.415 1.83-1.98 4.63-2.771 8.438-2.884V4.744Zm2 3.256c0 .79-.604 1.41-1.341 1.494l-.149.01c-3.9.057-6.147.813-7.48 2.254-.963 1.043-1.562 2.566-1.842 4.79.38-.327.826-.622 1.361-.877 1.656-.788 4.08-1.14 7.938-1.169l.153.007c.754.071 1.36.704 1.36 1.491v2.675L20.884 12l-7.045-6.676V8Z”});var Tf=o(99363);const kf=(0,zr.createSinglePathSVG)({path:”M14.242 3.03a1 1 0 0 1 .728 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414L3.414 12l3.293 3.293a1 1 0 1 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 1 1-1.414-1.414L20.586 12l-3.293-3.293a1 1 0 0 1 0-1.414Z”}),Cf=(0,zr.createSinglePathSVG)({path:”M14.243 3.03a1 1 0 0 1 .727 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414l-2.586 2.586a1 1 0 0 0 0 1.414l2.586 2.586a1 1 0 1 1-1.414 1.414l-2.586-2.586a3 3 0 0 1 0-4.242l2.586-2.586a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l2.586 2.586a3 3 0 0 1 0 4.242l-2.586 2.586a1 1 0 1 1-1.414-1.414l2.586-2.586a1 1 0 0 0 0-1.414l-2.586-2.586a1 1 0 0 1 0-1.414Z”}),Pf=[“control”];let Af=e=>{const t=(0,a.c)(9);let s,o,n,r,i;if(t[0]!==e){var l=e;({control:s}=l),o=(0,Vn.default)(l,Pf),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,bt.jsx)(Ms.Handle,{}),t[3]=n):n=t[3],t[4]!==o?(r=(0,bt.jsx)(If,Object.assign({},o)),t[4]=o,t[5]=r):r=t[5],t[6]!==s||t[7]!==r?(i=(0,bt.jsxs)(Ms.Outer,{control:s,children:[n,r]}),t[6]=s,t[7]=r,t[8]=i):i=t[8],i};function If(e){const t=(0,a.c)(70),{postAuthor:s,postCid:o,postUri:n,record:r,timestamp:i}=e,l=(0,Bs.useTheme)(),{_:c,i18n:d}=(0,ut.useLingui)(),[u,m]=(0,ct.useState)(!1),[h,p]=(0,ct.useState)(!1),[f,g]=(0,ct.useState)(“system”);let x,_;t[0]!==u?(x=()=>{if(u){const e=setTimeout((()=>{m(!1)}),2e3);return()=>clearTimeout(e)}},_=[u],t[0]=u,t[1]=x,t[2]=_):(x=t[1],_=t[2]),(0,ct.useEffect)(x,_);const y=function(e){return(0,Ct.toShareUrl)(e)+”?ref_src=embed”},b=r.langs&&r.langs.length>0?r.langs[0]:””,j=y([“/profile”,s.did].join(“/”)),v=new Sn.AtUri(n),S=y([“/profile”,s.did,”post”,v.rkey].join(“/”)),w=`

${Ef(r.text)}${r.embed?`

[image or embed]`:””}

— ${Ef(s.displayName||s.handle)} (@${Ef(s.handle)}) ${Ef((0,Ta.niceDate)(d,i))}