PageSourceSearch

https://colorid.es/packs/status_quoted-BMKCfRUs.js

js colorid.es collected 2026-10-02 13:11:12 UTC 101,118 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/packs/emoji_picker-DlK83LVc.js","/packs/client-By3tlFYA.js","/packs/short_number-C-iJYoWg.js","/packs/index-DYjD9pVn.js","/packs/numbers-BLyy7tyF.js","/packs/message-CorGC5Nl.js","/packs/getPrototypeOf-BevlG1Bl.js","/packs/relative_timestamp-nPzchtg7.js","/packs/ready-DpOgoWSg.js","/packs/useSelectableClick-qkezqrgs.js","/packs/index-DEFqtOkH.js","/packs/index-DUY7J2K7.js","/packs/skeleton-CwYXpOUk.js","/packs/api-Bnr9fJS7.js","/packs/index-D_KGj3r_.js","/packs/load_locale-DAGc-wwH.js","/packs/compose-index-DHwAcTEA.js","/packs/Helmet-DyPlp6f_.js","/packs/elephant_ui_plane-BHprlJ8c.js","/packs/home-fill-DNBue9xP.js","/packs/navigation_bar-DTMgLd7G.js","/packs/add-CwKQQXCf.js","/packs/settings-BcCxX16c.js","/packs/notifications-VKkytSO5.js","/packs/notifications-Bzhwe124.js","/packs/hashtags-DzknGX0V.js","/packs/icon_with_badge-pYNv19Sn.js","/packs/column-pGcIr7CI.js","/packs/scroll-BygYx8ga.js","/packs/column_header-B3n6CYJe.js","/packs/chevron_left-DzZE_XP0.js","/packs/unfold_more-_IYXF0de.js","/packs/search-gbanaPyY.js","/packs/compose_form_container-Cozgc00I.js","/packs/check_box-CJy25zzu.js","/packs/done-DbyGoR7c.js","/packs/react-textarea-autosize.browser.esm-APjTiWpG.js","/packs/use-isomorphic-layout-effect.browser.esm-Dkz8Egu6.js","/packs/link-3WscZHrQ.js","/packs/dropdown_selector-CkYi8Ggy.js","/packs/info-QqBjnBUf.js","/packs/emoji_picker_dropdown_container-B4sOr8L-.js","/packs/embedded_status_content-CMQMPo77.js","/packs/fuzzysort-BoxJb8QW.js","/packs/index-CKBgjt4U.js","/packs/counters-DP7Gp-kM.js","/packs/follow_button-gooBvCtG.js","/packs/verified_badge-BebEvXV6.js","/packs/edit-D8cys4hz.js","/packs/assets/compose_form_container-D8HBmaSh.css","/packs/notifications_v2-index-uYzwwf5k.js","/packs/isEqual-CnL_g8a7.js","/packs/index.module-BO_NChs4.js","/packs/not_signed_in_indicator-DrcaLYsS.js","/packs/load_gap-C6z4Fua9.js","/packs/scrollable_list-BtJWk7sF.js","/packs/index-Cy1cblGU.js","/packs/scroll_context-t0gDATEl.js","/packs/schedule_idle_task-DAoY4X5I.js","/packs/load_more-WkCtYyeK.js","/packs/inventory_2-B-Hkzp0s.js","/packs/push_notifications-index-Bm7euXKu.js","/packs/policy_controls-BKXoGESi.js","/packs/setting_toggle-Bq0NAjWj.js","/packs/index-uE06PkKR.js","/packs/insert_chart-CXPdfFRy.js","/packs/person_add-fill-DdpXHOp6.js","/packs/avatar_group-hknyt1St.js","/packs/embedded_status-XIV4OGP5.js","/packs/notifications_active-fill-1YRIVe7L.js","/packs/person_add-DBSQ9GYp.js","/packs/home_timeline-index-Dy7eSwof.js","/packs/campaign-BxhzaCof.js","/packs/status_list_container-DJ3ciHri.js","/packs/status_list-BcINqB16.js","/packs/gif-BqFXAZZZ.js","/packs/index-iX9NDLaR.js","/packs/public_timeline-index-D4gpXsj4.js","/packs/streaming-B_xlo5bY.js","/packs/community_timeline-index-TpdfFqAx.js","/packs/firehose-index-DxDRI1nS.js","/packs/hashtag_timeline-index-BvEv_BG7.js","/packs/tag-CX9yVoIT.js","/packs/direct_timeline-index-tNIKs51_.js","/packs/list_timeline-index-B1y1vcV1.js","/packs/delete-xa-qHxqO.js","/packs/list_alt-BRHmg98x.js","/packs/bundle_column_error-HNQrhzQ0.js","/packs/lists-index-BunmsIYN.js","/packs/squiggly_arrow-CjeARmta.js","/packs/lists-Ck9QjmSJ.js","/packs/status-index-B_eQkGGW.js","/packs/visibility_off-BxSVoeui.js","/packs/column-DsKMvjbz.js","/packs/detailed_status-DqAEzM7a.js","/packs/formatted_date-DV0Qq8YV.js","/packs/inline_account-BMvnLpzq.js","/packs/media_gallery-D1pRSwgX.js","/packs/no_alt_text_badge-BFAEwU0U.js","/packs/index-BsWmbwRp.js","/packs/getting_started-index-DYX_2FoB.js","/packs/index-CApJB1R7.js","/packs/use-gesture-react.esm-Bd2C7Wey.js","/packs/bookmarks-fill-CSZGfzFA.js","/packs/trending_up-CkVleVrK.js","/packs/hashtag-CGSsmwoA.js","/packs/index-C_3HmjFF.js","/packs/link_footer-T_W0-emR.js","/packs/keyboard_shortcuts-index-CVOAk1FR.js","/packs/pinned_statuses-index-BEr6ivNZ.js","/packs/push_pin-DCC8kYhT.js","/packs/account_timeline-index-DN7oSUJm.js","/packs/limited_account_hint-bk8jkccZ.js","/packs/familiar_followers-BovTMy75.js","/packs/person-xECVnLXy.js","/packs/content_copy-DNgqWQbp.js","/packs/remote_hint-C7wqD_LF.js","/packs/account_gallery-index-CPjZdXnc.js","/packs/useAccountVisibility-Dhp0Mlbb.js","/packs/account_featured-index-CBfDL_1r.js","/packs/followers-index-BcrA5_XD.js","/packs/following-index-ycNVZRAh.js","/packs/reblogs-index-C7yGv3kr.js","/packs/refresh-8btLS_Em.js","/packs/favourites-index-DU4M73Hx.js","/packs/quotes-index-BXgPqO-2.js","/packs/follow_requests-index-BiUz2Djo.js","/packs/favourited_statuses-index-DkX8CKzc.js","/packs/followed_tags-index-BcwHmpSv.js","/packs/bookmarked_statuses-index-O0ewNuED.js","/packs/blocks-index-BwfsvCh2.js","/packs/block-fill-YRWuah7e.js","/packs/domain_blocks-index-tMPu9ODq.js","/packs/mutes-index-CvkR-VCJ.js","/packs/volume_off-BwUfY_fj.js","/packs/mute_modal-DYwJFw0Y.js","/packs/radio_button-Ca_tqvFm.js","/packs/block_modal
1-DslCw3Or.js","/packs/domain_block_modal-D9ADlj_2.js","/packs/report_modal-CjTJbaKZ.js","/packs/option-ZmIrr9qi.js","/packs/media_attachments-DkdwSDXo.js","/packs/ignore_notifications_modal-BrikV93f.js","/packs/embed_modal-DqpqVFkn.js","/packs/useTimeout-ZjaJhK_D.js","/packs/list_adder-index-D8WJSEV6.js","/packs/index-gulMNRSw.js","/packs/directory-index-wkSGUw6C.js","/packs/useSearchParam-ZZu7iBBB.js","/packs/profile-BgGa8Bpx.js","/packs/onboarding-DM7b03ml.js","/packs/follows-DTvj2JO8.js","/packs/column_search_header-DbsFMYu7.js","/packs/compare_history_modal-DAnPi_PB.js","/packs/explore-index-BC0o1bgd.js","/packs/search-index-CivEKEco.js","/packs/filter_modal-mtUt5tKe.js","/packs/interaction_modal-index-FSsxMlpn.js","/packs/subscribed_languages_modal-index-C4wZPazL.js","/packs/closed_registrations_modal-index-DxOxyhQT.js","/packs/about-index-CM-wIb8M.js","/packs/server_hero_image-BarYRRQM.js","/packs/privacy_policy-index-D6QjJaoU.js","/packs/instance-Bwqo49cZ.js","/packs/terms_of_service-index-CaYO8SHS.js","/packs/requests-DqKyj3w_.js","/packs/request-BCfO83Ao.js","/packs/link_timeline-index-BENUG1Ab.js","/packs/annual_report_modal-Aozbv1Oi.js","/packs/new-DNC6Spi8.js","/packs/members-Dhk7bnt7.js"])))=>i.map(i=>d[i]);
2var ui=Object.defineProperty;var ci=(t,r,e)=>r in t?ui(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var v=(t,r,e)=>ci(t,typeof r!="symbol"?r+"":r,e);import{j as u,_ as b}from"./client-By3tlFYA.js";import{r as y,k as li,g as As,i as de,n as di,u as Vr,a as he,m as Yr,q as Jr,p as ea,w as hi,d as pi}from"./index-DYjD9pVn.js";import{as as _i,am as H,at as gi,L as fi,O as Ss,au as mi,av as Lr,u as pe,r as vi,a5 as G,aw as yi,w as Ps,j as Ur,ax as ta,ay as bi,a as K,az as ra,ar as aa,I as Z,S as qi,p as ks,aA as Ti,q as te,aB as Mi,aC as Ii,aD as Nr,aE as Ci,aF as xi,aG as Ri,aH as Ei,aI as Ai,aJ as Si,aK as Fr,aL as Pi,aM as ki,A as wi,aN as Oi,ad as Di,_ as ji,$ as Li,aO as Ni,aP as Fi,a1 as Hi,aQ as Bi,aR as Vi,aS as Ui,aT as Ki,aU as Gi,ak as Qi,aV as $i,aW as zi,aX as Zi,aY as Wi,aZ as Xi,ah as Yi,ae as Ji,a_ as eo,a$ as to,b0 as ro,b1 as ao,b2 as no,b3 as so,b4 as io,ai as oo,b5 as uo,b6 as co,g as lo,a0 as ho,b7 as po,b8 as _o}from"./useSelectableClick-qkezqrgs.js";import{M as S}from"./message-CorGC5Nl.js";import{a as Kr}from"./api-Bnr9fJS7.js";import{L as re,w as ws,P as f}from"./short_number-C-iJYoWg.js";import{c as B}from"./index-DEFqtOkH.js";import{r as _e,c as Gr,d as Q,f as ge,g as go,h as Os,i as fe,R as fo}from"./relative_timestamp-nPzchtg7.js";const mo="DOMAIN_BLOCK_REQUEST",vo="DOMAIN_BLOCK_FAIL",yo="DOMAIN_UNBLOCK_REQUEST",bo="DOMAIN_UNBLOCK_FAIL";function Ml(t){return(r,e)=>{r(qo(t)),Kr().post("/api/v1/domain_blocks",{domain:t}).then(()=>{const a="@"+t,n=e().get("accounts").filter(s=>s.get("acct").endsWith(a)).valueSeq().map(s=>s.get("id"));r(_i({domain:t,accounts:n}))}).catch(a=>{r(To(t,a))})}}function qo(t){return{type:mo,domain:t}}function To(t,r){return{type:vo,domain:t,error:r}}function Mo(t){return(r,e)=>{r(Io(t)),Kr().delete("/api/v1/domain_blocks",{params:{domain:t}}).then(()=>{const a="@"+t,n=e().get("accounts").filter(s=>s.get("acct").endsWith(a)).valueSeq().map(s=>s.get("id"));r(gi({domain:t,accounts:n}))}).catch(a=>{r(Co(t,a))})}}function Io(t){return{type:yo,domain:t}}function Co(t,r){return{type:bo,domain:t,error:r}}const xo=t=>r=>r(H({modalType:"DOMAIN_BLOCK",modalProps:{domain:t.get("acct").split("@")[1],acct:t.get("acct"),accountId:t.get("id")}}));function Ro(t){return"key"in t}function ce(t){const r=t.toLowerCase();switch(r){case" ":case"spacebar":return"space";case"arrowup":return"up";case"arrowdown":return"down";case"arrowleft":return"left";case"arrowright":return"right";case"esc":case"escape":return"escape";default:return r}}const me={singleKey:0,combo:1,sequence:2};function L(t){return r=>({isMatch:ce(r.key)===t&&!r.altKey&&!r.ctrlKey&&!r.metaKey,priority:me.singleKey})}function Ce(...t){return r=>({isMatch:t.some(e=>L(e)(r).isMatch),priority:me.singleKey})}function na(t){return r=>({isMatch:r.altKey&&r.code==="Key".concat(t.toUpperCase()),priority:me.combo})}function F(...t){return(r,e)=>{const a=t.at(-1),n=t.slice(0,-1),s=e==null?void 0:e.slice(-n.length);return{isMatch:!!s&&n.join("")===s.join("")&&ce(r.key)===a,priority:me.sequence}}}const sa={help:L("?"),search:Ce("s","/"),back:L("backspace"),new:L("n"),forceNew:na("n"),focusColumn:Ce("1","2","3","4","5","6","7","8","9"),focusLoadMore:L("l"),reply:L("r"),favourite:L("f"),boost:L("b"),quote:L("q"),mention:L("m"),open:Ce("enter","o"),openProfile:L("p"),moveDown:L("j"),moveUp:L("k"),toggleHidden:L("x"),toggleSensitive:L("h"),toggleComposeSpoilers:na("x"),openMedia:L("e"),onTranslate:L("t"),goToHome:F("g","h"),goToNotifications:F("g","n"),goToLocal:F("g","l"),goToFederated:F("g","t"),goToDirect:F("g","d"),goToStart:F("g","s"),goToFavourites:F("g","f"),goToPinned:F("g","p"),goToProfile:F("g","u"),goToBlocked:F("g","b"),goToMuted:F("g","m"),goToRequests:F("g","r"),cheat:F("up","up","down","down","left","right","left","right","b","a","enter")};function Eo(t){const r=y.useRef(null),e=y.useRef([]),a=y.useRef(null),n=y.useRef(t);return y.useEffect(()=>{n.current=t},[t]),y.useEffect(()=>{var o;const s=(o=r.current)!=null?o:document;function i(c){var h;const d=c.target.tagName.toLowerCase();if(Ro(c)&&!c.defaultPrevented&&!["input","textarea","select"].includes(d)&&!(["a","button"].includes(d)&&ce(c.key)==="enter")){const g=[];
2Object.keys(sa).forEach(R=>{const T=n.current[R],m=sa[R],{isMatch:l,priority:M}=m(c,e.current);l&&g.push({handler:T,priority:M})}),g.sort((R,T)=>T.priority-R.priority);const q=(h=g.at(0))==null?void 0:h.handler;q&&(q(c),c.stopPropagation(),c.preventDefault()),e.current.push(ce(c.key)),a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{e.current=[]},1e3)}}return s.addEventListener("keydown",i),()=>{s.removeEventListener("keydown",i),a.current&&clearTimeout(a.current)}},[]),r}const ia=({handlers:t,global:r,focusable:e=!0,children:a})=>{const n=Eo(t);return u.jsx("div",{ref:r?void 0:n,tabIndex:e?-1:void 0,children:a})},Ds=({href:t,text:r,prevText:e,hashtagAccountId:a,mention:n,className:s,children:i,...o})=>{if((r.startsWith("#")||e!=null&&e.endsWith("#")||r.startsWith("#")||e!=null&&e.endsWith("#"))&&!r.includes("%")){const c=r.slice(1).trim();return u.jsx(re,{className:B("mention hashtag",s),to:"/tags/".concat(encodeURIComponent(c)),rel:"tag","data-menu-hashtag":a,children:i})}else if(n)return u.jsx(re,{className:B("mention",s),to:"/@".concat(n.acct),title:"@".concat(n.acct),"data-hover-card-account":n.id,children:i});return t.startsWith("/")?u.jsx(re,{className:B("unhandled-link",s),to:t,children:i}):u.jsx("a",{...o,href:t,title:t,className:B("unhandled-link",s),target:"_blank",rel:"noopener",translate:"no",children:i})},Il=({hashtagAccountId:t,hrefToMention:r}={})=>({onElement:y.useCallback((a,{key:n,...s},i)=>{var o,c;if(a instanceof HTMLAnchorElement){const d=r==null?void 0:r(a.href);return y.createElement(Ds,{...s,key:n,href:a.href,text:a.innerText,prevText:(c=(o=a.previousSibling)==null?void 0:o.textContent)!=null?c:void 0,hashtagAccountId:t,mention:d},i)}},[t,r])}),js=({type:t="button",onClick:r,disabled:e,block:a,secondary:n,plain:s,compact:i,dangerous:o,loading:c,className:d,title:p,text:h,children:g,...q})=>{const R=y.useCallback(m=>{e||c?(m.stopPropagation(),m.preventDefault()):r&&r(m)},[e,c,r]),T=h!=null?h:g;return u.jsx("button",{className:B("button",d,{"button-secondary":n,"button--plain":s,"button--compact":i,"button--block":a,"button--dangerous":o,loading:c}),disabled:e&&!c,"aria-disabled":c,"aria-live":c!==void 0?"polite":void 0,onClick:R,title:p,type:t,...q,children:c?u.jsxs(u.Fragment,{children:[u.jsx("span",{className:"button__label-wrapper",children:T}),u.jsx(fi,{role:"none"})]}):T})},oa=()=>null,xe=()=>{},W=class W extends y.PureComponent{constructor(){super(...arguments);v(this,"state",{mod:void 0,forceRender:!1});v(this,"load",e=>{const{fetchComponent:a,onFetch:n,onFetchSuccess:s,onFetchFail:i,renderDelay:o}=e||this.props,c=W.cache.get(a);return a===void 0?(this.setState({mod:null}),Promise.resolve()):(n(),c?(this.setState({mod:c.default}),s(),Promise.resolve()):(this.setState({mod:void 0}),o!==0&&(this.timestamp=new Date,this.timeout=setTimeout(()=>this.setState({forceRender:!0}),o)),a().then(d=>{W.cache.set(a,d),this.setState({mod:d.default}),s()}).catch(d=>{this.setState({mod:null}),i(d)})))})}UNSAFE_componentWillMount(){this.load(this.props)}UNSAFE_componentWillReceiveProps(e){e.fetchComponent!==this.props.fetchComponent&&this.load(e)}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}render(){const{loading:e,error:a,children:n,renderDelay:s}=this.props,{mod:i,forceRender:o}=this.state,c=this.timestamp?new Date-this.timestamp:s;return i===void 0?c>=s||o?u.jsx(e,{}):null:i===null?u.jsx(a,{onRetry:this.load}):n(i)}};v(W,"defaultProps",{loading:oa,error:oa,renderDelay:0,onFetch:xe,onFetchSuccess:xe,onFetchFail:xe}),v(W,"cache",new Map);let ae=W;function Cl(){return b(()=>import("./emoji_picker-DlK83LVc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)}function xl(){return b(()=>import("./compose-index-DHwAcTEA.js"),__vite__mapDeps([16,1,3,17,2,4,5,18,19,20,10,21,22,23,9,7,8,11,12,13,14,15,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]),import.meta.url)}function Rl(){return b(()=>import("./notifications_v2-index-uYzwwf5k.js"),__vite__mapDeps([50,1,3,17,2,4,5,51,52,23,9,10,7,8,11,12,13,14,15,53,27,28,29,21,30,31,54,55,56,57,58,59,60,61,62,39,40,63,64,65,66,67,68,42,45,46,48,69,19,70]),import.meta.url)}function El(){return b(()=>
2import("./home_timeline-index-Dy7eSwof.js"),__vite__mapDeps([71,1,3,10,17,2,4,5,9,7,8,11,12,13,14,15,72,19,26,53,46,27,28,29,21,30,31,73,74,75,40,47,54,55,56,57,58,59,63,64,76,18,41]),import.meta.url)}function Al(){return b(()=>import("./public_timeline-index-D4gpXsj4.js"),__vite__mapDeps([77,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,78,27,28,29,21,30,31,73,74,75,40,46,47,54,55,56,57,58,59,63,64]),import.meta.url)}function Sl(){return b(()=>import("./community_timeline-index-TpdfFqAx.js"),__vite__mapDeps([79,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,78,27,28,29,21,30,31,73,74,75,40,46,47,54,55,56,57,58,59,63,64]),import.meta.url)}function Pl(){return b(()=>import("./firehose-index-DxDRI1nS.js"),__vite__mapDeps([80,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,78,27,28,29,21,30,31,63,64,73,74,75,40,46,47,54,55,56,57,58,59]),import.meta.url)}function kl(){return b(()=>import("./hashtag_timeline-index-BvEv_BG7.js"),__vite__mapDeps([81,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,51,82,78,27,28,29,21,30,31,73,74,75,40,46,47,54,55,56,57,58,59,6,37,64,63]),import.meta.url)}function wl(){return b(()=>import("./direct_timeline-index-tNIKs51_.js"),__vite__mapDeps([83,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,78,27,28,29,21,30,31,55,56,57,58,59,38]),import.meta.url)}function Ol(){return b(()=>import("./list_timeline-index-B1y1vcV1.js"),__vite__mapDeps([84,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,85,48,86,78,27,28,29,21,30,31,87,75,73,74,40,46,47,54,55,56,57,58,59]),import.meta.url)}function Dl(){return b(()=>import("./lists-index-BunmsIYN.js"),__vite__mapDeps([88,1,3,17,2,4,5,21,86,89,13,14,8,9,10,7,11,12,15,27,28,29,30,31,55,56,57,58,59,90]),import.meta.url)}function jl(){return b(()=>import("./status-index-B_eQkGGW.js"),__vite__mapDeps([91,1,2,3,4,5,10,17,7,8,9,11,12,13,14,15,92,56,57,87,27,28,75,29,21,30,31,93,94,95,96,97,98,58,52,99]),import.meta.url)}function Ll(){return b(()=>import("./getting_started-index-DYX_2FoB.js"),__vite__mapDeps([100,1,3,17,2,4,5,27,28,101,10,9,7,8,11,12,13,14,15,102,21,103,19,22,40,23,24,66,70,104,44,45,46,47,26,32,25,82,86,90,105,106,107]),import.meta.url)}function Nl(){return b(()=>import("./keyboard_shortcuts-index-CVOAk1FR.js"),__vite__mapDeps([108,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,40,27,28,29,21,30,31]),import.meta.url)}function Fl(){return b(()=>import("./pinned_statuses-index-BEr6ivNZ.js"),__vite__mapDeps([109,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,110,74,75,30,40,46,47,54,55,56,57,58,59,93,29,21,31,28]),import.meta.url)}function Hl(){return b(()=>import("./account_timeline-index-DN7oSUJm.js"),__vite__mapDeps([111,1,2,3,4,5,9,10,7,8,11,12,13,14,15,87,17,27,28,75,112,29,21,30,31,113,24,69,114,115,45,46,95,36,37,67,74,40,47,54,55,56,57,58,59,93,116,102,110]),import.meta.url)}function Bl(){return b(()=>import("./account_gallery-index-CPjZdXnc.js"),__vite__mapDeps([117,1,3,9,10,5,7,8,2,4,11,12,13,14,15,112,29,21,30,31,17,113,24,69,114,115,45,46,95,36,37,67,116,55,56,57,58,59,87,27,28,75,93,118,92,98]),import.meta.url)}function Vl(){return b(()=>import("./account_featured-index-CBfDL_1r.js"),__vite__mapDeps([119,1,3,2,4,5,9,10,7,8,11,12,13,14,15,44,45,46,47,112,29,21,30,31,17,113,24,69,114,115,95,36,37,67,116,87,27,28,75,93,118,105,106]),import.meta.url)}function Ul(){return b(()=>import("./followers-index-BcrA5_XD.js"),__vite__mapDeps([120,1,2,3,4,5,9,10,7,8,11,12,13,14,15,44,45,46,47,112,29,21,30,31,17,113,24,69,114,115,95,36,37,67,87,27,28,75,55,56,57,58,59,93]),import.meta.url)}function Kl(){return b(()=>import("./following-index-ycNVZRAh.js"),__vite__mapDeps([121,1,2,3,4,5,9,10,7,8,11,12,13,14,15,44,45,46,47,112,29,21,30,31,17,113,24,69,114,115,95,36,37,67,87,27,28,75,55,56,57,58,59,93]),import.meta.url)}function Gl(){return b(()=>import("./reblogs-index-C7yGv3kr.js"),__vite__mapDeps([122,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,123,44,45,46,47,29,21,30,31,55,56,57,58,59,93,28]),import.meta.url)}function Ql(){return b(()=>import("./favourites-index-DU4M73Hx.js"),__vite__mapDeps([124,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,123,44,45,46,47,29,21,30,31,55,56,57,58,59,93,28]),import.meta.url)}function $l(){return b(()=>import("./quotes-index-BXgPqO-2.js"),__vite__mapDeps([125,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,123,29,21,30,31,74,75,40,46,47,54,55,56,57,58,59,93,28]),import.meta.url)}function zl(){return b(()=>import("./follow_requests-index-BiUz2Djo.js"),__vite__mapDeps([126,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,70,55,56,57,58,59,93,29,21,30,31,28]),import.meta.url)}function Zl(){return b(()=>import("./favourited_statuses-index-DkX8CKzc.js"),__vite__mapDeps([127,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,27,28,29,21,30,31,74,75,40,46,47,54,55,56,57,58,59]),import.meta.url)}function Wl(){return b(()=>import("./followed_tags-index-BcwHmpSv.js"),__vite__mapDeps([128,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,82,27,28,29,21,30,31,105,106,55,56,57,58,59]),import.meta.url)}function Xl(){return b(()=>import("./bookmarked_statuses-index-O0ewNuED.js"),__vite__mapDeps([129,1,3,17,2,4,5,103,9,10,7,8,11,12,13,14,15,27,28,29,21,30,31,74,75,40,46,47,54,55,56,57,58,59]),import.meta.url)}function Yl(){return b(()=>import("./blocks-index-BwfsvCh2.js"),__vite__mapDeps([130,1,2,3,4,5,9,10,7,8,11,12,13,14,15,131,44,45,46,47,55,56,57,58,59,93,29,21,30,31,28]),import.meta.url)}function Jl(){return b(()=>import("./domain_blocks-index-tMPu9ODq.js"),__vite__mapDeps([132,1,3,17,2,4,5,131,13,14,8,27,28,29,10,21,30,9,7,11,12,15,31,55,56,57,58,59]),import.meta.url)}function ed(){return b(()=>import("./mutes-index-CvkR-VCJ.js"),__vite__mapDeps([133,1,2,3,4,5,17,9,10,7,8,11,12,13,14,15,134,44,45,46,47,55,56,57,58,59,93,29,21,30,31,28]),import.meta.url)}function td(){return b(()=>import("./mute_modal-DYwJFw0Y.js"),__vite__mapDeps([135,1,3,10,9,5,7,8,2,4,11,12,13,14,15,72,92,134,34,35,136]),import.meta.url)}function rd(){return b(()=>
2import("./block_modal-DslCw3Or.js"),__vite__mapDeps([137,1,3,10,9,5,7,8,2,4,11,12,13,14,15,72,92]),import.meta.url)}function ad(){return b(()=>import("./domain_block_modal-D9ADlj_2.js"),__vite__mapDeps([138,1,3,72,9,10,5,7,8,2,4,11,12,13,14,15,92]),import.meta.url)}function nd(){return b(()=>import("./report_modal-CjTJbaKZ.js"),__vite__mapDeps([139,1,2,3,4,5,9,10,7,8,11,12,13,14,15,140,35,64,141]),import.meta.url)}function sd(){return b(()=>import("./ignore_notifications_modal-BrikV93f.js"),__vite__mapDeps([142,1,3,9,10,5,7,8,2,4,11,12,13,14,15,60]),import.meta.url)}function Ao(){return b(()=>import("./media_gallery-D1pRSwgX.js"),__vite__mapDeps([97,1,3,10,9,5,7,8,2,4,11,12,13,14,15,98]),import.meta.url)}function So(){return b(()=>import("./useSelectableClick-qkezqrgs.js").then(t=>t.e_),__vite__mapDeps([9,3,1,10,5,7,8,2,4,11,12,13,14,15]),import.meta.url)}function id(){return b(()=>import("./embed_modal-DqpqVFkn.js"),__vite__mapDeps([143,1,3,9,10,5,7,8,2,4,11,12,13,14,15,115,144]),import.meta.url)}function od(){return b(()=>import("./list_adder-index-D8WJSEV6.js"),__vite__mapDeps([145,1,3,9,10,5,7,8,2,4,11,12,13,14,15,86,34,35,90]),import.meta.url)}function ud(){return b(()=>import("./index-gulMNRSw.js").then(t=>t.i),__vite__mapDeps([146,3,1]),import.meta.url)}function Po(){return b(()=>import("./useSelectableClick-qkezqrgs.js").then(t=>t.e$),__vite__mapDeps([9,3,1,10,5,7,8,2,4,11,12,13,14,15]),import.meta.url)}function cd(){return b(()=>import("./directory-index-wkSGUw6C.js"),__vite__mapDeps([147,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,27,28,29,21,30,31,59,136,56,57,148,46]),import.meta.url)}function ld(){return b(()=>import("./profile-BgGa8Bpx.js"),__vite__mapDeps([149,1,3,10,17,2,4,5,64,48,114,9,7,8,11,12,13,14,15,150,27,28,29,21,30,31]),import.meta.url)}function dd(){return b(()=>import("./follows-DTvj2JO8.js"),__vite__mapDeps([151,1,3,17,2,4,5,52,114,9,10,7,8,11,12,13,14,15,44,45,46,47,27,28,29,21,30,31,152,55,56,57,58,59]),import.meta.url)}function hd(){return b(()=>import("./compare_history_modal-DAnPi_PB.js"),__vite__mapDeps([153,1,3,9,10,5,7,8,2,4,11,12,13,14,15,96,141]),import.meta.url)}function pd(){return b(()=>import("./explore-index-BC0o1bgd.js"),__vite__mapDeps([154,1,3,17,2,4,5,104,27,28,29,10,21,30,9,7,8,11,12,13,14,15,31,32,25,46,74,75,40,47,54,55,56,57,58,59,105,106]),import.meta.url)}function _d(){return b(()=>import("./search-index-CivEKEco.js"),__vite__mapDeps([155,1,3,17,2,4,5,25,82,9,10,7,8,11,12,13,14,15,44,45,46,47,27,28,29,21,30,31,105,106,55,56,57,58,59,32,148]),import.meta.url)}function gd(){return b(()=>import("./filter_modal-mtUt5tKe.js"),__vite__mapDeps([156,1,2,3,4,5,9,10,7,8,11,12,13,14,15,43,21]),import.meta.url)}function fd(){return b(()=>import("./interaction_modal-index-FSsxMlpn.js"),__vite__mapDeps([157,1,3,10,52,9,5,7,8,2,4,11,12,13,14,15]),import.meta.url)}function md(){return b(()=>import("./subscribed_languages_modal-index-C4wZPazL.js"),__vite__mapDeps([158,1,2,3,4,5,9,10,7,8,11,12,13,14,15,140,35]),import.meta.url)}function vd(){return b(()=>import("./closed_registrations_modal-index-DxOxyhQT.js"),__vite__mapDeps([159,1,3,9,10,5,7,8,2,4,11,12,13,14,15]),import.meta.url)}function yd(){return b(()=>import("./about-index-CM-wIb8M.js"),__vite__mapDeps([160,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,44,45,46,47,27,28,161,107]),import.meta.url)}function bd(){return b(()=>import("./privacy_policy-index-D6QjJaoU.js"),__vite__mapDeps([162,1,3,17,2,4,5,163,13,14,8,27,28,95,12]),import.meta.url)}function qd(){return b(()=>import("./terms_of_service-index-CaYO8SHS.js"),__vite__mapDeps([164,1,3,17,2,4,5,163,13,14,8,27,28,87,10,75,9,7,11,12,15]),import.meta.url)}function Td(){return b(()=>import("./requests-DqKyj3w_.js"),__vite__mapDeps([165,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,62,39,40,60,34,35,27,28,29,21,30,31,55,56,57,58,59,85,63,64]),import.meta.url)}function Md(){return b(()=>import("./request-BCfO83Ao.js"),__vite__mapDeps([166,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,85,35,60,27,28,29,21,30,31,55,56,57,58,59,48,65,19,66,44,45,46,47]),import.meta.url)}function Id(){return b(()=>import("./link_timeline-index-BENUG1Ab.js"),__vite__mapDeps([167,1,3,17,2,4,5,104,9,10,7,8,11,12,13,14,15,27,28,29,21,30,31,73,74,75,40,46,47,54,55,56,57,58,59]),import.meta.url)}function Cd(){return b(()=>import("./annual_report_modal-Aozbv1Oi.js"),__vite__mapDeps([168,1,3,9,10,5,7,8,2,4,11,12,13,14,15,106,94,95,96,97,98,58]),import.meta.url)}function xd(){return b(()=>import("./new-DNC6Spi8.js"),__vite__mapDeps([169,1,3,17,2,4,5,9,10,7,8,11,12,13,14,15,64,86,67,27,28,29,21,30,31,170,52,89,152,45,55,56,57,58,59,47]),import.meta.url)}function Rd(){return b(()=>import("./members-Dhk7bnt7.js"),__vite__mapDeps([170,1,3,17,2,4,5,52,86,89,9,10,7,8,11,12,13,14,15,27,28,29,21,30,31,152,45,55,56,57,58,59,47]),import.meta.url)}const Ls=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z"})),ko=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q
2-54 54-127 85.5T480-80Z"})),wo=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"m770-302-60-62q40-11 65-42.5t25-73.5q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 57-29.5 105T770-302ZM634-440l-80-80h86v80h-6ZM792-56 56-792l56-56 736 736-56 56ZM440-280H280q-83 0-141.5-58.5T80-480q0-69 42-123t108-71l74 74h-24q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h65l79 80H320Z"})),Oo=({children:t})=>{const r=y.useId(),[e,a]=y.useState(!1),n=y.useRef(null),s=y.useCallback(()=>{a(!e)},[e,a]);return u.jsxs(u.Fragment,{children:[u.jsx("button",{className:"link-button",ref:n,onClick:s,"aria-expanded":e,"aria-controls":r,children:u.jsx(S,{id:"learn_more_link.learn_more",defaultMessage:"Learn more"})}),u.jsx(Ss,{show:e,rootClose:!0,onHide:s,offset:[5,5],placement:"bottom-end",target:n,children:({props:i})=>u.jsxs("div",{...i,role:"region",id:r,className:"account__domain-pill__popout learn-more__popout dropdown-animation",children:[u.jsx("div",{className:"learn-more__popout__content",children:t}),u.jsx("div",{children:u.jsx("button",{className:"link-button",onClick:s,children:u.jsx(S,{id:"learn_more_link.got_it",defaultMessage:"Got it"})})})]})})]})},Do="REPORT_SUBMIT_REQUEST",jo="REPORT_SUBMIT_SUCCESS",Lo="REPORT_SUBMIT_FAIL",No=(t,r)=>e=>e(H({modalType:"REPORT",modalProps:{accountId:t.get("id"),statusId:r==null?void 0:r.get("id")}})),Ed=(t,r,e)=>a=>{a(Fo()),Kr().post("/api/v1/reports",t).then(n=>{a(Ho(n.data)),r&&r()}).catch(n=>{a(Bo(n)),e&&e()})},Fo=()=>({type:Do}),Ho=t=>({type:jo,report:t}),Bo=t=>({type:Lo,error:t}),Ns=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480v58q0 59-40.5 100.5T740-280q-35 0-66-15t-52-43q-29 29-65.5 43.5T480-280q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480v58q0 26 17 44t43 18q26 0 43-18t17-44v-58q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93h200v80H480Zm0-280q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Z"}));var Qr=(t=>(t.Warning="warning",t.Filter="filter",t))(Qr||{});const Vo=t=>{t.stopPropagation()},Fs=({children:t,variant:r,expanded:e,onClick:a})=>{const n=y.useId(),s=y.useRef(null),i=y.useCallback(o=>{s.current&&o.target!==s.current&&!s.current.contains(o.target)&&(s.current.click(),s.current.focus())},[]);return u.jsxs(mi,{className:r==="warning"?"content-warning":"content-warning content-warning--filter",onClick:i,onMouseUp:Vo,children:[u.jsx("p",{id:n,children:t}),u.jsx("button",{ref:s,type:"button",className:"link-button",onClick:a,"aria-describedby":n,children:e?u.jsx(S,{id:"content_warning.hide",defaultMessage:"Hide post"}):r==="warning"?u.jsx(S,{id:"content_warning.show_more",defaultMessage:"Show more"}):u.jsx(S,{id:"content_warning.show",defaultMessage:"Show anyway"})})]})},Uo=({status:t,expanded:r,onClick:e})=>{if(!!!t.get("spoiler_text"))return null;const n=t.getIn(["translation","spoilerHtml"])||t.get("spoilerHtml");return typeof n!="string"||n.length===0?null:u.jsx(Fs,{expanded:r,onClick:e,variant:Qr.Warning,children:u.jsx(Lr,{as:"span",htmlString:n,extraEmojis:t.get("emojis")})})},Ko=({title:t,expanded:r,onClick:e})=>u.jsx(Fs,{expanded:r,onClick:e,variant:Qr.Filter,children:u.jsx(S,{id:"filter_warning.matches_filter",defaultMessage:"Matches filter “<span>{title}</span>”",values:{title:t,span:a=>u.jsx("span",{className:"filter-name",children:a})}})}),Go=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-280h80v280h640v-480H440v-80h360q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm523-140 57-57-124-123h104v-80H480v240h80v-103l123 123ZM80-600v-200h280v200H80Zm400 120Z"})),Qo=({aspectRatio:t})=>{const r=pe(),e=y.useCallback(()=>{r(vi())},[r]),a=y.useCallback(n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),n.stopPropagation(),e())},[e]);return u.jsxs("div",{className:"picture-in-picture-placeholder",style:{aspectRatio:t},role:"button",tabIndex:0,onClick:e,onKeyDownCapture:a,children:[u.jsx(G,{id:"",icon:Go}),u.jsx(S,{id:"picture_in_picture.restore",defaultMessage:"Put it back"})]})}
2,Hs=y.createContext({hideMediaByDefault:!1}),Ad=({hideMediaByDefault:t,children:r})=>{const e=y.useMemo(()=>({hideMediaByDefault:t}),[t]);return u.jsx(Hs.Provider,{value:e,children:r})},$o=({account:t,friend:r,size:e=46,baseSize:a=36,overlaySize:n=24})=>{const{hovering:s,handleMouseEnter:i,handleMouseLeave:o}=yi(li),c=s?t==null?void 0:t.get("avatar"):t==null?void 0:t.get("avatar_static"),d=s?r==null?void 0:r.get("avatar"):r==null?void 0:r.get("avatar_static");return u.jsxs("div",{className:"account__avatar-overlay",style:{width:e,height:e},onMouseEnter:i,onMouseLeave:o,children:[u.jsx("div",{className:"account__avatar-overlay-base",children:u.jsx("div",{className:"account__avatar",style:{width:"".concat(a,"px"),height:"".concat(a,"px")},children:c&&u.jsx("img",{src:c,alt:t==null?void 0:t.get("acct")})})}),u.jsx("div",{className:"account__avatar-overlay-overlay",children:u.jsx("div",{className:"account__avatar",style:{width:"".concat(n,"px"),height:"".concat(n,"px")},children:d&&u.jsx("img",{src:d,alt:r==null?void 0:r.get("acct")})})})]})};var Re,ua;function Bs(){if(ua)return Re;ua=1;var t=_e(),r=Gr(),e="[object AsyncFunction]",a="[object Function]",n="[object GeneratorFunction]",s="[object Proxy]";function i(o){if(!r(o))return!1;var c=t(o);return c==a||c==n||c==e||c==s}return Re=i,Re}var Ee,ca;function zo(){if(ca)return Ee;ca=1;var t=Q(),r=t["__core-js_shared__"];return Ee=r,Ee}var Ae,la;function Zo(){if(la)return Ae;la=1;var t=zo(),r=function(){var a=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function e(a){return!!r&&r in a}return Ae=e,Ae}var Se,da;function Vs(){if(da)return Se;da=1;var t=Function.prototype,r=t.toString;function e(a){if(a!=null){try{return r.call(a)}catch(n){}try{return a+""}catch(n){}}return""}return Se=e,Se}var Pe,ha;function Wo(){if(ha)return Pe;ha=1;var t=Bs(),r=Zo(),e=Gr(),a=Vs(),n=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,i=Function.prototype,o=Object.prototype,c=i.toString,d=o.hasOwnProperty,p=RegExp("^"+c.call(d).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(g){if(!e(g)||r(g))return!1;var q=t(g)?p:s;return q.test(a(g))}return Pe=h,Pe}var ke,pa;function Xo(){if(pa)return ke;pa=1;function t(r,e){return r==null?void 0:r[e]}return ke=t,ke}var we,_a;function $(){if(_a)return we;_a=1;var t=Wo(),r=Xo();function e(a,n){var s=r(a,n);return t(s)?s:void 0}return we=e,we}var Oe,ga;function Yo(){if(ga)return Oe;ga=1;var t=$(),r=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(a){}}();return Oe=r,Oe}var De,fa;function Jo(){if(fa)return De;fa=1;var t=Yo();function r(e,a,n){a=="__proto__"&&t?t(e,a,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[a]=n}return De=r,De}var je,ma;function eu(){if(ma)return je;ma=1;function t(r,e,a,n){for(var s=-1,i=r==null?0:r.length;++s<i;){var o=r[s];e(n,o,a(o),r)}return n}return je=t,je}var Le,va;function tu(){if(va)return Le;va=1;function t(r){return function(e,a,n){for(var s=-1,i=Object(e),o=n(e),c=o.length;c--;){var d=o[r?c:++s];if(a(i[d],d,i)===!1)break}return e}}return Le=t,Le}var Ne,ya;function ru(){if(ya)return Ne;ya=1;var t=tu(),r=t();return Ne=r,Ne}var Fe,ba;function au(){if(ba)return Fe;ba=1;function t(r,e){for(var a=-1,n=Array(r);++a<r;)n[a]=e(a);return n}return Fe=t,Fe}var He,qa;function nu(){if(qa)return He;qa=1;var t=_e(),r=ge(),e="[object Arguments]";function a(n){return r(n)&&t(n)==e}return He=a,He}var Be,Ta;function Us(){if(Ta)return Be;Ta=1;var t=nu(),r=ge(),e=Object.prototype,a=e.hasOwnProperty,n=e.propertyIsEnumerable,s=t(function(){return arguments}())?t:function(i){return r(i)&&a.call(i,"callee")&&!n.call(i,"callee")};return Be=s,Be}var Ve,Ma;function U(){if(Ma)return Ve;Ma=1;var t=Array.isArray;return Ve=t,Ve}var J={exports:{}},Ue,Ia;function su(){if(Ia)return Ue;Ia=1;function t(){return!1}return Ue=t,Ue}J.exports;var Ca;function Ks(){return Ca||(Ca=1,function(t,r){var e=Q(),a=su(),n=r&&!r.nodeType&&r,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,o=i?e.Buffer:void 0,c=o?o.isBuffer:void 0,d=c||a;t.exports=d}(J,J.exports)),J.exports}var Ke,xa;function Gs(){if(xa)return Ke;xa=1;var t=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function e(a,n){var s=typeof a;return n=n==null?t:n,!!n&&(s=="number"||s!="symbol"&&r.test(a))&&a>-1&&a%1==0&&a<n}return Ke=e,Ke}var Ge,Ra;function $r(){if(Ra)return Ge;Ra=1;var t=9007199254740991;function r(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=t}return Ge=r,Ge}var Qe,Ea;
vendor: 5,260 bytes, line 2
2function iu(){if(Ea)return Qe;Ea=1;var t=_e(),r=$r(),e=ge(),a="[object Arguments]",n="[object Array]",s="[object Boolean]",i="[object Date]",o="[object Error]",c="[object Function]",d="[object Map]",p="[object Number]",h="[object Object]",g="[object RegExp]",q="[object Set]",R="[object String]",T="[object WeakMap]",m="[object ArrayBuffer]",l="[object DataView]",M="[object Float32Array]",P="[object Float64Array]",x="[object Int8Array]",_="[object Int16Array]",C="[object Int32Array]",I="[object Uint8Array]",k="[object Uint8ClampedArray]",D="[object Uint16Array]",N="[object Uint32Array]",E={};E[M]=E[P]=E[x]=E[_]=E[C]=E[I]=E[k]=E[D]=E[N]=!0,E[a]=E[n]=E[m]=E[s]=E[l]=E[i]=E[o]=E[c]=E[d]=E[p]=E[h]=E[g]=E[q]=E[R]=E[T]=!1;function j(w){return e(w)&&r(w.length)&&!!E[t(w)]}return Qe=j,Qe}var $e,Aa;function ou(){if(Aa)return $e;Aa=1;function t(r){return function(e){return r(e)}}return $e=t,$e}var ee={exports:{}};ee.exports;var Sa;function uu(){return Sa||(Sa=1,function(t,r){var e=go(),a=r&&!r.nodeType&&r,n=a&&!0&&t&&!t.nodeType&&t,s=n&&n.exports===a,i=s&&e.process,o=function(){try{var c=n&&n.require&&n.require("util").types;return c||i&&i.binding&&i.binding("util")}catch(d){}}();t.exports=o}(ee,ee.exports)),ee.exports}var ze,Pa;function Qs(){if(Pa)return ze;Pa=1;var t=iu(),r=ou(),e=uu(),a=e&&e.isTypedArray,n=a?r(a):t;return ze=n,ze}var Ze,ka;function cu(){if(ka)return Ze;ka=1;var t=au(),r=Us(),e=U(),a=Ks(),n=Gs(),s=Qs(),i=Object.prototype,o=i.hasOwnProperty;function c(d,p){var h=e(d),g=!h&&r(d),q=!h&&!g&&a(d),R=!h&&!g&&!q&&s(d),T=h||g||q||R,m=T?t(d.length,String):[],l=m.length;for(var M in d)(p||o.call(d,M))&&!(T&&(M=="length"||q&&(M=="offset"||M=="parent")||R&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||n(M,l)))&&m.push(M);return m}return Ze=c,Ze}var We,wa;function lu(){if(wa)return We;wa=1;var t=Object.prototype;function r(e){var a=e&&e.constructor,n=typeof a=="function"&&a.prototype||t;return e===n}return We=r,We}var Xe,Oa;function du(){if(Oa)return Xe;Oa=1;function t(r,e){return function(a){return r(e(a))}}return Xe=t,Xe}var Ye,Da;function hu(){if(Da)return Ye;Da=1;var t=du(),r=t(Object.keys,Object);return Ye=r,Ye}var Je,ja;function pu(){if(ja)return Je;ja=1;var t=lu(),r=hu(),e=Object.prototype,a=e.hasOwnProperty;function n(s){if(!t(s))return r(s);var i=[];for(var o in Object(s))a.call(s,o)&&o!="constructor"&&i.push(o);return i}return Je=n,Je}var et,La;function $s(){if(La)return et;La=1;var t=Bs(),r=$r();function e(a){return a!=null&&r(a.length)&&!t(a)}return et=e,et}var tt,Na;function zr(){if(Na)return tt;Na=1;var t=cu(),r=pu(),e=$s();function a(n){return e(n)?t(n):r(n)}return tt=a,tt}var rt,Fa;function _u(){if(Fa)return rt;Fa=1;var t=ru(),r=zr();function e(a,n){return a&&t(a,n,r)}return rt=e,rt}var at,Ha;function gu(){if(Ha)return at;Ha=1;var t=$s();function r(e,a){return function(n,s){if(n==null)return n;if(!t(n))return e(n,s);for(var i=n.length,o=a?i:-1,c=Object(n);(a?o--:++o<i)&&s(c[o],o,c)!==!1;);return n}}return at=r,at}var nt,Ba;function fu(){if(Ba)return nt;Ba=1;var t=_u(),r=gu(),e=r(t);return nt=e,nt}var st,Va;function mu(){if(Va)return st;Va=1;var t=fu();function r(e,a,n,s){return t(e,function(i,o,c){a(s,i,n(i),c)}),s}return st=r,st}var it,Ua;function vu(){if(Ua)return it;Ua=1;function t(){this.__data__=[],this.size=0}return it=t,it}var ot,Ka;function zs(){if(Ka)return ot;Ka=1;function t(r,e){return r===e||r!==r&&e!==e}return ot=t,ot}var ut,Ga;function ve(){if(Ga)return ut;Ga=1;var t=zs();function r(e,a){for(var n=e.length;n--;)if(t(e[n][0],a))return n;return-1}return ut=r,ut}var ct,Qa;function yu(){if(Qa)return ct;Qa=1;var t=ve(),r=Array.prototype,e=r.splice;function a(n){var s=this.__data__,i=t(s,n);if(i<0)return!1;var o=s.length-1;return i==o?s.pop():e.call(s,i,1),--this.size,!0}return ct=a,ct}var lt,$a;function bu(){if($a)return lt;$a=1;var t=ve();function r(e){var a=this.__data__,n=t(a,e);return n<0?void 0:a[n][1]}return lt=r,lt}var dt,za;function qu(){if(za)return dt;za=1;var t=ve();function r(e){return t(this.__data__,e)>-1}return dt=r,dt}var ht,Za;function Tu(){if(Za)return ht;Za=1;var t=ve();function r(e,a){var n=this.__data__,s=t(n,e);return s<0?(++this.size,n.push([e,a])):n[s][1]=a,this}return ht=r,ht}var pt,Wa;function ye(){if(Wa)return pt;Wa=1;var t=vu(),r=yu(),e=bu(),a=qu(),n=Tu();function s(i){var o=-1,c=i==null?0:i.length;for(this.clear();++o<c;){var d=i[o];this.set(d[0],d[1])}}return s.prototype.clear=t,s.prototype.delete=r,s.prototype.get=e,s.prototype.has=a,s.prototype.set=n,pt=s,pt}var _t,Xa;function Mu(){if(Xa)return _t;Xa=1;var t=ye();function r(){this.__data__=new t,this.size=0}return _t=r,_t}var gt,Ya;function Iu(){if(Ya)return gt;Ya=1;function t(r){var e=this.__data__,a=e.delete(r);return this.size=e.size,a}return gt=t,gt}var ft,Ja;function Cu(){if(Ja)return ft;Ja=1;function t(r){return this.__data__.get(r)}return ft=t,ft}var mt,en;function xu(){if(en)return mt;en=1;function t(r){return this.__data__.has(r)}return mt=t,mt}var vt,tn;function Zr(){if(tn)return vt;tn=1;var t=$(),r=Q(),e=t(r,"Map");return vt=e,vt}var yt,rn;function be(){if(rn)return yt;rn=1;var t=$(),r=t(Object,"create");return yt=r,yt}var bt,an;function Ru(){if(an)return bt;an=1;var t=be();function r(){this.__data__=t?t(null):{},this.size=0}return bt=r,bt}var qt,nn;
vendor: 12,043 bytes, line 2
2function Eu(){if(nn)return qt;nn=1;function t(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}return qt=t,qt}var Tt,sn;function Au(){if(sn)return Tt;sn=1;var t=be(),r="__lodash_hash_undefined__",e=Object.prototype,a=e.hasOwnProperty;function n(s){var i=this.__data__;if(t){var o=i[s];return o===r?void 0:o}return a.call(i,s)?i[s]:void 0}return Tt=n,Tt}var Mt,on;function Su(){if(on)return Mt;on=1;var t=be(),r=Object.prototype,e=r.hasOwnProperty;function a(n){var s=this.__data__;return t?s[n]!==void 0:e.call(s,n)}return Mt=a,Mt}var It,un;function Pu(){if(un)return It;un=1;var t=be(),r="__lodash_hash_undefined__";function e(a,n){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=t&&n===void 0?r:n,this}return It=e,It}var Ct,cn;function ku(){if(cn)return Ct;cn=1;var t=Ru(),r=Eu(),e=Au(),a=Su(),n=Pu();function s(i){var o=-1,c=i==null?0:i.length;for(this.clear();++o<c;){var d=i[o];this.set(d[0],d[1])}}return s.prototype.clear=t,s.prototype.delete=r,s.prototype.get=e,s.prototype.has=a,s.prototype.set=n,Ct=s,Ct}var xt,ln;function wu(){if(ln)return xt;ln=1;var t=ku(),r=ye(),e=Zr();function a(){this.size=0,this.__data__={hash:new t,map:new(e||r),string:new t}}return xt=a,xt}var Rt,dn;function Ou(){if(dn)return Rt;dn=1;function t(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}return Rt=t,Rt}var Et,hn;function qe(){if(hn)return Et;hn=1;var t=Ou();function r(e,a){var n=e.__data__;return t(a)?n[typeof a=="string"?"string":"hash"]:n.map}return Et=r,Et}var At,pn;function Du(){if(pn)return At;pn=1;var t=qe();function r(e){var a=t(this,e).delete(e);return this.size-=a?1:0,a}return At=r,At}var St,_n;function ju(){if(_n)return St;_n=1;var t=qe();function r(e){return t(this,e).get(e)}return St=r,St}var Pt,gn;function Lu(){if(gn)return Pt;gn=1;var t=qe();function r(e){return t(this,e).has(e)}return Pt=r,Pt}var kt,fn;function Nu(){if(fn)return kt;fn=1;var t=qe();function r(e,a){var n=t(this,e),s=n.size;return n.set(e,a),this.size+=n.size==s?0:1,this}return kt=r,kt}var wt,mn;function Wr(){if(mn)return wt;mn=1;var t=wu(),r=Du(),e=ju(),a=Lu(),n=Nu();function s(i){var o=-1,c=i==null?0:i.length;for(this.clear();++o<c;){var d=i[o];this.set(d[0],d[1])}}return s.prototype.clear=t,s.prototype.delete=r,s.prototype.get=e,s.prototype.has=a,s.prototype.set=n,wt=s,wt}var Ot,vn;function Fu(){if(vn)return Ot;vn=1;var t=ye(),r=Zr(),e=Wr(),a=200;function n(s,i){var o=this.__data__;if(o instanceof t){var c=o.__data__;if(!r||c.length<a-1)return c.push([s,i]),this.size=++o.size,this;o=this.__data__=new e(c)}return o.set(s,i),this.size=o.size,this}return Ot=n,Ot}var Dt,yn;function Zs(){if(yn)return Dt;yn=1;var t=ye(),r=Mu(),e=Iu(),a=Cu(),n=xu(),s=Fu();function i(o){var c=this.__data__=new t(o);this.size=c.size}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=a,i.prototype.has=n,i.prototype.set=s,Dt=i,Dt}var jt,bn;function Hu(){if(bn)return jt;bn=1;var t="__lodash_hash_undefined__";function r(e){return this.__data__.set(e,t),this}return jt=r,jt}var Lt,qn;function Bu(){if(qn)return Lt;qn=1;function t(r){return this.__data__.has(r)}return Lt=t,Lt}var Nt,Tn;function Vu(){if(Tn)return Nt;Tn=1;var t=Wr(),r=Hu(),e=Bu();function a(n){var s=-1,i=n==null?0:n.length;for(this.__data__=new t;++s<i;)this.add(n[s])}return a.prototype.add=a.prototype.push=r,a.prototype.has=e,Nt=a,Nt}var Ft,Mn;function Uu(){if(Mn)return Ft;Mn=1;function t(r,e){for(var a=-1,n=r==null?0:r.length;++a<n;)if(e(r[a],a,r))return!0;return!1}return Ft=t,Ft}var Ht,In;function Ku(){if(In)return Ht;In=1;function t(r,e){return r.has(e)}return Ht=t,Ht}var Bt,Cn;function Ws(){if(Cn)return Bt;Cn=1;var t=Vu(),r=Uu(),e=Ku(),a=1,n=2;function s(i,o,c,d,p,h){var g=c&a,q=i.length,R=o.length;if(q!=R&&!(g&&R>q))return!1;var T=h.get(i),m=h.get(o);if(T&&m)return T==o&&m==i;var l=-1,M=!0,P=c&n?new t:void 0;for(h.set(i,o),h.set(o,i);++l<q;){var x=i[l],_=o[l];if(d)var C=g?d(_,x,l,o,i,h):d(x,_,l,i,o,h);if(C!==void 0){if(C)continue;M=!1;break}if(P){if(!r(o,function(I,k){if(!e(P,k)&&(x===I||p(x,I,c,d,h)))return P.push(k)})){M=!1;break}}else if(!(x===_||p(x,_,c,d,h))){M=!1;break}}return h.delete(i),h.delete(o),M}return Bt=s,Bt}var Vt,xn;function Gu(){if(xn)return Vt;xn=1;var t=Q(),r=t.Uint8Array;return Vt=r,Vt}var Ut,Rn;function Qu(){if(Rn)return Ut;Rn=1;function t(r){var e=-1,a=Array(r.size);return r.forEach(function(n,s){a[++e]=[s,n]}),a}return Ut=t,Ut}var Kt,En;function $u(){if(En)return Kt;En=1;function t(r){var e=-1,a=Array(r.size);return r.forEach(function(n){a[++e]=n}),a}return Kt=t,Kt}var Gt,An;function zu(){if(An)return Gt;An=1;var t=Os(),r=Gu(),e=zs(),a=Ws(),n=Qu(),s=$u(),i=1,o=2,c="[object Boolean]",d="[object Date]",p="[object Error]",h="[object Map]",g="[object Number]",q="[object RegExp]",R="[object Set]",T="[object String]",m="[object Symbol]",l="[object ArrayBuffer]",M="[object DataView]",P=t?t.prototype:void 0,x=P?P.valueOf:void 0;function _(C,I,k,D,N,E,j){switch(k){case M:if(C.byteLength!=I.byteLength||C.byteOffset!=I.byteOffset)return!1;C=C.buffer,I=I.buffer;case l:return!(C.byteLength!=I.byteLength||!E(new r(C),new r(I)));case c:case d:case g:return e(+C,+I);case p:return C.name==I.name&&C.message==I.message;case q:case T:return C==I+"";case h:var w=n;case R:var V=D&i;if(w||(w=s),C.size!=I.size&&!V)return!1;var z=j.get(C);if(z)return z==I;D|=o,j.set(C,I);var ne=a(w(C),w(I),D,N,E,j);return j.delete(C),ne;case m:if(x)return x.call(C)==x.call(I)}return!1}return Gt=_,Gt}var Qt,Sn;function Zu(){if(Sn)return Qt;Sn=1;function t(r,e){for(var a=-1,n=e.length,s=r.length;++a<n;)r[s+a]=e[a];return r}return Qt=t,Qt}var $t,Pn;function Wu(){if(Pn)return $t;Pn=1;var t=Zu(),r=U();function e(a,n,s){var i=n(a);return r(a)?i:t(i,s(a))}return $t=e,$t}var zt,kn;function Xu(){if(kn)return zt;kn=1;function t(r,e){for(var a=-1,n=r==null?0:r.length,s=0,i=[];++a<n;){var o=r[a];e(o,a,r)&&(i[s++]=o)}return i}return zt=t,zt}var Zt,wn;function Yu(){if(wn)return Zt;wn=1;function t(){return[]}return Zt=t,Zt}var Wt,On;function Ju(){if(On)return Wt;On=1;var t=Xu(),r=Yu(),e=Object.prototype,a=e.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(i){return i==null?[]:(i=Object(i),t(n(i),function(o){return a.call(i,o)}))}:r;return Wt=s,Wt}var Xt,Dn;function ec(){if(Dn)return Xt;Dn=1;var t=Wu(),r=Ju(),e=zr();function a(n){return t(n,e,r)}return Xt=a,Xt}var Yt,jn;function tc(){if(jn)return Yt;jn=1;var t=ec(),r=1,e=Object.prototype,a=e.hasOwnProperty;function n(s,i,o,c,d,p){var h=o&r,g=t(s),q=g.length,R=t(i),T=R.length;if(q!=T&&!h)return!1;for(var m=q;m--;){var l=g[m];if(!(h?l in i:a.call(i,l)))return!1}var M=p.get(s),P=p.get(i);if(M&&P)return M==i&&P==s;var x=!0;p.set(s,i),p.set(i,s);for(var _=h;++m<q;){l=g[m];var C=s[l],I=i[l];if(c)var k=h?c(I,C,l,i,s,p):c(C,I,l,s,i,p);if(!(k===void 0?C===I||d(C,I,o,c,p):k)){x=!1;break}_||(_=l=="constructor")}if(x&&!_){var D=s.constructor,N=i.constructor;D!=N&&"constructor"in s&&"constructor"in i&&!(typeof D=="function"&&D instanceof D&&typeof N=="function"&&N instanceof N)&&(x=!1)}return p.delete(s),p.delete(i),x}return Yt=n,Yt}var Jt,Ln;function rc(){if(Ln)return Jt;Ln=1;var t=$(),r=Q(),e=t(r,"DataView");return Jt=e,Jt}var er,Nn;function ac(){if(Nn)return er;Nn=1;var t=$(),r=Q(),e=t(r,"Promise");return er=e,er}var tr,Fn;function nc(){if(Fn)return tr;Fn=1;var t=$(),r=Q(),e=t(r,"Set");return tr=e,tr}var rr,Hn;function sc(){if(Hn)return rr;Hn=1;var t=$(),r=Q(),e=t(r,"WeakMap");return rr=e,rr}var ar,Bn;function ic(){if(Bn)return ar;Bn=1;var t=rc(),r=Zr(),e=ac(),a=nc(),n=sc(),s=_e(),i=Vs(),o="[object Map]",c="[object Object]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",g="[object DataView]",q=i(t),R=i(r),T=i(e),m=i(a),l=i(n),M=s;return(t&&M(new t(new ArrayBuffer(1)))!=g||r&&M(new r)!=o||e&&M(e.resolve())!=d||a&&M(new a)!=p||n&&M(new n)!=h)&&(M=function(P){var x=s(P),_=x==c?P.constructor:void 0,C=_?i(_):"";if(C)switch(C){case q:return g;case R:return o;case T:return d;case m:return p;case l:return h}return x}),ar=M,ar}var nr,Vn;function oc(){if(Vn)return nr;Vn=1;var t=Zs(),r=Ws(),e=zu(),a=tc(),n=ic(),s=U(),i=Ks(),o=Qs(),c=1,d="[object Arguments]",p="[object Array]",h="[object Object]",g=Object.prototype,q=g.hasOwnProperty;function R(T,m,l,M,P,x){var _=s(T),C=s(m),I=_?p:n(T),k=C?p:n(m);I=I==d?h:I,k=k==d?h:k;var D=I==h,N=k==h,E=I==k;if(E&&i(T)){if(!i(m))return!1;_=!0,D=!1}if(E&&!D)return x||(x=new t),_||o(T)?r(T,m,l,M,P,x):e(T,m,I,l,M,P,x);if(!(l&c)){var j=D&&q.call(T,"__wrapped__"),w=N&&q.call(m,"__wrapped__");if(j||w){var V=j?T.value():T,z=w?m.value():m;return x||(x=new t),P(V,z,l,M,x)}}return E?(x||(x=new t),a(T,m,l,M,P,x)):!1}return nr=R,nr}var sr,Un;function Xs(){if(Un)return sr;Un=1;var t=oc(),r=ge();function e(a,n,s,i,o){return a===n?!0:a==null||n==null||!r(a)&&!r(n)?a!==a&&n!==n:t(a,n,s,i,e,o)}return sr=e,sr}var ir,Kn;function uc(){if(Kn)return ir;Kn=1;var t=Zs(),r=Xs(),e=1,a=2;function n(s,i,o,c){var d=o.length,p=d,h=!c;if(s==null)return!p;for(s=Object(s);d--;){var g=o[d];if(h&&g[2]?g[1]!==s[g[0]]:!(g[0]in s))return!1}for(;++d<p;){g=o[d];var q=g[0],R=s[q],T=g[1];if(h&&g[2]){if(R===void 0&&!(q in s))return!1}else{var m=new t;if(c)var l=c(R,T,q,s,i,m);if(!(l===void 0?r(T,R,e|a,c,m):l))return!1}}return!0}return ir=n,ir}var or,Gn;function Ys(){if(Gn)return or;Gn=1;var t=Gr();function r(e){return e===e&&!t(e)}return or=r,or}var ur,Qn;function cc(){if(Qn)return ur;Qn=1;var t=Ys(),r=zr();function e(a){for(var n=r(a),s=n.length;s--;){var i=n[s],o=a[i];n[s]=[i,o,t(o)]}return n}return ur=e,ur}var cr,$n;function Js(){if($n)return cr;$n=1;function t(r,e){return function(a){return a==null?!1:a[r]===e&&(e!==void 0||r in Object(a))}}return cr=t,cr}var lr,zn;function lc(){if(zn)return lr;zn=1;var t=uc(),r=cc(),e=Js();function a(n){var s=r(n);return s.length==1&&s[0][2]?e(s[0][0],s[0][1]):function(i){return i===n||t(i,n,s)}}return lr=a,lr}var dr,Zn;function Xr(){if(Zn)return dr;Zn=1;var t=U(),r=fe(),e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function n(s,i){if(t(s))return!1;var o=typeof s;return o=="number"||o=="symbol"||o=="boolean"||s==null||r(s)?!0:a.test(s)||!e.test(s)||i!=null&&s in Object(i)}return dr=n,dr}var hr,Wn;function dc(){if(Wn)return hr;Wn=1;var t=Wr(),r="Expected a function";function e(a,n){if(typeof a!="function"||n!=null&&typeof n!="function")throw new TypeError(r);var s=function(){var i=arguments,o=n?n.apply(this,i):i[0],c=s.cache;if(c.has(o))return c.get(o);var d=a.apply(this,i);return s.cache=c.set(o,d)||c,d};return s.cache=new(e.Cache||t),s}return e.Cache=t,hr=e,hr}var pr,Xn;function hc(){if(Xn)return pr;Xn=1;var t=dc(),r=500;function e(a){var n=t(a,function(i){return s.size===r&&s.clear(),i}),s=n.cache;return n}return pr=e,pr}var _r,Yn;function pc(){if(Yn)return _r;Yn=1;var t=hc(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,e=/\\(\\)?/g,a=t(function(n){var s=[];return n.charCodeAt(0)===46&&s.push(""),n.replace(r,function(i,o,c,d){s.push(c?d.replace(e,"$1"):o||i)}),s});return _r=a,_r}var gr,Jn;function _c(){if(Jn)return gr;Jn=1;function t(r,e){for(var a=-1,n=r==null?0:r.length,s=Array(n);++a<n;)s[a]=e(r[a],a,r);return s}return gr=t,gr}var fr,es;function gc(){if(es)return fr;es=1;var t=Os(),r=_c(),e=U(),a=fe(),n=t?t.prototype:void 0,s=n?n.toString:void 0;function i(o){if(typeof o=="string")return o;if(e(o))return r(o,i)+"";if(a(o))return s?s.call(o):"";var c=o+"";return c=="0"&&1/o==-1/0?"-0":c}return fr=i,fr}var mr,ts;function fc(){if(ts)return mr;ts=1;var t=gc();function r(e){return e==null?"":t(e)}return mr=r,mr}var vr,rs;function ei(){if(rs)return vr;rs=1;var t=U(),r=Xr(),e=pc(),a=fc();function n(s,i){return t(s)?s:r(s,i)?[s]:e(a(s))}return vr=n,vr}var yr,as;function Te(){if(as)return yr;as=1;var t=fe();function r(e){if(typeof e=="string"||t(e))return e;var a=e+"";return a=="0"&&1/e==-1/0?"-0":a}return yr=r,yr}var br,ns;function ti(){if(ns)return br;ns=1;var t=ei(),r=Te();function e(a,n){n=t(n,a);for(var s=0,i=n.length;a!=null&&s<i;)a=a[r(n[s++])];return s&&s==i?a:void 0}return br=e,br}var qr,ss;
2function mc(){if(ss)return qr;ss=1;var t=ti();function r(e,a,n){var s=e==null?void 0:t(e,a);return s===void 0?n:s}return qr=r,qr}var Tr,is;function vc(){if(is)return Tr;is=1;function t(r,e){return r!=null&&e in Object(r)}return Tr=t,Tr}var Mr,os;function yc(){if(os)return Mr;os=1;var t=ei(),r=Us(),e=U(),a=Gs(),n=$r(),s=Te();function i(o,c,d){c=t(c,o);for(var p=-1,h=c.length,g=!1;++p<h;){var q=s(c[p]);if(!(g=o!=null&&d(o,q)))break;o=o[q]}return g||++p!=h?g:(h=o==null?0:o.length,!!h&&n(h)&&a(q,h)&&(e(o)||r(o)))}return Mr=i,Mr}var Ir,us;function bc(){if(us)return Ir;us=1;var t=vc(),r=yc();function e(a,n){return a!=null&&r(a,n,t)}return Ir=e,Ir}var Cr,cs;function qc(){if(cs)return Cr;cs=1;var t=Xs(),r=mc(),e=bc(),a=Xr(),n=Ys(),s=Js(),i=Te(),o=1,c=2;function d(p,h){return a(p)&&n(h)?s(i(p),h):function(g){var q=r(g,p);return q===void 0&&q===h?e(g,p):t(h,q,o|c)}}return Cr=d,Cr}var xr,ls;function Tc(){if(ls)return xr;ls=1;function t(r){return r}return xr=t,xr}var Rr,ds;function Mc(){if(ds)return Rr;ds=1;function t(r){return function(e){return e==null?void 0:e[r]}}return Rr=t,Rr}var Er,hs;function Ic(){if(hs)return Er;hs=1;var t=ti();function r(e){return function(a){return t(a,e)}}return Er=r,Er}var Ar,ps;function Cc(){if(ps)return Ar;ps=1;var t=Mc(),r=Ic(),e=Xr(),a=Te();function n(s){return e(s)?t(a(s)):r(s)}return Ar=n,Ar}var Sr,_s;function ri(){if(_s)return Sr;_s=1;var t=lc(),r=qc(),e=Tc(),a=U(),n=Cc();function s(i){return typeof i=="function"?i:i==null?e:typeof i=="object"?a(i)?r(i[0],i[1]):t(i):n(i)}return Sr=s,Sr}var Pr,gs;function xc(){if(gs)return Pr;gs=1;var t=eu(),r=mu(),e=ri(),a=U();function n(s,i){return function(o,c){var d=a(o)?t:r,p=i?i():{};return d(o,s,e(c,2),p)}}return Pr=n,Pr}var kr,fs;function Rc(){if(fs)return kr;fs=1;var t=Jo(),r=xc(),e=Object.prototype,a=e.hasOwnProperty,n=r(function(s,i,o){a.call(s,o)?s[o].push(i):t(s,o,[i])});return kr=n,kr}var Ec=Rc();const Ac=As(Ec);var wr,ms;function Sc(){if(ms)return wr;ms=1;var t=fe();function r(e,a,n){for(var s=-1,i=e.length;++s<i;){var o=e[s],c=a(o);if(c!=null&&(d===void 0?c===c&&!t(c):n(c,d)))var d=c,p=o}return p}return wr=r,wr}var Or,vs;function Pc(){if(vs)return Or;vs=1;function t(r,e){return r<e}return Or=t,Or}var Dr,ys;function kc(){if(ys)return Dr;ys=1;var t=Sc(),r=ri(),e=Pc();function a(n,s){return n&&n.length?t(n,r(s,2),e):void 0}return Dr=a,Dr}var wc=kc();const Oc=As(wc),Dc=706;function ai(t){return t.getIn(["translation","contentHtml"])||t.get("contentHtml")}class jc extends y.PureComponent{render(){const{translation:r,onClick:e}=this.props;if(r){const a=di.find(i=>i[0]===r.get("detected_source_language")),n=a?a[1]:r.get("detected_source_language"),s=r.get("provider");return u.jsxs("div",{className:"translate-button",children:[u.jsx("button",{className:"link-button",onClick:e,children:u.jsx(S,{id:"status.show_original",defaultMessage:"Show original"})}),u.jsx("div",{className:"translate-button__meta",children:u.jsx(S,{id:"status.translated_from_with",defaultMessage:"Translated from {lang} using {provider}",values:{lang:n,provider:s}})})]})}return u.jsx("button",{className:"status__content__translate-button",onClick:e,children:u.jsx(S,{id:"status.translate",defaultMessage:"Translate"})})}}const Lc=t=>({languages:t.getIn(["server","translationLanguages","items"])}),Nc=(t,r)=>{try{const e=new URL(t),a=new URL(r);return e.origin===a.origin&&e.pathname===a.pathname&&e.search===a.search}catch(e){return!1}};class Fc extends y.PureComponent{constructor(){super(...arguments);v(this,"handleMouseDown",e=>{this.startXY=[e.clientX,e.clientY]});v(this,"handleMouseUp",e=>{if(!this.startXY)return;const[a,n]=this.startXY,[s,i]=[Math.abs(e.clientX-a),Math.abs(e.clientY-n)];let o=e.target;for(;o;){if(o.localName==="button"||o.localName==="a"||o.localName==="label")return;o=o.parentNode}s+i<5&&(e.button===0||e.button===1)&&e.detail>=1&&this.props.onClick&&this.props.onClick(e),this.startXY=null});v(this,"handleTranslate",()=>{this.props.onTranslate()});v(this,"setRef",e=>{this.node=e});v(this,"handleElement",(e,{key:a,...n},s)=>{if(e instanceof HTMLAnchorElement){const i=this.props.status.get("mentions").find(o=>Nc(e.href,o.get("url")));return y.createElement(Ds,{...n,href:e.href,text:e.innerText,hashtagAccountId:this.props.status.getIn(["account","
2id"]),mention:i==null?void 0:i.toJSON(),key:a},s)}else if(e.classList.contains("quote-inline")&&this.props.status.get("quote"))return null})}_updateStatusLinks(){const e=this.node;if(!e)return;const{status:a,onCollapsedToggle:n}=this.props;if(a.get("collapsed",null)===null&&n){const{collapsible:s,onClick:i}=this.props,o=s&&i&&e.clientHeight>Dc&&a.get("spoiler_text").length===0;n(o)}}componentDidMount(){this._updateStatusLinks()}componentDidUpdate(){this._updateStatusLinks()}render(){var l;const{status:e,intl:a,statusContent:n}=this.props,s=this.props.onClick&&e.get("collapsed"),i=e.get("activity_pub_type")==="Article"&&!e.get("collapsed")&&this.props.onClick,o=a.locale.replace(/[_-].*/,""),c=(l=this.props.languages)==null?void 0:l.get(e.get("language")||"und"),d=this.props.onTranslate&&this.props.identity.signedIn&&["public","unlisted"].includes(e.get("visibility"))&&e.get("search_index").trim().length>0&&(c==null?void 0:c.includes(o)),p=n!=null?n:ai(e),h=e.getIn(["translation","language"])||e.get("language"),g=B("status__content",{"status__content--with-action":this.props.onClick&&this.props.history,"status__content--collapsed":s}),q=s&&u.jsxs("button",{className:"status__content__read-more-button",onClick:this.props.onClick,children:[u.jsx(S,{id:"status.read_more",defaultMessage:"Read more"}),u.jsx(G,{id:"angle-right",icon:ta})]},"read-more"),R=i&&u.jsxs("button",{className:"status__content__read-more-button",onClick:this.props.onClick,children:[u.jsx(S,{id:"status.read_article",defaultMessage:"Read article"}),u.jsx(G,{id:"angle-right",icon:ta,fixedWidth:!0})]},"read-more"),T=d&&u.jsx(jc,{onClick:this.handleTranslate,translation:e.get("translation")}),m=!!e.get("poll")&&u.jsx(bi,{pollId:e.get("poll"),status:e,lang:h});if(this.props.statusActivityObjectType==="Article"){const M=e.get("title"),P=e.get("spoilerHtml");return u.jsxs(u.Fragment,{children:[M&&u.jsx("div",{className:"status__content article",children:u.jsxs("h2",{children:["Title: ",e.get("title")]})}),P&&u.jsx("div",{className:"status__content article",children:u.jsxs("em",{children:["Summary: ",e.get("spoiler_text")]})}),R]})}else return this.props.onClick?u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:g,ref:this.setRef,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,children:[u.jsx(Lr,{className:"status__content__text status__content__text--visible translate",lang:h,htmlString:p,extraEmojis:e.get("emojis"),onElement:this.handleElement}),m,T]},"status-content"),q,R]}):u.jsxs("div",{className:g,ref:this.setRef,children:[u.jsx(Lr,{className:"status__content__text status__content__text--visible translate",lang:h,htmlString:p,extraEmojis:e.get("emojis"),onElement:this.handleElement}),m,T]})}}const bs=ws(Ps(Ur(Lc)(de(Fc)))),jr=3;function qs(t){return(t&&t.startsWith("#")?t.slice(1):t).normalize("NFKC")}function Ts(t){var r,e;return t instanceof HTMLAnchorElement&&(t.textContent.startsWith("#")||((e=(r=t.previousSibling)==null?void 0:r.textContent)==null?void 0:e[t.previousSibling.textContent.length-1])==="#")}function Hc(t){const r=Ac(t,e=>e.normalize("NFKD").toLowerCase());return Object.values(r).map(e=>{const a=e[0];if(e.length===1)return a;const n=Oc(e,s=>{const i=Array.from(s).reduce((c,d)=>c+=d.toUpperCase()===d?1:0,0),o=s.length-i;return Math.abs(o-i)});return n!=null?n:a})}const Bc=new Intl.Collator(void 0,{sensitivity:"base"});function se(t,r){const e=r.normalize("NFKC");return!!t.find(a=>Bc.compare(a.normalize("NFKC"),e)===0)}function Vc(t){let r=ai(t);const e=t.get("tags").map(T=>T.get("name")).toJS(),a={statusContentProps:{statusContent:r},hashtagsInBar:[]};if(e.length===0)return a;const n=document.createElement("template");n.innerHTML=r.trim();const s=n.content.lastChild;if(!s||s.nodeType===Node.TEXT_NODE)return a;n.content.removeChild(s);const i=n,o=Array.from(i.content.querySelectorAll("a[href]")).reduce((T,m)=>(Ts(m)&&m.textContent&&T.push(qs(m.textContent)),T),[]),c=[];let d=!0;const p=e.map(T=>T.normalize("NFKC"));Array.from(s.childNodes).forEach(T=>{var m;if(Ts(T)&&T.textContent){const l=qs(T.textContent);if(!se(p,l)){d=!1;return}se(o,l)||c.push(l)}else(T.nodeType!==Node.TEXT_NODE||(m=T.nodeValue)!=null&&m.trim())&&(d=!1)});const h=e.filter(T=>{const m=T.normalize("NFKC");return!se(o,m)&&!se(c,m)}),g=i.content.childElementCount===0,q=t.get("media_attachments").size>0,R=!!t.get("spoiler_text");return d&&(q&&!R||!g)&&(r=i.innerHTML,h.push(...c)),{statusContentProps:{statusContent:r},hashtagsInBar:Hc(h)}}function Uc(t){const{statusContentProps:r,hashtagsInBar:e}=Vc(t);return{statusContentProps:r,hashtagBar:u.jsx(Kc,{hashtags:e,accountId:t.getIn(["account","
2id"])})}}const Kc=({hashtags:t,accountId:r})=>{const[e,a]=y.useState(!1),n=y.useCallback(()=>{a(!0)},[]);if(t.length===0)return null;const s=e?t:t.slice(0,jr);return u.jsxs("div",{className:"hashtag-bar",children:[s.map(i=>u.jsxs(re,{to:"/tags/".concat(i),"data-menu-hashtag":r,children:["#",u.jsx("span",{children:i})]},i)),!e&&t.length>jr&&u.jsx("button",{className:"link-button",onClick:n,children:u.jsx(S,{id:"hashtags.and_other",defaultMessage:"…and {count, plural, other {# more}}",values:{count:t.length-jr}})})]})},Gc=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Z"})),Qc=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z"})),Ms=1048576,ie=1024,Sd=256,oe=32,Is=16,Cs=8;function Pd(t){return(t&Cs)===Cs}function kd(t){return(t&Is)===Is}const wd=(t,r,e)=>{switch(e){case"public":return!0;case"authenticated":return t;case"disabled":default:return(r&Ms)===Ms}},$c=he({dismiss:{id:"dismissable_banner.dismiss",defaultMessage:"Dismiss"}});function ni({id:t}){const r=K(i=>i.settings.getIn(["dismissed_banners",t],!1)),[e,a]=y.useState(!ra.get(t)&&!r),n=pe(),s=y.useCallback(()=>{a(!1),ra.set(t,!0),n(aa(["dismissed_banners",t],!0))},[t,n]);return y.useEffect(()=>{!e&&!r&&n(aa(["dismissed_banners",t],!0))},[t,n,e,r]),{wasDismissed:!e,dismiss:s}}const Od=({id:t,children:r})=>{const e=Vr(),{wasDismissed:a,dismiss:n}=ni({id:t});return a?null:u.jsxs("div",{className:"dismissable-banner",children:[u.jsx("div",{className:"dismissable-banner__action",children:u.jsx(Z,{icon:"times",iconComponent:qi,title:e.formatMessage($c.dismiss),onClick:n})}),u.jsx("div",{className:"dismissable-banner__message",children:r})]})},zc="_comp_status_action_bar_remove_quote_hint__inlineIcon",Zc={inlineIcon:zc},Wc="notifications/remove_quote_hint";let ue=null;const Xc=({canShowHint:t,className:r,children:e})=>{const a=y.useRef(null),n=Vr(),{wasDismissed:s,dismiss:i}=ni({id:Wc}),o=!s&&t,c=y.useId(),[d,p]=y.useState(!1);return y.useEffect(()=>o?(ue||(ue=c,p(!0)),()=>{ue===c&&(ue=null,p(!1))}):()=>null,[o,c]),u.jsxs("div",{className:r,ref:a,children:[e(i),o&&d&&u.jsx(Ss,{show:!0,flip:!0,offset:[12,10],placement:"bottom-end",target:a.current,container:a.current,children:({props:h,placement:g})=>u.jsxs("div",{...h,className:B("info-tooltip info-tooltip--solid dropdown-animation",g),children:[u.jsx("h4",{children:u.jsx(S,{id:"remove_quote_hint.title",defaultMessage:"Want to remove your quoted post?"})}),u.jsx(S,{id:"remove_quote_hint.message",defaultMessage:"You can do so from the {icon} options menu.",values:{icon:u.jsx(G,{id:"ellipsis-h",icon:Ls,"aria-label":n.formatMessage({id:"status.more",defaultMessage:"More"}),className:Zc.inlineIcon})},children:q=>u.jsx("p",{children:q})}),u.jsx(S,{id:"remove_quote_hint.button_label",defaultMessage:"Got it",children:q=>u.jsx(js,{plain:!0,compact:!0,onClick:i,children:q})})]})})]})},A=he({delete:{id:"status.delete",defaultMessage:"Delete"},redraft:{id:"status.redraft",defaultMessage:"Delete & re-draft"},edit:{id:"status.edit",defaultMessage:"Edit"},direct:{id:"status.direct",defaultMessage:"Privately mention @{name}"},mention:{id:"status.mention",defaultMessage:"Mention @{name}"},mute:{id:"account.mute",defaultMessage:"Mute @{name}"},block:{id:"account.block",defaultMessage:"Block @{name}"},reply:{id:"status.reply",defaultMessage:"Reply"},share:{id:"status.share",defaultMessage:"Share"},more:{id:"status.more",defaultMessage:"More"},replyAll:{id:"status.replyAll",defaultMessage:"Reply to thread"},local_only:{id:"status.local_only",defaultMessage:"This post is only visible by other users of your instance"},favourite:{id:"status.favourite",defaultMessage:"Favorite"},removeFavourite:{id:"status.remove_favourite",defaultMessage:"Remove from favorites"},bookmark:{id:"status.bookmark",defaultMessage:"Bookmark"},removeBookmark:{id:"status.remove_bookmark",defaultMessage:"Remove bookmark"},open:{id:"status.open",defaultMessage:"Expand this status"},report:{id:"status.report",defaultMessage:"Report @{name}"},muteConversation:{id:"status.mute_conversation",defaultMessage:"Mute conversation"},unmuteConversation:{id:"status.unmute_conversation",defaultMessage:"Unmute conversation"},pin:{id:"status.pin",defaultMessage:"Pin on profile"},unpin:{id:"status.unpin",defaultMessage:"Unpin from profile"},embed:{id:"status.embed",defaultMessage:"Get embed code"},admin_account:{id:"status.admin_account",defaultMessage:"Open moderation interface for @{name}"},admin_status:{id:"status.admin_status",defaultMessage:"Open this post in the moderation interface"},admin_domain:{id:"status.admin_domain",defaultMessage:"Open moderation interface for {domain}"},copy:{id:"status.copy",defaultMessage:"Copy link to post"},blockDomain:{id:"account.block_domain",defaultMessage:"Block domain {domain}"},unblockDomain:{id:"account.unblock_domain",defaultMessage:"Unblock domain {domain}"},unmute:{id:"account.unmute",defaultMessage:"Unmute @{name}"},unblock:{id:"account.unblock",defaultMessage:"Unblock @{name}"},filter:{id:"status.filter",defaultMessage:"Filter this post"},openOriginalPage:{id:"account.open_original_page",defaultMessage:"Open original page"},revokeQuote:{id:"status.revoke_quote",defaultMessage:"Remove my post from @{name}’s post"},quotePolicyChange:{id:"status.quote_policy_change",defaultMessage:"Change who can quote"}}),Yc=(t,{status:r})=>{const e=r.getIn(["quote","quoted_status"]);return{relationship:t.getIn(["relationships",r.getIn(["account","
2id"])]),quotedAccountId:e?t.getIn(["statuses",e,"account"]):null,statusQuoteState:Si(t,r)}};class si extends ks{constructor(){super(...arguments);v(this,"updateOnProps",["status","relationship","quotedAccountId","withDismiss"]);v(this,"handleReplyClick",()=>{const{signedIn:e}=this.props.identity;e?this.props.onReply(this.props.status):this.props.onInteractionModal(this.props.status)});v(this,"handleQuoteClick",()=>{this.props.onQuote(this.props.status)});v(this,"handleShareClick",()=>{navigator.share({url:this.props.status.get("url")}).catch(e=>{e.name!=="AbortError"&&console.error(e)})});v(this,"handleFavouriteClick",()=>{const{signedIn:e}=this.props.identity;e?this.props.onFavourite(this.props.status):this.props.onInteractionModal(this.props.status)});v(this,"handleBookmarkClick",()=>{this.props.onBookmark(this.props.status)});v(this,"handleDeleteClick",()=>{this.props.onDelete(this.props.status)});v(this,"handleRedraftClick",()=>{this.props.onDelete(this.props.status,!0)});v(this,"handleEditClick",()=>{this.props.onEdit(this.props.status)});v(this,"handlePinClick",()=>{this.props.onPin(this.props.status)});v(this,"handleMentionClick",()=>{this.props.onMention(this.props.status.get("account"))});v(this,"handleDirectClick",()=>{this.props.onDirect(this.props.status.get("account"))});v(this,"handleMuteClick",()=>{const{status:e,relationship:a,onMute:n,onUnmute:s}=this.props,i=e.get("account");a&&a.get("muting")?s(i):n(i)});v(this,"handleRevokeQuoteClick",()=>{this.props.onRevokeQuote(this.props.status)});v(this,"handleQuotePolicyChange",()=>{this.props.onQuotePolicyChange(this.props.status)});v(this,"handleBlockClick",()=>{const{status:e,relationship:a,onBlock:n,onUnblock:s}=this.props,i=e.get("account");a&&a.get("blocking")?s(i):n(e)});v(this,"handleBlockDomain",()=>{const{status:e,onBlockDomain:a}=this.props,n=e.get("account");a(n)});v(this,"handleUnblockDomain",()=>{const{status:e,onUnblockDomain:a}=this.props,n=e.get("account");a(n.get("acct").split("@")[1])});v(this,"handleOpen",()=>{this.props.history.push("/@".concat(this.props.status.getIn(["account","acct"]),"/").concat(this.props.status.get("id")))});v(this,"handleEmbed",()=>{this.props.onEmbed(this.props.status)});v(this,"handleReport",()=>{this.props.onReport(this.props.status)});v(this,"handleConversationMuteClick",()=>{this.props.onMuteConversation(this.props.status)});v(this,"handleFilterClick",()=>{this.props.onAddFilter(this.props.status)});v(this,"handleCopy",()=>{const e=this.props.status.get("url");navigator.clipboard.writeText(e)})}render(){const{status:e,relationship:a,statusQuoteState:n,quotedAccountId:s,contextType:i,intl:o,withDismiss:c,withCounters:d,scrollKey:p}=this.props,{signedIn:h,permissions:g}=this.props.identity,q=["public","unlisted"].includes(e.get("visibility")),R=["public","unlisted","private"].includes(e.get("visibility")),T=e.get("muted"),m=e.get("account"),l=!e.get("local_only"),M=e.getIn(["account","id"])===Yr,P=e.getIn(["account","username"])!==e.getIn(["account","acct"]),x=s===Yr;let _=[];
2if(_.push({text:o.formatMessage(A.open),action:this.handleOpen}),q&&P&&_.push({text:o.formatMessage(A.openOriginalPage),href:e.get("url")}),_.push({text:o.formatMessage(A.copy),action:this.handleCopy}),q&&"share"in navigator&&_.push({text:o.formatMessage(A.share),action:this.handleShareClick}),q&&!P&&_.push({text:o.formatMessage(A.embed),action:this.handleEmbed}),Jr&&h){const w=Ii(n);_.push(null),_.push({text:o.formatMessage(w.title),description:w.meta?o.formatMessage(w.meta):void 0,disabled:w.disabled,action:this.handleQuoteClick})}if(h)if(_.push(null),M&&R&&(_.push({text:o.formatMessage(e.get("pinned")?A.unpin:A.pin),action:this.handlePinClick}),_.push(null)),(M||c)&&(_.push({text:o.formatMessage(T?A.unmuteConversation:A.muteConversation),action:this.handleConversationMuteClick}),M&&!["private","direct"].includes(e.get("visibility"))&&_.push({text:o.formatMessage(A.quotePolicyChange),action:this.handleQuotePolicyChange}),_.push(null)),M)_.push({text:o.formatMessage(A.edit),action:this.handleEditClick}),_.push({text:o.formatMessage(A.delete),action:this.handleDeleteClick,dangerous:!0}),_.push({text:o.formatMessage(A.redraft),action:this.handleRedraftClick,dangerous:!0});else{if(_.push({text:o.formatMessage(A.mention,{name:m.get("username")}),action:this.handleMentionClick}),_.push({text:o.formatMessage(A.direct,{name:m.get("username")}),action:this.handleDirectClick}),_.push(null),x&&_.push({text:o.formatMessage(A.revokeQuote,{name:m.get("username")}),action:this.handleRevokeQuoteClick,dangerous:!0}),a&&a.get("muting")?_.push({text:o.formatMessage(A.unmute,{name:m.get("username")}),action:this.handleMuteClick}):_.push({text:o.formatMessage(A.mute,{name:m.get("username")}),action:this.handleMuteClick,dangerous:!0}),a&&a.get("blocking")?_.push({text:o.formatMessage(A.unblock,{name:m.get("username")}),action:this.handleBlockClick}):_.push({text:o.formatMessage(A.block,{name:m.get("username")}),action:this.handleBlockClick,dangerous:!0}),this.props.onFilter||(_.push(null),_.push({text:o.formatMessage(A.filter),action:this.handleFilterClick,dangerous:!0}),_.push(null)),_.push({text:o.formatMessage(A.report,{name:m.get("username")}),action:this.handleReport,dangerous:!0}),m.get("acct")!==m.get("username")){const w=m.get("acct").split("@")[1];_.push(null),a&&a.get("domain_blocking")?_.push({text:o.formatMessage(A.unblockDomain,{domain:w}),action:this.handleUnblockDomain}):_.push({text:o.formatMessage(A.blockDomain,{domain:w}),action:this.handleBlockDomain,dangerous:!0})}if(((g&ie)===ie||P&&(g&oe)===oe)&&(_.push(null),(g&ie)===ie&&(_.push({text:o.formatMessage(A.admin_account,{name:m.get("username")}),href:"/admin/accounts/".concat(e.getIn(["account","id"]))}),_.push({text:o.formatMessage(A.admin_status),href:"/admin/accounts/".concat(e.getIn(["account","id"]),"/statuses/").concat(e.get("id"))})),P&&(g&oe)===oe)){const w=m.get("acct").split("@")[1];_.push({text:o.formatMessage(A.admin_domain,{domain:w}),href:"/admin/instances/".concat(w)})}}let C,I,k;e.get("in_reply_to_id",null)===null?(C="reply",I=Nr,k=o.formatMessage(A.reply)):(C="reply-all",I=Ai,k=o.formatMessage(A.replyAll));const D=o.formatMessage(e.get("bookmarked")?A.removeBookmark:A.bookmark),N=o.formatMessage(e.get("favourited")?A.removeFavourite:A.favourite),E=e.get("in_reply_to_account_id")===e.getIn(["account","id"]),j=x&&i==="notifications";return u.jsxs("div",{className:"status__action-bar",children:[u.jsx("div",{className:"status__action-bar__button-wrapper",children:u.jsx(Z,{className:"status__action-bar__button",title:k,icon:E?"reply":C,iconComponent:E?Nr:I,onClick:this.handleReplyClick,counter:e.get("replies_count")})}),u.jsx("div",{className:"status__action-bar__button-wrapper",children:u.jsx(Ci,{status:e,counters:d})}),u.jsx("div",{className:"status__action-bar__button-wrapper",children:u.jsx(Z,{className:"status__action-bar__button star-icon",animate:!0,active:e.get("favourited"),title:N,icon:"star",iconComponent:e.get("favourited")?xi:Ri,onClick:this.handleFavouriteClick,counter:d?e.get("favourites_count"):void 0})}),u.jsx("div",{className:"status__action-bar__button-wrapper",children:u.jsx(Z,{className:"status__action-bar__button bookmark-icon",disabled:!h,active:e.get("bookmarked"),title:D,icon:"bookmark",iconComponent:e.get("bookmarked")?Gc:Qc,onClick:this.handleBookmarkClick})}),u.jsx("div",{className:"status__action-bar__button-wrapper",children:!l&&u.jsx(Z,{className:"status__action-bar-button",disabled:!0,title:o.formatMessage(A.local_only),icon:"linkoff",iconComponent:wo})}),u.jsx(Xc,{className:"status__action-bar__button-wrapper",canShowHint:j,
2children:w=>u.jsx(Ei,{scrollKey:p,status:e,needsStatusRefresh:Jr&&e.get("quote_approval")===null,items:_,icon:"ellipsis-h",iconComponent:Ls,direction:"right",title:o.formatMessage(A.more),onOpen:()=>(w(),!0)})})]})}}v(si,"propTypes",{identity:Mi,status:te.map.isRequired,relationship:te.record,statusQuoteState:f.object,quotedAccountId:f.string,contextType:f.string,onReply:f.func,onFavourite:f.func,onDelete:f.func,onRevokeQuote:f.func,onQuotePolicyChange:f.func,onDirect:f.func,onMention:f.func,onMute:f.func,onUnmute:f.func,onBlock:f.func,onUnblock:f.func,onBlockDomain:f.func,onUnblockDomain:f.func,onReport:f.func,onEmbed:f.func,onMuteConversation:f.func,onPin:f.func,onBookmark:f.func,onFilter:f.func,onAddFilter:f.func,onInteractionModal:f.func,withDismiss:f.bool,withCounters:f.bool,scrollKey:f.string,intl:f.object.isRequired,...Ti});const Jc=ws(Ps(Ur(Yc)(de(si)))),el=({accountId:t,inReplyToAccountId:r})=>{const e=K(n=>n.accounts.get(r));let a;return t===r?a=u.jsx(S,{id:"status.continued_thread",defaultMessage:"Continued thread"}):e?a=u.jsx(S,{id:"status.replied_to",defaultMessage:"Replied to {name}",values:{name:u.jsx(Fr,{displayProps:{account:e,variant:"simple"}})}}):a=u.jsx(S,{id:"status.replied_in_thread",defaultMessage:"Replied in thread"}),u.jsxs("div",{className:"status__prepend",children:[u.jsx("div",{className:"status__prepend__icon",children:u.jsx(G,{id:"reply",icon:Nr})}),a]})},tl=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"})),rl=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-40-82v-78q-33 0-56.5-23.5T360-320v-40L168-552q-3 18-5.5 36t-2.5 36q0 121 79.5 212T440-162Zm276-102q41-45 62.5-100.5T800-480q0-98-54.5-179T600-776v16q0 33-23.5 56.5T520-680h-80v80q0 17-11.5 28.5T400-560h-80v80h240q17 0 28.5 11.5T600-440v120h40q26 0 47 15.5t29 40.5Z"})),al=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M484-80q-84 0-157.5-32t-128-86.5Q144-253 112-326.5T80-484q0-146 93-257.5T410-880q-18 99 11 193.5T521-521q71 71 165.5 100T880-410q-26 144-138 237T484-80Zm0-80q88 0 163-44t118-121q-86-8-163-43.5T464-465q-61-61-97-138t-43-163q-77 43-120.5 118.5T160-484q0 135 94.5 229.5T484-160Zm-20-305Z"})),nl=t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...t},y.createElement("path",{d:"M40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm720 0v-120q0-44-24.5-84.5T666-434q51 6 96 20.5t84 35.5q36 20 55 44.5t19 53.5v120H760ZM360-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm400-160q0 66-47 113t-113 47q-11 0-28-2.5t-28-5.5q27-32 41.5-71t14.5-81q0-42-14.5-81T544-792q14-5 28-6.5t28-1.5q66 0 113 47t47 113ZM120-240h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0 320Zm0-400Z"})),Y=he({public_short:{id:"privacy.public.short",defaultMessage:"Public"},unlisted_short:{id:"privacy.unlisted.short",defaultMessage:"Quiet public"},private_short:{id:"privacy.private.short",defaultMessage:"Followers"},direct_short:{id:"privacy.direct.short",defaultMessage:"Specific people"},local_short:{id:"privacy.local.short",defaultMessage:"Local"}}),sl=({visibility:t})=>{const r=Vr(),a={public:{icon:"globe",iconComponent:rl,text:r.formatMessage(Y.public_short)},unlisted:{icon:"unlock",iconComponent:al,text:r.formatMessage(Y.unlisted_short)},private:{icon:"lock",iconComponent:tl,text:r.formatMessage(Y.private_short)},direct:{icon:"at",iconComponent:Ns,text:r.formatMessage(Y.direct_short)},local:{icon:"users",iconComponent:nl,text:r.formatMessage(Y.local_short)}}[t];return u.jsx(G,{id:a.icon,icon:a.iconComponent,"aria-label":a.text})},il=new DOMParser,le=he({public_short:{id:"privacy.public.short",defaultMessage:"Public"},unlisted_short:{id:"privacy.unlisted.short",defaultMessage:"Quiet public"},private_short:{id:"privacy.private.short",defaultMessage:"Followers"},direct_short:{id:"privacy.direct.short",defaultMessage:"Specific people"},local_short:{id:"privacy.local.short",defaultMessage:"Local"},edited:{id:"status.edited",defaultMessage:"Edited {date}"},quote_noun:{id:"status.quote_noun",defaultMessage:"Quote"},contains_quote:{id:"status.contains_quote",defaultMessage:"Contains quote"},quote_cancel:{id:"status.quote.cancel",defaultMessage:"Cancel quote"}}),ol=({intl:t,status:r,rebloggedByText:e=!1,isQuote:a=!1})=>{const n=r.getIn(["account","display_name"]),s=r.getIn(["translation","spoiler_text"])||r.get("spoiler_text"),i=r.getIn(["translation","contentHtml"])||r.get("
2contentHtml"),o=il.parseFromString(i,"text/html").documentElement.textContent;return[a?t.formatMessage(le.quote_noun):void 0,n.length===0?r.getIn(["account","acct"]).split("@")[0]:n,s&&r.get("hidden")?s:o,r.get("quote")?t.formatMessage(le.contains_quote):void 0,t.formatDate(r.get("created_at"),{hour:"2-digit",minute:"2-digit",month:"short",day:"numeric"}),r.getIn(["account","acct"]),e].filter(d=>!!d).join(", ")},xs=t=>{if(t)return t.get("reblog",null)!==null&&typeof t.get("reblog")=="object"&&(t=t.get("reblog")),!t.get("matched_media_filters")&&(ea!=="hide_all"&&!t.get("sensitive")||ea==="show_all")};var Es;class Hr extends ks{constructor(){super(...arguments);v(this,"updateOnProps",["status","account","muted","hidden","unread","pictureInPicture","onQuoteCancel"]);v(this,"state",{showMedia:xs(this.props.status)&&!((Es=this.context)!=null&&Es.hideMediaByDefault),showDespiteFilter:void 0});v(this,"handleToggleMediaVisibility",()=>{this.setState({showMedia:!this.state.showMedia})});v(this,"handleClick",e=>{e.preventDefault(),(e==null?void 0:e.button)===0&&!(e!=null&&e.ctrlKey||e!=null&&e.metaKey)?this._openStatus():((e==null?void 0:e.button)===1||(e==null?void 0:e.button)===0&&(e!=null&&e.ctrlKey||e!=null&&e.metaKey))&&this._openStatus(!0)});v(this,"handleHeaderClick",e=>{e.target!==e.currentTarget&&e.detail>=1||this.handleClick(e)});v(this,"handleExpandedToggle",()=>{this.props.onToggleHidden(this._properStatus())});v(this,"handleCollapsedToggle",e=>{this.props.onToggleCollapsed(this._properStatus(),e)});v(this,"handleTranslate",()=>{this.props.onTranslate(this._properStatus())});v(this,"renderLoadingMediaGallery",()=>u.jsx("div",{className:"media-gallery",style:{aspectRatio:this.getAttachmentAspectRatio()}}));v(this,"renderLoadingVideoPlayer",()=>u.jsx("div",{className:"video-player",style:{aspectRatio:this.getAttachmentAspectRatio()}}));v(this,"renderLoadingAudioPlayer",()=>u.jsx("div",{className:"audio-player",style:{aspectRatio:this.getAttachmentAspectRatio()}}));v(this,"handleOpenVideo",e=>{const a=this._properStatus(),n=a.getIn(["translation","language"])||a.get("language");this.props.onOpenVideo(a.get("id"),a.getIn(["media_attachments",0]),n,e)});v(this,"handleOpenMedia",(e,a)=>{const n=this._properStatus(),s=n.getIn(["translation","language"])||n.get("language");this.props.onOpenMedia(n.get("id"),e,a,s)});v(this,"handleHotkeyOpenMedia",e=>{const{onOpenMedia:a,onOpenVideo:n}=this.props,s=this._properStatus();if(e.preventDefault(),s.get("media_attachments").size>0){const i=s.getIn(["translation","language"])||s.get("language");s.getIn(["media_attachments",0,"type"])==="video"?n(s.get("id"),s.getIn(["media_attachments",0]),i,{startTime:0}):a(s.get("id"),s.get("media_attachments"),0,i)}});v(this,"handleDeployPictureInPicture",(e,a)=>{const{deployPictureInPicture:n}=this.props,s=this._properStatus();n(s,e,a)});v(this,"handleHotkeyReply",e=>{e.preventDefault(),this.props.onReply(this._properStatus())});v(this,"handleHotkeyFavourite",()=>{this.props.onFavourite(this._properStatus())});v(this,"handleHotkeyBoost",e=>{this.props.onReblog(this._properStatus(),e)});v(this,"handleHotkeyQuote",()=>{this.props.onQuote(this._properStatus())});v(this,"handleHotkeyMention",e=>{e.preventDefault(),this.props.onMention(this._properStatus().get("account"))});v(this,"handleHotkeyOpen",()=>{this._openStatus()});v(this,"_openStatus",(e=!1)=>{if(this.props.onClick){this.props.onClick();return}const{history:a}=this.props,n=this._properStatus();if(!a)return;const s="/@".concat(n.getIn(["account","acct"]),"/").concat(n.get("id"));e?window.open(s,"_blank","noopener"):a.location.pathname.replace("/deck/","/")===s?a.replace(s):a.push(s)});v(this,"handleHotkeyOpenProfile",()=>{this._openProfile()});v(this,"_openProfile",(e=!0)=>{const{history:a}=this.props,n=e?this._properStatus():this.props.status;a&&a.push("/@".concat(n.getIn(["account","acct"])))});v(this,"handleHotkeyToggleHidden",()=>{const{onToggleHidden:e}=this.props,a=this._properStatus();if(this.props.status.get("matched_filters")){const n=!a.get("hidden")||a.get("spoiler_text").length===0,s=this.state.showDespiteFilter;s&&!n?e(a):s&&n?(e(a),this.handleFilterToggle()):this.handleFilterToggle()}else e(a)});v(this,"handleHotkeyToggleSensitive",()=>{this.handleToggleMediaVisibility()});v(this,"handleFilterToggle",()=>{this.setState(e=>({...e,showDespiteFilter:!e.showDespiteFilter}))});v(this,"handleQuoteCancel",()=>{var e,a;(a=(e=this.props).onQuoteCancel)==null||a.call(e)});v(this,"handleRef",e=>{this.node=e})}componentDidUpdate(e){var a,n,s;((a=this.props.status)==null?void 0:a.get("id"))!==((n=e.status)==null?void 0:n.get("id"))&&this.setState({showMedia:xs(this.props.status)&&!((s=this.context)!=null&&s.hideMediaByDefault),showDespiteFilter:void 0})}getAttachmentAspectRatio(){const e=this._properStatus().get("media_attachments");return e.getIn([0,"type"])==="video"?"".concat(e.getIn([0,"meta","original","width"])," / ").concat(e.getIn([0,"meta","original","height"])):e.getIn([0,"type"])==="audio"?"16 / 9":e.size===1&&e.getIn([0,"meta","small","aspect"])?e.getIn([0,"meta","small","aspect"]):"3 / 2"}
2_properStatus(){const{status:e}=this.props;return e.get("reblog",null)!==null&&typeof e.get("reblog")=="object"?e.get("reblog"):e}render(){const{intl:e,hidden:a,featured:n,unfocusable:s,unread:i,showThread:o,isQuotedPost:c=!1,scrollKey:d,pictureInPicture:p,previousId:h,nextInReplyToId:g,rootId:q,skipPrepend:R,avatarSize:T=46,children:m}=this.props;let{status:l,account:M,...P}=this.props;if(l===null)return null;const x=this.props.muted?{}:{reply:this.handleHotkeyReply,favourite:this.handleHotkeyFavourite,boost:this.handleHotkeyBoost,quote:this.handleHotkeyQuote,mention:this.handleHotkeyMention,open:this.handleHotkeyOpen,openProfile:this.handleHotkeyOpenProfile,toggleHidden:this.handleHotkeyToggleHidden,toggleSensitive:this.handleHotkeyToggleSensitive,openMedia:this.handleHotkeyOpenMedia,onTranslate:this.handleTranslate};let _,C,I,k;const D=h&&h===l.get("in_reply_to_id"),N=q&&q===l.get("in_reply_to_id"),E=g&&g===l.get("id"),j=l.get("matched_filters");if(l.get("reblog",null)!==null&&typeof l.get("reblog")=="object"){const X=u.jsx(Fr,{displayProps:{account:l.get("account"),variant:"simple"},className:"status__display-name muted"});I=u.jsxs("div",{className:"status__prepend",children:[u.jsx("div",{className:"status__prepend__icon",children:u.jsx(G,{id:"retweet",icon:Di})}),u.jsx(S,{id:"status.reblogged_by",defaultMessage:"{name} boosted",values:{name:X}})]}),k=e.formatMessage({id:"status.reblogged_by",defaultMessage:"{name} boosted"},{name:l.getIn(["account","acct"])}),M=l.get("account"),l=l.get("reblog")}else l.get("visibility")==="direct"?I=u.jsxs("div",{className:"status__prepend",children:[u.jsx("div",{className:"status__prepend__icon",children:u.jsx(G,{id:"at",icon:Ns})}),u.jsx(S,{id:"status.direct_indicator",defaultMessage:"Private mention"})]}):o&&l.get("in_reply_to_id")&&(I=u.jsx(el,{accountId:l.getIn(["account","id"]),inReplyToAccountId:l.get("in_reply_to_account_id")}));const w=(!j||this.state.showDespiteFilter)&&(!l.get("hidden")||l.get("spoiler_text").length===0);if(a)return u.jsx(ia,{handlers:x,focusable:!s,children:u.jsxs("div",{ref:this.handleRef,className:B("status__wrapper",{focusable:!this.props.muted}),tabIndex:s?null:0,children:[u.jsx("span",{children:l.getIn(["account","display_name"])||l.getIn(["account","username"])}),l.get("spoiler_text").length>0&&u.jsx("span",{children:l.get("spoiler_text")}),w&&u.jsx("span",{children:l.get("content")})]})});if(p.get("inUse"))_=u.jsx(Qo,{aspectRatio:this.getAttachmentAspectRatio()});else if(l.get("media_attachments").size>0){const X=l.getIn(["translation","language"])||l.get("language");if(["image","gifv","unknown"].includes(l.getIn(["media_attachments",0,"type"]))||l.get("media_attachments").size>1)_=u.jsx(ae,{fetchComponent:Ao,loading:this.renderLoadingMediaGallery,children:O=>u.jsx(O,{media:l.get("media_attachments"),lang:X,sensitive:l.get("sensitive"),height:110,onOpenMedia:this.handleOpenMedia,cacheWidth:this.props.cacheMediaWidth,defaultWidth:this.props.cachedMediaWidth,visible:this.state.showMedia,onToggleVisibility:this.handleToggleMediaVisibility,matchedFilters:l.get("matched_media_filters")})});else if(l.getIn(["media_attachments",0,"type"])==="audio"){const O=l.getIn(["media_attachments",0]),Me=O.getIn(["translation","description"])||O.get("description");_=u.jsx(ae,{fetchComponent:Po,loading:this.renderLoadingAudioPlayer,children:Ie=>u.jsx(Ie,{src:O.get("url"),alt:Me,lang:X,poster:O.get("preview_url")||l.getIn(["account","avatar_static"]),backgroundColor:O.getIn(["meta","colors","background"]),foregroundColor:O.getIn(["meta","colors","foreground"]),accentColor:O.getIn(["meta","colors","accent"]),duration:O.getIn(["meta","original","duration"],0),deployPictureInPicture:p.get("available")?this.handleDeployPictureInPicture:void 0,sensitive:l.get("sensitive"),blurhash:O.get("blurhash"),visible:this.state.showMedia,onToggleVisibility:this.handleToggleMediaVisibility,matchedFilters:l.get("matched_media_filters")})})}else if(l.getIn(["media_attachments",0,"type"])==="video"){const O=l.getIn(["media_attachments",0]),Me=O.getIn(["translation","description"])||O.get("description");_=u.jsx(ae,{fetchComponent:So,loading:this.renderLoadingVideoPlayer,children:Ie=>u.jsx(Ie,{preview:O.get("preview_url"),frameRate:O.getIn(["meta","original","frame_rate"]),aspectRatio:"".concat(O.getIn(["meta","original","width"])," / ").concat(O.getIn(["meta","original","height"])),blurhash:O.get("blurhash"),src:O.get("url"),alt:Me,lang:X,sensitive:l.get("sensitive"),onOpenVideo:this.handleOpenVideo,deployPictureInPicture:p.get("available")?this.handleDeployPictureInPicture:void 0,visible:this.state.showMedia,onToggleVisibility:this.handleToggleMediaVisibility,matchedFilters:l.get("matched_media_filters")})})}}else l.get("card")&&!l.get("quote")&&(_=u.jsx(ki,{onOpenMedia:this.handleOpenMedia,card:l.get("
2card"),compact:!0,sensitive:l.get("sensitive")}));M==null?C=u.jsx(wi,{account:l.get("account"),size:T}):C=u.jsx($o,{account:l.get("account"),friend:M});const V=l.get("activity_pub_type"),z=l.get("public_in_local")?"local":l.get("visibility"),{statusContentProps:ne,hashtagBar:oi}=Uc(l);return u.jsx(ia,{handlers:x,focusable:!s,children:u.jsxs("div",{className:B("status__wrapper","status__wrapper-".concat(l.get("visibility")),{"status__wrapper-reply":!!l.get("in_reply_to_id"),unread:i,focusable:!this.props.muted}),tabIndex:this.props.muted||s?null:0,"data-featured":n?"true":null,"aria-label":ol({intl:e,status:l,rebloggedByText:k,isQuote:c}),ref:this.handleRef,"data-nosnippet":l.getIn(["account","noindex"],!0)||void 0,children:[!R&&I,u.jsxs("div",{className:B("status","status-".concat(l.get("visibility")),{"status-reply":!!l.get("in_reply_to_id"),"status--in-thread":!!q,"status--first-in-thread":h&&(!D||N),muted:this.props.muted,"status--is-quote":c,"status--has-quote":!!l.get("quote"),"status--highlighted-entry":this.props.shouldHighlightOnMount}),"data-id":l.get("id"),children:[(E||D||N)&&u.jsx("div",{className:B("status__line",{"status__line--full":E,"status__line--first":!l.get("in_reply_to_id")&&!N})}),u.jsxs("div",{onClick:this.handleHeaderClick,onAuxClick:this.handleHeaderClick,className:"status__info",children:[u.jsxs(re,{to:"/@".concat(l.getIn(["account","acct"]),"/").concat(l.get("id")),className:"status__relative-time",children:[u.jsx("span",{className:"status__visibility-icon",children:u.jsx(sl,{visibility:z})}),u.jsx(fo,{timestamp:l.get("created_at")}),l.get("edited_at")&&u.jsx("abbr",{title:e.formatMessage(le.edited,{date:e.formatDate(l.get("edited_at"),{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"})}),children:" *"})]}),u.jsx(Fr,{displayProps:{account:l.get("account")},className:"status__display-name",children:u.jsx("div",{className:"status__avatar",children:C})}),c&&!!this.props.onQuoteCancel&&u.jsx(Z,{onClick:this.handleQuoteCancel,className:"status__quote-cancel",title:e.formatMessage(le.quote_cancel),icon:"cancel-fill",iconComponent:ko})]}),j&&u.jsx(Ko,{title:j.join(", "),expanded:this.state.showDespiteFilter,onClick:this.handleFilterToggle}),V!=="Article"&&l.get("spoiler_text").length>0&&(!j||this.state.showDespiteFilter)&&u.jsx(Uo,{status:l,expanded:w,onClick:this.handleExpandedToggle}),V==="Article"&&(!j||this.state.showDespiteFilter)&&u.jsx(bs,{status:l,onClick:this.handleClick,onTranslate:this.handleTranslate,collapsible:!0,onCollapsedToggle:this.handleCollapsedToggle,statusActivityObjectType:V,...ne}),w&&u.jsxs(u.Fragment,{children:[u.jsx(bs,{status:l,onClick:this.handleClick,onTranslate:this.handleTranslate,collapsible:!0,onCollapsedToggle:this.handleCollapsedToggle,statusActivityObjectType:V,...ne}),V==="Article"?null:_,oi,m]}),!c&&u.jsx(Jc,{scrollKey:d,status:l,account:M,...P})]})]})})}}v(Hr,"contextType",Hs),v(Hr,"propTypes",{status:te.map,account:te.record,children:f.node,previousId:f.string,nextInReplyToId:f.string,rootId:f.string,onClick:f.func,onReply:f.func,onFavourite:f.func,onReblog:f.func,onQuote:f.func,onDelete:f.func,onDirect:f.func,onMention:f.func,onPin:f.func,onOpenMedia:f.func,onOpenVideo:f.func,onBlock:f.func,onAddFilter:f.func,onEmbed:f.func,onHeightChange:f.func,onToggleHidden:f.func,onToggleCollapsed:f.func,onTranslate:f.func,onInteractionModal:f.func,onQuoteCancel:f.func,muted:f.bool,hidden:f.bool,unread:f.bool,showThread:f.bool,isQuotedPost:f.bool,shouldHighlightOnMount:f.bool,getScrollPosition:f.func,updateScrollBottom:f.func,cacheMediaWidth:f.func,cachedMediaWidth:f.number,scrollKey:f.string,skipPrepend:f.bool,avatarSize:f.number,deployPictureInPicture:f.func,unfocusable:f.bool,pictureInPicture:te.contains({inUse:f.bool,available:f.bool}),contextType:f.string,...Pi});const ul=Oi(de(Hr)),cl=()=>{const t=ji(),r=Li();return(a,n)=>({status:t(a,n),nextInReplyToId:n.nextId?a.getIn(["statuses",n.nextId,"in_reply_to_id"]):null,pictureInPicture:r(a,n)})},ll=(t,{contextType:r})=>({onReply(e){t((a,n)=>{n().getIn(["compose","text"]).trim().length!==0?t(H({modalType:"CONFIRM_REPLY",modalProps:{status:e}})):t(oo(e))})},onReblog(e,a){t(io(e.get("id"),a.shiftKey))},onQuote(e){t(so(e.get("id")))},onFavourite(e){t(no(e.get("id")))},onBookmark(e){e.get("bookmarked")?t(ro(e)):t(ao(e))},onPin(e){e.get("pinned")?t(eo(e)):t(to(e))},onEmbed(e){t(H({modalType:"EMBED",modalProps:{id:e.get("id")}}))},onDelete(e,a=!1){t(hi?H({modalType:"CONFIRM_DELETE_STATUS",modalProps:{statusId:e.get("id"),withRedraft:a}}):Ji(e.get("id"),a))},onRevokeQuote(e){t(H({modalType:"CONFIRM_REVOKE_QUOTE",modalProps:{statusId:e.get("id"),quotedStatusId:e.getIn(["quote","quoted_status"])}}))},onQuotePolicyChange(e){const a=e.get("id");t(H({modalType:"COMPOSE_PRIVACY",modalProps:{statusId:a,onChange:(s,i)=>{t(uo({policy:i,statusId:a}))}}}))},onEdit(e){t((a,n)=>{n().getIn(["compose","text"]).trim().length!==0?t(H({modalType:"CONFIRM_EDIT_STATUS",modalProps:{statusId:e.get("id")}})):t(Yi(e.get("id")))})},onTranslate(e){e.get("translation")?t(Wi(e.get("id"),e.get("poll"))):t(Xi(e.get("id")))},onDirect(e){t(Zi(e))},onMention(e){t(zi(e))},onOpenMedia(e,a,n,s){t(H({modalType:"MEDIA",modalProps:{statusId:e,media:a,index:n,lang:s}}))},onOpenVideo(e,a,n,s){t(H({modalType:"VIDEO",modalProps:{statusId:e,media:a,lang:n,options:s}}))},onBlock(e){const a=e.get("account");t($i(a))},onUnblock(e){t(Qi(e.get("id")))},onReport(e){t(No(e.get("account"),e))},onAddFilter(e){t(Gi(e,{contextType:r}))},onMute(e){t(Ki(e))},onUnmute(e){t(Ui(e.get("id")))}
2,onMuteConversation(e){e.get("muted")?t(Bi(e.get("id"))):t(Vi(e.get("id")))},onToggleHidden(e){t(Hi(e.get("id")))},onToggleCollapsed(e,a){t(Fi(e.get("id"),a))},onBlockDomain(e){t(xo(e))},onUnblockDomain(e){t(Mo(e))},deployPictureInPicture(e,a,n){t(Ni({statusId:e.get("id"),accountId:e.getIn(["account","id"]),playerType:a,props:n}))},onInteractionModal(e){t(H({modalType:"INTERACTION",modalProps:{accountId:e.getIn(["account","id"]),url:e.get("uri")}}))}}),Br=de(Ur(cl,ll)(ul)),Rs=1,dl=({status:t})=>{const r=t.get("account"),e=typeof r=="string"?r:r.id,a=K(s=>e?s.accounts.get(e):void 0),n=a==null?void 0:a.acct;return n?u.jsx("div",{className:"status__quote-author-button",children:u.jsx(S,{id:"status.quote_post_author",defaultMessage:"Quoted a post by @{name}",values:{name:n}})}):null},hl=({accountId:t})=>{const r=pe(),e=y.useCallback(()=>{r(_o({id:t}))},[r,t]);return u.jsxs(u.Fragment,{children:[u.jsx(S,{id:"status.quote_error.limited_account_hint.title",defaultMessage:"This account has been hidden by the moderators of {domain}.",values:{domain:pi}}),u.jsx("button",{onClick:e,className:"link-button",children:u.jsx(S,{id:"status.quote_error.limited_account_hint.action",defaultMessage:"Show anyway"})})]})},pl=({reveal:t,quotedAccountId:r,quoteState:e})=>{const a=K(o=>r?o.accounts.get(r):void 0),n=a==null?void 0:a.acct,s=n==null?void 0:n.split("@")[1];let i;switch(e){case"blocked_account":i=u.jsx(S,{id:"status.quote_error.blocked_account_hint.title",defaultMessage:"This post is hidden because you've blocked @{name}.",values:{name:n}});break;case"blocked_domain":i=u.jsx(S,{id:"status.quote_error.blocked_domain_hint.title",defaultMessage:"This post is hidden because you've blocked {domain}.",values:{domain:s}});break;case"muted_account":i=u.jsx(S,{id:"status.quote_error.muted_account_hint.title",defaultMessage:"This post is hidden because you've muted @{name}.",values:{name:n}})}return u.jsxs(u.Fragment,{children:[i,u.jsx("button",{onClick:t,className:"link-button",children:u.jsx(S,{id:"status.quote_error.limited_account_hint.action",defaultMessage:"Show anyway"})})]})},ii=({quote:t,contextType:r,parentQuotePostId:e,nestingLevel:a=1,variant:n="full",onQuoteCancel:s})=>{const i=pe(),o=K(k=>e?k.statuses.getIn([e,"quote","state"]):t.get("state")),c=t.get("quoted_status"),d=y.useMemo(()=>co(),[]),{status:p,loadingState:h}=K(k=>d(k,{id:c,contextType:r})),g=p!=null&&p.get("account")?p.get("account").id:null,q=K(k=>g&&lo(k,g)),R=!(p!=null&&p.get("isLoading"))&&o!=="deleted"&&h==="not-found",T=h==="complete",m=y.useRef(!1),[l,M]=y.useState(!1),P=y.useCallback(()=>{M(!0)},[M]);y.useEffect(()=>{T&&(m.current=!1)},[T]),y.useEffect(()=>{R&&c&&!m.current&&(i(ho(c,{parentQuotePostId:e,alsoFetchContext:!1})),m.current=!0)},[R,c,e,i]),y.useEffect(()=>{g&&q&&i(po([g]))},[g,q,i]);const x=h==="filtered";let _=null;if(x?_=u.jsx(S,{id:"status.quote_error.filtered",defaultMessage:"Hidden due to one of your filters"}):o==="pending"?_=u.jsxs(u.Fragment,{children:[u.jsx(S,{id:"status.quote_error.pending_approval",defaultMessage:"Post pending"}),u.jsx(Oo,{children:u.jsx("p",{children:u.jsx(S,{id:"status.quote_error.pending_approval_popout.body",defaultMessage:"On Mastodon, you can control whether someone can quote you. This post is pending while we're getting the original author's approval."})})})]}):o==="revoked"?_=u.jsx(S,{id:"status.quote_error.revoked",defaultMessage:"Post removed by author"}):(o==="blocked_account"||o==="blocked_domain"||o==="muted_account")&&!l&&g?_=u.jsx(pl,{quoteState:o,reveal:P,quotedAccountId:g}):!p||!c||o==="deleted"||o==="rejected"||o==="unauthorized"?_=u.jsx(S,{id:"status.quote_error.not_available",defaultMessage:"Post unavailable"}):q&&g&&(_=u.jsx(hl,{accountId:g})),_){const k=r==="composer"&&!!s;return u.jsxs("div",{className:"status__quote status__quote--error",children:[_,k&&u.jsx(js,{compact:!0,plain:!0,onClick:s,children:u.jsx(S,{id:"status.remove_quote",defaultMessage:"Remove"})})]})}if(n==="link"&&p)return u.jsx(dl,{status:p});const C=p==null?void 0:p.get("quote"),I=C&&a<=Rs;return u.jsx("div",{className:"status__quote",children:u.jsx(Br,{isQuotedPost:!0,id:c,contextType:r,avatarSize:32,onQuoteCancel:s,children:I&&u.jsx(ii,{quote:C,parentQuotePostId:c,contextType:r,variant:a===Rs?"link":"full",nestingLevel:a+1})})})},Dd=t=>{const r=K(a=>{const n=a.statuses.get(t.id),s=n==null?void 0:n.get("reblog");return s?a.statuses.get(s):n}),e=r==null?void 0:r.get("quote");return e?u.jsx(Br,{...t,children:u.jsx(ii,{quote:e,parentQuotePostId:r==null?void 0:r.get("id"),contextType:t.contextType})}):u.jsx(Br,{...t})};export{vd as $,yd as A,Xl as B,Sl as C,cd as D,pd as E,Zl as F,Ll as G,kl as H,ud as I,js as J,Nl as K,Ol as L,ed as M,Rl as N,ld as O,Al as P,$l as Q,Gl as R,_d as S,qd as T,tl as U,Ns as V,rl as W,nl as X,al as Y,Cd as Z,sd as _,wl as a,fd as a0,md as a1,gd as a2,hd as a3,od as a4,id as a5,nd as a6,ad as a7,rd as a8,td as a9,U as aA,Zu as aB,Yo as aC,Tc as aD,$s as aE,oe as aF,Gc as aG,Qc as aH,xs as aI,No as aJ,xo as aK,Mo as aL,ol as aM,$o as aN,Ml as aO,Ed as aP,Po as aQ,So as aR,Ao as aS,fc as aT,Ad as aU,Il as aa,kd as ab,Pd as ac,Ls as ad,wd as ae,wo as af,ko as ag,ii as ah,Uo as ai,Cl as aj,sl as ak,Uc as al,Ko as am,bs as an,Qo as ao,ie as ap,Is as aq,Dd as ar,Xs as as,Od as at,Sd as au,Vu as av,_
2c as aw,ou as ax,Ku as ay,Us as az,El as b,xl as c,ia as d,bd as e,Pl as f,Id as g,xd as h,Rd as i,Td as j,Md as k,Fl as l,dd as m,Hl as n,Vl as o,Ul as p,Kl as q,Bl as r,jl as s,Ql as t,zl as u,Yl as v,Jl as w,Wl as x,Dl as y,ae as z};
3//# sourceMappingURL=status_quoted-BMKCfRUs.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.