const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-CUhufx8N.js","./ScheduledAtField-BOlu1KST.js","./ICONS-BzjICR_A.js"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();"AbortSignal"in window&&(AbortSignal.timeout=AbortSignal.timeout||(e=>{const t=new AbortController;return setTimeout(()=>t.abort(),e),t.signal}));"AbortSignal"in window&&!AbortSignal.any&&(AbortSignal.any=function(e){const t=new AbortController,{signal:r}=t;for(const n of e)if(n.aborted)return t.abort(n.reason),r;for(const n of e)n.addEventListener("abort",()=>{t.abort(n.reason)},{signal:r});return r});"URL"in window&&typeof URL.parse!="function"&&(URL.parse=function(e,t){if(!e)return null;try{return t?new URL(e,t):new URL(e)}catch{return null}});function ia(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zf(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var rt={},wt={},$t={exports:{}},Ns=$t.exports,Hn;function ks(){return Hn||(Hn=1,function(e){(function(t,r){e.exports?e.exports=r():t.moo=r()})(Ns,function(){"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=typeof new RegExp().sticky=="boolean";function o(p){return p&&r.call(p)==="[object RegExp]"}function a(p){return p&&typeof p=="object"&&!o(p)&&!Array.isArray(p)}function i(p){return p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(p){var w=new RegExp("|"+p);return w.exec("").length-1}function l(p){return"("+p+")"}function u(p){if(!p.length)return"(?!)";var w=p.map(function(E){return"(?:"+E+")"}).join("|");return"(?:"+w+")"}function d(p){if(typeof p=="string")return"(?:"+i(p)+")";if(o(p)){if(p.ignoreCase)throw new Error("RegExp /i flag not allowed");if(p.global)throw new Error("RegExp /g flag is implied");if(p.sticky)throw new Error("RegExp /y flag is implied");if(p.multiline)throw new Error("RegExp /m flag is implied");return p.source}else throw new Error("Not a pattern: "+p)}function c(p,w){return p.length>w?p:Array(w-p.length+1).join(" ")+p}function h(p,w){for(var E=p.length,A=0;;){var P=p.lastIndexOf(` `,E-1);if(P===-1||(A++,E=P,A===w)||E===0)break}var T=A0)throw new Error("RegExp has capture groups: "+ue+` Use (?: … ) instead`);if(!k.lineBreaks&&ue.test(` `))throw new Error("Rule should declare lineBreaks: "+ue);D.push(l(me))}}var Oe=E&&E.fallback,Be=n&&!Oe?"ym":"gm",Xe=n||Oe?"":"|";T===!0&&(Be+="u");var gr=new RegExp(u(D)+Xe,Be);return{regexp:gr,groups:R,fast:A,error:E||v}}function C(p){var w=S(_(p));return new V({start:w},"start")}function I(p,w,E){var A=p&&(p.push||p.next);if(A&&!E[A])throw new Error("Missing state '"+A+"' (in token '"+p.defaultType+"' of state '"+w+"')");if(p&&p.pop&&+p.pop!=1)throw new Error("pop must be 1 (in token '"+p.defaultType+"' of state '"+w+"')")}function B(p,w){var E=p.$all?_(p.$all):[];delete p.$all;var A=Object.getOwnPropertyNames(p);w||(w=A[0]);for(var P=Object.create(null),T=0;T"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:n=>n.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:n=>n.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:n=>n.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:n=>n.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:n=>n.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:n=>n.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:n=>n.substring(0,n.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=r.default.states(e.states)}(wt)),wt}var $n;function Ds(){if($n)return rt;$n=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.ParseError=void 0,rt.parse=l;const e=Is(),t=u=>({offset:u.offset,line:u.line,col:u.col,text:u.text,lineBreaks:u.lineBreaks}),r=u=>u==="plural"||u==="select"||u==="selectordinal";function n(u,d){let c="",h="";for(const m of d){const y=m.ctx.text;switch(h+=y,m.type){case"content":c+=m.value;break;case"argument":case"function":case"octothorpe":c+=y;break;default:throw new i(u,`Unsupported part in strict mode function arg style: ${y}`)}}return[{type:"content",value:c.trim(),ctx:Object.assign({},d[0].ctx,{text:h})}]}const o=["number","date","time","spellout","ordinal","duration"],a=["zero","one","two","few","many","other"];class i extends Error{constructor(d,c){super(e.lexer.formatError(d,c))}}rt.ParseError=i;class s{constructor(d,c){var h,f,m,y;this.lexer=e.lexer.reset(d),this.cardinalKeys=(h=c?.cardinal)!==null&&h!==void 0?h:a,this.ordinalKeys=(f=c?.ordinal)!==null&&f!==void 0?f:a,this.strict=(m=c?.strict)!==null&&m!==void 0?m:!1,this.strictPluralKeys=(y=c?.strictPluralKeys)!==null&&y!==void 0?y:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(d,c,h){if(h[0]==="="){if(c==="select")throw new i(d,`The case ${h} is not valid with select`)}else if(c!=="select"){const f=c==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&f.length>0&&!f.includes(h)){const m=`The ${c} case ${h} is not valid in this locale`;throw new i(d,m)}}}parseSelect({value:d},c,h,f){const m={type:f,arg:d,cases:[],ctx:h};f==="plural"||f==="selectordinal"?c=!0:this.strict&&(c=!1);for(const y of this.lexer)switch(y.type){case"offset":if(f==="select")throw new i(y,"Unexpected plural offset for select");if(m.cases.length>0)throw new i(y,"Plural offset must be set before cases");m.pluralOffset=Number(y.value),h.text+=y.text,h.lineBreaks+=y.lineBreaks;break;case"case":{this.checkSelectKey(y,f,y.value),m.cases.push({key:y.value,tokens:this.parseBody(c),ctx:t(y)});break}case"end":return m;default:throw new i(y,`Unexpected lexer token: ${y.type}`)}throw new i(null,"Unexpected message end")}parseArgToken(d,c){const h=t(d),f=this.lexer.next();if(!f)throw new i(null,"Unexpected message end");if(h.text+=f.text,h.lineBreaks+=f.lineBreaks,this.strict&&(f.type==="func-simple"||f.type==="func-args")&&!o.includes(f.value)){const m=`Invalid strict mode function arg type: ${f.value}`;throw new i(d,m)}switch(f.type){case"end":return{type:"argument",arg:d.value,ctx:h};case"func-simple":{const m=this.lexer.next();if(!m)throw new i(null,"Unexpected message end");if(m.type!=="end")throw new i(m,`Unexpected lexer token: ${m.type}`);if(h.text+=m.text,r(f.value.toLowerCase()))throw new i(f,`Invalid type identifier: ${f.value}`);return{type:"function",arg:d.value,key:f.value,ctx:h}}case"func-args":{if(r(f.value.toLowerCase())){const y=`Invalid type identifier: ${f.value}`;throw new i(f,y)}let m=this.parseBody(this.strict?!1:c);return this.strict&&m.length>0&&(m=n(d,m)),{type:"function",arg:d.value,key:f.value,param:m,ctx:h}}case"select":if(r(f.value))return this.parseSelect(d,c,h,f.value);throw new i(f,`Unexpected select type ${f.value}`);default:throw new i(f,`Unexpected lexer token: ${f.type}`)}}parseBody(d,c){const h=[];let f=null;for(const m of this.lexer)if(m.type==="argument")f&&(f=null),h.push(this.parseArgToken(m,d));else if(m.type==="octothorpe"&&d)f&&(f=null),h.push({type:"octothorpe",ctx:t(m)});else{if(m.type==="end"&&!c)return h;{let y=m.value;if(!d&&m.type==="quoted"&&y[0]==="#"){if(y.includes("{")){const _=`Unsupported escape pattern: ${y}`;throw new i(m,_)}y=m.text}f?(f.value+=y,f.ctx.text+=m.text,f.ctx.lineBreaks+=m.lineBreaks):(f={type:"content",value:y,ctx:t(m)},h.push(f))}}if(c)return h;throw new i(null,"Unexpected message end")}}function l(u,d={}){return new s(u,d).parse()}return rt}var Jf=Ds();const De=e=>typeof e=="string",Us=e=>typeof e=="function",Kn=new Map,sa="en";function rn(e){return[...Array.isArray(e)?e:[e],sa]}function nn(e,t,r){const n=rn(e);r||(r="default");let o;if(typeof r=="string")switch(o={day:"numeric",month:"short",year:"numeric"},r){case"full":o.weekday="long";case"long":o.month="long";break;case"short":o.month="numeric";break}else o=r;return Jt(()=>Qt("date",n,r),()=>new Intl.DateTimeFormat(n,o)).format(De(t)?new Date(t):t)}function Fs(e,t,r){let n;if(r||(r="default"),typeof r=="string")switch(n={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}else n=r;return nn(e,t,n)}function Nr(e,t,r){const n=rn(e);return Jt(()=>Qt("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function Gn(e,t,r,{offset:n=0,...o}){const a=rn(e),i=t?Jt(()=>Qt("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):Jt(()=>Qt("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return o[r]??o[i.select(r-n)]??o.other}function Jt(e,t){const r=e();let n=Kn.get(r);return n||(n=t(),Kn.set(r,n)),n}function Qt(e,t,r){const n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}const la=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,ua=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,r,n)=>{if(r){const o=parseInt(r,16);return String.fromCharCode(o)}else{const o=parseInt(n,16);return String.fromCharCode(o)}}),ca="%__lingui_octothorpe__%",qs=(e,t,r={})=>{const n=t||e,o=i=>typeof i=="object"?i:r[i],a=(i,s)=>{const l=Object.keys(r).length?o("number"):void 0,u=Nr(n,i,l);return s.replace(new RegExp(ca,"g"),u)};return{plural:(i,s)=>{const{offset:l=0}=s,u=Gn(n,!1,i,s);return a(i-l,u)},selectordinal:(i,s)=>{const{offset:l=0}=s,u=Gn(n,!0,i,s);return a(i-l,u)},select:js,number:(i,s)=>Nr(n,i,o(s)||{style:s}),date:(i,s)=>nn(n,i,o(s)||s),time:(i,s)=>Fs(n,i,o(s)||s)}},js=(e,t)=>t[e]??t.other;function zs(e,t,r){return(n={},o)=>{const a=qs(t,r,o),i=(l,u=!1)=>Array.isArray(l)?l.reduce((d,c)=>{if(c==="#"&&u)return d+ca;if(De(c))return d+c;const[h,f,m]=c;let y={};f==="plural"||f==="selectordinal"||f==="select"?Object.entries(m).forEach(([v,S])=>{y[v]=i(S,f==="plural"||f==="selectordinal")}):y=m;let _;if(f){const v=a[f];_=v(n[h],y)}else _=n[h];return _==null?d:d+_},""):l,s=i(e);return De(s)&&la.test(s)?ua(s):De(s)?s:s?String(s):""}}var Hs=Object.defineProperty,Bs=(e,t,r)=>t in e?Hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$s=(e,t,r)=>(Bs(e,typeof t!="symbol"?t+"":t,r),r);let Ks=class{constructor(){$s(this,"_events",{})}on(t,r){var n;return(n=this._events)[t]??(n[t]=[]),this._events[t].push(r),()=>this.removeListener(t,r)}removeListener(t,r){const n=this._getListeners(t);if(!n)return;const o=n.indexOf(r);~o&&n.splice(o,1)}emit(t,...r){const n=this._getListeners(t);n&&n.map(o=>o.apply(this,r))}_getListeners(t){const r=this._events[t];return Array.isArray(r)?r:!1}};var Gs=Object.defineProperty,Vs=(e,t,r)=>t in e?Gs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$e=(e,t,r)=>(Vs(e,typeof t!="symbol"?t+"":t,r),r);class Ws extends Ks{constructor(t){super(),$e(this,"_locale",""),$e(this,"_locales"),$e(this,"_localeData",{}),$e(this,"_messages",{}),$e(this,"_missing"),$e(this,"_messageCompiler"),$e(this,"t",this._.bind(this)),t.missing!=null&&(this._missing=t.missing),t.messages!=null&&this.load(t.messages),t.localeData!=null&&this.loadLocaleData(t.localeData),(typeof t.locale=="string"||t.locales)&&this.activate(t.locale??sa,t.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(t,r){const n=this._localeData[t];n?Object.assign(n,r):this._localeData[t]=r}setMessagesCompiler(t){return this._messageCompiler=t,this}loadLocaleData(t,r){typeof t=="string"?this._loadLocaleData(t,r):Object.keys(t).forEach(n=>this._loadLocaleData(n,t[n])),this.emit("change")}_load(t,r){const n=this._messages[t];n?Object.assign(n,r):this._messages[t]=r}load(t,r){typeof t=="string"&&typeof r=="object"?this._load(t,r):Object.entries(t).forEach(([n,o])=>this._load(n,o)),this.emit("change")}loadAndActivate({locale:t,locales:r,messages:n}){this._locale=t,this._locales=r||void 0,this._messages[this._locale]=n,this.emit("change")}activate(t,r){this._locale=t,this._locales=r,this.emit("change")}_(t,r,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let o=n?.message;t||(t=""),De(t)||(r=t.values||r,o=t.message,t=t.id);const a=this.messages[t],i=a===void 0,s=this._missing;if(s&&i)return Us(s)?s(this._locale,t):s;i&&this.emit("missing",{id:t,locale:this._locale});let l=a||o||t;return De(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message: > ${l} That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used. ICU features such as interpolation and plurals will not work properly for that message. Please compile your catalog first. `)),De(l)&&la.test(l)?ua(l):De(l)?l:zs(l,this._locale,this._locales)(r,n?.formats)}date(t,r){return nn(this._locales||this._locale,t,r)}number(t,r){return Nr(this._locales||this._locale,t,r)}}function Ys(e={}){return new Ws(e)}const st=Ys();var kt,j,da,Zs,Ke,Vn,fa,ha,pa,on,kr,Ir,ma,Tt={},_a=[],Js=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,It=Array.isArray;function ge(e,t){for(var r in t)e[r]=t[r];return e}function an(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z(e,t,r){var n,o,a,i={};for(a in t)a=="key"?n=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?kt.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return Pt(e,i,n,o,null)}function Pt(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++da,__i:-1,__u:0};return o==null&&j.vnode!=null&&j.vnode(a),a}function ya(){return{current:null}}function pe(e){return e.children}function he(e,t){this.props=e,this.context=t}function dt(e,t){if(t==null)return e.__?dt(e.__,e.__i+1):null;for(var r;ts&&Ke.sort(ha),e=Ke.shift(),s=Ke.length,e.__d&&(r=void 0,n=void 0,o=(n=(t=e).__v).__e,a=[],i=[],t.__P&&((r=ge({},n)).__v=n.__v+1,j.vnode&&j.vnode(r),sn(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[o]:null,a,o??dt(n),!!(32&n.__u),i),r.__v=n.__v,r.__.__k[r.__i]=r,ba(a,r,i),n.__e=n.__=null,r.__e!=o&&ga(r)));Xt.__r=0}function va(e,t,r,n,o,a,i,s,l,u,d){var c,h,f,m,y,_,v,S=n&&n.__k||_a,C=t.length;for(l=Qs(r,t,S,l,C),c=0;c0?Pt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,s=null,(u=i.__i=Xs(i,r,l,c))!=-1&&(c--,(s=r[u])&&(s.__u|=2)),s==null||s.__v==null?(u==-1&&(o>d?h--:ol?h--:h++,i.__u|=4))):e.__k[a]=null;if(c)for(a=0;a(d?1:0)){for(o=r-1,a=r+1;o>=0||a=0?o--:a++])!=null&&(2&u.__u)==0&&s==u.key&&l==u.type)return i}return-1}function Wn(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Js.test(t)?r:r+"px"}function qt(e,t,r,n,o){var a,i;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Wn(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||Wn(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(pa,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=on,e.addEventListener(t,a?Ir:kr,a)):e.removeEventListener(t,a?Ir:kr,a);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Yn(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=on++;else if(t.t0?e:It(e)?e.map(Ea):ge({},e)}function el(e,t,r,n,o,a,i,s,l){var u,d,c,h,f,m,y,_=r.props,v=t.props,S=t.type;if(S=="svg"?o="http://www.w3.org/2000/svg":S=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(u=0;u2&&(s.children=arguments.length>3?kt.call(arguments,2):r),Pt(e.type,s,n||e.key,o||e.ref,null)}function Te(e){function t(r){var n,o;return this.getChildContext||(n=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!=a.value&&n.forEach(function(i){i.__e=!0,Dr(i)})},this.sub=function(a){n.add(a);var i=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.delete(a),i&&i.call(a)}}),r.children}return t.__c="__cC"+ma++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}kt=_a.slice,j={__e:function(e,t,r,n){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),i=o.__d),i)return o.__E=o}catch(s){e=s}throw e}},da=0,Zs=function(e){return e!=null&&e.constructor==null},he.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=ge({},this.state),typeof e=="function"&&(e=e(ge({},r),this.props)),e&&ge(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Dr(this))},he.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Dr(this))},he.prototype.render=pe,Ke=[],fa=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ha=function(e,t){return e.__v.__b-t.__v.__b},Xt.__r=0,pa=/(PointerCapture)$|Capture$/i,on=0,kr=Yn(!1),Ir=Yn(!0),ma=0;var Re,Q,wr,Zn,ft=0,Ca=[],ee=j,Jn=ee.__b,Qn=ee.__r,Xn=ee.diffed,eo=ee.__c,to=ee.unmount,ro=ee.__;function Ye(e,t){ee.__h&&ee.__h(Q,e,ft||t),ft=0;var r=Q.__H||(Q.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function xe(e){return ft=1,dr(Pa,e)}function dr(e,t,r){var n=Ye(Re++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Pa(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],u=n.t(l,s);l!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=Q,!Q.__f)){var o=function(s,l,u){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!a||a.call(this,s,l,u);var c=n.__c.props!==s;return d.forEach(function(h){if(h.__N){var f=h.__[0];h.__=h.__N,h.__N=void 0,f!==h.__[0]&&(c=!0)}}),a&&a.call(this,s,l,u)||c};Q.__f=!0;var a=Q.shouldComponentUpdate,i=Q.componentWillUpdate;Q.componentWillUpdate=function(s,l,u){if(this.__e){var d=a;a=void 0,o(s,l,u),a=d}i&&i.call(this,s,l,u)},Q.shouldComponentUpdate=o}return n.__N||n.__}function Ze(e,t){var r=Ye(Re++,3);!ee.__s&&dn(r.__H,t)&&(r.__=e,r.u=t,Q.__H.__h.push(r))}function Le(e,t){var r=Ye(Re++,4);!ee.__s&&dn(r.__H,t)&&(r.__=e,r.u=t,Q.__h.push(r))}function ze(e){return ft=5,Ee(function(){return{current:e}},[])}function un(e,t,r){ft=6,Le(function(){if(typeof e=="function"){var n=e(t());return function(){e(null),n&&typeof n=="function"&&n()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function Ee(e,t){var r=Ye(Re++,7);return dn(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function qe(e,t){return ft=8,Ee(function(){return e},t)}function se(e){var t=Q.context[e.__c],r=Ye(Re++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Q)),t.props.value):e.__}function fr(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function nl(e){var t=Ye(Re++,10),r=xe();return t.__=e,Q.componentDidCatch||(Q.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function cn(){var e=Ye(Re++,11);if(!e.__){for(var t=Q.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function ol(){for(var e;e=Ca.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Kt),e.__H.__h.forEach(Fr),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Q=null,Jn&&Jn(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ro&&ro(e,t)},ee.__r=function(e){Qn&&Qn(e),Re=0;var t=(Q=e.__c).__H;t&&(wr===Q?(t.__h=[],Q.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Kt),t.__h.forEach(Fr),t.__h=[],Re=0)),wr=Q},ee.diffed=function(e){Xn&&Xn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ca.push(t)!==1&&Zn===ee.requestAnimationFrame||((Zn=ee.requestAnimationFrame)||al)(ol)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),wr=Q=null},ee.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Kt),r.__h=r.__h.filter(function(n){return!n.__||Fr(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(n,r.__v)}}),eo&&eo(e,t)},ee.unmount=function(e){to&&to(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Kt(n)}catch(o){t=o}}),r.__H=void 0,t&&ee.__e(t,r.__v))};var no=typeof requestAnimationFrame=="function";function al(e){var t,r=function(){clearTimeout(n),no&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);no&&(t=requestAnimationFrame(r))}function Kt(e){var t=Q,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Q=t}function Fr(e){var t=Q;e.__c=e.__(),Q=t}function dn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Pa(e,t){return typeof t=="function"?t(e):t}function Ra(e,t){for(var r in t)e[r]=t[r];return e}function qr(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function hr(e,t){var r=t(),n=xe({t:{__:r,u:t}}),o=n[0].t,a=n[1];return Le(function(){o.__=r,o.u=t,br(o)&&a({t:o})},[e,r,t]),Ze(function(){return br(o)&&a({t:o}),e(function(){br(o)&&a({t:o})})},[e]),r}function br(e){var t,r,n=e.u,o=e.__;try{var a=n();return!((t=o)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function fn(e){e()}function hn(e){return e}function pn(){return[!1,fn]}var mn=Le;function er(e,t){this.props=e,this.context=t}function _n(e,t){function r(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:qr(this.props,o)}function n(o){return this.shouldComponentUpdate=r,Z(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=e,n}(er.prototype=new he).isPureReactComponent=!0,er.prototype.shouldComponentUpdate=function(e,t){return qr(this.props,e)||qr(this.state,t)};var oo=j.__b;j.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),oo&&oo(e)};var il=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function xa(e){function t(r){var n=Ra({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=il,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ao=function(e,t){return e==null?null:Pe(Pe(e).map(t))},yn={map:ao,forEach:ao,count:function(e){return e?Pe(e).length:0},only:function(e){var t=Pe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Pe},sl=j.__e;j.__e=function(e,t,r,n){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}sl(e,t,r,n)};var io=j.unmount;function Ta(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Ra({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Ta(n,t,r)})),e}function La(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return La(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Rt(){this.__u=0,this.o=null,this.__b=null}function Oa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ma(e){var t,r,n;function o(a){if(t||(t=e()).then(function(i){r=i.default||i},function(i){n=i}),n)throw n;if(!r)throw t;return Z(r,a)}return o.displayName="Lazy",o.__f=!0,o}function ot(){this.i=null,this.l=null}j.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),io&&io(e)},(Rt.prototype=new he).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var o=Oa(n.__v),a=!1,i=function(){a||(a=!0,r.__R=null,o?o(s):s())};r.__R=i;var s=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=La(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.o.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},Rt.prototype.componentWillUnmount=function(){this.o=[]},Rt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Ta(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&Z(pe,null,e.fallback);return o&&(o.__u&=-33),[Z(pe,null,t.__a?null:e.children),o]};var so=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.h.removeChild(o)}}}Lt(Z(ll,{context:t.context},e.__v),t.v)}function Na(e,t){var r=Z(ul,{__v:e,h:t});return r.containerInfo=t,r}(ot.prototype=new he).__a=function(e){var t=this,r=Oa(t.__v),n=t.l.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),so(t,e,n)):o()};r?r(a):a()}},ot.prototype.render=function(e){this.i=null,this.l=new Map;var t=Pe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){so(e,r,t)})};var ka=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,cl=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,dl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fl=/[A-Z0-9]/g,hl=typeof document<"u",pl=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ia(e,t,r){return t.__k==null&&(t.textContent=""),Lt(e,t),typeof r=="function"&&r(),e?e.__c:null}function Da(e,t,r){return Aa(e,t),typeof r=="function"&&r(),e?e.__c:null}he.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(he.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var lo=j.event;function ml(){}function _l(){return this.cancelBubble}function yl(){return this.defaultPrevented}j.event=function(e){return lo&&(e=lo(e)),e.persist=ml,e.isPropagationStopped=_l,e.isDefaultPrevented=yl,e.nativeEvent=e};var gn,gl={enumerable:!1,configurable:!0,get:function(){return this.class}},uo=j.vnode;j.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,o={},a=n.indexOf("-")===-1;for(var i in r){var s=r[i];if(!(i==="value"&&"defaultValue"in r&&s==null||hl&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||pl(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":dl.test(i)&&(i=l):l=i="oninput":a&&cl.test(i)?i=i.replace(fl,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=s}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Pe(r.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Pe(r.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",gl)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=ka,uo&&uo(e)};var co=j.__r;j.__r=function(e){co&&co(e),gn=e.__c};var fo=j.diffed;j.diffed=function(e){fo&&fo(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),gn=null};var Ua={ReactCurrentDispatcher:{current:{readContext:function(e){return gn.__n[e.__c].props.value},useCallback:qe,useContext:se,useDebugValue:fr,useDeferredValue:hn,useEffect:Ze,useId:cn,useImperativeHandle:un,useInsertionEffect:mn,useLayoutEffect:Le,useMemo:Ee,useReducer:dr,useRef:ze,useState:xe,useSyncExternalStore:hr,useTransition:pn}}},vl="18.3.1";function Fa(e){return Z.bind(null,e)}function mt(e){return!!e&&e.$$typeof===ka}function qa(e){return mt(e)&&e.type===pe}function ja(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function za(e){return mt(e)?rl.apply(null,arguments):e}function Ha(e){return!!e.__k&&(Lt(null,e),!0)}function Ba(e){return e&&(e.base||e.nodeType===1&&e)||null}var $a=function(e,t){return e(t)},Ka=function(e,t){return e(t)},Ga=pe,Va=mt,ne={useState:xe,useId:cn,useReducer:dr,useEffect:Ze,useLayoutEffect:Le,useInsertionEffect:mn,useTransition:pn,useDeferredValue:hn,useSyncExternalStore:hr,startTransition:fn,useRef:ze,useImperativeHandle:un,useMemo:Ee,useCallback:qe,useContext:se,useDebugValue:fr,version:"18.3.1",Children:yn,render:Ia,hydrate:Da,unmountComponentAtNode:Ha,createPortal:Na,createElement:Z,createContext:Te,createFactory:Fa,cloneElement:za,createRef:ya,Fragment:pe,isValidElement:mt,isElement:Va,isFragment:qa,isMemo:ja,findDOMNode:Ba,Component:he,PureComponent:er,memo:_n,forwardRef:xa,flushSync:Ka,unstable_batchedUpdates:$a,StrictMode:Ga,Suspense:Rt,SuspenseList:ot,lazy:Ma,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ua};const Wa=Object.freeze(Object.defineProperty({__proto__:null,Children:yn,Component:he,Fragment:pe,PureComponent:er,StrictMode:Ga,Suspense:Rt,SuspenseList:ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ua,cloneElement:za,createContext:Te,createElement:Z,createFactory:Fa,createPortal:Na,createRef:ya,default:ne,findDOMNode:Ba,flushSync:Ka,forwardRef:xa,hydrate:Da,isElement:Va,isFragment:qa,isMemo:ja,isValidElement:mt,lazy:Ma,memo:_n,render:Ia,startTransition:fn,unmountComponentAtNode:Ha,unstable_batchedUpdates:$a,useCallback:qe,useContext:se,useDebugValue:fr,useDeferredValue:hn,useEffect:Ze,useErrorBoundary:nl,useId:cn,useImperativeHandle:un,useInsertionEffect:mn,useLayoutEffect:Le,useMemo:Ee,useReducer:dr,useRef:ze,useState:xe,useSyncExternalStore:hr,useTransition:pn,version:vl},Symbol.toStringTag,{value:"Module"})),wl=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,bl={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0};function Ya(e,t={}){const r=e.split(wl);if(r.length===1)return e;const n=El(0,"$lingui$"),o=[],a=r.shift();a&&o.push(a);for(const[i,s,l]of Za(r)){let u=typeof i<"u"?t[i]:void 0;(!u||bl[u.type]&&s)&&(console.error(u?`${u.type} is a void element tag therefore it must have no children`:`Can't use element at index '${i}' as it is not declared in the original translation`),u=ne.createElement(ne.Fragment)),Array.isArray(u)&&(u=ne.createElement(ne.Fragment,{},u)),o.push(ne.cloneElement(u,{key:n()},s?Ya(s,t):u.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function Za(e){if(!e.length)return[];const[t,r,n,o]=e.slice(0,4);return[[t||n,r||"",o]].concat(Za(e.slice(4,e.length)))}const El=(e=0,t="")=>()=>`${t}_${e++}`;function Sl(e){const{render:t,component:r,id:n,message:o,formats:a,lingui:{i18n:i,defaultComponent:s}}=e,{values:l,components:u}=Cl(e),d=i&&typeof i._=="function"?i._(n,l,{message:o,formats:a}):n,c=d?Ya(d,u):null;if(t===null||r===null)return c;const h=s||Al,f={id:n,message:o,translation:c,children:c};if(t&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(r&&typeof r!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),ne.createElement(h,f,c);if(typeof t=="function")return t(f);const m=r||h;return ne.createElement(m,f,c)}const Al=({children:e})=>ne.createElement(ne.Fragment,null,e),Cl=e=>{if(!e.values)return{values:void 0,components:e.components};const t={...e.values},r={...e.components};return Object.entries(e.values).forEach(([n,o])=>{if(typeof o=="string"||typeof o=="number")return;const a=Object.keys(r).length;r[a]=ne.createElement(ne.Fragment,null,o),t[n]=`<${a}/>`}),{values:t,components:r}},Ja=ne.createContext(null),Qa=e=>ne.useContext(Ja);function Xf(){return Qa()}function eh({i18n:e,defaultComponent:t,children:r}){const n=ne.useRef(e.locale),o=ne.useCallback(()=>({i18n:e,defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,i]=ne.useState(o());return ne.useEffect(()=>{const s=()=>{n.current=e.locale,i(o())},l=e.on("change",s);return n.current!==e.locale&&s(),l},[e,o]),n.current?ne.createElement(Ja.Provider,{value:a},r):null}function th(e){const r=Qa(void 0);return ne.createElement(Sl,{...e,lingui:r})}function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Rl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function xl(){return Math.random().toString(36).substr(2,8)}function po(e){return{usr:e.state,key:e.key}}function jr(e,t,r,n){return r===void 0&&(r=null),tr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Je(t):t,{state:r,key:t&&t.key||n||xl()})}function vn(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Je(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Tl(e){let t=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:window.location.href,r=typeof e=="string"?e:vn(e);return ie(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}function Ll(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=Ue.Pop,l=null;function u(){s=Ue.Pop,l&&l({action:s,location:h.location})}function d(f,m){s=Ue.Push;let y=jr(h.location,f,m);r&&r(y,f);let _=po(y),v=h.createHref(y);try{i.pushState(_,"",v)}catch{o.location.assign(v)}a&&l&&l({action:s,location:h.location})}function c(f,m){s=Ue.Replace;let y=jr(h.location,f,m);r&&r(y,f);let _=po(y),v=h.createHref(y);i.replaceState(_,"",v),a&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return e(o,i)},listen(f){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(ho,u),l=f,()=>{o.removeEventListener(ho,u),l=null}},createHref(f){return t(o,f)},encodeLocation(f){let m=Tl(typeof f=="string"?f:vn(f));return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:c,go(f){return i.go(f)}};return h}var mo;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(mo||(mo={}));function Ol(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Je(t):t,o=ti(n.pathname||"/",r);if(o==null)return null;let a=Xa(e);Ml(a);let i=null;for(let s=0;i==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(ie(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=Ge([n,l.relativePath]),d=r.concat(l);a.children&&a.children.length>0&&(ie(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Xa(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:ql(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of ei(a.path))o(a,i,l)}),t}function ei(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=ei(n.join("/")),s=[];return s.push(...i.map(l=>l===""?a:[a,l].join("/"))),o&&s.push(...i),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function Ml(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:jl(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Nl=/^:\w+$/,kl=3,Il=2,Dl=1,Ul=10,Fl=-2,_o=e=>e==="*";function ql(e,t){let r=e.split("/"),n=r.length;return r.some(_o)&&(n+=Fl),t&&(n+=Il),r.filter(o=>!_o(o)).reduce((o,a)=>o+(Nl.test(a)?kl:a===""?Dl:Ul),n)}function jl(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function zl(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i{if(d==="*"){let h=s[c]||"";i=a.slice(0,a.length-h.length).replace(/(.)\/+$/,"$1")}return u[d]=$l(s[c]||"",d),u},{}),pathname:a,pathnameBase:i,pattern:e}}function Hl(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),wn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function Bl(e){try{return decodeURI(e)}catch(t){return wn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $l(e,t){try{return decodeURIComponent(e)}catch(r){return wn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function ti(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function wn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Kl(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Je(e):e;return{pathname:r?r.startsWith("/")?r:Gl(r,t):t,search:Zl(n),hash:Jl(o)}}function Gl(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Er(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Vl(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Wl(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Je(e):(o=tr({},e),ie(!o.pathname||!o.pathname.includes("?"),Er("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),Er("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),Er("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,s;if(n||i==null)s=r;else{let c=t.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),c-=1;o.pathname=h.join("/")}s=c>=0?t[c]:"/"}let l=Kl(o,s),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const Ge=e=>e.join("/").replace(/\/\/+/g,"/"),Yl=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zl=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Jl=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Ql{constructor(t,r,n,o){o===void 0&&(o=!1),this.status=t,this.statusText=r||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Xl(e){return e instanceof Ql}const ri=["post","put","patch","delete"],rh=new Set(ri),eu=["get",...ri],nh=new Set(eu);const oh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;te.useSyncExternalStore)(Wa),ni=Te(null),oi=Te(null);const bn=Te(null),pr=Te(null),_t=Te({outlet:null,matches:[]}),ai=Te(null);function mr(){return se(pr)!=null}function En(){return mr()||ie(!1),se(pr).location}function tu(){mr()||ie(!1);let{basename:e,navigator:t}=se(bn),{matches:r}=se(_t),{pathname:n}=En(),o=JSON.stringify(Vl(r).map(s=>s.pathnameBase)),a=ze(!1);return Ze(()=>{a.current=!0}),qe(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let u=Wl(s,JSON.parse(o),n,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Ge([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,o,n])}function dh(){let{matches:e}=se(_t),t=e[e.length-1];return t?t.params:{}}function ru(e,t){mr()||ie(!1);let{navigator:r}=se(bn),n=se(oi),{matches:o}=se(_t),a=o[o.length-1],i=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",u=a&&a.route,d=En(),c;if(t){var h;let v=typeof t=="string"?Je(t):t;l==="/"||(h=v.pathname)!=null&&h.startsWith(l)||ie(!1),c=v}else c=d;let f=c.pathname||"/",m=l==="/"?f:f.slice(l.length)||"/",y=Ol(e,{pathname:m}),_=iu(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},i,v.params),pathname:Ge([l,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Ge([l,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n||void 0);return t&&_?Z(pr.Provider,{value:{location:Hr({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Ue.Pop}},_):_}function nu(){let e=cu(),t=Xl(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n};return Z(pe,null,Z("h2",null,"Unhandled Thrown Error!"),Z("h3",{style:{fontStyle:"italic"}},t),r?Z("pre",{style:o},r):null,Z("p",null,"💿 Hey developer 👋"),Z("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Z("code",{style:a},"errorElement")," props on ",Z("code",{style:a},"")))}class ou extends he{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:t.error,location:t.location}:{error:t.error||r.error,location:r.location}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?Z(_t.Provider,{value:this.props.routeContext},Z(ai.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function au(e){let{routeContext:t,match:r,children:n}=e,o=se(ni);return o&&o.static&&o.staticContext&&r.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),Z(_t.Provider,{value:t},n)}function iu(e,t,r){if(t===void 0&&(t=[]),e==null)if(r!=null&&r.errors)e=r.matches;else return null;let n=e,o=r?.errors;if(o!=null){let a=n.findIndex(i=>i.route.id&&o?.[i.route.id]);a>=0||ie(!1),n=n.slice(0,Math.min(n.length,a+1))}return n.reduceRight((a,i,s)=>{let l=i.route.id?o?.[i.route.id]:null,u=r?i.route.errorElement||Z(nu,null):null,d=t.concat(n.slice(0,s+1)),c=()=>Z(au,{match:i,routeContext:{outlet:a,matches:d}},l?u:i.route.element!==void 0?i.route.element:a);return r&&(i.route.errorElement||s===0)?Z(ou,{location:r.location,component:u,error:l,children:c(),routeContext:{outlet:null,matches:d}}):c()},null)}var yo;(function(e){e.UseRevalidator="useRevalidator"})(yo||(yo={}));var rr;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(rr||(rr={}));function su(e){let t=se(oi);return t||ie(!1),t}function lu(e){let t=se(_t);return t||ie(!1),t}function uu(e){let t=lu(e),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function cu(){var e;let t=se(ai),r=su(rr.UseRouteError),n=uu(rr.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function du(e){ie(!1)}function fu(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Ue.Pop,navigator:a,static:i=!1}=e;mr()&&ie(!1);let s=t.replace(/^\/*/,"/"),l=Ee(()=>({basename:s,navigator:a,static:i}),[s,a,i]);typeof n=="string"&&(n=Je(n));let{pathname:u="/",search:d="",hash:c="",state:h=null,key:f="default"}=n,m=Ee(()=>{let y=ti(u,s);return y==null?null:{pathname:y,search:d,hash:c,state:h,key:f}},[s,u,d,c,h,f]);return m==null?null:Z(bn.Provider,{value:l},Z(pr.Provider,{children:r,value:{location:m,navigationType:o}}))}function fh(e){let{children:t,location:r}=e,n=se(ni),o=n&&!t?n.router.routes:Br(t);return ru(o,r)}var go;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(go||(go={}));const hh=new Promise(()=>{});function Br(e,t){t===void 0&&(t=[]);let r=[];return yn.forEach(e,(n,o)=>{if(!mt(n))return;if(n.type===pe){r.push.apply(r,Br(n.props.children,t));return}n.type!==du&&ie(!1),!n.props.index||!n.props.children||ie(!1);let a=[...t,o],i={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,hasErrorBoundary:n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle};n.props.children&&(i.children=Br(n.props.children,a)),r.push(i)}),r}function $r(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function hu(e,t){let r=$r(e);for(let n of t.keys())r.has(n)||t.getAll(n).forEach(o=>{r.append(n,o)});return r}function ph(e){let{basename:t,children:r,window:n}=e,o=ze();o.current==null&&(o.current=Pl({window:n,v5Compat:!0}));let a=o.current,[i,s]=xe({action:a.action,location:a.location});return Le(()=>a.listen(s),[a]),Z(fu,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a})}var vo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(vo||(vo={}));var wo;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wo||(wo={}));function mh(e){let t=ze($r(e)),r=En(),n=Ee(()=>hu(r.search,t.current),[r.search]),o=tu(),a=qe((i,s)=>{const l=$r(typeof i=="function"?i(n):i);o("?"+l,s)},[o,n]);return[n,a]}const pu="modulepreload",mu=function(e,t){return new URL(e,t).href},bo={},$=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(c=>Promise.resolve(c).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=u(r.map(d=>{if(d=mu(d,n),d in bo)return;bo[d]=!0;const c=d.endsWith(".css"),h=c?'[rel="stylesheet"]':"";if(n)for(let m=i.length-1;m>=0;m--){const y=i[m];if(y.href===d&&(!c||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pu,c||(f.as="script"),f.crossOrigin="",f.href=d,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((m,y)=>{f.addEventListener("load",m),f.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})},_u=Symbol(),Sn=Symbol(),Et="a",ii="f",Eo="p",si="c",li="t",An="h",xt="w",Cn="o",Pn="k";let yu=(e,t)=>new Proxy(e,t);const Kr=Object.getPrototypeOf,Gr=new WeakMap,ui=e=>e&&(Gr.has(e)?Gr.get(e):Kr(e)===Object.prototype||Kr(e)===Array.prototype),nr=e=>typeof e=="object"&&e!==null,gu=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(t=>!t.configurable&&!t.writable),vu=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(r=>{r.configurable=!0}),Object.create(Kr(e),t)},wu=(e,t)=>{const r={[ii]:t};let n=!1;const o=(s,l)=>{if(!n){let u=r[Et].get(e);if(u||(u={},r[Et].set(e,u)),s===xt)u[xt]=!0;else{let d=u[s];d||(d=new Set,u[s]=d),d.add(l)}}},a=()=>{n=!0,r[Et].delete(e)},i={get(s,l){return l===Sn?e:(o(Pn,l),ci(Reflect.get(s,l),r[Et],r[si],r[li]))},has(s,l){return l===_u?(a(),!0):(o(An,l),Reflect.has(s,l))},getOwnPropertyDescriptor(s,l){return o(Cn,l),Reflect.getOwnPropertyDescriptor(s,l)},ownKeys(s){return o(xt),Reflect.ownKeys(s)}};return t&&(i.set=i.deleteProperty=()=>!1),[i,r]},Rn=e=>e[Sn]||e,ci=(e,t,r,n)=>{if(!ui(e))return e;let o=n&&n.get(e);if(!o){const l=Rn(e);gu(l)?o=[l,vu(l)]:o=[l],n?.set(e,o)}const[a,i]=o;let s=r&&r.get(a);return(!s||s[1][ii]!==!!i)&&(s=wu(a,!!i),s[1][Eo]=yu(i||a,s[0]),r&&r.set(a,s)),s[1][Et]=t,s[1][si]=r,s[1][li]=n,s[1][Eo]},bu=(e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((o,a)=>o!==n[a])},di=(e,t,r,n,o=Object.is)=>{if(o(e,t))return!1;if(!nr(e)||!nr(t))return!0;const a=r.get(Rn(e));if(!a)return!0;if(n){if(n.get(e)===t)return!1;n.set(e,t)}let i=null;for(const s of a[An]||[])if(i=Reflect.has(e,s)!==Reflect.has(t,s),i)return i;if(a[xt]===!0){if(i=bu(e,t),i)return i}else for(const s of a[Cn]||[]){const l=!!Reflect.getOwnPropertyDescriptor(e,s),u=!!Reflect.getOwnPropertyDescriptor(t,s);if(i=l!==u,i)return i}for(const s of a[Pn]||[])if(i=di(e[s],t[s],r,n,o),i)return i;if(i===null)throw new Error("invalid used");return i};const Eu=e=>ui(e)&&e[Sn]||null,So=(e,t=!0)=>{Gr.set(e,t)},Su=(e,t,r)=>{const n=[],o=new WeakSet,a=(i,s)=>{var l,u,d;if(o.has(i))return;nr(i)&&o.add(i);const c=nr(i)&&t.get(Rn(i));if(c){if((l=c[An])===null||l===void 0||l.forEach(h=>{const f=`:has(${String(h)})`;n.push(s?[...s,f]:[f])}),c[xt]===!0){const h=":ownKeys";n.push(s?[...s,h]:[h])}else(u=c[Cn])===null||u===void 0||u.forEach(h=>{const f=`:hasOwn(${String(h)})`;n.push(s?[...s,f]:[f])});(d=c[Pn])===null||d===void 0||d.forEach(h=>{(!r||"value"in(Object.getOwnPropertyDescriptor(i,h)||{}))&&a(i[h],s?[...s,h]:[h])})}else s&&n.push(s)};return a(e),n};const or={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},xn=e=>typeof e=="object"&&e!==null,Au=e=>xn(e)&&!_r.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer)&&!(e instanceof Promise),fi=(e,t)=>{const r=Vr.get(e);if(r?.[0]===t)return r[1];const n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return So(n,!0),Vr.set(e,[t,n]),Reflect.ownKeys(e).forEach(o=>{if(Object.getOwnPropertyDescriptor(n,o))return;const a=Reflect.get(e,o),{enumerable:i}=Reflect.getOwnPropertyDescriptor(e,o),s={value:a,enumerable:i,configurable:!0};if(_r.has(a))So(a,!1);else if(je.has(a)){const[l,u]=je.get(a);s.value=fi(l,u())}Object.defineProperty(n,o,s)}),Object.preventExtensions(n)},Cu=(e,t,r,n)=>({deleteProperty(o,a){const i=Reflect.get(o,a);r(a);const s=Reflect.deleteProperty(o,a);return s&&n(["delete",[a],i]),s},set(o,a,i,s){const l=!e()&&Reflect.has(o,a),u=Reflect.get(o,a,s);if(l&&(Ao(u,i)||Ot.has(i)&&Ao(u,Ot.get(i))))return!0;r(a),xn(i)&&(i=Eu(i)||i);const d=!je.has(i)&&Ru(i)?hi(i):i;return t(a,d),Reflect.set(o,a,d,s),n(["set",[a],i,u]),!0}}),je=new WeakMap,_r=new WeakSet,Vr=new WeakMap,Gt=[1],Ot=new WeakMap;let Ao=Object.is,Pu=(e,t)=>new Proxy(e,t),Ru=Au,xu=fi,Tu=Cu;function hi(e={}){if(!xn(e))throw new Error("object required");const t=Ot.get(e);if(t)return t;let r=Gt[0];const n=new Set,o=(_,v=++Gt[0])=>{r!==v&&(a=r=v,n.forEach(S=>S(_,v)))};let a=r;const i=(_=Gt[0])=>(a!==_&&(a=_,l.forEach(([v])=>{const S=v[1](_);S>r&&(r=S)})),r),s=_=>(v,S)=>{const C=[...v];C[1]=[_,...C[1]],o(C,S)},l=new Map,u=(_,v)=>{const S=!_r.has(v)&&je.get(v);if(S){if((or?"production":void 0)!=="production"&&l.has(_))throw new Error("prop listener already exists");if(n.size){const C=S[2](s(_));l.set(_,[S,C])}else l.set(_,[S])}},d=_=>{var v;const S=l.get(_);S&&(l.delete(_),(v=S[1])==null||v.call(S))},c=_=>(n.add(_),n.size===1&&l.forEach(([S,C],I)=>{if((or?"production":void 0)!=="production"&&C)throw new Error("remove already exists");const B=S[2](s(I));l.set(I,[S,B])}),()=>{n.delete(_),n.size===0&&l.forEach(([S,C],I)=>{C&&(C(),l.set(I,[S]))})});let h=!0;const f=Tu(()=>h,u,d,o),m=Pu(e,f);Ot.set(e,m);const y=[e,i,c];return je.set(m,y),Reflect.ownKeys(e).forEach(_=>{const v=Object.getOwnPropertyDescriptor(e,_);"value"in v&&v.writable&&(m[_]=e[_])}),h=!1,m}function Tn(e,t,r){const n=je.get(e);(or?"production":void 0)!=="production"&&!n&&console.warn("Please use proxy object");let o;const a=[],i=n[2];let s=!1;const u=i(d=>{if(a.push(d),r){t(a.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,s&&t(a.splice(0))}))});return s=!0,()=>{s=!1,u()}}function Wr(e){const t=je.get(e);(or?"production":void 0)!=="production"&&!t&&console.warn("Please use proxy object");const[r,n]=t;return xu(r,n())}function pi(){return{proxyStateMap:je,refSet:_r,snapCache:Vr,versionHolder:Gt,proxyCache:Ot}}const Lu={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Ou=(e,t)=>{const r=ze(void 0);Ze(()=>{r.current=Su(e,t,!0)}),fr(r.current)},Mu=Ou,Nu=new WeakMap;function _h(e,t){const r=t?.sync,n=Ee(()=>e&&new WeakMap,[e]),o=ze(void 0);let a=!0;const i=hr(qe(l=>{const u=Tn(e,l,r);return l(),u},[e,r]),()=>{const l=Wr(e);try{if(!a&&o.current&&!di(o.current,l,n,new WeakMap))return o.current}catch{}return l},()=>Wr(e));a=!1,Le(()=>{o.current=i}),(Lu?"production":void 0)!=="production"&&Mu(i,n);const s=Ee(()=>new WeakMap,[]);return ci(i,n,s,Nu)}var ku=0,yh=Array.isArray;function be(e,t,r,n,o,a){t||(t={});var i,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ku,__i:-1,__u:0,__source:o,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return j.vnode&&j.vnode(u),u}const mi=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ar=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(mi);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Co=e=>e==="*"||e==="x"||e==="X",Po=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Iu=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Du=(e,t)=>{if(Co(e)||Co(t))return 0;const[r,n]=Iu(Po(e),Po(t));return r>n?1:r{for(let r=0;r{const r=ar(e),n=ar(t),o=r.pop(),a=n.pop(),i=at(r,n);return i!==0?i:o&&a?at(o.split("."),a.split(".")):o||a?o?-1:1:0},Uu=(e,t,r)=>{Fu(r);const n=_i(e,t);return yi[r].includes(n)},yi={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Ro=Object.keys(yi),Fu=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Ro.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Ro.join("|")}`)},Vt=(e,t)=>{if(t=t.replace(/([><=]+)\s+/g,"$1"),t.includes("||"))return t.split("||").some(_=>Vt(e,_));if(t.includes(" - ")){const[_,v]=t.split(" - ",2);return Vt(e,`>=${_} <=${v}`)}else if(t.includes(" "))return t.trim().replace(/\s{2,}/g," ").split(" ").every(_=>Vt(e,_));const r=t.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return Uu(e,t,n);const[o,a,i,,s]=ar(e),[l,u,d,,c]=ar(t),h=[o,a,i],f=[l,u??"x",d??"x"];if(c&&(!s||at(h,f)!==0||at(s.split("."),c.split("."))===-1))return!1;const m=f.findIndex(_=>_!=="0")+1,y=n==="~"?2:m>1?m:1;return!(at(h.slice(0,y),f.slice(0,y))!==0||at(h.slice(y),f.slice(y))===-1)},qu=e=>typeof e=="string"&&/^[v\d]/.test(e)&&mi.test(e);function ju(e,t){var r=Object.setPrototypeOf;r?r(e,t):e.__proto__=t}function zu(e,t){t===void 0&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}var Hu=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(r,n)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),yt=function(e){Hu(t,e);function t(r,n){var o=this.constructor,a=e.call(this,r,n)||this;return Object.defineProperty(a,"name",{value:o.name,enumerable:!1,configurable:!0}),ju(a,o.prototype),zu(a),a}return t}(Error);class We extends yt{}class xo extends yt{contentType;data;constructor(t,r,n,o){super(t,o),this.contentType=r,this.data=n}}class gi extends yt{statusCode;description;details;additionalProperties;constructor(t,r){super(t.message,r),this.statusCode=t.statusCode,this.message=t.message,this.description=t.description,this.additionalProperties=t.additionalProperties,this.details=t.details}}class vi extends yt{}class Sr extends yt{constructor(t,r){super(t,r),this.message=t}}const Bu=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),$u=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Ku=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Gu=/[^\p{L}\d]+/giu,To="$1\0$2",Lo="";function wi(e){let t=e.trim();t=t.replace(Bu,To).replace($u,To),t=t.replace(Gu,"\0");let r=0,n=t.length;for(;t.charAt(r)==="\0";)r++;if(r===n)return[];for(;t.charAt(n-1)==="\0";)n--;return t.slice(r,n).split(/\0/g)}function Vu(e){const t=wi(e);for(let r=0;ru===0?a(l):s(l,u)).join(t?.delimiter??"")+o}function Ln(e,t){return Wu(e,{delimiter:"_",...t})}function bi(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Zu(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Ju(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function Qu(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function Ei(e,t={}){const r=t.split??(t.separateNumbers?Vu:wi),n=t.prefixCharacters??Lo,o=t.suffixCharacters??Lo;let a=0,i=e.length;for(;aa;){const s=i-1,l=e.charAt(s);if(!o.includes(l))break;i=s}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}const Si=e=>new Promise(t=>setTimeout(()=>t(),e)),On=e=>typeof e=="object"&&e!==null&&e.constructor.name==="Object";function Xu(){}class ec extends yt{constructor(t,r){super(`Maximum number of attempts reached: ${t}`,r)}}class tc{props;attempts=0;constructor(t={}){this.props=t}async sleep(){if(this.attempts>=this.maxAttempts)throw new ec(this.attempts);await Si(this.timeout),this.attempts++}clear(){this.attempts=0}get factor(){return this.props.factor??1e3}get base(){return this.props.base??2}get maxAttempts(){return this.props.maxAttempts??Number.POSITIVE_INFINITY}get timeout(){return this.factor*this.base**this.attempts}}const rc=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}},nc=e=>{const t=new Map;for(const r of e.split(",")){const n=r.match(/<([^>]+)>;\s*rel="([^"]+)"/);n&&t.set(n[2],n[1])}return t};function Ai(e){return["fetch","create","update","remove","list"].includes(e)}function oc(e){if(Ai(e))return e;switch(e){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function ac(e,t){return e==="create"&&t==="/api/v1/accounts"||e==="update"&&t==="/api/v1/accounts/update_credentials"||e==="create"&&t==="/api/v1/email"||e==="create"&&t==="/api/v1/featured_tag"||e==="create"&&t==="/api/v1/media"||e==="create"&&t==="/api/v2/media"?"multipart-form":"json"}async function ic(e,t,r){let n;const o=AbortSignal.timeout(t);for(;!n;){if(o.aborted)throw new vi(`Media processing timed out of ${t}ms`);try{await Si(1e3);const a=await r.get(`/api/v1/media/${e}`);a.url&&(n=a)}catch(a){if(a instanceof gi&&a.statusCode===404)continue;throw a}}return n}class sc{http;mediaTimeout;constructor(t,r=1e3*60){this.http=t,this.mediaTimeout=r}beforeDispatch(t){const r=oc(t.type),n=Ai(t.type)?t.path:t.path+"/"+Ln(t.type),o=ac(r,n),a={...t.meta,encoding:o};return{type:r,path:n,data:t.data,meta:a}}dispatch(t){return t.type==="update"&&t.path==="/api/v1/accounts/update_credentials"?this.http.patch(t.path,t.data,t.meta):!1}afterDispatch(t,r){if(t.type==="create"&&t.path==="/api/v2/media"){const n=r;return On(t.data)&&t.data?.skipPolling===!0?n:ic(n.id,this.mediaTimeout,this.http)}return r}}class Mn{http;path;params;meta;direction;constructor(t,r,n,o,a="next"){this.http=t,this.path=r,this.params=n,this.meta=o,this.direction=a}async*values(){let t=this.path,r=this.params;for(;t!=null;){const n=await this.http.request({method:"GET",path:t,search:r,...this.meta}),o=this.getLink(n.headers.get("link"));t=o?.pathname,r=o?.search.replace(/^\?/,""),yield await n.data}}then(t=Promise.resolve.bind(Promise),r=Promise.reject.bind(Promise)){return this.values().next().then(n=>t(n.value),r)}getDirection(){return this.direction}setDirection(t){return new Mn(this.http,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(t){if(!t)return;const r=nc(t).get(this.direction);if(r)return new URL(r)}}class lc{http;hook;constructor(t,r){this.http=t,this.hook=r}dispatch(t){this.hook&&(t=this.hook.beforeDispatch(t));let r=this.hook.dispatch(t);if(r!==!1)return r;switch(t.type){case"fetch":{r=this.http.get(t.path,t.data,t.meta);break}case"create":{r=this.http.post(t.path,t.data,t.meta);break}case"update":{r=this.http.put(t.path,t.data,t.meta);break}case"remove":{r=this.http.delete(t.path,t.data,t.meta);break}case"list":{r=new Mn(this.http,t.path,t.data);break}}return r instanceof Promise?r.then(n=>this.hook?.afterDispatch(t,n)):this.hook.afterDispatch(t,r)}}var nt=null;typeof WebSocket<"u"?nt=WebSocket:typeof MozWebSocket<"u"?nt=MozWebSocket:typeof global<"u"?nt=global.WebSocket||global.MozWebSocket:typeof window<"u"?nt=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(nt=self.WebSocket||self.MozWebSocket);const Nn=nt;function uc(e){return e.readyState===Nn.OPEN?Promise.resolve():new Promise((t,r)=>{const n=i=>{r(i)},o=()=>{r(new Error("WebSocket closed"))},a=()=>{t()};e.addEventListener("error",n,{once:!0}),e.addEventListener("close",o,{once:!0}),e.addEventListener("open",a,{once:!0})})}function cc(e){return e.readyState===Nn.CLOSED?Promise.resolve():new Promise(t=>{const r=()=>{t()};e.addEventListener("error",r,{once:!0}),e.addEventListener("close",r,{once:!0})})}class dc{props;logger;ws;killed=!1;queue=[];backoff;constructor(t,r){this.props=t,this.logger=r,this.backoff=new tc({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new Sr("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const t=rc();return this.queue.push(t),t.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:t}of this.queue)t(new Sr("WebSocket closed"));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log("info","Connecting to WebSocket...");{const t=this.props.implementation??Nn,r=new t(...this.props.constructorParameters);await uc(r),this.ws=r}this.logger?.log("info","Connected to WebSocket");for(const{resolve:t}of this.queue)t(this.ws);this.queue=[],await cc(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(t){this.logger?.log("error","WebSocket error:",t)}this.ws=void 0}for(const{reject:t}of this.queue)t(new Sr(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function fc(){let e,t;const r=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:r})}function hc(e,t){const r=[],n=[],o=e((...d)=>{const c=n.shift();c?c.resolve({value:d,done:!1}):r.push(d)}),a=t?.signal;let i=!1,s=null;const l=()=>{s=new Error("Abort Error")},u=()=>{o?.(),a?.removeEventListener("abort",l)};return a?.addEventListener("abort",l,{once:!0}),{async next(){const d=r.shift();if(d)return{value:d,done:!1};if(i)return{value:void 0,done:!0};if(s)return Promise.reject(s);const c=fc();return n.push(c),c.promise},async return(){i=!0,u();for(const d of n)d.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(d){return s=d,u(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*pc(e){const t=async o=>{if(!n.return)throw new We("events.return is undefined");await n.return(o)},r=async o=>{if(!n.return)throw new We("events.return is undefined");await n.return(o)},n=hc(o=>(e.addEventListener("message",o),e.addEventListener("error",r),e.addEventListener("close",t),()=>{e.removeEventListener("message",o),e.removeEventListener("error",r),e.removeEventListener("close",t)}));for await(const[o]of n)yield o}class mc{connector;counter;serializer;stream;logger;params;connection;constructor(t,r,n,o,a,i){this.connector=t,this.counter=r,this.serializer=n,this.stream=o,this.logger=a,this.params=i}async*values(){try{this.logger?.log("info","Subscribing to stream",this.stream);for await(this.connection of this.connector){const t=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",t),this.connection.send(t),this.counter.increment(this.stream,this.params);const r=pc(this.connection);for await(const n of r){const o=this.parseMessage(n.data);this.test(o)&&(this.logger?.log("debug","↓ WEBSOCKET",o),yield o)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){const t=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(t)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(t){const r=this.params??{},n=Object.values(r);return[this.stream,...n].every(a=>t.stream.includes(a))}parseMessage(t){const r=this.serializer.deserialize("json",t);if("error"in r)throw new We(r.error);const n=r.event==="delete"||r.payload==null?r.payload:this.serializer.deserialize("json",r.payload);return{stream:r.stream,event:r.event,payload:n}}}class _c{counts=new Map;count(t,r){const n=this.hash(t,r);return this.counts.get(n)??0}increment(t,r){const n=this.hash(t,r);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(t,r){const n=this.hash(t,r);if(!this.counts.has(n))throw new Error("Cannot decrement non-existent count");this.counts.set(n,this.counts.get(n)-1)}hash(t,r){return JSON.stringify({stream:t,params:r})}}class yc{connector;counter;serializer;logger;constructor(t,r,n,o){this.connector=t,this.counter=r,this.serializer=n,this.logger=o}dispatch(t){if(t.type==="close")return this.connector.kill(),{};if(t.type==="prepare")return this.connector.acquire();if(t.type!=="subscribe")throw new We(`Unknown action type ${t.type}`);const r=t.data??{},n=t.path.replace(/^\//,"").replaceAll("/",":");return new mc(this.connector,this.counter,this.serializer,n,this.logger,{...r})}[Symbol.dispose](){this.connector.kill()}}const Mt=(e,t={})=>{const{context:r=[],applicable:n=!1}=t;let o={};const a={get:vc(e,r)};return n&&(o=Xu,a.apply=wc(e,r)),new Proxy(o,a)},gc=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),vc=(e,t)=>(r,n)=>{if(!(typeof n=="string"&&gc.has(n))){if(n===Symbol.dispose)return e[Symbol.dispose];if(typeof n!="symbol")return n.startsWith("$")?Mt(e,{context:[...t,n],applicable:!0}):Mt(e,{context:[...t,Ln(n)],applicable:!0})}},wc=(e,t)=>(r,n,o)=>{const a=t.pop();if(!a)throw new Error("No action specified");if(a==="$select")return Mt(e,{context:[...t,...o],applicable:!0});const i="/"+t.join("/"),[s,l]=o;return e.dispatch({type:a,path:i,data:s,meta:l})},bc=([e,...t])=>{const r=new Headers(e);for(const n of t)for(const[o,a]of new Headers(n).entries())r.set(o,a);return r};class Ec{props;serializer;constructor(t,r){this.props=t,this.serializer=r}mergeRequestInitWithDefaults(t={}){const r={...this.props.requestInit};{const{headers:n,signal:o,...a}=t;Object.assign(r,a),r.headers=this.mergeHeadersWithDefaults(n),r.signal=this.mergeAbortSignalWithDefaults(o)}return r}resolvePath(t,r){const n=new URL(t,this.props.url);return typeof r=="string"?n.search=r:r&&(n.search=this.serializer.serialize("querystring",r)),n}mergeHeadersWithDefaults(t={}){const r=bc([this.props.requestInit?.headers??{},t]),n=new Headers(r);return this.props.accessToken&&n.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(t){const r=[];return this.props.timeout&&r.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&r.push(this.props.requestInit.signal),t&&r.push(t),AbortSignal.any(r)}}class Sc{props;serializer;constructor(t,r){this.props=t,this.serializer=r}getProtocols(t=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...t]:[this.props.accessToken,...t]}resolvePath(t,r={}){const n=new URL(t,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(r.accessToken=this.props.accessToken),n.search=this.serializer.serialize("querystring",r),n}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?Number.POSITIVE_INFINITY:this.props.retry===!1?1:this.props.retry}}class Ac{get(t,r,n={}){return this.request({method:"GET",path:t,search:r,...n}).then(o=>o.data)}post(t,r,n={}){return this.request({method:"POST",path:t,body:r,...n}).then(o=>o.data)}delete(t,r,n={}){return this.request({method:"DELETE",path:t,body:r,...n}).then(o=>o.data)}put(t,r,n={}){return this.request({method:"PUT",path:t,body:r,...n}).then(o=>o.data)}patch(t,r,n={}){return this.request({method:"PATCH",path:t,body:r,...n}).then(o=>o.data)}}const Oo=e=>{const t=e.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof t=="string")switch(t){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class Cc extends Ac{serializer;config;logger;constructor(t,r,n){super(),this.serializer=t,this.config=r,this.logger=n}async request(t){const r=this.createRequest(t);try{this.logger?.log("info",`↑ ${r.method} ${r.url}`),this.logger?.log("debug"," body",{encoding:t.encoding,body:t.body});const n=await fetch(r);if(!n.ok)throw n;const o=await n.text(),a=Oo(n.headers);if(!a)throw new We("The server returned data with an unknown encoding.");const i=this.serializer.deserialize(a,o);return this.logger?.log("info",`↓ ${r.method} ${r.url}`),this.logger?.log("debug"," body",o),{headers:n.headers,data:i}}catch(n){throw this.logger?.log("debug","HTTP failed",n),await this.createError(n)}}createRequest(t){const{method:r,path:n,search:o,encoding:a="json",requestInit:i={}}=t,s=this.config.resolvePath(n,o),l=this.serializer.serialize(a,t.body),u=this.config.mergeRequestInitWithDefaults(i),d=new Request(s,{method:r,body:l,...u});return typeof l=="string"&&a==="json"&&d.headers.set("Content-Type","application/json"),d}async createError(t){if(t instanceof Response){const r=Oo(t.headers);if(!r)throw new We("The server returned data with an unknown encoding. The server may be down.");const n=this.serializer.deserialize(r,await t.text()),{error:o,errorDescription:a,details:i,...s}=n;return new gi({statusCode:t.status,message:o,description:a,details:i,additionalProperties:s},{cause:t})}return t instanceof DOMException&&t.name==="TimeoutError"?new vi("Request timed out",{cause:t}):t}}class Pc{level;constructor(t){this.level=t}log(t,r,n){if(!this.level.satisfies(t))return;const o=n==null?[r]:[r,n];switch(t){case"debug":{console.debug(...o);return}case"info":{console.info(...o);return}case"warn":{console.warn(...o);return}case"error":{console.error(...o);return}}}}const ce=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class it{level;constructor(t){this.level=t}satisfies(t){switch(t){case"debug":return!!(this.level&ce.DEBUG);case"info":return!!(this.level&ce.INFO);case"warn":return!!(this.level&ce.WARN);case"error":return!!(this.level&ce.ERROR)}}static from(t){switch(t){case"debug":return new it(ce.DEBUG|ce.INFO|ce.WARN|ce.ERROR);case"info":return new it(ce.INFO|ce.WARN|ce.ERROR);case"warn":return new it(ce.WARN|ce.ERROR);case"error":return new it(ce.ERROR)}}}const Ci=e=>{const t=it.from(e??"warn");return new Pc(t)},Pi=e=>{const t=(r,n="")=>Array.isArray(r)?r.flatMap((o,a)=>t(o,n==""?a.toString():e.onArray(n,a))):On(r)?Object.entries(r).flatMap(([o,a])=>t(a,n===""?o:e.onObject(n,o))):[[n,r]];return t},Rc=e=>{const t=Pi({onArray:(r,n)=>`${r}[${n}]`,onObject:(r,n)=>`${r}[${n}]`});return Object.fromEntries(t(e))},xc=e=>Pi({onArray:r=>`${r}[]`,onObject:(r,n)=>`${r}[${n}]`})(e).filter(([,r])=>r!=null).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&"),Yr=(e,t)=>Array.isArray(e)?e.map(r=>Yr(r,t)):On(e)?Object.fromEntries(Object.entries(e).map(([r,n])=>[t(r),Yr(n,t)])):e,Mo=(e,t)=>Yr(e,n=>n.includes(":")||n.startsWith("_")?n:t(n));class Ri{serialize(t,r){const n=Mo(r,Ln);switch(t){case"json":return JSON.stringify(n);case"multipart-form":{const o=new FormData;for(const[a,i]of Object.entries(Rc(n)))o.append(a,i);return o}case"querystring":return xc(n);default:throw new We(`Unknown content type ${t} to serialize.`)}}deserialize(t,r){switch(t){case"json":try{return Mo(JSON.parse(r),Yu)}catch{throw new xo(`Malformed JSON ${r} returned from the server.`,t,r)}default:throw new xo(`Unknown content type ${t} returned from the server.`,t,r)}}}const Tc=e=>{const t=new Ri,r=new Ec(e,t),n=Ci(e.log),o=new Cc(t,r,n),a=new sc(o,e.mediaTimeout),i=new lc(o,a);return Mt(i,{context:["api"]})};function Lc(e){const t=new Ri,r=new Sc(e,t),n=Ci(e.log),o=new dc({constructorParameters:[r.resolvePath("/api/v1/streaming"),r.getProtocols()],implementation:e.implementation,maxAttempts:r.getMaxAttempts()},n),a=new _c,i=new yc(o,a,t,n);return Mt(i)}var St={exports:{}},At={exports:{}},Oc=At.exports,No;function Mc(){return No||(No=1,function(e,t){(function(r,n){e.exports=n()})(Oc,function(){"use strict";var r={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n=Array.prototype.slice;function o(c){var h=c.length;return h?h===1?[c[0]]:h===2?[c[0],c[1]]:h===3?[c[0],c[1],c[2]]:n.call(c,0):[]}function a(c){var h={};for(var f in c)r[f]||(h[f]=c[f]);return h}function i(c){return typeof c=="function"&&c.isMemoized}function s(c,h){return c===h||c!==c&&h!==h}function l(c,h){var f={};for(var m in c)f[m]=c[m];for(var m in h)f[m]=h[m];return f}var u=function(){function c(h){this.keys=[],this.values=[],this.options=h;var f=typeof h.isMatchingKey=="function";f?this.getKeyIndex=this._getKeyIndexFromMatchingKey:h.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey=typeof h.transformKey=="function",this.shouldCloneArguments=this.canTransformKey||f,this.shouldUpdateOnAdd=typeof h.onCacheAdd=="function",this.shouldUpdateOnChange=typeof h.onCacheChange=="function",this.shouldUpdateOnHit=typeof h.onCacheHit=="function"}return Object.defineProperty(c.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"snapshot",{get:function(){return{keys:o(this.keys),size:this.size,values:o(this.values)}},enumerable:!1,configurable:!0}),c.prototype._getKeyIndexFromMatchingKey=function(h){var f=this.options,m=f.isMatchingKey,y=f.maxSize,_=this.keys,v=_.length;if(!v)return-1;if(m(_[0],h))return 0;if(y>1){for(var S=1;S1){for(var C=0;C1){for(var v=0;v=C&&(y.length=_.length=C)},c.prototype.updateAsyncCache=function(h){var f=this,m=this.options,y=m.onCacheChange,_=m.onCacheHit,v=this.keys[0],S=this.values[0];this.values[0]=S.then(function(C){return f.shouldUpdateOnHit&&_(f,f.options,h),f.shouldUpdateOnChange&&y(f,f.options,h),C},function(C){var I=f.getKeyIndex(v);throw I!==-1&&(f.keys.splice(I,1),f.values.splice(I,1)),C})},c}();function d(c,h){if(h===void 0&&(h={}),i(c))return d(c.fn,l(c.options,h));if(typeof c!="function")throw new TypeError("You must pass a function to `memoize`.");var f=h.isEqual,m=f===void 0?s:f,y=h.isMatchingKey,_=h.isPromise,v=_===void 0?!1:_,S=h.maxSize,C=S===void 0?1:S,I=h.onCacheAdd,B=h.onCacheChange,G=h.onCacheHit,V=h.transformKey,te=l({isEqual:m,isMatchingKey:y,isPromise:v,maxSize:C,onCacheAdd:I,onCacheChange:B,onCacheHit:G,transformKey:V},a(h)),K=new u(te),J=K.keys,p=K.values,w=K.canTransformKey,E=K.shouldCloneArguments,A=K.shouldUpdateOnAdd,P=K.shouldUpdateOnChange,T=K.shouldUpdateOnHit,R=function(){var D=E?o(arguments):arguments;w&&(D=V(D));var U=J.length?K.getKeyIndex(D):-1;if(U!==-1)T&&G(K,te,R),U&&(K.orderByLru(J[U],p[U],U),P&&B(K,te,R));else{var k=c.apply(this,arguments),W=E?D:o(arguments);K.orderByLru(W,k,J.length),v&&K.updateAsyncCache(R),A&&I(K,te,R),P&&B(K,te,R)}return p[0]};return R.cache=K,R.fn=c,R.isMemoized=!0,R.options=te,R}return d})}(At,At.exports)),At.exports}var Ct={exports:{}},Nc=Ct.exports,ko;function kc(){return ko||(ko=1,function(e,t){(function(r,n){n(t)})(Nc,function(r){"use strict";var n=typeof WeakMap=="function",o=Object.keys;function a(p,w){return p===w||p!==p&&w!==w}function i(p){return p.constructor===Object||p.constructor==null}function s(p){return!!p&&typeof p.then=="function"}function l(p){return!!(p&&p.$$typeof)}function u(){var p=[];return{delete:function(w){for(var E=0;E0;)if(!E(p[P],w[P],P,P,p,w,A))return!1;return!0}function f(p,w,E,A){var P=p.size===w.size;if(P&&p.size){var T={},R=0;p.forEach(function(D,U){if(P){var k=!1,W=0;w.forEach(function(X,le){!k&&!T[W]&&(k=E(U,le,R,W,p,w,A)&&E(D,X,U,le,p,w,A),k&&(T[W]=!0)),W++}),R++,P=k}})}return P}var m="_owner",y=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function _(p,w,E,A){var P=o(p),T=P.length;if(o(w).length!==T)return!1;if(T)for(var R=void 0;T-- >0;){if(R=P[T],R===m){var D=l(p),U=l(w);if((D||U)&&D!==U)return!1}if(!y(w,R)||!E(p[R],w[R],R,R,p,w,A))return!1}return!0}var v=function(){return/foo/g.flags==="g"?function(w,E){return w.source===E.source&&w.flags===E.flags}:function(w,E){return w.source===E.source&&w.global===E.global&&w.ignoreCase===E.ignoreCase&&w.multiline===E.multiline&&w.unicode===E.unicode&&w.sticky===E.sticky&&w.lastIndex===E.lastIndex}}();function S(p,w,E,A){var P=p.size===w.size;if(P&&p.size){var T={};p.forEach(function(R,D){if(P){var U=!1,k=0;w.forEach(function(W,X){!U&&!T[k]&&(U=E(R,W,D,X,p,w,A),U&&(T[k]=!0)),k++}),P=U}})}return P}var C=typeof Map=="function",I=typeof Set=="function",B=Object.prototype.valueOf;function G(p){var w=typeof p=="function"?p(E):function(A,P,T,R,D,U,k){return E(A,P,k)};function E(A,P,T){if(A===P)return!0;if(A&&P&&typeof A=="object"&&typeof P=="object"){if(i(A)&&i(P))return _(A,P,w,T);var R=Array.isArray(A),D=Array.isArray(P);return R||D?R===D&&h(A,P,w,T):(R=A instanceof Date,D=P instanceof Date,R||D?R===D&&a(A.getTime(),P.getTime()):(R=A instanceof RegExp,D=P instanceof RegExp,R||D?R===D&&v(A,P):s(A)||s(P)?A===P:C&&(R=A instanceof Map,D=P instanceof Map,R||D)?R===D&&f(A,P,w,T):I&&(R=A instanceof Set,D=P instanceof Set,R||D)?R===D&&S(A,P,w,T):A.valueOf!==B||P.valueOf!==B?a(A.valueOf(),P.valueOf()):_(A,P,w,T)))}return A!==A&&P!==P}return E}var V=G(),te=G(function(){return a}),K=G(c()),J=G(c(a));r.circularDeepEqual=K,r.circularShallowEqual=J,r.createCustomEqual=G,r.deepEqual=V,r.sameValueZeroEqual=a,r.shallowEqual=te,Object.defineProperty(r,"__esModule",{value:!0})})}(Ct,Ct.exports)),Ct.exports}var Ic=St.exports,Io;function Dc(){return Io||(Io=1,function(e,t){(function(r,n){e.exports=n(Mc(),kc())})(Ic,function(r,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(g){for(var b=1;b=0)&&(O[M]=g[M]);return O}var i={isDeepEqual:!1,isPromise:!1,isReact:!1,isSerialized:!1,isShallowEqual:!1,matchesArg:void 0,matchesKey:void 0,maxAge:void 0,maxArgs:void 0,maxSize:1,onExpire:void 0,profileName:void 0,serializer:void 0,updateCacheForKey:void 0,transformArgs:void 0,updateExpire:!1};function s(){for(var g=arguments.length,b=new Array(g),O=0;Ott&&(Y.keys.length=tt,Y.values.length=tt),Y.keys.unshift(et),Y.values.unshift(H),oe.isPromise&&Y.updateAsyncCache(L),_e&&_e(Y,oe,L),ye&&ye(Y,oe,L)}else{var Ut=Y.keys[Me];Y.values[Me]=H,Me>0&&Y.orderByLru(Ut,H,Me),oe.isPromise&&Y.updateAsyncCache(L),typeof ye=="function"&&ye(Y,oe,L)}},L.values=function(){return L.cacheSnapshot.values}}function T(g,b){var O=b.expirations,x=b.options,M=b.originalFunction,L=g.options;Object.defineProperties(g,{_microMemoizeOptions:{configurable:!0,get:function(){return L}},cacheSnapshot:{configurable:!0,get:function(){var re=g.cache;return{keys:re.keys.slice(0),size:re.size,values:re.values.slice(0)}}},expirations:{configurable:!0,get:function(){return O}},expirationsSnapshot:{configurable:!0,get:function(){return O.slice(0)}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return x}},originalFunction:{configurable:!0,get:function(){return M}}});var N=g;A(M,N)}function R(g,b){return P(g,b),T(g,b),g}var D=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function U(g,b,O){var x=g(o({maxArgs:2,isShallowEqual:!0},O,{isReact:!1}));b.displayName||(b.displayName=b.name||"Component");function M(L,N,H){this.props=L,this.context=N,this.updater=H,this.MoizedComponent=x(b)}return M.prototype.isReactComponent={},M.prototype.render=function(){return{$$typeof:D,type:this.MoizedComponent,props:this.props,ref:null,key:null,_owner:null}},A(b,M,["contextType","contextTypes"]),M.displayName="Moized("+(b.displayName||b.name||"Component")+")",f(M,b.name,O.profileName),M}function k(g){return function(b){if(g>=b.length)return b;if(g===0)return[];if(g===1)return[b[0]];if(g===2)return[b[0],b[1]];if(g===3)return[b[0],b[1],b[2]];for(var O=[],x=0;x=0?x.maxAge:i.maxAge,maxArgs:typeof x.maxArgs=="number"&&x.maxArgs>=0?x.maxArgs:i.maxArgs,maxSize:typeof x.maxSize=="number"&&x.maxSize>=0?x.maxSize:i.maxSize,profileName:x.profileName||K(b)}),H=[];N.matchesArg,N.isDeepEqual;var re=N.isPromise;N.isReact,N.isSerialized,N.isShallowEqual,N.matchesKey,N.maxAge,N.maxArgs;var Y=N.maxSize,oe=N.onCacheAdd,_e=N.onCacheChange,ye=N.onCacheHit;N.onExpire,N.profileName,N.serializer;var Ae=N.updateCacheForKey;N.transformArgs,N.updateExpire;var et=a(N,Cs),Me=Oe(N),tt=Be(N),Ut=S(H,N,Me,tt),zn=w(N),Rs=Xe(N),xs=o({},et,{isEqual:Me,isMatchingKey:tt,isPromise:re,maxSize:Y,onCacheAdd:Se(s(oe,Ut.onCacheAdd,zn.onCacheAdd)),onCacheChange:Se(_e),onCacheHit:Se(s(ye,Ut.onCacheHit,zn.onCacheHit)),transformKey:Rs}),Ts=r(b,xs),Ft=R(Ts,{expirations:H,options:N,originalFunction:b});return Ae&&(Ft=gr(Ft)),f(Ft,b.name,x.profileName),Ft};q.clearStats=B,q.collectStats=G,q.compose=function(){return l.apply(void 0,arguments)||q},q.deep=q({isDeepEqual:!0}),q.getStats=p,q.infinite=q({maxSize:1/0}),q.isCollectingStats=function(){return C.isCollectingStats},q.isMoized=function(b){return typeof b=="function"&&!!b.isMoized},q.matchesArg=function(g){return q({matchesArg:g})},q.matchesKey=function(g){return q({matchesKey:g})};function Ps(g,b){if(b===!0)return q({maxAge:g,updateExpire:b});if(typeof b=="object"){var O=b.onExpire,x=b.updateExpire;return q({maxAge:g,onExpire:O,updateExpire:x})}return q(typeof b=="function"?{maxAge:g,onExpire:b,updateExpire:!0}:{maxAge:g})}return q.maxAge=Ps,q.maxArgs=function(g){return q({maxArgs:g})},q.maxSize=function(g){return q({maxSize:g})},q.profile=function(g){return q({profileName:g})},q.promise=q({isPromise:!0,updateExpire:!0}),q.react=q({isReact:!0}),q.serialize=q({isSerialized:!0}),q.serializeWith=function(g){return q({isSerialized:!0,serializer:g})},q.shallow=q({isShallowEqual:!0}),q.transformArgs=function(g){return q({transformArgs:g})},q.updateCacheForKey=function(g){return q({updateCacheForKey:g})},Object.defineProperty(q,"default",{configurable:!1,enumerable:!1,value:q,writable:!1}),q})}(St,St.exports)),St.exports}var Uc=Dc();const xi=ia(Uc);typeof window<"u"&&(window._moize=xi);function gt(e,t={}){return xi(e,{...t,maxSize:30,isDeepEqual:!0})}function jt(e){for(var t=1;t"u")){i=jt({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,i[l]!==!0&&(s+="="+i[l].split(";")[0]));return document.cookie=o+"="+e.write(a,o)+s}}function n(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],i={},s=0;so.info.id===e):t[0];if(!r)return null;const n=Date.now();return n-r.lastAccessedAt>jc&&(r.lastAccessedAt=n,kn(t)),r}function zc(e){return vt().find(r=>r.accessToken===e)}function Hc(e){return vt().find(r=>r.instanceURL===e)}function gh(e){return vt().some(r=>r.instanceURL===e)}const Ti=typeof window<"u"?window.matchMedia("(display-mode: standalone)"):null;function Li(){try{const e=F.session.get("currentAccount");if(e)return e}catch{}if(Ti?.matches)try{const e=F.local.get("currentAccount");if(e)return e}catch{}return null}const vh=gt(Li,{maxAge:60*1e3});function Bc(e){try{F.session.set("currentAccount",e)}catch{}if(Ti?.matches)try{F.local.set("currentAccount",e)}catch{}}function Dt(){window.__IGNORE_GET_ACCOUNT_ERROR__;const e=Li();let t=Jr(e);return t||(t=Jr()),t}const $c=gt(Dt,{maxAge:60*1e3});function Ar(){const e=Dt(),{instanceURL:t,info:{id:r}}=e;return`${r}@${t}`}function Kc(e){const t=vt(),r=t.find(n=>n.info.id===e.info.id);r?(r.info=e.info,r.instanceURL=e.instanceURL,r.accessToken=e.accessToken,r.vapidKey=e.vapidKey):t.push(e),kn(t)}function wh(e){const t=vt(),r=t.find(n=>n.info.id===e.id);r&&(r.info.displayName!==e.displayName||r.info.avatar!==e.avatar||r.info.avatar_static!==e.avatar_static)&&(r.info={...r.info,...e},kn(t))}let Cr=null;function In(){if(Cr)return Cr;try{const e=Dt(),t=F.local.getJSON("instances"),r=e.instanceURL.toLowerCase();return Cr=t[r]}catch{return{}}}let Pr=null;function bh(){if(Pr)return Pr;try{const e=Dt(),t=F.local.getJSON("nodeInfos")||{},r=e.instanceURL.toLowerCase();return Pr=t[r]||{}}catch{return{}}}function Oi(e){const{configuration:t,maxMediaAttachments:r,maxTootChars:n,pollLimits:o}=e,a=t?.statuses||{};r&&(a.maxMediaAttachments??=r),n&&(a.maxCharacters??=n);const i=t?.polls||{};return o&&(i.maxCharactersPerOption??=o.maxOptionChars,i.maxExpiration??=o.maxExpiration,i.maxOptions??=o.maxOptions,i.minExpiration??=o.minExpiration),{...t,statuses:a,polls:i}}function Gc(){const e=In();return Oi(e)}function Eh(){return In()?.apiVersions||{}}function Sh(e){const t=e?Oi(e):Gc();return t?.vapid?.publicKey||t?.vapid?.public_key||Dt()?.vapidKey}function Ah(){const e=In();return/pixelfed/i.test(e?.version)}const Qr="credentialApplications";function Ch(e,t){const r=F.local.getJSON(Qr)||{};r[e]=t,F.local.setJSON(Qr,r)}function Ph(e){return(F.local.getJSON(Qr)||{})[e]||null}const Rr=qc.withAttributes({sameSite:"strict",secure:!0}),Ie={get:e=>{try{return localStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(Ie.get(e))}catch{return null}},set:(e,t)=>{try{return localStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return Ie.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return localStorage.removeItem(e)}catch{return null}}},lt={get:e=>{try{return sessionStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(lt.get(e))}catch{return null}},set:(e,t)=>{try{return sessionStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return lt.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return sessionStorage.removeItem(e)}catch{return null}}},Wt={get:e=>Rr.get(e),set:(e,t)=>Rr.set(e,t),del:e=>Rr.remove(e)},Vc={get:e=>navigator.cookieEnabled?Wt.get(e):lt.get(e),set:(e,t)=>navigator.cookieEnabled?Wt.set(e,t):lt.set(e,t),del:e=>navigator.cookieEnabled?Wt.del(e):lt.del(e)},Wc={get:e=>{try{return Ie.getJSON(e)[Ar()]}catch{return null}},set:(e,t)=>{try{const r=Ie.getJSON(e)||{};return r[Ar()]=t,Ie.setJSON(e,r)}catch{return null}},del:e=>{try{const t=Ie.getJSON(e)||{};return delete t[Ar()],Ie.setJSON(e,t)}catch{return null}}},F={local:Ie,session:lt,sessionCookie:Vc,cookie:Wt,account:Wc},Yt="mastodon.social",ir={},de={};window.__ACCOUNT_APIS__=de;let ae;function Ne({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const r=e?`https://${e}`:`https://${Yt}`,o={masto:Tc({url:r,accessToken:t,timeout:2*6e4,mediaTimeout:10*6e4}),instance:e,accessToken:t,onStreamingReady:function(a){this._streamingCallback=a}};return ir[e]=o,de[e]||(de[e]={}),t&&(de[e][t]=o),o}function Rh(e){return!!(F.local.getJSON("instances")||{})[e]}async function xh(e,t){const{masto:r,accessToken:n}=e;let o;__BENCHMARK.start("fetch-instance");try{o=await r.v2.instance.fetch()}catch{}if(!o)try{o=await r.v1.instance.fetch()}catch{}if(__BENCHMARK.end("fetch-instance"),!o)return;const{uri:a,urls:{streamingApi:i}={},domain:s,configuration:{urls:{streaming:l}={}}={}}=o,u=F.local.getJSON("instances")||{};(a||s)&&(u[(s||a).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),t&&(u[t.toLowerCase()]=o),F.local.setJSON("instances",u);let d;try{if(a||s){let f=a||`https://${s}`;const m=await(await fetch(`${f}/.well-known/nodeinfo`)).json();if(Array.isArray(m?.links)){const y="http://nodeinfo.diaspora.software/ns/schema/",_=m.links.filter(v=>typeof v.rel=="string"&&v.rel.startsWith(y)&&qu(v.rel.slice(y.length))).map(v=>({version:v.rel.slice(y.length),href:v.href})).sort((v,S)=>-_i(v.version,S.version)).find(v=>Vt(v.version,"<=2"))?.href;_&&(d=await(await fetch(_)).json())}}}catch{}const c=F.local.getJSON("nodeInfos")||{};if(d&&(c[t.toLowerCase()]=d),F.local.setJSON("nodeInfos",c),"WebSocket"in window&&(i||l)){const f=Lc({streamingApiUrl:l||i,accessToken:n,implementation:WebSocket});if(e.streaming=f,e._streamingCallback){try{e._streamingCallback(f)}catch{}e._streamingCallback=null}}__BENCHMARK.end("init-instance")}async function Th(e,t,r,n){const{masto:o}=e,a=await o.v1.accounts.verifyCredentials();Bc(a.id),Kc({info:a,instanceURL:t.toLowerCase(),accessToken:r,vapidKey:n,createdAt:Date.now()})}const Mi=gt(()=>F.account.get("preferences")||{},{maxAge:60*1e3});function Yc(e){Mi.clear(),F.account.set("preferences",e)}function Lh(){return!!Mi()}async function Oh(e){try{const{masto:t}=e;__BENCHMARK.start("fetch-preferences");const r=await t.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),Yc(r)}catch{}}function sr({instance:e,accessToken:t,accountID:r,account:n}={}){if(e&&(e=e.toLowerCase().trim()),e&&t){const l=de[e]?.[t]||Ne({instance:e,accessToken:t}),{masto:u,streaming:d}=l;return{masto:u,streaming:d,client:l,authenticated:!0,instance:e}}if(t)for(const l in de)if(de[l][t]){const u=de[l][t],{masto:d,streaming:c}=u;return{masto:d,streaming:c,client:u,authenticated:!0,instance:l}}else{const u=zc(t);if(u){const d=u.accessToken,c=u.instanceURL.toLowerCase().trim(),h=Ne({instance:c,accessToken:d}),{masto:f,streaming:m}=h;return{masto:f,streaming:m,client:h,authenticated:!0,instance:c}}else throw new Error("Access token not found")}if(n||r)if(n=n||Jr(r),n){const l=n.accessToken,u=n.instanceURL.toLowerCase().trim(),d=de[u]?.[l]||Ne({instance:u,accessToken:l}),{masto:c,streaming:h}=d;return{masto:c,streaming:h,client:d,authenticated:!0,instance:u}}else throw new Error(`Account ${r} not found`);const o=$c();if(e){if(ae?.instance===e)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e};if(o?.instanceURL===e){const{accessToken:f}=o;return ae=de[e]?.[f]||Ne({instance:e,accessToken:f}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:e}}const l=Hc(e);if(l){const f=l.accessToken,m=de[e]?.[f]||Ne({instance:e,accessToken:f}),{masto:y,streaming:_}=m;return{masto:y,streaming:_,client:m,authenticated:!0,instance:e}}const u=ir[e]||Ne({instance:e}),{masto:d,streaming:c,accessToken:h}=u;return{masto:d,streaming:c,client:u,authenticated:!!h,instance:e}}if(ae)return{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:ae.instance};if(o){const{accessToken:l,instanceURL:u}=o;return ae=de[u]?.[l]||Ne({instance:u,accessToken:l}),{masto:ae.masto,streaming:ae.streaming,client:ae,authenticated:!0,instance:u}}const a=ir[Yt]||Ne({instance:Yt}),{masto:i,streaming:s}=a;return{masto:i,streaming:s,client:a,authenticated:!1,instance:Yt}}window.__API__={currentAccountApi:ae,apis:ir,accountApis:de};var Zc=Object.getOwnPropertyNames,Jc=Object.getOwnPropertySymbols,Qc=Object.prototype.hasOwnProperty;function Do(e,t){return function(n,o,a){return e(n,o,a)&&t(n,o,a)}}function zt(e){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,o);var a=o.cache,i=a.get(r),s=a.get(n);if(i&&s)return i===n&&s===r;a.set(r,n),a.set(n,r);var l=e(r,n,o);return a.delete(r),a.delete(n),l}}function Xc(e){return e?.[Symbol.toStringTag]}function Uo(e){return Zc(e).concat(Jc(e))}var ed=Object.hasOwn||function(e,t){return Qc.call(e,t)};function Qe(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var td="__v",rd="__o",nd="_owner",Fo=Object.getOwnPropertyDescriptor,qo=Object.keys;function od(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function ad(e,t){return Qe(e.getTime(),t.getTime())}function id(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function sd(e,t){return e===t}function jo(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.entries(),i,s,l=0;(i=a.next())&&!i.done;){for(var u=t.entries(),d=!1,c=0;(s=u.next())&&!s.done;){if(o[c]){c++;continue}var h=i.value,f=s.value;if(r.equals(h[0],f[0],l,c,e,t,r)&&r.equals(h[1],f[1],h[0],f[0],e,t,r)){d=o[c]=!0;break}c++}if(!d)return!1;l++}return!0}var ld=Qe;function ud(e,t,r){var n=qo(e),o=n.length;if(qo(t).length!==o)return!1;for(;o-- >0;)if(!Ni(e,t,r,n[o]))return!1;return!0}function bt(e,t,r){var n=Uo(e),o=n.length;if(Uo(t).length!==o)return!1;for(var a,i,s;o-- >0;)if(a=n[o],!Ni(e,t,r,a)||(i=Fo(e,a),s=Fo(t,a),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function cd(e,t){return Qe(e.valueOf(),t.valueOf())}function dd(e,t){return e.source===t.source&&e.flags===t.flags}function zo(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var o=new Array(n),a=e.values(),i,s;(i=a.next())&&!i.done;){for(var l=t.values(),u=!1,d=0;(s=l.next())&&!s.done;){if(!o[d]&&r.equals(i.value,s.value,i.value,s.value,e,t,r)){u=o[d]=!0;break}d++}if(!u)return!1}return!0}function fd(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function hd(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Ni(e,t,r,n){return(n===nd||n===rd||n===td)&&(e.$$typeof||t.$$typeof)?!0:ed(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var pd="[object Arguments]",md="[object Boolean]",_d="[object Date]",yd="[object Error]",gd="[object Map]",vd="[object Number]",wd="[object Object]",bd="[object RegExp]",Ed="[object Set]",Sd="[object String]",Ad="[object URL]",Cd=Array.isArray,Ho=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,Bo=Object.assign,Pd=Object.prototype.toString.call.bind(Object.prototype.toString);function Rd(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areErrorsEqual,o=e.areFunctionsEqual,a=e.areMapsEqual,i=e.areNumbersEqual,s=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,c=e.areTypedArraysEqual,h=e.areUrlsEqual,f=e.unknownTagComparators;return function(y,_,v){if(y===_)return!0;if(y==null||_==null)return!1;var S=typeof y;if(S!==typeof _)return!1;if(S!=="object")return S==="number"?i(y,_,v):S==="function"?o(y,_,v):!1;var C=y.constructor;if(C!==_.constructor)return!1;if(C===Object)return s(y,_,v);if(Cd(y))return t(y,_,v);if(Ho!=null&&Ho(y))return c(y,_,v);if(C===Date)return r(y,_,v);if(C===RegExp)return u(y,_,v);if(C===Map)return a(y,_,v);if(C===Set)return d(y,_,v);var I=Pd(y);if(I===_d)return r(y,_,v);if(I===bd)return u(y,_,v);if(I===gd)return a(y,_,v);if(I===Ed)return d(y,_,v);if(I===wd)return typeof y.then!="function"&&typeof _.then!="function"&&s(y,_,v);if(I===Ad)return h(y,_,v);if(I===yd)return n(y,_,v);if(I===pd)return s(y,_,v);if(I===md||I===vd||I===Sd)return l(y,_,v);if(f){var B=f[I];if(!B){var G=Xc(y);G&&(B=f[G])}if(B)return B(y,_,v)}return!1}}function xd(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?bt:od,areDatesEqual:ad,areErrorsEqual:id,areFunctionsEqual:sd,areMapsEqual:n?Do(jo,bt):jo,areNumbersEqual:ld,areObjectsEqual:n?bt:ud,arePrimitiveWrappersEqual:cd,areRegExpsEqual:dd,areSetsEqual:n?Do(zo,bt):zo,areTypedArraysEqual:n?bt:fd,areUrlsEqual:hd,unknownTagComparators:void 0};if(r&&(o=Bo({},o,r(o))),t){var a=zt(o.areArraysEqual),i=zt(o.areMapsEqual),s=zt(o.areObjectsEqual),l=zt(o.areSetsEqual);o=Bo({},o,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:l})}return o}function Td(e){return function(t,r,n,o,a,i,s){return e(t,r,s)}}function Ld(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,a=e.strict;if(n)return function(l,u){var d=n(),c=d.cache,h=c===void 0?t?new WeakMap:void 0:c,f=d.meta;return r(l,u,{cache:h,equals:o,meta:f,strict:a})};if(t)return function(l,u){return r(l,u,{cache:new WeakMap,equals:o,meta:void 0,strict:a})};var i={cache:void 0,equals:o,meta:void 0,strict:a};return function(l,u){return r(l,u,i)}}var Od=He(),Mh=He({strict:!0}),Nh=He({circular:!0}),kh=He({circular:!0,strict:!0}),Ih=He({createInternalComparator:function(){return Qe}}),Dh=He({strict:!0,createInternalComparator:function(){return Qe}}),Uh=He({circular:!0,createInternalComparator:function(){return Qe}}),Fh=He({circular:!0,createInternalComparator:function(){return Qe},strict:!0});function He(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,o=e.createState,a=e.strict,i=a===void 0?!1:a,s=xd(e),l=Rd(s),u=n?n(l):Td(l);return Ld({circular:r,comparator:l,createState:o,equals:u,strict:i})}function ki(e,t,r,n){let o=e[t];return Tn(e,()=>{const a=e[t];Object.is(o,a)||r(o=a)},n)}const qh=Symbol();const{proxyStateMap:jh,snapCache:zh}=pi();const{proxyStateMap:Hh,snapCache:Bh}=pi();const $h=Symbol();function Md(e){try{const{pathname:t,hash:r,hostname:n}=URL.parse(e);return/^\/.*\/\d+$/i.test(t)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(t)||/^\/notes\/[a-z0-9]+$/i.test(t)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(t)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(t)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(t)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(t)||/(fed|bsky)\.brid\.gy/i.test(n)&&t.startsWith("/r/http")||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(t)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(t)||/^\/v\/[a-z0-9]+$/i.test(t)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(r)}catch{return!1}}function Nd(e,t={}){return gt(e,{isPromise:!0,...t})}function kd(e,t){let r=[],n=!1;function o(){if(r.length===0){n=!1;return}r.shift()(),setTimeout(o,t)}return function(...a){const i=()=>e.apply(this,a);r.push(i),n||(n=!0,setTimeout(o,t))}}var Zt={exports:{}},Kh=Zt.exports,$o;function Id(){return $o||($o=1,function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(l,u,d){this.fn=l,this.context=u,this.once=d||!1}function a(l,u,d,c,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var f=new o(d,c||l,h),m=r?r+u:u;return l._events[m]?l._events[m].fn?l._events[m]=[l._events[m],f]:l._events[m].push(f):(l._events[m]=f,l._eventsCount++),l}function i(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],d,c;if(this._eventsCount===0)return u;for(c in d=this._events)t.call(d,c)&&u.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},s.prototype.listeners=function(u){var d=r?r+u:u,c=this._events[d];if(!c)return[];if(c.fn)return[c.fn];for(var h=0,f=c.length,m=new Array(f);he.reason??new DOMException("This operation was aborted.","AbortError");function Fd(e,t){const{milliseconds:r,fallback:n,message:o,customTimers:a={setTimeout,clearTimeout},signal:i}=t;let s,l;const d=new Promise((c,h)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(i?.aborted){h(Ko(i));return}if(i&&(l=()=>{h(Ko(i))},i.addEventListener("abort",l,{once:!0})),e.then(c,h),r===Number.POSITIVE_INFINITY)return;const f=new Dn;s=a.setTimeout.call(void 0,()=>{if(n){try{c(n())}catch(m){h(m)}return}typeof e.cancel=="function"&&e.cancel(),o===!1?c():o instanceof Error?h(o):(f.message=o??`Promise timed out after ${r} milliseconds`,h(f))},r)}).finally(()=>{d.clear(),l&&i&&i.removeEventListener("abort",l)});return d.clear=()=>{a.clearTimeout.call(void 0,s),s=void 0},d}function qd(e,t,r){let n=0,o=e.length;for(;o>0;){const a=Math.trunc(o/2);let i=n+a;r(e[i],t)<=0?(n=++i,o-=a+1):o=a}return n}class jd{#t=[];enqueue(t,r){const{priority:n=0,id:o}=r??{},a={priority:n,id:o,run:t};if(this.size===0||this.#t[this.size-1].priority>=n){this.#t.push(a);return}const i=qd(this.#t,a,(s,l)=>l.priority-s.priority);this.#t.splice(i,0,a)}setPriority(t,r){const n=this.#t.findIndex(a=>a.id===t);if(n===-1)throw new ReferenceError(`No promise function with the id "${t}" exists in the queue.`);const[o]=this.#t.splice(n,1);this.enqueue(o.run,{priority:r,id:t})}dequeue(){return this.#t.shift()?.run}filter(t){return this.#t.filter(r=>r.priority===t.priority).map(r=>r.run)}get size(){return this.#t.length}}class zd extends Ud{#t;#n;#o=0;#h;#p=!1;#m=!1;#u;#v=0;#_=0;#a;#i;#e;#w;#r=0;#c;#s;#P=1n;#d=new Map;timeout;constructor(t){if(super(),t={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:jd,...t},!(typeof t.intervalCap=="number"&&t.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${t.intervalCap?.toString()??""}\` (${typeof t.intervalCap})`);if(t.interval===void 0||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${t.interval?.toString()??""}\` (${typeof t.interval})`);if(this.#t=t.carryoverIntervalCount??t.carryoverConcurrencyCount??!1,this.#n=t.intervalCap===Number.POSITIVE_INFINITY||t.interval===0,this.#h=t.intervalCap,this.#u=t.interval,this.#e=new t.queueClass,this.#w=t.queueClass,this.concurrency=t.concurrency,t.timeout!==void 0&&!(Number.isFinite(t.timeout)&&t.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${t.timeout}\` (${typeof t.timeout})`);this.timeout=t.timeout,this.#s=t.autoStart===!1,this.#k()}get#R(){return this.#n||this.#o0){const n=t-this.#_;if(n{this.#L()},t))}#E(){this.#a&&(clearInterval(this.#a),this.#a=void 0)}#M(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}#y(){if(this.#e.size===0)return this.#E(),this.emit("empty"),this.#r===0&&(this.#M(),this.emit("idle")),!1;let t=!1;if(!this.#s){const r=!this.#O;if(this.#R&&this.#x){const n=this.#e.dequeue();this.#n||(this.#o++,this.#f()),this.emit("active"),this.#_=Date.now(),n(),r&&this.#S(),t=!0}}return t}#S(){this.#n||this.#a!==void 0||(this.#a=setInterval(()=>{this.#A()},this.#u),this.#v=Date.now()+this.#u)}#A(){this.#o===0&&this.#r===0&&this.#a&&this.#E(),this.#o=this.#t?this.#r:0,this.#g(),this.#f()}#g(){for(;this.#y(););}get concurrency(){return this.#c}set concurrency(t){if(!(typeof t=="number"&&t>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);this.#c=t,this.#g()}async#N(t){return new Promise((r,n)=>{t.addEventListener("abort",()=>{n(t.reason)},{once:!0})})}setPriority(t,r){if(typeof r!="number"||!Number.isFinite(r))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${r}\` (${typeof r})`);this.#e.setPriority(t,r)}async add(t,r={}){return r.id??=(this.#P++).toString(),r={timeout:this.timeout,...r},new Promise((n,o)=>{const a=Symbol(`task-${r.id}`);this.#e.enqueue(async()=>{this.#r++,this.#d.set(a,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});try{try{r.signal?.throwIfAborted()}catch(l){throw this.#n||this.#o--,this.#d.delete(a),l}let i=t({signal:r.signal});r.timeout&&(i=Fd(Promise.resolve(i),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#r} running, ${this.#e.size} waiting)`})),r.signal&&(i=Promise.race([i,this.#N(r.signal)]));const s=await i;n(s),this.emit("completed",s)}catch(i){o(i),this.emit("error",i)}finally{this.#d.delete(a),queueMicrotask(()=>{this.#T()})}},r),this.emit("add"),this.#y()})}async addAll(t,r){return Promise.all(t.map(async n=>this.add(n,r)))}start(){return this.#s?(this.#s=!1,this.#g(),this):this}pause(){this.#s=!0}clear(){this.#e=new this.#w,this.#C()}async onEmpty(){this.#e.size!==0&&await this.#l("empty")}async onSizeLessThan(t){this.#e.sizethis.#e.size{const n=o=>{this.off("error",n),r(o)};this.on("error",n)})}async#l(t,r){return new Promise(n=>{const o=()=>{r&&!r()||(this.off(t,o),n())};this.on(t,o)})}get size(){return this.#e.size}sizeBy(t){return this.#e.filter(t).length}get pending(){return this.#r}get isPaused(){return this.#s}#k(){this.#n||(this.on("add",()=>{this.#e.size>0&&this.#f()}),this.on("next",()=>{this.#f()}))}#f(){this.#n||this.#m||(this.#m=!0,queueMicrotask(()=>{this.#m=!1,this.#C()}))}#C(){const t=this.#p,r=!this.#n&&this.#o>=this.#h&&this.#e.size>0;r!==t&&(this.#p=r,this.emit(r?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#p}get isSaturated(){return this.#r===this.#c&&this.#e.size>0||this.isRateLimited&&this.#e.size>0}get runningTasks(){return[...this.#d.values()].map(t=>({...t}))}}const ut=2147483647,ve=36,Un=1,Nt=26,Hd=38,Bd=700,Ii=72,Di=128,Ui="-",$d=/^xn--/,Kd=/[^\0-\x7F]/,Gd=/[\x2E\u3002\uFF0E\uFF61]/g,Vd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xr=ve-Un,we=Math.floor,Tr=String.fromCharCode;function ke(e){throw new RangeError(Vd[e])}function Wd(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function Fi(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(Gd,".");const o=e.split("."),a=Wd(o,t).join(".");return n+a}function qi(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),Zd=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:ve},Go=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ji=function(e,t,r){let n=0;for(e=r?we(e/Bd):e>>1,e+=we(e/t);e>xr*Nt>>1;n+=ve)e=we(e/xr);return we(n+(xr+1)*e/(e+Hd))},zi=function(e){const t=[],r=e.length;let n=0,o=Di,a=Ii,i=e.lastIndexOf(Ui);i<0&&(i=0);for(let s=0;s=128&&ke("not-basic"),t.push(e.charCodeAt(s));for(let s=i>0?i+1:0;s=r&&ke("invalid-input");const h=Zd(e.charCodeAt(s++));h>=ve&&ke("invalid-input"),h>we((ut-n)/d)&&ke("overflow"),n+=h*d;const f=c<=a?Un:c>=a+Nt?Nt:c-a;if(hwe(ut/m)&&ke("overflow"),d*=m}const u=t.length+1;a=ji(n-l,u,l==0),we(n/u)>ut-o&&ke("overflow"),o+=we(n/u),n%=u,t.splice(n++,0,o)}return String.fromCodePoint(...t)},Hi=function(e){const t=[];e=qi(e);const r=e.length;let n=Di,o=0,a=Ii;for(const l of e)l<128&&t.push(Tr(l));const i=t.length;let s=i;for(i&&t.push(Ui);s=n&&dwe((ut-o)/u)&&ke("overflow"),o+=(l-n)*u,n=l;for(const d of e)if(dut&&ke("overflow"),d===n){let c=o;for(let h=ve;;h+=ve){const f=h<=a?Un:h>=a+Nt?Nt:h-a;if(c{if(_?.id)return{status:_,instance:s};throw new Error("No results")})}const{masto:d}=sr({instance:e}),c=d.v2.search.fetch({q:a,type:"statuses",resolve:!0,limit:1}).then(m=>{const{statuses:y}=m;if(y.length>0){const _=y.filter(v=>!v.content?.toLowerCase().includes(a.toLowerCase()));if(_.length===1)return{status:_[0],instance:e}}throw new Error("No results")});function h(m){const{status:y,instance:_}=m,{id:v}=y,S=`/${_}/s/${v}`,C=a!==t,I={id:v,instance:_,url:S,originalURL:t,originalDomain:Vo(t),canonicalURL:C?a:void 0,canonicalDomain:C?Vo(a):void 0};return z.unfurledLinks[t]=I,Bi(y,_,{skipThreading:!0}),I}function f(m){Yo[t]=!0}return o?Promise.race([c,new Promise((y,_)=>setTimeout(_,3e3))]).catch(()=>o.catch(()=>c)).then(h).catch(f):c.then(h).catch(f)}const af=(e,t,r)=>tf.add(()=>of(e,t),{signal:r}),z=hi({appVersion:{},prevLocation:null,currentLocation:null,statuses:{},statusThreadNumber:{},home:[],homeNew:[],homeLast:null,homeLastFetchTime:null,notifications:[],notificationsLast:null,notificationsNew:[],notificationsShowNew:!1,notificationsLastFetchTime:null,reloadStatusPage:0,reloadGenericAccounts:{id:null,counter:0},reloadScheduledPosts:0,spoilers:{},spoilersMedia:{},revealedQuotes:{},scrollPositions:{},unfurledLinks:{},statusQuotes:{},statusFollowedTags:{},statusReply:{},accounts:{},routeNotification:null,composerState:{},showCompose:!1,showSettings:!1,showAccount:!1,showAccounts:!1,showDrafts:!1,showMediaModal:!1,showShortcutsSettings:!1,showKeyboardShortcutsHelp:!1,showGenericAccounts:!1,showMediaAlt:!1,showEmbedModal:!1,showReportModal:!1,shortcuts:[],settings:{autoRefresh:!1,shortcutsViewMode:null,shortcutsColumnsMode:!1,boostsCarousel:!0,contentTranslation:!0,contentTranslationTargetLanguage:null,contentTranslationHideLanguages:[],contentTranslationAutoInline:!1,shortcutSettingsCloudImportExport:!1,mediaAltGenerator:!1,composerGIFPicker:!1,cloakMode:!1,groupedNotificationsAlpha:!1}});function Gh(){z.notificationsLast=F.account.get("notificationsLast")||null,z.shortcuts=F.account.get("shortcuts")??[],z.settings.autoRefresh=F.account.get("settings-autoRefresh")??!1,z.settings.shortcutsViewMode=F.account.get("settings-shortcutsViewMode")??null,F.account.get("settings-shortcutsColumnsMode")&&(z.settings.shortcutsColumnsMode=!0),z.settings.boostsCarousel=F.account.get("settings-boostsCarousel")??!0,z.settings.contentTranslation=F.account.get("settings-contentTranslation")??!0,z.settings.contentTranslationTargetLanguage=F.account.get("settings-contentTranslationTargetLanguage")||null,z.settings.contentTranslationHideLanguages=F.account.get("settings-contentTranslationHideLanguages")||[],z.settings.contentTranslationAutoInline=F.account.get("settings-contentTranslationAutoInline")??!1,z.settings.shortcutSettingsCloudImportExport=F.account.get("settings-shortcutSettingsCloudImportExport")??!1,z.settings.mediaAltGenerator=F.account.get("settings-mediaAltGenerator")??!1,z.settings.composerGIFPicker=F.account.get("settings-composerGIFPicker")??!1,z.settings.cloakMode=F.account.get("settings-cloakMode")??!1,z.settings.groupedNotificationsAlpha=F.account.get("settings-groupedNotificationsAlpha")??!1}ki(z,"notificationsLast",e=>{F.account.set("notificationsLast",z.notificationsLast)});Tn(z,e=>{for(const[t,r,n,o]of e)r.join(".")==="settings.autoRefresh"&&F.account.set("settings-autoRefresh",!!n),r.join(".")==="settings.boostsCarousel"&&F.account.set("settings-boostsCarousel",!!n),r.join(".")==="settings.shortcutsViewMode"&&F.account.set("settings-shortcutsViewMode",n),r.join(".")==="settings.contentTranslation"&&F.account.set("settings-contentTranslation",!!n),r.join(".")==="settings.contentTranslationAutoInline"&&F.account.set("settings-contentTranslationAutoInline",!!n),r.join(".")==="settings.shortcutSettingsCloudImportExport"&&F.account.set("settings-shortcutSettingsCloudImportExport",!!n),r.join(".")==="settings.contentTranslationTargetLanguage"&&F.account.set("settings-contentTranslationTargetLanguage",n),/^settings\.contentTranslationHideLanguages/i.test(r.join("."))&&F.account.set("settings-contentTranslationHideLanguages",z.settings.contentTranslationHideLanguages),r.join(".")==="settings.mediaAltGenerator"&&F.account.set("settings-mediaAltGenerator",!!n),r.join(".")==="settings.composerGIFPicker"&&F.account.set("settings-composerGIFPicker",!!n),r?.[0]==="shortcuts"&&F.account.set("shortcuts",z.shortcuts),r.join(".")==="settings.cloakMode"&&F.account.set("settings-cloakMode",!!n),r.join(".")==="settings.groupedNotificationsAlpha"&&F.account.set("settings-groupedNotificationsAlpha",!!n)});function Fe(e,t){if(e)return t?`${t}/${e}`:e}function sf(e,t){if(t){const r=Fe(e,t);return z.statuses[r]}return z.statuses[e]}function Bi(e,t,r){typeof t=="object"&&(r=t,t=null);const{override:n=!0,skipThreading:o=!1,skipUnfurling:a=!1}=r||{};if(!e)return;const i=sf(e.id,t);!n&&i||Od(e,i)||(queueMicrotask(()=>{let s=Fe(e.id,t);if(i?._pinned&&(e._pinned=i._pinned),z.statuses[s]=e,e.reblog?.id){const u=Fe(e.reblog.id,t);z.statuses[u]=e.reblog,s=u}const l=e.reblog?.quote||e.quote;if(l?.id){const{id:u}=l,d=Fe(u,t);z.statuses[d]=l;const c=`/${t}/s/${u}`;z.statusQuotes[s]=[{id:u,instance:t,url:c,native:!0}]}if(l?.state){const{quotedStatus:u,state:d}=l;if(u?.id){const{id:c}=u,h=`/${t}/s/${c}`,f=Fe(c,t);z.statuses[f]=u,z.statusQuotes[s]=[{id:c,instance:t,url:h,state:d,native:!0}]}else z.statusQuotes[s]=[{state:d,native:!0}]}}),o||setTimeout(()=>{uf(e.reblog||e,t)},100),a||setTimeout(()=>{cf(e.reblog||e,t)},100))}function lf(e,t){const{masto:r,instance:n}=sr({instance:t});let o=0;async function a(i,s=0){const{inReplyToId:l,inReplyToAccountId:u}=i;if(!l||u!==i.account.id)return[i];if(l&&u!==i.account.id)throw"Not a thread";const d=Fe(l,n);let c=z.statuses[d];if(!c){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),c=await df(l,r),Bi(c,n,{skipThreading:!0})}return[...await a(c,++s),i]}return a(e).then(i=>{i.length>1&&i.forEach((s,l)=>{const u=Fe(s.id,n);z.statusThreadNumber[u]=l+1})}).catch(i=>{})}const uf=kd(lf,100),Zo=document.createElement("div");function cf(e,t){const{instance:r}=sr(),n=e?.content;if(/{const l=s.href;return!(l===e.url||l===e.uri)&&Md(l)}).forEach((s,l)=>{af(r,s.href).then(u=>{u&&a&&u?.id!==e.id&&(Array.isArray(z.statusQuotes[a])||(z.statusQuotes[a]=[]),z.statusQuotes[a][l]||z.statusQuotes[a].splice(l,0,u))})})}}const df=Nd((e,t)=>t.v1.statuses.$select(e).fetch());function ff(e){return Intl.getCanonicalLocales(e)}var Xr=function(e,t){return Xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Xr(e,t)};function $i(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var lr=function(){return lr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function Vi(e,t){return function(r,n){t(r,n,e)}}function Wi(e,t,r,n,o,a){function i(v){if(v!==void 0&&typeof v!="function")throw new TypeError("Function expected");return v}for(var s=n.kind,l=s==="getter"?"get":s==="setter"?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),c,h=!1,f=r.length-1;f>=0;f--){var m={};for(var y in n)m[y]=y==="access"?{}:n[y];for(var y in n.access)m.access[y]=n.access[y];m.addInitializer=function(v){if(h)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(v||null))};var _=(0,r[f])(s==="accessor"?{get:d.get,set:d.set}:d[l],m);if(s==="accessor"){if(_===void 0)continue;if(_===null||typeof _!="object")throw new TypeError("Object expected");(c=i(_.get))&&(d.get=c),(c=i(_.set))&&(d.set=c),(c=i(_.init))&&o.unshift(c)}else(c=i(_))&&(s==="field"?o.unshift(c):d[l]=c)}u&&Object.defineProperty(u,n.name,d),h=!0}function Yi(e,t,r){for(var n=arguments.length>2,o=0;o0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function rs(){for(var e=[],t=0;t1||l(f,y)})},m&&(o[f]=m(o[f])))}function l(f,m){try{u(n[f](m))}catch(y){h(a[0][3],y)}}function u(f){f.value instanceof pt?Promise.resolve(f.value.v).then(d,c):h(a[0][2],f)}function d(f){l("next",f)}function c(f){l("throw",f)}function h(f,m){f(m),a.shift(),a.length&&l(a[0][0],a[0][1])}}function as(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:pt(e[o](i)),done:!1}:a?a(i):i}:a}}function is(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof ur=="function"?ur(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(s,l){i=e[a](i),o(s,l,i.done,i.value)})}}function o(a,i,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},i)}}function ss(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var hf=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},en=function(e){return en=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},en(e)};function ls(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=en(e),n=0;n-1==l)}else s&&(s=e.region?i==="*"||i===e.region:!0);return s&&(s=e.script?a==="*"||a===e.script:!0),s&&(s=e.language?o==="*"||o===e.language:!0),s}function Jo(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function Mr(e,t,r){for(var n=0,o=r.matches;n-1!=r.paradigmLocales.indexOf(Jo(t))>-1?s-1:s}}throw new Error("No matching distance found")}function vf(e,t){var r=new Intl.Locale(e).maximize(),n=new Intl.Locale(t).maximize(),o={language:r.language,script:r.script||"",region:r.region||""},a={language:n.language,script:n.script||"",region:n.region||""},i=0,s=gf();return o.language!==a.language&&(i+=Mr({language:r.language,script:"",region:""},{language:n.language,script:"",region:""},s)),o.script!==a.script&&(i+=Mr({language:r.language,script:o.script,region:""},{language:n.language,script:a.script,region:""},s)),o.region!==a.region&&(i+=Mr(o,a,s)),i}function wf(e,t,r){r===void 0&&(r=yf);var n=1/0,o={matchedDesiredLocale:"",distances:{}};return e.forEach(function(a,i){o.distances[a]||(o.distances[a]={}),t.forEach(function(s){var l=vf(a,s)+0+i*40;o.distances[a][s]=l,l=r&&(o.matchedDesiredLocale=void 0,o.matchedSupportedLocale=void 0),o}function bf(e,t,r){var n,o,a=[],i=t.reduce(function(l,u){var d=u.replace(qn,"");return a.push(d),l[d]=u,l},{}),s=wf(a,e);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(n=s.matchedSupportedLocale,o=i[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),n?{locale:n,extension:o}:{locale:r()}}function Ef(e,t){var r=t.toLowerCase();Ce(e!==void 0,"ukey must be defined");var n=r;return n}function Qo(e){return Intl.getCanonicalLocales(e)[0]}function Sf(e,t,r){Ce(e.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");for(var n="-u",o=0,a=t;o-1)return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&r[n-2]==="-"&&(n-=2),r=r.slice(0,n)}}function Af(e,t,r){for(var n={locale:""},o=0,a=t;o=2,"Expected a subtag to have at least 2 characters"),n===void 0&&s!=2?t.indexOf(l)===-1&&t.push(l):s===2?(n={key:l,value:""},r.find(function(u){return u.key===n?.key})===void 0&&r.push(n)):n?.value===""?n.value=l:(Ce(n!==void 0,"Expected keyword to be defined"),n.value+="-"+l),a+=s+1}return{attributes:t,keywords:r}}function ys(e,t,r,n,o,a){var i,s=r.localeMatcher,l;s==="lookup"?l=Af(Array.from(e),t,a):l=bf(Array.from(e),t,a),l==null&&(l={locale:a(),extension:""});var u=l.locale,d=o[u],c={locale:"en",dataLocale:u},h,f;l.extension?(h=Cf(l.extension),f=h.keywords):f=[];for(var m=[],y=function(I){var B=(i=d?.[I])!==null&&i!==void 0?i:[];Ce(Array.isArray(B),"keyLocaleData for ".concat(I," must be an array"));var G=B[0];Ce(G===void 0||typeof G=="string","value must be a string or undefined");var V=void 0,te=f.find(function(w){return w.key===I});if(te){var K=te.value;K!==""?B.indexOf(K)>-1&&(G=K,V={key:I,value:G}):B.indexOf("true")>-1&&(G="true",V={key:I,value:G})}var J=r[I];if(Ce(J==null||typeof J=="string","optionsValue must be a string or undefined"),typeof J=="string"){var p=I.toLowerCase();J=Ef(p,J),J===""&&(J="true")}J!==G&&B.indexOf(J)>-1&&(G=J,V=void 0),V&&m.push(V),c[I]=G},_=0,v=n;_0&&(C=[],u=Sf(u,C,m)),c.locale=u,c}function Pf(e,t){for(var r=[],n=0,o=t;nArray.isArray(a)?a.join(","):a).join("|");let n;try{n=F.session.getJSON(Xo)||{}}catch{return e(...t)}if(n[r])return n[r];const o=e(...t);try{n[r]=o,F.session.setJSON(Xo,n)}catch{}return o}}const xf=gt(Rf(vs)),ws=Te(),Tf="sprite-icon";function Yh({children:e}){const[t,r]=xe(new Set),[n,o]=xe({}),a=qe(async l=>{if(!t.has(l))try{const{ICONS:u}=await $(async()=>{const{ICONS:m}=await import("./ICONS-BzjICR_A.js");return{ICONS:m}},[],import.meta.url),d=u[l];if(!d)return;let c;Array.isArray(d)?c=d[0]:typeof d=="object"?c=d.module:c=d;const f=(await c()).default;o(m=>({...m,[l]:f})),r(m=>new Set([...m,l]))}catch{}},[t]),i=qe(l=>t.has(l),[t]),s={loadIcon:a,isIconLoaded:i,loadedIcons:t,iconData:n};return be(ws.Provider,{value:s,children:[e,be(Lf,{})]})}function Lf(){const{loadedIcons:e,iconData:t}=Mf();return e.size===0?null:be("svg",{style:{display:"none"},"aria-hidden":"true",children:be("defs",{children:Array.from(e).map(r=>{const n=t[r];return n?be(Of,{iconName:r,data:n},r):null})})})}const Of=_n(function({iconName:e,data:t}){return be("symbol",{id:`${Tf}-${e}`,viewBox:`0 0 ${t.width} ${t.height}`,dangerouslySetInnerHTML:{__html:t.body}})},(e,t)=>e.iconName===t.iconName);function Mf(){const e=se(ws);if(!e)throw new Error("useIconSprite must be used within IconSpriteProvider");return e}function Nf({abrupt:e,hidden:t,...r}){return be("span",{...r,class:`loader-container ${e?"abrupt":""} ${t?"hidden":""}`,children:be("span",{class:"loader"})})}const jn=[{code:"ar-SA",nativeName:"العربية",name:"Arabic",completion:22,listed:!1},{code:"ca-ES",nativeName:"català",name:"Catalan",completion:100,listed:!0},{code:"cs-CZ",nativeName:"čeština",name:"Czech",completion:73,listed:!0},{code:"de-DE",nativeName:"Deutsch",name:"German",completion:89,listed:!0},{code:"eo-UY",nativeName:"Esperanto",name:"Esperanto",completion:96,listed:!0},{code:"es-ES",nativeName:"español",name:"Spanish",completion:100,listed:!0},{code:"eu-ES",nativeName:"euskara",name:"Basque",completion:100,listed:!0},{code:"fa-IR",nativeName:"فارسی",name:"Persian",completion:64,listed:!0},{code:"fi-FI",nativeName:"suomi",name:"Finnish",completion:100,listed:!0},{code:"fr-FR",nativeName:"français",name:"French",completion:94,listed:!0},{code:"gl-ES",nativeName:"galego",name:"Galician",completion:100,listed:!0},{code:"he-IL",nativeName:"עברית",name:"Hebrew",completion:22,listed:!1},{code:"it-IT",nativeName:"italiano",name:"Italian",completion:100,listed:!0},{code:"ja-JP",nativeName:"日本語",name:"Japanese",completion:42,listed:!1},{code:"kab",nativeName:"Taqbaylit",name:"Kabyle",completion:90,listed:!0},{code:"ko-KR",nativeName:"한국어",name:"Korean",completion:80,listed:!0},{code:"lt-LT",nativeName:"lietuvių",name:"Lithuanian",completion:92,listed:!0},{code:"nb-NO",nativeName:"norsk bokmål",name:"Norwegian Bokmål",completion:44,listed:!1},{code:"nl-NL",nativeName:"Nederlands",name:"Dutch",completion:68,listed:!0},{code:"pl-PL",nativeName:"polski",name:"Polish",completion:100,listed:!0},{code:"pt-BR",nativeName:"português",name:"Portuguese",completion:93,listed:!0},{code:"pt-PT",nativeName:"português",name:"Portuguese",completion:93,listed:!0},{code:"ru-RU",nativeName:"русский",name:"Russian",completion:100,listed:!0},{code:"th-TH",nativeName:"ไทย",name:"Thai",completion:8,listed:!1},{code:"tr-TR",nativeName:"Türkçe",name:"Turkish",completion:42,listed:!1},{code:"uk-UA",nativeName:"українська",name:"Ukrainian",completion:87,listed:!0},{code:"zh-CN",nativeName:"简体中文",name:"Simplified Chinese",completion:100,listed:!0},{code:"zh-TW",nativeName:"繁體中文",name:"Traditional Chinese",completion:28,listed:!1}],kf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},ct="en",Zh=jn,bs=[ct,...jn.filter(({listed:e})=>e).map(({code:e})=>e)],Jh=bs;let cr=[];kf?.PHANPY_SHOW_DEV_LOCALES&&(cr=jn.filter(({listed:e})=>!e).map(({code:e})=>e),cr.push("pseudo-LOCALE"));const Qh=cr,ea=[...bs,...cr],If=(e,t,r)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};function Df(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function Uf(e=globalThis.navigator){return e.language||e.userLanguage}function Ff(e){const t=/([^=?#&]+)=?([^&]*)/g,r={};let n;for(;n=t.exec(e);){const o=ta(n[1]),a=ta(n[2]);o===null||a===null||o in r||(r[o]=a)}return r}function ta(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qf(e,t=globalThis.location){if(!e)throw new Error("fromUrl parameter is required");return Ff(t.search)[e]||null}function jf(...e){const t=[];for(let r=0;r{const u=this._escapeRegExpPattern(l);i(u)}),typeof r=="string"){const l=this._escapeRegExpPattern(r);i(l)}r||i("\\s");const s="("+o.join("|")+")";for(a=new RegExp(s,"g");t.match(a);)t=t.replace(a,"");return t}static _parseLocale(t){if(typeof t!="string")return;const r=ra.exec(t);let n,o,a;if(!t||!r)return;const i=this._trim(r[2],["-","_"]),s=this._trim(r[3],["-","_"]);return n=this._toLowerCase(r[1]),o=this._toLowerCase(i)||o,a=this._toUpperCase(s)||a,{lang:n,script:o,countryCode:a}}_isRtlLang(){const{lang:t,script:r}=Ve._parseLocale(this._locale);return r?Ve._RTL_SCRIPTS.indexOf(r)>=0:Ve._BIDI_RTL_LANGS.indexOf(t)>=0}getTextInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}Ve._RTL_SCRIPTS=["adlm","arab","armi","avst","chrs","cprt","elym","hatr","hebr","hung","khar","lydi","mand","mani","mend","merc","mero","narb","nbat","nkoo","orkh","ougr","palm","phli","phlp","phnx","prti","rohg","samr","sarb","sogd","sogo","syrc","thaa","yezi"];Ve._BIDI_RTL_LANGS=["ae","aeb","ajt","apc","apd","ar","ara","arb","arc","arq","ars","ary","arz","ave","avl","bal","bcc","bej","bft","bgn","bqi","brh","cja","ckb","cld","dcc","dgl","div","drw","dv","fa","fas","fia","fub","gbz","gjk","gju","glk","grc","gwc","gwt","haz","he","heb","hnd","hno","iw","ji","kas","kby","khw","ks","kvx","kxp","kzh","lad","lah","lki","lrc","luz","mde","mfa","mki","mvy","myz","mzn","nqo","oru","ota","otk","oui","pal","pbu","per","pes","phl","phn","pnb","pra","prd","prs","ps","pus","rhg","rmt","scl","sd","sdh","shu","skr","smp","snd","sog","swb","syr","tnf","trw","ug","uig","ur","urd","wni","xco","xld","xmn","xmr","xna","xpr","xsa","ydd","yi","yid","zdj"];const Es=JSON.parse(`{"+/xYEI":["Switch to Side Peek view"],"+38pse":["Reply scheduled"],"+3FjPq":["Unable to report post"],"+71G9C":[["count","plural",{"1":[["account"]," followed you."],"other":["<0><1>",["0"]," people followed you."]}]],"+9E7iR":["Connected on ",["0"]," (<0/>)"],"+Cxvld":["<0>Shift + <1>c"],"+GkIdc":["Scheduled Posts"],"+IJm1Z":["Muted"],"+Kq2vY":["Shortcut settings copied"],"+RZyRm":["Post hidden because you've blocked ",["domain"],"."],"+XOeb+":["Boosted/Liked by…"],"+ZzjRY":[["hashtagTitle"]],"+bAQ3S":["Only you can quote"],"+k97fV":["Nothing to see here yet."],"+kQ/cY":["Delete this list?"],"+niKJH":["anyone"],"+owNNn":["Posts"],"+syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"/2mUza":["Media attachments:"],"/3LJfX":["Unblock <0>@",["username"],""],"/4fHR1":["A draft post is currently minimized. Post or discard it before creating a new one."],"/5ZKeE":["Pop in"],"/7UQ7y":["Whole word"],"/BGBeF":["Muted ",["username"]],"/CLBTL":["Note: This feature uses external GIF search service, powered by <0>GIPHY. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers."],"/Cw4Tx":["Downloading GIF…"],"/IX/7x":["Other"],"/JFxxT":["Switch to account's instance ",["0"]],"/KEBaP":["Unable to copy HTML code"],"/MJ7gZ":["No lists."],"/OvbEC":["e.g. “mastodon.social”"],"/W5yFF":["Delete this draft?"],"/WA/tl":["View all notifications"],"/Xg6f6":["No quotes yet"],"/bZzdR":["Mentions"],"/cKnpj":["Account posts"],"/dlmrZ":["Show all authors"],"/fY1js":["Ask a question"],"/nf2x7":["Math expressions found."],"/plB9m":["Muted @",["username"]," for ",["0"]],"/zL/Mq":["Scheduled post deleted"],"03Qqf9":["Filtered"],"03jFGT":["No one mentioned you :("],"03vjxE":["Replying to @",["0"]],"09u3Kk":["Delete scheduled post?"],"0J4sZq":["Error deleting drafts! Please try again."],"0MgdN+":["Back to top"],"0NXzv9":["Private posts cannot be quoted"],"0OHPem":["This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."],"0SdaOt":["Post translation"],"0WUFGD":["Showing posts in ",["0"]],"0X2KC8":["Boosts from @",["username"]," enabled."],"0YgcH9":["Go to Notifications"],"0h4/9h":[" Notifications disabled for @",["username"],"'s posts."],"0mC0SF":["Auto refresh timeline posts"],"0tG4wG":["Unable to unblock @",["username"]],"0tQ7AD":["Density"],"0tZAhT":["⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profile’s notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile."],"0udtPI":["Only mentions"],"0whvLM":[["0","plural",{"one":["Announcement"],"other":["Announcements"]}]],"10OlfF":["Nothing to show"],"1C/9Sa":["Bookmarked"],"1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"1QfxQT":["Dismiss"],"1RfGk7":["Let's catch up on the posts from your followings."],"1TNIig":["Open"],"1dyGG/":["Catch-up ",["0"]," removed"],"1njn7W":["Light"],"1o+mEC":["last 4 hours"],"1pKapz":["Send post"],"1qL+L+":["Specific list is optional. For multi-column mode, list is required, else the column will not be shown."],"1t/NnN":["Reject"],"237hSL":["Ended"],"24misb":["More…"],"24w+FD":[["years","plural",{"one":["#"," year later"],"other":["#"," years later"]}]],"27x6gl":["Copy handle"],"2AeREO":["Unable to load followed hashtags."],"2BApYc":["Private mentions"],"2BBAbc":["List"],"2C0g0G":["Post unavailable"],"2EYeAZ":["The end."],"2FYpfJ":["More"],"2LiWsE":["Switch to Full view"],"2MQ2cd":["Enter a new instance e.g. \\"mastodon.social\\""],"2S/uvJ":[["0","plural",{"one":["#"," hashtag"],"other":["#"," hashtags"]}]],"2WtL62":["Pending review"],"2jI8hh":["Let's catch up"],"2oZ4Iw":["Error fetching quoted status!"],"2xahsi":["Continue with ",["selectedInstanceText"]],"2yr1/p":["New posts"],"32TndD":["Blocked"],"3IakFR":["Delete all drafts?"],"3Ib6FN":["Move down"],"3LkfZu":["Mention <0>@",["username"],""],"3OLv47":["Unable to unfeature on profile"],"3P1r1z":["Quote settings updated"],"3TSz9S":["Minimize"],"3Uoj83":["Error loading quotes"],"3Xq4Zi":["Add more than one shortcut/column to make this work."],"3ePd3I":["What's new"],"3mOee6":["Edit filter"],"3t/Nrv":["Switch to this account"],"3wG7HI":["Uploaded"],"3xIN+E":["No columns yet. Tap on the Add column button."],"4+7X9i":["Notifications settings updated"],"4/RpOy":["Open in new window"],"4/iCqx":["Trending"],"40naR1":["Scheduled post rescheduled"],"40z2Fm":["View profile…"],"41gejM":["Expand content warning or<0/>toggle expanded/collapsed thread"],"44hICK":["Unable to load account."],"48oDit":[["query"]," <0>‒ accounts, hashtags & posts"],"4Dh9J1":["Unable to delete filter."],"4ERYY7":["Federated"],"4LHHK6":["More from <0/>"],"4MFM3P":["No hashtags found."],"4R1B1H":["Recent searches"],"4RRMre":["Grouped notifications"],"4S86wI":["Looks like your browser is blocking popups."],"4UOm4A":[["0","plural",{"other":["<0>@",["1"]," first, ","#"," others below"]}]],"4WUbF1":["Poll"],"4XF0BB":["Profile picture"],"4b3oEV":["Content"],"4cijjm":["Send Report"],"5+87Pq":["Notification"],"52x24e":["Note: <0>Default account will always be used for first load. Switched accounts will persist during the session."],"570qTm":["\\"Cloud\\" import/export for shortcuts settings"],"5BFynH":["+ Replies"],"5GFQTh":["Unable to fetch notifications."],"5KJFnN":["Not available in current view mode"],"5LwCCI":["Ended <0/>"],"5PGPvG":["View #Wrapstodon"],"5bAOta":["Post removed by author"],"5gfDMm":["Media description"],"5hXGws":["Open original media in new window"],"5t4KSs":["View Quotes"],"5vzJxv":[["0","plural",{"one":["#"," filter"],"other":["#"," filters"]}]],"5w02SH":["Shortcuts saved"],"5ykMJ1":["Reply all"],"6Fs1Ba":["Follow requests"],"6HA9+s":["No trending posts."],"6KkH+2":["<0>Version: <1/> ",["0"]],"6LUsk7":["Push notifications are blocked. Please enable them in your browser settings."],"6MzUUU":["Append to current shortcuts?"],"6XYpYY":["Previous post"],"6YeoAt":["Search: ",["q"]," (Posts)"],"6YtxFj":["Name"],"6ZjzWP":["Override current shortcuts?"],"6lGV3K":["Show less"],"6yILME":["Describe image…"],"77Emn0":["Keyboard shortcuts"],"7FGvtQ":["Filtered: ",["filterTitleStr"]],"7Ff7ia":["Bookmarks"],"7I3sDQ":["Note: This feature uses external translation services, powered by <0>",["TRANSLATION_API_NAME"],"."],"7KnEYa":["Unable to remove from list."],"7PQAMY":["Report post…"],"7QSeK6":["Unable to load posts."],"7Vb+qD":["last 11 hours"],"7WYl2I":["View profile image"],"7WddtO":["Invalid instance"],"7ZJHdw":["Home / Following"],"7d1a0d":["Public"],"7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"7defFj":["Optional, e.g. mastodon.social"],"7e0O8Z":["Accounts…"],"7jyUKe":["Sorry, your current logged-in instance can't interact with this post from another instance."],"7oRLbi":["Mutual"],"7r6sCa":["Text size"],"8+HOWa":["last 3 hours"],"80sOCm":["<0>Enter or <1>o"],"84WuL2":["<0>l or <1>f"],"87a/t/":["Label"],"8GMtDr":["Similar notifications are grouped and collapsed to reduce clutter."],"8GjLvB":[["accountDisplay"]," (",["monthYear"],")"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["0"],""],"8SN9kN":["Unable to mute conversation"],"8ab1sR":["Liked"],"8d0b8B":["Push permission was not granted since your last login. You'll need to <0><1>log in again to grant push permission."],"8fZueG":["Read more →"],"8i6Ueo":["Custom emojis"],"8iQ+jk":["No drafts found."],"8k2w6G":["No bookmarks yet. Go bookmark something!"],"8prZNK":[["0","plural",{"one":["#"," list"],"other":["#"," lists"]}]],"8r8KmB":["Show all sensitive content"],"8zsp51":["Generating description. Please wait…"],"95IFnD":["New update available…"],"98E0aM":[["index"],"/",["total"]],"9J6biQ":["Unable to switch"],"9KEidY":["Type to search GIFs"],"9Ko+Xp":["Your followers can quote"],"9OpVZg":["Edit profile"],"9Q/4xJ":["Back to showing trending posts"],"9Vdq+j":["Automated"],"9ZCilh":["Show media"],"9ZP9cc":["Forever"],"9ZYiLz":["Saving shortcuts to instance server…"],"9groMz":["Translated Bio"],"9npOH9":["Open file"],"9q5uor":["Image description generator"],"9ra4hn":["Featured on profile"],"9tmn6W":["Add shortcut…"],"9veeTb":["Trending News"],"A/CX5F":[["accountDisplay"]," (- Boosts)"],"A05Pj6":["Thread ",["index"],"/",["total"]],"A1As8l":["beta"],"A1taO8":["Search"],"A6cs15":["Unable to unpin post"],"AB/GtR":["Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?"],"ACul2G":["Report @",["username"]],"AGyV7s":["Overlaps with your last catch-up"],"AIa/f7":["Compose new post"],"AJqQb+":["Show markup"],"AThL/k":["Error loading accounts"],"AWOSPo":["Zoom in"],"AZ2EoP":["<0>Built by <1>@cheeaun"],"Aadw0+":["Go to account page"],"AeM/di":["Account Emojis:"],"AeXO77":["Account"],"AgkUZa":["No featured profiles."],"AgkcM/":["@",["username"]," removed from followers"],"Ap/10+":["Looks like you have unsent drafts. Let's continue where you left off."],"AuiMZZ":["Search: ",["q"]," (Hashtags)"],"AzZ5zv":["Polls are not interactive, becomes a list with vote counts."],"B4Xkly":["Unmuted @",["username"]],"B6cG3J":["Download shortcuts from instance server"],"BATCqf":["Showing posts mentioning <0>",["0"],""],"BC0lSD":["Unable to copy handle"],"BHWx+g":["All Lists"],"BMmtZ8":["See more accounts"],"BPjyR2":["Delete this filter?"],"BRV/wh":["This user has chosen to not make this information available."],"BcNdg+":["Change expiry"],"BiZJ6G":["No one has posted anything yet."],"BskFI2":["<0>Built by <1>@cheeaun. <2>Privacy Policy."],"Buy2bt":["Home and lists"],"Bz5hLl":["Go to original profile page"],"Bze3gr":["Auto (",["0"],")"],"C4T6O/":["Import/export settings from/to instance server (Very experimental)"],"C4x3+X":[["statusesCount","plural",{"one":["<0>",["0"]," Post"],"other":["<1>",["1"]," Posts"]}]],"C5zXYJ":["Header picture"],"C6cVP/":["<0>",["displayName"]," has indicated that their new account is now:"],"C7ujRh":["Toggle Cloak mode"],"CDpQAX":["Remove poll"],"CGQ27z":["Screenshot of nested comments thread"],"CIHAsy":["Specify a list of shortcuts that'll appear as:"],"CKHUZ2":[["0"]," original posts, ",["1"]," replies, ",["2"]," quotes, ",["3"]," boosts"],"CNSLAW":["No one has posted anything with this tag yet."],"CTqTgr":["Shortcuts"],"CXk1bI":["Log out…"],"CeInO2":["Preview of Catch-up UI"],"CeJHfb":["Display language"],"CxKPv6":["What is this?"],"D3vX+9":["Login required."],"D7/2jB":["GIF Picker for composer"],"D9CmP2":["Remove this catch-up?"],"DHhJ7s":["Previous"],"DOQUen":[["0","plural",{"one":["#"," reply"],"other":["<0>",["1"]," replies"]}]],"DPfwMq":["Done"],"DUMt1y":["List ID"],"DWumLi":["Import shortcuts?"],"DYowFe":["Skip carousel to next post"],"DYqYm5":["Private note about <0>@",["0"],""],"Djbaby":["Reload page now to update?"],"DlhB4J":["<0/> <1>boosted"],"DnepCE":["Error: ",["e"]],"DqsEm+":[["months","plural",{"one":["#"," month later"],"other":["#"," months later"]}]],"DuJJm9":["Edited: ",["editedDateText"]],"DuvOX/":["Dimension too large. Uploading might encounter issues. Try reduce dimension from ",["0"],"×",["1"],"px to ",["2"],"×",["3"],"px."],"E+oKCO":["Bio"],"E8laYz":["Multiple hashtags are supported. Space-separated."],"EANWES":["Failed to load history"],"EAjFM0":["Note: your instance might only show a maximum of 800 posts in the Home timeline regardless of the time range. Could be less or more."],"EIZREX":["Top links"],"EVRO/o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"EarrCe":["Search emoji"],"EdQY6l":["None"],"EkH9pt":["Update"],"EnJuK0":["Conversations"],"F3cM1G":["Last post: <0>",["0"],""],"FFmj1D":["Volunteer translations"],"FKojeB":["Sensitive media"],"FMGfUd":["Remove my post from <0>@",["0"],"'s post?"],"FNptcJ":["Posts on this list are hidden from Home/Following"],"Fb2K8h":["Bookmarked @",["0"],"'s post"],"FbPNuJ":["Delete this post?"],"Fd8FaU":["<0>Shift + <1>k"],"FgdLx0":["Unable to fetch account info"],"FjkaiT":["Zoom out"],"Fm6c4W":["Add GIF"],"Fq4zw3":["Not sure what to add?<0/>Try adding <1>Home / Following and Notifications first."],"Fr0hAN":["Unable to create filter"],"FwMMx0":["Unable to update profile."],"Fz4lZ1":["Your account has been suspended."],"G2fuEb":["Locked"],"GKuKcZ":["Posting on <0/>"],"GMe2XV":["Post"],"GP8RLS":["Hashtag"],"GRUr8d":["Disable boosts"],"GS+Mus":["Export"],"Gj4mrz":["Open link?"],"GkS6YG":["HTML Code"],"GlfmCu":["Pinned posts"],"Gy9P9T":["Next post"],"H0wUNM":["View notifications from <0>@",["0"],""],"H8RP+h":["Unable to edit filter"],"HBIZeo":["Unable to format math"],"HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"HKrBPX":["Unfollow…"],"HLqLGx":["Downloading saved shortcuts from instance server…"],"HOSk7R":["Following…"],"HQJU6W":["Unable to load replies."],"HSA2au":["Edit History Snapshots"],"HajiZl":["Month"],"HkuyOu":["Switch to my instance (<0>",["currentInstance"],")"],"Hp1l6f":["Current"],"HxF6Fk":["Original"],"Hzi9AA":["No posts found."],"I6pdY3":["Failed to update subscription. Please try again."],"I92Z+b":["Enable notifications"],"I9EnzM":["Reset filters"],"I9uBFA":["last 8 hours"],"IDC5Uw":["Who unsolicitedly private mention you"],"IK0zKi":[["hashtagTitle"]," on ",["instance"]],"INLTzH":["Your ",["year"]," #Wrapstodon is here!"],"IPXOXm":[["0","plural",{"one":["#"," character"],"other":["#"," characters"]}]],"ISg5SQ":["View post"],"IV4QaU":["Private mention"],"IXZLPs":["Cloak mode enabled"],"IeO7us":["Voted"],"Ih01jh":["Followed by…"],"IjKdHM":["Illegal"],"ImOQa9":["Reply"],"IrX0sj":["Post scheduled"],"Is7/PB":["Add an existing account"],"IvPikw":["No lists yet."],"J6hrEy":["Dismissed"],"J6ypuD":["A"],"JRswkR":["Block <0>@",["username"],"…"],"JWxodU":["Unable to load post"],"Jb6/SB":["Delete…"],"JsU2En":["Pop out"],"JvA7Mo":[["0","plural",{"one":["Last 1 post in the past year(s)"],"other":["Last ",["1"]," posts in the past year(s)"]}]],"Jy9RU/":["New notifications"],"JybQca":["Send Report <0>+ Block profile"],"K/EtE6":["Post edits"],"KDw4GX":["Try again"],"KFs8c6":["Reply (new window)"],"KMtgtM":["Edit audio description"],"KPFHM2":["Server rule violation"],"KPoj8w":["Unable to create list."],"KS7iJH":["You're all caught up."],"KiyvHV":["Post deleted"],"KkDhfU":["Nothing yet."],"Kp9SAs":["Switch to post's instance (",["0"],")"],"Kzwsg2":["Error loading custom emojis"],"L+HFfr":["Showing posts tagged with #",["0"]],"L8fEEm":["Group"],"L96xSt":["Hide results"],"L9fUm+":["What's the issue with this post?"],"LDUSXg":["Choice ",["0"]],"LFKLqp":["Share…"],"LQFF6J":["Liked by…"],"LYCgej":["See more posts"],"LcET2C":["Privacy Policy"],"LcOiWS":["Don't have an account? Create one!"],"Lh8B0N":["Image description"],"Lsxpe5":["Add shortcut"],"LwOr4P":["Add to thread"],"M1RnFv":["Expired"],"MB+wJL":["Some media have no descriptions."],"MHrjPM":["Title"],"MIhb91":["Hashtag shortcut added"],"MKEPCY":["Follow"],"MQYucx":["Some media have no descriptions. Continue?"],"MRZxAn":["Edited"],"MWIaew":["Remove…"],"MXOmPt":["Notifications from <0>@",["0"],""],"MfJ43d":["Add media"],"MmYpxT":["Reply…"],"Mn1E9C":[["followersCount","plural",{"one":["#"," follower"],"other":["#"," followers"]}]],"Mr53YX":["Show replies to people I follow"],"N1MyiN":["Unable to copy post text"],"N2FcBE":["Synced"],"N3Bq0f":[["0","plural",{"one":["Filtered notifications from ","#"," person"],"other":["Filtered notifications from ","#"," people"]}]],"N40H+G":["All"],"N4z4P/":["List may not work if it's from a different account."],"N8UzTV":["Replies"],"NAjVvt":["Default visibility"],"NCy+Nw":["Go to main post"],"NMNiaO":["until the max"],"NNrlf5":[["index"],"/X"],"NPXprJ":["Only followers can quote this post"],"NSSJsj":[["0"],"h"],"NU7wa/":["Media attachments can be images, videos, audios or any file types."],"Nc/W5J":["See more hashtags"],"Ng063n":["Donate"],"NnRCUm":[["0"],"s"],"NoG5wD":[["accountDisplay"]," (Media)"],"NuKR0h":["Others"],"NunZZQ":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted & liked your reply."],"other":[["account"]," boosted & liked your post."]}]],"other":[["account"]," boosted & liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"]," people boosted & liked your reply."],"other":["<2><3>",["1"]," people boosted & liked your post."]}]]}]],"NuqppG":[["0","plural",{"one":["#"," Boost"],"other":["#"," Boosts"]}]],"O1Aswy":["Never expires"],"O2tNG0":["Ending"],"O4cLCR":["Sponsor"],"ODqZt1":["[Unknown notification type: ",["type"],"]"],"OISAkj":["Remove hashtag"],"OKiofn":["Edit History"],"OOEonE":["Show me all posts from…"],"OOa7/5":["Import/Export <0>Shortcuts"],"Oa+KBY":["Failed to update posting privacy"],"OcUmcH":["Unlike"],"OdVhdR":["<0>New <1>Follow Requests"],"Ogtv0V":["A minimalistic opinionated Mastodon web client."],"OgyJSr":["Local only"],"OiUYO5":["Mute conversation"],"OqaQnE":["View Edit History Snapshots"],"Ov9hfp":["last 1 hour"],"Owr/5+":["Unable to feature @",["username"]," on your profile."],"PBFNgg":["followers"],"PCcEFZ":["Joined <0>",["0"],""],"PHIrMr":["No likes yet. Go like something!"],"PIWNSQ":["Showing post with replies"],"PM7llw":["Don't show replies"],"PPcets":["Set as default"],"PZgZtY":["Switch in new tab/window"],"PZlHt8":["Bookmark"],"PbFw9n":["Error loading GIFs"],"PbHARL":["Automatically show translation for posts in timeline. Only works for <0>short posts without content warning, media and poll."],"Pc7QKh":["Effortlessly follow conversations. Semi-collapsible replies."],"PcoS3v":["Posting"],"PgVqvd":["Federated timeline (",["instance"],")"],"PiPfua":["Version string copied"],"PiVIlD":["Boost…"],"PjP87f":["View post stats"],"Pm+5jw":["Conversation unmuted"],"Pwqkdw":["Loading…"],"Q/HUhC":["Unmute <0>@",["username"],""],"Q1Huya":["Replying to @",["0"],"’s post (<0>",["1"],")"],"Q3yArs":["An admin from <0>",["from"]," has blocked <1>",["targetName"],". Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"QDEWii":["Verified"],"QL+7Jw":["Show Edit History"],"QO9uTx":["Shortcuts imported"],"QOhkyl":["Compose"],"QQrO94":[["accountDisplay"]," (#",["tagged"],")"],"Qd13i0":["Showing posts without boosts"],"Qh+0sm":["<0>",["key1"]," then <1>",["key2"],""],"Qopbnd":["Show featured profiles"],"QqW27M":["Reschedule"],"QyioBP":["Move up"],"QzzGsY":["Unboost"],"R0yu2l":["Catch up"],"R20Yf9":["Translate from ",["sourceLangText"]," (auto-detected)"],"R4PmPA":["Post could be edited or deleted later."],"R7ep1i":["Unable to edit list."],"R8CUl0":[["0"]," posts above ‒ Go to top"],"R8mSiS":["Translate bio"],"R9+aEN":["Followed #",["hashtag"]],"R9Khdg":["Auto"],"R9kjEL":["Profile reported"],"RO10dm":["Public timelines"],"RQKWUa":["You have blocked <0>",["targetName"],". Removed followers: ",["followersCount"],", followings: ",["followingCount"],"."],"RTAr/z":["Resolving…"],"RXmXDR":[["repliesCount","plural",{"one":["#"," reply"],"other":["#"," replies"]}]],"RqX1mR":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," liked your reply."],"other":[["account"]," liked your post."]}]],"other":[["account"]," liked ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"]," people liked your reply."],"other":["<2><3>",["1"]," people liked your post."]}]]}]],"RqXfsz":["Max ",["SHORTCUTS_LIMIT"]," columns"],"Rsjgm0":["Experimental"],"S1fBwy":["Frame rate too high. Uploading might encounter issues."],"S5aemF":["Unable to dismiss notification request"],"S5cYrQ":["Screenshot of Boosts Carousel"],"S5ez7Y":["Skip carousel to previous post"],"S6P6E+":["Post pinned to profile"],"S6XZwv":[["0","plural",{"one":["#"," post"],"other":["#"," posts"]}]],"S92JKG":["Unable to accept notification request"],"S9JvjK":["Don't feature on profile"],"SBmqmC":["Shortcuts imported. Exceeded max ",["SHORTCUTS_LIMIT"],", so the rest are not imported."],"SGcIK+":[["followingCount","plural",{"other":["<0>",["0"]," Following"]}]],"SYKm3p":["No keywords. Add one."],"Sb2gYF":["New list"],"ScQBC/":["Group: Authors"],"Sjj+EN":["Post your reply"],"Sjnlwj":["Import…"],"SlfejT":["Error"],"Sq04Yc":["Go to another instance…"],"Srs8u7":["With a new account"],"SrwrEj":["Save & close"],"T/hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"T4I119":["Extra fields"],"TSbnoW":["Boosts carousel"],"TbFrLc":["Updated <0>",["0"],""],"Tba8uO":["Unable to add to list."],"TbrCz2":["Take photo or video"],"TbttfX":[["followersCount","plural",{"one":["<0>",["0"]," Follower"],"other":["<1>",["1"]," Followers"]}]],"TnJgwX":["Notes:"],"TtG3Uh":["Sharing doesn't seem to work."],"Tu+sCN":["Boosts Carousel"],"Txus+H":["Editing source status"],"Tz0i8g":["Settings"],"U+Gokq":["Edit private note"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"UUrqX1":["Posts are sorted by information density or depth. Shorter posts are \\"lighter\\" while longer posts are \\"heavier\\". Posts with photos are \\"heavier\\" than posts without photos."],"UWSCwN":["Quote settings for this post"],"UYZxOy":["Replace current quote"],"UefSZg":["Turn link into a quote?"],"UlJ3QN":["Feature on profile"],"UmuIdg":["Go to Home"],"UoL+FC":["Unable to load bookmarks."],"UxBoCm":["Tab/Menu bar"],"V1fa9u":["See more"],"VCZ0OT":["Remove follower…"],"VH+Tf9":["Unfeatured on profile"],"VKDnAx":["Failed to download GIF"],"VLKtvP":["Screenshot of multi-column UI"],"VU1Pnd":["last 12 hours"],"VbyRUy":["Comments"],"VcQzRi":["Add private note"],"Vh3ADI":["Add column…"],"VkLESX":["Load new posts"],"Vosm4k":["Trending posts"],"VwUsHI":["Hashtags"],"Vyeh4F":["You're not logged in. Interactions (reply, boost, etc) are not possible."],"VzLGaA":["Unable to remove quote"],"W+eFn3":[["account"]," edited a post."],"W1ewR0":["Unable to copy link"],"W9FRBT":["Like"],"WUHLnz":["Push Notifications (beta)"],"WZw+zB":["Edit video description"],"Wi1Ov0":["Multi-hashtag timeline"],"WrkPTf":["Filter out notifications from people:"],"X17jCM":["Alpha-stage feature. Potentially improved grouping window but basic grouping logic."],"XC9Jpz":["Post hidden by your filters"],"XKZRZ/":["Showing ",["selectedFilterCategory","select",{"all":["all posts"],"original":["original posts"],"replies":["replies"],"boosts":["boosts"],"quotes":["quotes"],"followedTags":["followed tags"],"groups":["groups"],"filtered":["filtered posts"]}],", ",["sortBy","select",{"createdAt":[["sortOrder","select",{"asc":["oldest"],"desc":["latest"]}]],"reblogsCount":[["sortOrder","select",{"asc":["fewest boosts"],"desc":["most boosts"]}]],"favouritesCount":[["sortOrder","select",{"asc":["fewest likes"],"desc":["most likes"]}]],"repliesCount":[["sortOrder","select",{"asc":["fewest replies"],"desc":["most replies"]}]],"density":[["sortOrder","select",{"asc":["least dense"],"desc":["most dense"]}]]}]," first",["groupBy","select",{"account":[", grouped by authors"],"other":[]}]],"XMGM2e":["Who are limited by server moderators"],"XN1xAY":[["SHORTCUTS_LIMIT","plural",{"one":["Max ","#"," shortcut reached. Unable to add shortcut."],"other":["Max ","#"," shortcuts reached. Unable to add shortcut."]}]],"XQMQZw":["Unpin from profile"],"Xi1/bw":["Followed Hashtags"],"Xl9v6+":["Lost connections with <0>",["name"],"."],"XpQLJF":["<0>Shift + <1>r"],"YL6Y8P":["Learn more <0/>"],"YMU1CK":["Catch-up is a separate timeline for your followings, offering a high-level view at a glance, with a simple, email-inspired interface to effortlessly sort and filter through posts."],"YYB61U":["No accounts found."],"Yb6p2q":["Unable to delete post"],"Yfb9A8":["Previously…"],"YgM2yU":["Quote removed"],"YmGrIy":["Links shared by followings, sorted by shared counts, boosts and likes."],"YqffEv":["Moderation warning"],"YrR3Co":["Focus next column in multi-column mode"],"Yx0Ud8":["Requested"],"Yx809+":["Post unpinned from profile"],"Z/Vnvj":["Quotes can't be embedded in private mentions."],"Z2l5Bt":["Looks like you already have a compose field open in the parent window and currently publishing. Please wait for it to be done and try again later."],"Z8lGw6":["Share"],"ZLoGls":["Log in with Mastodon"],"ZM3jAs":["Failed to reschedule post"],"ZNme5R":["View profile header"],"ZP1FIA":["Failed to register application"],"ZSWUwq":[["0"],"m"],"ZhhOwV":["Quote"],"ZhsPEb":["Invalid settings format"],"ZlV82A":["View post with its replies"],"ZtBMwU":["Notifications from @",["0"]," will not be filtered from now on."],"Zxkt/v":["Translating…"],"a/+arl":["Notifications settings"],"a5BN7l":["Post updated. Check it out."],"a6oTWs":["e.g. PixelArt (Max 5, space-separated)"],"aAIQg2":["Appearance"],"aDr7Vc":["Open original media"],"aEp6lO":["Scheduled <0><1/> <2>(",["0"],")"],"aGziA/":["Server-side grouped notifications"],"aLvZxR":["Post hidden because you've blocked @",["name"],"."],"aOh6Md":["Failed to delete scheduled post"],"aTyHBW":["Post published. Check it out."],"aVsTYo":["Unable to save shortcuts"],"aWAdCb":["Show anyway"],"aaJhcT":["Follows"],"aavdrC":["By ",["0"]],"aforS9":["Block <0>@",["username"],"?"],"agO/T/":["Expiry"],"ajzDof":["Posts: ",["0"]],"awRXyV":["Request to quote"],"b7T5Zj":["Boosted"],"bPwFdf":["Accounts"],"bQ4oy8":["Post hidden because you've muted @",["name"],"."],"bUUv3P":["Scroll to top"],"bfSr6z":["Shared by ",["0"]],"bgVLbt":["Import/export"],"bl7nrg":["HTML code copied"],"blQMpa":["Filtered post will be…"],"bpDheH":["Unboosted @",["0"],"'s post"],"bzMKg7":["Accepted"],"c1Q/eU":["Powered by GIPHY"],"c3XJ18":["Help"],"c6jxNY":["Unable to unmute conversation"],"c89gCv":["Import & append…"],"cDoNQr":["Accounts with <0>",["query"],""],"cI3UEs":["Trending (",["instance"],")"],"cSev+j":["Filters"],"cWIHTt":["No filters yet."],"cWtH+v":["Shortcuts copied"],"cXWjH0":["Boosts from @",["username"]," disabled."],"cYE45+":["Nested comments thread"],"cZJ92q":["Add poll"],"caeqw/":["Send Report <0>+ Mute profile"],"cc0NrU":[["0","plural",{"0":["Hide \\"Translate\\" button for:"],"other":["Hide \\"Translate\\" button for (","#","):"]}]],"cg0I+x":["Federated timeline"],"cklVjM":["Timeline"],"coaNtr":["Sort: Density"],"cqi4Mx":["Like (favourite)"],"csQin/":["Malicious links, fake engagement, or repetitive replies"],"ctFhjs":[["maxMediaAttachments","plural",{"one":["You can only attach up to 1 file."],"other":["You can only attach up to ","#"," files."]}]],"ctJi7k":["Unfollow #",["hashtag"],"?"],"cxL5F9":["Add hashtag"],"cyjS8M":["Forward to <0>",["domain"],""],"d+hDoa":["You don't follow"],"d5zxa4":["Local"],"d83/LB":["File size too large. Uploading might encounter issues. Try reduce the file size from ",["0"]," to ",["1"]," or lower."],"dBme/4":["Old post (<0>",["0"],")"],"dDJEHI":["Until the last catch-up (",["0"],")"],"dEgA5A":["Cancel"],"dP6iYK":["Format math"],"dXMiUw":["Switch to Federated"],"dZZ8oA":["last 5 hours"],"dbNZdP":["Boosted @",["0"],"'s post"],"dmTmkQ":["For multi-column mode, search term is required, else the column will not be shown."],"dmiEVR":["You are not allowed to quote this post"],"dmloPh":["Search term"],"doK/ij":["Unfollowed #",["hashtag"]],"dpqPBg":["Authors"],"duF1lx":["Focus column in multi-column mode"],"dwLCPZ":["Replying to @",["0"],"’s post"],"e+RpCP":["Sign up"],"e2uVlo":["Visually separate original posts and re-shared posts (boosted posts)."],"e5E+WH":["Raw Shortcuts JSON"],"e66y2Z":["Thread"],"e6tGFu":["Violates the law of your or the server's country"],"e7qQIH":["Withdraw follow request?"],"eH1bqp":["Search accounts"],"eIiurD":["Attachment #",["i"]," failed"],"eK4SL/":["Media only"],"eKInue":["Quote settings"],"eNTGfp":["Failed to generate description",["0"]],"eNfCmq":[["account"]," reported ",["targetAccount"]],"ePK91l":["Edit"],"eVosYr":["You don't have to read everything."],"eWLklq":["Quotes"],"eYsAQr":["Unfollow @",["0"],"?"],"ecUA8p":["Today"],"ecVtjm":["Additional info"],"edWbV6":["Link copied"],"eh6NHW":[["account"]," requested to follow you."],"ei6pnR":["Show replies to list members"],"ejAVrO":["Switch to my instance to enable interactions"],"ekCRTP":["Rejected"],"evz6c6":["<0>Esc or <1>Backspace"],"f5dduh":["Next author"],"f6Hub0":["Sort"],"f8bJ3C":["Last posted: ",["0"]],"fGn1Hk":["Enter your search term or paste a URL above to get started."],"fHZgvt":["Note: This feature uses external AI service, powered by <0>img-alt-api. May not work well. Only for images and in English."],"fHf1v/":["Note: This feature uses currently-logged-in instance server API."],"fJCCpx":[["account"]," signed up."],"fYeATS":["Thread ",["index"],"/X"],"faZ9RI":["Only for new images while composing new posts."],"following.stats":["Following"],"following.title":["Following"],"fpgumQ":["Search: ",["q"]," (Accounts)"],"fpotTF":["Breaks specific server rules"],"fvAsUK":["Connect your existing Mastodon/Fediverse account.<0/>Your credentials are not stored on this server."],"g3UF2V":["Accept"],"gCDfX+":["Unable to download shortcuts"],"gEoOUj":["Look up <0>",["query"],""],"gURvmk":["Auto inline translation"],"gWd6Cu":["Sync to instance server"],"gbbkE7":["Ignore"],"gdxreD":["Unable to copy version string"],"ggiJLM":["Add custom emoji"],"ggxOw9":["obscured (media only)"],"gjzl8E":["Unable to load notifications"],"gmB6oO":["Schedule"],"gnKo7f":["Content warning"],"group.filter":["Group"],"gukqfD":["See all"],"h16FyT":["Lists"],"h7peZQ":["Allow"],"h8zDAI":["Translate from ",["sourceLangText"]],"hB02vO":["Manage members"],"hDWXuG":["Anyone can quote"],"hEe3YR":["Failed to update quote settings"],"hHSI3w":[["hashtagTitle"]," (Media only)"],"hOg+Mt":["Delete all…"],"hR9gtK":["You have unsaved changes. Discard this post?"],"hS1Opy":[["accountDisplay"]," (+ Replies)"],"hXzOVo":["Next"],"hYgDIe":["Create"],"he3ygx":["Copy"],"hgPsUe":["Cleared recent searches"],"i02Lq/":["Add to Shortcuts"],"i0qMbr":["Home"],"i51zUR":["Unmute conversation"],"i5uN6K":[["account"]," reacted to your post with ",["emojiObject"]],"iAB71E":[["0"]," more…"],"iAzCp4":["Go to my instance (<0>",["currentInstance"],")"],"iDNBZe":["Notifications"],"iH8pgl":["Back"],"iQgJaz":["Copy post text"],"iSRQvy":["Post text copied"],"iWpEwy":["Go home"],"ibBDry":["Notifications from @",["0"]," will not show up in Filtered notifications from now on."],"idiIxW":[["account"]," published a post."],"ieZytw":["Audio description"],"ipnHrn":["Your account has received a moderation warning."],"isRobC":["New"],"iuLUuH":["Violation"],"ivdhsq":["Experiments"],"j0kZfi":["Note: This preview is lightly styled."],"j5n9Ry":["Remove <0>@",["0"]," from list?"],"j5roNG":["This post is from another instance (<0>",["instance"],"). Interactions (reply, boost, etc) are not possible."],"jAj8rv":["Close post or dialogs"],"jER18a":["Mark media as sensitive"],"jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"jNCSyx":["System language (",["systemTargetLanguageText"],")"],"jbreWy":["minimized"],"jdVwsS":["Embed post"],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"]," voter"],"other":["<1>",["1"]," voters"]}]],"jkt9P5":[["count","plural",{"1":[["postsCount","plural",{"1":[["postType","select",{"reply":[["account"]," boosted your reply."],"other":[["account"]," boosted your post."]}]],"other":[["account"]," boosted ",["postsCount"]," of your posts."]}]],"other":[["postType","select",{"reply":["<0><1>",["0"]," people boosted your reply."],"other":["<2><3>",["1"]," people boosted your post."]}]]}]],"jsFF8C":["Open post details"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jzjjJh":["Emojis:"],"k08LxG":["Log out <0>@",["0"],"?"],"k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"]," vote"],"other":["<1>",["1"]," votes"]}]],"k9N0Xk":["This notification is from your other account."],"kH0rA0":[["hashtagTitle"]," (Media only) on ",["instance"]],"kIlJaS":["A poll you have voted in or created has ended."],"kNiQp6":["Pinned"],"kfeQnS":["This shortcut already exists"],"khVljG":["Unable to load likes."],"kjUejn":["Blocked ",["username"]],"kpjzdN":["A poll you have created has ended."],"krk5ws":["Unsent drafts"],"kulphB":["Boost"],"kxiG8g":["Issue doesn't fit other categories"],"kyAi7k":["Instance"],"l3s5ri":["Import"],"lCF0wC":["Refresh"],"lCLRBe":["Followed tags"],"lQXQKs":["Vote"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"lZdBKl":["Reply posted. Check it out."],"lb07+k":["Switch to post's instance"],"lfHLsx":["Pin to profile"],"lkz6PL":["Duration"],"lpPucp":["last 6 hours"],"lqBX03":["Show content"],"lxYe+I":["Cloak mode <0>(<1>Text → <2>████)"],"m+pAEQ":["(",["0"],") <0>— experimental"],"m0G499":["* Not implemented yet"],"m16xKo":["Add"],"m5LihO":["Failed to translate"],"mBdQnV":["You may close this page now."],"mFfcu0":["Posts tagged with <0>",["hashtag"],""],"mN4S+e":["Video description"],"mYGY3B":["Date"],"mZYb1f":["No scheduled posts."],"mlycBx":["Your account has been limited."],"moT7M8":["A poll you have voted in has ended."],"muLhL3":["Report Post"],"mzjGX4":["<0>Shift + <1>j"],"n1PNla":["Boost/Quote…"],"n1sANU":["Muted users…"],"nJEKbY":["Nothing to see here."],"nL8nlr":["Blocked users"],"nc+Oa+":["Keep as link"],"nhpsIN":["<0>1 to <1>9"],"nl8sCE":["Only shortcuts that don’t exist in current shortcuts will be appended."],"noxAFR":["Focus previous column in multi-column mode"],"o1mMWT":["Posts with <0>",["query"],""],"o5sTJw":["Generate description…"],"o6L30P":["No new shortcuts to import"],"o6sElH":["* Exists in current shortcuts"],"o7J4JM":["Filter"],"oAwuQj":["Who don't follow you"],"oEQq5w":["Unable to report profile"],"oMslIB":["Edit image description"],"oZUtTk":[["0","plural",{"one":[["1","plural",{"one":["Last 1 post in the past 1 day"],"other":["Last 1 post in the past ",["2"]," days"]}]],"other":[["3","plural",{"one":["Last ",["4"]," posts in the past 1 day"],"other":["Last ",["5"]," posts in the past ",["6"]," days"]}]]}]],"oguMwa":["Cloak mode disabled"],"ooHDPY":["Ending <0/>"],"orjBLU":["Scheduled <0><1/>"],"osJmEN":["Disable notifications"],"ot8LpF":["Unable to update private note."],"ouWc/D":[["TOTAL_TAGS_LIMIT","plural",{"other":["Max ","#"," tags"]}]],"ovBPCi":["Default"],"owpNF1":["What are you doing?"],"p3UO/y":["Follows you"],"pA+qEx":["Unable to block @",["username"]],"pBYFlb":["last 9 hours"],"pEkad9":["Single or multi-column"],"pFnMHn":["<0>Site: ",["0"]],"pJQgQV":["Local timeline"],"pMcdDp":["Unable to block ",["username"]],"pPYeIN":["Quiet public"],"pWFLFk":["@",["username"]," is no longer featured on your profile."],"pe1jog":["Edit shortcut"],"phQpSa":["Boosted by…"],"pi8x/S":["Translate"],"pkB7ti":[["account"]," edited a post you have quoted."],"post.title":["Post"],"pqR9KF":["Unable to load mentions."],"prdIOK":["In Memoriam"],"ptPep5":["Post pending"],"puY2t0":["Boosts"],"pvnfJD":["Dark"],"py67WT":["<0>Ctrl + <1>Enter or <2>⌘ + <3>Enter"],"q1zFd+":["Failed to remove subscription. Please try again."],"q8EQYI":["Unbookmark"],"q9urQO":["This might take a while."],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"]," comments"]}]],"qTJgpR":["Report <0>@",["username"],"…"],"qYNCa1":["Allow from <0>",["0"],""],"qcAUwp":["Unable to load filters."],"qiPXgY":["Looks like you closed the parent window."],"qn5Dbn":["Add keyword"],"qqeAJM":["Never"],"qwdOim":["Floating button"],"qzVesX":["Edit your post"],"r3RRWo":["Blocked users…"],"r9r5X6":["last 7 hours"],"rEYoku":["Error deleting draft! Please try again."],"rKpfPY":["Showing posts with media"],"rSLkfe":["What's the issue with this profile?"],"rZgCpJ":["server domain name"],"raUMBQ":["Some of your posts have been deleted."],"rbUTzD":["Fetching posts…"],"rdUucN":["Preview"],"re2mMZ":["Author will manually review"],"rf8fiC":["Close window"],"rhmyFK":["That's all."],"rj0vxZ":["Previous author"],"rmBHZn":["Failed to log in. Please try again or try another instance."],"rnrM7k":["Screenshot of grouped notifications"],"rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"rtCQ2N":[["mentionsCount","plural",{"other":["#"," mentions"]}]],"sI9N29":["Unblocked @",["username"]],"sJ2yQc":["Add/Remove from Lists"],"sOKhEA":["Muted users"],"sQia9P":["Log in"],"sX3iLV":["Schedule post"],"sXmrl4":["Note: Only max 3 will be stored. The rest will be automatically removed."],"sZvpIt":["Unliked @",["0"],"'s post"],"scd9lw":["Unable to load posts"],"silO9A":["username"],"snPx8X":["Compose new post (new window)"],"sr6maL":["<0>Filtered: <1>",["0"],""],"srocAr":["Posts are grouped by authors, sorted by posts count per author."],"suKjh3":["Filtered: ",["0"]],"t/YqKh":["Remove"],"t2B/we":["Switch to Local"],"t7Py5R":["By default, single column for zen-mode seekers. Configurable multi-column for power users."],"t8dIOP":["Spam"],"tBmklN":["Paste shortcuts here"],"tFvxZF":["Unable to copy shortcut settings"],"tMwimH":["Error fetching reply-to status!"],"tS2i+h":["Up to 5 hashtags combined into a single timeline."],"tVE2wM":["last 2 hours"],"tXgQpk":["Public (Local / Federated)"],"tfDRzk":["Save"],"tqUaGL":["Unable to delete list."],"tuhghE":["Edit list"],"u3gOdY":["instance domain"],"u8JHrO":["Clear filters"],"u96B/B":["Local timeline (",["instance"],")"],"uIp8WL":["or override…"],"uNVxXX":["Some poll choices are empty"],"uREpT3":["Enable boosts"],"uRkcgw":["An admin from <0>",["from"]," has suspended <1>",["targetName"],", which means you can no longer receive updates from them or interact with them."],"uVbUP8":["Settings…"],"uXRAkV":["Show more…"],"uYcYzu":["Blocked @",["username"]],"uabU9X":["Recently used"],"ucJk3m":["Status: <0><1/>"],"ufzZSJ":["Unable to resolve URL"],"ukL58r":["Remove quote…"],"ulXSNi":["Keyboard shortcuts help"],"unyq2W":["Remove <0>@",["username"]," from followers?"],"uqf7Yq":["Filter from…"],"urGtsw":["Expiring <0/>"],"usxQx0":["- Boosts"],"uvDfdW":["Multi-column"],"uyJsf6":["About"],"uzt17m":["A post you interacted with has been edited."],"v/l5uA":["Unable to load lists."],"v02K7/":["Unable to mute ",["username"]],"v4TbMP":["<0>Shift + <1>Alt + <2>k"],"v9jO+F":["Some of your posts have been marked as sensitive."],"vCSBPD":["Add filter"],"vERlcd":["Profile"],"vFGLxm":["Attempting to describe image. Please wait…"],"vGjmyl":["Deleted"],"vKsGhk":["No hashtags followed yet."],"vLxvHT":["No shortcuts yet. Tap on the Add shortcut button."],"vWGBjT":["Unable to mute @",["username"]],"vgUfWO":["Unable to pin post"],"vl3XTJ":["Post stats unavailable."],"vpc27K":["beyond 12 hours"],"vrQQgz":["Profiles"],"vuFeUI":["Turn into quote"],"vvl08N":["A post is currently open. Post or discard it before creating a new one."],"w2OpMr":["Your posts will be marked as sensitive from now on."],"wKtOLH":["Editing source post"],"wNExRS":["Polls"],"wOax6E":["Screenshot of multi-hashtag timeline with a form to add more hashtags"],"wiuWLe":[["0"]," original posts, ",["1"]," replies, ",["2"]," boosts"],"wr3GZI":["Search: ",["q"]],"wvL7OJ":["last 10 hours"],"wxlF9B":["Search GIFs"],"wy0Iwj":["Failed to generate description: ",["0"]],"wyL/3/":["Catch-up <0>beta"],"x/s2/O":["Add content warning"],"x2NYtp":["people I follow"],"x5LEuB":["Followers"],"xCJdfg":["Clear"],"xGVfLh":["Continue"],"xHq5L2":["Unable to unfeature @",["username"]," on your profile."],"xJUo4P":["Removing Catch-up ",["0"]],"xYilR2":["Media"],"xhPEH3":["Mute <0>@",["username"],"…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xlsg7n":["Synced to your instance server's settings. <0>Go to your instance (",["instance"],") for more settings."],"xrl8fj":["Catch-up"],"y/0uwd":["Yesterday"],"y3ou+8":["Post reported"],"y6sq5j":["Following"],"yFfBdX":["New filter"],"yIBLq8":["Speak"],"yTVtKs":["Withdraw…"],"yUWyHa":["Unable to copy shortcuts"],"yUngDO":["Liked @",["0"],"'s post"],"yYxB17":["Clear all"],"ydzS9x":["Exit"],"ygxzZR":["Quote with link"],"yjj6Ll":["Unable to load posts with this tag"],"yrz6Ck":["<0>Shift + <1>b"],"ywB7JM":["Conversation muted"],"yz7wBu":["Close"],"z96cOX":["NOTE: Push notifications only work for <0>one account."],"zCjei3":["Show results"],"zJoEwS":["Handle copied"],"zJyf/5":["<0/> <1/> boosted"],"zLz0mE":["Failed to describe image"],"zNCBmf":["hidden"],"zVJKbG":["Auto-translated from ",["sourceLangText"]],"zXCa9e":["Translate to "],"zZOZj7":["Likes"],"zcKxuj":["Only <0>@",["0"],""],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql+":["Menu"],"zwBp5t":["Private"],"zxFxcH":["Private note"],"zytZXj":["Multiple choice"]}`),Hf=Object.freeze(Object.defineProperty({__proto__:null,messages:Es},Symbol.toStringTag,{value:"Module"})),Bf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:$f}=Bf,Kf={};st.load(ct,Es);st.on("change",()=>{const e=st.locale;if(e){document.documentElement.lang=e;try{const t=new Ve(e),{direction:r}=t.getTextInfo?.()||t.textInfo;document.documentElement.dir=r}catch{}}});async function Gf(e){if(!e||e===ct)st.activate(ct);else try{const{messages:t}=await If(Object.assign({"../locales/ar-SA.po":()=>$(()=>import("./locales/ar-SA-C5sBm9Mi.js"),[],import.meta.url),"../locales/ca-ES.po":()=>$(()=>import("./locales/ca-ES-BIT96fy7.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>$(()=>import("./locales/cs-CZ-BqPjYoLx.js"),[],import.meta.url),"../locales/de-DE.po":()=>$(()=>import("./locales/de-DE-_XyFd61V.js"),[],import.meta.url),"../locales/en.po":()=>$(()=>Promise.resolve().then(()=>Hf),void 0,import.meta.url),"../locales/eo-UY.po":()=>$(()=>import("./locales/eo-UY-DPeYSmC5.js"),[],import.meta.url),"../locales/es-ES.po":()=>$(()=>import("./locales/es-ES-DmzWv0mr.js"),[],import.meta.url),"../locales/eu-ES.po":()=>$(()=>import("./locales/eu-ES-Brlh4aVu.js"),[],import.meta.url),"../locales/fa-IR.po":()=>$(()=>import("./locales/fa-IR-CTcDQza7.js"),[],import.meta.url),"../locales/fi-FI.po":()=>$(()=>import("./locales/fi-FI-CEqHYIn6.js"),[],import.meta.url),"../locales/fr-FR.po":()=>$(()=>import("./locales/fr-FR-gUVVm74L.js"),[],import.meta.url),"../locales/gl-ES.po":()=>$(()=>import("./locales/gl-ES-DRk5xMS7.js"),[],import.meta.url),"../locales/he-IL.po":()=>$(()=>import("./locales/he-IL-C5sBm9Mi.js"),[],import.meta.url),"../locales/it-IT.po":()=>$(()=>import("./locales/it-IT-BNXgC_oV.js"),[],import.meta.url),"../locales/ja-JP.po":()=>$(()=>import("./locales/ja-JP-C5sBm9Mi.js"),[],import.meta.url),"../locales/kab.po":()=>$(()=>import("./locales/kab-iLckCsz0.js"),[],import.meta.url),"../locales/ko-KR.po":()=>$(()=>import("./locales/ko-KR-CcI9g9fL.js"),[],import.meta.url),"../locales/lt-LT.po":()=>$(()=>import("./locales/lt-LT-BP0dQMiP.js"),[],import.meta.url),"../locales/nb-NO.po":()=>$(()=>import("./locales/nb-NO-C5sBm9Mi.js"),[],import.meta.url),"../locales/nl-NL.po":()=>$(()=>import("./locales/nl-NL-DObE-7sW.js"),[],import.meta.url),"../locales/oc-FR.po":()=>$(()=>import("./locales/oc-FR-C5sBm9Mi.js"),[],import.meta.url),"../locales/pl-PL.po":()=>$(()=>import("./locales/pl-PL-DU3JUkst.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>$(()=>import("./locales/pseudo-LOCALE-i17LRZ_p.js"),[],import.meta.url),"../locales/pt-BR.po":()=>$(()=>import("./locales/pt-BR-l4Q5uXuJ.js"),[],import.meta.url),"../locales/pt-PT.po":()=>$(()=>import("./locales/pt-PT-Cwz_QarU.js"),[],import.meta.url),"../locales/ru-RU.po":()=>$(()=>import("./locales/ru-RU-BDKtf7Y1.js"),[],import.meta.url),"../locales/th-TH.po":()=>$(()=>import("./locales/th-TH-C5sBm9Mi.js"),[],import.meta.url),"../locales/tok.po":()=>$(()=>import("./locales/tok-C5sBm9Mi.js"),[],import.meta.url),"../locales/tr-TR.po":()=>$(()=>import("./locales/tr-TR-C5sBm9Mi.js"),[],import.meta.url),"../locales/uk-UA.po":()=>$(()=>import("./locales/uk-UA-CBoBG0La.js"),[],import.meta.url),"../locales/zh-CN.po":()=>$(()=>import("./locales/zh-CN-B4CymFpQ.js"),[],import.meta.url),"../locales/zh-TW.po":()=>$(()=>import("./locales/zh-TW-C5sBm9Mi.js"),[],import.meta.url)}),`../locales/${Kf[e]||e}.po`,3);st.loadAndActivate({locale:e,messages:t})}catch{st.activate(ct)}}function Xh(){const e=jf(qf("lang"),Df("lang"),Uf(),$f,ct),t=e.find(r=>ea.includes(r))||xf(e,ea);Gf(t)}var Bt={},na;function Vf(){if(na)return Bt;na=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.shouldPolyfill=e;function e(){return!Intl.Segmenter}return Bt}var Wf=Vf();const Ss=!Wf.shouldPolyfill();function As(){if(!Ss)return $(()=>import("./polyfill-force-CKKOSFfV.js").then(e=>e.p),[],import.meta.url).catch(()=>{})}function tn(){return $(()=>import("./compose-CUhufx8N.js"),__vite__mapDeps([0,1,2]),import.meta.url)}async function ep(){try{await As(),tn()}catch{}}function tp(e){const[t,r]=xe(null);return Ze(()=>{(async()=>{try{if(Ss){const n=await tn();r(n)}else{await As();const n=await tn();r(n)}}catch{}})()},[]),t?.default?be(t.default,{...e}):be(Nf,{})}const Yf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_LINGVA_INSTANCES:"lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PHANPY_WEBSITE:"https://phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:oa}=Yf;function rp(e,t){function r(){const{currentLocation:n}=z,o=Array.isArray(t);let a=o?t:[];!o&&/:?\w+\?/.test(t)&&(a.push(t.replace(/(:\w+)\?/g,"$1")),a.push(t.replace(/\/?:\w+\?/g,"")));let i=!1;a.length?i=a.some(s=>zr(s,n)):t&&(i=zr(t,n)),i&&(document.title=e?`${e} / ${oa}`:oa)}Le(()=>{const n=ki(z,"currentLocation",r);return r(),n},[e,t])}function aa(){const e=document.querySelector('meta[name="viewport"]');if(!e)return;if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0||window.matchMedia("(display-mode: window-controls-overlay)").matches){const r=e.getAttribute("content");r.includes("user-scalable=no")||e.setAttribute("content",r+", user-scalable=no")}}function np(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",aa):aa()}export{gt as $,ze as A,Nf as B,Zh as C,Qh as D,wh as E,Vo as F,st as G,Ar as H,xf as I,In as J,ia as K,Jh as L,_n as M,Tn as N,tu as O,ep as P,tp as Q,Fe as R,zc as S,th as T,Dt as U,xa as V,mh as W,un as X,se as Y,Ah as Z,Le as _,sr as a,dh as a0,rp as a1,sf as a2,ki as a3,Ph as a4,Ch as a5,gh as a6,zr as a7,uf as a8,Ma as a9,rl as aA,zd as aB,bh as aC,Vt as aD,he as aE,Z as aF,mn as aG,$i as aH,lr as aI,ya as aJ,yn as aK,ne as aL,Md as aM,af as aN,vh as aO,Ih as aP,Zf as aQ,Vh as aR,ht as aS,ys as aT,Pf as aU,Wh as aV,Gc as aW,Od as aX,$ as aa,Ne as ab,Oh as ac,xh as ad,Th as ae,Gh as af,Jr as ag,Lh as ah,Rh as ai,fh as aj,du as ak,Rt as al,Xh as am,np as an,Lt as ao,eh as ap,ph as aq,Yh as ar,Te as as,$a as at,Ka as au,Na as av,vl as aw,za as ax,Mf as ay,Tf as az,Bi as b,_h as c,xe as d,be as e,vt as f,Li as g,dr as h,kn as i,Bc as j,pe as k,F as l,Ee as m,Gf as n,ct as o,Nd as p,qe as q,Sh as r,z as s,Mi as t,Xf as u,Yc as v,Eh as w,En as x,Ze as y,Xd as z}; //# sourceMappingURL=pwa-viewport-CZFc0vUU.js.map