20 lines
234 KiB
JavaScript
20 lines
234 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./compose-BTH2Q-AV.js","./ScheduledAtField-Crk-z6KL.js","./ICONS-BxS0OyEd.js","./__vite-browser-external-BDDwtokW.js"])))=>i.map(i=>d[i]);
|
||
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`AbortSignal`in window&&(AbortSignal.timeout=AbortSignal.timeout||(e=>{let t=new AbortController;return setTimeout(()=>t.abort(),e),t.signal})),`AbortSignal`in window&&!AbortSignal.any&&(AbortSignal.any=function(e){let t=new AbortController,{signal:n}=t;for(let r of e)if(r.aborted)return t.abort(r.reason),n;for(let r of e)r.addEventListener(`abort`,()=>{t.abort(r.reason)},{signal:n});return n}),`URL`in window&&typeof URL.parse!=`function`&&(URL.parse=function(e,t){if(!e)return null;try{return t?new URL(e,t):new URL(e)}catch{return null}});var d=o(((e,t)=>{(function(e,n){typeof define==`function`&&define.amd?define([],n):typeof t==`object`&&t.exports?t.exports=n():e.moo=n()})(e,function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=typeof RegExp().sticky==`boolean`;function r(e){return e&&t.call(e)===`[object RegExp]`}function i(e){return e&&typeof e==`object`&&!r(e)&&!Array.isArray(e)}function a(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,function(e){return e===`-`?`\\x2d`:`\\`+e})}function o(e){return RegExp(`|`+e).exec(``).length-1}function s(e){return`(`+e+`)`}function c(e){return e.length?`(?:`+e.map(function(e){return`(?:`+e+`)`}).join(`|`)+`)`:`(?!)`}function l(e){if(typeof e==`string`)return`(?:`+a(e)+`)`;if(r(e)){if(e.ignoreCase)throw Error(`RegExp /i flag not allowed`);if(e.global)throw Error(`RegExp /g flag is implied`);if(e.sticky)throw Error(`RegExp /y flag is implied`);if(e.multiline)throw Error(`RegExp /m flag is implied`);return e.source}else throw Error(`Not a pattern: `+e)}function u(e,t){return e.length>t?e:Array(t-e.length+1).join(` `)+e}function d(e,t){for(var n=e.length,r=0;;){var i=e.lastIndexOf(`
|
||
`,n-1);if(i===-1||(r++,n=i,r===t)||n===0)break}var a=r<t?0:n+1;return e.substring(a).split(`
|
||
`)}function f(e){for(var t=Object.getOwnPropertyNames(e),n=[],r=0;r<t.length;r++){var a=t[r],o=e[a],s=[].concat(o);if(a===`include`){for(var c=0;c<s.length;c++)n.push({include:s[c]});continue}var l=[];s.forEach(function(e){i(e)?(l.length&&n.push(m(a,l)),n.push(m(a,e)),l=[]):l.push(e)}),l.length&&n.push(m(a,l))}return n}function p(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(r.include){for(var i=[].concat(r.include),a=0;a<i.length;a++)t.push({include:i[a]});continue}if(!r.type)throw Error(`Rule has no type: `+JSON.stringify(r));t.push(m(r.type,r))}return t}function m(t,n){if(i(n)||(n={match:n}),n.include)throw Error(`Matching rules cannot also include states`);var a={defaultType:t,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in n)e.call(n,o)&&(a[o]=n[o]);if(typeof a.type==`string`&&t!==a.type)throw Error(`Type transform cannot be a string (type '`+a.type+`' for token '`+t+`')`);var s=a.match;return a.match=Array.isArray(s)?s:s?[s]:[],a.match.sort(function(e,t){return r(e)&&r(t)?0:r(t)?-1:r(e)?1:t.length-e.length}),a}function h(e){return Array.isArray(e)?p(e):f(e)}var g=m(`error`,{lineBreaks:!0,shouldThrow:!0});function _(e,t){for(var i=null,a=Object.create(null),u=!0,d=null,f=[],p=[],m=0;m<e.length;m++)e[m].fallback&&(u=!1);for(var m=0;m<e.length;m++){var h=e[m];if(h.include)throw Error(`Inheritance is not allowed in stateless lexers`);if(h.error||h.fallback){if(i)throw!h.fallback==!i.fallback?Error(`Multiple `+(h.fallback?`fallback`:`error`)+` rules not allowed (for token '`+h.defaultType+`')`):Error(`fallback and error are mutually exclusive (for token '`+h.defaultType+`')`);i=h}var _=h.match.slice();if(u)for(;_.length&&typeof _[0]==`string`&&_[0].length===1;){var v=_.shift();a[v.charCodeAt(0)]=h}if(h.pop||h.push||h.next){if(!t)throw Error(`State-switching options are not allowed in stateless lexers (for token '`+h.defaultType+`')`);if(h.fallback)throw Error(`State-switching options are not allowed on fallback tokens (for token '`+h.defaultType+`')`)}if(_.length!==0){u=!1,f.push(h);for(var y=0;y<_.length;y++){var b=_[y];if(r(b)){if(d===null)d=b.unicode;else if(d!==b.unicode&&h.fallback===!1)throw Error(`If one rule is /u then all must be`)}}var x=c(_.map(l)),S=new RegExp(x);if(S.test(``))throw Error(`RegExp matches empty string: `+S);if(o(x)>0)throw Error(`RegExp has capture groups: `+S+`
|
||
Use (?: … ) instead`);if(!h.lineBreaks&&S.test(`
|
||
`))throw Error(`Rule should declare lineBreaks: `+S);p.push(s(x))}}var C=i&&i.fallback,ee=n&&!C?`ym`:`gm`,w=n||C?``:`|`;return d===!0&&(ee+=`u`),{regexp:new RegExp(c(p)+w,ee),groups:f,fast:a,error:i||g}}function v(e){return new S({start:_(h(e))},`start`)}function y(e,t,n){var r=e&&(e.push||e.next);if(r&&!n[r])throw Error(`Missing state '`+r+`' (in token '`+e.defaultType+`' of state '`+t+`')`);if(e&&e.pop&&+e.pop!=1)throw Error(`pop must be 1 (in token '`+e.defaultType+`' of state '`+t+`')`)}function b(e,t){var n=e.$all?h(e.$all):[];delete e.$all;var r=Object.getOwnPropertyNames(e);t||=r[0];for(var i=Object.create(null),a=0;a<r.length;a++){var o=r[a];i[o]=h(e[o]).concat(n)}for(var a=0;a<r.length;a++)for(var o=r[a],s=i[o],c=Object.create(null),l=0;l<s.length;l++){var u=s[l];if(u.include){var d=[l,1];if(u.include!==o&&!c[u.include]){c[u.include]=!0;var f=i[u.include];if(!f)throw Error(`Cannot include nonexistent state '`+u.include+`' (in state '`+o+`')`);for(var p=0;p<f.length;p++){var m=f[p];s.indexOf(m)===-1&&d.push(m)}}s.splice.apply(s,d),l--}}for(var g=Object.create(null),a=0;a<r.length;a++){var o=r[a];g[o]=_(i[o],!0)}for(var a=0;a<r.length;a++){for(var v=r[a],b=g[v],x=b.groups,l=0;l<x.length;l++)y(x[l],v,g);for(var C=Object.getOwnPropertyNames(b.fast),l=0;l<C.length;l++)y(b.fast[C[l]],v,g)}return new S(g,t)}function x(e){for(var t=typeof Map<`u`,n=t?new Map:Object.create(null),r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var a=r[i],o=e[a];(Array.isArray(o)?o:[o]).forEach(function(e){if(typeof e!=`string`)throw Error(`keyword must be string (in keyword '`+a+`')`);t?n.set(e,a):n[e]=a})}return function(e){return t?n.get(e):n[e]}}var S=function(e,t){this.startState=t,this.states=e,this.buffer=``,this.stack=[],this.reset()};S.prototype.reset=function(e,t){return this.buffer=e||``,this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:``,this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},S.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}},S.prototype.setState=function(e){if(!(!e||this.state===e)){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},S.prototype.popState=function(){this.setState(this.stack.pop())},S.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var C=n?function(e,t){return e.exec(t)}:function(e,t){var n=e.exec(t);return n[0].length===0?null:n};S.prototype._getGroup=function(e){for(var t=this.groups.length,n=0;n<t;n++)if(e[n+1]!==void 0)return this.groups[n];throw Error(`Cannot find token type for matched text`)};function ee(){return this.value}if(S.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText=``,t}var n=this.buffer;if(e!==n.length){var r=this.fast[n.charCodeAt(e)];if(r)return this._token(r,n.charAt(e),e);var i=this.re;i.lastIndex=e;var a=C(i,n),o=this.error;if(a==null)return this._token(o,n.slice(e,n.length),e);var r=this._getGroup(a),s=a[0];return o.fallback&&a.index!==e?(this.queuedGroup=r,this.queuedText=s,this._token(o,n.slice(e,a.index),e)):this._token(r,s,e)}},S.prototype._token=function(e,t,n){var r=0;if(e.lineBreaks){var i=/\n/g,a=1;if(t===`
|
||
`)r=1;else for(;i.exec(t);)r++,a=i.lastIndex}var o={type:typeof e.type==`function`&&e.type(t)||e.defaultType,value:typeof e.value==`function`?e.value(t):t,text:t,toString:ee,offset:n,lineBreaks:r,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=r,r===0?this.col+=s:this.col=s-a+1,e.shouldThrow)throw Error(this.formatError(o,`invalid syntax`));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),o},typeof Symbol<`u`&&Symbol.iterator){var w=function(e){this.lexer=e};w.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},w.prototype[Symbol.iterator]=function(){return this},S.prototype[Symbol.iterator]=function(){return new w(this)}}return S.prototype.formatError=function(e,t){if(e==null)var n=this.buffer.slice(this.index),e={text:n,offset:this.index,lineBreaks:n.indexOf(`
|
||
`)===-1?0:1,line:this.line,col:this.col};var r=2,i=Math.max(e.line-r,1),a=e.line+r,o=String(a).length,s=d(this.buffer,this.line-e.line+r+1).slice(0,5),c=[];c.push(t+` at line `+e.line+` col `+e.col+`:`),c.push(``);for(var l=0;l<s.length;l++){var f=s[l],p=i+l;c.push(u(String(p),o)+` `+f),p===e.line&&c.push(u(``,o+e.col+1)+`^`)}return c.join(`
|
||
`)},S.prototype.clone=function(){return new S(this.states,this.state)},S.prototype.has=function(e){return!0},{compile:v,states:b,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:x}})})),f=o((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.lexer=e.states=void 0;var n=t(d());e.states={body:{doubleapos:{match:`''`,value:()=>`'`},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,`'`)},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:`arg`,value:e=>e.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:e=>e.split(`,`)[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:`body`,value:e=>e.split(`,`)[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:`}`,pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(`:`)[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:`body`,value:e=>e.substring(0,e.indexOf(`{`)).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=n.default.states(e.states)}));o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ParseError=void 0,e.parse=l;var t=f(),n=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),r=e=>e===`plural`||e===`select`||e===`selectordinal`;function i(e,t){let n=``,r=``;for(let i of t){let t=i.ctx.text;switch(r+=t,i.type){case`content`:n+=i.value;break;case`argument`:case`function`:case`octothorpe`:n+=t;break;default:throw new s(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:`content`,value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:r})}]}var a=[`number`,`date`,`time`,`spellout`,`ordinal`,`duration`],o=[`zero`,`one`,`two`,`few`,`many`,`other`],s=class extends Error{constructor(e,n){super(t.lexer.formatError(e,n))}};e.ParseError=s;var c=class{constructor(e,n){this.lexer=t.lexer.reset(e),this.cardinalKeys=n?.cardinal??o,this.ordinalKeys=n?.ordinal??o,this.strict=n?.strict??!1,this.strictPluralKeys=n?.strictPluralKeys??!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,n){if(n[0]===`=`){if(t===`select`)throw new s(e,`The case ${n} is not valid with select`)}else if(t!==`select`){let r=t===`plural`?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&r.length>0&&!r.includes(n))throw new s(e,`The ${t} case ${n} is not valid in this locale`)}}parseSelect({value:e},t,r,i){let a={type:i,arg:e,cases:[],ctx:r};i===`plural`||i===`selectordinal`?t=!0:this.strict&&(t=!1);for(let e of this.lexer)switch(e.type){case`offset`:if(i===`select`)throw new s(e,`Unexpected plural offset for select`);if(a.cases.length>0)throw new s(e,`Plural offset must be set before cases`);a.pluralOffset=Number(e.value),r.text+=e.text,r.lineBreaks+=e.lineBreaks;break;case`case`:this.checkSelectKey(e,i,e.value),a.cases.push({key:e.value,tokens:this.parseBody(t),ctx:n(e)});break;case`end`:return a;default:throw new s(e,`Unexpected lexer token: ${e.type}`)}throw new s(null,`Unexpected message end`)}parseArgToken(e,t){let o=n(e),c=this.lexer.next();if(!c)throw new s(null,`Unexpected message end`);if(o.text+=c.text,o.lineBreaks+=c.lineBreaks,this.strict&&(c.type===`func-simple`||c.type===`func-args`)&&!a.includes(c.value))throw new s(e,`Invalid strict mode function arg type: ${c.value}`);switch(c.type){case`end`:return{type:`argument`,arg:e.value,ctx:o};case`func-simple`:{let t=this.lexer.next();if(!t)throw new s(null,`Unexpected message end`);if(t.type!==`end`)throw new s(t,`Unexpected lexer token: ${t.type}`);if(o.text+=t.text,r(c.value.toLowerCase()))throw new s(c,`Invalid type identifier: ${c.value}`);return{type:`function`,arg:e.value,key:c.value,ctx:o}}case`func-args`:{if(r(c.value.toLowerCase()))throw new s(c,`Invalid type identifier: ${c.value}`);let n=this.parseBody(this.strict?!1:t);return this.strict&&n.length>0&&(n=i(e,n)),{type:`function`,arg:e.value,key:c.value,param:n,ctx:o}}case`select`:if(r(c.value))return this.parseSelect(e,t,o,c.value);throw new s(c,`Unexpected select type ${c.value}`);default:throw new s(c,`Unexpected lexer token: ${c.type}`)}}parseBody(e,t){let r=[],i=null;for(let a of this.lexer)if(a.type===`argument`)i&&=null,r.push(this.parseArgToken(a,e));else if(a.type===`octothorpe`&&e)i&&=null,r.push({type:`octothorpe`,ctx:n(a)});else if(a.type===`end`&&!t)return r;else{let t=a.value;if(!e&&a.type===`quoted`&&t[0]===`#`){if(t.includes(`{`))throw new s(a,`Unsupported escape pattern: ${t}`);t=a.text}i?(i.value+=t,i.ctx.text+=a.text,i.ctx.lineBreaks+=a.lineBreaks):(i={type:`content`,value:t,ctx:n(a)},r.push(i))}if(t)return r;throw new s(null,`Unexpected message end`)}};function l(e,t={}){return new c(e,t).parse()}}))();var p=class extends Error{constructor(e,t,n){super(e),this.token=t,this.type=n||`error`}},m=e=>e<4?`short`:e===4?`long`:`narrow`,h=e=>e%2==0?`2-digit`:`numeric`;function g(e,t){switch(e.char){case`y`:return{year:h(e.width)};case`r`:return{calendar:`gregory`,year:`numeric`};default:return t(`${e.desc} is not supported; falling back to year:numeric`,p.WARNING),{year:`numeric`}}}function _(e,t){switch(e.width){case 1:return`numeric`;case 2:return`2-digit`;case 3:return`short`;case 4:return`long`;case 5:return`narrow`;default:t(`${e.desc} is not supported with width ${e.width}`);return}}function v(e,t){let{char:n,desc:r,width:i}=e;if(n===`d`)return h(i);t(`${r} is not supported`)}function y(e,t){let{char:n,desc:r,width:i}=e;return(n===`c`||n===`e`)&&i<3&&t(`Numeric value is not supported for ${r}; falling back to weekday:short`,p.WARNING),m(i)}function b(e){let t=h(e.width),n;switch(e.char){case`h`:n=`h12`;break;case`H`:n=`h23`;break;case`k`:n=`h24`;break;case`K`:n=`h11`;break}return n?{hour:t,hourCycle:n}:{hour:t}}function x(e,t){let{char:n,desc:r,width:i}=e;switch(n){case`v`:case`z`:return i===4?`long`:`short`;case`V`:if(i===4)return`long`;t(`${r} is not supported with width ${i}`);return;case`X`:t(`${r} is not supported`);return}return`short`}function S(e,t){switch(e.field){case`era`:return{era:m(e.width)};case`year`:return g(e,t);case`month`:return{month:_(e,t)};case`day`:return{day:v(e,t)};case`weekday`:return{weekday:y(e,t)};case`period`:return;case`hour`:return b(e);case`min`:return{minute:h(e.width)};case`sec`:return{second:h(e.width)};case`tz`:return{timeZoneName:x(e,t)};case`quarter`:case`week`:case`sec-frac`:case`ms`:t(`${e.desc} is not supported`)}}function C(e,t,n=e=>{throw e}){let r={timeZone:t},i=[];for(let t of e){let{error:e,field:a,str:o}=t;if(e){let r=new p(e.message,t);r.stack=e.stack,n(r)}o&&n(new p(`Ignoring string part: ${o}`,t,p.WARNING)),a&&(i.indexOf(a)===-1?i.push(a):n(new p(`Duplicate ${a} token`,t)));let s=S(t,(e,r)=>n(new p(e,t,r)));s&&Object.assign(r,s)}return r}var ee={G:{field:`era`,desc:`Era`},y:{field:`year`,desc:`Year`},Y:{field:`year`,desc:`Year of "Week of Year"`},u:{field:`year`,desc:`Extended year`},U:{field:`year`,desc:`Cyclic year name`},r:{field:`year`,desc:`Related Gregorian year`},Q:{field:`quarter`,desc:`Quarter`},q:{field:`quarter`,desc:`Stand-alone quarter`},M:{field:`month`,desc:`Month in year`},L:{field:`month`,desc:`Stand-alone month in year`},w:{field:`week`,desc:`Week of year`},W:{field:`week`,desc:`Week of month`},d:{field:`day`,desc:`Day in month`},D:{field:`day`,desc:`Day of year`},F:{field:`day`,desc:`Day of week in month`},g:{field:`day`,desc:`Modified julian day`},E:{field:`weekday`,desc:`Day of week`},e:{field:`weekday`,desc:`Local day of week`},c:{field:`weekday`,desc:`Stand-alone local day of week`},a:{field:`period`,desc:`AM/PM marker`},b:{field:`period`,desc:`AM/PM/noon/midnight marker`},B:{field:`period`,desc:`Flexible day period`},h:{field:`hour`,desc:`Hour in AM/PM (1~12)`},H:{field:`hour`,desc:`Hour in day (0~23)`},k:{field:`hour`,desc:`Hour in day (1~24)`},K:{field:`hour`,desc:`Hour in AM/PM (0~11)`},j:{field:`hour`,desc:`Hour in preferred cycle`},J:{field:`hour`,desc:`Hour in preferred cycle without marker`},C:{field:`hour`,desc:`Hour in preferred cycle with flexible marker`},m:{field:`min`,desc:`Minute in hour`},s:{field:`sec`,desc:`Second in minute`},S:{field:`sec-frac`,desc:`Fractional second`},A:{field:`ms`,desc:`Milliseconds in day`},z:{field:`tz`,desc:`Time Zone: specific non-location`},Z:{field:`tz`,desc:`Time Zone`},O:{field:`tz`,desc:`Time Zone: localized`},v:{field:`tz`,desc:`Time Zone: generic non-location`},V:{field:`tz`,desc:`Time Zone: ID`},X:{field:`tz`,desc:`Time Zone: ISO8601 with Z`},x:{field:`tz`,desc:`Time Zone: ISO8601`}},w=e=>e>=`A`&&e<=`Z`||e>=`a`&&e<=`z`;function te(e,t){let n=e[t],r=1;for(;e[++t]===n;)++r;let i=ee[n];if(!i){let e=`The letter ${n} is not a valid field identifier`;return{char:n,error:Error(e),width:r}}return{char:n,field:i.field,desc:i.desc,width:r}}function ne(e,t){let n=e[++t],r=2;if(n===`'`)return{char:`'`,str:n,width:r};for(;;){let i=e[++t];if(++r,i===void 0){let t=`Unterminated quoted literal in pattern: ${n||e}`;return{char:`'`,error:Error(t),str:n,width:r}}else if(i===`'`){if(e[++t]!==`'`)return{char:`'`,str:n,width:r};++r}n+=i}}function re(e,t){let n=e[t];if(!n)return null;if(w(n))return te(e,t);if(n===`'`)return ne(e,t);let r=n,i=1;for(;;){let a=e[++t];if(!a||w(a)||a===`'`)return{char:n,str:r,width:i};r+=a,i+=1}}function ie(e){let t=[],n=0;for(;;){let r=re(e,n);if(!r)return t;t.push(r),n+=r.width}}function ae(e,t){return e.filter(e=>e.type!==`content`).length?e.map(e=>{if(e.type===`content`)return t(e.value);if(e.type===`octothorpe`)return`#`;if(e.type===`argument`)return[e.arg];if(e.type===`function`){let t=e?.param?.[0];if(e.key===`date`&&t){let n=oe(t.value.trim(),e=>{throw Error(`Unable to compile date expression: ${e.message}`)});return[e.arg,e.key,n]}return t?[e.arg,e.key,t.value.trim()]:[e.arg,e.key]}let n=e.pluralOffset,r={};return e.cases.forEach(({key:e,tokens:n})=>{let i=e[0]===`=`?e.slice(1):e;r[i]=ae(n,t)}),[e.arg,e.type,{offset:n,...r}]}):e.map(e=>t(e.value))}function oe(e,t){return/^::/.test(e)?C(ie(e.substring(2)),void 0,t):e}var se=e=>typeof e==`string`,ce=e=>typeof e==`function`,le=new Map,ue=`en`;function de(e){return[...Array.isArray(e)?e:[e],ue]}function fe(e,t,n){let r=de(e);n||=`default`;let i;if(typeof n==`string`)switch(i={day:`numeric`,month:`short`,year:`numeric`},n){case`full`:i.weekday=`long`;case`long`:i.month=`long`;break;case`short`:i.month=`numeric`;break}else i=n;return ge(()=>_e(`date`,r,n),()=>new Intl.DateTimeFormat(r,i)).format(se(t)?new Date(t):t)}function pe(e,t,n){let r;if(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 fe(e,t,r)}function me(e,t,n){let r=de(e);return ge(()=>_e(`number`,r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function he(e,t,n,{offset:r=0,...i}){let a=de(e),o=t?ge(()=>_e(`plural-ordinal`,a),()=>new Intl.PluralRules(a,{type:`ordinal`})):ge(()=>_e(`plural-cardinal`,a),()=>new Intl.PluralRules(a,{type:`cardinal`}));return i[n]??i[o.select(n-r)]??i.other}function ge(e,t){let n=e(),r=le.get(n);return r||(r=t(),le.set(n,r)),r}function _e(e,t,n){return`${e}-${t.join(`-`)}-${JSON.stringify(n)}`}var ve=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,ye=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,n)=>{if(t){let e=parseInt(t,16);return String.fromCharCode(e)}else{let e=parseInt(n,16);return String.fromCharCode(e)}}),be=`%__lingui_octothorpe__%`,xe=(e,t,n={})=>{let r=t||e,i=e=>typeof e==`object`?e:n[e],a=(e,t)=>{let a=me(r,e,Object.keys(n).length?i(`number`):void 0);return t.replace(new RegExp(be,`g`),a)};return{plural:(e,t)=>{let{offset:n=0}=t,i=he(r,!1,e,t);return a(e-n,i)},selectordinal:(e,t)=>{let{offset:n=0}=t,i=he(r,!0,e,t);return a(e-n,i)},select:Se,number:(e,t)=>me(r,e,i(t)||{style:t}),date:(e,t)=>fe(r,e,i(t)||t),time:(e,t)=>pe(r,e,i(t)||t)}},Se=(e,t)=>t[e]??t.other;function Ce(e,t,n){return(r={},i)=>{let a=xe(t,n,i),o=(e,t=!1)=>Array.isArray(e)?e.reduce((e,n)=>{if(n===`#`&&t)return e+be;if(se(n))return e+n;let[i,s,c]=n,l={};s===`plural`||s===`selectordinal`||s===`select`?Object.entries(c).forEach(([e,t])=>{l[e]=o(t,s===`plural`||s===`selectordinal`)}):l=c;let u;if(s){let e=a[s];u=e(r[i],l)}else u=r[i];return u==null?e:e+u},``):e,s=o(e);return se(s)&&ve.test(s)?ye(s):se(s)?s:s?String(s):``}}var we=class{_events={};on(e,t){return this._events[e]??=new Set,this._events[e].add(t),()=>this.removeListener(e,t)}removeListener(e,t){let n=this._events[e];n?.delete(t),n?.size===0&&delete this._events[e]}emit(e,...t){let n=this._events[e];if(n)for(let e of[...n])e.apply(this,t)}},Te=class extends we{_locale=``;_locales;_messages={};_missing;_messageCompiler;constructor(e){super(),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),(typeof e.locale==`string`||e.locales)&&this.activate(e.locale??ue,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(e){return this._messageCompiler=e,this}_load(e,t){let n=this._messages[e];n?Object.assign(n,t):this._messages[e]=t}load(e,t){typeof e==`string`&&typeof t==`object`?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit(`change`)}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit(`change`)}activate(e,t){this._locale=e,this._locales=t,this.emit(`change`)}_(e,t,n){if(!this.locale)throw Error(`Lingui: Attempted to call a translation function without setting a locale.
|
||
Make sure to call \`i18n.activate(locale)\` before using Lingui functions.
|
||
This issue may also occur due to a race condition in your initialization logic.`);let r=n?.message;e||=``,se(e)||(t=e.values||t,r=e.message,e=e.id);let i=this.messages[e],a=i===void 0,o=this._missing;if(o&&a)return ce(o)?o(this._locale,e):o;a&&this.emit(`missing`,{id:e,locale:this._locale});let s=i||r||e;return se(s)&&(this._messageCompiler?s=this._messageCompiler(s):console.warn(`Uncompiled message detected! Message:
|
||
|
||
> ${s}
|
||
|
||
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.
|
||
`)),se(s)&&ve.test(s)?ye(s):se(s)?s:Ce(s,this._locale,this._locales)(t,n?.formats)}t=this._.bind(this);date(e,t){return fe(this._locales||this._locale,e,t)}number(e,t){return me(this._locales||this._locale,e,t)}};function Ee(e={}){return new Te(e)}var De=Ee(),Oe,T,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He={},Ue=[],We=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ge=Array.isArray;function E(e,t){for(var n in t)e[n]=t[n];return e}function Ke(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function D(e,t,n){var r,i,a,o={};for(a in t)a==`key`?r=t[a]:a==`ref`?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?Oe.call(arguments,2):n),typeof e==`function`&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return qe(e,o,r,i,null)}function qe(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++ke,__i:-1,__u:0};return i==null&&T.vnode!=null&&T.vnode(a),a}function Je(){return{current:null}}function O(e){return e.children}function k(e,t){this.props=e,this.context=t}function Ye(e,t){if(t==null)return e.__?Ye(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?Ye(e):null}function Xe(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],i=[],a=E({},t);a.__v=t.__v+1,T.vnode&&T.vnode(a),ct(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??Ye(t),!!(32&t.__u),i),a.__v=t.__v,a.__.__k[a.__i]=a,ut(r,a,i),t.__e=t.__=null,a.__e!=n&&Ze(a)}}function Ze(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),Ze(e)}function Qe(e){(!e.__d&&(e.__d=!0)&&Ae.push(e)&&!$e.__r++||je!=T.debounceRendering)&&((je=T.debounceRendering)||Me)($e)}function $e(){try{for(var e,t=1;Ae.length;)Ae.length>t&&Ae.sort(Ne),e=Ae.shift(),t=Ae.length,Xe(e)}finally{Ae.length=$e.__r=0}}function et(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,g,_,v=r&&r.__k||Ue,y=t.length;for(c=tt(n,t,v,c,y),d=0;d<y;d++)(p=n.__k[d])!=null&&(f=p.__i!=-1&&v[p.__i]||He,p.__i=d,g=ct(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&pt(f.ref,null,p),u.push(p.ref,p.__c||m,p)),h==null&&m!=null&&(h=m),(_=!!(4&p.__u))||f.__k===p.__k?(c=nt(p,c,e,_),_&&f.__e&&(f.__e=null)):typeof p.type==`function`&&g!==void 0?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=h,c}function tt(e,t,n,r,i){var a,o,s,c,l,u=n.length,d=u,f=0;for(e.__k=Array(i),a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o==`string`||typeof o==`number`||typeof o==`bigint`||o.constructor==String?o=e.__k[a]=qe(null,o,null,null,null):Ge(o)?o=e.__k[a]=qe(O,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=qe(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,c=a+f,o.__=e,o.__b=e.__b+1,s=null,(l=o.__i=it(o,n,c,d))!=-1&&(d--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(i>u?f--:i<u&&f++),typeof o.type!=`function`&&(o.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,o.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<u;a++)(s=n[a])!=null&&!(2&s.__u)&&(s.__e==r&&(r=Ye(s)),mt(s,s));return r}function nt(e,t,n,r){var i,a;if(typeof e.type==`function`){for(i=e.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=e,t=nt(i[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=Ye(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function rt(e,t){return t||=[],e==null||typeof e==`boolean`||(Ge(e)?e.some(function(e){rt(e,t)}):t.push(e)),t}function it(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&(2&l.__u)==0;if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function at(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||We.test(t)?n:n+`px`}function ot(e,t,n,r,i){var a,o;n:if(t==`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||at(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||at(e.style,t,n[t])}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(Le,`$1`)),o=t.toLowerCase(),t=o in e||t==`onFocusOut`||t==`onFocusIn`?o.slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n[Ie]=r[Ie]:(n[Ie]=Re,e.addEventListener(t,a?Be:ze,a)):e.removeEventListener(t,a?Be:ze,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function st(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[Fe]==null)t[Fe]=Re++;else if(t[Fe]<n[Ie])return;return n(T.event?T.event(t):t)}}}function ct(e,t,n,r,i,a,o,s,c,l){var u,d,f,p,m,h,g,_,v,y,b,x,S,C,ee,w=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),a=[s=t.__e=n.__e]),(u=T.__b)&&u(t);n:if(typeof w==`function`)try{if(_=t.props,v=w.prototype&&w.prototype.render,y=(u=w.contextType)&&r[u.__c],b=u?y?y.props.value:u.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:(v?t.__c=d=new w(_,b):(t.__c=d=new k(_,b),d.constructor=w,d.render=ht),y&&y.sub(d),d.state||={},d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),v&&d.__s==null&&(d.__s=d.state),v&&w.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=E({},d.__s)),E(d.__s,w.getDerivedStateFromProps(_,d.__s))),p=d.props,m=d.state,d.__v=t,f)v&&w.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),v&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(v&&w.getDerivedStateFromProps==null&&_!==p&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(_,b),t.__v==n.__v||!d.__e&&d.shouldComponentUpdate!=null&&!1===d.shouldComponentUpdate(_,d.__s,b)){t.__v!=n.__v&&(d.props=_,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),Ue.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&o.push(d);break n}d.componentWillUpdate!=null&&d.componentWillUpdate(_,d.__s,b),v&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(p,m,h)})}if(d.context=b,d.props=_,d.__P=e,d.__e=!1,x=T.__r,S=0,v)d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),Ue.push.apply(d.__h,d._sb),d._sb=[];else do d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++S<25);d.state=d.__s,d.getChildContext!=null&&(r=E(E({},r),d.getChildContext())),v&&!f&&d.getSnapshotBeforeUpdate!=null&&(h=d.getSnapshotBeforeUpdate(p,m)),C=u!=null&&u.type===O&&u.key==null?dt(u.props.children):u,s=et(e,Ge(C)?C:[C],t,n,r,i,a,o,s,c,l),d.base=t.__e,t.__u&=-161,d.__h.length&&o.push(d),g&&(d.__E=d.__=null)}catch(e){if(t.__v=null,c||a!=null)if(e.then){for(t.__u|=c?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else{for(ee=a.length;ee--;)Ke(a[ee]);lt(t)}else t.__e=n.__e,t.__k=n.__k,e.then||lt(t);T.__e(e,t,n)}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=ft(n.__e,t,n,r,i,a,o,c,l);return(u=T.diffed)&&u(t),128&t.__u?void 0:s}function lt(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(lt))}function ut(e,t,n){for(var r=0;r<n.length;r++)pt(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){T.__e(e,t.__v)}})}function dt(e){return typeof e!=`object`||!e||e.__b>0?e:Ge(e)?e.map(dt):E({},e)}function ft(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h,g=n.props||He,_=t.props,v=t.type;if(v==`svg`?i=`http://www.w3.org/2000/svg`:v==`math`?i=`http://www.w3.org/1998/Math/MathML`:i||=`http://www.w3.org/1999/xhtml`,a!=null){for(l=0;l<a.length;l++)if((p=a[l])&&`setAttribute`in p==!!v&&(v?p.localName==v:p.nodeType==3)){e=p,a[l]=null;break}}if(e==null){if(v==null)return document.createTextNode(_);e=document.createElementNS(i,v,_.is&&_),s&&=(T.__m&&T.__m(t,a),!1),a=null}if(v==null)g===_||s&&e.data==_||(e.data=_);else{if(a&&=Oe.call(e.childNodes),!s&&a!=null)for(g={},l=0;l<e.attributes.length;l++)g[(p=e.attributes[l]).name]=p.value;for(l in g)p=g[l],l==`dangerouslySetInnerHTML`?d=p:l==`children`||l in _||l==`value`&&`defaultValue`in _||l==`checked`&&`defaultChecked`in _||ot(e,l,null,p,i);for(l in _)p=_[l],l==`children`?f=p:l==`dangerouslySetInnerHTML`?u=p:l==`value`?m=p:l==`checked`?h=p:s&&typeof p!=`function`||g[l]===p||ot(e,l,p,g[l],i);if(u)s||d&&(u.__html==d.__html||u.__html==e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=``),et(t.type==`template`?e.content:e,Ge(f)?f:[f],t,n,r,v==`foreignObject`?`http://www.w3.org/1999/xhtml`:i,a,o,a?a[0]:n.__k&&Ye(n,0),s,c),a!=null)for(l=a.length;l--;)Ke(a[l]);s||(l=`value`,v==`progress`&&m==null?e.removeAttribute(`value`):m!=null&&(m!==e[l]||v==`progress`&&!m||v==`option`&&m!=g[l])&&ot(e,l,m,g[l],i),l=`checked`,h!=null&&h!=e[l]&&ot(e,l,h,g[l],i))}return e}function pt(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){T.__e(e,n)}}function mt(e,t,n){var r,i;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||pt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){T.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&mt(r[i],t,n||typeof e.type!=`function`);n||Ke(e.__e),e.__c=e.__=e.__e=void 0}function ht(e,t,n){return this.constructor(e,n)}function gt(e,t,n){var r,i,a,o;t==document&&(t=document.documentElement),T.__&&T.__(e,t),i=(r=typeof n==`function`)?null:n&&n.__k||t.__k,a=[],o=[],ct(t,e=(!r&&n||t).__k=D(O,null,[e]),i||He,He,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?Oe.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),ut(a,e,o)}function _t(e,t){gt(e,t,_t)}function vt(e,t,n){var r,i,a,o,s=E({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a==`key`?r=t[a]:a==`ref`?i=t[a]:s[a]=t[a]===void 0&&o!=null?o[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?Oe.call(arguments,2):n),qe(e.type,s,r||e.key,i||e.ref,null)}function A(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,Qe(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+ Ve++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}Oe=Ue.slice,T={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},ke=0,k.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=E({},this.state);typeof e==`function`&&(e=e(E({},n),this.props)),e&&E(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qe(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qe(this))},k.prototype.render=O,Ae=[],Me=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ne=function(e,t){return e.__v.__b-t.__v.__b},$e.__r=0,Pe=Math.random().toString(8),Fe=`__d`+Pe,Ie=`__a`+Pe,Le=/(PointerCapture)$|Capture$/i,Re=0,ze=st(!1),Be=st(!0),Ve=0;var yt=/["&<]/;function bt(e){if(e.length===0||!1===yt.test(e))return e;for(var t=0,n=0,r=``,i=``;n<e.length;n++){switch(e.charCodeAt(n)){case 34:i=`"`;break;case 38:i=`&`;break;case 60:i=`<`;break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=i,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var xt=0,St=Array.isArray;function j(e,t,n,r,i,a){t||={};var o,s,c=t;if(`ref`in c)for(s in c={},t)s==`ref`?o=t[s]:c[s]=t[s];var l={type:e,props:c,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--xt,__i:-1,__u:0,__source:i,__self:a};if(typeof e==`function`&&(o=e.defaultProps))for(s in o)c[s]===void 0&&(c[s]=o[s]);return T.vnode&&T.vnode(l),l}function Ct(e){if(e==null||typeof e==`boolean`||typeof e==`function`)return null;if(typeof e==`object`){if(e.constructor===void 0)return e;if(St(e)){for(var t=0;t<e.length;t++)e[t]=Ct(e[t]);return e}}return bt(``+e)}var M,N,wt,Tt,Et=0,Dt=[],P=T,Ot=P.__b,kt=P.__r,At=P.diffed,jt=P.__c,Mt=P.unmount,Nt=P.__;function Pt(e,t){P.__h&&P.__h(N,e,Et||t),Et=0;var n=N.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function F(e){return Et=1,Ft(Kt,e)}function Ft(e,t,n){var r=Pt(M++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Kt(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=N,!N.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a&&a.call(this,e,t,n)||o};N.__f=!0;var a=N.shouldComponentUpdate,o=N.componentWillUpdate;N.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},N.shouldComponentUpdate=i}return r.__N||r.__}function I(e,t){var n=Pt(M++,3);!P.__s&&Gt(n.__H,t)&&(n.__=e,n.u=t,N.__H.__h.push(n))}function L(e,t){var n=Pt(M++,4);!P.__s&&Gt(n.__H,t)&&(n.__=e,n.u=t,N.__h.push(n))}function R(e){return Et=5,z(function(){return{current:e}},[])}function It(e,t,n){Et=6,L(function(){if(typeof e==`function`){var n=e(t());return function(){e(null),n&&typeof n==`function`&&n()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function z(e,t){var n=Pt(M++,7);return Gt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function B(e,t){return Et=8,z(function(){return e},t)}function V(e){var t=N.context[e.__c],n=Pt(M++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(N)),t.props.value):e.__}function Lt(e,t){P.useDebugValue&&P.useDebugValue(t?t(e):e)}function Rt(e){var t=Pt(M++,10),n=F();return t.__=e,N.componentDidCatch||=function(e,r){t.__&&t.__(e,r),n[1](e)},[n[0],function(){n[1](void 0)}]}function zt(){var e=Pt(M++,11);if(!e.__){for(var t=N.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||=[0,0];e.__=`P`+n[0]+`-`+ n[1]++}return e.__}function Bt(){for(var e;e=Dt.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Ut),t.__h.some(Wt),t.__h=[]}catch(n){t.__h=[],P.__e(n,e.__v)}}}P.__b=function(e){N=null,Ot&&Ot(e)},P.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Nt&&Nt(e,t)},P.__r=function(e){kt&&kt(e),M=0;var t=(N=e.__c).__H;t&&(wt===N?(t.__h=[],N.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(Ut),t.__h.some(Wt),t.__h=[],M=0)),wt=N},P.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Dt.push(t)!==1&&Tt===P.requestAnimationFrame||((Tt=P.requestAnimationFrame)||Ht)(Bt)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),wt=N=null},P.__c=function(e,t){t.some(function(e){try{e.__h.some(Ut),e.__h=e.__h.filter(function(e){return!e.__||Wt(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],P.__e(n,e.__v)}}),jt&&jt(e,t)},P.unmount=function(e){Mt&&Mt(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{Ut(e)}catch(e){t=e}}),n.__H=void 0,t&&P.__e(t,n.__v))};var Vt=typeof requestAnimationFrame==`function`;function Ht(e){var t,n=function(){clearTimeout(r),Vt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Vt&&(t=requestAnimationFrame(n))}function Ut(e){var t=N,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),N=t}function Wt(e){var t=N;e.__c=e.__(),N=t}function Gt(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Kt(e,t){return typeof t==`function`?t(e):t}var qt=s({Children:()=>ln,Component:()=>k,Fragment:()=>O,PureComponent:()=>nn,StrictMode:()=>O,Suspense:()=>mn,SuspenseList:()=>_n,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>In,cloneElement:()=>Hn,createContext:()=>A,createElement:()=>D,createFactory:()=>Rn,createPortal:()=>xn,createRef:()=>Je,default:()=>Jn,findDOMNode:()=>Wn,flushSync:()=>Kn,forwardRef:()=>sn,hydrate:()=>kn,isElement:()=>qn,isFragment:()=>Bn,isMemo:()=>Vn,isValidElement:()=>zn,lazy:()=>gn,memo:()=>rn,render:()=>On,startTransition:()=>Qt,unmountComponentAtNode:()=>Un,unstable_batchedUpdates:()=>Gn,useCallback:()=>B,useContext:()=>V,useDebugValue:()=>Lt,useDeferredValue:()=>$t,useEffect:()=>I,useErrorBoundary:()=>Rt,useId:()=>zt,useImperativeHandle:()=>It,useInsertionEffect:()=>tn,useLayoutEffect:()=>L,useMemo:()=>z,useReducer:()=>Ft,useRef:()=>R,useState:()=>F,useSyncExternalStore:()=>Xt,useTransition:()=>en,version:()=>Ln});function Jt(e,t){for(var n in t)e[n]=t[n];return e}function Yt(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function Xt(e,t){var n=t(),r=F({t:{__:n,u:t}}),i=r[0].t,a=r[1];return L(function(){i.__=n,i.u=t,Zt(i)&&a({t:i})},[e,n,t]),I(function(){return Zt(i)&&a({t:i}),e(function(){Zt(i)&&a({t:i})})},[e]),n}function Zt(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Qt(e){e()}function $t(e){return e}function en(){return[!1,Qt]}var tn=L;function nn(e,t){this.props=e,this.context=t}function rn(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&(typeof n==`function`?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:Yt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,D(e,t)}return r.displayName=`Memo(`+(e.displayName||e.name)+`)`,r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(nn.prototype=new k).isPureReactComponent=!0,nn.prototype.shouldComponentUpdate=function(e,t){return Yt(this.props,e)||Yt(this.state,t)};var an=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),an&&an(e)};var on=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.forward_ref`)||3911;function sn(e){function t(t){var n=Jt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=on,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}var cn=function(e,t){return e==null?null:rt(rt(e).map(t))},ln={map:cn,forEach:cn,count:function(e){return e?rt(e).length:0},only:function(e){var t=rt(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:rt},un=T.__e;T.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}un(e,t,n,r)};var dn=T.unmount;function fn(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=Jt({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return fn(e,t,n)})),e}function pn(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return pn(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function mn(){this.__u=0,this.o=null,this.__b=null}function hn(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function gn(e){var t,n,r,i=null;function a(a){if(t||(t=e()).then(function(e){e&&(i=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return i?D(i,a):null}return a.displayName=`Lazy`,a.__f=!0,a}function _n(){this.i=null,this.l=null}T.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),dn&&dn(e)},(mn.prototype=new k).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=hn(r.__v),a=!1,o=function(){a||r.__z||(a=!0,n.__R=null,i?i(c):c())};n.__R=o;var s=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=pn(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=s,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},mn.prototype.componentWillUnmount=function(){this.o=[]},mn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=fn(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&D(O,null,e.fallback);return i&&(i.__u&=-33),[D(O,null,t.__a?null:e.children),i]};var vn=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!==`t`||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function yn(e){return this.getChildContext=function(){return e.context},e.children}function bn(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){gt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}gt(D(yn,{context:t.context},e.__v),t.v)}function xn(e,t){var n=D(bn,{__v:e,h:t});return n.containerInfo=t,n}(_n.prototype=new k).__a=function(e){var t=this,n=hn(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),vn(t,e,r)):i()};n?n(a):a()}},_n.prototype.render=function(e){this.i=null,this.l=new Map;var t=rt(e.children);e.revealOrder&&e.revealOrder[0]===`b`&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},_n.prototype.componentDidUpdate=_n.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){vn(e,n,t)})};var Sn=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.element`)||60103,Cn=/^(?: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]/,wn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tn=/[A-Z0-9]/g,En=typeof document<`u`,Dn=function(e){return(typeof Symbol<`u`&&typeof Symbol()==`symbol`?/fil|che|rad/:/fil|che|ra/).test(e)};function On(e,t,n){return t.__k??(t.textContent=``),gt(e,t),typeof n==`function`&&n(),e?e.__c:null}function kn(e,t,n){return _t(e,t),typeof n==`function`&&n(),e?e.__c:null}k.prototype.isReactComponent=!0,[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var An=T.event;T.event=function(e){return An&&(e=An(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var jn,Mn={configurable:!0,get:function(){return this.class}},Nn=T.vnode;T.vnode=function(e){typeof e.type==`string`&&function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)==-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||En&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){var s=a.toLowerCase();a===`defaultValue`&&`value`in t&&t.value==null?a=`value`:a===`download`&&!0===o?o=``:s===`translate`&&o===`no`?o=!1:s[0]===`o`&&s[1]===`n`?s===`ondoubleclick`?a=`ondblclick`:s!==`onchange`||n!==`input`&&n!==`textarea`||Dn(t.type)?s===`onfocus`?a=`onfocusin`:s===`onblur`?a=`onfocusout`:wn.test(a)&&(a=s):s=a=`oninput`:i&&Cn.test(a)?a=a.replace(Tn,`-$&`).toLowerCase():o===null&&(o=void 0),s===`oninput`&&r[a=s]&&(a=`oninputCapture`),r[a]=o}}n==`select`&&(r.multiple&&Array.isArray(r.value)&&(r.value=rt(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),r.defaultValue!=null&&(r.value=rt(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,`className`,Mn)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Sn,Nn&&Nn(e)};var Pn=T.__r;T.__r=function(e){Pn&&Pn(e),jn=e.__c};var Fn=T.diffed;T.diffed=function(e){Fn&&Fn(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),jn=null};var In={ReactCurrentDispatcher:{current:{readContext:function(e){return jn.__n[e.__c].props.value},useCallback:B,useContext:V,useDebugValue:Lt,useDeferredValue:$t,useEffect:I,useId:zt,useImperativeHandle:It,useInsertionEffect:tn,useLayoutEffect:L,useMemo:z,useReducer:Ft,useRef:R,useState:F,useSyncExternalStore:Xt,useTransition:en}}},Ln=`18.3.1`;function Rn(e){return D.bind(null,e)}function zn(e){return!!e&&e.$$typeof===Sn}function Bn(e){return zn(e)&&e.type===O}function Vn(e){return!!e&&typeof e.displayName==`string`&&e.displayName.indexOf(`Memo(`)==0}function Hn(e){return zn(e)?vt.apply(null,arguments):e}function Un(e){return!!e.__k&&(gt(null,e),!0)}function Wn(e){return e&&(e.base||e.nodeType===1&&e)||null}var Gn=function(e,t){return e(t)},Kn=function(e,t){var n=T.debounceRendering;T.debounceRendering=function(e){return e()};var r=e(t);return T.debounceRendering=n,r},qn=zn,Jn={useState:F,useId:zt,useReducer:Ft,useEffect:I,useLayoutEffect:L,useInsertionEffect:tn,useTransition:en,useDeferredValue:$t,useSyncExternalStore:Xt,startTransition:Qt,useRef:R,useImperativeHandle:It,useMemo:z,useCallback:B,useContext:V,useDebugValue:Lt,version:`18.3.1`,Children:ln,render:On,hydrate:kn,unmountComponentAtNode:Un,createPortal:xn,createElement:D,createContext:A,createFactory:Rn,cloneElement:Hn,createRef:Je,Fragment:O,isValidElement:zn,isElement:qn,isFragment:Bn,isMemo:Vn,findDOMNode:Wn,Component:k,PureComponent:nn,memo:rn,forwardRef:sn,flushSync:Kn,unstable_batchedUpdates:Gn,StrictMode:O,Suspense:mn,SuspenseList:_n,lazy:gn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:In},Yn=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,Xn={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 Zn(e,t={}){let n=e.split(Yn);if(n.length===1)return e;let r=$n(0,`$lingui$`),i=[],a=n.shift();a&&i.push(a);for(let[e,a,o]of Qn(n)){let n=e===void 0?void 0:t[e];(!n||Xn[n.type]&&a)&&(console.error(n?`${n.type} is a void element tag therefore it must have no children`:`Can't use element at index '${e}' as it is not declared in the original translation`),n=j(O,{})),Array.isArray(n)&&(n=j(O,{children:n})),i.push(Hn(n,{key:r()},a?Zn(a,t):n.props.children)),o&&i.push(o)}return i.length===1?i[0]:i}function Qn(e){if(!e.length)return[];let[t,n,r,i]=e.slice(0,4);return[[t||r,n||``,i]].concat(Qn(e.slice(4,e.length)))}var $n=(e=0,t=``)=>()=>`${t}_${e++}`;function er(e){let{render:t,component:n,id:r,message:i,formats:a,lingui:{i18n:o,defaultComponent:s}}=e,{values:c,components:l}=nr(e),u=o&&typeof o._==`function`?o._(r,c,{message:i,formats:a}):r,d=u?Zn(u,l):null;if(t===null||n===null)return d;let f=s||tr,p={id:r,message:i,translation:d,children:d};if(t&&n)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!=`function`)console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(n&&typeof n!=`function`)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),j(f,{...p,children:d});return typeof t==`function`?t(p):j(n||f,{...p,children:d})}var tr=({children:e})=>e,nr=e=>{if(!e.values)return{values:void 0,components:e.components};let t={...e.values},n={...e.components};return Object.entries(e.values).forEach(([e,r])=>{if(typeof r==`string`||typeof r==`number`)return;let i=Object.keys(n).length;n[i]=j(O,{children:r}),t[e]=`<${i}/>`}),{values:t,components:n}},rr=A(null),ir=e=>V(rr);function ar(){return ir()}var or=({i18n:e,defaultComponent:t,children:n})=>{let r=R(e.locale||null),i=B(()=>({i18n:new Proxy(e,{}),defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,o]=F(i);return I(()=>{let t=()=>{r.current=e.locale||null,o(i())},n=e.on(`change`,t);return r.current!==e.locale&&t(),n},[e,i]),r.current===null?null:j(rr.Provider,{value:a,children:n})};function sr(e){let t=ir(void 0);return j(er,{...e,lingui:t})}function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cr.apply(this,arguments)}var lr;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(lr||={});var ur=`popstate`;function dr(e){e===void 0&&(e={});function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=_r(e.location.hash.substr(1));return hr(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:gr(t))}function r(e,t){fr(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(`+JSON.stringify(t)+`)`)}return yr(t,n,r,e)}function H(e,t){if(e===!1||e==null)throw Error(t)}function fr(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function pr(){return Math.random().toString(36).substr(2,8)}function mr(e){return{usr:e.state,key:e.key}}function hr(e,t,n,r){return n===void 0&&(n=null),cr({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?_r(t):t,{state:n,key:t&&t.key||r||pr()})}function gr(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function _r(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function vr(e){let t=typeof window<`u`&&window.location!==void 0&&window.location.origin!==`null`?window.location.origin:window.location.href,n=typeof e==`string`?e:gr(e);return H(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}function yr(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=lr.Pop,c=null;function l(){s=lr.Pop,c&&c({action:s,location:f.location})}function u(e,t){s=lr.Push;let r=hr(f.location,e,t);n&&n(r,e);let l=mr(r),u=f.createHref(r);try{o.pushState(l,``,u)}catch{i.location.assign(u)}a&&c&&c({action:s,location:f.location})}function d(e,t){s=lr.Replace;let r=hr(f.location,e,t);n&&n(r,e);let i=mr(r),l=f.createHref(r);o.replaceState(i,``,l),a&&c&&c({action:s,location:f.location})}let f={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(ur,l),c=e,()=>{i.removeEventListener(ur,l),c=null}},createHref(e){return t(i,e)},encodeLocation(e){let t=vr(typeof e==`string`?e:gr(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:u,replace:d,go(e){return o.go(e)}};return f}var br;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(br||={});function xr(e){return e.index===!0}function Sr(e,t,n){return t===void 0&&(t=[]),n===void 0&&(n=new Set),e.map((e,r)=>{let i=[...t,r],a=typeof e.id==`string`?e.id:i.join(`-`);return H(e.index!==!0||!e.children,`Cannot specify children on an index route`),H(!n.has(a),`Found a route id collision on id "`+a+`". Route id's must be globally unique within Data Router usages`),n.add(a),xr(e)?cr({},e,{id:a}):cr({},e,{id:a,children:e.children?Sr(e.children,i,n):void 0})})}function Cr(e,t,n){n===void 0&&(n=`/`);let r=Vr((typeof t==`string`?_r(t):t).pathname||`/`,n);if(r==null)return null;let i=wr(e);Er(i);let a=null;for(let e=0;a==null&&e<i.length;++e)a=Ir(i[e],zr(r));return a}function wr(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(H(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=Jr([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(H(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),wr(e.children,t,c,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:Pr(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of Tr(e.path))i(e,t,n)}),t}function Tr(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Tr(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function Er(e){e.sort((e,t)=>e.score===t.score?Fr(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var Dr=/^:\w+$/,Or=3,kr=2,Ar=1,jr=10,Mr=-2,Nr=e=>e===`*`;function Pr(e,t){let n=e.split(`/`),r=n.length;return n.some(Nr)&&(r+=Mr),t&&(r+=kr),n.filter(e=>!Nr(e)).reduce((e,t)=>e+(Dr.test(t)?Or:t===``?Ar:jr),r)}function Fr(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Ir(e,t){let{routesMeta:n}=e,r={},i=`/`,a=[];for(let e=0;e<n.length;++e){let o=n[e],s=e===n.length-1,c=i===`/`?t:t.slice(i.length)||`/`,l=Lr({path:o.relativePath,caseSensitive:o.caseSensitive,end:s},c);if(!l)return null;Object.assign(r,l.params);let u=o.route;a.push({params:r,pathname:Jr([i,l.pathname]),pathnameBase:Yr(Jr([i,l.pathnameBase])),route:u}),l.pathnameBase!==`/`&&(i=Jr([i,l.pathnameBase]))}return a}function Lr(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Rr(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{if(t===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}return e[t]=Br(s[n]||``,t),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Rr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Hr(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^$?{}|()[\]]/g,`\\$&`).replace(/\/:(\w+)/g,(e,t)=>(r.push(t),`/([^\\/]+)`));return e.endsWith(`*`)?(r.push(`*`),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function zr(e){try{return decodeURI(e)}catch(t){return Hr(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function Br(e,t){try{return decodeURIComponent(e)}catch(n){return Hr(!1,`The value for the URL param "`+t+`" will not be decoded because`+(` the string "`+e+`" is a malformed URL segment. This is probably`)+(` due to a bad percent encoding (`+n+`).`)),e}}function Vr(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Hr(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function Ur(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?_r(e):e;return{pathname:n?n.startsWith(`/`)?n:Wr(n,t):t,search:Xr(r),hash:Zr(i)}}function Wr(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Gr(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` 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 Kr(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function qr(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=_r(e):(i=cr({},e),H(!i.pathname||!i.pathname.includes(`?`),Gr(`?`,`pathname`,`search`,i)),H(!i.pathname||!i.pathname.includes(`#`),Gr(`#`,`pathname`,`hash`,i)),H(!i.search||!i.search.includes(`#`),Gr(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(r||o==null)s=n;else{let e=t.length-1;if(o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Ur(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Jr=e=>e.join(`/`).replace(/\/\/+/g,`/`),Yr=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Xr=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Zr=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Qr=class{constructor(e,t,n,r){r===void 0&&(r=!1),this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function $r(e){return e instanceof Qr}var ei=[`post`,`put`,`patch`,`delete`];new Set(ei);var ti=[`get`,...ei];new Set(ti),typeof window<`u`&&window.document!==void 0&&window.document.createElement;function ni(){return ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ni.apply(this,arguments)}var{useState:ri,useEffect:ii,useLayoutEffect:ai,useDebugValue:oi}=qt;typeof window<`u`&&window.document!==void 0&&window.document.createElement,`useSyncExternalStore`in qt&&(e=>e.useSyncExternalStore)(qt);var si=A(null),ci=A(null),li=A(null),ui=A(null),di=A({outlet:null,matches:[]}),fi=A(null);function pi(){return V(ui)!=null}function mi(){return pi()||H(!1),V(ui).location}function hi(){pi()||H(!1);let{basename:e,navigator:t}=V(li),{matches:n}=V(di),{pathname:r}=mi(),i=JSON.stringify(Kr(n).map(e=>e.pathnameBase)),a=R(!1);return I(()=>{a.current=!0}),B(function(n,o){if(o===void 0&&(o={}),!a.current)return;if(typeof n==`number`){t.go(n);return}let s=qr(n,JSON.parse(i),r,o.relative===`path`);e!==`/`&&(s.pathname=s.pathname===`/`?e:Jr([e,s.pathname])),(o.replace?t.replace:t.push)(s,o.state,o)},[e,t,i,r])}function gi(){let{matches:e}=V(di),t=e[e.length-1];return t?t.params:{}}function _i(e,t){pi()||H(!1);let{navigator:n}=V(li),r=V(ci),{matches:i}=V(di),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:`/`;a&&a.route;let c=mi(),l;if(t){let e=typeof t==`string`?_r(t):t;s===`/`||e.pathname?.startsWith(s)||H(!1),l=e}else l=c;let u=l.pathname||`/`,d=Cr(e,{pathname:s===`/`?u:u.slice(s.length)||`/`}),f=xi(d&&d.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Jr([s,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?s:Jr([s,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,r||void 0);return t&&f?D(ui.Provider,{value:{location:ni({pathname:`/`,search:``,hash:``,state:null,key:`default`},l),navigationType:lr.Pop}},f):f}function vi(){let e=Di(),t=$r(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r};return D(O,null,D(`h2`,null,`Unhandled Thrown Error!`),D(`h3`,{style:{fontStyle:`italic`}},t),n?D(`pre`,{style:i},n):null,D(`p`,null,`💿 Hey developer 👋`),D(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own\xA0`,D(`code`,{style:a},`errorElement`),` props on\xA0`,D(`code`,{style:a},`<Route>`)))}var yi=class extends k{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location===e.location?{error:e.error||t.error,location:t.location}:{error:e.error,location:e.location}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error?D(di.Provider,{value:this.props.routeContext},D(fi.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function bi(e){let{routeContext:t,match:n,children:r}=e,i=V(si);return i&&i.static&&i.staticContext&&n.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),D(di.Provider,{value:t},r)}function xi(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n?.errors;if(i!=null){let e=r.findIndex(e=>e.route.id&&i?.[e.route.id]);e>=0||H(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight((e,a,o)=>{let s=a.route.id?i?.[a.route.id]:null,c=n?a.route.errorElement||D(vi,null):null,l=t.concat(r.slice(0,o+1)),u=()=>D(bi,{match:a,routeContext:{outlet:e,matches:l}},s?c:a.route.element===void 0?e:a.route.element);return n&&(a.route.errorElement||o===0)?D(yi,{location:n.location,component:c,error:s,children:u(),routeContext:{outlet:null,matches:l}}):u()},null)}var Si;(function(e){e.UseRevalidator=`useRevalidator`})(Si||={});var Ci;(function(e){e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`})(Ci||={});function wi(e){let t=V(ci);return t||H(!1),t}function Ti(e){let t=V(di);return t||H(!1),t}function Ei(e){let t=Ti(e),n=t.matches[t.matches.length-1];return n.route.id||H(!1),n.route.id}function Di(){let e=V(fi),t=wi(Ci.UseRouteError),n=Ei(Ci.UseRouteError);return e||t.errors?.[n]}function Oi(e){let{to:t,replace:n,state:r,relative:i}=e;pi()||H(!1);let a=V(ci),o=hi();return I(()=>{a&&a.navigation.state!==`idle`||o(t,{replace:n,state:r,relative:i})}),null}function ki(e){H(!1)}function Ai(e){let{basename:t=`/`,children:n=null,location:r,navigationType:i=lr.Pop,navigator:a,static:o=!1}=e;pi()&&H(!1);let s=t.replace(/^\/*/,`/`),c=z(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r==`string`&&(r=_r(r));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`}=r,m=z(()=>{let e=Vr(l,s);return e==null?null:{pathname:e,search:u,hash:d,state:f,key:p}},[s,l,u,d,f,p]);return m==null?null:D(li.Provider,{value:c},D(ui.Provider,{children:n,value:{location:m,navigationType:i}}))}function ji(e){let{children:t,location:n}=e,r=V(si);return _i(r&&!t?r.router.routes:Ni(t),n)}var Mi;(function(e){e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`})(Mi||={}),new Promise(()=>{});function Ni(e,t){t===void 0&&(t=[]);let n=[];return ln.forEach(e,(e,r)=>{if(!zn(e))return;if(e.type===O){n.push.apply(n,Ni(e.props.children,t));return}e.type===ki||H(!1),!e.props.index||!e.props.children||H(!1);let i=[...t,r],a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=Ni(e.props.children,i)),n.push(a)}),n}function Pi(e){return e.map(e=>{let t=ni({},e);return t.hasErrorBoundary??=t.errorElement!=null,t.children&&=Pi(t.children),t})}function Fi(){return Fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fi.apply(this,arguments)}function Ii(e){return e===void 0&&(e=``),new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Li(e,t){let n=Ii(e);for(let e of t.keys())n.has(e)||t.getAll(e).forEach(t=>{n.append(e,t)});return n}function Ri(e){let{basename:t,children:n,window:r}=e,i=R();i.current??=dr({window:r,v5Compat:!0});let a=i.current,[o,s]=F({action:a.action,location:a.location});return L(()=>a.listen(s),[a]),D(Ai,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a})}var zi;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmitImpl=`useSubmitImpl`,e.UseFetcher=`useFetcher`})(zi||={});var Bi;(function(e){e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Bi||={});function Vi(e){let t=R(Ii(e)),n=mi(),r=z(()=>Li(n.search,t.current),[n.search]),i=hi();return[r,B((e,t)=>{i(`?`+Ii(typeof e==`function`?e(r):e),t)},[i,r])]}var Hi=Symbol(),Ui=Symbol(),Wi=`a`,Gi=`f`,Ki=`p`,qi=`c`,Ji=`t`,Yi=`h`,Xi=`w`,Zi=`o`,Qi=`k`,$i=(e,t)=>new Proxy(e,t),ea=Object.getPrototypeOf,ta=new WeakMap,na=e=>e&&(ta.has(e)?ta.get(e):ea(e)===Object.prototype||ea(e)===Array.prototype),ra=e=>typeof e==`object`&&!!e,ia=e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(e=>!e.configurable&&!e.writable),aa=e=>{if(Array.isArray(e))return Array.from(e);let t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(e=>{e.configurable=!0}),Object.create(ea(e),t)},oa=(e,t)=>{let n={[Gi]:t},r=!1,i=(t,i)=>{if(!r){let r=n[Wi].get(e);if(r||(r={},n[Wi].set(e,r)),t===Xi)r[Xi]=!0;else{let e=r[t];e||(e=new Set,r[t]=e),e.add(i)}}},a=()=>{r=!0,n[Wi].delete(e)},o={get(t,r){return r===Ui?e:(i(Qi,r),ca(Reflect.get(t,r),n[Wi],n[qi],n[Ji]))},has(e,t){return t===Hi?(a(),!0):(i(Yi,t),Reflect.has(e,t))},getOwnPropertyDescriptor(e,t){return i(Zi,t),Reflect.getOwnPropertyDescriptor(e,t)},ownKeys(e){return i(Xi),Reflect.ownKeys(e)}};return t&&(o.set=o.deleteProperty=()=>!1),[o,n]},sa=e=>e[Ui]||e,ca=(e,t,n,r)=>{if(!na(e))return e;let i=r&&r.get(e);if(!i){let t=sa(e);i=ia(t)?[t,aa(t)]:[t],r?.set(e,i)}let[a,o]=i,s=n&&n.get(a);return(!s||s[1][Gi]!==!!o)&&(s=oa(a,!!o),s[1][Ki]=$i(o||a,s[0]),n&&n.set(a,s)),s[1][Wi]=t,s[1][qi]=n,s[1][Ji]=r,s[1][Ki]},la=(e,t)=>{let n=Reflect.ownKeys(e),r=Reflect.ownKeys(t);return n.length!==r.length||n.some((e,t)=>e!==r[t])},ua=(e,t,n,r,i=Object.is)=>{if(i(e,t))return!1;if(!ra(e)||!ra(t))return!0;let a=n.get(sa(e));if(!a)return!0;if(r){if(r.get(e)===t)return!1;r.set(e,t)}let o=null;for(let n of a[Yi]||[])if(o=Reflect.has(e,n)!==Reflect.has(t,n),o)return o;if(a[Xi]===!0){if(o=la(e,t),o)return o}else for(let n of a[Zi]||[])if(o=!!Reflect.getOwnPropertyDescriptor(e,n)!=!!Reflect.getOwnPropertyDescriptor(t,n),o)return o;for(let s of a[Qi]||[])if(o=ua(e[s],t[s],n,r,i),o)return o;if(o===null)throw Error(`invalid used`);return o},da=e=>na(e)&&e[Ui]||null,fa=(e,t=!0)=>{ta.set(e,t)},pa=e=>typeof e==`object`&&!!e,ma=e=>pa(e)&&!ya.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer)&&!(e instanceof Promise),ha=(e,t)=>{let n=ba.get(e);if(n?.[0]===t)return n[1];let r=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return fa(r,!0),ba.set(e,[t,r]),Reflect.ownKeys(e).forEach(t=>{if(Object.getOwnPropertyDescriptor(r,t))return;let n=Reflect.get(e,t),{enumerable:i}=Reflect.getOwnPropertyDescriptor(e,t),a={value:n,enumerable:i,configurable:!0};if(ya.has(n))fa(n,!1);else if(va.has(n)){let[e,t]=va.get(n);a.value=ha(e,t())}Object.defineProperty(r,t,a)}),r},ga=(e,t,n,r)=>({deleteProperty(e,t){let i=Reflect.get(e,t);n(t);let a=Reflect.deleteProperty(e,t);return a&&r(Oa?.(`delete`,t,i)),a},set(i,a,o,s){let c=!e()&&Reflect.has(i,a),l=Reflect.get(i,a,s);if(c&&(Ca(l,o)||Sa.has(o)&&Ca(l,Sa.get(o))))return!0;n(a),pa(o)&&(o=da(o)||o);let u=!va.has(o)&&Ta(o)?ka(o):o;return t(a,u),Reflect.set(i,a,u,s),r(Oa?.(`set`,a,o,l)),!0}}),_a=(e,t,...n)=>[e,[t],...n],va=new WeakMap,ya=new WeakSet,ba=new WeakMap,xa=[1],Sa=new WeakMap,Ca=Object.is,wa=(e,t)=>new Proxy(e,t),Ta=ma,Ea=ha,Da=ga,Oa;function ka(e={}){if(!pa(e))throw Error(`object required`);let t=Sa.get(e);if(t)return t;let n=xa[0],r=new Set,i=(e,t=++xa[0])=>{n!==t&&(a=n=t,r.forEach(n=>n(e,t)))},a=n,o=(e=xa[0])=>(a!==e&&(a=e,c.forEach(([t])=>{let r=t[1](e);r>n&&(n=r)})),n),s=e=>(t,n)=>{let r;t&&(r=[...t],r[1]=[e,...r[1]]),i(r,n)},c=new Map,l=(e,t)=>{let n=!ya.has(t)&&va.get(t);if(n)if(r.size){let t=n[2](s(e));c.set(e,[n,t])}else c.set(e,[n])},u=e=>{let t=c.get(e);t&&(c.delete(e),t[1]?.call(t))},d=e=>(r.add(e),r.size===1&&c.forEach(([e,t],n)=>{let r=e[2](s(n));c.set(n,[e,r])}),()=>{r.delete(e),r.size===0&&c.forEach(([e,t],n)=>{t&&(t(),c.set(n,[e]))})}),f=!0,p=wa(e,Da(()=>f,l,u,i));Sa.set(e,p);let m=[e,o,d];return va.set(p,m),Reflect.ownKeys(e).forEach(t=>{let n=Object.getOwnPropertyDescriptor(e,t);`value`in n&&n.writable&&(p[t]=e[t])}),f=!1,p}function Aa(e,t,n){let r=va.get(e),i,a=[],o=r[2],s=!1,c=o(e=>{if(e&&a.push(e),n){t(a.splice(0));return}i||=Promise.resolve().then(()=>{i=void 0,s&&t(a.splice(0))})});return s=!0,()=>{s=!1,c()}}function ja(e){let[t,n]=va.get(e);return Ea(t,n())}function Ma(){return{proxyStateMap:va,refSet:ya,snapCache:ba,versionHolder:xa,proxyCache:Sa}}function Na(e=!0){Oa=e===!0?_a:e===!1?void 0:e}var Pa=new WeakMap;function Fa(e,t){let n=t?.sync,r=z(()=>e&&new WeakMap,[e]),i=R(void 0),a=!0,o=Xt(B(t=>{let r=Aa(e,t,n);return t(),r},[e,n]),()=>{let t=ja(e);try{if(!a&&i.current&&!ua(i.current,t,r,new WeakMap))return i.current}catch{}return t},()=>ja(e));return a=!1,L(()=>{i.current=o}),ca(o,r,z(()=>new WeakMap,[]),Pa)}var Ia=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,La=e=>{if(typeof e!=`string`)throw TypeError(`Invalid argument expected string`);let t=e.match(Ia);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Ra=e=>e===`*`||e===`x`||e===`X`,za=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ba=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],Va=(e,t)=>{if(Ra(e)||Ra(t))return 0;let[n,r]=Ba(za(e),za(t));return n>r?1:n<r?-1:0},Ha=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){let r=Va(e[n]||`0`,t[n]||`0`);if(r!==0)return r}return 0},Ua=(e,t)=>{let n=La(e),r=La(t),i=n.pop(),a=r.pop(),o=Ha(n,r);return o===0?i&&a?Ha(i.split(`.`),a.split(`.`)):i||a?i?-1:1:0:o},Wa=(e,t,n)=>{qa(n);let r=Ua(e,t);return Ga[n].includes(r)},Ga={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Ka=Object.keys(Ga),qa=e=>{if(typeof e!=`string`)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Ka.indexOf(e)===-1)throw Error(`Invalid operator, expected one of ${Ka.join(`|`)}`)},Ja=(e,t)=>{if(t=t.replace(/([><=]+)\s+/g,`$1`),t.includes(`||`))return t.split(`||`).some(t=>Ja(e,t));if(t.includes(` - `)){let[n,r]=t.split(` - `,2);return Ja(e,`>=${n} <=${r}`)}else if(t.includes(` `))return t.trim().replace(/\s{2,}/g,` `).split(` `).every(t=>Ja(e,t));let n=t.match(/^([<>=~^]+)/),r=n?n[1]:`=`;if(r!==`^`&&r!==`~`)return Wa(e,t,r);let[i,a,o,,s]=La(e),[c,l,u,,d]=La(t),f=[i,a,o],p=[c,l??`x`,u??`x`];if(d&&(!s||Ha(f,p)!==0||Ha(s.split(`.`),d.split(`.`))===-1))return!1;let m=p.findIndex(e=>e!==`0`)+1,h=r===`~`?2:m>1?m:1;return!(Ha(f.slice(0,h),p.slice(0,h))!==0||Ha(f.slice(h),p.slice(h))===-1)},Ya=e=>typeof e==`string`&&/^[v\d]/.test(e)&&Ia.test(e);function Xa(e,t){var n=Object.setPrototypeOf;n?n(e,t):e.__proto__=t}function Za(e,t){t===void 0&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}var Qa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),$a=function(e){Qa(t,e);function t(t,n){var r=this.constructor,i=e.call(this,t,n)||this;return Object.defineProperty(i,`name`,{value:r.name,enumerable:!1,configurable:!0}),Xa(i,r.prototype),Za(i),i}return t}(Error),eo=class extends $a{},to=class extends $a{contentType;data;constructor(e,t,n,r){super(e,r),this.contentType=t,this.data=n}},no=class extends $a{statusCode;description;details;additionalProperties;constructor(e,t){super(e.message,t),this.statusCode=e.statusCode,this.message=e.message,this.description=e.description,this.additionalProperties=e.additionalProperties,this.details=e.details}},ro=class extends $a{},io=class extends $a{constructor(e,t){super(e,t),this.message=e}},ao=/([\p{Ll}\d])(\p{Lu})/gu,oo=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,so=/(\d)\p{Ll}|(\p{L})\d/u,co=/[^\p{L}\d]+/giu,lo=`$1\0$2`,uo=``;function fo(e){let t=e.trim();t=t.replace(ao,lo).replace(oo,lo),t=t.replace(co,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}function po(e){let t=fo(e);for(let e=0;e<t.length;e++){let n=t[e],r=so.exec(n);if(r){let i=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,i),n.slice(i))}}return t}function mo(e,t){let[n,r,i]=xo(e,t);return n+r.map(_o(t?.locale)).join(t?.delimiter??` `)+i}function ho(e,t){let[n,r,i]=xo(e,t),a=_o(t?.locale),o=vo(t?.locale),s=t?.mergeAmbiguousCharacters?yo(a,o):bo(a,o);return n+r.map((e,t)=>t===0?a(e):s(e,t)).join(t?.delimiter??``)+i}function go(e,t){return mo(e,{delimiter:`_`,...t})}function _o(e){return e===!1?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function vo(e){return e===!1?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function yo(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function bo(e,t){return(n,r)=>{let i=n[0];return(r>0&&i>=`0`&&i<=`9`?`_`+i:t(i))+e(n.slice(1))}}function xo(e,t={}){let n=t.split??(t.separateNumbers?po:fo),r=t.prefixCharacters??uo,i=t.suffixCharacters??uo,a=0,o=e.length;for(;a<e.length;){let t=e.charAt(a);if(!r.includes(t))break;a++}for(;o>a;){let t=o-1,n=e.charAt(t);if(!i.includes(n))break;o=t}return[e.slice(0,a),n(e.slice(a,o)),e.slice(o)]}var So=e=>new Promise(t=>setTimeout(()=>t(),e)),Co=e=>typeof e==`object`&&!!e&&e.constructor.name===`Object`;function wo(){}var To=class extends $a{constructor(e,t){super(`Maximum number of attempts reached: ${e}`,t)}},Eo=class{props;attempts=0;constructor(e={}){this.props=e}async sleep(){if(this.attempts>=this.maxAttempts)throw new To(this.attempts);await So(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??1/0}get timeout(){return this.factor*this.base**this.attempts}},Do=()=>{let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}},Oo=e=>{let t=new Map;for(let n of e.split(`,`)){let e=n.match(/<([^>]+)>;\s*rel="([^"]+)"/);e&&t.set(e[2],e[1])}return t};function ko(e){return[`fetch`,`create`,`update`,`remove`,`list`].includes(e)}function Ao(e){if(ko(e))return e;switch(e){case`lookup`:case`verify_credentials`:return`fetch`;case`update_credentials`:return`update`;default:return`create`}}function jo(e,t){return e===`create`&&t===`/api/v1/accounts`||e===`update`&&t===`/api/v1/accounts/update_credentials`||e===`create`&&t===`/api/v1/email`||e===`create`&&t===`/api/v1/featured_tag`||e===`create`&&t===`/api/v1/media`||e===`create`&&t===`/api/v2/media`||e===`update`&&t===`/api/v1/profile`?`multipart-form`:`json`}async function Mo(e,t,n){let r,i=AbortSignal.timeout(t);for(;!r;){if(i.aborted)throw new ro(`Media processing timed out of ${t}ms`);try{await So(1e3);let t=await n.get(`/api/v1/media/${e}`).then(e=>e.data);t.url&&(r=t)}catch(e){if(e instanceof no&&e.statusCode===404)continue;throw e}}return r}var No=class{http;mediaTimeout;constructor(e,t=1e3*60){this.http=e,this.mediaTimeout=t}beforeDispatch(e){let t=Ao(e.type),n=ko(e.type)?e.path:e.path+`/`+go(e.type),r=jo(t,n),i={...e.meta,encoding:r};return{...e,type:t,path:n,meta:i}}dispatch(e){return e.type===`update`&&e.path===`/api/v1/accounts/update_credentials`?this.http.patch(e.path,e.data,e.meta).then(e=>e.data):!1}afterDispatch(e,t){if(e.type===`create`&&e.path===`/api/v2/media`){if(Co(e.data)&&e.data?.skipPolling===!0)return t;if(e.raw){let e=t;return Mo(e.data.id,this.mediaTimeout,this.http).then(t=>({headers:e.headers,data:t}))}else return Mo(t.id,this.mediaTimeout,this.http)}return t}},Po=class e{http;raw;path;params;meta;direction;constructor(e,t,n,r,i,a=`next`){this.http=e,this.raw=t,this.path=n,this.params=r,this.meta=i,this.direction=a}async*values(){let e=this.path,t=this.params;for(;e!=null;){let n=await this.http.request({method:`GET`,path:e,search:t,...this.meta}),r=this.getLink(n.headers.get(`link`));e=r?.pathname,t=r?.search.replace(/^\?/,``),yield this.raw?n:n.data}}then(e=Promise.resolve.bind(Promise),t=Promise.reject.bind(Promise)){return this.values().next().then(t=>e(t.value),t)}getDirection(){return this.direction}setDirection(t){return new e(this.http,this.raw,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(e){if(!e)return;let t=Oo(e).get(this.direction);if(t)return new URL(t)}},Fo=class{http;hook;constructor(e,t){this.http=e,this.hook=t}dispatch(e){this.hook&&(e=this.hook.beforeDispatch(e));let t=this.hook.dispatch(e);if(t!==!1)return t;switch(e.type){case`fetch`:t=this.http.get(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`create`:t=this.http.post(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`update`:t=this.http.put(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`remove`:t=this.http.delete(e.path,e.data,e.meta).then(t=>e.raw?t:t.data);break;case`list`:t=new Po(this.http,e.raw,e.path,e.data);break}return t instanceof Promise?t.then(t=>this.hook?.afterDispatch(e,t)):this.hook.afterDispatch(e,t)}},Io=null;typeof WebSocket<`u`?Io=WebSocket:typeof MozWebSocket<`u`?Io=MozWebSocket:typeof global<`u`?Io=global.WebSocket||global.MozWebSocket:typeof window<`u`?Io=window.WebSocket||window.MozWebSocket:typeof self<`u`&&(Io=self.WebSocket||self.MozWebSocket);var Lo=Io;function Ro(e){return e.readyState===Lo.OPEN?Promise.resolve():new Promise((t,n)=>{e.addEventListener(`error`,e=>{n(e)},{once:!0}),e.addEventListener(`close`,()=>{n(Error(`WebSocket closed`))},{once:!0}),e.addEventListener(`open`,()=>{t()},{once:!0})})}function zo(e){return e.readyState===Lo.CLOSED?Promise.resolve():new Promise(t=>{let n=()=>{t()};e.addEventListener(`error`,n,{once:!0}),e.addEventListener(`close`,n,{once:!0})})}var Bo=class{props;logger;ws;killed=!1;queue=[];backoff;constructor(e,t){this.props=e,this.logger=t,this.backoff=new Eo({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new io(`WebSocket closed`);if(this.ws)return Promise.resolve(this.ws);let e=Do();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(let{reject:e}of this.queue)e(new io(`WebSocket closed`));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log(`info`,`Connecting to WebSocket...`);{let e=new(this.props.implementation??Lo)(...this.props.constructorParameters);await Ro(e),this.ws=e}this.logger?.log(`info`,`Connected to WebSocket`);for(let{resolve:e}of this.queue)e(this.ws);this.queue=[],await zo(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(let{reject:e}of this.queue)e(new io(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}};function Vo(){let e,t,n=new Promise((...n)=>[e,t]=n);return Object.freeze({resolve:e,reject:t,promise:n})}function Ho(e,t){let n=[],r=[],i=e((...e)=>{let t=r.shift();t?t.resolve({value:e,done:!1}):n.push(e)}),a=t?.signal,o=!1,s=null,c=()=>{s=Error(`Abort Error`)},l=()=>{i?.(),a?.removeEventListener(`abort`,c)};return a?.addEventListener(`abort`,c,{once:!0}),{async next(){let e=n.shift();if(e)return{value:e,done:!1};if(o)return{value:void 0,done:!0};if(s)return Promise.reject(s);let t=Vo();return r.push(t),t.promise},async return(){o=!0,l();for(let e of r)e.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(e){return s=e,l(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*Uo(e){let t=async e=>{if(!r.return)throw new eo(`events.return is undefined`);await r.return(e)},n=async e=>{if(!r.return)throw new eo(`events.return is undefined`);await r.return(e)},r=Ho(r=>(e.addEventListener(`message`,r),e.addEventListener(`error`,n),e.addEventListener(`close`,t),()=>{e.removeEventListener(`message`,r),e.removeEventListener(`error`,n),e.removeEventListener(`close`,t)}));for await(let[e]of r)yield e}var Wo=class{connector;counter;serializer;stream;logger;params;connection;constructor(e,t,n,r,i,a){this.connector=e,this.counter=t,this.serializer=n,this.stream=r,this.logger=i,this.params=a}async*values(){try{this.logger?.log(`info`,`Subscribing to stream`,this.stream);for await(this.connection of this.connector){let 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);let t=Uo(this.connection);for await(let e of t){let t=this.parseMessage(e.data);this.test(t)&&(this.logger?.log(`debug`,`↓ WEBSOCKET`,t),yield t)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){let 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){let t=this.params??{},n=Object.values(t);return[this.stream,...n].every(t=>e.stream.includes(t))}parseMessage(e){let t=this.serializer.deserialize(`json`,e);if(`error`in t)throw new eo(t.error);let n=t.event===`delete`||t.payload==null?t.payload:this.serializer.deserialize(`json`,t.payload);return{stream:t.stream,event:t.event,payload:n}}},Go=class{counts=new Map;count(e,t){let n=this.hash(e,t);return this.counts.get(n)??0}increment(e,t){let n=this.hash(e,t);this.counts.has(n)||this.counts.set(n,0),this.counts.set(n,this.counts.get(n)+1)}decrement(e,t){let n=this.hash(e,t);if(!this.counts.has(n))throw Error(`Cannot decrement non-existent count`);this.counts.set(n,this.counts.get(n)-1)}hash(e,t){return JSON.stringify({stream:e,params:t})}},Ko=class{connector;counter;serializer;logger;constructor(e,t,n,r){this.connector=e,this.counter=t,this.serializer=n,this.logger=r}dispatch(e){if(e.type===`close`)return this.connector.kill(),{};if(e.type===`prepare`)return this.connector.acquire();if(e.type!==`subscribe`)throw new eo(`Unknown action type ${e.type}`);let t=e.data??{},n=e.path.replace(/^\//,``).replaceAll(`/`,`:`);return new Wo(this.connector,this.counter,this.serializer,n,this.logger,{...t})}[Symbol.dispose](){this.connector.kill()}},qo=(e,t={})=>{let{context:n=[],applicable:r=!1}=t,i={},a={get:Yo(e,n)};return r&&(i=wo,a.apply=Xo(e,n)),new Proxy(i,a)},Jo=new Set([`then`,`catch`,`finally`,`inspect`,`toString`,`valueOf`,`toJSON`,`constructor`,`prototype`,`length`,`name`,`caller`,`callee`,`arguments`,`bind`,`apply`,`call`]),Yo=(e,t)=>(n,r)=>{if(!(typeof r==`string`&&Jo.has(r))){if(r===Symbol.dispose)return e[Symbol.dispose];if(typeof r!=`symbol`)return r.startsWith(`$`)?qo(e,{context:[...t,r],applicable:!0}):qo(e,{context:[...t,go(r)],applicable:!0})}},Xo=(e,t)=>(n,r,i)=>{let a=t.pop(),o=!1;if(a===`$select`)return qo(e,{context:[...t,...i],applicable:!0});if(a===`$raw`&&(a=t.pop(),o=!0),!a)throw Error(`No action specified`);let s=`/`+t.join(`/`),[c,l]=i;return e.dispatch({type:a,path:s,data:c,meta:l,raw:o})},Zo=([e,...t])=>{let n=new Headers(e);for(let e of t)for(let[t,r]of new Headers(e).entries())n.set(t,r);return n},Qo=class{props;serializer;constructor(e,t){this.props=e,this.serializer=t}mergeRequestInitWithDefaults(e={}){let t={...this.props.requestInit};{let{headers:n,signal:r,...i}=e;Object.assign(t,i),t.headers=this.mergeHeadersWithDefaults(n),t.signal=this.mergeAbortSignalWithDefaults(r)}return t}resolvePath(e,t){let n=new URL(e,this.props.url);return typeof t==`string`?n.search=t:t&&(n.search=this.serializer.serialize(`querystring`,t)),n}mergeHeadersWithDefaults(e={}){let t=Zo([this.props.requestInit?.headers??{},e]),n=new Headers(t);return this.props.accessToken&&n.set(`Authorization`,`Bearer ${this.props.accessToken}`),new Headers(n)}mergeAbortSignalWithDefaults(e){let t=[];return this.props.timeout&&t.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&t.push(this.props.requestInit.signal),e&&t.push(e),AbortSignal.any(t)}},$o=class{props;serializer;constructor(e,t){this.props=e,this.serializer=t}getProtocols(e=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...e]:[this.props.accessToken,...e]}resolvePath(e,t={}){let n=new URL(e,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(t.accessToken=this.props.accessToken),n.search=this.serializer.serialize(`querystring`,t),n}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?1/0:this.props.retry===!1?1:this.props.retry}},es=class{get(e,t,n={}){return this.request({method:`GET`,path:e,search:t,...n})}post(e,t,n={}){return this.request({method:`POST`,path:e,body:t,...n})}delete(e,t,n={}){return this.request({method:`DELETE`,path:e,body:t,...n})}put(e,t,n={}){return this.request({method:`PUT`,path:e,body:t,...n})}patch(e,t,n={}){return this.request({method:`PATCH`,path:e,body:t,...n})}},ts=e=>{let t=e.get(`Content-Type`)?.replace(/\s*;.*$/,``);if(typeof t==`string`)switch(t){case`application/json`:return`json`;case`multipart/form-data`:return`multipart-form`;default:return}},ns=class extends es{serializer;config;logger;constructor(e,t,n){super(),this.serializer=e,this.config=t,this.logger=n}async request(e){let t=this.createRequest(e);try{this.logger?.log(`info`,`↑ ${t.method} ${t.url}`),this.logger?.log(`debug`,` body`,{encoding:e.encoding,body:e.body});let n=await fetch(t);if(!n.ok)throw n;let r=await n.text(),i=ts(n.headers);if(!i)throw new eo(`The server returned data with an unknown encoding.`);let a=this.serializer.deserialize(i,r);return this.logger?.log(`info`,`↓ ${t.method} ${t.url}`),this.logger?.log(`debug`,` body`,r),{headers:n.headers,data:a}}catch(e){throw this.logger?.log(`debug`,`HTTP failed`,e),await this.createError(e)}}createRequest(e){let{method:t,path:n,search:r,encoding:i=`json`,requestInit:a={}}=e,o=this.config.resolvePath(n,r),s=this.serializer.serialize(i,e.body),c=this.config.mergeRequestInitWithDefaults(a),l=new Request(o,{method:t,body:s,...c});return typeof s==`string`&&i===`json`&&l.headers.set(`Content-Type`,`application/json`),l}async createError(e){if(e instanceof Response){let t=ts(e.headers);if(!t)throw new eo(`The server returned data with an unknown encoding. The server may be down.`);let{error:n,errorDescription:r,details:i,...a}=this.serializer.deserialize(t,await e.text());return new no({statusCode:e.status,message:n,description:r,details:i,additionalProperties:a},{cause:e})}return e instanceof DOMException&&e.name===`TimeoutError`?new ro(`Request timed out`,{cause:e}):e}},rs=class{level;constructor(e){this.level=e}log(e,t,n){if(!this.level.satisfies(e))return;let r=n==null?[t]:[t,n];switch(e){case`debug`:console.debug(...r);return;case`info`:console.info(...r);return;case`warn`:console.warn(...r);return;case`error`:console.error(...r);return}}},U=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8}),is=class e{level;constructor(e){this.level=e}satisfies(e){switch(e){case`debug`:return!!(this.level&U.DEBUG);case`info`:return!!(this.level&U.INFO);case`warn`:return!!(this.level&U.WARN);case`error`:return!!(this.level&U.ERROR)}}static from(t){switch(t){case`debug`:return new e(U.DEBUG|U.INFO|U.WARN|U.ERROR);case`info`:return new e(U.INFO|U.WARN|U.ERROR);case`warn`:return new e(U.WARN|U.ERROR);case`error`:return new e(U.ERROR)}}},as=e=>new rs(is.from(e??`warn`)),os=e=>{let t=(n,r=``)=>Array.isArray(n)?n.flatMap((n,i)=>t(n,r==``?i.toString():e.onArray(r,i))):Co(n)?Object.entries(n).flatMap(([n,i])=>t(i,r===``?n:e.onObject(r,n))):[[r,n]];return t},ss=e=>{let t=os({onArray:(e,t)=>`${e}[${t}]`,onObject:(e,t)=>`${e}[${t}]`});return Object.fromEntries(t(e))},cs=e=>os({onArray:e=>`${e}[]`,onObject:(e,t)=>`${e}[${t}]`})(e).filter(([,e])=>e!=null).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(`&`),ls=(e,t)=>Array.isArray(e)?e.map(e=>ls(e,t)):Co(e)?Object.fromEntries(Object.entries(e).map(([e,n])=>[t(e),ls(n,t)])):e,us=(e,t)=>ls(e,e=>e.includes(`:`)||e.startsWith(`_`)?e:t(e)),ds=class{serialize(e,t){let n=us(t,go);switch(e){case`json`:return JSON.stringify(n);case`multipart-form`:{let e=new FormData;for(let[t,r]of Object.entries(ss(n)))e.append(t,r);return e}case`querystring`:return cs(n);default:throw new eo(`Unknown content type ${e} to serialize.`)}}deserialize(e,t){switch(e){case`json`:try{return us(JSON.parse(t),ho)}catch{throw new to(`Malformed JSON ${t} returned from the server.`,e,t)}default:throw new to(`Unknown content type ${e} returned from the server.`,e,t)}}},fs=e=>{let t=new ds,n=new ns(t,new Qo(e,t),as(e.log));return qo(new Fo(n,new No(n,e.mediaTimeout)),{context:[`api`]})};function ps(e){let t=new ds,n=new $o(e,t),r=as(e.log);return qo(new Ko(new Bo({constructorParameters:[n.resolvePath(`/api/v1/streaming`),n.getProtocols()],implementation:e.implementation,maxAttempts:n.getMaxAttempts()},r),new Go,t,r))}var{getOwnPropertyNames:ms,getOwnPropertySymbols:hs}=Object,{hasOwnProperty:gs}=Object.prototype;function _s(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function vs(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function ys(e){return e?.[Symbol.toStringTag]}function bs(e){return ms(e).concat(hs(e))}var xs=Object.hasOwn||((e,t)=>gs.call(e,t));function Ss(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var Cs=`__v`,ws=`__o`,Ts=`_owner`,{getOwnPropertyDescriptor:Es,keys:Ds}=Object;function Os(e,t){return e.byteLength===t.byteLength&&Vs(new Uint8Array(e),new Uint8Array(t))}function ks(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function As(e,t){return e.byteLength===t.byteLength&&Vs(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function js(e,t){return Ss(e.getTime(),t.getTime())}function Ms(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Ns(e,t){return e===t}function Ps(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var Fs=Ss;function Is(e,t,n){let r=Ds(e),i=r.length;if(Ds(t).length!==i)return!1;for(;i-- >0;)if(!Us(e,t,n,r[i]))return!1;return!0}function Ls(e,t,n){let r=bs(e),i=r.length;if(bs(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Us(e,t,n,a)||(o=Es(e,a),s=Es(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Rs(e,t){return Ss(e.valueOf(),t.valueOf())}function zs(e,t){return e.source===t.source&&e.flags===t.flags}function Bs(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Vs(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Hs(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Us(e,t,n,r){return(r===Ts||r===ws||r===Cs)&&(e.$$typeof||t.$$typeof)?!0:xs(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var Ws=`[object ArrayBuffer]`,Gs=`[object Arguments]`,Ks=`[object Boolean]`,qs=`[object DataView]`,Js=`[object Date]`,Ys=`[object Error]`,Xs=`[object Map]`,Zs=`[object Number]`,Qs=`[object Object]`,$s=`[object RegExp]`,ec=`[object Set]`,tc=`[object String]`,nc={"[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},rc=`[object URL]`,ic=Object.prototype.toString;function ac({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`?a(h,g,_):!1;let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);let b=ic.call(h);if(b===Js)return r(h,g,_);if(b===$s)return u(h,g,_);if(b===Xs)return o(h,g,_);if(b===ec)return d(h,g,_);if(b===Qs)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===rc)return p(h,g,_);if(b===Ys)return i(h,g,_);if(b===Gs)return c(h,g,_);if(nc[b])return f(h,g,_);if(b===Ws)return e(h,g,_);if(b===qs)return n(h,g,_);if(b===Ks||b===Zs||b===tc)return l(h,g,_);if(m){let e=m[b];if(!e){let t=ys(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function oc({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Os,areArraysEqual:n?Ls:ks,areDataViewsEqual:As,areDatesEqual:js,areErrorsEqual:Ms,areFunctionsEqual:Ns,areMapsEqual:n?_s(Ps,Ls):Ps,areNumbersEqual:Fs,areObjectsEqual:n?Ls:Is,arePrimitiveWrappersEqual:Rs,areRegExpsEqual:zs,areSetsEqual:n?_s(Bs,Ls):Bs,areTypedArraysEqual:n?_s(Vs,Ls):Vs,areUrlsEqual:Hs,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=vs(r.areArraysEqual),t=vs(r.areMapsEqual),n=vs(r.areObjectsEqual),i=vs(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function sc(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function cc({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}var lc=dc();dc({strict:!0}),dc({circular:!0}),dc({circular:!0,strict:!0});var uc=dc({createInternalComparator:()=>Ss});dc({strict:!0,createInternalComparator:()=>Ss}),dc({circular:!0,createInternalComparator:()=>Ss}),dc({circular:!0,createInternalComparator:()=>Ss,strict:!0});function dc(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=ac(oc(e));return cc({circular:t,comparator:a,createState:r,equals:n?n(a):sc(a),strict:i})}var fc={};function pc(e,t){var n=t===void 0?fc:t,r=n.indent,i=n.replacer,a=n.circularReplacer,o=n.stable,s=n.stabilizer,c=[],l=[],u=o&&s?function(e){var t={get:function(t){return e[t]}};return function(n,r){return s({key:n,value:e[n]},{key:r,value:e[r]},t)}}:void 0;return JSON.stringify(e,function(e,t){var n=t;if(typeof n==`object`&&n){if(c.length){var r=c.indexOf(this)+1;r===0?c[c.length]=this:(c.splice(r),l.splice(r)),l[l.length]=e;var s=c.indexOf(n)+1;if(s>0){var d=l.slice(0,s).join(`.`)||`.`;return a?a.call(this,e,n,d):`[ref=`+d+`]`}}else c[0]=n,l[0]=e;o&&!Array.isArray(n)&&(n=Object.keys(n).sort(u?.(n)).reduce(function(e,t){return e[t]=n[t],e},{}))}return i?i.call(this,e,n):n},r)}var mc=class{constructor(e){this.l={},this.c=e}a(e,t){let n=this.l[e];n?n.has(t)||n.add(t):this.l[e]=new Set([t])}n(e,t,n){let r=this.l[e];r&&r.forEach(r=>{r({cache:this.c,key:t.k,reason:n,value:t.v,type:e})})}r(e,t){let n=this.l[e];n&&(n.delete(t),n.size||(this.l[e]=void 0))}};function hc(e){return e===1?t=>e>=t.length?t:[t[0]]:e===2?t=>e>=t.length?t:[t[0],t[1]]:t=>{if(e>=t.length)return t;let n=Array(e);for(let r=0;r<e;++r)n[r]=t[r];return n}}function gc(e,t){let n=typeof t;return n===`function`||n===`symbol`?t.toString():t}function _c(e){return[pc(e,{replacer:gc})]}function vc(e,t){return e[0]===t[0]}function yc(e){return typeof e==`function`&&e.isMemoized}function bc(e){return typeof e==`number`&&e>=0&&Number.isFinite(e)}var xc=class{constructor(e){this.c=0;let{async:t,maxSize:n}=e;this.e=Sc(e),this.k=Cc(e),this.p=typeof t==`boolean`&&t,this.s=bc(n)?n:1}get size(){return this.c}get snapshot(){let e=[],t=[],n=[],r=this.h,i=0;for(;r!=null;)t.push(r.k),n.push(r.v),e.push([r.k,r.v]),++i,r=r.n;return{entries:e,keys:t,size:i,values:n}}clear(e=`explicit clear`){if(!this.h)return;let t=this.o,n;if(t){n=[];let e=this.h;for(;e!=null;)n.push(e),e=e.n}if(this.h=this.t=void 0,this.c=0,t&&n)for(let r=0;r<n.length;++r)t.n(`delete`,n[r],e)}delete(e,t=`explicit delete`){let n=this.g(this.k?this.k(e):e);return n?(this.d(n,t),!0):!1}get(e,t=`explicit get`){let n=this.g(this.k?this.k(e):e);if(n)return n===this.h?this.o&&this.o.n(`hit`,n,t):this.u(n,t,!0),n.v}has(e){return!!this.g(this.k?this.k(e):e)}off(e,t){this.o&&this.o.r(e,t)}on(e,t){this.o||=new mc(this),this.o.a(e,t)}set(e,t,n=`explicit set`){let r=this.k?this.k(e):e,i=this.g(r);if(i){let e=i.v;i.v=t,this.p&&t!==e&&(i.v=this.w(i)),i!==this.h&&this.u(i,n,!1)}else i=this.n(r,t)}d(e,t){let n=e.n,r=e.p;n?n.p=r:this.t=r,r?r.n=n:this.h=n,--this.c,e.r=!0,this.o&&this.o.n(`delete`,e,t)}g(e){let t=this.h;if(!(!t||t.r)){if(this.e(t.k,e))return t;if(this.h!==this.t)for(t=t.n;t;){if(t.r)return;if(this.e(t.k,e))return t;t=t.n}}}n(e,t,n){let r=this.h,i=this.t,a={k:e,n:r,p:void 0,v:t};return this.p&&(a.v=this.w(a)),this.h=a,r?r.p=a:this.t=a,++this.c>this.s&&i&&this.d(i,`evicted`),this.o&&this.o.n(`add`,a,n),a}u(e,t,n){let r=e.n,i=e.p;r&&(r.p=i),i&&(i.n=r),this.h&&(this.h.p=e),e.n=this.h,e.p=void 0,this.h=e,e===this.t&&(this.t=i),this.o&&(n&&this.o.n(`hit`,e,t),this.o.n(`update`,e,t))}w(e){let{v:t}=e;return t==null||typeof t.then!=`function`?t:t.then(t=>(!e.r&&this.o&&this.o.n(`update`,e,`resolved`),t),t=>{throw!e.r&&this.d(e,`rejected`),t})}};function Sc({isKeyEqual:e,isKeyItemEqual:t,serialize:n}){if(typeof e==`function`)return e;if(n)return vc;let r=typeof t==`function`?t:t===`deep`?lc:t===`shallow`?uc:Object.is;return function(e,t){let n=t.length;if(e.length!==n)return!1;if(n===1)return r(e[0],t[0],0);for(let i=0;i<n;++i)if(!r(e[i],t[i],i))return!1;return!0}}function Cc(e){let{maxArgs:t,serialize:n,transformKey:r}=e,i=[n?typeof n==`function`?n:_c:void 0,bc(t)?hc(t):void 0,typeof r==`function`?r:void 0].filter(Boolean);return i.length?i.reduce((e,t)=>(...n)=>e(t(...n))):void 0}var wc=class{constructor(e,t){if(this.e=new Map,this.c=e,typeof t==`object`?(this.t=t.after,this.p=t.shouldPersist,this.r=t.shouldRemove,this.u=!!t.update):(this.t=t,this.u=!1),this.c.on(`add`,({key:e,value:t})=>{this.a(e,t)&&this.s(e,t)}),this.u&&(this.c.on(`hit`,({key:e,value:t})=>{this.a(e,t)&&this.s(e,t)}),this.c.p)){let e=({key:t,reason:n,value:r})=>{n===`resolved`&&this.a(t,r)&&(this.s(t,r),this.c.off(`update`,e))};this.c.on(`update`,e)}this.c.on(`delete`,({key:e})=>{this.e.has(e)&&this.d(e)})}get size(){return this.e.size}a(e,t){return!!(this.c.g(e)&&!this.p?.call(this,e,t,this.c))}d(e){let t=this.e.get(e);t&&(clearTimeout(t),this.e.delete(e))}s(e,t){this.e.has(e)&&this.d(e);let n=this.c,r=typeof this.t==`function`?this.t(e,t,n):this.t;if(!bc(r))throw TypeError(`The expiration time must be a finite, non-negative number; received ${r}`);let i=setTimeout(()=>{this.d(e);let t=n.g(e);t&&(typeof this.r==`function`&&!this.r(e,t.v,r,n)?(t===n.h?n.o&&n.o.n(`update`,t,`expiration reset`):n.u(t,`expiration reset`,!1),this.s(e,t.v)):n.d(t,`expired`))},r);typeof i.unref==`function`&&i.unref(),this.e.set(e,i)}},Tc=new Map,Ec=!1,Dc=class{constructor(e,t){this.p={c:0,h:0},this.c=e,this.n=t,Tc.set(t,this),Ec&&this.s()}m(){let{c:e,h:t}=this.p,n=e?`${(t/e*100).toFixed(4)}%`:`0.0000%`;return{calls:e,hits:t,name:this.n,usage:n}}r(){this.p={c:0,h:0}}s(){let e=()=>{++this.p.c},t=()=>{++this.p.c,++this.p.h};this.d=()=>{this.c.off(`add`,e),this.c.off(`hit`,t),this.d=void 0,this.p.c=this.p.h=0},this.c.on(`add`,e),this.c.on(`hit`,t)}},Oc=function e(t,n={}){if(yc(t))return e(t.fn,Object.assign({},t.options,n));if(typeof t!=`function`)throw TypeError(`Expected first parameter to be function; received ${typeof t}`);let r=new xc(n),i=kc(t,r,n.forceUpdate),{expires:a,statsName:o}=n;return i.cache=r,i.expirationManager=a==null?null:new wc(r,a),i.fn=t,i.isMemoized=!0,i.options=n,i.statsManager=o==null?null:new Dc(r,o),i};function kc(e,t,n){let r=function(...n){let r=t.k?t.k(n):n,i=t.g(r);return i?i===t.h?t.o&&t.o.n(`hit`,i):t.u(i,void 0,!0):i=t.n(r,e.apply(this,n)),i.v};return n?function(...i){if(!n(i)||!t.has(i))return r.apply(this,i);let a=e.apply(this,i);return t.set(i,a,`forced`),a}:r}typeof window<`u`&&(window._memoize=Oc);function Ac(e,t={}){return Oc(e,{...t,maxSize:30,isKeyItemEqual:`deep`})}function jc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Mc={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Nc(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=jc({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&=i.expires.toUTCString(),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(r[s]=e.read(o,s),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,jc({},t,{expires:-1}))},withAttributes:function(e){return Nc(this.converter,jc({},this.attributes,e))},withConverter:function(e){return Nc(jc({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Pc=Nc(Mc,{path:`/`});function Fc(){return W.local.getJSON(`accounts`)||[]}function Ic(e){W.local.setJSON(`accounts`,e)}var Lc=300*1e3;function Rc(e){let t=Fc(),n=e?t.find(t=>t.info.id===e):t[0];if(!n)return null;let r=Date.now();return r-n.lastAccessedAt>Lc&&(n.lastAccessedAt=r,Ic(t)),n}function zc(e){return Fc().find(t=>t.accessToken===e)}function Bc(e){return Fc().find(t=>t.instanceURL===e)}function Vc(e){return Fc().some(t=>t.instanceURL===e)}var Hc=typeof window<`u`?window.matchMedia(`(display-mode: standalone)`):null;function Uc(){try{let e=W.session.get(`currentAccount`);if(e)return e}catch{}if(Hc?.matches)try{let e=W.local.get(`currentAccount`);if(e)return e}catch{}return null}var Wc=Ac(Uc,{expires:60*1e3});function Gc(e){Wc.cache.clear(),qc.cache.clear();try{W.session.set(`currentAccount`,e)}catch{}if(Hc?.matches)try{W.local.set(`currentAccount`,e)}catch{}}function Kc(){window.__IGNORE_GET_ACCOUNT_ERROR__;let e=Rc(Uc());return e||=Rc(),e}var qc=Ac(Kc,{expires:60*1e3});function Jc(){let{instanceURL:e,info:{id:t}}=Kc();return`${t}@${e}`}function Yc(e){let t=Fc(),n=t.find(t=>t.info.id===e.info.id);n?(n.info=e.info,n.instanceURL=e.instanceURL,n.accessToken=e.accessToken,n.vapidKey=e.vapidKey,n.updatedAt=Date.now()):t.push(e),Ic(t)}function Xc(e){let t=Fc(),n=t.find(t=>t.info.id===e.id);n&&(n.info.displayName!==e.displayName||n.info.avatar!==e.avatar||n.info.avatar_static!==e.avatar_static)&&(n.info={...n.info,...e},Ic(t))}var Zc=null;function Qc(){if(Zc)return Zc;try{let e=Kc();return Zc=W.local.getJSON(`instances`)[e.instanceURL.toLowerCase()]}catch{return{}}}var $c=null;function el(){if($c)return $c;try{let e=Kc();return $c=(W.local.getJSON(`nodeInfos`)||{})[e.instanceURL.toLowerCase()]||{}}catch{return{}}}function tl(e){let{configuration:t,maxMediaAttachments:n,maxTootChars:r,pollLimits:i}=e,a=t?.statuses||{};n&&(a.maxMediaAttachments??=n),r&&(a.maxCharacters??=r);let o=t?.polls||{};return i&&(o.maxCharactersPerOption??=i.maxOptionChars,o.maxExpiration??=i.maxExpiration,o.maxOptions??=i.maxOptions,o.minExpiration??=i.minExpiration),{...t,statuses:a,polls:o}}function nl(){return tl(Qc())}function rl(){return Qc()?.apiVersions||{}}function il(e){let t=e?tl(e):nl();return t?.vapid?.publicKey||t?.vapid?.public_key||Kc()?.vapidKey}function al(){let e=Qc();return/pixelfed/i.test(e?.version)}var ol=`credentialApplications`;function sl(e,t){let n=W.local.getJSON(ol)||{};n[e]=t,W.local.setJSON(ol,n)}function cl(e){return(W.local.getJSON(ol)||{})[e]||null}var ll=Pc.withAttributes({sameSite:`strict`,secure:!0}),ul=navigator.cookieEnabled&&(()=>{try{let e=`__phanpy_can_set_secure_cookie__`;ll.set(e,`1`);let t=ll.get(e)===`1`;return ll.remove(e),t}catch{return!1}})(),dl={get:e=>{try{return localStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(dl.get(e))}catch{return null}},set:(e,t)=>{try{return localStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return dl.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return localStorage.removeItem(e)}catch{return null}}},fl={get:e=>{try{return sessionStorage.getItem(e)}catch{return null}},getJSON:e=>{try{return JSON.parse(fl.get(e))}catch{return null}},set:(e,t)=>{try{return sessionStorage.setItem(e,t)}catch{return null}},setJSON:(e,t)=>{try{return fl.set(e,JSON.stringify(t))}catch{return null}},del:e=>{try{return sessionStorage.removeItem(e)}catch{return null}}},pl={get:e=>ll.get(e),set:(e,t)=>ll.set(e,t),del:e=>ll.remove(e)},W={local:dl,session:fl,sessionCookie:{get:e=>ul?pl.get(e):fl.get(e),set:(e,t)=>ul?pl.set(e,t):fl.set(e,t),del:e=>ul?pl.del(e):fl.del(e)},cookie:pl,account:{get:e=>{try{return dl.getJSON(e)[Jc()]}catch{return null}},set:(e,t)=>{try{let n=dl.getJSON(e)||{};return n[Jc()]=t,dl.setJSON(e,n)}catch{return null}},del:e=>{try{let t=dl.getJSON(e)||{};return delete t[Jc()],dl.setJSON(e,t)}catch{return null}}}},ml=`mastodon.social`,hl={},G={};window.__ACCOUNT_APIS__=G;var K;function q({instance:e,accessToken:t}){/^https?:\/\//.test(e)&&(e=e.replace(/^https?:\/\//,``).replace(/\/+$/,``).toLowerCase());let n={masto:fs({url:e?`https://${e}`:`https://${ml}`,accessToken:t,timeout:2*6e4,mediaTimeout:10*6e4}),instance:e,accessToken:t,onStreamingReady:function(e){this._streamingCallback=e}};return hl[e]=n,G[e]||(G[e]={}),t&&(G[e][t]=n),n}function gl(e){return!!(W.local.getJSON(`instances`)||{})[e]}async function _l(e,t){let{masto:n,accessToken:r}=e,i;__BENCHMARK.start(`fetch-instance`);try{i=await n.v2.instance.fetch()}catch{}if(!i)try{i=await n.v1.instance.fetch()}catch{}if(__BENCHMARK.end(`fetch-instance`),!i)return;let{uri:a,urls:{streamingApi:o}={},domain:s,configuration:{urls:{streaming:c}={}}={}}=i,l=W.local.getJSON(`instances`)||{};(a||s)&&(l[(s||a).replace(/^https?:\/\//,``).replace(/\/+$/,``).toLowerCase()]=i),t&&(l[t.toLowerCase()]=i),W.local.setJSON(`instances`,l);let u;try{if(a||s){let e=a||`https://${s}`,t=await(await fetch(`${e}/.well-known/nodeinfo`)).json();if(Array.isArray(t?.links)){let e=t.links.filter(e=>typeof e.rel==`string`&&e.rel.startsWith(`http://nodeinfo.diaspora.software/ns/schema/`)&&Ya(e.rel.slice(44))).map(e=>({version:e.rel.slice(44),href:e.href})).sort((e,t)=>-Ua(e.version,t.version)).find(e=>Ja(e.version,`<=2`))?.href;e&&(u=await(await fetch(e)).json())}}}catch{}let d=W.local.getJSON(`nodeInfos`)||{};if(u&&(d[t.toLowerCase()]=u),W.local.setJSON(`nodeInfos`,d),`WebSocket`in window&&(o||c)){let t=ps({streamingApiUrl:c||o,accessToken:r,implementation:WebSocket});if(e.streaming=t,e._streamingCallback){try{e._streamingCallback(t)}catch{}e._streamingCallback=null}}__BENCHMARK.end(`init-instance`)}async function vl(e,t,n,r){let{masto:i}=e,a=await i.v1.accounts.verifyCredentials();Gc(a.id),Yc({info:a,instanceURL:t.toLowerCase(),accessToken:n,vapidKey:r,createdAt:Date.now()})}var yl=Ac(()=>W.account.get(`preferences`)||{},{expires:60*1e3});function bl(e){yl.cache.clear(),W.account.set(`preferences`,e)}function xl(){return!!yl()}async function Sl(e){try{let{masto:t}=e;__BENCHMARK.start(`fetch-preferences`);let n=await t.v1.preferences.fetch();__BENCHMARK.end(`fetch-preferences`),bl(n)}catch{}}function Cl({instance:e,accessToken:t,accountID:n,account:r}={}){if(e&&=e.toLowerCase().trim(),e&&t){let n=G[e]?.[t]||q({instance:e,accessToken:t}),{masto:r,streaming:i}=n;return{masto:r,streaming:i,client:n,authenticated:!0,instance:e}}if(t)for(let e in G)if(G[e][t]){let n=G[e][t],{masto:r,streaming:i}=n;return{masto:r,streaming:i,client:n,authenticated:!0,instance:e}}else{let e=zc(t);if(e){let t=e.accessToken,n=e.instanceURL.toLowerCase().trim(),r=q({instance:n,accessToken:t}),{masto:i,streaming:a}=r;return{masto:i,streaming:a,client:r,authenticated:!0,instance:n}}else throw Error(`Access token not found`)}if(r||n)if(r||=Rc(n),r){let e=r.accessToken,t=r.instanceURL.toLowerCase().trim(),n=G[t]?.[e]||q({instance:t,accessToken:e}),{masto:i,streaming:a}=n;return{masto:i,streaming:a,client:n,authenticated:!0,instance:t}}else throw Error(`Account ${n} not found`);let i=qc();if(e){if(K?.instance===e)return{masto:K.masto,streaming:K.streaming,client:K,authenticated:!0,instance:e};if(i?.instanceURL===e){let{accessToken:t}=i;return K=G[e]?.[t]||q({instance:e,accessToken:t}),{masto:K.masto,streaming:K.streaming,client:K,authenticated:!0,instance:e}}let t=Bc(e);if(t){let n=t.accessToken,r=G[e]?.[n]||q({instance:e,accessToken:n}),{masto:i,streaming:a}=r;return{masto:i,streaming:a,client:r,authenticated:!0,instance:e}}let n=hl[e]||q({instance:e}),{masto:r,streaming:a,accessToken:o}=n;return{masto:r,streaming:a,client:n,authenticated:!!o,instance:e}}if(K)return{masto:K.masto,streaming:K.streaming,client:K,authenticated:!0,instance:K.instance};if(i){let{accessToken:e,instanceURL:t}=i;return K=G[t]?.[e]||q({instance:t,accessToken:e}),{masto:K.masto,streaming:K.streaming,client:K,authenticated:!0,instance:t}}let a=hl[ml]||q({instance:ml}),{masto:o,streaming:s}=a;return{masto:o,streaming:s,client:a,authenticated:!1,instance:ml}}window.__API__={currentAccountApi:K,apis:hl,accountApis:G};var{getOwnPropertyNames:wl,getOwnPropertySymbols:Tl}=Object,{hasOwnProperty:El}=Object.prototype;function Dl(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function Ol(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function kl(e){return wl(e).concat(Tl(e))}var Al=Object.hasOwn||((e,t)=>El.call(e,t)),jl=`__v`,Ml=`__o`,Nl=`_owner`,{getOwnPropertyDescriptor:Pl,keys:Fl}=Object,Il=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t};function Ll(e,t){return e===t}function Rl(e,t){return e.byteLength===t.byteLength&&Yl(new Uint8Array(e),new Uint8Array(t))}function zl(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Bl(e,t){return e.byteLength===t.byteLength&&Yl(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Vl(e,t){return Il(e.getTime(),t.getTime())}function Hl(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Ul(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}function Wl(e,t,n){let r=Fl(e),i=r.length;if(Fl(t).length!==i)return!1;for(;i-- >0;)if(!Zl(e,t,n,r[i]))return!1;return!0}function Gl(e,t,n){let r=kl(e),i=r.length;if(kl(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Zl(e,t,n,a)||(o=Pl(e,a),s=Pl(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Kl(e,t){return Il(e.valueOf(),t.valueOf())}function ql(e,t){return e.source===t.source&&e.flags===t.flags}function Jl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Yl(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Xl(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Zl(e,t,n,r){return(r===Nl||r===Ml||r===jl)&&(e.$$typeof||t.$$typeof)?!0:Al(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var Ql=Object.prototype.toString;function $l(e){let t=ru(e),{areArraysEqual:n,areDatesEqual:r,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:o,areObjectsEqual:s,areRegExpsEqual:c,areSetsEqual:l,getUnsupportedCustomComparator:u}=e;return function(e,d,f){if(e===d)return!0;if(e==null||d==null)return!1;let p=typeof e;if(p!==typeof d)return!1;if(p!==`object`)return p===`number`||p===`bigint`?o(e,d,f):p===`function`?i(e,d,f):!1;let m=e.constructor;if(m!==d.constructor)return!1;if(m===Object)return s(e,d,f);if(m===Array)return n(e,d,f);if(m===Date)return r(e,d,f);if(m===RegExp)return c(e,d,f);if(m===Map)return a(e,d,f);if(m===Set)return l(e,d,f);if(m===Promise)return!1;if(Array.isArray(e))return n(e,d,f);let h=Ql.call(e),g=t[h];if(g)return g(e,d,f);let _=u&&u(e,d,f,h);return _?_(e,d,f):!1}}function eu({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Rl,areArraysEqual:n?Gl:zl,areDataViewsEqual:Bl,areDatesEqual:Vl,areErrorsEqual:Hl,areFunctionsEqual:Ll,areMapsEqual:n?Dl(Ul,Gl):Ul,areNumbersEqual:Il,areObjectsEqual:n?Gl:Wl,arePrimitiveWrappersEqual:Kl,areRegExpsEqual:ql,areSetsEqual:n?Dl(Jl,Gl):Jl,areTypedArraysEqual:n?Dl(Yl,Gl):Yl,areUrlsEqual:Xl,getUnsupportedCustomComparator:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=Ol(r.areArraysEqual),t=Ol(r.areMapsEqual),n=Ol(r.areObjectsEqual),i=Ol(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function tu(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function nu({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}function ru({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p}){return{"[object Arguments]":c,"[object Array]":t,"[object ArrayBuffer]":e,"[object AsyncGeneratorFunction]":a,"[object BigInt]":s,"[object BigInt64Array]":f,"[object BigUint64Array]":f,"[object Boolean]":l,"[object DataView]":n,"[object Date]":r,"[object Error]":i,"[object Float16Array]":f,"[object Float32Array]":f,"[object Float64Array]":f,"[object Function]":a,"[object GeneratorFunction]":a,"[object Int8Array]":f,"[object Int16Array]":f,"[object Int32Array]":f,"[object Map]":o,"[object Number]":l,"[object Object]":(e,t,n)=>typeof e.then!=`function`&&typeof t.then!=`function`&&c(e,t,n),"[object RegExp]":u,"[object Set]":d,"[object String]":l,"[object URL]":p,"[object Uint8Array]":f,"[object Uint8ClampedArray]":f,"[object Uint16Array]":f,"[object Uint32Array]":f}}var iu=ou();ou({strict:!0}),ou({circular:!0}),ou({circular:!0,strict:!0});var au=ou({createInternalComparator:()=>Il});ou({strict:!0,createInternalComparator:()=>Il}),ou({circular:!0,createInternalComparator:()=>Il}),ou({circular:!0,createInternalComparator:()=>Il,strict:!0});function ou(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=$l(eu(e));return nu({circular:t,comparator:a,createState:r,equals:n?n(a):tu(a),strict:i})}function su(e,t,n,r){let i=e[t];return Aa(e,()=>{let r=e[t];Object.is(i,r)||n(i=r)},r)}var cu=e=>typeof e==`object`&&!!e,lu,uu=()=>(lu||=Ma().refSet,lu);function du(e,t=uu){if(!cu(e)||t().has(e))return e;let n=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return Reflect.ownKeys(e).forEach(r=>{n[r]=du(e[r],t)}),n}var{proxyStateMap:fu,snapCache:pu}=Ma(),{proxyStateMap:mu,snapCache:hu}=Ma(),gu=e=>typeof e==`object`?ka({x:e}).x:e,_u=e=>mu.has(e);function J(e){let t=[],n=new Map,r=0,i=new WeakMap,a=()=>{let e=hu.get(m)?.[1];if(e&&!i.has(e)){let t=new Map(n);i.set(e,t)}},o=e=>i.get(e)||n;if(e){if(typeof e[Symbol.iterator]!=`function`)throw TypeError(`not iterable`);for(let i of e)if(!n.has(i)){let e=gu(i);n.set(e,r),t[r++]=e}}let s=e=>typeof e==`object`&&!!e&&Symbol.iterator in e,c=e=>typeof e.forEach==`function`,l=e=>{if(s(e))return e;if(c(e)){let t=[];return e.forEach(e=>t.push(e)),t}throw TypeError(`Expected an iterable`)};function u(e){this.epoch;let t=J(l(e)),n=J();for(let e of this.values())t.has(e)&&n.add(e);return J(n)}function d(e){this.epoch;let t=J(l(e)),n=J();for(let e of this.values())n.add(e);for(let e of t.values())n.add(e);return J(n)}function f(e){this.epoch;let t=J(l(e)),n=J();for(let e of this.values())t.has(e)||n.add(e);return J(n)}function p(e){this.epoch;let t=J(l(e)),n=J();for(let e of this.values())t.has(e)||n.add(e);for(let e of t.values())this.has(e)||n.add(e);return J(n)}let m={data:t,index:r,epoch:0,get size(){return _u(this)||a(),n.size},has(e){let t=o(this),n=gu(e);return this.epoch,t.has(n)},add(e){if(!_u(this))throw Error(`Cannot perform mutations on a snapshot`);let t=gu(e);return n.has(t)||(n.set(t,this.index),this.data[this.index++]=t,this.epoch++),this},delete(e){if(!_u(this))throw Error(`Cannot perform mutations on a snapshot`);let t=gu(e),r=n.get(t);return r===void 0?!1:(delete this.data[r],n.delete(t),this.epoch++,!0)},clear(){if(!_u(this))throw Error(`Cannot perform mutations on a snapshot`);this.data.length=0,this.index=0,this.epoch++,n.clear()},forEach(e){this.epoch,o(this).forEach(t=>{e(this.data[t],this.data[t],this)})},*values(){this.epoch;let e=o(this);for(let t of e.values())yield this.data[t]},keys(){return this.epoch,this.values()},*entries(){this.epoch;let e=o(this);for(let t of e.values()){let e=this.data[t];yield[e,e]}},toJSON(){return new Set(this.values())},[Symbol.iterator](){return this.values()},get[Symbol.toStringTag](){return`Set`},intersection:u,union:d,difference:f,symmetricDifference:p,isSubsetOf(e){this.epoch;for(let t of this.values())if(!e.has(t))return!1;return!0},isSupersetOf(e){this.epoch;let t=l(e);for(let e of t)if(!this.has(e))return!1;return!0},isDisjointFrom(e){this.epoch;for(let t of this.values())if(e.has(t))return!1;return!0}},h=ka(m);return Object.defineProperties(h,{size:{enumerable:!1},data:{enumerable:!1},index:{enumerable:!1},epoch:{enumerable:!1},toJSON:{enumerable:!1}}),Object.seal(h),h}function vu(e){try{let{pathname:t,hash:n,hostname:r}=URL.parse(e);return/^\/.*\/\d+$/i.test(t)||/^\/(@[^/]+|users\/[^/]+)\/(statuses|posts)\/[\w-]+\/?$/i.test(t)||/^\/notes\/[a-z0-9]+$/i.test(t)||/^\/(notice|objects)\/[a-z0-9-]+$/i.test(t)||/^\/@[^/]+\/post\/[a-z0-9\-_]+$/i.test(t)||/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(t)||/^\/ap\/note\/[a-z0-9\-_]+$/i.test(t)||/(fed|bsky)\.brid\.gy/i.test(r)&&t.startsWith(`/r/http`)||/^\/[^\/]+\/p\/\d+\.\d+$/i.test(t)||/^\/fediverse\/post\/[a-z0-9\-]+$/i.test(t)||/^\/v\/[a-z0-9]+$/i.test(t)||/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(n)}catch{return!1}}function yu(e,t={}){return Ac(e,{async:!0,...t})}function bu(e,t){let n=[],r=!1;function i(){if(n.length===0){r=!1;return}n.shift()(),setTimeout(i,t)}return function(...a){n.push(()=>e.apply(this,a)),r||(r=!0,setTimeout(i,t))}}var xu=l(o(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1);xu.default;var Su=class e extends Error{name=`TimeoutError`;constructor(t,n){super(t,n),Error.captureStackTrace?.(this,e)}},Cu=e=>e.reason??new DOMException(`This operation was aborted.`,`AbortError`);function wu(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout},signal:o}=t,s,c,l=new Promise((t,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(o?.aborted){l(Cu(o));return}if(o&&(c=()=>{l(Cu(o))},o.addEventListener(`abort`,c,{once:!0})),e.then(t,l),n===1/0)return;let u=new Su;s=a.setTimeout.call(void 0,()=>{if(r){try{t(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?t():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n)}).finally(()=>{l.clear(),c&&o&&o.removeEventListener(`abort`,c)});return l.clear=()=>{a.clearTimeout.call(void 0,s),s=void 0},l}function Tu(e,t,n){let r=0,i=e.length;for(;i>0;){let a=Math.trunc(i/2),o=r+a;n(e[o],t)<=0?(r=++o,i-=a+1):i=a}return r}var Eu=100,Du=class{#e=[];#t=0;enqueue(e,t){let{priority:n=0,id:r}=t??{},{size:i}=this,a={priority:n,id:r,run:e};if(i===0){this.#e.length=0,this.#t=0,this.#e.push(a);return}if(this.#e.at(-1).priority>=n){this.#e.push(a);return}this.#n();let o=Tu(this.#e,a,(e,t)=>t.priority-e.priority);this.#e.splice(o,0,a)}setPriority(e,t){let n=this.#e.findIndex((t,n)=>n>=this.#t&&t.id===e);if(n===-1)throw ReferenceError(`No promise function with the id "${e}" exists in the queue.`);let[r]=this.#e.splice(n,1);this.enqueue(r.run,{priority:t,id:e})}remove(e){let t=this.#e.findIndex((t,n)=>n<this.#t?!1:typeof e==`string`?t.id===e:t.run===e);t!==-1&&this.#e.splice(t,1)}dequeue(){if(this.#t===this.#e.length)return;let e=this.#e[this.#t];return this.#t++,this.#t===this.#e.length?(this.#e.length=0,this.#t=0):this.#t>Eu&&this.#t>this.#e.length/2&&this.#n(),e?.run}filter(e){let t=[];for(let n=this.#t;n<this.#e.length;n++){let r=this.#e[n];r.priority===e.priority&&t.push(r.run)}return t}get size(){return this.#e.length-this.#t}#n(){this.#t!==0&&(this.#e.splice(0,this.#t),this.#t=0)}},Ou=class extends xu.default{#e;#t;#n=0;#r;#i=!1;#a=!1;#o;#s=0;#c=0;#l;#u;#d;#f=[];#p=0;#m;#h;#g=0;#_;#v;#y=1n;#b=new Map;#x=new Set;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:Du,strict:!1,...e},!(typeof e.intervalCap==`number`&&e.intervalCap>=1))throw 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 TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??``}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===1/0)throw TypeError("The `strict` option requires a finite `intervalCap`");if(this.#e=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#t=e.intervalCap===1/0||e.interval===0,this.#r=e.intervalCap,this.#o=e.interval,this.#d=e.strict,this.#m=new e.queueClass,this.#h=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#v=e.autoStart===!1,this.#z()}#S(e){for(;this.#p<this.#f.length;){let t=this.#f[this.#p];if(t!==void 0&&e-t>=this.#o)this.#p++;else break}(this.#p>100&&this.#p>this.#f.length/2||this.#p===this.#f.length)&&(this.#f=this.#f.slice(this.#p),this.#p=0)}#C(e){this.#d?this.#f.push(e):this.#n++}#w(){this.#d?this.#f.length>this.#p&&this.#f.pop():this.#n>0&&this.#n--}#T(){return this.#f.length-this.#p}get#E(){return this.#t?!0:this.#d?this.#T()<this.#r:this.#n<this.#r}get#D(){return this.#g<this.#_}#O(){this.#g--,this.#g===0&&this.emit(`pendingZero`),this.#P(),this.emit(`next`)}#k(){this.#u=void 0,this.#I(),this.#F()}#A(e){if(this.#d){if(this.#S(e),this.#T()>=this.#r){let t=this.#f[this.#p],n=this.#o-(e-t);return this.#j(n),!0}return!1}if(this.#l===void 0){let t=this.#s-e;if(t<0){if(this.#c>0){let t=e-this.#c;if(t<this.#o)return this.#j(this.#o-t),!0}this.#n=this.#e?this.#g:0}else return this.#j(t),!0}return!1}#j(e){this.#u===void 0&&(this.#u=setTimeout(()=>{this.#k()},e))}#M(){this.#l&&=(clearInterval(this.#l),void 0)}#N(){this.#u&&=(clearTimeout(this.#u),void 0)}#P(){if(this.#m.size===0){if(this.#M(),this.emit(`empty`),this.#g===0){if(this.#N(),this.#d&&this.#p>0){let e=Date.now();this.#S(e)}this.emit(`idle`)}return!1}let e=!1;if(!this.#v){let t=Date.now(),n=!this.#A(t);if(this.#E&&this.#D){let r=this.#m.dequeue();this.#t||(this.#C(t),this.#B()),this.emit(`active`),r(),n&&this.#F(),e=!0}}return e}#F(){this.#t||this.#l!==void 0||this.#d||(this.#l=setInterval(()=>{this.#I()},this.#o),this.#s=Date.now()+this.#o)}#I(){this.#d||(this.#n===0&&this.#g===0&&this.#l&&this.#M(),this.#n=this.#e?this.#g:0),this.#L(),this.#B()}#L(){for(;this.#P(););}get concurrency(){return this.#_}set concurrency(e){if(!(typeof e==`number`&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#_=e,this.#L()}setPriority(e,t){if(typeof t!=`number`||!Number.isFinite(t))throw TypeError(`Expected \`priority\` to be a finite number, got \`${t}\` (${typeof t})`);this.#m.setPriority(e,t)}async add(e,t={}){return t={timeout:this.timeout,...t,id:t.id??(this.#y++).toString()},new Promise((n,r)=>{let i=Symbol(`task-${t.id}`),a=()=>void 0,o=async()=>{a(),this.#g++,this.#b.set(i,{id:t.id,priority:t.priority??0,startTime:Date.now(),timeout:t.timeout});let o;try{try{t.signal?.throwIfAborted()}catch(e){throw this.#V(),this.#b.delete(i),e}this.#c=Date.now();let r=e({signal:t.signal});if(t.timeout&&(r=wu(Promise.resolve(r),{milliseconds:t.timeout,message:`Task timed out after ${t.timeout}ms (queue has ${this.#g} running, ${this.#m.size} waiting)`})),t.signal){let{signal:e}=t;r=Promise.race([r,new Promise((t,n)=>{o=()=>{n(e.reason)},e.addEventListener(`abort`,o,{once:!0})})])}let a=await r;n(a),this.emit(`completed`,a)}catch(e){r(e),this.emit(`error`,e)}finally{o&&t.signal?.removeEventListener(`abort`,o),this.#b.delete(i),queueMicrotask(()=>{this.#O()})}};this.#m.enqueue(o,t);let s=()=>{if(this.#m instanceof Du){this.#m.remove(o);return}this.#m.remove?.(t.id)};if(t.signal){let{signal:e}=t,n=()=>{a(),s(),r(e.reason),this.#P(),this.emit(`next`)};if(a=()=>{e.removeEventListener(`abort`,n),this.#x.delete(a)},e.aborted){n();return}e.addEventListener(`abort`,n,{once:!0}),this.#x.add(a)}this.emit(`add`),this.#P()})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this.#v?(this.#v=!1,this.#L(),this):this}pause(){this.#v=!0}clear(){for(let e of this.#x)e();this.#m=new this.#h,this.#M(),this.#H(),this.emit(`empty`),this.#g===0&&(this.#N(),this.emit(`idle`)),this.emit(`next`)}async onEmpty(){this.#m.size!==0&&await this.#R(`empty`)}async onSizeLessThan(e){this.#m.size<e||await this.#R(`next`,()=>this.#m.size<e)}async onIdle(){this.#g===0&&this.#m.size===0||await this.#R(`idle`)}async onPendingZero(){this.#g!==0&&await this.#R(`pendingZero`)}async onRateLimit(){this.isRateLimited||await this.#R(`rateLimit`)}async onRateLimitCleared(){this.isRateLimited&&await this.#R(`rateLimitCleared`)}onError(){return new Promise((e,t)=>{let n=e=>{this.off(`error`,n),t(e)};this.on(`error`,n)})}async#R(e,t){return new Promise(n=>{let r=()=>{t&&!t()||(this.off(e,r),n())};this.on(e,r)})}get size(){return this.#m.size}sizeBy(e){return this.#m.filter(e).length}get pending(){return this.#g}get isPaused(){return this.#v}#z(){this.#t||(this.on(`add`,()=>{this.#m.size>0&&this.#B()}),this.on(`next`,()=>{this.#B()}))}#B(){this.#t||this.#a||(this.#a=!0,queueMicrotask(()=>{this.#a=!1,this.#H()}))}#V(){this.#t||(this.#w(),this.#B())}#H(){let e=this.#i;if(this.#t||this.#m.size===0){e&&(this.#i=!1,this.emit(`rateLimitCleared`));return}let t;if(this.#d){let e=Date.now();this.#S(e),t=this.#T()}else t=this.#n;let n=t>=this.#r;n!==e&&(this.#i=n,this.emit(n?`rateLimit`:`rateLimitCleared`))}get isRateLimited(){return this.#i}get isSaturated(){return this.#g===this.#_&&this.#m.size>0||this.isRateLimited&&this.#m.size>0}get runningTasks(){return[...this.#b.values()].map(e=>({...e}))}},ku=2147483647,Y=36,Au=1,ju=26,Mu=38,Nu=700,Pu=72,Fu=128,Iu=`-`,Lu=/^xn--/,Ru=/[^\0-\x7F]/,zu=/[\x2E\u3002\uFF0E\uFF61]/g,Bu={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Vu=Y-Au,X=Math.floor,Hu=String.fromCharCode;function Uu(e){throw RangeError(Bu[e])}function Wu(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Gu(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(zu,`.`);let i=Wu(e.split(`.`),t).join(`.`);return r+i}function Ku(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var qu=e=>String.fromCodePoint(...e),Ju=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Y},Yu=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Xu=function(e,t,n){let r=0;for(e=n?X(e/Nu):e>>1,e+=X(e/t);e>Vu*ju>>1;r+=Y)e=X(e/Vu);return X(r+(Vu+1)*e/(e+Mu))},Zu=function(e){let t=[],n=e.length,r=0,i=Fu,a=Pu,o=e.lastIndexOf(Iu);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Uu(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Y;;i+=Y){s>=n&&Uu(`invalid-input`);let o=Ju(e.charCodeAt(s++));o>=Y&&Uu(`invalid-input`),o>X((ku-r)/t)&&Uu(`overflow`),r+=o*t;let c=i<=a?Au:i>=a+ju?ju:i-a;if(o<c)break;let l=Y-c;t>X(ku/l)&&Uu(`overflow`),t*=l}let c=t.length+1;a=Xu(r-o,c,o==0),X(r/c)>ku-i&&Uu(`overflow`),i+=X(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Qu=function(e){let t=[];e=Ku(e);let n=e.length,r=Fu,i=0,a=Pu;for(let n of e)n<128&&t.push(Hu(n));let o=t.length,s=o;for(o&&t.push(Iu);s<n;){let n=ku;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>X((ku-i)/c)&&Uu(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>ku&&Uu(`overflow`),n===r){let e=i;for(let n=Y;;n+=Y){let r=n<=a?Au:n>=a+ju?ju:n-a;if(e<r)break;let i=e-r,o=Y-r;t.push(Hu(Yu(r+i%o,0))),e=X(i/o)}t.push(Hu(Yu(e,0))),a=Xu(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},$u={version:`2.3.1`,ucs2:{decode:Ku,encode:qu},decode:Zu,encode:Qu,toASCII:function(e){return Gu(e,function(e){return Ru.test(e)?`xn--`+Qu(e):e})},toUnicode:function(e){return Gu(e,function(e){return Lu.test(e)?Zu(e.slice(4).toLowerCase()):e})}};function ed(e){try{return $u.toUnicode(URL.parse(e).hostname.replace(/^www\./,``).replace(/\/$/,``))}catch{return``}}var td=Ac(ed),nd=new Ou({concurrency:1,interval:1e3,intervalCap:1}),rd=[/\/@[^@\/]+@?[^\/]+?\/(\d+)$/i,/\/notice\/(\w+)$/i];function id(e){for(let t=0;t<rd.length;t++){let n=e.match(rd[t])?.[1];if(n)return n}return null}var ad=/(twitter|github)\.com/i,od={};function sd(e,t){let n=ja(Z);if(ad.test(t)||od[t])return;if(RegExp(e+`/`).test(n.unfurledLinks[t]?.url))return Promise.resolve(n.unfurledLinks[t]);let r,i=t;/\/\/elk\.[^\/]+\/[^\/]+\.[^\/]+/i.test(i)&&(i=i.replace(/elk\.[^\/]+\//i,``)),/\/\/trunks\.[^\/]+\/status\/[^\/]+\.[^\/]+/i.test(i)&&(i=i.replace(/trunks\.[^\/]+\/status\//i,``)),/\/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(i)&&(i=`https://${i.split(`/#/`)[1].replace(/\/s\//i,`/@fakeUsername/`)}`);let a=URL.parse(i);if(!a)return;let o=a.hostname,s=a.pathname;if(!o)return;let c=id(s);if(c){let e=c,{masto:t}=Cl({instance:o});r=t.v1.statuses.$select(e).fetch().then(e=>{if(e?.id)return{status:e,instance:o};throw Error(`No results`)})}let{masto:l}=Cl({instance:e}),u=l.v2.search.fetch({q:i,type:`statuses`,resolve:!0,limit:1}).then(t=>{let{statuses:n}=t;if(n.length>0){let t=n.filter(e=>!e.content?.toLowerCase().includes(i.toLowerCase()));if(t.length===1)return{status:t[0],instance:e}}throw Error(`No results`)});function d(e){let{status:n,instance:r}=e,{id:a}=n,o=`/${r}/s/${a}`,s=i!==t,c={id:a,instance:r,url:o,originalURL:t,originalDomain:td(t),canonicalURL:s?i:void 0,canonicalDomain:s?td(i):void 0};return Z.unfurledLinks[t]=c,yd(n,r,{skipThreading:!0}),c}function f(e){od[t]=!0}return r?Promise.race([u,new Promise((e,t)=>setTimeout(t,3e3))]).catch(()=>r.catch(()=>u)).then(d).catch(f):u.then(d).catch(f)}var cd=(e,t,n)=>nd.add(()=>sd(e,t),{signal:n});function ld(){let e=W.session.getJSON(`prevLocation`);return e&&e.pathname?e:null}var Z=ka({appVersion:{},prevLocation:ld(),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,hideTrendingTimeline:!1,hideLocalTimeline:!1,hideFederatedTimeline:!1,paginatedTimeline:!1,autoHideBars:!0}});function ud(){Z.notificationsLast=W.account.get(`notificationsLast`)||null,Z.shortcuts=W.account.get(`shortcuts`)??[],Z.settings.autoRefresh=W.account.get(`settings-autoRefresh`)??!1,Z.settings.shortcutsViewMode=W.account.get(`settings-shortcutsViewMode`)??null,W.account.get(`settings-shortcutsColumnsMode`)&&(Z.settings.shortcutsColumnsMode=!0),Z.settings.boostsCarousel=W.account.get(`settings-boostsCarousel`)??!0,Z.settings.contentTranslation=W.account.get(`settings-contentTranslation`)??!0,Z.settings.contentTranslationTargetLanguage=W.account.get(`settings-contentTranslationTargetLanguage`)||null,Z.settings.contentTranslationHideLanguages=W.account.get(`settings-contentTranslationHideLanguages`)||[],Z.settings.contentTranslationAutoInline=W.account.get(`settings-contentTranslationAutoInline`)??!1,Z.settings.shortcutSettingsCloudImportExport=W.account.get(`settings-shortcutSettingsCloudImportExport`)??!1,Z.settings.mediaAltGenerator=W.account.get(`settings-mediaAltGenerator`)??!1,Z.settings.composerGIFPicker=W.account.get(`settings-composerGIFPicker`)??!1,Z.settings.cloakMode=W.account.get(`settings-cloakMode`)??!1,Z.settings.hideTrendingTimeline=W.account.get(`settings-hideTrendingTimeline`)??!1,Z.settings.hideLocalTimeline=W.account.get(`settings-hideLocalTimeline`)??!1,Z.settings.hideFederatedTimeline=W.account.get(`settings-hideFederatedTimeline`)??!1,Z.settings.paginatedTimeline=W.account.get(`settings-paginatedTimeline`)??!1,Z.settings.autoHideBars=W.account.get(`settings-autoHideBars`)??!0}su(Z,`notificationsLast`,e=>{W.account.set(`notificationsLast`,Z.notificationsLast)}),Aa(Z,e=>{for(let[t,n,r,i]of e)n.join(`.`)===`settings.autoRefresh`&&W.account.set(`settings-autoRefresh`,!!r),n.join(`.`)===`settings.boostsCarousel`&&W.account.set(`settings-boostsCarousel`,!!r),n.join(`.`)===`settings.shortcutsViewMode`&&W.account.set(`settings-shortcutsViewMode`,r),n.join(`.`)===`settings.contentTranslation`&&W.account.set(`settings-contentTranslation`,!!r),n.join(`.`)===`settings.contentTranslationAutoInline`&&W.account.set(`settings-contentTranslationAutoInline`,!!r),n.join(`.`)===`settings.shortcutSettingsCloudImportExport`&&W.account.set(`settings-shortcutSettingsCloudImportExport`,!!r),n.join(`.`)===`settings.contentTranslationTargetLanguage`&&W.account.set(`settings-contentTranslationTargetLanguage`,r),/^settings\.contentTranslationHideLanguages/i.test(n.join(`.`))&&W.account.set(`settings-contentTranslationHideLanguages`,Z.settings.contentTranslationHideLanguages),n.join(`.`)===`settings.mediaAltGenerator`&&W.account.set(`settings-mediaAltGenerator`,!!r),n.join(`.`)===`settings.composerGIFPicker`&&W.account.set(`settings-composerGIFPicker`,!!r),n?.[0]===`shortcuts`&&W.account.set(`shortcuts`,Z.shortcuts),n.join(`.`)===`settings.cloakMode`&&W.account.set(`settings-cloakMode`,!!r),n.join(`.`)===`settings.hideTrendingTimeline`&&W.account.set(`settings-hideTrendingTimeline`,!!r),n.join(`.`)===`settings.hideLocalTimeline`&&W.account.set(`settings-hideLocalTimeline`,!!r),n.join(`.`)===`settings.hideFederatedTimeline`&&W.account.set(`settings-hideFederatedTimeline`,!!r),n.join(`.`)===`settings.paginatedTimeline`&&W.account.set(`settings-paginatedTimeline`,!!r),n.join(`.`)===`settings.autoHideBars`&&W.account.set(`settings-autoHideBars`,!!r)});function dd(){Z.showCompose=!1,Z.showSettings=!1,Z.showAccount=!1,Z.showAccounts=!1,Z.showDrafts=!1,Z.showMediaModal=!1,Z.showShortcutsSettings=!1,Z.showKeyboardShortcutsHelp=!1,Z.showGenericAccounts=!1,Z.showMediaAlt=!1,Z.showEmbedModal=!1,Z.showReportModal=!1,Z.showQrCodeModal=!1,Z.showQrScannerModal=!1,Z.showImportExportAccounts=!1}function fd(e,t){if(e)return t?`${t}/${e}`:e}function pd(e,t){if(t){let n=fd(e,t);return Z.statuses[n]}return Z.statuses[e]}function md(e,t,n){let r=fd(e.id,t);if(n?._pinned&&(e._pinned=n._pinned),Z.statuses[r]=e,e.reblog?.id){let n=fd(e.reblog.id,t);Z.statuses[n]=e.reblog,r=n}let i=e.reblog?.quote||e.quote;if(i?.id){let{id:e}=i,n=fd(e,t);Z.statuses[n]=i;let a=`/${t}/s/${e}`;Z.statusQuotes[r]=[{id:e,instance:t,url:a,native:!0}]}if(i?.state){let{quotedStatus:e,state:n}=i;if(e?.id){let{id:i,account:a}=e,o=`/${t}/s/${i}`,s=fd(i,t);Z.statuses[s]=e,Z.statusQuotes[r]=[{id:i,instance:t,url:o,state:n,account:a,native:!0}]}else Z.statusQuotes[r]=[{state:n,native:!0}]}}var hd=[],gd=!1;function _d(){gd=!1;let e=hd.splice(0);for(let{status:t,instance:n,oldStatus:r}of e)md(t,n,r)}function vd(e,t,n){hd.push({status:e,instance:t,oldStatus:n}),!gd&&(gd=!0,queueMicrotask(_d))}function yd(e,t,n){typeof t==`object`&&(n=t,t=null);let{override:r=!0,skipThreading:i=!1,skipUnfurling:a=!1,sync:o=!1}=n||{};if(!e)return;let s=pd(e.id,t);!r&&s||iu(e,s)||(o?md(e,t,s):vd(e,t,s),i||setTimeout(()=>{xd(e.reblog||e,t)},100),a||setTimeout(()=>{Cd(e.reblog||e,t)},100))}function bd(e,t){let{masto:n,instance:r}=Cl({instance:t}),i=0;async function a(e,t=0){let{inReplyToId:o,inReplyToAccountId:s}=e;if(!o||s!==e.account.id)return[e];if(o&&s!==e.account.id)throw`Not a thread`;let c=fd(o,r),l=Z.statuses[c];if(!l){if(i++>3)throw`Too many fetches for thread`;await new Promise(e=>setTimeout(e,500*i)),l=await wd(o,n),yd(l,r,{skipThreading:!0})}return[...await a(l,++t),e]}return a(e).then(e=>{e.length>1&&e.forEach((e,t)=>{let n=fd(e.id,r);Z.statusThreadNumber[n]=t+1})}).catch(e=>{})}var xd=bu(bd,100),Sd=document.createElement(`div`);function Cd(e,t){let{instance:n}=Cl(),r=e?.content;if(/<a/i.test(r)){let i=fd(e?.id,t);Sd.innerHTML=r,[...Sd.querySelectorAll(`a[href]:not(.u-url):not(.mention):not(.hashtag)`)].filter(t=>{let n=t.href;return!(n===e.url||n===e.uri)&&vu(n)}).forEach((t,r)=>{cd(n,t.href).then(t=>{t&&i&&t?.id!==e.id&&(Array.isArray(Z.statusQuotes[i])||(Z.statusQuotes[i]=[]),Z.statusQuotes[i][r]||Z.statusQuotes[i].splice(r,0,t))})})}}var wd=yu((e,t)=>t.v1.statuses.$select(e).fetch());function Td(e,t){let n=t&&t.cache?t.cache:Nd,r=t&&t.serializer?t.serializer:jd;return(t&&t.strategy?t.strategy:Ad)(e,{cache:n,serializer:r})}function Ed(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Dd(e,t,n,r){let i=Ed(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function Od(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function kd(e,t,n,r,i){return n.bind(t,e,r,i)}function Ad(e,t){let n=e.length===1?Dd:Od;return kd(e,this,n,t.cache.create(),t.serializer)}var jd=function(){return JSON.stringify(arguments)},Md=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Nd={create:function(){return new Md}};function Pd(e){return Intl.getCanonicalLocales(e)}var Fd={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`}}]}}},Id={"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),"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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`),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`.split(`.`)},Ld=/-u(?:-[0-9a-z]{2,8})+/gi;function Q(e,t,n=Error){if(!e)throw new n(t)}var Rd=838,zd;function Bd(){if(!zd){let e=Fd.supplemental.languageMatching[`written-new`][0]?.paradigmLocales?._locales.split(` `),t=Fd.supplemental.languageMatching[`written-new`].slice(1,5);zd={matches:Fd.supplemental.languageMatching[`written-new`].slice(5).map(e=>{let t=Object.keys(e)[0],n=e[t];return{supported:t,desired:n._desired,distance:+n._distance,oneway:n.oneway===`true`}},{}),matchVariables:t.reduce((e,t)=>{let n=Object.keys(t)[0],r=t[n];return e[n.slice(1)]=r._value.split(`+`),e},{}),paradigmLocales:[...e,...e.map(e=>new Intl.Locale(e.replace(/_/g,`-`)).maximize().toString())]}}return zd}function Vd(e,t,n){let[r,i,a]=t.split(`-`),o=!0;if(a&&a[0]===`$`){let t=a[1]!==`!`,r=(t?n[a.slice(1)]:n[a.slice(2)]).map(e=>Id[e]||[e]).reduce((e,t)=>[...e,...t],[]);o&&=r.indexOf(e.region||``)>-1==t}else o&&=e.region?a===`*`||a===e.region:!0;return o&&=e.script?i===`*`||i===e.script:!0,o&&=e.language?r===`*`||r===e.language:!0,o}function Hd(e){return[e.language,e.script,e.region].filter(Boolean).join(`-`)}function Ud(e,t,n){for(let r of n.matches){let i=Vd(e,r.desired,n.matchVariables)&&Vd(t,r.supported,n.matchVariables);if(!r.oneway&&!i&&(i=Vd(e,r.supported,n.matchVariables)&&Vd(t,r.desired,n.matchVariables)),i){let i=r.distance*10;return n.paradigmLocales.indexOf(Hd(e))>-1==n.paradigmLocales.indexOf(Hd(t))>-1?i:i-1}}throw Error(`No matching distance found`)}function Wd(e,t){let n=new Intl.Locale(e).maximize(),r=new Intl.Locale(t).maximize(),i={language:n.language,script:n.script||``,region:n.region||``},a={language:r.language,script:r.script||``,region:r.region||``},o=0,s=Bd();return i.language!==a.language&&(o+=Ud({language:n.language,script:``,region:``},{language:r.language,script:``,region:``},s)),i.script!==a.script&&(o+=Ud({language:n.language,script:i.script,region:``},{language:r.language,script:a.script,region:``},s)),i.region!==a.region&&(o+=Ud(i,a,s)),o}var Gd=Td(Wd,{serializer:e=>`${e[0]}|${e[1]}`});function Kd(e){let t=[],n=e;for(;n;){t.push(n);let e=n.lastIndexOf(`-`);if(e===-1)break;n=n.substring(0,e)}return t}var qd=new WeakMap;function Jd(e,t,n=Rd){let r=1/0,i={matchedDesiredLocale:``,distances:{}},a=qd.get(t);a||(a=t.map(e=>{try{return Intl.getCanonicalLocales([e])[0]||e}catch{return e}}),qd.set(t,a));let o=new Set(a);for(let t=0;t<e.length;t++){let n=e[t];if(o.has(n)){let e=0+t*40;if(i.distances[n]={[n]:e},e<r&&(r=e,i.matchedDesiredLocale=n,i.matchedSupportedLocale=n),t===0)return i}}for(let t=0;t<e.length;t++){let n=e[t];try{let e=new Intl.Locale(n).maximize().toString();if(e!==n){let a=Kd(e);for(let s=0;s<a.length;s++){let c=a[s];if(c!==n&&o.has(c)){let a;try{a=new Intl.Locale(c).maximize().toString()===e?0+t*40:s*10+t*40}catch{a=s*10+t*40}i.distances[n]||(i.distances[n]={}),i.distances[n][c]=a,a<r&&(r=a,i.matchedDesiredLocale=n,i.matchedSupportedLocale=c);break}}}}catch{}}return i.matchedSupportedLocale&&r===0?i:(r=1/0,e.forEach((e,n)=>{i.distances[e]||(i.distances[e]={}),a.forEach((a,o)=>{let s=t[o],c=Gd(e,a)+0+n*40;i.distances[e][s]=c,c<r&&(r=c,i.matchedDesiredLocale=e,i.matchedSupportedLocale=s)})}),r>=n&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0),i)}function Yd(e,t,n){let r,i,a=[],o=t.reduce((e,t)=>{let n=t.replace(Ld,``);return a.push(n),e[n]=t,e},{}),s=Jd(a,e);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(r=s.matchedSupportedLocale,i=o[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),r?{locale:r,extension:i}:{locale:n()}}function Xd(e,t){let n=t.toLowerCase();return Q(e!==void 0,`ukey must be defined`),n}function Zd(e){return Intl.getCanonicalLocales(e)[0]}function Qd(e,t,n){Q(e.indexOf(`-u-`)===-1,`Expected locale to not have a Unicode locale extension`);let r=`-u`;for(let e of t)r+=`-${e}`;for(let e of n){let{key:t,value:n}=e;r+=`-${t}`,n!==``&&(r+=`-${n}`)}if(r===`-u`)return Zd(e);let i=e.indexOf(`-x-`),a;if(i===-1)a=e+r;else{let t=e.slice(0,i),n=e.slice(i);a=t+r+n}return Zd(a)}var $d=new WeakMap;function ef(e,t){let n=$d.get(e);n||(n=new Set(e),$d.set(e,n));let r=t;for(;;){if(n.has(r))return r;let e=r.lastIndexOf(`-`);if(!~e)return;e>=2&&r[e-2]===`-`&&(e-=2),r=r.slice(0,e)}}function tf(e,t,n){let r={locale:``};for(let n of t){let t=n.replace(Ld,``),i=ef(e,t);if(i)return r.locale=i,n!==t&&(r.extension=n.slice(t.length,n.length)),r}return r.locale=n(),r}function nf(e){Q(e===e.toLowerCase(),`Expected extension to be lowercase`),Q(e.slice(0,3)===`-u-`,`Expected extension to be a Unicode locale extension`);let t=[],n=[],r,i=e.length,a=3;for(;a<i;){let o=e.indexOf(`-`,a),s;s=o===-1?i-a:o-a;let c=e.slice(a,a+s);Q(s>=2,`Expected a subtag to have at least 2 characters`),r===void 0&&s!=2?t.indexOf(c)===-1&&t.push(c):s===2?(r={key:c,value:``},n.find(e=>e.key===r?.key)===void 0&&n.push(r)):r?.value===``?r.value=c:(Q(r!==void 0,`Expected keyword to be defined`),r.value+=`-`+c),a+=s+1}return{attributes:t,keywords:n}}function rf(e,t,n,r,i,a){let o=n.localeMatcher,s;s=o===`lookup`?tf(Array.from(e),t,a):Yd(Array.from(e),t,a),s??={locale:a(),extension:``};let c=s.locale,l=i[c],u={locale:`en`,dataLocale:c},d,f;s.extension?(d=nf(s.extension),f=d.keywords):f=[];let p=[];for(let e of r){let t=l?.[e]??[];Q(Array.isArray(t),`keyLocaleData for ${e} must be an array`);let r=t[0];Q(r===void 0||typeof r==`string`,`value must be a string or undefined`);let i,a=f.find(t=>t.key===e);if(a){let n=a.value;n===``?t.indexOf(`true`)>-1&&(r=`true`,i={key:e,value:r}):t.indexOf(n)>-1&&(r=n,i={key:e,value:r})}let o=n[e];Q(o==null||typeof o==`string`,`optionsValue must be a string or undefined`),typeof o==`string`&&(o=Xd(e.toLowerCase(),o),o===``&&(o=`true`)),o!==r&&t.indexOf(o)>-1&&(r=o,i=void 0),i&&p.push(i),u[e]=r}let m=[];return p.length>0&&(m=[],c=Qd(c,m,p)),u.locale=c,u}function af(e,t){let n=[];for(let r of t){let t=ef(e,r.replace(Ld,``));t&&n.push(t)}return n}function of(e,t,n,r){return rf(t,Pd(e),{localeMatcher:r?.algorithm||`best fit`},[],{},()=>n).locale}var sf=`localeMatchCache`;function cf(...e){try{return of(...e)}catch{return e[2]||!1}}typeof window<`u`&&(window._localeMatch=cf);function lf(e){return function(...t){let n=t.map(e=>Array.isArray(e)?e.join(`,`):e).join(`|`),r;try{r=W.session.getJSON(sf)||{}}catch{return e(...t)}if(r[n])return r[n];let i=e(...t);try{r[n]=i,W.session.setJSON(sf,r)}catch{}return i}}var uf=Ac(lf(cf)),df=`modulepreload`,ff=function(e,t){return new URL(e,t).href},pf={},$=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=ff(t,n),t in pf)return;pf[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:df,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},mf=A(),hf=`sprite-icon`;function gf({children:e}){let[t,n]=F(new Set),[r,i]=F({}),a={loadIcon:B(async e=>{if(!t.has(e))try{let{ICONS:t}=await $(async()=>{let{ICONS:e}=await import(`./ICONS-BxS0OyEd.js`).then(e=>e.n);return{ICONS:e}},[],import.meta.url),r=t[e];if(!r)return;let a;a=Array.isArray(r)?r[0]:typeof r==`object`?r.module:r;let o=(await a()).default;i(t=>({...t,[e]:o})),n(t=>new Set([...t,e]))}catch{}},[t]),isIconLoaded:B(e=>t.has(e),[t]),loadedIcons:t,iconData:r};return j(mf.Provider,{value:a,children:[e,j(_f,{})]})}function _f(){let{loadedIcons:e,iconData:t}=yf();return e.size===0?null:j(`svg`,{style:{display:`none`},"aria-hidden":`true`,children:j(`defs`,{children:Array.from(e).map(e=>{let n=t[e];return n?j(vf,{iconName:e,data:n},e):null})})})}var vf=rn(function({iconName:e,data:t}){return j(`symbol`,{id:`${hf}-${e}`,viewBox:`0 0 ${t.width} ${t.height}`,dangerouslySetInnerHTML:{__html:t.body}})},(e,t)=>e.iconName===t.iconName);function yf(){let e=V(mf);if(!e)throw Error(`useIconSprite must be used within IconSpriteProvider`);return e}function bf({abrupt:e,hidden:t,...n}){return j(`span`,{...n,class:`loader-container ${e?`abrupt`:``} ${t?`hidden`:``}`,children:j(`span`,{class:`loader`})})}var xf=[{code:`ar-SA`,nativeName:`العربية`,name:`Arabic`,completion:20,listed:!1},{code:`ca-ES`,nativeName:`català`,name:`Catalan`,completion:100,listed:!0},{code:`cs-CZ`,nativeName:`čeština`,name:`Czech`,completion:66,listed:!0},{code:`de-DE`,nativeName:`Deutsch`,name:`German`,completion:91,listed:!0},{code:`eo-UY`,nativeName:`Esperanto`,name:`Esperanto`,completion:87,listed:!0},{code:`es-ES`,nativeName:`español`,name:`Spanish`,completion:100,listed:!0},{code:`eu-ES`,nativeName:`euskara`,name:`Basque`,completion:98,listed:!0},{code:`fa-IR`,nativeName:`فارسی`,name:`Persian`,completion:57,listed:!0},{code:`fi-FI`,nativeName:`suomi`,name:`Finnish`,completion:100,listed:!0},{code:`fr-FR`,nativeName:`français`,name:`French`,completion:86,listed:!0},{code:`gl-ES`,nativeName:`galego`,name:`Galician`,completion:100,listed:!0},{code:`he-IL`,nativeName:`עברית`,name:`Hebrew`,completion:36,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:84,listed:!0},{code:`ko-KR`,nativeName:`한국어`,name:`Korean`,completion:72,listed:!0},{code:`lt-LT`,nativeName:`lietuvių`,name:`Lithuanian`,completion:83,listed:!0},{code:`nb-NO`,nativeName:`norsk bokmål`,name:`Norwegian Bokmål`,completion:41,listed:!1},{code:`nl-NL`,nativeName:`Nederlands`,name:`Dutch`,completion:61,listed:!0},{code:`pl-PL`,nativeName:`polski`,name:`Polish`,completion:100,listed:!0},{code:`pt-BR`,nativeName:`português`,name:`Portuguese`,completion:100,listed:!0},{code:`pt-PT`,nativeName:`português`,name:`Portuguese`,completion:84,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:42,listed:!1},{code:`uk-UA`,nativeName:`українська`,name:`Ukrainian`,completion:97,listed:!0},{code:`zh-CN`,nativeName:`简体中文`,name:`Simplified Chinese`,completion:100,listed:!0},{code:`zh-TW`,nativeName:`繁體中文`,name:`Traditional Chinese`,completion:34,listed:!1}],Sf=xf,Cf=[`en`,...xf.filter(({listed:e})=>e).map(({code:e})=>e)],wf=Cf,Tf=[],Ef=Tf,Df=[...Cf,...Tf],Of=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})};function kf(e,t={useSessionStorage:!1}){return t.useSessionStorage?globalThis.sessionStorage.getItem(e):globalThis.localStorage.getItem(e)}function Af(e=globalThis.navigator){return e.language||e.userLanguage}function jf(e){let t=/([^=?#&]+)=?([^&]*)/g,n={},r;for(;r=t.exec(e);){let e=Mf(r[1]),t=Mf(r[2]);e===null||t===null||e in n||(n[e]=t)}return n}function Mf(e){try{return decodeURIComponent(e.replace(/\+/g,` `))}catch{return null}}function Nf(e,t=globalThis.location){if(!e)throw Error(`fromUrl parameter is required`);return jf(t.search)[e]||null}function Pf(...e){let t=[];for(let n=0;n<e.length;n++){let r=typeof e[n]==`function`?e[n]():e[n];r&&t.push(r)}return t}var Ff=/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,If=/^([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}))?$/,Lf=class e{constructor(e){if(typeof e!=`string`)throw TypeError(`A string argument is expected`);if(!If.test(e))throw RangeError(`A proper locale must be provided`);this._locale=e}static _escapeRegExpPattern(e){return typeof e==`string`?e.replace(Ff,`\\$1`):e}static _toLowerCase(e,t){return typeof e==`string`?e.toLowerCase():t&&e}static _toUpperCase(e,t){return typeof e==`string`?e.toUpperCase():t&&e}static _trim(e,t,n){let r=[],i,a=function(e){r.push(`^`+e+`+|`+e+`+$`)};if(typeof t==`boolean`&&(n=t,t=null),typeof e!=`string`)return n?e:void 0;Array.isArray(t)&&t.map(e=>{a(this._escapeRegExpPattern(e))}),typeof t==`string`&&a(this._escapeRegExpPattern(t)),t||a(`\\s`);let o=`(`+r.join(`|`)+`)`;for(i=new RegExp(o,`g`);e.match(i);)e=e.replace(i,``);return e}static _parseLocale(e){if(typeof e!=`string`)return;let t=If.exec(e),n,r,i;if(!e||!t)return;let a=this._trim(t[2],[`-`,`_`]),o=this._trim(t[3],[`-`,`_`]);return n=this._toLowerCase(t[1]),r=this._toLowerCase(a)||r,i=this._toUpperCase(o)||i,{lang:n,script:r,countryCode:i}}_isRtlLang(){let{lang:t,script:n}=e._parseLocale(this._locale);return n?e._RTL_SCRIPTS.indexOf(n)>=0:e._BIDI_RTL_LANGS.indexOf(t)>=0}getTextInfo(){return{direction:this._isRtlLang()?`rtl`:`ltr`}}};Lf._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`.split(`.`),Lf._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`.split(`.`);var Rf=s({messages:()=>zf}),zf=JSON.parse(`{"-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"]],"-_xYEI":["Switch to Side Peek view"],"-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"]}]],"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 profile’s notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile."],"0udtPI":["Only mentions"],"0whvLM":[["0","plural",{"one":["Announcement"],"other":["Announcements"]}]],"10OlfF":["Nothing to show"],"1C_9Sa":["Bookmarked"],"1DBGsz":["Notes"],"1HxK8h":["Hide Local timeline"],"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"],"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"],"4_RpOy":["Open in new window"],"4_iCqx":["Trending"],"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."],"551IUY":["Unable to remove header picture."],"570qTm":["\\"Cloud\\" import/export for shortcuts settings"],"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"],"63FG7O":["Hiding boosts"],"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"],"8Kudkr":["Shortcuts / Columns…"],"8MkSAW":["View post by <0>@",["0"],"</0>"],"8SN9kN":["Unable to mute conversation"],"8ZPzp0":["Posts tagged #",["tagged"]," by ",["accountDisplay"]],"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"],"9OzDUH":["Remove account…"],"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"],"A05Pj6":["Thread ",["index"],"/",["total"]],"A1As8l":["beta"],"A1taO8":["Search"],"A3GDG1":["Log out and remove <0>@",["0"],"</0>"],"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"],"BHjZV6":["Hiding replies"],"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\xA0as:"],"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"],"Cf1xHf":["Paginated timeline (beta)"],"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"],"Did6le":["Posts in ",["monthYear"]," by ",["accountDisplay"]],"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"],"H_MI1F":["Unable to load post."],"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>"],"KDw4GX":["Try again"],"KFs8c6":["Reply (new window)"],"KI7v-9":["Hide Federated timeline"],"KMtgtM":["Edit audio description"],"KPFHM2":["Server rule violation"],"KPoj8w":["Unable to create list."],"KS7iJH":["You're all caught up."],"K_EtE6":["Post edits"],"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"],"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!"],"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…"],"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"],"QPtB2n":["Header picture has no description. Continue?"],"Q_HUhC":["Unmute <0>@",["username"],"</0>"],"QfD1qq":["Delete this field?"],"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"]}]],"S8Y1Xb":["Keep navigation bars visible while scrolling"],"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"],"T1_8PL":["Go to Profile"],"TSbnoW":["Boosts carousel"],"T_hglb":["Replace text as blocks, useful when taking screenshots, for privacy reasons."],"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"],"Va3xJe":["Add field"],"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"],"Wk2coq":["Showing boosts"],"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"],"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"],"Z_Vnvj":["Quotes can't be embedded in private mentions."],"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…"],"_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"],"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"],"a_-arl":["Notifications settings"],"aaJhcT":["Follows"],"aavdrC":["By ",["0"]],"aforS9":["Block <0>@",["username"],"</0>?"],"agO_T_":["Expiry"],"ajzDof":["Posts: ",["0"]],"aqJggz":["Login required to see posts from this server."],"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"],"dFu2-z":["Media posts by ",["accountDisplay"]],"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"],"eJ6Y9F":["Unable to remove profile picture."],"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."],"fvc_zp":["Profile picture has no description. Continue?"],"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"],"h4JxWH":["Only followings"],"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?"],"hXzOVo":["Next"],"hYgDIe":["Create"],"he3ygx":["Copy"],"hgPsUe":["Cleared recent searches"],"hnrI5E":["Collection by <0>@",["username"],"</0>"],"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"],"jsXSTc":["Remove profile picture?"],"jtQUzv":["Switch to my server to enable interactions"],"jw0eSZ":["Your account has been disabled."],"jxxYp0":["Hide posts on this list from Home/Following"],"jyo0K2":["Hide Trending timeline"],"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"],"lYyloN":["Media posts tagged #",["tagged"]," by ",["accountDisplay"]],"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 don’t 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"],"oPwQt4":["Custom fields"],"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"],"p7M2tI":["Remove header picture?"],"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>"],"qbE_m4":["This timeline is disabled on this server."],"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"],"rYXCO0":["Manual pagination of timeline posts instead of infinite scrolling. Only works for Home/Following timeline for now. Auto refresh and boosts carousel will not work when this is enabled."],"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"]}]],"sG7QTC":["Wellbeing"],"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"]],"t2B_we":["Switch to Local"],"t7Py5R":["By default, single column for zen-mode seekers. Configurable multi-column for power users."],"t8dIOP":["Spam"],"t9yqkt":["Showing replies"],"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)"],"t_YqKh":["Remove"],"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"],"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/>"],"uvDfdW":["Multi-column"],"uyJsf6":["About"],"uzt17m":["A post you interacted with has been edited."],"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"]],"v_l5uA":["Unable to load lists."],"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>"],"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"],"x_s2_O":["Add content warning"],"xhPEH3":["Mute <0>@",["username"],"</0>…"],"xhYfVj":["Failed to generate description"],"xhiXaF":["@",["username"]," is now featured on your profile."],"xiropL":["static URL"],"xrl8fj":["Catch-up"],"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"],"y_0uwd":["Yesterday"],"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"],"yyX15r":["Remove <0>@",["0"],"</0>?"],"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>"],"zckhCq":["Profile and header pictures have no descriptions. Continue?"],"zhrMYj":["Poll must have at least 2 options"],"zhrjek":["Groups"],"zucql-":["Menu"],"zwBp5t":["Private"],"zytZXj":["Multiple choice"]}`),{PHANPY_DEFAULT_LANG:Bf}={},Vf={};De.load(`en`,zf),De.on(`change`,()=>{let e=De.locale;if(e){document.documentElement.lang=e;try{let t=new Lf(e),{direction:n}=t.getTextInfo?.()||t.textInfo;document.documentElement.dir=n}catch{}}});async function Hf(e){if(!e||e===`en`)De.activate(`en`);else try{let{messages:t}=await Of(Object.assign({"../locales/ar-SA.po":()=>$(()=>import(`./locales/ar-SA-CofdLgLv.js`),[],import.meta.url),"../locales/ca-ES.po":()=>$(()=>import(`./locales/ca-ES-BweKYb9b.js`),[],import.meta.url),"../locales/cs-CZ.po":()=>$(()=>import(`./locales/cs-CZ-CS_sm0Yz.js`),[],import.meta.url),"../locales/de-DE.po":()=>$(()=>import(`./locales/de-DE-68EwZYhB.js`),[],import.meta.url),"../locales/en.po":()=>$(()=>Promise.resolve().then(()=>Rf),void 0,import.meta.url),"../locales/eo-UY.po":()=>$(()=>import(`./locales/eo-UY-BEQuIu0a.js`),[],import.meta.url),"../locales/es-ES.po":()=>$(()=>import(`./locales/es-ES-3igxLYNt.js`),[],import.meta.url),"../locales/eu-ES.po":()=>$(()=>import(`./locales/eu-ES-r5Q5EyuO.js`),[],import.meta.url),"../locales/fa-IR.po":()=>$(()=>import(`./locales/fa-IR-Dfxg4ZHX.js`),[],import.meta.url),"../locales/fi-FI.po":()=>$(()=>import(`./locales/fi-FI-CD6mKkub.js`),[],import.meta.url),"../locales/fr-FR.po":()=>$(()=>import(`./locales/fr-FR-H4iOumDv.js`),[],import.meta.url),"../locales/gl-ES.po":()=>$(()=>import(`./locales/gl-ES-p9x7Z1Dk.js`),[],import.meta.url),"../locales/he-IL.po":()=>$(()=>import(`./locales/he-IL-yXQTdr_Y.js`),[],import.meta.url),"../locales/hu-HU.po":()=>$(()=>import(`./locales/hu-HU-DqHqGoxy.js`),[],import.meta.url),"../locales/it-IT.po":()=>$(()=>import(`./locales/it-IT-DVkWrPTs.js`),[],import.meta.url),"../locales/ja-JP.po":()=>$(()=>import(`./locales/ja-JP-Dsy7RHof.js`),[],import.meta.url),"../locales/kab.po":()=>$(()=>import(`./locales/kab-D4f7IVig.js`),[],import.meta.url),"../locales/ko-KR.po":()=>$(()=>import(`./locales/ko-KR-BuZGXzKq.js`),[],import.meta.url),"../locales/lt-LT.po":()=>$(()=>import(`./locales/lt-LT-CSr73DQ1.js`),[],import.meta.url),"../locales/nb-NO.po":()=>$(()=>import(`./locales/nb-NO-C5LlMiCl.js`),[],import.meta.url),"../locales/nl-NL.po":()=>$(()=>import(`./locales/nl-NL-BP41VSQI.js`),[],import.meta.url),"../locales/oc-FR.po":()=>$(()=>import(`./locales/oc-FR-D4TfLH82.js`),[],import.meta.url),"../locales/pl-PL.po":()=>$(()=>import(`./locales/pl-PL-B4RxIu-I.js`),[],import.meta.url),"../locales/pseudo-LOCALE.po":()=>$(()=>import(`./locales/pseudo-LOCALE-DlLKTtFe.js`),[],import.meta.url),"../locales/pt-BR.po":()=>$(()=>import(`./locales/pt-BR-eWKZkalN.js`),[],import.meta.url),"../locales/pt-PT.po":()=>$(()=>import(`./locales/pt-PT-CBE3UY0-.js`),[],import.meta.url),"../locales/ru-RU.po":()=>$(()=>import(`./locales/ru-RU-Baj02LXm.js`),[],import.meta.url),"../locales/th-TH.po":()=>$(()=>import(`./locales/th-TH-D5hys0Zi.js`),[],import.meta.url),"../locales/tok.po":()=>$(()=>import(`./locales/tok-CfDFdLJf.js`),[],import.meta.url),"../locales/tr-TR.po":()=>$(()=>import(`./locales/tr-TR-DTP8vLtx.js`),[],import.meta.url),"../locales/uk-UA.po":()=>$(()=>import(`./locales/uk-UA-3zVWutFc.js`),[],import.meta.url),"../locales/zh-CN.po":()=>$(()=>import(`./locales/zh-CN-B56i3YsP.js`),[],import.meta.url),"../locales/zh-TW.po":()=>$(()=>import(`./locales/zh-TW-DDy6Xdea.js`),[],import.meta.url)}),`../locales/${Vf[e]||e}.po`,3);De.loadAndActivate({locale:e,messages:t})}catch{De.activate(`en`)}}function Uf(){let e=Pf(Nf(`lang`),kf(`lang`),Af(),Bf,`en`);Hf(e.find(e=>Df.includes(e))||uf(e,Df))}function Wf(){return!Intl.Segmenter}var Gf=!Wf();function Kf(){if(!Gf)return $(()=>import(`./polyfill-force-Dzg0jgfd.js`),[],import.meta.url).catch(()=>{})}function qf(){return $(()=>import(`./compose-BTH2Q-AV.js`),__vite__mapDeps([0,1,2,3]),import.meta.url)}async function Jf(){try{await Kf(),qf()}catch{}}function Yf(e){let[t,n]=F(null);return I(()=>{(async()=>{try{Gf||await Kf(),n(await qf())}catch{}})()},[]),t?.default?j(t.default,{...e}):j(bf,{})}var{PHANPY_CLIENT_NAME:Xf}={PHANPY_CLIENT_NAME:`Phanpy`};function Zf(e,t){function n(){let{currentLocation:n}=Z,r=Array.isArray(t),i=r?t:[];!r&&/:?\w+\?/.test(t)&&(i.push(t.replace(/(:\w+)\?/g,`$1`)),i.push(t.replace(/\/?:\w+\?/g,``)));let a=!1;i.length?a=i.some(e=>Lr(e,n)):t&&(a=Lr(t,n)),a&&(document.title=e?`${e} / ${Xf}`:Xf)}L(()=>{let e=su(Z,`currentLocation`,n);return n(),e},[e,t])}function Qf(){let e=document.querySelector(`meta[name="viewport"]`);if(e&&(window.matchMedia(`(display-mode: standalone)`).matches||window.navigator.standalone===!0||window.matchMedia(`(display-mode: window-controls-overlay)`).matches)){let t=e.getAttribute(`content`);t.includes(`user-scalable=no`)||e.setAttribute(`content`,t+`, user-scalable=no`)}}function $f(){document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,Qf):Qf()}export{Jc as $,O as $t,yu as A,ln as At,q as B,R as Bt,Z as C,Lr as Ct,td as D,xn as Dt,cd as E,ar as Et,Cl as F,Kn as Ft,rl as G,Ft as Gt,Sl as H,z as Ht,yl as I,qt as It,Fc as J,I as Jt,Rc as K,B as Kt,gl as L,Jn as Lt,su as M,mn as Mt,iu as N,Gn as Nt,$u as O,sn as Ot,au as P,Ln as Pt,Uc as Q,gt as Qt,xl as R,Hn as Rt,yd as S,gi as St,xd as T,sr as Tt,bl as U,L as Ut,_l as V,It as Vt,W,F as Wt,Wc as X,k as Xt,cl as Y,j as Yt,Kc as Z,Je as Zt,af as _,Oi as _t,Hf as a,o as an,al as at,dd as b,mi as bt,Sf as c,l as cn,sl as ct,bf as d,Ja as dt,vt as en,Qc as et,hf as f,Fa as ft,uf as g,Vi as gt,$ as h,Ri as ht,Jf as i,De as in,Vc as it,vu as j,rn as jt,Ou as k,tn as kt,Ef as l,Xc as lt,yf as m,Na as mt,Zf as n,D as nn,el as nt,Uf as o,s as on,Ic as ot,gf as p,Aa as pt,zc as q,V as qt,Yf as r,T as rn,il as rt,Rf as s,u as sn,Gc as st,$f as t,A as tn,nl as tt,wf as u,Ac as ut,rf as v,ki as vt,fd as w,or as wt,ud as x,hi as xt,pd as y,ji as yt,vl as z,gn as zt};
|
||
//# sourceMappingURL=pwa-viewport-D2m4FCVR.js.map
|