Files
phanpy-cz/assets/pwa-viewport-7HQOd5MC.js
2026-02-07 19:49:28 +01:00

19 lines
229 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-6wkLWCrG.js","./ScheduledAtField-B9b7q7O5.js","./ICONS-C5h6VnP9.js","./__vite-browser-external-D7Ct-6yo.js"])))=>i.map(i=>d[i]);
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();"AbortSignal"in window&&(AbortSignal.timeout=AbortSignal.timeout||(t=>{const e=new AbortController;return setTimeout(()=>e.abort(),t),e.signal}));"AbortSignal"in window&&!AbortSignal.any&&(AbortSignal.any=function(t){const e=new AbortController,{signal:n}=e;for(const r of t)if(r.aborted)return e.abort(r.reason),n;for(const r of t)r.addEventListener("abort",()=>{e.abort(r.reason)},{signal:n});return n});"URL"in window&&typeof URL.parse!="function"&&(URL.parse=function(t,e){if(!t)return null;try{return e?new URL(t,e):new URL(t)}catch{return null}});function Mi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $f(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var Fe={},rt={},Pt={exports:{}},Oi=Pt.exports,vr;function Ni(){return vr||(vr=1,(function(t){(function(e,n){t.exports?t.exports=n():e.moo=n()})(Oi,function(){"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=typeof new RegExp().sticky=="boolean";function o(_){return _&&n.call(_)==="[object RegExp]"}function s(_){return _&&typeof _=="object"&&!o(_)&&!Array.isArray(_)}function i(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function a(_){var v=new RegExp("|"+_);return v.exec("").length-1}function l(_){return"("+_+")"}function c(_){if(!_.length)return"(?!)";var v=_.map(function(b){return"(?:"+b+")"}).join("|");return"(?:"+v+")"}function d(_){if(typeof _=="string")return"(?:"+i(_)+")";if(o(_)){if(_.ignoreCase)throw new Error("RegExp /i flag not allowed");if(_.global)throw new Error("RegExp /g flag is implied");if(_.sticky)throw new Error("RegExp /y flag is implied");if(_.multiline)throw new Error("RegExp /m flag is implied");return _.source}else throw new Error("Not a pattern: "+_)}function u(_,v){return _.length>v?_:Array(v-_.length+1).join(" ")+_}function h(_,v){for(var b=_.length,A=0;;){var T=_.lastIndexOf(`
`,b-1);if(T===-1||(A++,b=T,A===v)||b===0)break}var C=A<v?0:b+1;return _.substring(C).split(`
`)}function f(_){for(var v=Object.getOwnPropertyNames(_),b=[],A=0;A<v.length;A++){var T=v[A],C=_[T],I=[].concat(C);if(T==="include"){for(var U=0;U<I.length;U++)b.push({include:I[U]});continue}var O=[];I.forEach(function(R){s(R)?(O.length&&b.push(g(T,O)),b.push(g(T,R)),O=[]):O.push(R)}),O.length&&b.push(g(T,O))}return b}function p(_){for(var v=[],b=0;b<_.length;b++){var A=_[b];if(A.include){for(var T=[].concat(A.include),C=0;C<T.length;C++)v.push({include:T[C]});continue}if(!A.type)throw new Error("Rule has no type: "+JSON.stringify(A));v.push(g(A.type,A))}return v}function g(_,v){if(s(v)||(v={match:v}),v.include)throw new Error("Matching rules cannot also include states");var b={defaultType:_,lineBreaks:!!v.error||!!v.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var A in v)e.call(v,A)&&(b[A]=v[A]);if(typeof b.type=="string"&&_!==b.type)throw new Error("Type transform cannot be a string (type '"+b.type+"' for token '"+_+"')");var T=b.match;return b.match=Array.isArray(T)?T:T?[T]:[],b.match.sort(function(C,I){return o(C)&&o(I)?0:o(I)?-1:o(C)?1:I.length-C.length}),b}function m(_){return Array.isArray(_)?p(_):f(_)}var y=g("error",{lineBreaks:!0,shouldThrow:!0});function w(_,v){for(var b=null,A=Object.create(null),T=!0,C=null,I=[],U=[],O=0;O<_.length;O++)_[O].fallback&&(T=!1);for(var O=0;O<_.length;O++){var R=_[O];if(R.include)throw new Error("Inheritance is not allowed in stateless lexers");if(R.error||R.fallback){if(b)throw!R.fallback==!b.fallback?new Error("Multiple "+(R.fallback?"fallback":"error")+" rules not allowed (for token '"+R.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+R.defaultType+"')");b=R}var z=R.match.slice();if(T)for(;z.length&&typeof z[0]=="string"&&z[0].length===1;){var Ee=z.shift();A[Ee.charCodeAt(0)]=R}if(R.pop||R.push||R.next){if(!v)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+R.defaultType+"')");if(R.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+R.defaultType+"')")}if(z.length!==0){T=!1,I.push(R);for(var Se=0;Se<z.length;Se++){var Ae=z[Se];if(o(Ae)){if(C===null)C=Ae.unicode;else if(C!==Ae.unicode&&R.fallback===!1)throw new Error("If one rule is /u then all must be")}}var De=c(z.map(d)),Z=new RegExp(De);if(Z.test(""))throw new Error("RegExp matches empty string: "+Z);var tt=a(De);if(tt>0)throw new Error("RegExp has capture groups: "+Z+`
Use (?: … ) instead`);if(!R.lineBreaks&&Z.test(`
`))throw new Error("Rule should declare lineBreaks: "+Z);U.push(l(De))}}var Ue=b&&b.fallback,nt=r&&!Ue?"ym":"gm",wt=r||Ue?"":"|";C===!0&&(nt+="u");var Ii=new RegExp(c(U)+wt,nt);return{regexp:Ii,groups:I,fast:A,error:b||y}}function E(_){var v=w(m(_));return new q({start:v},"start")}function x(_,v,b){var A=_&&(_.push||_.next);if(A&&!b[A])throw new Error("Missing state '"+A+"' (in token '"+_.defaultType+"' of state '"+v+"')");if(_&&_.pop&&+_.pop!=1)throw new Error("pop must be 1 (in token '"+_.defaultType+"' of state '"+v+"')")}function k(_,v){var b=_.$all?m(_.$all):[];delete _.$all;var A=Object.getOwnPropertyNames(_);v||(v=A[0]);for(var T=Object.create(null),C=0;C<A.length;C++){var I=A[C];T[I]=m(_[I]).concat(b)}for(var C=0;C<A.length;C++)for(var I=A[C],U=T[I],O=Object.create(null),R=0;R<U.length;R++){var z=U[R];if(z.include){var Ee=[R,1];if(z.include!==I&&!O[z.include]){O[z.include]=!0;var Se=T[z.include];if(!Se)throw new Error("Cannot include nonexistent state '"+z.include+"' (in state '"+I+"')");for(var Ae=0;Ae<Se.length;Ae++){var De=Se[Ae];U.indexOf(De)===-1&&Ee.push(De)}}U.splice.apply(U,Ee),R--}}for(var Z=Object.create(null),C=0;C<A.length;C++){var I=A[C];Z[I]=w(T[I],!0)}for(var C=0;C<A.length;C++){for(var tt=A[C],Ue=Z[tt],nt=Ue.groups,R=0;R<nt.length;R++)x(nt[R],tt,Z);for(var wt=Object.getOwnPropertyNames(Ue.fast),R=0;R<wt.length;R++)x(Ue.fast[wt[R]],tt,Z)}return new q(Z,v)}function W(_){for(var v=typeof Map<"u",b=v?new Map:Object.create(null),A=Object.getOwnPropertyNames(_),T=0;T<A.length;T++){var C=A[T],I=_[C],U=Array.isArray(I)?I:[I];U.forEach(function(O){if(typeof O!="string")throw new Error("keyword must be string (in keyword '"+C+"')");v?b.set(O,C):b[O]=C})}return function(O){return v?b.get(O):b[O]}}var q=function(_,v){this.startState=v,this.states=_,this.buffer="",this.stack=[],this.reset()};q.prototype.reset=function(_,v){return this.buffer=_||"",this.index=0,this.line=v?v.line:1,this.col=v?v.col:1,this.queuedToken=v?v.queuedToken:null,this.queuedText=v?v.queuedText:"",this.queuedThrow=v?v.queuedThrow:null,this.setState(v?v.state:this.startState),this.stack=v&&v.stack?v.stack.slice():[],this},q.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},q.prototype.setState=function(_){if(!(!_||this.state===_)){this.state=_;var v=this.states[_];this.groups=v.groups,this.error=v.error,this.re=v.regexp,this.fast=v.fast}},q.prototype.popState=function(){this.setState(this.stack.pop())},q.prototype.pushState=function(_){this.stack.push(this.state),this.setState(_)};var Ne=r?function(_,v){return _.exec(v)}:function(_,v){var b=_.exec(v);return b[0].length===0?null:b};q.prototype._getGroup=function(_){for(var v=this.groups.length,b=0;b<v;b++)if(_[b+1]!==void 0)return this.groups[b];throw new Error("Cannot find token type for matched text")};function ve(){return this.value}if(q.prototype.next=function(){var _=this.index;if(this.queuedGroup){var v=this._token(this.queuedGroup,this.queuedText,_);return this.queuedGroup=null,this.queuedText="",v}var b=this.buffer;if(_!==b.length){var I=this.fast[b.charCodeAt(_)];if(I)return this._token(I,b.charAt(_),_);var A=this.re;A.lastIndex=_;var T=Ne(A,b),C=this.error;if(T==null)return this._token(C,b.slice(_,b.length),_);var I=this._getGroup(T),U=T[0];return C.fallback&&T.index!==_?(this.queuedGroup=I,this.queuedText=U,this._token(C,b.slice(_,T.index),_)):this._token(I,U,_)}},q.prototype._token=function(_,v,b){var A=0;if(_.lineBreaks){var T=/\n/g,C=1;if(v===`
`)A=1;else for(;T.exec(v);)A++,C=T.lastIndex}var I={type:typeof _.type=="function"&&_.type(v)||_.defaultType,value:typeof _.value=="function"?_.value(v):v,text:v,toString:ve,offset:b,lineBreaks:A,line:this.line,col:this.col},U=v.length;if(this.index+=U,this.line+=A,A!==0?this.col=U-C+1:this.col+=U,_.shouldThrow){var O=new Error(this.formatError(I,"invalid syntax"));throw O}return _.pop?this.popState():_.push?this.pushState(_.push):_.next&&this.setState(_.next),I},typeof Symbol<"u"&&Symbol.iterator){var be=function(_){this.lexer=_};be.prototype.next=function(){var _=this.lexer.next();return{value:_,done:!_}},be.prototype[Symbol.iterator]=function(){return this},q.prototype[Symbol.iterator]=function(){return new be(this)}}return q.prototype.formatError=function(_,v){if(_==null)var b=this.buffer.slice(this.index),_={text:b,offset:this.index,lineBreaks:b.indexOf(`
`)===-1?0:1,line:this.line,col:this.col};var A=2,T=Math.max(_.line-A,1),C=_.line+A,I=String(C).length,U=h(this.buffer,this.line-_.line+A+1).slice(0,5),O=[];O.push(v+" at line "+_.line+" col "+_.col+":"),O.push("");for(var R=0;R<U.length;R++){var z=U[R],Ee=T+R;O.push(u(String(Ee),I)+" "+z),Ee===_.line&&O.push(u("",I+_.col+1)+"^")}return O.join(`
`)},q.prototype.clone=function(){return new q(this.states,this.state)},q.prototype.has=function(_){return!0},{compile:E,states:k,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:W}})})(Pt)),Pt.exports}var br;function Di(){return br||(br=1,(function(t){"use strict";var e=rt&&rt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(t,"__esModule",{value:!0}),t.lexer=t.states=void 0;const n=e(Ni());t.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:r=>r.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:r=>r.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:r=>r.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:r=>r.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:r=>r.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:r=>r.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:r=>r.substring(0,r.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=n.default.states(t.states)})(rt)),rt}var Er;function Ui(){if(Er)return Fe;Er=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.ParseError=void 0,Fe.parse=l;const t=Di(),e=c=>({offset:c.offset,line:c.line,col:c.col,text:c.text,lineBreaks:c.lineBreaks}),n=c=>c==="plural"||c==="select"||c==="selectordinal";function r(c,d){let u="",h="";for(const p of d){const g=p.ctx.text;switch(h+=g,p.type){case"content":u+=p.value;break;case"argument":case"function":case"octothorpe":u+=g;break;default:throw new i(c,`Unsupported part in strict mode function arg style: ${g}`)}}return[{type:"content",value:u.trim(),ctx:Object.assign({},d[0].ctx,{text:h})}]}const o=["number","date","time","spellout","ordinal","duration"],s=["zero","one","two","few","many","other"];class i extends Error{constructor(d,u){super(t.lexer.formatError(d,u))}}Fe.ParseError=i;class a{constructor(d,u){var h,f,p,g;this.lexer=t.lexer.reset(d),this.cardinalKeys=(h=u?.cardinal)!==null&&h!==void 0?h:s,this.ordinalKeys=(f=u?.ordinal)!==null&&f!==void 0?f:s,this.strict=(p=u?.strict)!==null&&p!==void 0?p:!1,this.strictPluralKeys=(g=u?.strictPluralKeys)!==null&&g!==void 0?g:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(d,u,h){if(h[0]==="="){if(u==="select")throw new i(d,`The case ${h} is not valid with select`)}else if(u!=="select"){const f=u==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&f.length>0&&!f.includes(h)){const p=`The ${u} case ${h} is not valid in this locale`;throw new i(d,p)}}}parseSelect({value:d},u,h,f){const p={type:f,arg:d,cases:[],ctx:h};f==="plural"||f==="selectordinal"?u=!0:this.strict&&(u=!1);for(const g of this.lexer)switch(g.type){case"offset":if(f==="select")throw new i(g,"Unexpected plural offset for select");if(p.cases.length>0)throw new i(g,"Plural offset must be set before cases");p.pluralOffset=Number(g.value),h.text+=g.text,h.lineBreaks+=g.lineBreaks;break;case"case":{this.checkSelectKey(g,f,g.value),p.cases.push({key:g.value,tokens:this.parseBody(u),ctx:e(g)});break}case"end":return p;default:throw new i(g,`Unexpected lexer token: ${g.type}`)}throw new i(null,"Unexpected message end")}parseArgToken(d,u){const h=e(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 p=`Invalid strict mode function arg type: ${f.value}`;throw new i(d,p)}switch(f.type){case"end":return{type:"argument",arg:d.value,ctx:h};case"func-simple":{const p=this.lexer.next();if(!p)throw new i(null,"Unexpected message end");if(p.type!=="end")throw new i(p,`Unexpected lexer token: ${p.type}`);if(h.text+=p.text,n(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(n(f.value.toLowerCase())){const g=`Invalid type identifier: ${f.value}`;throw new i(f,g)}let p=this.parseBody(this.strict?!1:u);return this.strict&&p.length>0&&(p=r(d,p)),{type:"function",arg:d.value,key:f.value,param:p,ctx:h}}case"select":if(n(f.value))return this.parseSelect(d,u,h,f.value);throw new i(f,`Unexpected select type ${f.value}`);default:throw new i(f,`Unexpected lexer token: ${f.type}`)}}parseBody(d,u){const h=[];let f=null;for(const p of this.lexer)if(p.type==="argument")f&&(f=null),h.push(this.parseArgToken(p,d));else if(p.type==="octothorpe"&&d)f&&(f=null),h.push({type:"octothorpe",ctx:e(p)});else{if(p.type==="end"&&!u)return h;{let g=p.value;if(!d&&p.type==="quoted"&&g[0]==="#"){if(g.includes("{")){const m=`Unsupported escape pattern: ${g}`;throw new i(p,m)}g=p.text}f?(f.value+=g,f.ctx.text+=p.text,f.ctx.lineBreaks+=p.lineBreaks):(f={type:"content",value:g,ctx:e(p)},h.push(f))}}if(u)return h;throw new i(null,"Unexpected message end")}}function l(c,d={}){return new a(c,d).parse()}return Fe}var jf=Ui();const fe=t=>typeof t=="string",Fi=t=>typeof t=="function",Sr=new Map,qo="en";function On(t){return[...Array.isArray(t)?t:[t],qo]}function Nn(t,e,n){const r=On(t);n||(n="default");let o;if(typeof n=="string")switch(o={day:"numeric",month:"short",year:"numeric"},n){case"full":o.weekday="long";case"long":o.month="long";break;case"short":o.month="numeric";break}else o=n;return It(()=>Mt("date",r,n),()=>new Intl.DateTimeFormat(r,o)).format(fe(e)?new Date(e):e)}function qi(t,e,n){let r;if(n||(n="default"),typeof n=="string")switch(r={second:"numeric",minute:"numeric",hour:"numeric"},n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}else r=n;return Nn(t,e,r)}function hn(t,e,n){const r=On(t);return It(()=>Mt("number",r,n),()=>new Intl.NumberFormat(r,n)).format(e)}function Ar(t,e,n,{offset:r=0,...o}){const s=On(t),i=e?It(()=>Mt("plural-ordinal",s),()=>new Intl.PluralRules(s,{type:"ordinal"})):It(()=>Mt("plural-cardinal",s),()=>new Intl.PluralRules(s,{type:"cardinal"}));return o[n]??o[i.select(n-r)]??o.other}function It(t,e){const n=t();let r=Sr.get(n);return r||(r=e(),Sr.set(n,r)),r}function Mt(t,e,n){const r=e.join("-");return`${t}-${r}-${JSON.stringify(n)}`}const Bo=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,$o=t=>t.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,n,r)=>{if(n){const o=parseInt(n,16);return String.fromCharCode(o)}else{const o=parseInt(r,16);return String.fromCharCode(o)}}),jo="%__lingui_octothorpe__%",Bi=(t,e,n={})=>{const r=e||t,o=i=>typeof i=="object"?i:n[i],s=(i,a)=>{const l=Object.keys(n).length?o("number"):void 0,c=hn(r,i,l);return a.replace(new RegExp(jo,"g"),c)};return{plural:(i,a)=>{const{offset:l=0}=a,c=Ar(r,!1,i,a);return s(i-l,c)},selectordinal:(i,a)=>{const{offset:l=0}=a,c=Ar(r,!0,i,a);return s(i-l,c)},select:$i,number:(i,a)=>hn(r,i,o(a)||{style:a}),date:(i,a)=>Nn(r,i,o(a)||a),time:(i,a)=>qi(r,i,o(a)||a)}},$i=(t,e)=>e[t]??e.other;function ji(t,e,n){return(r={},o)=>{const s=Bi(e,n,o),i=(l,c=!1)=>Array.isArray(l)?l.reduce((d,u)=>{if(u==="#"&&c)return d+jo;if(fe(u))return d+u;const[h,f,p]=u;let g={};f==="plural"||f==="selectordinal"||f==="select"?Object.entries(p).forEach(([y,w])=>{g[y]=i(w,f==="plural"||f==="selectordinal")}):g=p;let m;if(f){const y=s[f];m=y(r[h],g)}else m=r[h];return m==null?d:d+m},""):l,a=i(t);return fe(a)&&Bo.test(a)?$o(a):fe(a)?a:a?String(a):""}}var Hi=Object.defineProperty,zi=(t,e,n)=>e in t?Hi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gi=(t,e,n)=>(zi(t,typeof e!="symbol"?e+"":e,n),n);let Vi=class{constructor(){Gi(this,"_events",{})}on(e,n){var r;return(r=this._events)[e]??(r[e]=[]),this._events[e].push(n),()=>this.removeListener(e,n)}removeListener(e,n){const r=this._getListeners(e);if(!r)return;const o=r.indexOf(n);~o&&r.splice(o,1)}emit(e,...n){const r=this._getListeners(e);r&&r.map(o=>o.apply(this,n))}_getListeners(e){const n=this._events[e];return Array.isArray(n)?n:!1}};var Wi=Object.defineProperty,Ki=(t,e,n)=>e in t?Wi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Pe=(t,e,n)=>(Ki(t,typeof e!="symbol"?e+"":e,n),n);class Yi extends Vi{constructor(e){super(),Pe(this,"_locale",""),Pe(this,"_locales"),Pe(this,"_localeData",{}),Pe(this,"_messages",{}),Pe(this,"_missing"),Pe(this,"_messageCompiler"),Pe(this,"t",this._.bind(this)),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),e.localeData!=null&&this.loadLocaleData(e.localeData),(typeof e.locale=="string"||e.locales)&&this.activate(e.locale??qo,e.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(e,n){const r=this._localeData[e];r?Object.assign(r,n):this._localeData[e]=n}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,n){typeof e=="string"?this._loadLocaleData(e,n):Object.keys(e).forEach(r=>this._loadLocaleData(r,e[r])),this.emit("change")}_load(e,n){const r=this._messages[e];r?Object.assign(r,n):this._messages[e]=n}load(e,n){typeof e=="string"&&typeof n=="object"?this._load(e,n):Object.entries(e).forEach(([r,o])=>this._load(r,o)),this.emit("change")}loadAndActivate({locale:e,locales:n,messages:r}){this._locale=e,this._locales=n||void 0,this._messages[this._locale]=r,this.emit("change")}activate(e,n){this._locale=e,this._locales=n,this.emit("change")}_(e,n,r){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=r?.message;e||(e=""),fe(e)||(n=e.values||n,o=e.message,e=e.id);const s=this.messages[e],i=s===void 0,a=this._missing;if(a&&i)return Fi(a)?a(this._locale,e):a;i&&this.emit("missing",{id:e,locale:this._locale});let l=s||o||e;return fe(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.
`)),fe(l)&&Bo.test(l)?$o(l):fe(l)?l:ji(l,this._locale,this._locales)(n,r?.formats)}date(e,n){return Nn(this._locales||this._locale,e,n)}number(e,n){return hn(this._locales||this._locale,e,n)}}function Zi(t={}){return new Yi(t)}const He=Zi();var mt,L,Ho,Ji,Ce,Pr,zo,Go,Vo,Dn,pn,mn,Wo,ut={},Ko=[],Qi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_t=Array.isArray;function J(t,e){for(var n in e)t[n]=e[n];return t}function Un(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function N(t,e,n){var r,o,s,i={};for(s in e)s=="key"?r=e[s]:s=="ref"?o=e[s]:i[s]=e[s];if(arguments.length>2&&(i.children=arguments.length>3?mt.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(s in t.defaultProps)i[s]===void 0&&(i[s]=t.defaultProps[s]);return at(t,i,r,o,null)}function at(t,e,n,r,o){var s={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ho,__i:-1,__u:0};return o==null&&L.vnode!=null&&L.vnode(s),s}function Yo(){return{current:null}}function Y(t){return t.children}function K(t,e){this.props=t,this.context=e}function Ke(t,e){if(e==null)return t.__?Ke(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Ke(t):null}function Zo(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Zo(t)}}function _n(t){(!t.__d&&(t.__d=!0)&&Ce.push(t)&&!Ot.__r++||Pr!=L.debounceRendering)&&((Pr=L.debounceRendering)||zo)(Ot)}function Ot(){for(var t,e,n,r,o,s,i,a=1;Ce.length;)Ce.length>a&&Ce.sort(Go),t=Ce.shift(),a=Ce.length,t.__d&&(n=void 0,r=void 0,o=(r=(e=t).__v).__e,s=[],i=[],e.__P&&((n=J({},r)).__v=r.__v+1,L.vnode&&L.vnode(n),Fn(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,s,o??Ke(r),!!(32&r.__u),i),n.__v=r.__v,n.__.__k[n.__i]=n,Xo(s,n,i),r.__e=r.__=null,n.__e!=o&&Zo(n)));Ot.__r=0}function Jo(t,e,n,r,o,s,i,a,l,c,d){var u,h,f,p,g,m,y,w=r&&r.__k||Ko,E=e.length;for(l=Xi(n,e,w,l,E),u=0;u<E;u++)(f=n.__k[u])!=null&&(h=f.__i==-1?ut:w[f.__i]||ut,f.__i=u,m=Fn(t,f,h,o,s,i,a,l,c,d),p=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&qn(h.ref,null,f),d.push(f.ref,f.__c||p,f)),g==null&&p!=null&&(g=p),(y=!!(4&f.__u))||h.__k===f.__k?l=Qo(f,l,t,y):typeof f.type=="function"&&m!==void 0?l=m:p&&(l=p.nextSibling),f.__u&=-7);return n.__e=g,l}function Xi(t,e,n,r,o){var s,i,a,l,c,d=n.length,u=d,h=0;for(t.__k=new Array(o),s=0;s<o;s++)(i=e[s])!=null&&typeof i!="boolean"&&typeof i!="function"?(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?i=t.__k[s]=at(null,i,null,null,null):_t(i)?i=t.__k[s]=at(Y,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?i=t.__k[s]=at(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):t.__k[s]=i,l=s+h,i.__=t,i.__b=t.__b+1,a=null,(c=i.__i=ea(i,n,l,u))!=-1&&(u--,(a=n[c])&&(a.__u|=2)),a==null||a.__v==null?(c==-1&&(o>d?h--:o<d&&h++),typeof i.type!="function"&&(i.__u|=4)):c!=l&&(c==l-1?h--:c==l+1?h++:(c>l?h--:h++,i.__u|=4))):t.__k[s]=null;if(u)for(s=0;s<d;s++)(a=n[s])!=null&&(2&a.__u)==0&&(a.__e==r&&(r=Ke(a)),ts(a,a));return r}function Qo(t,e,n,r){var o,s;if(typeof t.type=="function"){for(o=t.__k,s=0;o&&s<o.length;s++)o[s]&&(o[s].__=t,e=Qo(o[s],e,n,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=Ke(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function re(t,e){return e=e||[],t==null||typeof t=="boolean"||(_t(t)?t.some(function(n){re(n,e)}):e.push(t)),e}function ea(t,e,n,r){var o,s,i,a=t.key,l=t.type,c=e[n],d=c!=null&&(2&c.__u)==0;if(c===null&&a==null||d&&a==c.key&&l==c.type)return n;if(r>(d?1:0)){for(o=n-1,s=n+1;o>=0||s<e.length;)if((c=e[i=o>=0?o--:s++])!=null&&(2&c.__u)==0&&a==c.key&&l==c.type)return i}return-1}function Cr(t,e,n){e[0]=="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Qi.test(e)?n:n+"px"}function vt(t,e,n,r,o){var s,i;e:if(e=="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Cr(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||Cr(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")s=e!=(e=e.replace(Vo,"$1")),i=e.toLowerCase(),e=i in t||e=="onFocusOut"||e=="onFocusIn"?i.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+s]=n,n?r?n.u=r.u:(n.u=Dn,t.addEventListener(e,s?mn:pn,s)):t.removeEventListener(e,s?mn:pn,s);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Rr(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Dn++;else if(e.t<n.u)return;return n(L.event?L.event(e):e)}}}function Fn(t,e,n,r,o,s,i,a,l,c){var d,u,h,f,p,g,m,y,w,E,x,k,W,q,Ne,ve,be,_=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),s=[a=e.__e=n.__e]),(d=L.__b)&&d(e);e:if(typeof _=="function")try{if(y=e.props,w="prototype"in _&&_.prototype.render,E=(d=_.contextType)&&r[d.__c],x=d?E?E.props.value:d.__:r,n.__c?m=(u=e.__c=n.__c).__=u.__E:(w?e.__c=u=new _(y,x):(e.__c=u=new K(y,x),u.constructor=_,u.render=na),E&&E.sub(u),u.state||(u.state={}),u.__n=r,h=u.__d=!0,u.__h=[],u._sb=[]),w&&u.__s==null&&(u.__s=u.state),w&&_.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=J({},u.__s)),J(u.__s,_.getDerivedStateFromProps(y,u.__s))),f=u.props,p=u.state,u.__v=e,h)w&&_.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),w&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(w&&_.getDerivedStateFromProps==null&&y!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(y,x),e.__v==n.__v||!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(y,u.__s,x)===!1){for(e.__v!=n.__v&&(u.props=y,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(v){v&&(v.__=e)}),k=0;k<u._sb.length;k++)u.__h.push(u._sb[k]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(y,u.__s,x),w&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,p,g)})}if(u.context=x,u.props=y,u.__P=t,u.__e=!1,W=L.__r,q=0,w){for(u.state=u.__s,u.__d=!1,W&&W(e),d=u.render(u.props,u.state,u.context),Ne=0;Ne<u._sb.length;Ne++)u.__h.push(u._sb[Ne]);u._sb=[]}else do u.__d=!1,W&&W(e),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++q<25);u.state=u.__s,u.getChildContext!=null&&(r=J(J({},r),u.getChildContext())),w&&!h&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(f,p)),ve=d,d!=null&&d.type===Y&&d.key==null&&(ve=es(d.props.children)),a=Jo(t,_t(ve)?ve:[ve],e,n,r,o,s,i,a,l,c),u.base=e.__e,e.__u&=-161,u.__h.length&&i.push(u),m&&(u.__E=u.__=null)}catch(v){if(e.__v=null,l||s!=null)if(v.then){for(e.__u|=l?160:128;a&&a.nodeType==8&&a.nextSibling;)a=a.nextSibling;s[s.indexOf(a)]=null,e.__e=a}else{for(be=s.length;be--;)Un(s[be]);yn(e)}else e.__e=n.__e,e.__k=n.__k,v.then||yn(e);L.__e(v,e,n)}else s==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):a=e.__e=ta(n.__e,e,n,r,o,s,i,l,c);return(d=L.diffed)&&d(e),128&e.__u?void 0:a}function yn(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(yn)}function Xo(t,e,n){for(var r=0;r<n.length;r++)qn(n[r],n[++r],n[++r]);L.__c&&L.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(s){s.call(o)})}catch(s){L.__e(s,o.__v)}})}function es(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:_t(t)?t.map(es):J({},t)}function ta(t,e,n,r,o,s,i,a,l){var c,d,u,h,f,p,g,m=n.props||ut,y=e.props,w=e.type;if(w=="svg"?o="http://www.w3.org/2000/svg":w=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s!=null){for(c=0;c<s.length;c++)if((f=s[c])&&"setAttribute"in f==!!w&&(w?f.localName==w:f.nodeType==3)){t=f,s[c]=null;break}}if(t==null){if(w==null)return document.createTextNode(y);t=document.createElementNS(o,w,y.is&&y),a&&(L.__m&&L.__m(e,s),a=!1),s=null}if(w==null)m===y||a&&t.data==y||(t.data=y);else{if(s=s&&mt.call(t.childNodes),!a&&s!=null)for(m={},c=0;c<t.attributes.length;c++)m[(f=t.attributes[c]).name]=f.value;for(c in m)if(f=m[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in y)){if(c=="value"&&"defaultValue"in y||c=="checked"&&"defaultChecked"in y)continue;vt(t,c,null,f,o)}}for(c in y)f=y[c],c=="children"?h=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?p=f:c=="checked"?g=f:a&&typeof f!="function"||m[c]===f||vt(t,c,f,m[c],o);if(d)a||u&&(d.__html==u.__html||d.__html==t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(u&&(t.innerHTML=""),Jo(e.type=="template"?t.content:t,_t(h)?h:[h],e,n,r,w=="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&Ke(n,0),a,l),s!=null)for(c=s.length;c--;)Un(s[c]);a||(c="value",w=="progress"&&p==null?t.removeAttribute("value"):p!=null&&(p!==t[c]||w=="progress"&&!p||w=="option"&&p!=m[c])&&vt(t,c,p,m[c],o),c="checked",g!=null&&g!=t[c]&&vt(t,c,g,m[c],o))}return t}function qn(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){L.__e(o,n)}}function ts(t,e,n){var r,o;if(L.unmount&&L.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||qn(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){L.__e(s,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&ts(r[o],e,n||typeof t.type!="function");n||Un(t.__e),t.__c=t.__=t.__e=void 0}function na(t,e,n){return this.constructor(t,n)}function dt(t,e,n){var r,o,s,i;e==document&&(e=document.documentElement),L.__&&L.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,s=[],i=[],Fn(e,t=(!r&&n||e).__k=N(Y,null,[t]),o||ut,ut,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?mt.call(e.childNodes):null,s,!r&&n?n:o?o.__e:e.firstChild,r,i),Xo(s,t,i)}function ns(t,e){dt(t,e,ns)}function ra(t,e,n){var r,o,s,i,a=J({},t.props);for(s in t.type&&t.type.defaultProps&&(i=t.type.defaultProps),e)s=="key"?r=e[s]:s=="ref"?o=e[s]:a[s]=e[s]===void 0&&i!=null?i[s]:e[s];return arguments.length>2&&(a.children=arguments.length>3?mt.call(arguments,2):n),at(t.type,a,r||t.key,o||t.ref,null)}function ae(t){function e(n){var r,o;return this.getChildContext||(r=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(s){this.props.value!=s.value&&r.forEach(function(i){i.__e=!0,_n(i)})},this.sub=function(s){r.add(s);var i=s.componentWillUnmount;s.componentWillUnmount=function(){r&&r.delete(s),i&&i.call(s)}}),n.children}return e.__c="__cC"+Wo++,e.__=t,e.Provider=e.__l=(e.Consumer=function(n,r){return n.children(r)}).contextType=e,e}mt=Ko.slice,L={__e:function(t,e,n,r){for(var o,s,i;e=e.__;)if((o=e.__c)&&!o.__)try{if((s=o.constructor)&&s.getDerivedStateFromError!=null&&(o.setState(s.getDerivedStateFromError(t)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),i=o.__d),i)return o.__E=o}catch(a){t=a}throw t}},Ho=0,Ji=function(t){return t!=null&&t.constructor===void 0},K.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=J({},this.state),typeof t=="function"&&(t=t(J({},n),this.props)),t&&J(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),_n(this))},K.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),_n(this))},K.prototype.render=Y,Ce=[],zo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Go=function(t,e){return t.__v.__b-e.__v.__b},Ot.__r=0,Vo=/(PointerCapture)$|Capture$/i,Dn=0,pn=Rr(!1),mn=Rr(!0),Wo=0;var oe,D,Jt,Lr,Ye=0,rs=[],F=L,Tr=F.__b,xr=F.__r,kr=F.diffed,Ir=F.__c,Mr=F.unmount,Or=F.__;function ke(t,e){F.__h&&F.__h(D,t,Ye||e),Ye=0;var n=D.__H||(D.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function se(t){return Ye=1,Vt(os,t)}function Vt(t,e,n){var r=ke(oe++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):os(void 0,e),function(a){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,a);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=D,!D.__f)){var o=function(a,l,c){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!s||s.call(this,a,l,c);var u=r.__c.props!==a;return d.forEach(function(h){if(h.__N){var f=h.__[0];h.__=h.__N,h.__N=void 0,f!==h.__[0]&&(u=!0)}}),s&&s.call(this,a,l,c)||u};D.__f=!0;var s=D.shouldComponentUpdate,i=D.componentWillUpdate;D.componentWillUpdate=function(a,l,c){if(this.__e){var d=s;s=void 0,o(a,l,c),s=d}i&&i.call(this,a,l,c)},D.shouldComponentUpdate=o}return r.__N||r.__}function ye(t,e){var n=ke(oe++,3);!F.__s&&jn(n.__H,e)&&(n.__=t,n.u=e,D.__H.__h.push(n))}function le(t,e){var n=ke(oe++,4);!F.__s&&jn(n.__H,e)&&(n.__=t,n.u=e,D.__h.push(n))}function ie(t){return Ye=5,te(function(){return{current:t}},[])}function Bn(t,e,n){Ye=6,le(function(){if(typeof t=="function"){var r=t(e());return function(){t(null),r&&typeof r=="function"&&r()}}if(t)return t.current=e(),function(){return t.current=null}},n==null?n:n.concat(t))}function te(t,e){var n=ke(oe++,7);return jn(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function me(t,e){return Ye=8,te(function(){return t},e)}function H(t){var e=D.context[t.__c],n=ke(oe++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(D)),e.props.value):t.__}function Wt(t,e){F.useDebugValue&&F.useDebugValue(e?e(t):t)}function oa(t){var e=ke(oe++,10),n=se();return e.__=t,D.componentDidCatch||(D.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function $n(){var t=ke(oe++,11);if(!t.__){for(var e=D.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function sa(){for(var t;t=rs.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ct),t.__H.__h.forEach(gn),t.__H.__h=[]}catch(e){t.__H.__h=[],F.__e(e,t.__v)}}F.__b=function(t){D=null,Tr&&Tr(t)},F.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Or&&Or(t,e)},F.__r=function(t){xr&&xr(t),oe=0;var e=(D=t.__c).__H;e&&(Jt===D?(e.__h=[],D.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(e.__h.forEach(Ct),e.__h.forEach(gn),e.__h=[],oe=0)),Jt=D},F.diffed=function(t){kr&&kr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(rs.push(e)!==1&&Lr===F.requestAnimationFrame||((Lr=F.requestAnimationFrame)||ia)(sa)),e.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Jt=D=null},F.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Ct),n.__h=n.__h.filter(function(r){return!r.__||gn(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],F.__e(r,n.__v)}}),Ir&&Ir(t,e)},F.unmount=function(t){Mr&&Mr(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Ct(r)}catch(o){e=o}}),n.__H=void 0,e&&F.__e(e,n.__v))};var Nr=typeof requestAnimationFrame=="function";function ia(t){var e,n=function(){clearTimeout(r),Nr&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);Nr&&(e=requestAnimationFrame(n))}function Ct(t){var e=D,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),D=e}function gn(t){var e=D;t.__c=t.__(),D=e}function jn(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function os(t,e){return typeof e=="function"?e(t):e}function ss(t,e){for(var n in e)t[n]=e[n];return t}function wn(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Kt(t,e){var n=e(),r=se({t:{__:n,u:e}}),o=r[0].t,s=r[1];return le(function(){o.__=n,o.u=e,Qt(o)&&s({t:o})},[t,n,e]),ye(function(){return Qt(o)&&s({t:o}),t(function(){Qt(o)&&s({t:o})})},[t]),n}function Qt(t){var e,n,r=t.u,o=t.__;try{var s=r();return!((e=o)===(n=s)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}function Hn(t){t()}function zn(t){return t}function Gn(){return[!1,Hn]}var Vn=le;function Nt(t,e){this.props=t,this.context=e}function Wn(t,e){function n(o){var s=this.props.ref,i=s==o.ref;return!i&&s&&(s.call?s(null):s.current=null),e?!e(this.props,o)||!i:wn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,N(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=t,r}(Nt.prototype=new K).isPureReactComponent=!0,Nt.prototype.shouldComponentUpdate=function(t,e){return wn(this.props,t)||wn(this.state,e)};var Dr=L.__b;L.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Dr&&Dr(t)};var aa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function is(t){function e(n){var r=ss({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=aa,e.render=t,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Ur=function(t,e){return t==null?null:re(re(t).map(e))},Kn={map:Ur,forEach:Ur,count:function(t){return t?re(t).length:0},only:function(t){var e=re(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:re},la=L.__e;L.__e=function(t,e,n,r){if(t.then){for(var o,s=e;s=s.__;)if((o=s.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}la(t,e,n,r)};var Fr=L.unmount;function as(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=ss({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return as(r,e,n)})),t}function ls(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return ls(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function lt(){this.__u=0,this.o=null,this.__b=null}function cs(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function us(t){var e,n,r,o=null;function s(i){if(e||(e=t()).then(function(a){a&&(o=a.default||a),r=!0},function(a){n=a,r=!0}),n)throw n;if(!r)throw e;return o?N(o,i):null}return s.displayName="Lazy",s.__f=!0,s}function Be(){this.i=null,this.l=null}L.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fr&&Fr(t)},(lt.prototype=new K).__c=function(t,e){var n=e.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=cs(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(a):a())};n.__R=i;var a=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=ls(l,l.__c.__P,l.__c.__O)}var c;for(r.setState({__a:r.__b=null});c=r.o.pop();)c.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(i,i)},lt.prototype.componentWillUnmount=function(){this.o=[]},lt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=as(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&N(Y,null,t.fallback);return o&&(o.__u&=-33),[N(Y,null,e.__a?null:t.children),o]};var qr=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.i=n=n[2]}};function ca(t){return this.getChildContext=function(){return t.context},t.children}function ua(t){var e=this,n=t.h;if(e.componentWillUnmount=function(){dt(null,e.v),e.v=null,e.h=null},e.h&&e.h!==n&&e.componentWillUnmount(),!e.v){for(var r=e.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;e.h=n,e.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},insertBefore:function(o,s){this.childNodes.push(o),e.h.insertBefore(o,s)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),e.h.removeChild(o)}}}dt(N(ca,{context:e.context},t.__v),e.v)}function ds(t,e){var n=N(ua,{__v:t,h:e});return n.containerInfo=e,n}(Be.prototype=new K).__a=function(t){var e=this,n=cs(e.__v),r=e.l.get(t);return r[0]++,function(o){var s=function(){e.props.revealOrder?(r.push(o),qr(e,t,r)):o()};n?n(s):s()}},Be.prototype.render=function(t){this.i=null,this.l=new Map;var e=re(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.l.set(e[n],this.i=[1,0,this.i]);return t.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var t=this;this.l.forEach(function(e,n){qr(t,n,e)})};var fs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,da=/^(?: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]/,fa=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ha=/[A-Z0-9]/g,pa=typeof document<"u",ma=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function hs(t,e,n){return e.__k==null&&(e.textContent=""),dt(t,e),typeof n=="function"&&n(),t?t.__c:null}function ps(t,e,n){return ns(t,e),typeof n=="function"&&n(),t?t.__c:null}K.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(K.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Br=L.event;function _a(){}function ya(){return this.cancelBubble}function ga(){return this.defaultPrevented}L.event=function(t){return Br&&(t=Br(t)),t.persist=_a,t.isPropagationStopped=ya,t.isDefaultPrevented=ga,t.nativeEvent=t};var Yn,wa={enumerable:!1,configurable:!0,get:function(){return this.class}},$r=L.vnode;L.vnode=function(t){typeof t.type=="string"&&(function(e){var n=e.props,r=e.type,o={},s=r.indexOf("-")===-1;for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||pa&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?i="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||ma(n.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":fa.test(i)&&(i=l):l=i="oninput":s&&da.test(i)?i=i.replace(ha,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=re(n.children).forEach(function(c){c.props.selected=o.value.indexOf(c.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=re(n.children).forEach(function(c){c.props.selected=o.multiple?o.defaultValue.indexOf(c.props.value)!=-1:o.defaultValue==c.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",wa)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o})(t),t.$$typeof=fs,$r&&$r(t)};var jr=L.__r;L.__r=function(t){jr&&jr(t),Yn=t.__c};var Hr=L.diffed;L.diffed=function(t){Hr&&Hr(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Yn=null};var ms={ReactCurrentDispatcher:{current:{readContext:function(t){return Yn.__n[t.__c].props.value},useCallback:me,useContext:H,useDebugValue:Wt,useDeferredValue:zn,useEffect:ye,useId:$n,useImperativeHandle:Bn,useInsertionEffect:Vn,useLayoutEffect:le,useMemo:te,useReducer:Vt,useRef:ie,useState:se,useSyncExternalStore:Kt,useTransition:Gn}}},va="18.3.1";function _s(t){return N.bind(null,t)}function Ze(t){return!!t&&t.$$typeof===fs}function ys(t){return Ze(t)&&t.type===Y}function gs(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function ws(t){return Ze(t)?ra.apply(null,arguments):t}function vs(t){return!!t.__k&&(dt(null,t),!0)}function bs(t){return t&&(t.base||t.nodeType===1&&t)||null}var Es=function(t,e){return t(e)},Ss=function(t,e){return t(e)},As=Y,Ps=Ze,B={useState:se,useId:$n,useReducer:Vt,useEffect:ye,useLayoutEffect:le,useInsertionEffect:Vn,useTransition:Gn,useDeferredValue:zn,useSyncExternalStore:Kt,startTransition:Hn,useRef:ie,useImperativeHandle:Bn,useMemo:te,useCallback:me,useContext:H,useDebugValue:Wt,version:"18.3.1",Children:Kn,render:hs,hydrate:ps,unmountComponentAtNode:vs,createPortal:ds,createElement:N,createContext:ae,createFactory:_s,cloneElement:ws,createRef:Yo,Fragment:Y,isValidElement:Ze,isElement:Ps,isFragment:ys,isMemo:gs,findDOMNode:bs,Component:K,PureComponent:Nt,memo:Wn,forwardRef:is,flushSync:Ss,unstable_batchedUpdates:Es,StrictMode:As,Suspense:lt,SuspenseList:Be,lazy:us,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ms};const Cs=Object.freeze(Object.defineProperty({__proto__:null,Children:Kn,Component:K,Fragment:Y,PureComponent:Nt,StrictMode:As,Suspense:lt,SuspenseList:Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ms,cloneElement:ws,createContext:ae,createElement:N,createFactory:_s,createPortal:ds,createRef:Yo,default:B,findDOMNode:bs,flushSync:Ss,forwardRef:is,hydrate:ps,isElement:Ps,isFragment:ys,isMemo:gs,isValidElement:Ze,lazy:us,memo:Wn,render:hs,startTransition:Hn,unmountComponentAtNode:vs,unstable_batchedUpdates:Es,useCallback:me,useContext:H,useDebugValue:Wt,useDeferredValue:zn,useEffect:ye,useErrorBoundary:oa,useId:$n,useImperativeHandle:Bn,useInsertionEffect:Vn,useLayoutEffect:le,useMemo:te,useReducer:Vt,useRef:ie,useState:se,useSyncExternalStore:Kt,useTransition:Gn,version:va},Symbol.toStringTag,{value:"Module"})),ba=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Ea={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 Rs(t,e={}){const n=t.split(ba);if(n.length===1)return t;const r=Sa(0,"$lingui$"),o=[],s=n.shift();s&&o.push(s);for(const[i,a,l]of Ls(n)){let c=typeof i<"u"?e[i]:void 0;(!c||Ea[c.type]&&a)&&(console.error(c?`${c.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`),c=B.createElement(B.Fragment)),Array.isArray(c)&&(c=B.createElement(B.Fragment,{},c)),o.push(B.cloneElement(c,{key:r()},a?Rs(a,e):c.props.children)),l&&o.push(l)}return o.length===1?o[0]:o}function Ls(t){if(!t.length)return[];const[e,n,r,o]=t.slice(0,4);return[[e||r,n||"",o]].concat(Ls(t.slice(4,t.length)))}const Sa=(t=0,e="")=>()=>`${e}_${t++}`;function Aa(t){const{render:e,component:n,id:r,message:o,formats:s,lingui:{i18n:i,defaultComponent:a}}=t,{values:l,components:c}=Ca(t),d=i&&typeof i._=="function"?i._(r,l,{message:o,formats:s}):r,u=d?Rs(d,c):null;if(e===null||n===null)return u;const h=a||Pa,f={id:r,message:o,translation:u,children:u};if(e&&n)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(e&&typeof e!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${e}`);else if(n&&typeof n!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),B.createElement(h,f,u);if(typeof e=="function")return e(f);const p=n||h;return B.createElement(p,f,u)}const Pa=({children:t})=>B.createElement(B.Fragment,null,t),Ca=t=>{if(!t.values)return{values:void 0,components:t.components};const e={...t.values},n={...t.components};return Object.entries(t.values).forEach(([r,o])=>{if(typeof o=="string"||typeof o=="number")return;const s=Object.keys(n).length;n[s]=B.createElement(B.Fragment,null,o),e[r]=`<${s}/>`}),{values:e,components:n}},Ts=B.createContext(null),xs=t=>B.useContext(Ts);function zf(){return xs()}function Gf({i18n:t,defaultComponent:e,children:n}){const r=B.useRef(t.locale),o=B.useCallback(()=>({i18n:t,defaultComponent:e,_:t.t.bind(t)}),[t,e]),[s,i]=B.useState(o());return B.useEffect(()=>{const a=()=>{r.current=t.locale,i(o())},l=t.on("change",a);return r.current!==t.locale&&a(),l},[t,o]),r.current?B.createElement(Ts.Provider,{value:s},n):null}function Vf(t){const n=xs(void 0);return B.createElement(Aa,{...t,lingui:n})}function Dt(){return Dt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Dt.apply(this,arguments)}var he;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(he||(he={}));const zr="popstate";function Ra(t){t===void 0&&(t={});function e(o,s){let{pathname:i="/",search:a="",hash:l=""}=Ie(o.location.hash.substr(1));return vn("",{pathname:i,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(o,s){let i=o.document.querySelector("base"),a="";if(i&&i.getAttribute("href")){let l=o.location.href,c=l.indexOf("#");a=c===-1?l:l.slice(0,c)}return a+"#"+(typeof s=="string"?s:Zn(s))}function r(o,s){La(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(s)+")")}return ka(e,n,r,t)}function $(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function La(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ta(){return Math.random().toString(36).substr(2,8)}function Gr(t){return{usr:t.state,key:t.key}}function vn(t,e,n,r){return n===void 0&&(n=null),Dt({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Ie(e):e,{state:n,key:e&&e.key||r||Ta()})}function Zn(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Ie(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function xa(t){let e=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:window.location.href,n=typeof t=="string"?t:Zn(t);return $(e,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,e)}function ka(t,e,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=he.Pop,l=null;function c(){a=he.Pop,l&&l({action:a,location:h.location})}function d(f,p){a=he.Push;let g=vn(h.location,f,p);n&&n(g,f);let m=Gr(g),y=h.createHref(g);try{i.pushState(m,"",y)}catch{o.location.assign(y)}s&&l&&l({action:a,location:h.location})}function u(f,p){a=he.Replace;let g=vn(h.location,f,p);n&&n(g,f);let m=Gr(g),y=h.createHref(g);i.replaceState(m,"",y),s&&l&&l({action:a,location:h.location})}let h={get action(){return a},get location(){return t(o,i)},listen(f){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(zr,c),l=f,()=>{o.removeEventListener(zr,c),l=null}},createHref(f){return e(o,f)},encodeLocation(f){let p=xa(typeof f=="string"?f:Zn(f));return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:u,go(f){return i.go(f)}};return h}var Vr;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Vr||(Vr={}));function Ia(t,e,n){n===void 0&&(n="/");let r=typeof e=="string"?Ie(e):e,o=Ms(r.pathname||"/",n);if(o==null)return null;let s=ks(t);Ma(s);let i=null;for(let a=0;i==null&&a<s.length;++a)i=ja(s[a],za(o));return i}function ks(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&($(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Le([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&($(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ks(s.children,e,d,c)),!(s.path==null&&!s.index)&&e.push({path:c,score:Ba(c,s.index),routesMeta:d})};return t.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of Is(s.path))o(s,i,l)}),e}function Is(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Is(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function Ma(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:$a(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Oa=/^:\w+$/,Na=3,Da=2,Ua=1,Fa=10,qa=-2,Wr=t=>t==="*";function Ba(t,e){let n=t.split("/"),r=n.length;return n.some(Wr)&&(r+=qa),e&&(r+=Da),n.filter(o=>!Wr(o)).reduce((o,s)=>o+(Oa.test(s)?Na:s===""?Ua:Fa),r)}function $a(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function ja(t,e){let{routesMeta:n}=t,r={},o="/",s=[];for(let i=0;i<n.length;++i){let a=n[i],l=i===n.length-1,c=o==="/"?e:e.slice(o.length)||"/",d=bn({path:a.relativePath,caseSensitive:a.caseSensitive,end:l},c);if(!d)return null;Object.assign(r,d.params);let u=a.route;s.push({params:r,pathname:Le([o,d.pathname]),pathnameBase:Za(Le([o,d.pathnameBase])),route:u}),d.pathnameBase!=="/"&&(o=Le([o,d.pathnameBase]))}return s}function bn(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=Ha(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,d,u)=>{if(d==="*"){let h=a[u]||"";i=s.slice(0,s.length-h.length).replace(/(.)\/+$/,"$1")}return c[d]=Ga(a[u]||"",d),c},{}),pathname:s,pathnameBase:i,pattern:t}}function Ha(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Jn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,a)=>(r.push(a),"/([^\\/]+)"));return t.endsWith("*")?(r.push("*"),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function za(t){try{return decodeURI(t)}catch(e){return Jn(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Ga(t,e){try{return decodeURIComponent(t)}catch(n){return Jn(!1,'The value for the URL param "'+e+'" will not be decoded because'+(' the string "'+t+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),t}}function Ms(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function Jn(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Va(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?Ie(t):t;return{pathname:n?n.startsWith("/")?n:Wa(n,e):e,search:Ja(r),hash:Qa(o)}}function Wa(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Xt(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Ka(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Ya(t,e,n,r){r===void 0&&(r=!1);let o;typeof t=="string"?o=Ie(t):(o=Dt({},t),$(!o.pathname||!o.pathname.includes("?"),Xt("?","pathname","search",o)),$(!o.pathname||!o.pathname.includes("#"),Xt("#","pathname","hash",o)),$(!o.search||!o.search.includes("#"),Xt("#","search","hash",o)));let s=t===""||o.pathname==="",i=s?"/":o.pathname,a;if(r||i==null)a=n;else{let u=e.length-1;if(i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),u-=1;o.pathname=h.join("/")}a=u>=0?e[u]:"/"}let l=Va(o,a),c=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const Le=t=>t.join("/").replace(/\/\/+/g,"/"),Za=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Ja=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Qa=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class Xa{constructor(e,n,r,o){o===void 0&&(o=!1),this.status=e,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function el(t){return t instanceof Xa}const Os=["post","put","patch","delete"],Wf=new Set(Os),tl=["get",...Os],Kf=new Set(tl);const Yf=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function En(){return En=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},En.apply(this,arguments)}const{useState:Zf,useEffect:Jf,useLayoutEffect:Qf,useDebugValue:Xf}=Cs;const eh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";const th=(t=>t.useSyncExternalStore)(Cs),Ns=ae(null),Qn=ae(null);const Xn=ae(null),Yt=ae(null),Je=ae({outlet:null,matches:[]}),Ds=ae(null);function yt(){return H(Yt)!=null}function er(){return yt()||$(!1),H(Yt).location}function Us(){yt()||$(!1);let{basename:t,navigator:e}=H(Xn),{matches:n}=H(Je),{pathname:r}=er(),o=JSON.stringify(Ka(n).map(a=>a.pathnameBase)),s=ie(!1);return ye(()=>{s.current=!0}),me(function(a,l){if(l===void 0&&(l={}),!s.current)return;if(typeof a=="number"){e.go(a);return}let c=Ya(a,JSON.parse(o),r,l.relative==="path");t!=="/"&&(c.pathname=c.pathname==="/"?t:Le([t,c.pathname])),(l.replace?e.replace:e.push)(c,l.state,l)},[t,e,o,r])}function nh(){let{matches:t}=H(Je),e=t[t.length-1];return e?e.params:{}}function nl(t,e){yt()||$(!1);let{navigator:n}=H(Xn),r=H(Qn),{matches:o}=H(Je),s=o[o.length-1],i=s?s.params:{},a=s?s.pathname:"/",l=s?s.pathnameBase:"/",c=s&&s.route,d=er(),u;if(e){var h;let y=typeof e=="string"?Ie(e):e;l==="/"||(h=y.pathname)!=null&&h.startsWith(l)||$(!1),u=y}else u=d;let f=u.pathname||"/",p=l==="/"?f:f.slice(l.length)||"/",g=Ia(t,{pathname:p}),m=il(g&&g.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:Le([l,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:Le([l,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r||void 0);return e&&m?N(Yt.Provider,{value:{location:En({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:he.Pop}},m):m}function rl(){let t=ul(),e=el(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r};return N(Y,null,N("h2",null,"Unhandled Thrown Error!"),N("h3",{style:{fontStyle:"italic"}},e),n?N("pre",{style:o},n):null,N("p",null,"💿 Hey developer 👋"),N("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N("code",{style:s},"errorElement")," props on ",N("code",{style:s},"<Route>")))}class ol extends K{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location?{error:e.error,location:e.location}:{error:e.error||n.error,location:n.location}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error?N(Je.Provider,{value:this.props.routeContext},N(Ds.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function sl(t){let{routeContext:e,match:n,children:r}=t,o=H(Ns);return o&&o.static&&o.staticContext&&n.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),N(Je.Provider,{value:e},r)}function il(t,e,n){if(e===void 0&&(e=[]),t==null)if(n!=null&&n.errors)t=n.matches;else return null;let r=t,o=n?.errors;if(o!=null){let s=r.findIndex(i=>i.route.id&&o?.[i.route.id]);s>=0||$(!1),r=r.slice(0,Math.min(r.length,s+1))}return r.reduceRight((s,i,a)=>{let l=i.route.id?o?.[i.route.id]:null,c=n?i.route.errorElement||N(rl,null):null,d=e.concat(r.slice(0,a+1)),u=()=>N(sl,{match:i,routeContext:{outlet:s,matches:d}},l?c:i.route.element!==void 0?i.route.element:s);return n&&(i.route.errorElement||a===0)?N(ol,{location:n.location,component:c,error:l,children:u(),routeContext:{outlet:null,matches:d}}):u()},null)}var Kr;(function(t){t.UseRevalidator="useRevalidator"})(Kr||(Kr={}));var Ut;(function(t){t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator"})(Ut||(Ut={}));function al(t){let e=H(Qn);return e||$(!1),e}function ll(t){let e=H(Je);return e||$(!1),e}function cl(t){let e=ll(t),n=e.matches[e.matches.length-1];return n.route.id||$(!1),n.route.id}function ul(){var t;let e=H(Ds),n=al(Ut.UseRouteError),r=cl(Ut.UseRouteError);return e||((t=n.errors)==null?void 0:t[r])}function rh(t){let{to:e,replace:n,state:r,relative:o}=t;yt()||$(!1);let s=H(Qn),i=Us();return ye(()=>{s&&s.navigation.state!=="idle"||i(e,{replace:n,state:r,relative:o})}),null}function dl(t){$(!1)}function fl(t){let{basename:e="/",children:n=null,location:r,navigationType:o=he.Pop,navigator:s,static:i=!1}=t;yt()&&$(!1);let a=e.replace(/^\/*/,"/"),l=te(()=>({basename:a,navigator:s,static:i}),[a,s,i]);typeof r=="string"&&(r=Ie(r));let{pathname:c="/",search:d="",hash:u="",state:h=null,key:f="default"}=r,p=te(()=>{let g=Ms(c,a);return g==null?null:{pathname:g,search:d,hash:u,state:h,key:f}},[a,c,d,u,h,f]);return p==null?null:N(Xn.Provider,{value:l},N(Yt.Provider,{children:n,value:{location:p,navigationType:o}}))}function oh(t){let{children:e,location:n}=t,r=H(Ns),o=r&&!e?r.router.routes:Sn(e);return nl(o,n)}var Yr;(function(t){t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error"})(Yr||(Yr={}));const sh=new Promise(()=>{});function Sn(t,e){e===void 0&&(e=[]);let n=[];return Kn.forEach(t,(r,o)=>{if(!Ze(r))return;if(r.type===Y){n.push.apply(n,Sn(r.props.children,e));return}r.type!==dl&&$(!1),!r.props.index||!r.props.children||$(!1);let s=[...e,o],i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(i.children=Sn(r.props.children,s)),n.push(i)}),n}function An(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function hl(t,e){let n=An(t);for(let r of e.keys())n.has(r)||e.getAll(r).forEach(o=>{n.append(r,o)});return n}function ih(t){let{basename:e,children:n,window:r}=t,o=ie();o.current==null&&(o.current=Ra({window:r,v5Compat:!0}));let s=o.current,[i,a]=se({action:s.action,location:s.location});return le(()=>s.listen(a),[s]),N(fl,{basename:e,children:n,location:i.location,navigationType:i.action,navigator:s})}var Zr;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmitImpl="useSubmitImpl",t.UseFetcher="useFetcher"})(Zr||(Zr={}));var Jr;(function(t){t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Jr||(Jr={}));function ah(t){let e=ie(An(t)),n=er(),r=te(()=>hl(n.search,e.current),[n.search]),o=Us(),s=me((i,a)=>{const l=An(typeof i=="function"?i(r):i);o("?"+l,a)},[o,r]);return[r,s]}const pl="modulepreload",ml=function(t,e){return new URL(t,e).href},Qr={},M=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(d=>{if(d=ml(d,r),d in Qr)return;Qr[d]=!0;const u=d.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===d&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":pl,u||(f.as="script"),f.crossOrigin="",f.href=d,l&&f.setAttribute("nonce",l),document.head.appendChild(f),u)return new Promise((p,g)=>{f.addEventListener("load",p),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})},_l=Symbol(),tr=Symbol(),it="a",Fs="f",Xr="p",qs="c",Bs="t",nr="h",ct="w",rr="o",or="k";let yl=(t,e)=>new Proxy(t,e);const Pn=Object.getPrototypeOf,Cn=new WeakMap,$s=t=>t&&(Cn.has(t)?Cn.get(t):Pn(t)===Object.prototype||Pn(t)===Array.prototype),Ft=t=>typeof t=="object"&&t!==null,gl=t=>Object.values(Object.getOwnPropertyDescriptors(t)).some(e=>!e.configurable&&!e.writable),wl=t=>{if(Array.isArray(t))return Array.from(t);const e=Object.getOwnPropertyDescriptors(t);return Object.values(e).forEach(n=>{n.configurable=!0}),Object.create(Pn(t),e)},vl=(t,e)=>{const n={[Fs]:e};let r=!1;const o=(a,l)=>{if(!r){let c=n[it].get(t);if(c||(c={},n[it].set(t,c)),a===ct)c[ct]=!0;else{let d=c[a];d||(d=new Set,c[a]=d),d.add(l)}}},s=()=>{r=!0,n[it].delete(t)},i={get(a,l){return l===tr?t:(o(or,l),js(Reflect.get(a,l),n[it],n[qs],n[Bs]))},has(a,l){return l===_l?(s(),!0):(o(nr,l),Reflect.has(a,l))},getOwnPropertyDescriptor(a,l){return o(rr,l),Reflect.getOwnPropertyDescriptor(a,l)},ownKeys(a){return o(ct),Reflect.ownKeys(a)}};return e&&(i.set=i.deleteProperty=()=>!1),[i,n]},sr=t=>t[tr]||t,js=(t,e,n,r)=>{if(!$s(t))return t;let o=r&&r.get(t);if(!o){const l=sr(t);gl(l)?o=[l,wl(l)]:o=[l],r?.set(t,o)}const[s,i]=o;let a=n&&n.get(s);return(!a||a[1][Fs]!==!!i)&&(a=vl(s,!!i),a[1][Xr]=yl(i||s,a[0]),n&&n.set(s,a)),a[1][it]=e,a[1][qs]=n,a[1][Bs]=r,a[1][Xr]},bl=(t,e)=>{const n=Reflect.ownKeys(t),r=Reflect.ownKeys(e);return n.length!==r.length||n.some((o,s)=>o!==r[s])},Hs=(t,e,n,r,o=Object.is)=>{if(o(t,e))return!1;if(!Ft(t)||!Ft(e))return!0;const s=n.get(sr(t));if(!s)return!0;if(r){if(r.get(t)===e)return!1;r.set(t,e)}let i=null;for(const a of s[nr]||[])if(i=Reflect.has(t,a)!==Reflect.has(e,a),i)return i;if(s[ct]===!0){if(i=bl(t,e),i)return i}else for(const a of s[rr]||[]){const l=!!Reflect.getOwnPropertyDescriptor(t,a),c=!!Reflect.getOwnPropertyDescriptor(e,a);if(i=l!==c,i)return i}for(const a of s[or]||[])if(i=Hs(t[a],e[a],n,r,o),i)return i;if(i===null)throw new Error("invalid used");return i};const El=t=>$s(t)&&t[tr]||null,eo=(t,e=!0)=>{Cn.set(t,e)},Sl=(t,e,n)=>{const r=[],o=new WeakSet,s=(i,a)=>{var l,c,d;if(o.has(i))return;Ft(i)&&o.add(i);const u=Ft(i)&&e.get(sr(i));if(u){if((l=u[nr])===null||l===void 0||l.forEach(h=>{const f=`:has(${String(h)})`;r.push(a?[...a,f]:[f])}),u[ct]===!0){const h=":ownKeys";r.push(a?[...a,h]:[h])}else(c=u[rr])===null||c===void 0||c.forEach(h=>{const f=`:hasOwn(${String(h)})`;r.push(a?[...a,f]:[f])});(d=u[or])===null||d===void 0||d.forEach(h=>{(!n||"value"in(Object.getOwnPropertyDescriptor(i,h)||{}))&&s(i[h],a?[...a,h]:[h])})}else a&&r.push(a)};return s(t),r};const qt={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},ir=t=>typeof t=="object"&&t!==null,Al=t=>ir(t)&&!Zt.has(t)&&(Array.isArray(t)||!(Symbol.iterator in t))&&!(t instanceof WeakMap)&&!(t instanceof WeakSet)&&!(t instanceof Error)&&!(t instanceof Number)&&!(t instanceof Date)&&!(t instanceof String)&&!(t instanceof RegExp)&&!(t instanceof ArrayBuffer)&&!(t instanceof Promise),zs=(t,e)=>{const n=Rn.get(t);if(n?.[0]===e)return n[1];const r=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));return eo(r,!0),Rn.set(t,[e,r]),Reflect.ownKeys(t).forEach(o=>{if(Object.getOwnPropertyDescriptor(r,o))return;const s=Reflect.get(t,o),{enumerable:i}=Reflect.getOwnPropertyDescriptor(t,o),a={value:s,enumerable:i,configurable:!0};if(Zt.has(s))eo(s,!1);else if(_e.has(s)){const[l,c]=_e.get(s);a.value=zs(l,c())}Object.defineProperty(r,o,a)}),Object.preventExtensions(r)},Pl=(t,e,n,r)=>({deleteProperty(o,s){const i=Reflect.get(o,s);n(s);const a=Reflect.deleteProperty(o,s);return a&&r(Re?.("delete",s,i)),a},set(o,s,i,a){const l=!t()&&Reflect.has(o,s),c=Reflect.get(o,s,a);if(l&&(to(c,i)||ft.has(i)&&to(c,ft.get(i))))return!0;n(s),ir(i)&&(i=El(i)||i);const d=!_e.has(i)&&Ll(i)?Gs(i):i;return e(s,d),Reflect.set(o,s,d,a),r(Re?.("set",s,i,c)),!0}}),Cl=(t,e,...n)=>[t,[e],...n],_e=new WeakMap,Zt=new WeakSet,Rn=new WeakMap,Rt=[1],ft=new WeakMap;let to=Object.is,Rl=(t,e)=>new Proxy(t,e),Ll=Al,Tl=zs,xl=Pl,Re;function Gs(t={}){if(!ir(t))throw new Error("object required");const e=ft.get(t);if(e)return e;let n=Rt[0];const r=new Set,o=(m,y=++Rt[0])=>{n!==y&&(s=n=y,r.forEach(w=>w(m,y)))};let s=n;const i=(m=Rt[0])=>(s!==m&&(s=m,l.forEach(([y])=>{const w=y[1](m);w>n&&(n=w)})),n),a=m=>(y,w)=>{let E;y&&(E=[...y],E[1]=[m,...E[1]]),o(E,w)},l=new Map,c=(m,y)=>{const w=!Zt.has(y)&&_e.get(y);if(w){if((qt?"production":void 0)!=="production"&&l.has(m))throw new Error("prop listener already exists");if(r.size){const E=w[2](a(m));l.set(m,[w,E])}else l.set(m,[w])}},d=m=>{var y;const w=l.get(m);w&&(l.delete(m),(y=w[1])==null||y.call(w))},u=m=>(r.add(m),r.size===1&&l.forEach(([w,E],x)=>{if((qt?"production":void 0)!=="production"&&E)throw new Error("remove already exists");const k=w[2](a(x));l.set(x,[w,k])}),()=>{r.delete(m),r.size===0&&l.forEach(([w,E],x)=>{E&&(E(),l.set(x,[w]))})});let h=!0;const f=xl(()=>h,c,d,o),p=Rl(t,f);ft.set(t,p);const g=[t,i,u];return _e.set(p,g),Reflect.ownKeys(t).forEach(m=>{const y=Object.getOwnPropertyDescriptor(t,m);"value"in y&&y.writable&&(p[m]=t[m])}),h=!1,p}function ar(t,e,n){const r=_e.get(t);(qt?"production":void 0)!=="production"&&!r&&console.warn("Please use proxy object");let o;const s=[],i=r[2];let a=!1;const c=i(d=>{if(d&&s.push(d),n){e(s.splice(0));return}o||(o=Promise.resolve().then(()=>{o=void 0,a&&e(s.splice(0))}))});return a=!0,()=>{a=!1,c()}}function Ln(t){const e=_e.get(t);(qt?"production":void 0)!=="production"&&!e&&console.warn("Please use proxy object");const[n,r]=e;return Tl(n,r())}function Vs(){return{proxyStateMap:_e,refSet:Zt,snapCache:Rn,versionHolder:Rt,proxyCache:ft}}function lh(t=!0){t===!0?Re=Cl:t===!1?Re=void 0:Re=t}const kl={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},Il=(t,e)=>{const n=ie(void 0);ye(()=>{n.current=Sl(t,e,!0)}),Wt(n.current)},Ml=Il,Ol=new WeakMap;function ch(t,e){const n=e?.sync,r=te(()=>t&&new WeakMap,[t]),o=ie(void 0),s=ie(!1),i=Kt(me(l=>{s.current=!0;const c=ar(t,l,n);return l(),()=>{c(),s.current=!1}},[t,n]),()=>{const l=Ln(t);try{if(s.current&&o.current&&!Hs(o.current,l,r,new WeakMap))return o.current}catch{}return l},()=>Ln(t));le(()=>{o.current=i}),(kl?"production":void 0)!=="production"&&Ml(i,r);const a=te(()=>new WeakMap,[]);return js(i,r,a,Ol)}var Nl=0;function ee(t,e,n,r,o,s){e||(e={});var i,a,l=e;if("ref"in l)for(a in l={},e)a=="ref"?i=e[a]:l[a]=e[a];var c={type:t,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Nl,__i:-1,__u:0,__source:o,__self:s};if(typeof t=="function"&&(i=t.defaultProps))for(a in i)l[a]===void 0&&(l[a]=i[a]);return L.vnode&&L.vnode(c),c}const Ws=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Bt=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Ws);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},no=t=>t==="*"||t==="x"||t==="X",ro=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Dl=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],Ul=(t,e)=>{if(no(t)||no(e))return 0;const[n,r]=Dl(ro(t),ro(e));return n>r?1:n<r?-1:0},$e=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const r=Ul(t[n]||"0",e[n]||"0");if(r!==0)return r}return 0},Ks=(t,e)=>{const n=Bt(t),r=Bt(e),o=n.pop(),s=r.pop(),i=$e(n,r);return i!==0?i:o&&s?$e(o.split("."),s.split(".")):o||s?o?-1:1:0},Fl=(t,e,n)=>{ql(n);const r=Ks(t,e);return Ys[n].includes(r)},Ys={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},oo=Object.keys(Ys),ql=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(oo.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${oo.join("|")}`)},Lt=(t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(m=>Lt(t,m));if(e.includes(" - ")){const[m,y]=e.split(" - ",2);return Lt(t,`>=${m} <=${y}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(m=>Lt(t,m));const n=e.match(/^([<>=~^]+)/),r=n?n[1]:"=";if(r!=="^"&&r!=="~")return Fl(t,e,r);const[o,s,i,,a]=Bt(t),[l,c,d,,u]=Bt(e),h=[o,s,i],f=[l,c??"x",d??"x"];if(u&&(!a||$e(h,f)!==0||$e(a.split("."),u.split("."))===-1))return!1;const p=f.findIndex(m=>m!=="0")+1,g=r==="~"?2:p>1?p:1;return!($e(h.slice(0,g),f.slice(0,g))!==0||$e(h.slice(g),f.slice(g))===-1)},Bl=t=>typeof t=="string"&&/^[v\d]/.test(t)&&Ws.test(t);function $l(t,e){var n=Object.setPrototypeOf;n?n(t,e):t.__proto__=e}function jl(t,e){e===void 0&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var Hl=(function(){var t=function(n,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,s){o.__proto__=s}||function(o,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(o[i]=s[i])},t(n,r)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),Qe=(function(t){Hl(e,t);function e(n,r){var o=this.constructor,s=t.call(this,n,r)||this;return Object.defineProperty(s,"name",{value:o.name,enumerable:!1,configurable:!0}),$l(s,o.prototype),jl(s),s}return e})(Error);class xe extends Qe{}class so extends Qe{contentType;data;constructor(e,n,r,o){super(e,o),this.contentType=n,this.data=r}}class Zs extends Qe{statusCode;description;details;additionalProperties;constructor(e,n){super(e.message,n),this.statusCode=e.statusCode,this.message=e.message,this.description=e.description,this.additionalProperties=e.additionalProperties,this.details=e.details}}class Js extends Qe{}class en extends Qe{constructor(e,n){super(e,n),this.message=e}}const zl=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Gl=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Vl=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Wl=/[^\p{L}\d]+/giu,io="$1\0$2",ao="";function Qs(t){let e=t.trim();e=e.replace(zl,io).replace(Gl,io),e=e.replace(Wl,"\0");let n=0,r=e.length;for(;e.charAt(n)==="\0";)n++;if(n===r)return[];for(;e.charAt(r-1)==="\0";)r--;return e.slice(n,r).split(/\0/g)}function Kl(t){const e=Qs(t);for(let n=0;n<e.length;n++){const r=e[n],o=Vl.exec(r);if(o){const s=o.index+(o[1]??o[2]).length;e.splice(n,1,r.slice(0,s),r.slice(s))}}return e}function Yl(t,e){const[n,r,o]=ei(t,e);return n+r.map(Xs(e?.locale)).join(e?.delimiter??" ")+o}function Zl(t,e){const[n,r,o]=ei(t,e),s=Xs(e?.locale),i=Jl(e?.locale),a=e?.mergeAmbiguousCharacters?Ql(s,i):Xl(s,i);return n+r.map((l,c)=>c===0?s(l):a(l,c)).join(e?.delimiter??"")+o}function lr(t,e){return Yl(t,{delimiter:"_",...e})}function Xs(t){return t===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t)}function Jl(t){return t===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t)}function Ql(t,e){return n=>`${e(n[0])}${t(n.slice(1))}`}function Xl(t,e){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:e(o))+t(n.slice(1))}}function ei(t,e={}){const n=e.split??(e.separateNumbers?Kl:Qs),r=e.prefixCharacters??ao,o=e.suffixCharacters??ao;let s=0,i=t.length;for(;s<t.length;){const a=t.charAt(s);if(!r.includes(a))break;s++}for(;i>s;){const a=i-1,l=t.charAt(a);if(!o.includes(l))break;i=a}return[t.slice(0,s),n(t.slice(s,i)),t.slice(i)]}const ti=t=>new Promise(e=>setTimeout(()=>e(),t)),cr=t=>typeof t=="object"&&t!==null&&t.constructor.name==="Object";function ec(){}class tc extends Qe{constructor(e,n){super(`Maximum number of attempts reached: ${e}`,n)}}class nc{props;attempts=0;constructor(e={}){this.props=e}async sleep(){if(this.attempts>=this.maxAttempts)throw new tc(this.attempts);await ti(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 t,e;return{promise:new Promise((r,o)=>{t=r,e=o}),resolve:t,reject:e}},oc=t=>{const e=new Map;for(const n of t.split(",")){const r=n.match(/<([^>]+)>;\s*rel="([^"]+)"/);r&&e.set(r[2],r[1])}return e};function ni(t){return["fetch","create","update","remove","list"].includes(t)}function sc(t){if(ni(t))return t;switch(t){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function ic(t,e){return t==="create"&&e==="/api/v1/accounts"||t==="update"&&e==="/api/v1/accounts/update_credentials"||t==="create"&&e==="/api/v1/email"||t==="create"&&e==="/api/v1/featured_tag"||t==="create"&&e==="/api/v1/media"||t==="create"&&e==="/api/v2/media"?"multipart-form":"json"}async function lo(t,e,n){let r;const o=AbortSignal.timeout(e);for(;!r;){if(o.aborted)throw new Js(`Media processing timed out of ${e}ms`);try{await ti(1e3);const s=await n.get(`/api/v1/media/${t}`).then(i=>i.data);s.url&&(r=s)}catch(s){if(s instanceof Zs&&s.statusCode===404)continue;throw s}}return r}class ac{http;mediaTimeout;constructor(e,n=1e3*60){this.http=e,this.mediaTimeout=n}beforeDispatch(e){const n=sc(e.type),r=ni(e.type)?e.path:e.path+"/"+lr(e.type),o=ic(n,r),s={...e.meta,encoding:o};return{...e,type:n,path:r,meta:s}}dispatch(e){return e.type==="update"&&e.path==="/api/v1/accounts/update_credentials"?this.http.patch(e.path,e.data,e.meta).then(n=>n.data):!1}afterDispatch(e,n){if(e.type==="create"&&e.path==="/api/v2/media"){if(cr(e.data)&&e.data?.skipPolling===!0)return n;if(e.raw){const r=n;return lo(r.data.id,this.mediaTimeout,this.http).then(o=>({headers:r.headers,data:o}))}else return lo(n.id,this.mediaTimeout,this.http)}return n}}class ur{http;raw;path;params;meta;direction;constructor(e,n,r,o,s,i="next"){this.http=e,this.raw=n,this.path=r,this.params=o,this.meta=s,this.direction=i}async*values(){let e=this.path,n=this.params;for(;e!=null;){const r=await this.http.request({method:"GET",path:e,search:n,...this.meta}),o=this.getLink(r.headers.get("link"));e=o?.pathname,n=o?.search.replace(/^\?/,""),yield this.raw?r:r.data}}then(e=Promise.resolve.bind(Promise),n=Promise.reject.bind(Promise)){return this.values().next().then(r=>e(r.value),n)}getDirection(){return this.direction}setDirection(e){return new ur(this.http,this.raw,this.path,this.params,this.meta,e)}[Symbol.asyncIterator](){return this.values()}getLink(e){if(!e)return;const n=oc(e).get(this.direction);if(n)return new URL(n)}}class lc{http;hook;constructor(e,n){this.http=e,this.hook=n}dispatch(e){this.hook&&(e=this.hook.beforeDispatch(e));let n=this.hook.dispatch(e);if(n!==!1)return n;switch(e.type){case"fetch":{n=this.http.get(e.path,e.data,e.meta).then(r=>e.raw?r:r.data);break}case"create":{n=this.http.post(e.path,e.data,e.meta).then(r=>e.raw?r:r.data);break}case"update":{n=this.http.put(e.path,e.data,e.meta).then(r=>e.raw?r:r.data);break}case"remove":{n=this.http.delete(e.path,e.data,e.meta).then(r=>e.raw?r:r.data);break}case"list":{n=new ur(this.http,e.raw,e.path,e.data);break}}return n instanceof Promise?n.then(r=>this.hook?.afterDispatch(e,r)):this.hook.afterDispatch(e,n)}}var qe=null;typeof WebSocket<"u"?qe=WebSocket:typeof MozWebSocket<"u"?qe=MozWebSocket:typeof global<"u"?qe=global.WebSocket||global.MozWebSocket:typeof window<"u"?qe=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(qe=self.WebSocket||self.MozWebSocket);const dr=qe;function cc(t){return t.readyState===dr.OPEN?Promise.resolve():new Promise((e,n)=>{const r=i=>{n(i)},o=()=>{n(new Error("WebSocket closed"))},s=()=>{e()};t.addEventListener("error",r,{once:!0}),t.addEventListener("close",o,{once:!0}),t.addEventListener("open",s,{once:!0})})}function uc(t){return t.readyState===dr.CLOSED?Promise.resolve():new Promise(e=>{const n=()=>{e()};t.addEventListener("error",n,{once:!0}),t.addEventListener("close",n,{once:!0})})}class dc{props;logger;ws;killed=!1;queue=[];backoff;constructor(e,n){this.props=e,this.logger=n,this.backoff=new nc({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new en("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const e=rc();return this.queue.push(e),e.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:e}of this.queue)e(new en("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 e=this.props.implementation??dr,n=new e(...this.props.constructorParameters);await cc(n),this.ws=n}this.logger?.log("info","Connected to WebSocket");for(const{resolve:e}of this.queue)e(this.ws);this.queue=[],await uc(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(e){this.logger?.log("error","WebSocket error:",e)}this.ws=void 0}for(const{reject:e}of this.queue)e(new en(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function fc(){let t,e;const n=new Promise((...r)=>[t,e]=r);return Object.freeze({resolve:t,reject:e,promise:n})}function hc(t,e){const n=[],r=[],o=t((...d)=>{const u=r.shift();u?u.resolve({value:d,done:!1}):n.push(d)}),s=e?.signal;let i=!1,a=null;const l=()=>{a=new Error("Abort Error")},c=()=>{o?.(),s?.removeEventListener("abort",l)};return s?.addEventListener("abort",l,{once:!0}),{async next(){const d=n.shift();if(d)return{value:d,done:!1};if(i)return{value:void 0,done:!0};if(a)return Promise.reject(a);const u=fc();return r.push(u),u.promise},async return(){i=!0,c();for(const d of r)d.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(d){return a=d,c(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*pc(t){const e=async o=>{if(!r.return)throw new xe("events.return is undefined");await r.return(o)},n=async o=>{if(!r.return)throw new xe("events.return is undefined");await r.return(o)},r=hc(o=>(t.addEventListener("message",o),t.addEventListener("error",n),t.addEventListener("close",e),()=>{t.removeEventListener("message",o),t.removeEventListener("error",n),t.removeEventListener("close",e)}));for await(const[o]of r)yield o}class mc{connector;counter;serializer;stream;logger;params;connection;constructor(e,n,r,o,s,i){this.connector=e,this.counter=n,this.serializer=r,this.stream=o,this.logger=s,this.params=i}async*values(){try{this.logger?.log("info","Subscribing to stream",this.stream);for await(this.connection of this.connector){const e=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",e),this.connection.send(e),this.counter.increment(this.stream,this.params);const n=pc(this.connection);for await(const r of n){const o=this.parseMessage(r.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 e=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(e)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(e){const n=this.params??{},r=Object.values(n);return[this.stream,...r].every(s=>e.stream.includes(s))}parseMessage(e){const n=this.serializer.deserialize("json",e);if("error"in n)throw new xe(n.error);const r=n.event==="delete"||n.payload==null?n.payload:this.serializer.deserialize("json",n.payload);return{stream:n.stream,event:n.event,payload:r}}}class _c{counts=new Map;count(e,n){const r=this.hash(e,n);return this.counts.get(r)??0}increment(e,n){const r=this.hash(e,n);this.counts.has(r)||this.counts.set(r,0),this.counts.set(r,this.counts.get(r)+1)}decrement(e,n){const r=this.hash(e,n);if(!this.counts.has(r))throw new Error("Cannot decrement non-existent count");this.counts.set(r,this.counts.get(r)-1)}hash(e,n){return JSON.stringify({stream:e,params:n})}}class yc{connector;counter;serializer;logger;constructor(e,n,r,o){this.connector=e,this.counter=n,this.serializer=r,this.logger=o}dispatch(e){if(e.type==="close")return this.connector.kill(),{};if(e.type==="prepare")return this.connector.acquire();if(e.type!=="subscribe")throw new xe(`Unknown action type ${e.type}`);const n=e.data??{},r=e.path.replace(/^\//,"").replaceAll("/",":");return new mc(this.connector,this.counter,this.serializer,r,this.logger,{...n})}[Symbol.dispose](){this.connector.kill()}}const ht=(t,e={})=>{const{context:n=[],applicable:r=!1}=e;let o={};const s={get:wc(t,n)};return r&&(o=ec,s.apply=vc(t,n)),new Proxy(o,s)},gc=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),wc=(t,e)=>(n,r)=>{if(!(typeof r=="string"&&gc.has(r))){if(r===Symbol.dispose)return t[Symbol.dispose];if(typeof r!="symbol")return r.startsWith("$")?ht(t,{context:[...e,r],applicable:!0}):ht(t,{context:[...e,lr(r)],applicable:!0})}},vc=(t,e)=>(n,r,o)=>{let s=e.pop(),i=!1;if(s==="$select")return ht(t,{context:[...e,...o],applicable:!0});if(s==="$raw"&&(s=e.pop(),i=!0),!s)throw new Error("No action specified");const a="/"+e.join("/"),[l,c]=o;return t.dispatch({type:s,path:a,data:l,meta:c,raw:i})},bc=([t,...e])=>{const n=new Headers(t);for(const r of e)for(const[o,s]of new Headers(r).entries())n.set(o,s);return n};class Ec{props;serializer;constructor(e,n){this.props=e,this.serializer=n}mergeRequestInitWithDefaults(e={}){const n={...this.props.requestInit};{const{headers:r,signal:o,...s}=e;Object.assign(n,s),n.headers=this.mergeHeadersWithDefaults(r),n.signal=this.mergeAbortSignalWithDefaults(o)}return n}resolvePath(e,n){const r=new URL(e,this.props.url);return typeof n=="string"?r.search=n:n&&(r.search=this.serializer.serialize("querystring",n)),r}mergeHeadersWithDefaults(e={}){const n=bc([this.props.requestInit?.headers??{},e]),r=new Headers(n);return this.props.accessToken&&r.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(r)}mergeAbortSignalWithDefaults(e){const n=[];return this.props.timeout&&n.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&n.push(this.props.requestInit.signal),e&&n.push(e),AbortSignal.any(n)}}class Sc{props;serializer;constructor(e,n){this.props=e,this.serializer=n}getProtocols(e=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...e]:[this.props.accessToken,...e]}resolvePath(e,n={}){const r=new URL(e,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(n.accessToken=this.props.accessToken),r.search=this.serializer.serialize("querystring",n),r}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?Number.POSITIVE_INFINITY:this.props.retry===!1?1:this.props.retry}}class Ac{get(e,n,r={}){return this.request({method:"GET",path:e,search:n,...r})}post(e,n,r={}){return this.request({method:"POST",path:e,body:n,...r})}delete(e,n,r={}){return this.request({method:"DELETE",path:e,body:n,...r})}put(e,n,r={}){return this.request({method:"PUT",path:e,body:n,...r})}patch(e,n,r={}){return this.request({method:"PATCH",path:e,body:n,...r})}}const co=t=>{const e=t.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof e=="string")switch(e){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class Pc extends Ac{serializer;config;logger;constructor(e,n,r){super(),this.serializer=e,this.config=n,this.logger=r}async request(e){const n=this.createRequest(e);try{this.logger?.log("info",`${n.method} ${n.url}`),this.logger?.log("debug"," body",{encoding:e.encoding,body:e.body});const r=await fetch(n);if(!r.ok)throw r;const o=await r.text(),s=co(r.headers);if(!s)throw new xe("The server returned data with an unknown encoding.");const i=this.serializer.deserialize(s,o);return this.logger?.log("info",`${n.method} ${n.url}`),this.logger?.log("debug"," body",o),{headers:r.headers,data:i}}catch(r){throw this.logger?.log("debug","HTTP failed",r),await this.createError(r)}}createRequest(e){const{method:n,path:r,search:o,encoding:s="json",requestInit:i={}}=e,a=this.config.resolvePath(r,o),l=this.serializer.serialize(s,e.body),c=this.config.mergeRequestInitWithDefaults(i),d=new Request(a,{method:n,body:l,...c});return typeof l=="string"&&s==="json"&&d.headers.set("Content-Type","application/json"),d}async createError(e){if(e instanceof Response){const n=co(e.headers);if(!n)throw new xe("The server returned data with an unknown encoding. The server may be down.");const r=this.serializer.deserialize(n,await e.text()),{error:o,errorDescription:s,details:i,...a}=r;return new Zs({statusCode:e.status,message:o,description:s,details:i,additionalProperties:a},{cause:e})}return e instanceof DOMException&&e.name==="TimeoutError"?new Js("Request timed out",{cause:e}):e}}class Cc{level;constructor(e){this.level=e}log(e,n,r){if(!this.level.satisfies(e))return;const o=r==null?[n]:[n,r];switch(e){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 G=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class je{level;constructor(e){this.level=e}satisfies(e){switch(e){case"debug":return!!(this.level&G.DEBUG);case"info":return!!(this.level&G.INFO);case"warn":return!!(this.level&G.WARN);case"error":return!!(this.level&G.ERROR)}}static from(e){switch(e){case"debug":return new je(G.DEBUG|G.INFO|G.WARN|G.ERROR);case"info":return new je(G.INFO|G.WARN|G.ERROR);case"warn":return new je(G.WARN|G.ERROR);case"error":return new je(G.ERROR)}}}const ri=t=>{const e=je.from(t??"warn");return new Cc(e)},oi=t=>{const e=(n,r="")=>Array.isArray(n)?n.flatMap((o,s)=>e(o,r==""?s.toString():t.onArray(r,s))):cr(n)?Object.entries(n).flatMap(([o,s])=>e(s,r===""?o:t.onObject(r,o))):[[r,n]];return e},Rc=t=>{const e=oi({onArray:(n,r)=>`${n}[${r}]`,onObject:(n,r)=>`${n}[${r}]`});return Object.fromEntries(e(t))},Lc=t=>oi({onArray:n=>`${n}[]`,onObject:(n,r)=>`${n}[${r}]`})(t).filter(([,n])=>n!=null).map(([n,r])=>`${n}=${encodeURIComponent(r)}`).join("&"),Tn=(t,e)=>Array.isArray(t)?t.map(n=>Tn(n,e)):cr(t)?Object.fromEntries(Object.entries(t).map(([n,r])=>[e(n),Tn(r,e)])):t,uo=(t,e)=>Tn(t,r=>r.includes(":")||r.startsWith("_")?r:e(r));class si{serialize(e,n){const r=uo(n,lr);switch(e){case"json":return JSON.stringify(r);case"multipart-form":{const o=new FormData;for(const[s,i]of Object.entries(Rc(r)))o.append(s,i);return o}case"querystring":return Lc(r);default:throw new xe(`Unknown content type ${e} to serialize.`)}}deserialize(e,n){switch(e){case"json":try{return uo(JSON.parse(n),Zl)}catch{throw new so(`Malformed JSON ${n} returned from the server.`,e,n)}default:throw new so(`Unknown content type ${e} returned from the server.`,e,n)}}}const Tc=t=>{const e=new si,n=new Ec(t,e),r=ri(t.log),o=new Pc(e,n,r),s=new ac(o,t.mediaTimeout),i=new lc(o,s);return ht(i,{context:["api"]})};function xc(t){const e=new si,n=new Sc(t,e),r=ri(t.log),o=new dc({constructorParameters:[n.resolvePath("/api/v1/streaming"),n.getProtocols()],implementation:t.implementation,maxAttempts:n.getMaxAttempts()},r),s=new _c,i=new yc(o,s,e,r);return ht(i)}const{getOwnPropertyNames:kc,getOwnPropertySymbols:Ic}=Object,{hasOwnProperty:Mc}=Object.prototype;function tn(t,e){return function(r,o,s){return t(r,o,s)&&e(r,o,s)}}function bt(t){return function(n,r,o){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,o);const{cache:s}=o,i=s.get(n),a=s.get(r);if(i&&a)return i===r&&a===n;s.set(n,r),s.set(r,n);const l=t(n,r,o);return s.delete(n),s.delete(r),l}}function Oc(t){return t?.[Symbol.toStringTag]}function fo(t){return kc(t).concat(Ic(t))}const Nc=Object.hasOwn||((t,e)=>Mc.call(t,e));function Me(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const Dc="__v",Uc="__o",Fc="_owner",{getOwnPropertyDescriptor:ho,keys:po}=Object;function qc(t,e){return t.byteLength===e.byteLength&&$t(new Uint8Array(t),new Uint8Array(e))}function Bc(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function $c(t,e){return t.byteLength===e.byteLength&&$t(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function jc(t,e){return Me(t.getTime(),e.getTime())}function Hc(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function zc(t,e){return t===e}function mo(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const o=new Array(r),s=t.entries();let i,a,l=0;for(;(i=s.next())&&!i.done;){const c=e.entries();let d=!1,u=0;for(;(a=c.next())&&!a.done;){if(o[u]){u++;continue}const h=i.value,f=a.value;if(n.equals(h[0],f[0],l,u,t,e,n)&&n.equals(h[1],f[1],h[0],f[0],t,e,n)){d=o[u]=!0;break}u++}if(!d)return!1;l++}return!0}const Gc=Me;function Vc(t,e,n){const r=po(t);let o=r.length;if(po(e).length!==o)return!1;for(;o-- >0;)if(!ii(t,e,n,r[o]))return!1;return!0}function ot(t,e,n){const r=fo(t);let o=r.length;if(fo(e).length!==o)return!1;let s,i,a;for(;o-- >0;)if(s=r[o],!ii(t,e,n,s)||(i=ho(t,s),a=ho(e,s),(i||a)&&(!i||!a||i.configurable!==a.configurable||i.enumerable!==a.enumerable||i.writable!==a.writable)))return!1;return!0}function Wc(t,e){return Me(t.valueOf(),e.valueOf())}function Kc(t,e){return t.source===e.source&&t.flags===e.flags}function _o(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const o=new Array(r),s=t.values();let i,a;for(;(i=s.next())&&!i.done;){const l=e.values();let c=!1,d=0;for(;(a=l.next())&&!a.done;){if(!o[d]&&n.equals(i.value,a.value,i.value,a.value,t,e,n)){c=o[d]=!0;break}d++}if(!c)return!1}return!0}function $t(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function Yc(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function ii(t,e,n,r){return(r===Fc||r===Uc||r===Dc)&&(t.$$typeof||e.$$typeof)?!0:Nc(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const Zc="[object ArrayBuffer]",Jc="[object Arguments]",Qc="[object Boolean]",Xc="[object DataView]",eu="[object Date]",tu="[object Error]",nu="[object Map]",ru="[object Number]",ou="[object Object]",su="[object RegExp]",iu="[object Set]",au="[object String]",lu={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},cu="[object URL]",uu=Object.prototype.toString;function du({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:o,areFunctionsEqual:s,areMapsEqual:i,areNumbersEqual:a,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:d,areSetsEqual:u,areTypedArraysEqual:h,areUrlsEqual:f,unknownTagComparators:p}){return function(m,y,w){if(m===y)return!0;if(m==null||y==null)return!1;const E=typeof m;if(E!==typeof y)return!1;if(E!=="object")return E==="number"?a(m,y,w):E==="function"?s(m,y,w):!1;const x=m.constructor;if(x!==y.constructor)return!1;if(x===Object)return l(m,y,w);if(Array.isArray(m))return e(m,y,w);if(x===Date)return r(m,y,w);if(x===RegExp)return d(m,y,w);if(x===Map)return i(m,y,w);if(x===Set)return u(m,y,w);const k=uu.call(m);if(k===eu)return r(m,y,w);if(k===su)return d(m,y,w);if(k===nu)return i(m,y,w);if(k===iu)return u(m,y,w);if(k===ou)return typeof m.then!="function"&&typeof y.then!="function"&&l(m,y,w);if(k===cu)return f(m,y,w);if(k===tu)return o(m,y,w);if(k===Jc)return l(m,y,w);if(lu[k])return h(m,y,w);if(k===Zc)return t(m,y,w);if(k===Xc)return n(m,y,w);if(k===Qc||k===ru||k===au)return c(m,y,w);if(p){let W=p[k];if(!W){const q=Oc(m);q&&(W=p[q])}if(W)return W(m,y,w)}return!1}}function fu({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:qc,areArraysEqual:n?ot:Bc,areDataViewsEqual:$c,areDatesEqual:jc,areErrorsEqual:Hc,areFunctionsEqual:zc,areMapsEqual:n?tn(mo,ot):mo,areNumbersEqual:Gc,areObjectsEqual:n?ot:Vc,arePrimitiveWrappersEqual:Wc,areRegExpsEqual:Kc,areSetsEqual:n?tn(_o,ot):_o,areTypedArraysEqual:n?tn($t,ot):$t,areUrlsEqual:Yc,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const o=bt(r.areArraysEqual),s=bt(r.areMapsEqual),i=bt(r.areObjectsEqual),a=bt(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:i,areSetsEqual:a})}return r}function hu(t){return function(e,n,r,o,s,i,a){return t(e,n,a)}}function pu({circular:t,comparator:e,createState:n,equals:r,strict:o}){if(n)return function(a,l){const{cache:c=t?new WeakMap:void 0,meta:d}=n();return e(a,l,{cache:c,equals:r,meta:d,strict:o})};if(t)return function(a,l){return e(a,l,{cache:new WeakMap,equals:r,meta:void 0,strict:o})};const s={cache:void 0,equals:r,meta:void 0,strict:o};return function(a,l){return e(a,l,s)}}const mu=ge(),uh=ge({strict:!0}),dh=ge({circular:!0}),fh=ge({circular:!0,strict:!0}),_u=ge({createInternalComparator:()=>Me}),hh=ge({strict:!0,createInternalComparator:()=>Me}),ph=ge({circular:!0,createInternalComparator:()=>Me}),mh=ge({circular:!0,createInternalComparator:()=>Me,strict:!0});function ge(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:o=!1}=t,s=fu(t),i=du(s),a=n?n(i):hu(i);return pu({circular:e,comparator:i,createState:r,equals:a,strict:o})}var yu={};function gu(t,e){var n=e===void 0?yu:e,r=n.indent,o=n.replacer,s=n.circularReplacer,i=n.stable,a=n.stabilizer,l=[],c=[],d=i&&a?function(u){var h={get:function(f){return u[f]}};return function(f,p){return a({key:f,value:u[f]},{key:p,value:u[p]},h)}}:void 0;return JSON.stringify(t,function(h,f){var p=f;if(typeof p=="object"&&p!==null){if(l.length){var g=l.indexOf(this)+1;g===0?l[l.length]=this:(l.splice(g),c.splice(g)),c[c.length]=h;var m=l.indexOf(p)+1;if(m>0){var y=c.slice(0,m).join(".")||".";return s?s.call(this,h,p,y):"[ref="+y+"]"}}else l[0]=p,c[0]=h;i&&!Array.isArray(p)&&(p=Object.keys(p).sort(d?.(p)).reduce(function(w,E){return w[E]=p[E],w},{}))}return o?o.call(this,h,p):p},r)}class wu{constructor(e){this.l={},this.c=e}a(e,n){const r=this.l[e];r?r.has(n)||r.add(n):this.l[e]=new Set([n])}n(e,n,r){const o=this.l[e];o&&o.forEach(s=>{s({cache:this.c,key:n.k,reason:r,value:n.v,type:e})})}r(e,n){const r=this.l[e];r&&(r.delete(n),r.size||(this.l[e]=void 0))}}function vu(t){return t===1?e=>t>=e.length?e:[e[0]]:t===2?e=>t>=e.length?e:[e[0],e[1]]:e=>{if(t>=e.length)return e;const n=new Array(t);for(let r=0;r<t;++r)n[r]=e[r];return n}}function bu(t,e){const n=typeof e;return n==="function"||n==="symbol"?e.toString():e}function Eu(t){return[gu(t,{replacer:bu})]}function Su(t,e){return t[0]===e[0]}function Au(t){return typeof t=="function"&&t.isMemoized}function fr(t){return typeof t=="number"&&t>=0&&Number.isFinite(t)}class Pu{constructor(e){this.c=0;const{async:n,maxSize:r}=e;this.e=Cu(e),this.k=Ru(e),this.p=typeof n=="boolean"&&n,this.s=fr(r)?r:1}get size(){return this.c}get snapshot(){const e=[],n=[],r=[];let o=this.h,s=0;for(;o!=null;)n.push(o.k),r.push(o.v),e.push([o.k,o.v]),++s,o=o.n;return{entries:e,keys:n,size:s,values:r}}clear(e="explicit clear"){if(!this.h)return;const n=this.o;let r;if(n){r=[];let o=this.h;for(;o!=null;)r.push(o),o=o.n}if(this.h=this.t=void 0,this.c=0,n&&r)for(let o=0;o<r.length;++o)n.n("delete",r[o],e)}delete(e,n="explicit delete"){const r=this.g(this.k?this.k(e):e);return r?(this.d(r,n),!0):!1}get(e,n="explicit get"){const r=this.g(this.k?this.k(e):e);if(r)return r!==this.h?this.u(r,n,!0):this.o&&this.o.n("hit",r,n),r.v}has(e){return!!this.g(this.k?this.k(e):e)}off(e,n){this.o&&this.o.r(e,n)}on(e,n){this.o||(this.o=new wu(this)),this.o.a(e,n)}set(e,n,r="explicit set"){const o=this.k?this.k(e):e;let s=this.g(o);if(s){const i=s.v;s.v=n,this.p&&n!==i&&(s.v=this.w(s)),s!==this.h&&this.u(s,r,!1)}else s=this.n(o,n)}d(e,n){const r=e.n,o=e.p;r?r.p=o:this.t=o,o?o.n=r:this.h=r,--this.c,e.r=!0,this.o&&this.o.n("delete",e,n)}g(e){let n=this.h;if(!(!n||n.r)){if(this.e(n.k,e))return n;if(this.h!==this.t)for(n=n.n;n;){if(n.r)return;if(this.e(n.k,e))return n;n=n.n}}}n(e,n,r){const o=this.h,s=this.t,i={k:e,n:o,p:void 0,v:n};return this.p&&(i.v=this.w(i)),this.h=i,o?o.p=i:this.t=i,++this.c>this.s&&s&&this.d(s,"evicted"),this.o&&this.o.n("add",i,r),i}u(e,n,r){const o=e.n,s=e.p;o&&(o.p=s),s&&(s.n=o),this.h&&(this.h.p=e),e.n=this.h,e.p=void 0,this.h=e,e===this.t&&(this.t=s),this.o&&(r&&this.o.n("hit",e,n),this.o.n("update",e,n))}w(e){const{v:n}=e;return n==null||typeof n.then!="function"?n:n.then(r=>(!e.r&&this.o&&this.o.n("update",e,"resolved"),r),r=>{throw!e.r&&this.d(e,"rejected"),r})}}function Cu({isKeyEqual:t,isKeyItemEqual:e,serialize:n}){if(typeof t=="function")return t;if(n)return Su;const r=typeof e=="function"?e:e==="deep"?mu:e==="shallow"?_u:Object.is;return function(s,i){const a=i.length;if(s.length!==a)return!1;if(a===1)return r(s[0],i[0],0);for(let l=0;l<a;++l)if(!r(s[l],i[l],l))return!1;return!0}}function Ru(t){const{maxArgs:e,serialize:n,transformKey:r}=t,o=[n?typeof n=="function"?n:Eu:void 0,fr(e)?vu(e):void 0,typeof r=="function"?r:void 0].filter(Boolean);return o.length?o.reduce((s,i)=>(...a)=>s(i(...a))):void 0}class Lu{constructor(e,n){if(this.e=new Map,this.c=e,typeof n=="object"?(this.t=n.after,this.p=n.shouldPersist,this.r=n.shouldRemove,this.u=!!n.update):(this.t=n,this.u=!1),this.c.on("add",({key:r,value:o})=>{this.a(r,o)&&this.s(r,o)}),this.u&&(this.c.on("hit",({key:r,value:o})=>{this.a(r,o)&&this.s(r,o)}),this.c.p)){const r=({key:o,reason:s,value:i})=>{s==="resolved"&&this.a(o,i)&&(this.s(o,i),this.c.off("update",r))};this.c.on("update",r)}this.c.on("delete",({key:r})=>{this.e.has(r)&&this.d(r)})}get size(){return this.e.size}a(e,n){var r;return!!(this.c.g(e)&&!(!((r=this.p)===null||r===void 0)&&r.call(this,e,n,this.c)))}d(e){const n=this.e.get(e);n&&(clearTimeout(n),this.e.delete(e))}s(e,n){this.e.has(e)&&this.d(e);const r=this.c,o=typeof this.t=="function"?this.t(e,n,r):this.t;if(!fr(o))throw new TypeError(`The expiration time must be a finite, non-negative number; received ${o}`);const s=setTimeout(()=>{this.d(e);const i=r.g(e);i&&(typeof this.r=="function"&&!this.r(e,i.v,o,r)?(i!==r.h?r.u(i,"expiration reset",!1):r.o&&r.o.n("update",i,"expiration reset"),this.s(e,i.v)):r.d(i,"expired"))},o);typeof s.unref=="function"&&s.unref(),this.e.set(e,s)}}const Tu=new Map;let xu=!1;class ku{constructor(e,n){this.p={c:0,h:0},this.c=e,this.n=n,Tu.set(n,this),xu&&this.s()}m(){const{c:e,h:n}=this.p,r=e?`${(n/e*100).toFixed(4)}%`:"0.0000%";return{calls:e,hits:n,name:this.n,usage:r}}r(){this.p={c:0,h:0}}s(){const e=()=>{++this.p.c},n=()=>{++this.p.c,++this.p.h};this.d=()=>{this.c.off("add",e),this.c.off("hit",n),this.d=void 0,this.p.c=this.p.h=0},this.c.on("add",e),this.c.on("hit",n)}}const ai=function t(e,n={}){if(Au(e))return t(e.fn,Object.assign({},e.options,n));if(typeof e!="function")throw new TypeError(`Expected first parameter to be function; received ${typeof e}`);const r=new Pu(n),o=Iu(e,r,n.forceUpdate),{expires:s,statsName:i}=n;return o.cache=r,o.expirationManager=s!=null?new Lu(r,s):null,o.fn=e,o.isMemoized=!0,o.options=n,o.statsManager=i!=null?new ku(r,i):null,o};function Iu(t,e,n){const r=function(...s){const i=e.k?e.k(s):s;let a=e.g(i);return a?a!==e.h?e.u(a,void 0,!0):e.o&&e.o.n("hit",a):a=e.n(i,t.apply(this,s)),a.v};return n?function(...s){if(!n(s)||!e.has(s))return r.apply(this,s);const i=t.apply(this,s);return e.set(s,i,"forced"),i}:r}typeof window<"u"&&(window._memoize=ai);function Xe(t,e={}){return ai(t,{...e,maxSize:30,isKeyItemEqual:"deep"})}function Et(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var Mu={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function xn(t,e){function n(o,s,i){if(!(typeof document>"u")){i=Et({},e,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 a="";for(var l in i)i[l]&&(a+="; "+l,i[l]!==!0&&(a+="="+i[l].split(";")[0]));return document.cookie=o+"="+t.write(s,o)+a}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},a=0;a<s.length;a++){var l=s[a].split("="),c=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(i[d]=t.read(c,d),o===d)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,s){n(o,"",Et({},s,{expires:-1}))},withAttributes:function(o){return xn(this.converter,Et({},this.attributes,o))},withConverter:function(o){return xn(Et({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Ou=xn(Mu,{path:"/"});function et(){return P.local.getJSON("accounts")||[]}function hr(t){P.local.setJSON("accounts",t)}const Nu=300*1e3;function kn(t){const e=et(),n=t?e.find(o=>o.info.id===t):e[0];if(!n)return null;const r=Date.now();return r-n.lastAccessedAt>Nu&&(n.lastAccessedAt=r,hr(e)),n}function Du(t){return et().find(n=>n.accessToken===t)}function Uu(t){return et().find(n=>n.instanceURL===t)}function _h(t){return et().some(n=>n.instanceURL===t)}const li=typeof window<"u"?window.matchMedia("(display-mode: standalone)"):null;function ci(){try{const t=P.session.get("currentAccount");if(t)return t}catch{}if(li?.matches)try{const t=P.local.get("currentAccount");if(t)return t}catch{}return null}const Fu=Xe(ci,{expires:60*1e3});function qu(t){Fu.cache.clear();try{P.session.set("currentAccount",t)}catch{}if(li?.matches)try{P.local.set("currentAccount",t)}catch{}}function gt(){window.__IGNORE_GET_ACCOUNT_ERROR__;const t=ci();let e=kn(t);return e||(e=kn()),e}const Bu=Xe(gt,{expires:60*1e3});function nn(){const t=gt(),{instanceURL:e,info:{id:n}}=t;return`${n}@${e}`}function $u(t){const e=et(),n=e.find(r=>r.info.id===t.info.id);n?(n.info=t.info,n.instanceURL=t.instanceURL,n.accessToken=t.accessToken,n.vapidKey=t.vapidKey,n.updatedAt=Date.now()):e.push(t),hr(e)}function yh(t){const e=et(),n=e.find(r=>r.info.id===t.id);n&&(n.info.displayName!==t.displayName||n.info.avatar!==t.avatar||n.info.avatar_static!==t.avatar_static)&&(n.info={...n.info,...t},hr(e))}let rn=null;function pr(){if(rn)return rn;try{const t=gt(),e=P.local.getJSON("instances"),n=t.instanceURL.toLowerCase();return rn=e[n]}catch{return{}}}let on=null;function gh(){if(on)return on;try{const t=gt(),e=P.local.getJSON("nodeInfos")||{},n=t.instanceURL.toLowerCase();return on=e[n]||{}}catch{return{}}}function ui(t){const{configuration:e,maxMediaAttachments:n,maxTootChars:r,pollLimits:o}=t,s=e?.statuses||{};n&&(s.maxMediaAttachments??=n),r&&(s.maxCharacters??=r);const i=e?.polls||{};return o&&(i.maxCharactersPerOption??=o.maxOptionChars,i.maxExpiration??=o.maxExpiration,i.maxOptions??=o.maxOptions,i.minExpiration??=o.minExpiration),{...e,statuses:s,polls:i}}function ju(){const t=pr();return ui(t)}function wh(){return pr()?.apiVersions||{}}function vh(t){const e=t?ui(t):ju();return e?.vapid?.publicKey||e?.vapid?.public_key||gt()?.vapidKey}function bh(){const t=pr();return/pixelfed/i.test(t?.version)}const In="credentialApplications";function Eh(t,e){const n=P.local.getJSON(In)||{};n[t]=e,P.local.setJSON(In,n)}function Sh(t){return(P.local.getJSON(In)||{})[t]||null}const ze=Ou.withAttributes({sameSite:"strict",secure:!0}),sn=navigator.cookieEnabled&&(()=>{try{const t="__phanpy_can_set_secure_cookie__";ze.set(t,"1");const n=ze.get(t)==="1";return ze.remove(t),n}catch{return!1}})(),de={get:t=>{try{return localStorage.getItem(t)}catch{return null}},getJSON:t=>{try{return JSON.parse(de.get(t))}catch{return null}},set:(t,e)=>{try{return localStorage.setItem(t,e)}catch{return null}},setJSON:(t,e)=>{try{return de.set(t,JSON.stringify(e))}catch{return null}},del:t=>{try{return localStorage.removeItem(t)}catch{return null}}},Ge={get:t=>{try{return sessionStorage.getItem(t)}catch{return null}},getJSON:t=>{try{return JSON.parse(Ge.get(t))}catch{return null}},set:(t,e)=>{try{return sessionStorage.setItem(t,e)}catch{return null}},setJSON:(t,e)=>{try{return Ge.set(t,JSON.stringify(e))}catch{return null}},del:t=>{try{return sessionStorage.removeItem(t)}catch{return null}}},Tt={get:t=>ze.get(t),set:(t,e)=>ze.set(t,e),del:t=>ze.remove(t)},Hu={get:t=>sn?Tt.get(t):Ge.get(t),set:(t,e)=>sn?Tt.set(t,e):Ge.set(t,e),del:t=>sn?Tt.del(t):Ge.del(t)},zu={get:t=>{try{return de.getJSON(t)[nn()]}catch{return null}},set:(t,e)=>{try{const n=de.getJSON(t)||{};return n[nn()]=e,de.setJSON(t,n)}catch{return null}},del:t=>{try{const e=de.getJSON(t)||{};return delete e[nn()],de.setJSON(t,e)}catch{return null}}},P={local:de,session:Ge,sessionCookie:Hu,cookie:Tt,account:zu},xt="mastodon.social",jt={},V={};window.__ACCOUNT_APIS__=V;let j;function ce({instance:t,accessToken:e}){/^https?:\/\//.test(t)&&(t=t.replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase());const n=t?`https://${t}`:`https://${xt}`,o={masto:Tc({url:n,accessToken:e,timeout:2*6e4,mediaTimeout:10*6e4}),instance:t,accessToken:e,onStreamingReady:function(s){this._streamingCallback=s}};return jt[t]=o,V[t]||(V[t]={}),e&&(V[t][e]=o),o}function Ah(t){return!!(P.local.getJSON("instances")||{})[t]}async function Ph(t,e){const{masto:n,accessToken:r}=t;let o;__BENCHMARK.start("fetch-instance");try{o=await n.v2.instance.fetch()}catch{}if(!o)try{o=await n.v1.instance.fetch()}catch{}if(__BENCHMARK.end("fetch-instance"),!o)return;const{uri:s,urls:{streamingApi:i}={},domain:a,configuration:{urls:{streaming:l}={}}={}}=o,c=P.local.getJSON("instances")||{};(s||a)&&(c[(a||s).replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase()]=o),e&&(c[e.toLowerCase()]=o),P.local.setJSON("instances",c);let d;try{if(s||a){let f=s||`https://${a}`;const p=await(await fetch(`${f}/.well-known/nodeinfo`)).json();if(Array.isArray(p?.links)){const g="http://nodeinfo.diaspora.software/ns/schema/",m=p.links.filter(y=>typeof y.rel=="string"&&y.rel.startsWith(g)&&Bl(y.rel.slice(g.length))).map(y=>({version:y.rel.slice(g.length),href:y.href})).sort((y,w)=>-Ks(y.version,w.version)).find(y=>Lt(y.version,"<=2"))?.href;m&&(d=await(await fetch(m)).json())}}}catch{}const u=P.local.getJSON("nodeInfos")||{};if(d&&(u[e.toLowerCase()]=d),P.local.setJSON("nodeInfos",u),"WebSocket"in window&&(i||l)){const f=xc({streamingApiUrl:l||i,accessToken:r,implementation:WebSocket});if(t.streaming=f,t._streamingCallback){try{t._streamingCallback(f)}catch{}t._streamingCallback=null}}__BENCHMARK.end("init-instance")}async function Ch(t,e,n,r){const{masto:o}=t,s=await o.v1.accounts.verifyCredentials();qu(s.id),$u({info:s,instanceURL:e.toLowerCase(),accessToken:n,vapidKey:r,createdAt:Date.now()})}const di=Xe(()=>P.account.get("preferences")||{},{expires:60*1e3});function Gu(t){di.cache.clear(),P.account.set("preferences",t)}function Rh(){return!!di()}async function Lh(t){try{const{masto:e}=t;__BENCHMARK.start("fetch-preferences");const n=await e.v1.preferences.fetch();__BENCHMARK.end("fetch-preferences"),Gu(n)}catch{}}function Ht({instance:t,accessToken:e,accountID:n,account:r}={}){if(t&&(t=t.toLowerCase().trim()),t&&e){const l=V[t]?.[e]||ce({instance:t,accessToken:e}),{masto:c,streaming:d}=l;return{masto:c,streaming:d,client:l,authenticated:!0,instance:t}}if(e)for(const l in V)if(V[l][e]){const c=V[l][e],{masto:d,streaming:u}=c;return{masto:d,streaming:u,client:c,authenticated:!0,instance:l}}else{const c=Du(e);if(c){const d=c.accessToken,u=c.instanceURL.toLowerCase().trim(),h=ce({instance:u,accessToken:d}),{masto:f,streaming:p}=h;return{masto:f,streaming:p,client:h,authenticated:!0,instance:u}}else throw new Error("Access token not found")}if(r||n)if(r=r||kn(n),r){const l=r.accessToken,c=r.instanceURL.toLowerCase().trim(),d=V[c]?.[l]||ce({instance:c,accessToken:l}),{masto:u,streaming:h}=d;return{masto:u,streaming:h,client:d,authenticated:!0,instance:c}}else throw new Error(`Account ${n} not found`);const o=Bu();if(t){if(j?.instance===t)return{masto:j.masto,streaming:j.streaming,client:j,authenticated:!0,instance:t};if(o?.instanceURL===t){const{accessToken:f}=o;return j=V[t]?.[f]||ce({instance:t,accessToken:f}),{masto:j.masto,streaming:j.streaming,client:j,authenticated:!0,instance:t}}const l=Uu(t);if(l){const f=l.accessToken,p=V[t]?.[f]||ce({instance:t,accessToken:f}),{masto:g,streaming:m}=p;return{masto:g,streaming:m,client:p,authenticated:!0,instance:t}}const c=jt[t]||ce({instance:t}),{masto:d,streaming:u,accessToken:h}=c;return{masto:d,streaming:u,client:c,authenticated:!!h,instance:t}}if(j)return{masto:j.masto,streaming:j.streaming,client:j,authenticated:!0,instance:j.instance};if(o){const{accessToken:l,instanceURL:c}=o;return j=V[c]?.[l]||ce({instance:c,accessToken:l}),{masto:j.masto,streaming:j.streaming,client:j,authenticated:!0,instance:c}}const s=jt[xt]||ce({instance:xt}),{masto:i,streaming:a}=s;return{masto:i,streaming:a,client:s,authenticated:!1,instance:xt}}window.__API__={currentAccountApi:j,apis:jt,accountApis:V};const{getOwnPropertyNames:Vu,getOwnPropertySymbols:Wu}=Object,{hasOwnProperty:Ku}=Object.prototype;function an(t,e){return function(r,o,s){return t(r,o,s)&&e(r,o,s)}}function St(t){return function(n,r,o){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,o);const{cache:s}=o,i=s.get(n),a=s.get(r);if(i&&a)return i===r&&a===n;s.set(n,r),s.set(r,n);const l=t(n,r,o);return s.delete(n),s.delete(r),l}}function yo(t){return Vu(t).concat(Wu(t))}const Yu=Object.hasOwn||((t,e)=>Ku.call(t,e)),Zu="__v",Ju="__o",Qu="_owner",{getOwnPropertyDescriptor:go,keys:wo}=Object,Oe=Object.is||function(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n};function Xu(t,e){return t===e}function ed(t,e){return t.byteLength===e.byteLength&&zt(new Uint8Array(t),new Uint8Array(e))}function td(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function nd(t,e){return t.byteLength===e.byteLength&&zt(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function rd(t,e){return Oe(t.getTime(),e.getTime())}function od(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function vo(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const o=new Array(r),s=t.entries();let i,a,l=0;for(;(i=s.next())&&!i.done;){const c=e.entries();let d=!1,u=0;for(;(a=c.next())&&!a.done;){if(o[u]){u++;continue}const h=i.value,f=a.value;if(n.equals(h[0],f[0],l,u,t,e,n)&&n.equals(h[1],f[1],h[0],f[0],t,e,n)){d=o[u]=!0;break}u++}if(!d)return!1;l++}return!0}function sd(t,e,n){const r=wo(t);let o=r.length;if(wo(e).length!==o)return!1;for(;o-- >0;)if(!fi(t,e,n,r[o]))return!1;return!0}function st(t,e,n){const r=yo(t);let o=r.length;if(yo(e).length!==o)return!1;let s,i,a;for(;o-- >0;)if(s=r[o],!fi(t,e,n,s)||(i=go(t,s),a=go(e,s),(i||a)&&(!i||!a||i.configurable!==a.configurable||i.enumerable!==a.enumerable||i.writable!==a.writable)))return!1;return!0}function id(t,e){return Oe(t.valueOf(),e.valueOf())}function ad(t,e){return t.source===e.source&&t.flags===e.flags}function bo(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const o=new Array(r),s=t.values();let i,a;for(;(i=s.next())&&!i.done;){const l=e.values();let c=!1,d=0;for(;(a=l.next())&&!a.done;){if(!o[d]&&n.equals(i.value,a.value,i.value,a.value,t,e,n)){c=o[d]=!0;break}d++}if(!c)return!1}return!0}function zt(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function ld(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function fi(t,e,n,r){return(r===Qu||r===Ju||r===Zu)&&(t.$$typeof||e.$$typeof)?!0:Yu(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const cd=Object.prototype.toString;function ud(t){const e=pd(t),{areArraysEqual:n,areDatesEqual:r,areFunctionsEqual:o,areMapsEqual:s,areNumbersEqual:i,areObjectsEqual:a,areRegExpsEqual:l,areSetsEqual:c,getUnsupportedCustomComparator:d}=t;return function(h,f,p){if(h===f)return!0;if(h==null||f==null)return!1;const g=typeof h;if(g!==typeof f)return!1;if(g!=="object")return g==="number"||g==="bigint"?i(h,f,p):g==="function"?o(h,f,p):!1;const m=h.constructor;if(m!==f.constructor)return!1;if(m===Object)return a(h,f,p);if(m===Array)return n(h,f,p);if(m===Date)return r(h,f,p);if(m===RegExp)return l(h,f,p);if(m===Map)return s(h,f,p);if(m===Set)return c(h,f,p);if(m===Promise)return!1;if(Array.isArray(h))return n(h,f,p);const y=cd.call(h),w=e[y];if(w)return w(h,f,p);const E=d&&d(h,f,p,y);return E?E(h,f,p):!1}}function dd({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:ed,areArraysEqual:n?st:td,areDataViewsEqual:nd,areDatesEqual:rd,areErrorsEqual:od,areFunctionsEqual:Xu,areMapsEqual:n?an(vo,st):vo,areNumbersEqual:Oe,areObjectsEqual:n?st:sd,arePrimitiveWrappersEqual:id,areRegExpsEqual:ad,areSetsEqual:n?an(bo,st):bo,areTypedArraysEqual:n?an(zt,st):zt,areUrlsEqual:ld,getUnsupportedCustomComparator:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const o=St(r.areArraysEqual),s=St(r.areMapsEqual),i=St(r.areObjectsEqual),a=St(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:i,areSetsEqual:a})}return r}function fd(t){return function(e,n,r,o,s,i,a){return t(e,n,a)}}function hd({circular:t,comparator:e,createState:n,equals:r,strict:o}){if(n)return function(a,l){const{cache:c=t?new WeakMap:void 0,meta:d}=n();return e(a,l,{cache:c,equals:r,meta:d,strict:o})};if(t)return function(a,l){return e(a,l,{cache:new WeakMap,equals:r,meta:void 0,strict:o})};const s={cache:void 0,equals:r,meta:void 0,strict:o};return function(a,l){return e(a,l,s)}}function pd({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:o,areFunctionsEqual:s,areMapsEqual:i,areNumbersEqual:a,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:d,areSetsEqual:u,areTypedArraysEqual:h,areUrlsEqual:f}){return{"[object Arguments]":l,"[object Array]":e,"[object ArrayBuffer]":t,"[object AsyncGeneratorFunction]":s,"[object BigInt]":a,"[object BigInt64Array]":h,"[object BigUint64Array]":h,"[object Boolean]":c,"[object DataView]":n,"[object Date]":r,"[object Error]":o,"[object Float16Array]":h,"[object Float32Array]":h,"[object Float64Array]":h,"[object Function]":s,"[object GeneratorFunction]":s,"[object Int8Array]":h,"[object Int16Array]":h,"[object Int32Array]":h,"[object Map]":i,"[object Number]":c,"[object Object]":(p,g,m)=>typeof p.then!="function"&&typeof g.then!="function"&&l(p,g,m),"[object RegExp]":d,"[object Set]":u,"[object String]":c,"[object URL]":f,"[object Uint8Array]":h,"[object Uint8ClampedArray]":h,"[object Uint16Array]":h,"[object Uint32Array]":h}}const md=we(),Th=we({strict:!0}),xh=we({circular:!0}),kh=we({circular:!0,strict:!0}),Ih=we({createInternalComparator:()=>Oe}),Mh=we({strict:!0,createInternalComparator:()=>Oe}),Oh=we({circular:!0,createInternalComparator:()=>Oe}),Nh=we({circular:!0,createInternalComparator:()=>Oe,strict:!0});function we(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:o=!1}=t,s=dd(t),i=ud(s),a=n?n(i):fd(i);return hd({circular:e,comparator:i,createState:r,equals:a,strict:o})}function hi(t,e,n,r){let o=t[e];return ar(t,()=>{const s=t[e];Object.is(o,s)||n(o=s)},r)}const{proxyStateMap:Dh,snapCache:Uh}=Vs();const{proxyStateMap:Fh,snapCache:qh}=Vs();function _d(t){try{const{pathname:e,hash:n,hostname:r}=URL.parse(t);return/^\/.*\/\d+$/i.test(e)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(e)||/^\/notes\/[a-z0-9]+$/i.test(e)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(e)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(e)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(e)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(e)||/(fed|bsky)\.brid\.gy/i.test(r)&&e.startsWith("/r/http")||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(e)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(e)||/^\/v\/[a-z0-9]+$/i.test(e)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(n)}catch{return!1}}function yd(t,e={}){return Xe(t,{async:!0,...e})}function gd(t,e){let n=[],r=!1;function o(){if(n.length===0){r=!1;return}n.shift()(),setTimeout(o,e)}return function(...s){const i=()=>t.apply(this,s);n.push(i),r||(r=!0,setTimeout(o,e))}}var kt={exports:{}},Bh=kt.exports,Eo;function wd(){return Eo||(Eo=1,(function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function o(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function s(l,c,d,u,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var f=new o(d,u||l,h),p=n?n+c:c;return l._events[p]?l._events[p].fn?l._events[p]=[l._events[p],f]:l._events[p].push(f):(l._events[p]=f,l._eventsCount++),l}function i(l,c){--l._eventsCount===0?l._events=new r:delete l._events[c]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var c=[],d,u;if(this._eventsCount===0)return c;for(u in d=this._events)e.call(d,u)&&c.push(n?u.slice(1):u);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(d)):c},a.prototype.listeners=function(c){var d=n?n+c:c,u=this._events[d];if(!u)return[];if(u.fn)return[u.fn];for(var h=0,f=u.length,p=new Array(f);h<f;h++)p[h]=u[h].fn;return p},a.prototype.listenerCount=function(c){var d=n?n+c:c,u=this._events[d];return u?u.fn?1:u.length:0},a.prototype.emit=function(c,d,u,h,f,p){var g=n?n+c:c;if(!this._events[g])return!1;var m=this._events[g],y=arguments.length,w,E;if(m.fn){switch(m.once&&this.removeListener(c,m.fn,void 0,!0),y){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,d),!0;case 3:return m.fn.call(m.context,d,u),!0;case 4:return m.fn.call(m.context,d,u,h),!0;case 5:return m.fn.call(m.context,d,u,h,f),!0;case 6:return m.fn.call(m.context,d,u,h,f,p),!0}for(E=1,w=new Array(y-1);E<y;E++)w[E-1]=arguments[E];m.fn.apply(m.context,w)}else{var x=m.length,k;for(E=0;E<x;E++)switch(m[E].once&&this.removeListener(c,m[E].fn,void 0,!0),y){case 1:m[E].fn.call(m[E].context);break;case 2:m[E].fn.call(m[E].context,d);break;case 3:m[E].fn.call(m[E].context,d,u);break;case 4:m[E].fn.call(m[E].context,d,u,h);break;default:if(!w)for(k=1,w=new Array(y-1);k<y;k++)w[k-1]=arguments[k];m[E].fn.apply(m[E].context,w)}}return!0},a.prototype.on=function(c,d,u){return s(this,c,d,u,!1)},a.prototype.once=function(c,d,u){return s(this,c,d,u,!0)},a.prototype.removeListener=function(c,d,u,h){var f=n?n+c:c;if(!this._events[f])return this;if(!d)return i(this,f),this;var p=this._events[f];if(p.fn)p.fn===d&&(!h||p.once)&&(!u||p.context===u)&&i(this,f);else{for(var g=0,m=[],y=p.length;g<y;g++)(p[g].fn!==d||h&&!p[g].once||u&&p[g].context!==u)&&m.push(p[g]);m.length?this._events[f]=m.length===1?m[0]:m:i(this,f)}return this},a.prototype.removeAllListeners=function(c){var d;return c?(d=n?n+c:c,this._events[d]&&i(this,d)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(kt)),kt.exports}var vd=wd();const bd=Mi(vd);class mr extends Error{name="TimeoutError";constructor(e,n){super(e,n),Error.captureStackTrace?.(this,mr)}}const So=t=>t.reason??new DOMException("This operation was aborted.","AbortError");function Ed(t,e){const{milliseconds:n,fallback:r,message:o,customTimers:s={setTimeout,clearTimeout},signal:i}=e;let a,l;const d=new Promise((u,h)=>{if(typeof n!="number"||Math.sign(n)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(i?.aborted){h(So(i));return}if(i&&(l=()=>{h(So(i))},i.addEventListener("abort",l,{once:!0})),t.then(u,h),n===Number.POSITIVE_INFINITY)return;const f=new mr;a=s.setTimeout.call(void 0,()=>{if(r){try{u(r())}catch(p){h(p)}return}typeof t.cancel=="function"&&t.cancel(),o===!1?u():o instanceof Error?h(o):(f.message=o??`Promise timed out after ${n} milliseconds`,h(f))},n)}).finally(()=>{d.clear(),l&&i&&i.removeEventListener("abort",l)});return d.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},d}function Sd(t,e,n){let r=0,o=t.length;for(;o>0;){const s=Math.trunc(o/2);let i=r+s;n(t[i],e)<=0?(r=++i,o-=s+1):o=s}return r}class Ad{#n=[];enqueue(e,n){const{priority:r=0,id:o}=n??{},s={priority:r,id:o,run:e};if(this.size===0||this.#n[this.size-1].priority>=r){this.#n.push(s);return}const i=Sd(this.#n,s,(a,l)=>l.priority-a.priority);this.#n.splice(i,0,s)}setPriority(e,n){const r=this.#n.findIndex(s=>s.id===e);if(r===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[o]=this.#n.splice(r,1);this.enqueue(o.run,{priority:n,id:e})}dequeue(){return this.#n.shift()?.run}filter(e){return this.#n.filter(n=>n.priority===e.priority).map(n=>n.run)}get size(){return this.#n.length}}class Pd extends bd{#n;#i;#a=0;#h;#m=!1;#g=!1;#l;#C=0;#w=0;#c;#u;#s;#o=[];#r=0;#e;#R;#t=0;#_;#d;#I=1n;#y=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:Ad,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#n=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#i=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#h=e.intervalCap,this.#l=e.interval,this.#s=e.strict,this.#e=new e.queueClass,this.#R=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#d=e.autoStart===!1,this.#B()}#v(e){for(;this.#r<this.#o.length;){const r=this.#o[this.#r];if(r!==void 0&&e-r>=this.#l)this.#r++;else break}(this.#r>100&&this.#r>this.#o.length/2||this.#r===this.#o.length)&&(this.#o=this.#o.slice(this.#r),this.#r=0)}#M(e){this.#s?this.#o.push(e):this.#a++}#O(){this.#s?this.#o.length>this.#r&&this.#o.pop():this.#a>0&&this.#a--}#b(){return this.#o.length-this.#r}get#N(){return this.#i?!0:this.#s?this.#b()<this.#h:this.#a<this.#h}get#D(){return this.#t<this.#_}#U(){this.#t--,this.#t===0&&this.emit("pendingZero"),this.#A(),this.emit("next")}#F(){this.#u=void 0,this.#x(),this.#T()}#q(e){if(this.#s){if(this.#v(e),this.#b()>=this.#h){const r=this.#o[this.#r],o=this.#l-(e-r);return this.#E(o),!0}return!1}if(this.#c===void 0){const n=this.#C-e;if(n<0){if(this.#w>0){const r=e-this.#w;if(r<this.#l)return this.#E(this.#l-r),!0}this.#a=this.#n?this.#t:0}else return this.#E(n),!0}return!1}#E(e){this.#u===void 0&&(this.#u=setTimeout(()=>{this.#F()},e))}#S(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#L(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#A(){if(this.#e.size===0){if(this.#S(),this.emit("empty"),this.#t===0){if(this.#L(),this.#s&&this.#r>0){const n=Date.now();this.#v(n)}this.emit("idle")}return!1}let e=!1;if(!this.#d){const n=Date.now(),r=!this.#q(n);if(this.#N&&this.#D){const o=this.#e.dequeue();this.#i||(this.#M(n),this.#p()),this.emit("active"),o(),r&&this.#T(),e=!0}}return e}#T(){this.#i||this.#c!==void 0||this.#s||(this.#c=setInterval(()=>{this.#x()},this.#l),this.#C=Date.now()+this.#l)}#x(){this.#s||(this.#a===0&&this.#t===0&&this.#c&&this.#S(),this.#a=this.#n?this.#t:0),this.#P(),this.#p()}#P(){for(;this.#A(););}get concurrency(){return this.#_}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#_=e,this.#P()}setPriority(e,n){if(typeof n!="number"||!Number.isFinite(n))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${n}\` (${typeof n})`);this.#e.setPriority(e,n)}async add(e,n={}){return n={timeout:this.timeout,...n,id:n.id??(this.#I++).toString()},new Promise((r,o)=>{const s=Symbol(`task-${n.id}`);this.#e.enqueue(async()=>{this.#t++,this.#y.set(s,{id:n.id,priority:n.priority??0,startTime:Date.now(),timeout:n.timeout});let i;try{try{n.signal?.throwIfAborted()}catch(c){throw this.#$(),this.#y.delete(s),c}this.#w=Date.now();let a=e({signal:n.signal});if(n.timeout&&(a=Ed(Promise.resolve(a),{milliseconds:n.timeout,message:`Task timed out after ${n.timeout}ms (queue has ${this.#t} running, ${this.#e.size} waiting)`})),n.signal){const{signal:c}=n;a=Promise.race([a,new Promise((d,u)=>{i=()=>{u(c.reason)},c.addEventListener("abort",i,{once:!0})})])}const l=await a;r(l),this.emit("completed",l)}catch(a){o(a),this.emit("error",a)}finally{i&&n.signal?.removeEventListener("abort",i),this.#y.delete(s),queueMicrotask(()=>{this.#U()})}},n),this.emit("add"),this.#A()})}async addAll(e,n){return Promise.all(e.map(async r=>this.add(r,n)))}start(){return this.#d?(this.#d=!1,this.#P(),this):this}pause(){this.#d=!0}clear(){this.#e=new this.#R,this.#S(),this.#k(),this.emit("empty"),this.#t===0&&(this.#L(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#e.size!==0&&await this.#f("empty")}async onSizeLessThan(e){this.#e.size<e||await this.#f("next",()=>this.#e.size<e)}async onIdle(){this.#t===0&&this.#e.size===0||await this.#f("idle")}async onPendingZero(){this.#t!==0&&await this.#f("pendingZero")}async onRateLimit(){this.isRateLimited||await this.#f("rateLimit")}async onRateLimitCleared(){this.isRateLimited&&await this.#f("rateLimitCleared")}onError(){return new Promise((e,n)=>{const r=o=>{this.off("error",r),n(o)};this.on("error",r)})}async#f(e,n){return new Promise(r=>{const o=()=>{n&&!n()||(this.off(e,o),r())};this.on(e,o)})}get size(){return this.#e.size}sizeBy(e){return this.#e.filter(e).length}get pending(){return this.#t}get isPaused(){return this.#d}#B(){this.#i||(this.on("add",()=>{this.#e.size>0&&this.#p()}),this.on("next",()=>{this.#p()}))}#p(){this.#i||this.#g||(this.#g=!0,queueMicrotask(()=>{this.#g=!1,this.#k()}))}#$(){this.#i||(this.#O(),this.#p())}#k(){const e=this.#m;if(this.#i||this.#e.size===0){e&&(this.#m=!1,this.emit("rateLimitCleared"));return}let n;if(this.#s){const o=Date.now();this.#v(o),n=this.#b()}else n=this.#a;const r=n>=this.#h;r!==e&&(this.#m=r,this.emit(r?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#m}get isSaturated(){return this.#t===this.#_&&this.#e.size>0||this.isRateLimited&&this.#e.size>0}get runningTasks(){return[...this.#y.values()].map(e=>({...e}))}}const Ve=2147483647,Q=36,_r=1,pt=26,Cd=38,Rd=700,pi=72,mi=128,_i="-",Ld=/^xn--/,Td=/[^\0-\x7F]/,xd=/[\x2E\u3002\uFF0E\uFF61]/g,kd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ln=Q-_r,X=Math.floor,cn=String.fromCharCode;function ue(t){throw new RangeError(kd[t])}function Id(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function yi(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(xd,".");const o=t.split("."),s=Id(o,e).join(".");return r+s}function gi(t){const e=[];let n=0;const r=t.length;for(;n<r;){const o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const s=t.charCodeAt(n++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const Md=t=>String.fromCodePoint(...t),Od=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Q},Ao=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},wi=function(t,e,n){let r=0;for(t=n?X(t/Rd):t>>1,t+=X(t/e);t>ln*pt>>1;r+=Q)t=X(t/ln);return X(r+(ln+1)*t/(t+Cd))},vi=function(t){const e=[],n=t.length;let r=0,o=mi,s=pi,i=t.lastIndexOf(_i);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&ue("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=r;for(let d=1,u=Q;;u+=Q){a>=n&&ue("invalid-input");const h=Od(t.charCodeAt(a++));h>=Q&&ue("invalid-input"),h>X((Ve-r)/d)&&ue("overflow"),r+=h*d;const f=u<=s?_r:u>=s+pt?pt:u-s;if(h<f)break;const p=Q-f;d>X(Ve/p)&&ue("overflow"),d*=p}const c=e.length+1;s=wi(r-l,c,l==0),X(r/c)>Ve-o&&ue("overflow"),o+=X(r/c),r%=c,e.splice(r++,0,o)}return String.fromCodePoint(...e)},bi=function(t){const e=[];t=gi(t);const n=t.length;let r=mi,o=0,s=pi;for(const l of t)l<128&&e.push(cn(l));const i=e.length;let a=i;for(i&&e.push(_i);a<n;){let l=Ve;for(const d of t)d>=r&&d<l&&(l=d);const c=a+1;l-r>X((Ve-o)/c)&&ue("overflow"),o+=(l-r)*c,r=l;for(const d of t)if(d<r&&++o>Ve&&ue("overflow"),d===r){let u=o;for(let h=Q;;h+=Q){const f=h<=s?_r:h>=s+pt?pt:h-s;if(u<f)break;const p=u-f,g=Q-f;e.push(cn(Ao(f+p%g,0))),u=X(p/g)}e.push(cn(Ao(u,0))),s=wi(o,c,a===i),o=0,++a}++o,++r}return e.join("")},Nd=function(t){return yi(t,function(e){return Ld.test(e)?vi(e.slice(4).toLowerCase()):e})},Dd=function(t){return yi(t,function(e){return Td.test(e)?"xn--"+bi(e):e})},Ud={version:"2.3.1",ucs2:{decode:gi,encode:Md},decode:vi,encode:bi,toASCII:Dd,toUnicode:Nd};function Fd(t){try{return Ud.toUnicode(URL.parse(t).hostname.replace(/^www\./,"").replace(/\/$/,""))}catch{return""}}const Po=Xe(Fd),qd=new Pd({concurrency:1,interval:1e3,intervalCap:1}),Co=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function Bd(t){for(let e=0;e<Co.length;e++){const n=t.match(Co[e])?.[1];if(n)return n}return null}const $d=/(twitter|github)\.com/i,Ro={};function jd(t,e){const n=Ln(S);if($d.test(e)||Ro[e])return;if(new RegExp(t+"/").test(n.unfurledLinks[e]?.url))return Promise.resolve(n.unfurledLinks[e]);let o,s=e;/\/\/elk\.[^\/]+\/[^\/]+\.[^\/]+/i.test(s)&&(s=s.replace(/elk\.[^\/]+\//i,"")),/\/\/trunks\.[^\/]+\/status\/[^\/]+\.[^\/]+/i.test(s)&&(s=s.replace(/trunks\.[^\/]+\/status\//i,"")),/\/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(s)&&(s=`https://${s.split("/#/")[1].replace(/\/s\//i,"/@fakeUsername/")}`);const i=URL.parse(s);if(!i)return;const a=i.hostname,l=i.pathname;if(!a)return;let c=Bd(l);if(c){const p=c,{masto:g}=Ht({instance:a});o=g.v1.statuses.$select(p).fetch().then(m=>{if(m?.id)return{status:m,instance:a};throw new Error("No results")})}const{masto:d}=Ht({instance:t}),u=d.v2.search.fetch({q:s,type:"statuses",resolve:!0,limit:1}).then(p=>{const{statuses:g}=p;if(g.length>0){const m=g.filter(y=>!y.content?.toLowerCase().includes(s.toLowerCase()));if(m.length===1)return{status:m[0],instance:t}}throw new Error("No results")});function h(p){const{status:g,instance:m}=p,{id:y}=g,w=`/${m}/s/${y}`,E=s!==e,x={id:y,instance:m,url:w,originalURL:e,originalDomain:Po(e),canonicalURL:E?s:void 0,canonicalDomain:E?Po(s):void 0};return S.unfurledLinks[e]=x,Ei(g,m,{skipThreading:!0}),x}function f(p){Ro[e]=!0}return o?Promise.race([u,new Promise((g,m)=>setTimeout(m,3e3))]).catch(()=>o.catch(()=>u)).then(h).catch(f):u.then(h).catch(f)}const Hd=(t,e,n)=>qd.add(()=>jd(t,e),{signal:n}),S=Gs({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,showQrCodeModal:!1,showQrScannerModal:!1,showImportExportAccounts:!1,showSearchCommand:!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}});function $h(){S.notificationsLast=P.account.get("notificationsLast")||null,S.shortcuts=P.account.get("shortcuts")??[],S.settings.autoRefresh=P.account.get("settings-autoRefresh")??!1,S.settings.shortcutsViewMode=P.account.get("settings-shortcutsViewMode")??null,P.account.get("settings-shortcutsColumnsMode")&&(S.settings.shortcutsColumnsMode=!0),S.settings.boostsCarousel=P.account.get("settings-boostsCarousel")??!0,S.settings.contentTranslation=P.account.get("settings-contentTranslation")??!0,S.settings.contentTranslationTargetLanguage=P.account.get("settings-contentTranslationTargetLanguage")||null,S.settings.contentTranslationHideLanguages=P.account.get("settings-contentTranslationHideLanguages")||[],S.settings.contentTranslationAutoInline=P.account.get("settings-contentTranslationAutoInline")??!1,S.settings.shortcutSettingsCloudImportExport=P.account.get("settings-shortcutSettingsCloudImportExport")??!1,S.settings.mediaAltGenerator=P.account.get("settings-mediaAltGenerator")??!1,S.settings.composerGIFPicker=P.account.get("settings-composerGIFPicker")??!1,S.settings.cloakMode=P.account.get("settings-cloakMode")??!1}hi(S,"notificationsLast",t=>{P.account.set("notificationsLast",S.notificationsLast)});ar(S,t=>{for(const[e,n,r,o]of t)n.join(".")==="settings.autoRefresh"&&P.account.set("settings-autoRefresh",!!r),n.join(".")==="settings.boostsCarousel"&&P.account.set("settings-boostsCarousel",!!r),n.join(".")==="settings.shortcutsViewMode"&&P.account.set("settings-shortcutsViewMode",r),n.join(".")==="settings.contentTranslation"&&P.account.set("settings-contentTranslation",!!r),n.join(".")==="settings.contentTranslationAutoInline"&&P.account.set("settings-contentTranslationAutoInline",!!r),n.join(".")==="settings.shortcutSettingsCloudImportExport"&&P.account.set("settings-shortcutSettingsCloudImportExport",!!r),n.join(".")==="settings.contentTranslationTargetLanguage"&&P.account.set("settings-contentTranslationTargetLanguage",r),/^settings\.contentTranslationHideLanguages/i.test(n.join("."))&&P.account.set("settings-contentTranslationHideLanguages",S.settings.contentTranslationHideLanguages),n.join(".")==="settings.mediaAltGenerator"&&P.account.set("settings-mediaAltGenerator",!!r),n.join(".")==="settings.composerGIFPicker"&&P.account.set("settings-composerGIFPicker",!!r),n?.[0]==="shortcuts"&&P.account.set("shortcuts",S.shortcuts),n.join(".")==="settings.cloakMode"&&P.account.set("settings-cloakMode",!!r)});function jh(){S.showCompose=!1,S.showSettings=!1,S.showAccount=!1,S.showAccounts=!1,S.showDrafts=!1,S.showMediaModal=!1,S.showShortcutsSettings=!1,S.showKeyboardShortcutsHelp=!1,S.showGenericAccounts=!1,S.showMediaAlt=!1,S.showEmbedModal=!1,S.showReportModal=!1,S.showQrCodeModal=!1,S.showQrScannerModal=!1,S.showImportExportAccounts=!1}function pe(t,e){if(t)return e?`${e}/${t}`:t}function zd(t,e){if(e){const n=pe(t,e);return S.statuses[n]}return S.statuses[t]}function Ei(t,e,n){typeof e=="object"&&(n=e,e=null);const{override:r=!0,skipThreading:o=!1,skipUnfurling:s=!1}=n||{};if(!t)return;const i=zd(t.id,e);!r&&i||md(t,i)||(queueMicrotask(()=>{let a=pe(t.id,e);if(i?._pinned&&(t._pinned=i._pinned),S.statuses[a]=t,t.reblog?.id){const c=pe(t.reblog.id,e);S.statuses[c]=t.reblog,a=c}const l=t.reblog?.quote||t.quote;if(l?.id){const{id:c}=l,d=pe(c,e);S.statuses[d]=l;const u=`/${e}/s/${c}`;S.statusQuotes[a]=[{id:c,instance:e,url:u,native:!0}]}if(l?.state){const{quotedStatus:c,state:d}=l;if(c?.id){const{id:u,account:h}=c,f=`/${e}/s/${u}`,p=pe(u,e);S.statuses[p]=c,S.statusQuotes[a]=[{id:u,instance:e,url:f,state:d,account:h,native:!0}]}else S.statusQuotes[a]=[{state:d,native:!0}]}}),o||setTimeout(()=>{Vd(t.reblog||t,e)},100),s||setTimeout(()=>{Wd(t.reblog||t,e)},100))}function Gd(t,e){const{masto:n,instance:r}=Ht({instance:e});let o=0;async function s(i,a=0){const{inReplyToId:l,inReplyToAccountId:c}=i;if(!l||c!==i.account.id)return[i];if(l&&c!==i.account.id)throw"Not a thread";const d=pe(l,r);let u=S.statuses[d];if(!u){if(o++>3)throw"Too many fetches for thread";await new Promise(h=>setTimeout(h,500*o)),u=await Kd(l,n),Ei(u,r,{skipThreading:!0})}return[...await s(u,++a),i]}return s(t).then(i=>{i.length>1&&i.forEach((a,l)=>{const c=pe(a.id,r);S.statusThreadNumber[c]=l+1})}).catch(i=>{})}const Vd=gd(Gd,100),Lo=document.createElement("div");function Wd(t,e){const{instance:n}=Ht(),r=t?.content;if(/<a/i.test(r)){const s=pe(t?.id,e);Lo.innerHTML=r,[...Lo.querySelectorAll("a[href]:not(.u-url):not(.mention):not(.hashtag)")].filter(a=>{const l=a.href;return!(l===t.url||l===t.uri)&&_d(l)}).forEach((a,l)=>{Hd(n,a.href).then(c=>{c&&s&&c?.id!==t.id&&(Array.isArray(S.statusQuotes[s])||(S.statusQuotes[s]=[]),S.statusQuotes[s][l]||S.statusQuotes[s].splice(l,0,c))})})}}const Kd=yd((t,e)=>e.v1.statuses.$select(t).fetch());function Yd(t){return Intl.getCanonicalLocales(t)}function Zd(t,e){const n=e&&e.cache?e.cache:rf,r=e&&e.serializer?e.serializer:tf;return(e&&e.strategy?e.strategy:Qd)(t,{cache:n,serializer:r})}function Jd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Si(t,e,n,r){const o=Jd(r)?r:n(r);let s=e.get(o);return typeof s>"u"&&(s=t.call(this,r),e.set(o,s)),s}function Ai(t,e,n){const r=Array.prototype.slice.call(arguments,3),o=n(r);let s=e.get(o);return typeof s>"u"&&(s=t.apply(this,r),e.set(o,s)),s}function yr(t,e,n,r,o){return n.bind(e,t,r,o)}function Qd(t,e){const n=t.length===1?Si:Ai;return yr(t,this,n,e.cache.create(),e.serializer)}function Xd(t,e){return yr(t,this,Ai,e.cache.create(),e.serializer)}function ef(t,e){return yr(t,this,Si,e.cache.create(),e.serializer)}const tf=function(){return JSON.stringify(arguments)};class nf{cache;constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,n){this.cache[e]=n}}const rf={create:function(){return new nf}},Hh={variadic:Xd,monadic:ef},un={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},of={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},gr=/-u(?:-[0-9a-z]{2,8})+/gi;function ne(t,e,n=Error){if(!t)throw new n(e)}const sf=838;let dn;function af(){if(!dn){const t=un.supplemental.languageMatching["written-new"][0]?.paradigmLocales?._locales.split(" "),e=un.supplemental.languageMatching["written-new"].slice(1,5);dn={matches:un.supplemental.languageMatching["written-new"].slice(5).map(o=>{const s=Object.keys(o)[0],i=o[s];return{supported:s,desired:i._desired,distance:+i._distance,oneway:i.oneway==="true"}},{}),matchVariables:e.reduce((o,s)=>{const i=Object.keys(s)[0],a=s[i];return o[i.slice(1)]=a._value.split("+"),o},{}),paradigmLocales:[...t,...t.map(o=>new Intl.Locale(o.replace(/_/g,"-")).maximize().toString())]}}return dn}function At(t,e,n){const[r,o,s]=e.split("-");let i=!0;if(s&&s[0]==="$"){const a=s[1]!=="!",c=(a?n[s.slice(1)]:n[s.slice(2)]).map(d=>of[d]||[d]).reduce((d,u)=>[...d,...u],[]);i&&=c.indexOf(t.region||"")>-1==a}else i&&=t.region?s==="*"||s===t.region:!0;return i&&=t.script?o==="*"||o===t.script:!0,i&&=t.language?r==="*"||r===t.language:!0,i}function To(t){return[t.language,t.script,t.region].filter(Boolean).join("-")}function fn(t,e,n){for(const r of n.matches){let o=At(t,r.desired,n.matchVariables)&&At(e,r.supported,n.matchVariables);if(!r.oneway&&!o&&(o=At(t,r.supported,n.matchVariables)&&At(e,r.desired,n.matchVariables)),o){const s=r.distance*10;return n.paradigmLocales.indexOf(To(t))>-1!=n.paradigmLocales.indexOf(To(e))>-1?s-1:s}}throw new Error("No matching distance found")}function lf(t,e){const n=new Intl.Locale(t).maximize(),r=new Intl.Locale(e).maximize(),o={language:n.language,script:n.script||"",region:n.region||""},s={language:r.language,script:r.script||"",region:r.region||""};let i=0;const a=af();return o.language!==s.language&&(i+=fn({language:n.language,script:"",region:""},{language:r.language,script:"",region:""},a)),o.script!==s.script&&(i+=fn({language:n.language,script:o.script,region:""},{language:r.language,script:s.script,region:""},a)),o.region!==s.region&&(i+=fn(o,s,a)),i}const cf=Zd(lf,{serializer:t=>`${t[0]}|${t[1]}`});function uf(t){const e=[];let n=t;for(;n;){e.push(n);const r=n.lastIndexOf("-");if(r===-1)break;n=n.substring(0,r)}return e}const xo=new WeakMap;function df(t,e,n=sf){let r=1/0,o={matchedDesiredLocale:"",distances:{}},s=xo.get(e);s||(s=e.map(a=>{try{return Intl.getCanonicalLocales([a])[0]||a}catch{return a}}),xo.set(e,s));const i=new Set(s);for(let a=0;a<t.length;a++){const l=t[a];if(i.has(l)){const c=0+a*40;if(o.distances[l]={[l]:c},c<r&&(r=c,o.matchedDesiredLocale=l,o.matchedSupportedLocale=l),a===0)return o}}for(let a=0;a<t.length;a++){const l=t[a];try{const c=new Intl.Locale(l).maximize().toString();if(c!==l){const d=uf(c);for(let u=0;u<d.length;u++){const h=d[u];if(h!==l&&i.has(h)){let f;try{f=new Intl.Locale(h).maximize().toString()===c?0+a*40:u*10+a*40}catch{f=u*10+a*40}o.distances[l]||(o.distances[l]={}),o.distances[l][h]=f,f<r&&(r=f,o.matchedDesiredLocale=l,o.matchedSupportedLocale=h);break}}}}catch{}}return o.matchedSupportedLocale&&r===0||(t.forEach((a,l)=>{o.distances[a]||(o.distances[a]={}),s.forEach((c,d)=>{const u=e[d],f=cf(a,c)+0+l*40;o.distances[a][u]=f,f<r&&(r=f,o.matchedDesiredLocale=a,o.matchedSupportedLocale=u)})}),r>=n&&(o.matchedDesiredLocale=void 0,o.matchedSupportedLocale=void 0)),o}function ff(t,e,n){let r,o;const s=[],i=e.reduce((l,c)=>{const d=c.replace(gr,"");return s.push(d),l[d]=c,l},{}),a=df(s,t);return a.matchedSupportedLocale&&a.matchedDesiredLocale&&(r=a.matchedSupportedLocale,o=i[a.matchedDesiredLocale].slice(a.matchedDesiredLocale.length)||void 0),r?{locale:r,extension:o}:{locale:n()}}function hf(t,e){let n=e.toLowerCase();return ne(t!==void 0,"ukey must be defined"),n}function ko(t){return Intl.getCanonicalLocales(t)[0]}function pf(t,e,n){ne(t.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");let r="-u";for(const i of e)r+=`-${i}`;for(const i of n){const{key:a,value:l}=i;r+=`-${a}`,l!==""&&(r+=`-${l}`)}if(r==="-u")return ko(t);let o=t.indexOf("-x-"),s;if(o===-1)s=t+r;else{let i=t.slice(0,o),a=t.slice(o);s=i+r+a}return ko(s)}const Io=new WeakMap;function Pi(t,e){let n=Io.get(t);n||(n=new Set(t),Io.set(t,n));let r=e;for(;;){if(n.has(r))return r;let o=r.lastIndexOf("-");if(!~o)return;o>=2&&r[o-2]==="-"&&(o-=2),r=r.slice(0,o)}}function mf(t,e,n){const r={locale:""};for(const o of e){const s=o.replace(gr,""),i=Pi(t,s);if(i)return r.locale=i,o!==s&&(r.extension=o.slice(s.length,o.length)),r}return r.locale=n(),r}function _f(t){ne(t===t.toLowerCase(),"Expected extension to be lowercase"),ne(t.slice(0,3)==="-u-","Expected extension to be a Unicode locale extension");const e=[],n=[];let r,o=t.length,s=3;for(;s<o;){let i=t.indexOf("-",s),a;i===-1?a=o-s:a=i-s;let l=t.slice(s,s+a);ne(a>=2,"Expected a subtag to have at least 2 characters"),r===void 0&&a!=2?e.indexOf(l)===-1&&e.push(l):a===2?(r={key:l,value:""},n.find(c=>c.key===r?.key)===void 0&&n.push(r)):r?.value===""?r.value=l:(ne(r!==void 0,"Expected keyword to be defined"),r.value+="-"+l),s+=a+1}return{attributes:e,keywords:n}}function yf(t,e,n,r,o,s){const i=n.localeMatcher;let a;i==="lookup"?a=mf(Array.from(t),e,s):a=ff(Array.from(t),e,s),a==null&&(a={locale:s(),extension:""});let l=a.locale,c=o[l];const d={locale:"en",dataLocale:l};let u,h;a.extension?(u=_f(a.extension),h=u.keywords):h=[];let f=[];for(const g of r){let m=c?.[g]??[];ne(Array.isArray(m),`keyLocaleData for ${g} must be an array`);let y=m[0];ne(y===void 0||typeof y=="string","value must be a string or undefined");let w,E=h.find(k=>k.key===g);if(E){let k=E.value;k!==""?m.indexOf(k)>-1&&(y=k,w={key:g,value:y}):m.indexOf("true")>-1&&(y="true",w={key:g,value:y})}let x=n[g];if(ne(x==null||typeof x=="string","optionsValue must be a string or undefined"),typeof x=="string"){let k=g.toLowerCase();x=hf(k,x),x===""&&(x="true")}x!==y&&m.indexOf(x)>-1&&(y=x,w=void 0),w&&f.push(w),d[g]=y}let p=[];return f.length>0&&(p=[],l=pf(l,p,f)),d.locale=l,d}function zh(t,e){const n=[];for(const r of e){const o=r.replace(gr,""),s=Pi(t,o);s&&n.push(s)}return n}function gf(t,e,n,r){return yf(e,Yd(t),{localeMatcher:r?.algorithm||"best fit"},[],{},()=>n).locale}const Mo="localeMatchCache";function Ci(...t){try{return gf(...t)}catch{return t[2]||!1}}typeof window<"u"&&(window._localeMatch=Ci);function wf(t){return function(...e){const n=e.map(s=>Array.isArray(s)?s.join(","):s).join("|");let r;try{r=P.session.getJSON(Mo)||{}}catch{return t(...e)}if(r[n])return r[n];const o=t(...e);try{r[n]=o,P.session.setJSON(Mo,r)}catch{}return o}}const vf=Xe(wf(Ci)),Ri=ae(),bf="sprite-icon";function Gh({children:t}){const[e,n]=se(new Set),[r,o]=se({}),s=me(async l=>{if(!e.has(l))try{const{ICONS:c}=await M(async()=>{const{ICONS:p}=await import("./ICONS-C5h6VnP9.js");return{ICONS:p}},[],import.meta.url),d=c[l];if(!d)return;let u;Array.isArray(d)?u=d[0]:typeof d=="object"?u=d.module:u=d;const f=(await u()).default;o(p=>({...p,[l]:f})),n(p=>new Set([...p,l]))}catch{}},[e]),i=me(l=>e.has(l),[e]),a={loadIcon:s,isIconLoaded:i,loadedIcons:e,iconData:r};return ee(Ri.Provider,{value:a,children:[t,ee(Ef,{})]})}function Ef(){const{loadedIcons:t,iconData:e}=Af();return t.size===0?null:ee("svg",{style:{display:"none"},"aria-hidden":"true",children:ee("defs",{children:Array.from(t).map(n=>{const r=e[n];return r?ee(Sf,{iconName:n,data:r},n):null})})})}const Sf=Wn(function({iconName:t,data:e}){return ee("symbol",{id:`${bf}-${t}`,viewBox:`0 0 ${e.width} ${e.height}`,dangerouslySetInnerHTML:{__html:e.body}})},(t,e)=>t.iconName===e.iconName);function Af(){const t=H(Ri);if(!t)throw new Error("useIconSprite must be used within IconSpriteProvider");return t}function Pf({abrupt:t,hidden:e,...n}){return ee("span",{...n,class:`loader-container ${t?"abrupt":""} ${e?"hidden":""}`,children:ee("span",{class:"loader"})})}const wr=[{code:"ar-SA",nativeName:"العربية",name:"Arabic",completion:21,listed:!1},{code:"ca-ES",nativeName:"català",name:"Catalan",completion:100,listed:!0},{code:"cs-CZ",nativeName:"čeština",name:"Czech",completion:70,listed:!0},{code:"de-DE",nativeName:"Deutsch",name:"German",completion:96,listed:!0},{code:"eo-UY",nativeName:"Esperanto",name:"Esperanto",completion:92,listed:!0},{code:"es-ES",nativeName:"español",name:"Spanish",completion:100,listed:!0},{code:"eu-ES",nativeName:"euskara",name:"Basque",completion:99,listed:!0},{code:"fa-IR",nativeName:"فارسی",name:"Persian",completion:62,listed:!0},{code:"fi-FI",nativeName:"suomi",name:"Finnish",completion:100,listed:!0},{code:"fr-FR",nativeName:"français",name:"French",completion:90,listed:!0},{code:"gl-ES",nativeName:"galego",name:"Galician",completion:100,listed:!0},{code:"he-IL",nativeName:"עברית",name:"Hebrew",completion:21,listed:!1},{code:"it-IT",nativeName:"italiano",name:"Italian",completion:100,listed:!0},{code:"ja-JP",nativeName:"日本語",name:"Japanese",completion:66,listed:!0},{code:"kab",nativeName:"Taqbaylit",name:"Kabyle",completion:86,listed:!0},{code:"ko-KR",nativeName:"한국어",name:"Korean",completion:77,listed:!0},{code:"lt-LT",nativeName:"lietuvių",name:"Lithuanian",completion:88,listed:!0},{code:"nb-NO",nativeName:"norsk bokmål",name:"Norwegian Bokmål",completion:43,listed:!1},{code:"nl-NL",nativeName:"Nederlands",name:"Dutch",completion:66,listed:!0},{code:"pl-PL",nativeName:"polski",name:"Polish",completion:99,listed:!0},{code:"pt-BR",nativeName:"português",name:"Portuguese",completion:89,listed:!0},{code:"pt-PT",nativeName:"português",name:"Portuguese",completion:89,listed:!0},{code:"ru-RU",nativeName:"русский",name:"Russian",completion:97,listed:!0},{code:"th-TH",nativeName:"ไทย",name:"Thai",completion:7,listed:!1},{code:"tr-TR",nativeName:"Türkçe",name:"Turkish",completion:40,listed:!1},{code:"uk-UA",nativeName:"українська",name:"Ukrainian",completion:83,listed:!0},{code:"zh-CN",nativeName:"简体中文",name:"Simplified Chinese",completion:100,listed:!0},{code:"zh-TW",nativeName:"繁體中文",name:"Traditional Chinese",completion:34,listed:!1}],Cf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},We="en",Vh=wr,Li=[We,...wr.filter(({listed:t})=>t).map(({code:t})=>t)],Wh=Li;let Gt=[];Cf?.PHANPY_SHOW_DEV_LOCALES&&(Gt=wr.filter(({listed:t})=>!t).map(({code:t})=>t),Gt.push("pseudo-LOCALE"));const Kh=Gt,Oo=[...Li,...Gt],Rf=(t,e,n)=>{const r=t[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};function Lf(t,e={useSessionStorage:!1}){return e.useSessionStorage?globalThis.sessionStorage.getItem(t):globalThis.localStorage.getItem(t)}function Tf(t=globalThis.navigator){return t.language||t.userLanguage}function xf(t){const e=/([^=?#&]+)=?([^&]*)/g,n={};let r;for(;r=e.exec(t);){const o=No(r[1]),s=No(r[2]);o===null||s===null||o in n||(n[o]=s)}return n}function No(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return null}}function kf(t,e=globalThis.location){if(!t)throw new Error("fromUrl parameter is required");return xf(e.search)[t]||null}function If(...t){const e=[];for(let n=0;n<t.length;n++){const r=typeof t[n]=="function"?t[n]():t[n];r&&e.push(r)}return e}const Mf=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,Do=/^([a-zA-Z]{2,3}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-(?:[a-zA-Z]{2}|\d{3}))?(-(?:[a-zA-Z\d]{5,8}|\d[a-zA-Z\d]{3}))?$/;class Te{constructor(e){if(typeof e!="string")throw new TypeError("A string argument is expected");if(!Do.test(e))throw new RangeError("A proper locale must be provided");this._locale=e}static _escapeRegExpPattern(e){return typeof e!="string"?e:e.replace(Mf,"\\$1")}static _toLowerCase(e,n){return typeof e!="string"?n&&e:e.toLowerCase()}static _toUpperCase(e,n){return typeof e!="string"?n&&e:e.toUpperCase()}static _trim(e,n,r){const o=[];let s;const i=function(l){o.push("^"+l+"+|"+l+"+$")};if(typeof n=="boolean"&&(r=n,n=null),typeof e!="string")return r?e:void 0;if(Array.isArray(n)&&n.map(l=>{const c=this._escapeRegExpPattern(l);i(c)}),typeof n=="string"){const l=this._escapeRegExpPattern(n);i(l)}n||i("\\s");const a="("+o.join("|")+")";for(s=new RegExp(a,"g");e.match(s);)e=e.replace(s,"");return e}static _parseLocale(e){if(typeof e!="string")return;const n=Do.exec(e);let r,o,s;if(!e||!n)return;const i=this._trim(n[2],["-","_"]),a=this._trim(n[3],["-","_"]);return r=this._toLowerCase(n[1]),o=this._toLowerCase(i)||o,s=this._toUpperCase(a)||s,{lang:r,script:o,countryCode:s}}_isRtlLang(){const{lang:e,script:n}=Te._parseLocale(this._locale);return n?Te._RTL_SCRIPTS.indexOf(n)>=0:Te._BIDI_RTL_LANGS.indexOf(e)>=0}getTextInfo(){return{direction:this._isRtlLang()?"rtl":"ltr"}}}Te._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"];Te._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 Ti=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"],"</1> people</0> followed you."]}]],"+9E7iR":["Connected on ",["0"]," (<0/>)"],"+Cxvld":["<0>Shift</0> + <1>c</1>"],"+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?"],"+kQy/G":["Edit notes"],"+niKJH":["anyone"],"+owNNn":["Posts"],"+syLpm":[["optionVotesCount","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"/2mUza":["Media attachments:"],"/3LJfX":["Unblock <0>@",["username"],"</0>"],"/4fHR1":["A draft post is currently minimized. Post or discard it before creating a new one."],"/5ZKeE":["Pop in"],"/7UQ7y":["Whole word"],"/AfxaA":["Go to my server (<0>",["currentInstance"],"</0>)"],"/BGBeF":["Muted ",["username"]],"/CLBTL":["Note: This feature uses external GIF search service, powered by <0>GIPHY</0>. 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"],"/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"]],"08IojR":["Unable to access camera. Please check permissions."],"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."],"0hbkwr":["server domain"],"0mC0SF":["Auto refresh timeline posts"],"0mebiX":[["selectedCount","plural",{"one":["Import ","#"," account"],"other":["Import ","#"," accounts"]}]],"0tG4wG":["Unable to unblock @",["username"]],"0tQ7AD":["Density"],"0tZAhT":["⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profiles 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"],"1DBGsz":["Notes"],"1JZ175":[["0","plural",{"one":["#"," keyword"],"other":["#"," keywords"]}]],"1QfxQT":["Dismiss"],"1RfGk7":["Let's catch up on the posts from your followings."],"1TNIig":["Open"],"1atgyZ":["Note: your server might only show a maximum of 800 posts in the Home timeline regardless of the time range. Could be less or more."],"1dyGG/":["Catch-up ",["0"]," removed"],"1lGm1k":["A separate timeline for followings. Email-inspired interface to sort and filter posts."],"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"],"29r697":["Go to Bookmarks"],"2AeREO":["Unable to load followed hashtags."],"2BApYc":["Private mentions"],"2BBAbc":["List"],"2C0g0G":["Post unavailable"],"2EYeAZ":["The end."],"2FYpfJ":["More"],"2LiWsE":["Switch to Full view"],"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"],"</0>"],"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</0>"],"4CZnNE":["Enter a new server e.g. \\"mastodon.social\\""],"4Dh9J1":["Unable to delete filter."],"4ERYY7":["Federated"],"4LHHK6":["More from <0/>"],"4MFM3P":["No hashtags found."],"4R1B1H":["Recent searches"],"4S86wI":["Looks like your browser is blocking popups."],"4UOm4A":[["0","plural",{"other":["<0>@",["1"],"</0> first, ","#"," others below"]}]],"4WUbF1":["Poll"],"4XF0BB":["Profile picture"],"4b3oEV":["Content"],"4cijjm":["Send Report"],"4uflEE":["Default visibility updated"],"5+87Pq":["Notification"],"52x24e":["Note: <0>Default</0> 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."],"5I1YZO":["Download shortcuts from server"],"5KJFnN":["Not available in current view mode"],"5Lvp3B":["Existing"],"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"],"6GZBJp":["Switch to account's server ",["0"]],"6HA9+s":["No trending posts."],"6KkH+2":["<0>Version:</0> <1/> ",["0"]],"6LUsk7":["Push notifications are blocked. Please enable them in your browser settings."],"6MzUUU":["Append to current shortcuts?"],"6XYpYY":["Previous post"],"6XjvUL":["Screenshot of Phanpy home timeline on tablet device"],"6YeoAt":["Search: ",["q"]," (Posts)"],"6YtxFj":["Name"],"6ZjzWP":["Override current shortcuts?"],"6lGV3K":["Show less"],"6yILME":["Describe image…"],"73lp8c":["View profile"],"77Emn0":["Keyboard shortcuts"],"7FGvtQ":["Filtered: ",["filterTitleStr"]],"7Ff7ia":["Bookmarks"],"7I3sDQ":["Note: This feature uses external translation services, powered by <0>",["TRANSLATION_API_NAME"],"</0>."],"7KnEYa":["Unable to remove from list."],"7PQAMY":["Report post…"],"7QSeK6":["Unable to load posts."],"7Vb+qD":["last 11 hours"],"7WYl2I":["View profile image"],"7ZJHdw":["Home / Following"],"7d1a0d":["Public"],"7dHKu4":[["0","plural",{"one":["#"," follow request"],"other":["#"," follow requests"]}]],"7defFj":["Optional, e.g. mastodon.social"],"7e0O8Z":["Accounts…"],"7oRLbi":["Mutual"],"7r6sCa":["Text size"],"8+HOWa":["last 3 hours"],"84WuL2":["<0>l</0> or <1>f</1>"],"87a/t/":["Label"],"8GjLvB":[["accountDisplay"]," (",["monthYear"],")"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["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</1> again to grant push permission</0>."],"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"],"9VPqHP":["Open media or post details"],"9Vdq+j":["Automated"],"9ZCilh":["Show media"],"9ZP9cc":["Forever"],"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"],"A7kMZX":[["0","plural",{"one":["#"," account"],"other":["#"," accounts"]}]],"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</0> by <1>@cheeaun</1>"],"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"]],"BATCqf":["Showing posts mentioning <0>",["0"],"</0>"],"BC0lSD":["Unable to copy handle"],"BEVzjL":["Import failed"],"BHObg8":["Quote chain"],"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."],"BmW9JG":["Search my posts"],"BrLbQp":["This post is from another server (<0>",["instance"],"</0>). Interactions (reply, boost, etc) are not possible."],"BskFI2":["<0>Built</0> by <1>@cheeaun</1>. <2>Privacy Policy</2>."],"Buy2bt":["Home and lists"],"Bz5hLl":["Go to original profile page"],"Bze3gr":["Auto (",["0"],")"],"C4x3+X":[["statusesCount","plural",{"one":["<0>",["0"],"</0> Post"],"other":["<1>",["1"],"</1> Posts"]}]],"C5zXYJ":["Header picture"],"C6cVP/":["<0>",["displayName"],"</0> 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?"],"Cxr3Kn":["Import/export settings from/to server (Very experimental)"],"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"],"</0> replies"]}]],"DPfwMq":["Done"],"DUMt1y":["List ID"],"DWumLi":["Import shortcuts?"],"DYowFe":["Skip carousel to next post"],"Djbaby":["Reload page now to update?"],"DlhB4J":["<0/> <1>boosted</1>"],"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"],"EIZREX":["Top links"],"EVRO/o":["Max ",["SHORTCUTS_LIMIT"]," shortcuts"],"EarrCe":["Search emoji"],"EdQY6l":["None"],"EkH9pt":["Update"],"EnJuK0":["Conversations"],"F3cM1G":["Last post: <0>",["0"],"</0>"],"FFmj1D":["Volunteer translations"],"FKojeB":["Sensitive media"],"FMGfUd":["Remove my post from <0>@",["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</0> + <1>k</1>"],"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</1> 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"],"GquPwe":["Add notes"],"Gy9P9T":["Next post"],"H0wUNM":["View notifications from <0>@",["0"],"</0>"],"H8RP+h":["Unable to edit filter"],"HBIZeo":["Unable to format math"],"HHtYi7":[["0","plural",{"one":["#"," author"],"other":["#"," authors"]}]],"HKrBPX":["Unfollow…"],"HOSk7R":["Following…"],"HQJU6W":["Unable to load replies."],"HSA2au":["Edit History Snapshots"],"HajiZl":["Month"],"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"],"Iq3FHt":["Note: This feature uses currently-logged-in server API."],"IrX0sj":["Post scheduled"],"Is7/PB":["Add an existing account"],"IvPikw":["No lists yet."],"J6hrEy":["Dismissed"],"J6ypuD":["A"],"JRswkR":["Block <0>@",["username"],"</0>…"],"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</0>"],"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."],"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?"],"LCX3ys":["Search <0>@",["username"],"</0>'s posts"],"LDUSXg":["Choice ",["0"]],"LFKLqp":["Share…"],"LQFF6J":["Liked by…"],"LUnwPh":["Screenshot of Catch-up"],"LVd2Ia":["Screenshot of Phanpy home timeline on mobile device"],"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"],"</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"],"Ni40GV":["Failed to unwrap quote chain"],"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"],"</1> people</0> boosted & liked your reply."],"other":["<2><3>",["1"],"</3> people</2> 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</0>"],"OcUmcH":["Unlike"],"OdVhdR":["<0>New</0> <1>Follow Requests</1>"],"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"],"</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</0> 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"],"</0>"],"Q1Huya":["Replying to @",["0"],"s post (<0>",["1"],"</0>)"],"Q3yArs":["An admin from <0>",["from"],"</0> has blocked <1>",["targetName"],"</1>. Affected followers: ",["followersCount"],", followings: ",["followingCount"],"."],"Q5COHO":["Invalid server"],"QDEWii":["Verified"],"QL+7Jw":["Show Edit History"],"QO9uTx":["Shortcuts imported"],"QOhkyl":["Compose"],"QQrO94":[["accountDisplay"]," (#",["tagged"],")"],"Qd13i0":["Showing posts without boosts"],"Qh+0sm":["<0>",["key1"],"</0> then <1>",["key2"],"</1>"],"Qopbnd":["Show featured profiles"],"QqW27M":["Reschedule"],"QyioBP":["Move up"],"QzzGsY":["Unboost"],"R+Pgtr":["No login information or account access details are stored in the exported files. You will need to log in again for each account after importing."],"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"],"</0>. 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"],"</1> people</0> liked your reply."],"other":["<2><3>",["1"],"</3> people</2> 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"],"</0> Following"]}]],"SYKm3p":["No keywords. Add one."],"Sb2gYF":["New list"],"ScQBC/":["Group: Authors"],"SdA74G":["Select file…"],"SiegcM":["Switch to my server (<0>",["currentInstance"],"</0>)"],"Sjj+EN":["Post your reply"],"Sjnlwj":["Import…"],"SlfejT":["Error"],"Srs8u7":["With a new account"],"SrwrEj":["Save & close"],"T/hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"T1/8PL":["Go to Profile"],"T4I119":["Extra fields"],"TSbnoW":["Boosts carousel"],"TbFrLc":["Updated <0>",["0"],"</0>"],"Tba8uO":["Unable to add to list."],"TbrCz2":["Take photo or video"],"TbttfX":[["followersCount","plural",{"one":["<0>",["0"],"</0> Follower"],"other":["<1>",["1"],"</1> Followers"]}]],"TnJgwX":["Notes:"],"TtG3Uh":["Sharing doesn't seem to work."],"Tu+sCN":["Boosts Carousel"],"Txus+H":["Editing source status"],"Tz0i8g":["Settings"],"UHDQDE":["Optional, unless for multi-column mode"],"UIfdY1":["Profiles featured by @",["0"]],"UQR9OT":["Continue unwrapping…"],"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"],"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:"],"XC9Jpz":["Post hidden by your filters"],"XDwkfO":["Scan QR code"],"XHVHK2":["Only visible to you"],"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"],"</0>."],"XpQLJF":["<0>Shift</0> + <1>r</1>"],"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/></0> <2>(",["0"],")</2>"],"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"],"</0>?"],"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"],"</0>"],"cI3UEs":["Trending (",["instance"],")"],"cR6K65":["Synced to your server's settings. <0>Go to your server (",["instance"],") for more settings.</0>"],"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</0>"],"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"],"</0>"],"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"],"</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"],"e2cs+Z":["Unwrap quote chain"],"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?"],"eDkKRi":[["count","plural",{"1":[["account"]," signed up."],"other":["<0><1>",["0"],"</1> people</0> signed up."]}]],"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"],"ekCRTP":["Rejected"],"evz6c6":["<0>Esc</0> or <1>Backspace</1>"],"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</0>. May not work well. Only for images and in English."],"fVybCv":["Saving shortcuts to server…"],"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"],"gCX4Z9":["QR code"],"gEoOUj":["Look up <0>",["query"],"</0>"],"gURvmk":["Auto inline translation"],"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"],"h7t/Tx":["Search @",["0"],"'s posts"],"h8zDAI":["Translate from ",["sourceLangText"]],"hB02vO":["Manage members"],"hDWXuG":["Anyone can quote"],"hEe3YR":["Failed to update quote settings"],"hFs2qq":["Failed to update default visibility"],"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…"],"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"],"</0> from list?"],"jAj8rv":["Close post or dialogs"],"jER18a":["Mark media as sensitive"],"jFdM/T":["Downloading saved shortcuts from server…"],"jL3N0G":["Notifications enabled for @",["username"],"'s posts."],"jNCSyx":["System language (",["systemTargetLanguageText"],")"],"jbreWy":["minimized"],"jdVwsS":["Embed post"],"jf1i1L":[["votersCount","plural",{"one":["<0>",["0"],"</0> voter"],"other":["<1>",["1"],"</1> voters"]}]],"jiFPsN":["Select accounts to import"],"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"],"</1> people</0> boosted your reply."],"other":["<2><3>",["1"],"</3> people</2> boosted your post."]}]]}]],"jsFF8C":["Open post details"],"jtQUzv":["Switch to my server to enable interactions"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jzjjJh":["Emojis:"],"k08LxG":["Log out <0>@",["0"],"</0>?"],"k30qb8":["Import/Export <0>Accounts</0>"],"k7v0Rh":[["votesCount","plural",{"one":["<0>",["0"],"</0> vote"],"other":["<1>",["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"],"kesYbo":["Go to another server…"],"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"],"l3s5ri":["Import"],"lCF0wC":["Refresh"],"lCLRBe":["Followed tags"],"lQXQKs":["Vote"],"lWQguj":["Unbookmarked @",["0"],"'s post"],"lZdBKl":["Reply posted. Check it out."],"lfHLsx":["Pin to profile"],"lkz6PL":["Duration"],"lndXtU":[["0","plural",{"one":["#"," choice"],"other":["#"," choices"]}]],"lpPucp":["last 6 hours"],"lpYill":["Export failed"],"lqBX03":["Show content"],"lxYe+I":["Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>"],"m+pAEQ":["(",["0"],") <0>— experimental</0>"],"m0G499":["* Not implemented yet"],"m16xKo":["Add"],"m4xQyv":["Unable to vote in poll"],"m5LihO":["Failed to translate"],"mBdQnV":["You may close this page now."],"mFfcu0":["Posts tagged with <0>",["hashtag"],"</0>"],"mN4S+e":["Video description"],"mT57+Q":["Go to Settings"],"mYGY3B":["Date"],"mZYb1f":["No scheduled posts."],"mlycBx":["Your account has been limited."],"moT7M8":["A poll you have voted in has ended."],"muLhL3":["Report Post"],"mxY4xF":["Logged out"],"mzjGX4":["<0>Shift</0> + <1>j</1>"],"n1PNla":["Boost/Quote…"],"n1sANU":["Muted users…"],"nJEKbY":["Nothing to see here."],"nL8nlr":["Blocked users"],"nc+Oa+":["Keep as link"],"nhpsIN":["<0>1</0> to <1>9</1>"],"nl8sCE":["Only shortcuts that dont exist in current shortcuts will be appended."],"noxAFR":["Focus previous column in multi-column mode"],"o1mMWT":["Posts with <0>",["query"],"</0>"],"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"],"oQIgSu":["Custom emojis are not available on this server."],"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"],"oivBcO":["Sync to server"],"ooHDPY":["Ending <0/>"],"orjBLU":["Scheduled <0><1/></0>"],"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> ",["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</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>"],"q1zFd+":["Failed to remove subscription. Please try again."],"q8EQYI":["Unbookmark"],"q9urQO":["This might take a while."],"qSQQSe":[["totalComments","plural",{"one":["#"," comment"],"other":["<0>",["0"],"</0> comments"]}]],"qTJgpR":["Report <0>@",["username"],"</0>…"],"qYNCa1":["Allow from <0>",["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?"],"rWTcqf":["Switch to post's server"],"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"],"rpXAF6":[["0","plural",{"one":["File ",["1"]," is not supported."],"other":["Files ",["2"]," are not supported."]}]],"rtCQ2N":[["mentionsCount","plural",{"other":["#"," mentions"]}]],"sGH11W":["Server"],"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</0>: <1>",["0"],"</1>"],"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)"],"takpjx":["Sorry, your current logged-in server can't interact with this post from another server."],"tfDRzk":["Save"],"tqUaGL":["Unable to delete list."],"tuhghE":["Edit list"],"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"],"</0> has suspended <1>",["targetName"],"</1>, 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/></0>"],"ufzZSJ":["Unable to resolve URL"],"ukL58r":["Remove quote…"],"ulXSNi":["Keyboard shortcuts help"],"unyq2W":["Remove <0>@",["username"],"</0> 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</0> + <1>Alt</1> + <2>k</2>"],"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."],"vOsY+K":["Install ",["CLIENT_NAME"]],"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"],"wgNoIs":["Select all"],"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</0>"],"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"],"</0>…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xrl8fj":["Catch-up"],"y/0uwd":["Yesterday"],"y3ou+8":["Post reported"],"y6sq5j":["Following"],"yCXori":["Failed to log in. Please try again or try another server."],"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"],"yi60j9":["Switch to post's server (",["0"],")"],"yjj6Ll":["Unable to load posts with this tag"],"yrz6Ck":["<0>Shift</0> + <1>b</1>"],"ywB7JM":["Conversation muted"],"yz7wBu":["Close"],"z96cOX":["NOTE: Push notifications only work for <0>one account</0>."],"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"],"</0>"],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql+":["Menu"],"zwBp5t":["Private"],"zytZXj":["Multiple choice"]}`),Of=Object.freeze(Object.defineProperty({__proto__:null,messages:Ti},Symbol.toStringTag,{value:"Module"})),Nf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_DEFAULT_LANG:Df}=Nf,Uf={};He.load(We,Ti);He.on("change",()=>{const t=He.locale;if(t){document.documentElement.lang=t;try{const e=new Te(t),{direction:n}=e.getTextInfo?.()||e.textInfo;document.documentElement.dir=n}catch{}}});async function Ff(t){if(!t||t===We)He.activate(We);else try{const{messages:e}=await Rf(Object.assign({"../locales/ar-SA.po":()=>M(()=>import("./locales/ar-SA-oQQiso8S.js"),[],import.meta.url),"../locales/ca-ES.po":()=>M(()=>import("./locales/ca-ES-DoKS7xzb.js"),[],import.meta.url),"../locales/cs-CZ.po":()=>M(()=>import("./locales/cs-CZ-CeCG_5QX.js"),[],import.meta.url),"../locales/de-DE.po":()=>M(()=>import("./locales/de-DE-CtP99mwN.js"),[],import.meta.url),"../locales/en.po":()=>M(()=>Promise.resolve().then(()=>Of),void 0,import.meta.url),"../locales/eo-UY.po":()=>M(()=>import("./locales/eo-UY-DokFzcNN.js"),[],import.meta.url),"../locales/es-ES.po":()=>M(()=>import("./locales/es-ES-BlirBT_S.js"),[],import.meta.url),"../locales/eu-ES.po":()=>M(()=>import("./locales/eu-ES-CxouZZwm.js"),[],import.meta.url),"../locales/fa-IR.po":()=>M(()=>import("./locales/fa-IR-CNZKfpEq.js"),[],import.meta.url),"../locales/fi-FI.po":()=>M(()=>import("./locales/fi-FI-DdIW-YHj.js"),[],import.meta.url),"../locales/fr-FR.po":()=>M(()=>import("./locales/fr-FR-wjGhe9b5.js"),[],import.meta.url),"../locales/gl-ES.po":()=>M(()=>import("./locales/gl-ES-BjF6gic4.js"),[],import.meta.url),"../locales/he-IL.po":()=>M(()=>import("./locales/he-IL-oQQiso8S.js"),[],import.meta.url),"../locales/it-IT.po":()=>M(()=>import("./locales/it-IT-Dx8XyNg8.js"),[],import.meta.url),"../locales/ja-JP.po":()=>M(()=>import("./locales/ja-JP-DIwyjnjg.js"),[],import.meta.url),"../locales/kab.po":()=>M(()=>import("./locales/kab-B2Wzsvpw.js"),[],import.meta.url),"../locales/ko-KR.po":()=>M(()=>import("./locales/ko-KR-BGEPeNug.js"),[],import.meta.url),"../locales/lt-LT.po":()=>M(()=>import("./locales/lt-LT-Bbf58PU3.js"),[],import.meta.url),"../locales/nb-NO.po":()=>M(()=>import("./locales/nb-NO-oQQiso8S.js"),[],import.meta.url),"../locales/nl-NL.po":()=>M(()=>import("./locales/nl-NL-DwucoBNs.js"),[],import.meta.url),"../locales/oc-FR.po":()=>M(()=>import("./locales/oc-FR-oQQiso8S.js"),[],import.meta.url),"../locales/pl-PL.po":()=>M(()=>import("./locales/pl-PL-B_qxGchp.js"),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>M(()=>import("./locales/pseudo-LOCALE-Bg-75Y5V.js"),[],import.meta.url),"../locales/pt-BR.po":()=>M(()=>import("./locales/pt-BR-CK27w3s7.js"),[],import.meta.url),"../locales/pt-PT.po":()=>M(()=>import("./locales/pt-PT-IKKmNhxa.js"),[],import.meta.url),"../locales/ru-RU.po":()=>M(()=>import("./locales/ru-RU-DW6h1svA.js"),[],import.meta.url),"../locales/th-TH.po":()=>M(()=>import("./locales/th-TH-oQQiso8S.js"),[],import.meta.url),"../locales/tok.po":()=>M(()=>import("./locales/tok-oQQiso8S.js"),[],import.meta.url),"../locales/tr-TR.po":()=>M(()=>import("./locales/tr-TR-oQQiso8S.js"),[],import.meta.url),"../locales/uk-UA.po":()=>M(()=>import("./locales/uk-UA-DUQxfbFg.js"),[],import.meta.url),"../locales/zh-CN.po":()=>M(()=>import("./locales/zh-CN-BcKeMyco.js"),[],import.meta.url),"../locales/zh-TW.po":()=>M(()=>import("./locales/zh-TW-oQQiso8S.js"),[],import.meta.url)}),`../locales/${Uf[t]||t}.po`,3);He.loadAndActivate({locale:t,messages:e})}catch{He.activate(We)}}function Yh(){const t=If(kf("lang"),Lf("lang"),Tf(),Df,We),e=t.find(n=>Oo.includes(n))||vf(t,Oo);Ff(e)}function qf(){return!Intl.Segmenter}const xi=!qf();function ki(){if(!xi)return M(()=>import("./polyfill-force-sikb23vS.js"),[],import.meta.url).catch(()=>{})}function Mn(){return M(()=>import("./compose-6wkLWCrG.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)}async function Zh(){try{await ki(),Mn()}catch{}}function Jh(t){const[e,n]=se(null);return ye(()=>{(async()=>{try{if(xi){const r=await Mn();n(r)}else{await ki();const r=await Mn();n(r)}}catch{}})()},[]),e?.default?ee(e.default,{...t}):ee(Pf,{})}const Bf={BASE_URL:"./",DEV:!1,MODE:"production",PHANPY_CLIENT_NAME:"Phanpy",PHANPY_PRIVACY_POLICY_URL:"https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD",PHANPY_TRANSLANG_INSTANCES:"translang.phanpy.social",PROD:!0,SSR:!1,VITE_APP_ENV:"production"},{PHANPY_CLIENT_NAME:Uo}=Bf;function Qh(t,e){function n(){const{currentLocation:r}=S,o=Array.isArray(e);let s=o?e:[];!o&&/:?\w+\?/.test(e)&&(s.push(e.replace(/(:\w+)\?/g,"$1")),s.push(e.replace(/\/?:\w+\?/g,"")));let i=!1;s.length?i=s.some(a=>bn(a,r)):e&&(i=bn(e,r)),i&&(document.title=t?`${t} / ${Uo}`:Uo)}le(()=>{const r=hi(S,"currentLocation",n);return n(),r},[t,e])}function Fo(){const t=document.querySelector('meta[name="viewport"]');if(!t)return;if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0||window.matchMedia("(display-mode: window-controls-overlay)").matches){const n=t.getAttribute("content");n.includes("user-scalable=no")||t.setAttribute("content",n+", user-scalable=no")}}function Xh(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Fo):Fo()}export{Bn as $,ie as A,Pf as B,Vh as C,Kh as D,yh as E,jh as F,Po as G,He as H,nn as I,vf as J,M as K,Wh as L,Wn as M,pr as N,Mi as O,ar as P,ae as Q,Us as R,Zh as S,Vf as T,Jh as U,gt as V,pe as W,Du as X,is as Y,ah as Z,le as _,zf as a,bh as a0,Xe as a1,nh as a2,Qh as a3,wh as a4,zd as a5,hi as a6,Sh as a7,Eh as a8,_h as a9,ws as aA,Af as aB,bf as aC,ra as aD,Pd as aE,gh as aF,Lt as aG,K as aH,N as aI,Vn as aJ,Yo as aK,Kn as aL,B as aM,_d as aN,Hd as aO,Fu as aP,Ih as aQ,Zd as aR,Hh as aS,yf as aT,zh as aU,$f as aV,ju as aW,md as aX,bn as aa,Vd as ab,lh as ac,us as ad,ce as ae,Lh as af,Ph as ag,Ch as ah,$h as ai,kn as aj,Rh as ak,Ah as al,oh as am,dl as an,lt as ao,rh as ap,Yh as aq,Xh as ar,dt as as,Gf as at,ih as au,Gh as av,Es as aw,Ss as ax,ds as ay,va as az,Ht as b,Ei as c,se as d,ch as e,et as f,ci as g,Vt as h,hr as i,qu as j,Y as k,P as l,te as m,Ff as n,We as o,yd as p,me as q,vh as r,S as s,di as t,ee as u,Gu as v,er as w,H as x,ye as y,Ud as z};
//# sourceMappingURL=pwa-viewport-7HQOd5MC.js.map