PageSourceSearch

https://mongoose.me.uk/packs/application-VgEv7Sgk.js

js mongoose.me.uk collected 2026-10-07 19:36:07 UTC 67,466 bytes, 18 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/packs/emoji-CK4bYiy1.js","/packs/chunk-CMxvf4Kt.js","/packs/preload-helper-MPxKRjA8.js","/packs/jsx-runtime-SsSjplwM.js","/packs/locale-D-1rLaCQ.js","/packs/utils-B1ZRuyMb.js","/packs/intl-localematcher-DXxXxMOe.js","/packs/react-intl-Cop388b4.js","/packs/prop-types-BTvjt2rf.js","/packs/render-Gl4Q1vIP.js","/packs/defineProperty-ClgyJMzY.js","/packs/ready-B3bZnx13.js","/packs/axios-fEECnNIR.js","/packs/accounts_typed-CIc-5GGi.js","/packs/typed_functions-CyAHd4bl.js","/packs/redux-toolkit.modern-DmA8smPH.js","/packs/immutable.es-BbKILtiW.js","/packs/router-COf4DbtI.js","/packs/locales-BuoYIVCV.js","/packs/react-router-BzQH59UT.js","/packs/settings-Cq4pjZIN.js","/packs/debounce-BID24YNc.js","/packs/isSymbol-DjjMdNDY.js"])))=>i.map(i=>d[i]);
2import{o as e,t}from"./chunk-CMxvf4Kt.js";import{n,t as r}from"./jsx-runtime-SsSjplwM.js";import{a as i,c as a,s as o}from"./react-intl-Cop388b4.js";import{n as s,t as c}from"./preload-helper-MPxKRjA8.js";import{t as l}from"./ready-B3bZnx13.js";import{C as u,E as d,L as f,M as p,N as m,R as h,V as g,_,b as v,h as y,l as b,m as x,o as S}from"./prop-types-BTvjt2rf.js";import{a as C,i as w,n as ee,t as te}from"./locales-BuoYIVCV.js";import{$ as ne,A as T,E as re,F as ie,G as ae,H as oe,J as se,K as ce,P as le,Q as ue,X as de,Y as fe,_ as pe,at as me,ct as he,nt as ge,ot as _e,rt as ve,ut as ye}from"./poll-CFw-XvZV.js";import{Cn as be,Ki as xe,Pr as Se,Qi as Ce,Sn as we,Sr as Te,Tt as Ee,Wn as De,Xi as Oe,Xr as ke,Zi as Ae,Zt as je,aa as Me,bt as Ne,d as E,fi as Pe,lt as Fe,ti as Ie,ui as Le,vt as Re,wn as ze,yt as Be}from"./render-Gl4Q1vIP.js";import{c as D,d as Ve,i as He,n as O,t as k,u as Ue}from"./react-router-BzQH59UT.js";import{o as We,t as Ge}from"./router-COf4DbtI.js";import{t as Ke}from"./debounce-BID24YNc.js";import{t as A}from"./defineProperty-ClgyJMzY.js";import{c as qe,l as Je,n as Ye,o as j,s as M}from"./typed_functions-CyAHd4bl.js";import{c as Xe}from"./utils-B1ZRuyMb.js";import{t as N}from"./helmet-DcyqcM0_.js";import{n as Ze,t as Qe}from"./short_number-Coj2vPT7.js";import{o as $e}from"./streaming-6NaCZDJL.js";import{At as et,Bt as tt,Ct as nt,Dt as rt,Et as it,Ft as at,G as ot,Gt as st,H as ct,Ht as lt,It as ut,Jt as dt,K as ft,Lt as pt,Mt as mt,Q as ht,Rt as gt,St as _t,U as vt,V as yt,Vt as bt,W as xt,Wt as St,Yt as Ct,Z as wt,Zt as Tt,_t as Et,at as Dt,bt as Ot,et as kt,ft as At,gt as P,jt as F,kt as jt,ln as Mt,lt as Nt,mn as Pt,mt as Ft,nt as It,ot as Lt,pn as Rt,pt as zt,q as I,st as Bt,tt as Vt,un as Ht,vt as Ut,xt as Wt,yt as Gt,zt as Kt}from"./status_quoted-B4zm7Nn3.js";import{t as qt}from"./classnames-CYxIelk8.js";import{a as Jt,n as Yt,r as L,t as Xt}from"./skip_links-Doh-ZAQh.js";import{t as Zt}from"./onboarding-BeF49BVT.js";import{n as Qt,r as $t,t as en}from"./modal_container-1kBYZJW9.js";import{t as tn}from"./intl-5El_RLKu.js";import{t as nn}from"./use_fetch_familiar_followers-UfGtRXxr.js";import{t as rn}from"./account_bio-5Qj94AXN.js";import{t as an}from"./avatar_group-7CbKPGWb.js";import{_ as on,m as sn,t as cn,v as ln}from"./account-BLxTG_SV.js";import{t as R}from"./skeleton-F9wtbjO5.js";import{t as z}from"./useTimeout-DYPjnyWa.js";import{t as un}from"./audio-r588f_HA.js";import{t as dn}from"./video-DJlLXUs6.js";import"./card-OySwK66J.js";import{o as fn}from"./media_modal-BXecqhpT.js";import{t as B}from"./bundle_column_error-Dleqe0uF.js";import{t as pn}from"./navigation_bar-ys3wAuYv.js";import{d as V,i as mn,l as hn,t as gn}from"./columns_area-BiOiKGPw.js";import{t as _n}from"./server_hero_image-Gt-rCEfz.js";import{n as vn,t as yn}from"./tab_list-DX5ZTl5P.js";import{t as bn}from"./callout-D48uA8ur.js";import{n as xn}from"./scroll_container-C9m7_c6O.js";import{t as Sn}from"./status_list_container-CE57aAcl.js";var H=e(n()),Cn=s(),U=typeof performance<`u`&&performance,wn=U&&U.now?function(){return U.now()}:function(){return Date.now()};function W(e){if(!e)throw Error(`name must be non-empty`)}function Tn(e,t){for(var n=0,r=e.length,i;n<r;)i=n+r>>>1,e[i].startTime<t.startTime?n=i+1:r=i;e.splice(n,0,t)}var G,K;if(U&&U.mark&&U.measure&&U.getEntriesByName&&U.getEntriesByType&&U.clearMarks&&U.clearMeasures)G=function(e){W(e),U.mark(`start `+e)},K=function(e){W(e),U.mark(`end `+e);var t=U.measure(e,`start `+e,`end `+e);if(t)return t;var n=U.getEntriesByName(e);return n[n.length-1]};else{var En={},Dn=[];G=function(e){W(e);var t=wn();En[`$`+e]=t},K=function(e){W(e);var t=wn(),n=En[`$`+e];if(!n)throw Error(`no known mark: `+e);var r={startTime:n,name:e,duration:t-n,entryType:`measure`};return Tn(Dn,r),r}}function On(e){w()&&G(e)}function kn(e){w()&&K(e)}var q=t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(`stackframe`,[],r):typeof e==`object`?t.exports=r():n.StackFrame=r()})(e,function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=[`isConstructor`,`isEval`,`isNative`,`isToplevel`],i=[`columnNumber`,`lineNumber`],a=[`fileName`,`functionName`,`source`],o=r.concat(i,a,[`args`],[`evalOrigin`]);function s(e){if(e)for(var n=0;n<o.length;n++)e[o[n]]!==void 0&&this[`set`+t(o[n])](e[o[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if(Object.prototype.toString.call(e)!==`[object Array]`)throw TypeError(`Args must be an Array`);this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else if(e instanceof Object)this.evalOrigin=new s(e);else throw TypeError(`Eval Origin must be an Object or StackFrame`)},toString:function(){var e=this.getFileName()||``,t=this.getLineNumber()||``,n=this.getColumnNumber()||``,r=this.getFunctionName()||``;return this.getIsEval()?e?`[eval] (`+e+`:`+t+`:`+n+`)`:`[eval]:`+t+`:`+n:r?r+` (`+e+`:`+t+`:`+n+`)`:e+`:`+t+`:`+n}},s.fromString=function(e){var t=e.indexOf(`(`),n=e.lastIndexOf(`)`),r=e.substring(0,t),i=e.substring(t+1,n).split(`,`),a=e.substring(n+1);if(a.indexOf(`@`)===0)var o=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,``),c=o[1],l=o[2],u=o[3];return new s({functionName:r,args:i||void 0,fileName:c,lineNumber:l||void 0,columnNumber:u||void 0})};for(var c=0;c<r.length;c++)s.prototype[`get`+t(r[c])]=n(r[c]),s.prototype[`set`+t(r[c])]=(function(e){return function(t){this[e]=!!t}})(r[c]);for(var l=0;l<i.length;l++)s.prototype[`get`+t(i[l])]=n(i[l]),s.prototype[`set`+t(i[l])]=(function(t){return function(n){if(!e(n))throw TypeError(t+` must be a Number`);this[t]=Number(n)}})(i[l]);for(var u=0;u<a.length;u++)s.prototype[`get`+t(a[u])]=n(a[u]),s.prototype[`set`+t(a[u])]=(function(e){return function(t){this[e]=String(t)}})(a[u]);return s})})),An=t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(`error-stack-parser`,[`stackframe`],r):typeof e==`object`?t.exports=r(q()):n.ErrorStackParser=r(n.StackFrame)}
2)(e,function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(e.stacktrace!==void 0||e[`opera#sourceloc`]!==void 0)return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw Error(`Cannot parse given Error object`)},extractLocation:function(e){if(e.indexOf(`:`)===-1)return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,``));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split(`
3`).filter(function(e){return!!e.match(n)},this).map(function(t){t.indexOf(`(eval `)>-1&&(t=t.replace(/eval code/g,`eval`).replace(/(\(eval at [^()]*)|(,.*$)/g,``));var n=t.replace(/^\s+/,``).replace(/\(eval code/g,`(`).replace(/^.*?\s+/,``),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],``):n;var i=this.extractLocation(r?r[1]:n);return new e({functionName:r&&n||void 0,fileName:[`eval`,`<anonymous>`].indexOf(i[0])>-1?void 0:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)},parseFFOrSafari:function(t){return t.stack.split(`
4`).filter(function(e){return!e.match(r)},this).map(function(t){if(t.indexOf(` > eval`)>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,`:$1`)),t.indexOf(`@`)===-1&&t.indexOf(`:`)===-1)return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,a=this.extractLocation(t.replace(n,``));return new e({functionName:i,fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(`
5`)>-1&&e.message.split(`
6`).length>e.stacktrace.split(`
7`).length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split(`
8`),i=[],a=2,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split(`
9`),i=[],a=0,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera11:function(n){return n.stack.split(`
10`).filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this).map(function(t){var n=t.split(`@`),r=this.extractLocation(n.pop()),i=n.shift()||``,a=i.replace(/<anonymous function(: (\w+))?>/,`$2`).replace(/\([^)]*\)/g,``)||void 0,o;return i.match(/\(([^)]*)\)/)&&(o=i.replace(/^[^(]+\(([^)]*)\)$/,`$1`)),new e({functionName:a,args:o===void 0||o===`[arguments not available]`?void 0:o.split(`,`),fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})},this)}}})})),jn=t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(`stack-generator`,[`stackframe`],r):typeof e==`object`?t.exports=r(q()):n.StackGenerator=r(n.StackFrame)})(e,function(e){return{backtrace:function(t){var n=[],r=10;typeof t==`object`&&typeof t.maxStackSize==`number`&&(r=t.maxStackSize);for(var i=arguments.callee;i&&n.length<r&&i.arguments;){for(var a=Array(i.arguments.length),o=0;o<a.length;++o)a[o]=i.arguments[o];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:a})):n.push(new e({args:a}));try{i=i.caller}catch{break}}return n}}})})),Mn=t((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;function o(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=n.split(/\/+/),c,l=0,u=s.length-1;u>=0;u--)c=s[u],c===`.`?s.splice(u,1):c===`..`?l++:l>0&&(c===``?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n}e.normalize=o;function s(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),s=i(e);if(s&&(e=s.path||`/`),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c=t.charAt(0)===`/`?t:o(e.replace(/\/+$/,``)+`/`+t);return s?(s.path=c,a(s)):c}e.join=s,e.isAbsolute=function(e){return e.charAt(0)===`/`||!!e.match(n)};function c(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=c;var l=function(){return!(`__proto__`in Object.create(null))}();function u(e){return e}function d(e){return p(e)?`$`+e:e}e.toSetString=l?u:d;function f(e){return p(e)?e.slice(1):e}e.fromSetString=l?u:f;function p(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function m(e,t,n){var r=e.source-t.source;return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:e.name-t.name}e.compareByOriginalPositions=m;function h(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=e.source-t.source,r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:e.name-t.name}e.compareByGeneratedPositionsDeflated=h;function g(e,t){return e===t?0:e>t?1:-1}function _(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=g(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:g(e.name,t.name)}e.compareByGeneratedPositionsInflated=_})),Nn=t((e=>{e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})),Pn=t((e=>{var t=Mn(),n=Object.prototype.hasOwnProperty;function r(){this._array=[],this._set=Object.create(null)}r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,r){var i=t.toSetString(e),a=n.call(this._set,i),o=this._array.length;(!a||r)&&this._array.push(e),a||(this._set[i]=o)},r.prototype.has=function(e){var r=t.toSetString(e);return n.call(this._set,r)},r.prototype.indexOf=function(e){var r=t.toSetString(e);if(n.call(this._set,r))return this._set[r];throw Error(`"`+e+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},e.ArraySet=r})),Fn=t((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 8,032 bytes, line 10
10+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),In=t((e=>{var t=Fn(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),Ln=t((e=>{function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}e.quickSort=function(e,t){r(e,t,0,e.length-1)}})),Rn=t((e=>{var t=Mn(),n=Nn(),r=Pn().ArraySet,i=In(),a=Ln().quickSort;function o(e){var t=e;return typeof e==`string`&&(t=JSON.parse(e.replace(/^\)\]\}'/,``))),t.sections==null?new s(t):new l(t)}o.fromSourceMap=function(e){return s.fromSourceMap(e)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},o.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||o.GENERATED_ORDER,s;switch(a){case o.GENERATED_ORDER:s=this._generatedMappings;break;case o.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(e){var n=e.source===null?null:this._sources.at(e.source);return n!=null&&c!=null&&(n=t.join(c,n)),{source:n,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}},this).forEach(e,i)},o.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(this.sourceRoot!=null&&(i.source=t.relative(this.sourceRoot,i.source)),!this._sources.has(i.source))return[];i.source=this._sources.indexOf(i.source);var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=o;function s(e){var n=e;typeof e==`string`&&(n=JSON.parse(e.replace(/^\)\]\}'/,``)));var i=t.getArg(n,`version`),a=t.getArg(n,`sources`),o=t.getArg(n,`names`,[]),s=t.getArg(n,`sourceRoot`,null),c=t.getArg(n,`sourcesContent`,null),l=t.getArg(n,`mappings`),u=t.getArg(n,`file`,null);if(i!=this._version)throw Error(`Unsupported version: `+i);a=a.map(String).map(t.normalize).map(function(e){return s&&t.isAbsolute(s)&&t.isAbsolute(e)?t.relative(s,e):e}),this._names=r.fromArray(o.map(String),!0),this._sources=r.fromArray(a,!0),this.sourceRoot=s,this.sourcesContent=c,this._mappings=l,this.file=u}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.fromSourceMap=function(e){var n=Object.create(s.prototype),i=n._names=r.fromArray(e._names.toArray(),!0),o=n._sources=r.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var l=e._mappings.toArray().slice(),u=n.__generatedMappings=[],d=n.__originalMappings=[],f=0,p=l.length;f<p;f++){var m=l[f],h=new c;h.generatedLine=m.generatedLine,h.generatedColumn=m.generatedColumn,m.source&&(h.source=o.indexOf(m.source),h.originalLine=m.originalLine,h.originalColumn=m.originalColumn,m.name&&(h.name=i.indexOf(m.name)),d.push(h)),u.push(h)}return a(n.__originalMappings,t.compareByOriginalPositions),n},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot==null?e:t.join(this.sourceRoot,e)},this)}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(e,n){for(var r=1,o=0,s=0,l=0,u=0,d=0,f=e.length,p=0,m={},h={},g=[],_=[],v,y,b,x,S;p<f;)if(e.charAt(p)===`;`)r++,p++,o=0;else if(e.charAt(p)===`,`)p++;else{for(v=new c,v.generatedLine=r,x=p;x<f&&!this._charIsMappingSeparator(e,x);x++);if(y=e.slice(p,x),b=m[y],b)p+=y.length;else{for(b=[];p<x;)i.decode(e,p,h),S=h.value,p=h.rest,b.push(S);if(b.length===2)throw Error(`Found a source, but no line and column`);if(b.length===3)throw Error(`Found a source and line, but no column`);m[y]=b}v.generatedColumn=o+b[0],o=v.generatedColumn,b.length>1&&(v.source=u+b[1],u+=b[1],v.originalLine=s+b[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=l+b[3],l=v.originalColumn,b.length>4&&(v.name=d+b[4],d+=b[4])),_.push(v),typeof v.originalLine==`number`&&g.push(v)}a(_,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,a(g,t.compareByOriginalPositions),this.__originalMappings=g},s.prototype._findMapping=function(e,t,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return n.search(e,t,a,o)},s.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),this.sourceRoot!=null&&(a=t.join(this.sourceRoot,a)));var s=t.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},s.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(e=t.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(this.sourceRoot!=null&&(r=t.urlParse(this.sourceRoot))){var i=e.replace(/^file:\/\//,``);
10if(r.scheme==`file`&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!r.path||r.path==`/`)&&this._sources.has(`/`+e))return this.sourcesContent[this._sources.indexOf(`/`+e)]}if(n)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},s.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(this.sourceRoot!=null&&(n=t.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function l(e){var n=e;typeof e==`string`&&(n=JSON.parse(e.replace(/^\)\]\}'/,``)));var i=t.getArg(n,`version`),a=t.getArg(n,`sections`);if(i!=this._version)throw Error(`Unsupported version: `+i);this._sources=new r,this._names=new r;var s={line:-1,column:0};this._sections=a.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var n=t.getArg(e,`offset`),r=t.getArg(n,`line`),i=t.getArg(n,`column`);if(r<s.line||r===s.line&&i<s.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return s=n,{generatedOffset:{generatedLine:r+1,generatedColumn:i+1},consumer:new o(t.getArg(e,`map`))}})}l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},l.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer.sources.indexOf(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);i.consumer.sourceRoot!==null&&(l=t.join(i.consumer.sourceRoot,l)),this._sources.add(l),l=this._sources.indexOf(l);var u=i.consumer._names.at(c.name);this._names.add(u),u=this._names.indexOf(u);var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=l})),zn=t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(`stacktrace-gps`,[`source-map`,`stackframe`],r):typeof e==`object`?t.exports=r(Rn(),q()):n.StackTraceGPS=r(n.SourceMap||n.sourceMap,n.StackFrame)})(e,function(e,t){function n(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open(`get`,e),r.onerror=n,r.onreadystatechange=function(){r.readyState===4&&(r.status>=200&&r.status<300||e.substr(0,7)===`file://`&&r.responseText?t(r.responseText):n(Error(`HTTP status: `+r.status+` retrieving `+e)))},r.send()})}function r(e){if(typeof window<`u`&&window.atob)return window.atob(e);throw Error(`You must supply a polyfill for window.atob in this environment`)}function i(e){if(typeof JSON<`u`&&JSON.parse)return JSON.parse(e);throw Error(`You must supply a polyfill for JSON.parse in this environment`)}function a(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],r=e.split(`
11`),i=``,a=Math.min(t,20),o=0;o<a;++o){var s=r[t-o-1],c=s.indexOf(`//`);if(c>=0&&(s=s.substr(0,c)),s){i=s+i;for(var l=n.length,u=0;u<l;u++){var d=n[u].exec(i);if(d&&d[1])return d[1]}}}}function o(){if(typeof Object.defineProperty!=`function`||typeof Object.create!=`function`)throw Error(`Unable to consume source maps in older browsers`)}function s(e){if(typeof e!=`object`)throw TypeError(`Given StackFrame is not an object`);if(typeof e.fileName!=`string`)throw TypeError(`Given file name is not a String`);if(typeof e.lineNumber!=`number`||e.lineNumber%1!=0||e.lineNumber<1)throw TypeError(`Given line number must be a positive integer`);if(typeof e.columnNumber!=`number`||e.columnNumber%1!=0||e.columnNumber<0)throw TypeError(`Given column number must be a non-negative integer`);return!0}function c(e){for(var t=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm,n,r;r=t.exec(e);)n=r[1];if(n)return n;throw Error(`sourceMappingURL not found`)}function l(e,n,r){return new Promise(function(i,a){var o=n.originalPositionFor({line:e.lineNumber,column:e.columnNumber});if(o.source){var s=n.sourceContentFor(o.source);s&&(r[o.source]=s),i(new t({functionName:o.name||e.functionName,args:e.args,fileName:o.source,lineNumber:o.line,columnNumber:o.column}))}else a(Error(`Could not get original source for given stackframe and source map`))})}return function u(d){if(!(this instanceof u))return new u(d);d||={},this.sourceCache=d.sourceCache||{},this.sourceMapConsumerCache=d.sourceMapConsumerCache||{},this.ajax=d.ajax||n,this._atob=d.atob||r,this._get=function(e){return new Promise(function(t,n){var r=e.substr(0,5)===`data:`;if(this.sourceCache[e])t(this.sourceCache[e]);else if(d.offline&&!r)n(Error(`Cannot make network requests in offline mode`));else if(r){var i=e.match(/^data:application\/json;
11([\w=:"-]+;)*base64,/);if(i){var a=i[0].length,o=e.substr(a),s=this._atob(o);this.sourceCache[e]=s,t(s)}else n(Error(`The encoding of the inline sourcemap is not supported`))}else{var c=this.ajax(e,{method:`get`});this.sourceCache[e]=c,c.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(r){if(this.sourceMapConsumerCache[t])r(this.sourceMapConsumerCache[t]);else{var a=new Promise(function(r,a){return this._get(t).then(function(t){typeof t==`string`&&(t=i(t.replace(/^\)\]\}'/,``))),t.sourceRoot===void 0&&(t.sourceRoot=n),r(new e.SourceMapConsumer(t))}).catch(a)}.bind(this));this.sourceMapConsumerCache[t]=a,r(a)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n).catch(n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(n,r){s(e),this._get(e.fileName).then(function(r){var i=e.lineNumber,o=e.columnNumber,s=a(r,i,o);n(s?new t({functionName:s,args:e.args,fileName:e.fileName,lineNumber:i,columnNumber:o}):e)},r).catch(r)}.bind(this))},this.getMappedLocation=function(e){return new Promise(function(t,n){o(),s(e);var r=this.sourceCache,i=e.fileName;this._get(i).then(function(n){var a=c(n),o=a.substr(0,5)===`data:`,s=i.substring(0,i.lastIndexOf(`/`)+1);return a[0]!==`/`&&!o&&!/^https?:\/\/|^\/\//i.test(a)&&(a=s+a),this._getSourceMapConsumer(a,s).then(function(n){return l(e,n,r).then(t).catch(function(){t(e)})})}.bind(this),n).catch(n)}.bind(this))}}})})),Bn=e(t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(`stacktrace`,[`error-stack-parser`,`stack-generator`,`stacktrace-gps`],r):typeof e==`object`?t.exports=r(An(),jn(),zn()):n.StackTrace=r(n.ErrorStackParser,n.StackGenerator,n.StackTraceGPS)})(e,function(e,t,n){var r={filter:function(e){return(e.functionName||``).indexOf(`StackTrace$$`)===-1&&(e.functionName||``).indexOf(`ErrorStackParser$$`)===-1&&(e.functionName||``).indexOf(`StackTraceGPS$$`)===-1&&(e.functionName||``).indexOf(`StackGenerator$$`)===-1},sourceCache:{}},i=function(){try{throw Error()}catch(e){return e}};function a(e,t){var n={};return[e,t].forEach(function(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}),n}function o(e){return e.stack||e[`opera#sourceloc`]}function s(e,t){return typeof t==`function`?e.filter(t):e}return{get:function(e){var t=i();return o(t)?this.fromError(t,e):this.generateArtificially(e)},getSync:function(n){n=a(r,n);var c=i();return s(o(c)?e.parse(c):t.backtrace(n),n.filter)},fromError:function(t,i){i=a(r,i);var o=new n(i);return new Promise(function(n){var r=s(e.parse(t),i.filter);n(Promise.all(r.map(function(e){return new Promise(function(t){function n(){t(e)}o.pinpoint(e).then(t,n).catch(n)})})))}.bind(this))},generateArtificially:function(e){e=a(r,e);var n=t.backtrace(e);return typeof e.filter==`function`&&(n=n.filter(e.filter)),Promise.resolve(n)},instrument:function(e,t,n,r){if(typeof e!=`function`)throw Error(`Cannot instrument non-function object`);if(typeof e.__stacktraceOriginalFn==`function`)return e;var i=function(){try{return this.get().then(t,n).catch(n),e.apply(r||this,arguments)}catch(e){throw o(e)&&this.fromError(e).then(t,n).catch(n),e}}.bind(this);return i.__stacktraceOriginalFn=e,i},deinstrument:function(e){if(typeof e!=`function`)throw Error(`Cannot de-instrument non-function object`);return typeof e.__stacktraceOriginalFn==`function`?e.__stacktraceOriginalFn:e},report:function(e,t,n,r){return new Promise(function(i,a){var o=new XMLHttpRequest;if(o.onerror=a,o.onreadystatechange=function(){o.readyState===4&&(o.status>=200&&o.status<400?i(o.responseText):a(Error(`POST to `+t+` failed with status: `+o.status)))},o.open(`post`,t),o.setRequestHeader(`Content-Type`,`application/json`),r&&typeof r.headers==`object`){var s=r.headers;for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&o.setRequestHeader(c,s[c])}var l={stack:e};n!=null&&(l.message=n),o.send(JSON.stringify(l))})}}})}))()),J=r(),Vn=class extends H.PureComponent{constructor(...e){super(...e),A(this,`state`,{hasError:!1,errorMessage:void 0,stackTrace:void 0,mappedStackTrace:void 0,componentStack:void 0}),A(this,`handleCopyStackTrace`,()=>{let{errorMessage:e,stackTrace:t,mappedStackTrace:n}=this.state,r=document.createElement(`textarea`),i=[e,t];n&&i.push(n),r.textContent=i.join(`
12
13
14`),r.style.position=`fixed`,document.body.appendChild(r);try{r.select(),document.execCommand(`copy`)}catch{}finally{document.body.removeChild(r)}this.setState({copied:!0}),setTimeout(()=>this.setState({copied:!1}),700)})}componentDidCatch(e,t){this.setState({hasError:!0,errorMessage:e.toString(),stackTrace:e.stack,componentStack:t&&t.componentStack,mappedStackTrace:void 0}),Bn.default.fromError(e).then(e=>{this.setState({mappedStackTrace:e.map(e=>e.toString()).join(`
15`)})}).catch(()=>{this.setState({mappedStackTrace:void 0})})}render(){let{hasError:e,copied:t,errorMessage:n}=this.state;if(!e)return this.props.children;let r=n&&n.includes(`NotFoundError`);return(0,J.jsxs)(`div`,{className:`error-boundary`,children:[(0,J.jsxs)(`div`,{children:[(0,J.jsx)(`p`,{className:`error-boundary__error`,children:r?(0,J.jsx)(i,{id:`error.unexpected_crash.explanation_addons`,defaultMessage:`This page could not be displayed correctly. This error is likely caused by a browser add-on or automatic translation tools.`}):(0,J.jsx)(i,{id:`error.unexpected_crash.explanation`,defaultMessage:`Due to a bug in our 
15code or a browser compatibility issue, this page could not be displayed correctly.`})}),(0,J.jsx)(`p`,{children:r?(0,J.jsx)(i,{id:`error.unexpected_crash.next_steps_addons`,defaultMessage:`Try disabling them and refreshing the page. If that does not help, you may still be able to use Mastodon through a different browser or native app.`}):(0,J.jsx)(i,{id:`error.unexpected_crash.next_steps`,defaultMessage:`Try refreshing the page. If that does not help, you may still be able to use Mastodon through a different browser or native app.`})}),(0,J.jsxs)(`p`,{className:`error-boundary__footer`,children:[`Mastodon v`,g,` · `,(0,J.jsx)(`a`,{href:m,rel:`noopener`,target:`_blank`,children:(0,J.jsx)(i,{id:`errors.unexpected_crash.report_issue`,defaultMessage:`Report issue`})}),` · `,(0,J.jsx)(`button`,{onClick:this.handleCopyStackTrace,className:t?`copied`:``,children:(0,J.jsx)(i,{id:`errors.unexpected_crash.copy_stacktrace`,defaultMessage:`Copy stacktrace to clipboard`})})]})]}),(0,J.jsx)(N,{children:(0,J.jsx)(`meta`,{name:`robots`,content:`noindex`})})]})}},Hn=e(Ke()),Y=e(qt()),Un=({fields:e,emojis:t})=>{let n=a(),r=Mt();return e.size===0?null:(0,J.jsx)(J.Fragment,{children:e.map((e,i)=>(0,J.jsxs)(`dl`,{className:(0,Y.default)({verified:e.verified_at}),children:[(0,J.jsx)(ie,{as:`dt`,htmlString:e.name_emojified,extraEmojis:t,className:`translate`,...r}),(0,J.jsxs)(`dd`,{className:`translate`,title:e.value_plain??``,children:[e.verified_at&&(0,J.jsx)(`span`,{title:n.formatMessage({id:`account.link_verified_on`,defaultMessage:`Ownership of this link was checked on {date}`},{date:n.formatDate(e.verified_at,Wn)}),children:(0,J.jsx)(ne,{id:`check`,icon:le,className:`verified__mark`})}),` `,(0,J.jsx)(ie,{as:`span`,htmlString:e.value_emojified,extraEmojis:t,...r})]})]},i))})},Wn={month:`short`,day:`numeric`,year:`numeric`,hour:`2-digit`,minute:`2-digit`},Gn=(0,H.forwardRef)(({accountId:e},t)=>{let n=j(),r=M(t=>e?t.accounts.get(e):void 0),a=r?.suspended,o=M(t=>e?oe(t,e):void 0),s=!!(a||o),c=M(t=>t.relationships.getIn([e,`note`]));(0,H.useEffect)(()=>{e&&!r&&n(Me(e))},[n,e,r]);let{familiarFollowers:l}=nn({accountId:e}),u=M(t=>e?t.relationships.get(e):void 0),d=u?.followed_by&&u.following,f=u?.followed_by,p=!!u,m=l.length>0&&p&&!d&&!f;return(0,J.jsx)(`div`,{ref:t,id:`hover-card`,role:`tooltip`,className:(0,Y.default)(`hover-card dropdown-animation`,{"hover-card--loading":!r}),children:r?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(Ze,{to:`/@${r.acct}`,className:`hover-card__name`,children:[(0,J.jsx)(T,{account:s?void 0:r,size:46}),(0,J.jsx)(re,{account:r,localDomain:b})]}),s?(0,J.jsx)(`div`,{className:`hover-card__limited-account-note`,children:a?(0,J.jsx)(i,{id:`empty_column.account_suspended`,defaultMessage:`Account suspended`}):(0,J.jsx)(i,{id:`limited_account_hint.title`,defaultMessage:`This profile or server has been hidden by the moderators of {domain}.`,values:{domain:b}})}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`div`,{className:`hover-card__text-row`,children:[(0,J.jsx)(rn,{accountId:r.id,className:`hover-card__bio`}),(0,J.jsx)(`div`,{className:`account-fields`,children:(0,J.jsx)(Un,{fields:r.fields.take(2),emojis:r.emojis})}),c&&c.length>0&&(0,J.jsxs)(`dl`,{className:`hover-card__note`,children:[(0,J.jsx)(`dt`,{className:`hover-card__note-label`,children:(0,J.jsx)(i,{id:`account.account_note_header`,defaultMessage:`Personal note`})}),(0,J.jsx)(`dd`,{children:c})]})]}),(0,J.jsxs)(`div`,{className:`hover-card__numbers`,children:[(0,J.jsx)(Qe,{value:r.followers_count,renderer:on}),m&&(0,J.jsxs)(J.Fragment,{children:[`·`,(0,J.jsxs)(`div`,{className:`hover-card__familiar-followers`,children:[(0,J.jsx)(Qe,{value:l.length,renderer:ln}),(0,J.jsx)(an,{compact:!0,children:l.slice(0,3).map(e=>(0,J.jsx)(T,{account:e,size:22},e.id))})]})]}),(d||f)&&(0,J.jsxs)(J.Fragment,{children:[`·`,(0,J.jsx)(`span`,{children:d?(0,J.jsx)(i,{id:`account.mutual`,defaultMessage:`You follow each other`}):(0,J.jsx)(i,{id:`account.follows_you`,defaultMessage:`Follows you`})})]})]}),(0,J.jsx)(sn,{accountId:e})]})]}):(0,J.jsx)(ge,{})})});Gn.displayName=`HoverCardAccount`;var Kn=[-12,4],qn=750,Jn=150,Yn=150,Xn={strategy:`fixed`},Zn=e=>e.matches(`[data-hover-card-account]`),Qn=()=>{let[e,t]=(0,H.useState)(!1),[n,r]=(0,H.useState)(),[i,a]=(0,H.useState)(null),o=(0,H.useRef)(null),[s,c]=z(),[l,u,d]=z(),[f]=z(),p=(0,H.useRef)(0),m=(0,H.useCallback)(()=>{u(),c(),t(!1),a(null)},[u,c,t,a]),h=D(),[g,_]=(0,H.useState)(h);return h!==g&&(_(h),m()),(0,H.useEffect)(()=>{let e=!1,n=!1,i=null,m=null,h=e=>{e.setAttribute(`aria-describedby`,`hover-card`),t(!0),a(e),r(e.getAttribute(`data-hover-card-account`)??void 0)},g=()=>{i?.removeAttribute(`aria-describedby`),i=null,t(!1),a(null),r(void 0)},_=()=>{n=!0},v=t=>{let{target:r}=t;if(!(r instanceof HTMLElement)){g();return}setTimeout(()=>{let t=Date.now()-p.current<Yn;e||!t||n||(Zn(r)&&(c(),i?.removeAttribute(`aria-describedby`),i=r,m=r.getAttribute(`title`),r.removeAttribute(`title`),l(()=>{h(r)}
15,qn)),(r===i||r===o.current)&&c())},0)},y=e=>{let{target:t}=e;i&&(m&&t instanceof HTMLElement&&t===i&&t.setAttribute(`title`,m),(t===i||t===o.current)&&(u(),s(()=>{g()},Jn)))},b=()=>{e=!1},x=()=>{e=!0,u(),f(b,100)},S=e=>{n&&=!1,Math.max(Math.abs(e.movementX),Math.abs(e.movementY))>0&&(d(qn),p.current=Date.now())};return document.body.addEventListener(`touchstart`,_,{passive:!0}),document.body.addEventListener(`mouseenter`,v,{passive:!0,capture:!0}),document.body.addEventListener(`mousemove`,S,{passive:!0,capture:!1}),document.body.addEventListener(`mouseleave`,y,{passive:!0,capture:!0}),document.addEventListener(`scroll`,x,{passive:!0,capture:!0}),()=>{document.body.removeEventListener(`touchstart`,_),document.body.removeEventListener(`mouseenter`,v),document.body.removeEventListener(`mousemove`,S),document.body.removeEventListener(`mouseleave`,y),document.removeEventListener(`scroll`,x)}},[l,s,f,u,c,d,t,r,a]),(0,J.jsx)(de,{rootClose:!0,onHide:m,show:e,target:i,placement:`bottom-start`,flip:!0,offset:Kn,popperConfig:Xn,children:({props:e})=>(0,J.jsx)(`div`,{...e,className:`hover-card-controller`,children:(0,J.jsx)(Gn,{accountId:n,ref:o})})})},$n=o({close:{id:`lightbox.close`,defaultMessage:`Close`}}),er=({accountId:e,statusId:t,onClose:n})=>{let r=M(t=>t.accounts.get(e)),i=a();return r?(0,J.jsxs)(`div`,{className:`picture-in-picture__header`,children:[(0,J.jsxs)(Ze,{to:`/@${r.get(`acct`)}/${t}`,className:`picture-in-picture__header__account`,children:[(0,J.jsx)(T,{account:r,size:36}),(0,J.jsx)(re,{account:r})]}),(0,J.jsx)(ue,{icon:`times`,iconComponent:ve,onClick:n,title:i.formatMessage($n.close)})]}):null},tr=()=>{let e=j(),t=(0,H.useCallback)(()=>{e(Ee())},[e]),n=M(e=>e.picture_in_picture);if(n.type===null)return null;let{type:r,src:i,currentTime:a,accountId:o,statusId:s,volume:c,muted:l,poster:u,backgroundColor:d,foregroundColor:f,accentColor:p}=n;if(!i)return null;let m;switch(r){case`video`:m=(0,J.jsx)(dn,{src:i,startTime:a,startVolume:c,startMuted:l,startPlaying:!0,alwaysVisible:!0});break;case`audio`:m=(0,J.jsx)(un,{src:i,startTime:a,startVolume:c,startMuted:l,startPlaying:!0,poster:u,backgroundColor:d,foregroundColor:f,accentColor:p})}return(0,J.jsxs)(`div`,{className:`picture-in-picture`,children:[(0,J.jsx)(er,{accountId:o,statusId:s,onClose:t}),m,(0,J.jsx)(fn,{statusId:s,onClose:t})]})},nr=({active:e,onClose:t})=>{let n=(0,H.useCallback)(n=>{e&&n.key===`Escape`&&(n.preventDefault(),n.stopPropagation(),t())},[e,t]);(0,H.useEffect)(()=>(window.addEventListener(`keyup`,n,!1),()=>{window.removeEventListener(`keyup`,n)}),[n]);let r=he({from:{opacity:0}
15,to:{opacity:1},reverse:!e}),a=he({from:{transform:`scale(0.95)`},to:{transform:`scale(1)`},reverse:!e,config:_e.wobbly});return(0,J.jsx)(me.div,{className:`upload-area`,style:{...r,visibility:e?`visible`:`hidden`},children:(0,J.jsxs)(`div`,{className:`upload-area__drop`,children:[(0,J.jsx)(me.div,{className:`upload-area__background`,style:a}),(0,J.jsx)(`div`,{className:`upload-area__content`,children:(0,J.jsx)(i,{id:`upload_area.title`,defaultMessage:`Drag & drop to upload`})})]})})},X=o({browseHashtag:{id:`hashtag.browse`,defaultMessage:`Browse posts in #{hashtag}`},browseHashtagFromAccount:{id:`hashtag.browse_from_account`,defaultMessage:`Browse posts from @{name} in #{hashtag}`},muteHashtag:{id:`hashtag.mute`,defaultMessage:`Mute #{hashtag}`}}),rr=[5,5],ir={strategy:`fixed`},ar=e=>e?e.matches(`[data-menu-hashtag]`):!1,or=()=>{let e=a(),{signedIn:t}=se(),[n,r]=(0,H.useState)(null),{element:i=null,accountId:o,hashtag:s}=n??{},c=!!i,l=M(e=>o?e.accounts.get(o):void 0),u=D(),[d,f]=(0,H.useState)(u);u!==d&&(f(u),r(null)),(0,H.useEffect)(()=>{let e=e=>{let t=e.target.closest(`a`);if(e.button!==0||e.ctrlKey||e.metaKey||!ar(t))return;let n=t.text.replace(/^#/,``),i=t.getAttribute(`data-menu-hashtag`);!n||!i||(e.preventDefault(),e.stopPropagation(),r({element:t,hashtag:n,accountId:i}))};return document.addEventListener(`click`,e,{capture:!0}),()=>{document.removeEventListener(`click`,e)}},[]);let p=(0,H.useCallback)(()=>{r(null)},[]),m=(0,H.useMemo)(()=>{let n=[{text:e.formatMessage(X.browseHashtag,{hashtag:s}),to:`/tags/${s}`},{text:e.formatMessage(X.browseHashtagFromAccount,{hashtag:s,name:l?.username}),to:`/@${l?.acct}/tagged/${s}`}];return t&&n.push(null,{text:e.formatMessage(X.muteHashtag,{hashtag:s}),href:`/filters`,dangerous:!0}),n},[e,s,l,t]);return c?(0,J.jsx)(de,{show:c,offset:rr,placement:`bottom`,flip:!0,target:i,popperConfig:ir,children:({props:e,arrowProps:t,placement:n})=>(0,J.jsx)(`div`,{...e,children:(0,J.jsxs)(`div`,{className:`dropdown-animation dropdown-menu ${n}`,children:[(0,J.jsx)(`div`,{className:`dropdown-menu__arrow ${n}`,...t}),(0,J.jsx)(pe,{items:m,onClose:p,openedViaKeyboard:!1})]})})}):null};function sr(e){let t=window.innerHeight||document.documentElement.clientHeight;for(let n of e){let e=n.getBoundingClientRect();if(e.top>=0&&e.top<t)return{item:n,rect:e}}return null}function cr(e,t){if(t){let t=document.querySelector(`.column:nth-child(${e})`);t&&t.querySelector(`#${Yt(e-1)}, #${L()}`)?.focus()}else{let t=e===2?`#${L()}`:`#${Yt(1)}`;document.querySelector(t)?.focus()}}function Z(e=1){let t=!!document.querySelector(`body.layout-multiple-columns`),n=+!!t,r=document.querySelector(`.column:nth-child(${e+n})`);function i(){return cr(e+n,t),!1}if(!r)return i();let a=r.querySelector(`.scrollable`);if(!a)return i();let o=sr(Array.from(a.querySelectorAll(`.focusable:not(.status__quote .focusable)`)));if(!o)return i();let s=window.innerWidth||document.documentElement.clientWidth,{item:c,rect:l}=o,u=t?a:document.documentElement,d=parseInt(getComputedStyle(u).getPropertyValue(`--column-header-height`))||0;return(u.scrollTop>c.offsetTop-d||l.right>s||l.left<0)&&o.item.scrollIntoView(!0),o.item.focus(),!0}function lr(){let e=document.activeElement?.closest(`.item-list > *`);if(!e)return-1;let{parentElement:t}=e;return t?Array.from(t.children).indexOf(e):-1}function ur(){let e=document.activeElement?.closest(`.column`);return e?Array.from(document.querySelectorAll(`.column`)).indexOf(e)+1:1}function dr(){let e=document.activeElement?.closest(`.scrollable`)??document.querySelector(`.scrollable`);if(!e)return;let t=e.querySelector(`.focusable`);t&&(e.scrollTo(0,0),t.focus())}function Q(e,t){let n=(document.activeElement?.closest(`.item-list`))?.querySelector(`.item-list > :nth-child(${e+1+t})`);if(!n)return fr(t);let r=n.matches(`.focusable`)?n:n.querySelector(`.focusable`);return!r&&n.matches(`.load-more`)&&(r=n),!r||n.matches(`:empty`)?Q(e+t,t):(r.scrollIntoView({block:`start`}),r.focus(),!0)}function fr(e){let t=document.activeElement?.closest(`.item-list`);if(!t)return!1;let n=t.closest(`.column`)??document,r=Array.from(n.querySelectorAll(`.item-list`)),i=r[r.indexOf(t)+e],a;if(e>0)a=i?.querySelector(`.focusable`);else{let e=i?.querySelectorAll(`.focusable`);a=e?.[e.length-1]}return a?(a.scrollIntoView({block:`start`}),a.focus(),!0):!1}var pr=({multiColumn:e,children:t})=>{let n=D();return(0,J.jsx)(He,{location:e&&n.pathname.startsWith(`/deck`)?{...n,pathname:n.pathname.slice(5)}:n,children:H.Children.map(t,t=>t?(0,H.cloneElement)(t,{multiColumn:e}):null)})},$=class extends H.Component{constructor(...e){super(...e),A(this,`state`,{hasError:!1,stacktrace:``}),A(this,`renderComponent`,({match:e})=>{let{component:t,content:n,multiColumn:r,componentParams:i}=this.props,{hasError:a,stacktrace:o}=this.state;return a?(0,J.jsx)(B,{stacktrace:o,multiColumn:r,errorType:`error`}):(0,J.jsx)(yt,{fetchComponent:t,loading:this.renderLoading,error:this.renderError,children:t=>(0,J.jsx)(t,{params:e.params,multiColumn:r,...i,children:n})})}),A(this,`renderLoading`,()=>{let{multiColumn:e}=this.props;return(0,J.jsx)(mn,{multiColumn:e})}),A(this,`renderError`,e=>(0,J.jsx)(B,{...e,errorType:`network`}))}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){Bn.default.fromError(e).then(t=>{this.setState({stacktrace:e.toString()+`
16`+t.map(e=>e.toString()).join(`
17`)})}).catch(e=>{console.error(e)})}render(){let{component:e,content:t,...n}=this.props;return(0,J.jsx)(O,{...n,render:this.renderComponent})}};A($,`defaultProps`,{componentParams:{}});var mr=()=>(0,J.jsxs)(`div`,{className:V.placeholder,children:[(0,J.jsx)(R,{width:`100%`}),(0,J.jsx)(R,{width:`100%`}),(0,J.jsx)(R,{width:`100%`})]}),hr=()=>{let e=j(),t=M(e=>e.server.server),n=M(e=>e.server.extendedDescription),r=t.item?.contact.account?.id??``,a=n.isLoading,o=(n.item?.content.length??0)>0,s=n.item?.content??``;return(0,H.useEffect)(()=>{e(Re())},[e]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`div`,{className:V.block,children:[(0,J.jsx)(`h2`,{children:(0,J.jsx)(i,{id:`custom_homepage.administered_by`,defaultMessage:`Administered by`})}),(0,J.jsx)(cn,{id:r,size:36,minimal:!0})]}),(0,J.jsxs)(`div`,{className:V.block,children:[(0,J.jsx)(`h2`,{children:(0,J.jsx)(i,{id:`custom_homepage.about_this_server`,defaultMessage:`About this server`})}),a?(0,J.jsx)(mr,{}):o?(0,J.jsx)(`div`,{className:`prose`,dangerouslySetInnerHTML:{__html:s}}):(0,J.jsx)(`div`,{className:`prose`,children:(0,J.jsx)(`p`,{children:(0,J.jsx)(i,{id:`about.not_available`,defaultMessage:`This information has not been made available on this server.`})})})]})]})},gr=()=>{let e=j();return(0,H.useEffect)(()=>{e(Le())},[e]),(0,J.jsx)(Sn,{prepend:(0,J.jsx)(bn,{className:V.banner,children:(0,J.jsx)(i,{id:`custom_homepage.these_are_the_latest_posts`,defaultMessage:`These are the latest 40 posts from accounts on this server.`})}),scrollKey:`custom_homepage`,timelineId:`community`,maxItems:40,bindToDocument:!0})},_r=()=>{let e=j(),t=M(e=>e.server.server),{path:n}=Ue();return(0,H.useEffect)(()=>{e(Be())}
17,[e]),(0,J.jsxs)(`div`,{className:V.page,children:[(0,J.jsx)(_n,{alt:t.item?.thumbnail.description??``,blurhash:t.item?.thumbnail.blurhash??``,src:t.item?.thumbnail.url??``,srcSet:Object.keys(t.item?.thumbnail.versions??{}).map(e=>`${t.item?.thumbnail.versions?.[e]} ${e.replace(`@`,``)}`).join(`, `),className:V.header}),(0,J.jsxs)(`div`,{className:V.topSection,children:[(0,J.jsx)(Pt,{as:`h1`,children:t.item?.domain}),(0,J.jsx)(`p`,{children:t.item?.description})]}),(0,J.jsxs)(vn,{children:[(0,J.jsx)(yn,{to:n,exact:!0,children:(0,J.jsx)(i,{id:`custom_homepage.latest_activity`,defaultMessage:`Latest activity`})}),(0,J.jsx)(yn,{to:`${n}/about`,exact:!0,children:(0,J.jsx)(i,{id:`custom_homepage.about`,defaultMessage:`About`})})]}),(0,J.jsxs)(He,{children:[(0,J.jsx)(O,{path:n,exact:!0,component:gr}),(0,J.jsx)(O,{path:`${n}/about`,exact:!0,component:hr})]}),(0,J.jsxs)(N,{children:[(0,J.jsx)(`title`,{children:t.item?.domain}),(0,J.jsx)(`meta`,{name:`robots`,content:`all`})]})]})},vr=o({beforeUnload:{id:`ui.beforeunload`,defaultMessage:`Your draft will be lost if you leave Mastodon.`}}),yr=e=>({layout:e.getIn([`meta`,`layout`]),isComposing:e.getIn([`compose`,`is_composing`]),hasComposingContents:e.getIn([`compose`,`text`]).trim().length!==0||e.getIn([`compose`,`media_attachments`]).size>0||e.getIn([`compose`,`poll`])!==null||e.getIn([`compose`,`quoted_status_id`])!==null,canUploadMore:!e.getIn([`compose`,`media_attachments`]).some(e=>[`audio`,`video`].includes(e.get(`type`)))&&e.getIn([`compose`,`media_attachments`]).size<e.getIn([`server`,`server`,`item`,`configuration`,`statuses`,`max_media_attachments`]),isUploadEnabled:e.getIn([`compose`,`isDragDisabled`])!==!0,firstLaunch:e.getIn([`settings`,`introductionVersion`],0)<Zt,newAccount:!e.getIn([`accounts`,v,`note`])&&!e.getIn([`accounts`,v,`bot`])&&e.getIn([`accounts`,v,`following_count`],0)===0&&e.getIn([`accounts`,v,`statuses_count`],0)===0,username:e.getIn([`accounts`,v,`username`])}),br=class extends H.PureComponent{constructor(...e){super(...e),A(this,`setRef`,e=>{e&&(this.node=e)})}componentDidMount(){document.body.classList.toggle(`layout-single-column`,this.props.singleColumn),document.body.classList.toggle(`layout-multiple-columns`,!this.props.singleColumn)}componentDidUpdate(e){[this.props.location.pathname,`/`].includes(e.location.pathname)||this.handleChildrenContentChange(),e.singleColumn!==this.props.singleColumn&&(document.body.classList.toggle(`layout-single-column`,this.props.singleColumn),document.body.classList.toggle(`layout-multiple-columns`,!this.props.singleColumn))}handleChildrenContentChange(){let{preventMultiColumnAutoScroll:e}=this.props.location.state??{};if(!this.props.singleColumn&&!e){let e=document.getElementsByTagName(`body`)[0]?.classList.contains(`rtl`)?-1:1;Jt(this.node,(this.node.scrollWidth-window.innerWidth)*e)}}render(){let{children:e,singleColumn:t,forceOnboarding:n}=this.props,{signedIn:r}=this.props.identity,i=this.props.location.pathname,a;return a=r?n?`/start`:t?`/home`:`/deck/getting-started`:p&&u&&x?.accounts[u]?`/@${x.accounts[u].username}`:h&&y===`trends`?`/explore`:_===`public`&&y===`local_feed`?`/public/local`:y===`overview`?`/overview`:`/about`,(0,J.jsx)(hn,{multiColumn:!t,children:(0,J.jsx)(gn,{ref:this.setRef,singleColumn:t,domain:b,minimalShell:!r&&y===`overview`&&i.startsWith(`/overview`),children:(0,J.jsxs)(pr,{children:[(0,J.jsx)(k,{from:`/`,to:{pathname:a,state:{...this.props.location.state,focusTarget:!1}},exact:!0}),t?(0,J.jsx)(k,{from:`/deck`,to:`/home`,exact:!0}):null,t&&i.startsWith(`/deck/`)?(0,J.jsx)(k,{from:i,to:{...this.props.location,pathname:i.slice(5)}}):null,!t&&i===`/home`?(0,J.jsx)(k,{from:`/home`,to:`/deck/getting-started`,exact:!0}):null,i===`/getting-started`?(0,J.jsx)(k,{from:`/getting-started`,to:t?`/home`:`/deck/getting-started`,exact:!0}):null,(0,J.jsx)($,{path:`/getting-started`,component:Wt,content:e}),(0,J.jsx)($,{path:`/keyboard-shortcuts`,component:it,content:e}),(0,J.jsx)($,{path:`/about`,component:ct,content:e}),(0,J.jsx)($,{path:`/privacy-policy`,component:lt,content:e}),(0,J.jsx)($,{path:`/terms-of-service/:date?`,component:Tt,content:e}),(0,J.jsx)($,{path:[`/home`,`/timelines/home`],component:nt,content:e}),(0,J.jsx)(k,{from:`/timelines/public`,to:`/public`,exact:!0}),(0,J.jsx)(k,{from:`/timelines/public/local`,to:`/public/local`,exact:!0}),(0,J.jsx)($,{path:`/public`,exact:!0,component:P,componentParams:{feedType:`public`},content:e}),(0,J.jsx)($,{path:`/public/local`,exact:!0,component:P,componentParams:{feedType:`community`},content:e}),(0,J.jsx)($,{path:`/public/remote`,exact:!0,component:P,componentParams:{feedType:`public:remote`},content:e}),(0,J.jsx)($,{path:[`/conversations`,`/timelines/direct`],component:Lt,content:e}),(0,J.jsx)($,{path:`/tags/:id`,component:_t,content:e}),(0,J.jsx)($,{path:`/links/:url`,component:rt,content:e}),(0,J.jsx)($,{path:`/lists/new`,component:jt,content:e}),(0,J.jsx)($,{path:`/lists/:id/edit`,component:jt,content:e}),(0,J.jsx)($,{path:`/lists/:id/members`,component:et,content:e}),(0,J.jsx)($,{path:`/lists/:id`,component:F,content:e}),(0,J.jsx)($,{path:`/notifications`,component:gt,content:e,exact:!0}),(0,J.jsx)($,{path:`/notifications/requests`,component:pt,content:e,exact:!0}),(0,J.jsx)($,{path:`/notifications/requests/:id`,component:ut,content:e,exact:!0}),(0,J.jsx)($,{path:`/favourites`,component:zt,content:e}),(0,J.jsx)($,{path:`/bookmarks`,component:ht,content:e}),(0,J.jsx)($,{path:`/pinned`,component:bt,content:e}),(0,J.jsx)($,{path:`/start/profile`,exact:!0,component:tt,content:e}),(0,J.jsx)($,{path:[`/start`,`/start/follows`],exact:!0,component:Kt,content:e}),(0,J.jsx)($,{path:`/directory`,component:Bt,content:e}),(0,J.jsx)($,{path:`/explore`,component:At,content:e}),(0,J.jsx)($,{path:`/search`,component:dt,content:e}),(0,J.jsx)($,{path:[`/publish`,`/statuses/new`],component:Dt,content:e}),(0,J.jsx)($,{path:`/profile/edit`,component:vt,content:e}),(0,J.jsx)($,{path:`/profile/featured_tags`,component:xt,content:e}),(0,J.jsx)($,{path:[`/@:acct`,`/accounts/:id`],exact:!0,component:I,content:e}),(0,J.jsx)($,{path:[`/@:acct/featured`,`/accounts/:id/featured`],component:ot,content:e}),(0,J.jsx)($,{path:[`/@:acct/collections`],component:Vt,content:e},`collections-list`),(0,J.jsx)($,{path:[`/collections/new`,`/collections/:id/edit`],component:It,content:e},`collections-editor`),(0,J.jsx)($,{path:`/collections/:id`,component:kt,content:e},`collections-detail`),(0,J.jsx)($,{path:`/@:acct/tagged/:tagged?`,exact:!0,component:I,content:e}),(0,J.jsx)($,{path:[`/@:acct/with_replies`,`/accounts/:id/with_replies`],
17component:I,content:e,componentParams:{withReplies:!0}}),(0,J.jsx)($,{path:[`/accounts/:id/followers`,`/users/:acct/followers`,`/@:acct/followers`],component:Gt,content:e}),(0,J.jsx)($,{path:[`/accounts/:id/following`,`/users/:acct/following`,`/@:acct/following`],component:Ot,content:e}),(0,J.jsx)($,{path:[`/@:acct/media`,`/accounts/:id/media`],component:ft,content:e}),(0,J.jsx)($,{path:`/@:acct/:statusId`,exact:!0,component:Ct,content:e}),(0,J.jsx)($,{path:`/@:acct/:statusId/reblogs`,component:st,content:e}),(0,J.jsx)($,{path:`/@:acct/:statusId/favourites`,component:Ft,content:e}),(0,J.jsx)($,{path:`/@:acct/:statusId/quotes`,component:St,content:e}),(0,J.jsx)($,{path:`/timelines/tag/:id`,component:_t,content:e}),(0,J.jsx)($,{path:`/timelines/list/:id`,component:F,content:e}),(0,J.jsx)($,{path:`/statuses/:statusId`,exact:!0,component:Ct,content:e}),(0,J.jsx)($,{path:`/statuses/:statusId/reblogs`,component:st,content:e}),(0,J.jsx)($,{path:`/statuses/:statusId/favourites`,component:Ft,content:e}),(0,J.jsx)($,{path:`/follow_requests`,component:Et,content:e}),(0,J.jsx)($,{path:`/blocks`,component:wt,content:e}),(0,J.jsx)($,{path:`/domain_blocks`,component:Nt,content:e}),(0,J.jsx)($,{path:`/followed_tags`,component:Ut,content:e}),(0,J.jsx)($,{path:`/mutes`,component:at,content:e}),(0,J.jsx)($,{path:`/lists`,component:mt,content:e}),(0,J.jsx)(O,{path:`/overview`,component:_r}),(0,J.jsx)(O,{component:B})]})})})}},xr=class extends H.PureComponent{constructor(...e){super(...e),A(this,`state`,{draggingOver:!1}),A(this,`handleBeforeUnload`,e=>{let{intl:t,dispatch:n,isComposing:r,hasComposingContents:i}=this.props;n(Ce()),r&&i&&(e.preventDefault(),e.returnValue=t.formatMessage(vr.beforeUnload))}),A(this,`handleWindowFocus`,()=>{this.props.dispatch(be()),this.props.dispatch(Ae({immediate:!0}))}),A(this,`handleWindowBlur`,()=>{this.props.dispatch(ze())}),A(this,`handleDragEnter`,e=>{this.props.isUploadEnabled&&(e.preventDefault(),this.dragTargets||=[],this.dragTargets.indexOf(e.target)===-1&&this.dragTargets.push(e.target),e.dataTransfer&&Array.from(e.dataTransfer.types).includes(`Files`)&&this.props.canUploadMore&&this.props.identity.signedIn&&this.setState({draggingOver:!0}))}),A(this,`handleDragOver`,e=>{if(this.props.isUploadEnabled){if(this.dataTransferIsText(e.dataTransfer))return!1;e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect=`copy`}catch{}return!1}}),A(this,`handleDrop`,e=>{this.props.isUploadEnabled&&(this.dataTransferIsText(e.dataTransfer)||(e.preventDefault(),this.setState({draggingOver:!1}),this.dragTargets=[],e.dataTransfer&&e.dataTransfer.files.length>=1&&this.props.canUploadMore&&this.props.identity.signedIn&&this.props.dispatch(Ie(e.dataTransfer.files))))}),A(this,`handleDragLeave`,e=>{e.preventDefault(),e.stopPropagation(),this.dragTargets=this.dragTargets.filter(t=>t!==e.target&&this.node.contains(t)),!(this.dragTargets.length>0)&&this.setState({draggingOver:!1})}),A(this,`dataTransferIsText`,e=>e&&Array.from(e.types).filter(e=>e===`text/plain`).length===1),A(this,`closeUploadModal`,()=>{this.setState({draggingOver:!1})}),A(this,`handleServiceWorkerPostMessage`,({data:e})=>{e.type===`navigate`?this.props.history.push(e.path):console.warn(`Unknown message type:`,e.type)}),A(this,`handleLayoutChange`,(0,Hn.default)(()=>{this.props.dispatch(je())},500,{trailing:!0})),A(this,`handleResize`,()=>{let e=We();e===this.props.layout?this.handleLayoutChange():(this.handleLayoutChange.cancel(),this.props.dispatch(we({layout:e})))}),A(this,`handleDonate`,()=>{location.href=`https://joinmastodon.org/sponsors#donate`}),A(this,`setRef`,e=>{this.node=e}),A(this,`handleHotkeyNew`,e=>{e.preventDefault();let t=this.node.querySelector(`.autosuggest-textarea__textarea`);t&&t.focus()}),A(this,`handleHotkeySearch`,e=>{e.preventDefault();let t=this.node.querySelector(`.search__input`);t&&t.focus()}),A(this,`handleHotkeyForceNew`,e=>{this.handleHotkeyNew(e),this.props.dispatch(ke())}),A(this,`handleHotkeyToggleComposeSpoilers`,e=>{e.preventDefault(),this.props.dispatch(Se())}),A(this,`handleHotkeyFocusColumn`,e=>{Z(e.key*1)}),A(this,`handleHotkeyLoadMore`,()=>{document.querySelector(`.load-more`)?.focus()}),A(this,`handleMoveToTop`,()=>{dr()}),A(this,`handleMoveUp`,()=>{let e=lr();return e===-1?Z(ur()):Q(e,-1)}),A(this,`handleMoveDown`,()=>{let e=lr();return e===-1?Z(ur()):Q(e,1)}),A(this,`handleHotkeyBack`,e=>{e.preventDefault();let{history:t}=this.props;t.location?.state?.fromMastodon?t.goBack():t.push(`/`)}),A(this,`handleHotkeyToggleHelp`,()=>{this.props.location.pathname===`/keyboard-shortcuts`?this.props.history.goBack():this.props.history.push(`/keyboard-shortcuts`)}
17),A(this,`handleHotkeyGoToHome`,()=>{this.props.history.push(`/home`)}),A(this,`handleHotkeyGoToExplore`,()=>{this.props.history.push(`/explore`)}),A(this,`handleHotkeyGoToNotifications`,()=>{this.props.history.push(`/notifications`)}),A(this,`handleHotkeyGoToLocal`,()=>{this.props.history.push(`/public/local`)}),A(this,`handleHotkeyGoToFederated`,()=>{this.props.history.push(`/public`)}),A(this,`handleHotkeyGoToDirect`,()=>{this.props.history.push(`/conversations`)}),A(this,`handleHotkeyGoToStart`,()=>{this.props.history.push(`/getting-started`),setTimeout(()=>{document.querySelector(`#${L()}`)?.focus()},0)}),A(this,`handleHotkeyGoToFavourites`,()=>{this.props.history.push(`/favourites`)}),A(this,`handleHotkeyGoToPinned`,()=>{this.props.history.push(`/pinned`)}),A(this,`handleHotkeyGoToProfile`,()=>{this.props.history.push(`/@${this.props.username}`)}),A(this,`handleHotkeyGoToBlocked`,()=>{this.props.history.push(`/blocks`)}),A(this,`handleHotkeyGoToMuted`,()=>{this.props.history.push(`/mutes`)}),A(this,`handleHotkeyGoToRequests`,()=>{this.props.history.push(`/follow_requests`)})}componentDidMount(){let{signedIn:e}=this.props.identity;window.addEventListener(`focus`,this.handleWindowFocus,!1),window.addEventListener(`blur`,this.handleWindowBlur,!1),window.addEventListener(`beforeunload`,this.handleBeforeUnload,!1),window.addEventListener(`resize`,this.handleResize,{passive:!0}),document.addEventListener(`dragenter`,this.handleDragEnter,!1),document.addEventListener(`dragover`,this.handleDragOver,!1),document.addEventListener(`drop`,this.handleDrop,!1),document.addEventListener(`dragleave`,this.handleDragLeave,!1),`serviceWorker`in navigator&&navigator.serviceWorker.addEventListener(`message`,this.handleServiceWorkerPostMessage),e&&(this.props.dispatch(Oe()),this.props.dispatch(Pe()),this.props.dispatch(De()),this.props.dispatch(Ne()),this.props.dispatch(Fe()),setTimeout(()=>this.props.dispatch(Be()),3e3))}componentWillUnmount(){window.removeEventListener(`focus`,this.handleWindowFocus),window.removeEventListener(`blur`,this.handleWindowBlur),window.removeEventListener(`beforeunload`,this.handleBeforeUnload),window.removeEventListener(`resize`,this.handleResize),document.removeEventListener(`dragenter`,this.handleDragEnter),document.removeEventListener(`dragover`,this.handleDragOver),document.removeEventListener(`drop`,this.handleDrop),document.removeEventListener(`dragleave`,this.handleDragLeave)}render(){let{draggingOver:e}=this.state,{children:t,isComposing:n,location:r,layout:i,firstLaunch:a,newAccount:o}=this.props,s={help:this.handleHotkeyToggleHelp,new:this.handleHotkeyNew,search:this.handleHotkeySearch,forceNew:this.handleHotkeyForceNew,toggleComposeSpoilers:this.handleHotkeyToggleComposeSpoilers,focusColumn:this.handleHotkeyFocusColumn,focusLoadMore:this.handleHotkeyLoadMore,moveDown:this.handleMoveDown,moveUp:this.handleMoveUp,moveToTop:this.handleMoveToTop,back:this.handleHotkeyBack,goToHome:this.handleHotkeyGoToHome,goToExplore:this.handleHotkeyGoToExplore,goToNotifications:this.handleHotkeyGoToNotifications,goToLocal:this.handleHotkeyGoToLocal,goToFederated:this.handleHotkeyGoToFederated,goToDirect:this.handleHotkeyGoToDirect,goToStart:this.handleHotkeyGoToStart,goToFavourites:this.handleHotkeyGoToFavourites,goToPinned:this.handleHotkeyGoToPinned,goToProfile:this.handleHotkeyGoToProfile,goToBlocked:this.handleHotkeyGoToBlocked,goToMuted:this.handleHotkeyGoToMuted,goToRequests:this.handleHotkeyGoToRequests,cheat:this.handleDonate},c=!this.props.identity.signedIn&&y===`overview`&&r.pathname.startsWith(`/overview`);return(0,J.jsx)(Ht,{global:!0,handlers:s,children:(0,J.jsxs)(`div`,{className:(0,Y.default)(`ui`,{"is-composing":n}),ref:this.setRef,children:[!c&&(0,J.jsx)(Xt,{multiColumn:i===`multi-column`,onFocusGettingStartedColumn:this.handleHotkeyGoToStart}),(0,J.jsx)(br,{identity:this.props.identity,location:r,singleColumn:i===`mobile`||i===`single-column`,layout:i,forceOnboarding:a&&o,children:t}),!c&&(0,J.jsx)(pn,{}),i!==`mobile`&&(0,J.jsx)(tr,{}),(0,J.jsx)($t,{}),!S&&(0,J.jsx)(Qn,{}),(0,J.jsx)(or,{}),(0,J.jsx)(Qt,{className:`loading-bar`}),(0,J.jsx)(en,{}),(0,J.jsx)(nr,{active:e,onClose:this.closeUploadModal})]})})}},Sr=Je(yr)(tn(Ve(fe(xr)))),Cr=Ye([e=>e.navigation.open,e=>e.modal.get(`stack`).size>0],(e,t)=>e||t),wr=()=>{let e=M(Cr);return(0,H.useLayoutEffect)(()=>{document.documentElement.classList.toggle(`has-modal`,e)},[e]),null},Tr=C()?f:`${f} (Dev)`,Er=Te(x);E.dispatch(Er);var Dr=class extends H.PureComponent{constructor(...e){super(...e),A(this,`identity`,ce(x))}componentDidMount(){this.identity.signedIn&&(this.disconnect=E.dispatch($e()))}componentWillUnmount(){this.disconnect&&=(this.disconnect(),null)}render(){return(0,J.jsx)(ae.Provider,{value:this.identity,children:(0,J.jsx)(te,{children:(0,J.jsx)(qe,{store:E,children:(0,J.jsxs)(Vn,{children:[(0,J.jsxs)(Ge,{children:[(0,J.jsx)(xn,{children:(0,J.jsx)(Rt,{children:(0,J.jsx)(O,{path:`/`,component:Sr})})}),(0,J.jsx)(wr,{})]}),(0,J.jsx)(N,{defaultTitle:Tr,titleTemplate:`%s - ${Tr}`})]})})})})}};function Or(){return On(`main()`),l(async()=>{let e=document.getElementById(`mastodon`);if(!e)throw Error(`Mount node not found`);let t=JSON.parse(e.getAttribute(`data-props`)??`{}`);d&&ye.assign({skipAnimation:!0});let{initializeEmoji:n}=await c(async()=>{let{initializeEmoji:e}=await import(`./emoji-CK4bYiy1.js`).then(e=>e.t);return{initializeEmoji:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);if(await n(),(0,Cn.createRoot)(e).render((0,J.jsx)(H.StrictMode,{children:(0,J.jsx)(Dr,{...t})})),E.dispatch(xe()),v&&`serviceWorker`in navigator&&(w()||C())){let e=`/sw.js`;if(w()){let{default:t}=await c(async()=>{let{default:e}=await import(`./sw-DoJFf99A.js`);return{default:e}},[],import.meta.url);e=t}if(await navigator.serviceWorker.register(e,{scope:`/`,type:`module`}),C()&&`Notification`in window&&Notification.permission===`granted`){let e=await c(()=>import(`./render-Gl4Q1vIP.js`).then(e=>e.Yi),__vite__mapDeps([9,10,1,8,11,12,2,3,13,0,4,5,6,7,14,15,16,17,18,19,20,21,22]),import.meta.url);E.dispatch(e.register())}}kn(`main()`)})}Xe().then(ee).then(Or).catch(e=>{console.error(e)});
18//# sourceMappingURL=application-VgEv7Sgk.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.