diff --git a/assets/index-BOj1h7LE.js b/assets/index-VKpFlB8X.js similarity index 95% rename from assets/index-BOj1h7LE.js rename to assets/index-VKpFlB8X.js index 32702cf..a55c357 100644 --- a/assets/index-BOj1h7LE.js +++ b/assets/index-VKpFlB8X.js @@ -549,28 +549,28 @@ function `+e.name+`(tokenVocabulary, config) { `+i.message+`! ->`+i.context.ruleStack.join(` ->`))}return eAe(r.tokens,r.groups.comments,vi.mostEnclosiveCstNodeByStartOffset,vi.mostEnclosiveCstNodeByEndOffset),n}var nU={parse:iAe,BaseJavaCstVisitor:rAe,BaseJavaCstVisitorWithDefaults:nAe},ef={},ZP;function aAe(){if(ZP)return ef;ZP=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.EnumCollector=void 0;const e=nU,t=ns();let r=class extends e.BaseJavaCstVisitorWithDefaults{constructor(i){super(),this.parserResult=[],this.enumName=i,this.validateVisitor()}argumentList(i){return i.expression.map(a=>this.visit(a))}binaryExpression(i){return this.visit(i.unaryExpression)}booleanLiteral(i){return!!i.True}classBodyDeclaration(i,a){var o;return a?this.visit((o=i.constructorDeclaration)!==null&&o!==void 0?o:[]):super.classBodyDeclaration(i)}constructorDeclaration(i){return this.visit(i.constructorDeclarator)}constructorDeclarator(i){var a;return this.visit((a=i.formalParameterList)!==null&&a!==void 0?a:[])}enumDeclaration(i){this.visit(i.typeIdentifier)===this.enumName&&(this.parserResult=this.visit(i.enumBody))}enumBody(i){var a,o;const s=this.visit((a=i.enumBodyDeclarations)!==null&&a!==void 0?a:[]);return this.visit((o=i.enumConstantList)!==null&&o!==void 0?o:[]).map(({name:l,values:c})=>{var f;const d=(f=s.find(p=>p.length===c.length))!==null&&f!==void 0?f:s[0];return Object.fromEntries([["enumName",l],...(0,t.zip)(d,c)])})}enumBodyDeclarations(i){var a,o;return((o=(a=i.classBodyDeclaration)===null||a===void 0?void 0:a.filter(s=>s.children.constructorDeclaration))!==null&&o!==void 0?o:[]).map(s=>this.visit(s,!0))}enumConstantList(i){return i.enumConstant.map(a=>this.visit(a))}enumConstant(i){return{name:i.Identifier[0].image,values:i.argumentList?this.visit(i.argumentList):[]}}expression(i){var a;return this.visit((a=i.ternaryExpression)!==null&&a!==void 0?a:[])}formalParameterList(i){return i.formalParameter.map(a=>this.visit(a))}formalParameter(i){var a;return this.visit((a=i.variableParaRegularParameter)!==null&&a!==void 0?a:[])}fqnOrRefType(i){return i.fqnOrRefTypePartRest?this.visit(i.fqnOrRefTypePartRest):this.visit(i.fqnOrRefTypePartFirst)}fqnOrRefTypePartCommon(i){var a;return(a=i.Identifier)===null||a===void 0?void 0:a[0].image}fqnOrRefTypePartFirst(i){return this.visit(i.fqnOrRefTypePartCommon)}fqnOrRefTypePartRest(i){return this.visit(i.fqnOrRefTypePartCommon)}integerLiteral(i){if(i.BinaryLiteral)return parseInt(i.BinaryLiteral[0].image,2);if(i.OctalLiteral)return parseInt(i.OctalLiteral[0].image,8);if(i.DecimalLiteral)return parseInt(i.DecimalLiteral[0].image,10);if(i.HexLiteral)return parseInt(i.HexLiteral[0].image,16)}literal(i){if(i.StringLiteral){const a=i.StringLiteral[0].image;return a.substring(1,a.length-1)}if(i.booleanLiteral)return this.visit(i.booleanLiteral);if(i.integerLiteral)return this.visit(i.integerLiteral);if(i.Null)return null}primary(i){return this.visit(i.primaryPrefix)}primaryPrefix(i){if(i.literal)return this.visit(i.literal);if(i.fqnOrRefType)return this.visit(i.fqnOrRefType)}ternaryExpression(i){return this.visit(i.binaryExpression)}typeIdentifier(i){return i.Identifier[0].image}unaryExpression(i){var a;const o=((a=i.UnaryPrefixOperator)===null||a===void 0?void 0:a[0].image)==="-",s=this.visit(i.primary);return o?-1*s:s}variableParaRegularParameter(i){return this.visit(i.variableDeclaratorId)}variableDeclaratorId(i){return i.Identifier[0].image}};return ef.EnumCollector=r,ef}var QP;function ns(){if(QP)return Ur;QP=1;var e=Ne&&Ne.__awaiter||function(d,p,m,h){function v(y){return y instanceof m?y:new m(function(g){g(y)})}return new(m||(m=Promise))(function(y,g){function b(E){try{x(h.next(E))}catch(w){g(w)}}function S(E){try{x(h.throw(E))}catch(w){g(w)}}function x(E){E.done?y(E.value):v(E.value).then(b,S)}x((h=h.apply(d,p||[])).next())})};Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.zip=Ur.isMemberOfEnum=Ur.arrayOf=Ur.tuple=Ur.loadMafiaEnum=Ur.loadMafiaData=void 0;const t=nU,r=aAe(),n="https://raw.githubusercontent.com/kolmafia/kolmafia/main/src";function i(d,p){var m;return e(this,void 0,void 0,function*(){if(p<=0)return!1;const h=yield fetch(d,{method:"HEAD"});if(Number((m=h.headers.get("Content-Length"))!==null&&m!==void 0?m:1)===p)return!0})}function a(d,p,m){return e(this,void 0,void 0,function*(){if(yield i(d,p))return null;const h=yield fetch(d),v=yield h.text();return{data:m(v),size:Number(h.headers.get("Content-Length"))}})}function o(d,p=0){return e(this,void 0,void 0,function*(){const m=`${n}/data/${d}.txt`;return yield a(m,p,h=>h.split(` -`).slice(1).filter(v=>v!==""&&!v.startsWith("#")).map(v=>v.split(" ")))})}Ur.loadMafiaData=o;function s(d,p=0,m){return e(this,void 0,void 0,function*(){const h=d.split("."),v=`${n}/${h.join("/")}.java`;return yield a(v,p,y=>{const g=(0,t.parse)(y),b=new r.EnumCollector(m||h[h.length-1]);return b.visit(g),b.parserResult})})}Ur.loadMafiaEnum=s;const u=d=>d;Ur.tuple=u;const l=d=>Array.isArray(d)?d:[d];Ur.arrayOf=l;const c=d=>p=>Object.values(d).includes(p);Ur.isMemberOfEnum=c;function f(...d){const p=Math.max(...d.map(m=>m.length));return Array.from({length:p}).map((m,h)=>Array.from({length:d.length},(v,y)=>d[y][h]))}return Ur.zip=f,Ur}var oAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Dy,"__esModule",{value:!0});Dy.loadClasses=void 0;const sAe=ns(),uAe={image:null,primeStatIndex:-1,path:null,stun:null,stomachCapacity:null,liverCapacity:null,spleenCapacity:null};function lAe(e=0){return oAe(this,void 0,void 0,function*(){const t=yield(0,sAe.loadMafiaEnum)("net.sourceforge.kolmafia.AscensionClass",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.map(r=>Object.assign(Object.assign({},uAe),r))})})}Dy.loadClasses=lAe;var $l={},cAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty($l,"__esModule",{value:!0});$l.loadEffects=$l.EffectQuality=void 0;const iU=ns();var O0;(function(e){e.Good="good",e.Neutral="neutral",e.Bad="bad"})(O0||($l.EffectQuality=O0={}));const fAe=(0,iU.isMemberOfEnum)(O0),dAe=e=>{var t,r,n,i;return{id:Number(e[0]),name:e[1],image:e[2],descid:e[3],quality:fAe(e[4])?e[4]:O0.Neutral,attributes:(r=(t=e[5])===null||t===void 0?void 0:t.split(",").map(a=>a.trim()).filter(a=>a!=="none"))!==null&&r!==void 0?r:[],actions:(i=(n=e[6])===null||n===void 0?void 0:n.split("|"))!==null&&i!==void 0?i:[]}};function pAe(e=0){return cAe(this,void 0,void 0,function*(){const t=yield(0,iU.loadMafiaData)("statuseffects",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(dAe)})})}$l.loadEffects=pAe;var No={},hAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(No,"__esModule",{value:!0});No.loadFamiliars=No.isFamiliarOwnable=No.FamiliarCategory=void 0;const aU=ns();var Vx;(function(e){e.Stat0="stat0",e.Stat1="stat1",e.Item0="item0",e.Item1="item1",e.Item2="item2",e.Item3="item3",e.Meat0="meat0",e.Combat0="combat0",e.Combat1="combat1",e.Drop="drop",e.Block="block",e.Delevel="delevel",e.Hp0="hp0",e.Mp0="mp0",e.Meat1="meat1",e.Stat2="stat2",e.Other0="other0",e.Hp1="hp1",e.Mp1="mp1",e.Stat3="stat3",e.Other1="other1",e.Passive="passive",e.Underwater="underwater",e.Variable="variable"})(Vx||(No.FamiliarCategory=Vx={}));const mAe=(0,aU.isMemberOfEnum)(Vx),gAe=({id:e})=>!(e>=125&&e<134||e>=215&&e<260);No.isFamiliarOwnable=gAe;const vAe=e=>{var t,r;return{id:Number(e[0]),name:e[1],image:e[2],categories:e[3].split(",").map(n=>n.trim()).filter(mAe),larva:e[4],equipment:e[5]||null,arenaStats:{cageMatch:Number(e[6]),scavengerHunt:Number(e[7]),obstacleCourse:Number(e[8]),hideAndSeek:Number(e[9])},attributes:(r=(t=e[10])===null||t===void 0?void 0:t.split(","))!==null&&r!==void 0?r:[]}};function yAe(e=0){return hAe(this,void 0,void 0,function*(){const t=yield(0,aU.loadMafiaData)("familiars",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(vAe)})})}No.loadFamiliars=yAe;var Yl={},bAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.loadItems=Yl.ItemUse=void 0;const oU=ns();var qx;(function(e){e.Food="food",e.Drink="drink",e.Spleen="spleen",e.Potion="potion",e.Avatar="avatar",e.Usable="usable",e.Multiple="multiple",e.Reusable="reusable",e.Message="message",e.Grow="grow",e.PokePill="pokepill",e.Hat="hat",e.Weapon="weapon",e.Sixgun="sixgun",e.Offhand="offhand",e.Container="container",e.Shirt="shirt",e.Pants="pants",e.Accessory="accessory",e.Familiar="familiar",e.Sticker="sticker",e.Card="card",e.Folder="folder",e.Bootspur="bootspur",e.Bootskin="bootskin",e.FoodHelper="food helper",e.DrinkHelper="drink helper",e.Zap="zap",e.Sphere="sphere",e.Guardian="guardian",e.Combat="combat",e.CombatReusable="combat reusable",e.Single="single",e.Solo="solo",e.Curse="curse",e.Bounty="bounty",e.Package="package",e.Candy="candy",e.Candy1="candy1",e.Candy2="candy2",e.Chocolate="chocolate",e.Fancy="fancy",e.Paste="paste",e.Smith="smith",e.Cook="cook",e.Mix="mix",e.Matchable="matchable"})(qx||(Yl.ItemUse=qx={}));const SAe=(0,oU.isMemberOfEnum)(qx),xAe=e=>{const t=e.split(",").map(r=>r.trim());return{quest:t.includes("q"),gift:t.includes("g"),tradeable:t.includes("t"),discardable:t.includes("d")}},EAe=e=>Object.assign(Object.assign({id:Number(e[0]),name:e[1],descid:e[2],image:e[3],uses:e[4].split(", ").filter(SAe)},xAe(e[5])),{autosell:Number(e[6]),plural:e[7]});function AAe(e=0){return bAe(this,void 0,void 0,function*(){const t=yield(0,oU.loadMafiaData)("items",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(EAe)})})}Yl.loadItems=AAe;var Jy={},wAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Jy,"__esModule",{value:!0});Jy.loadOutfits=void 0;const CAe=ns(),TAe=(e="")=>e.trim().split(", "),OAe=(e="")=>e.trim().split(", ").filter(t=>t!=="none").map(t=>{const r=t.match(/^(.*?) \((\d*\.?\d+)\)$/);return r?{item:r[1],chance:Number(r[2])}:{item:t,chance:1}}),_Ae=e=>{var t,r;return{id:Number(e[0]),name:e[1],image:e[2],equipment:TAe((t=e[3])!==null&&t!==void 0?t:""),treats:OAe(e[0]==="80"?"double-ice gum":(r=e[4])!==null&&r!==void 0?r:"")}};function kAe(e=0){return wAe(this,void 0,void 0,function*(){const t=yield(0,CAe.loadMafiaData)("outfits",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(_Ae)})})}Jy.loadOutfits=kAe;var e1={},PAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(e1,"__esModule",{value:!0});e1.loadPaths=void 0;const DAe=ns(),RAe={pointsPreference:null,maximumPoints:0,bucket:!1,stomachCapacity:15,liverCapacity:14,spleenCapacity:15};function LAe(e=0){return PAe(this,void 0,void 0,function*(){const t=yield(0,DAe.loadMafiaEnum)("net.sourceforge.kolmafia.AscensionPath",e,"Path");return t===null?null:Object.assign(Object.assign({},t),{data:t.data.map(r=>Object.assign(Object.assign({},RAe),r))})})}e1.loadPaths=LAe;var Qi={},NAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.loadSkills=Qi.isSkillPermable=Qi.getMaxSkillLevel=Qi.SkillCategory=void 0;const sU=ns();var _0;(function(e){e[e.Passive=0]="Passive",e[e.NoncombatItemSummon=1]="NoncombatItemSummon",e[e.NoncombatHealing=2]="NoncombatHealing",e[e.NoncombatNonShruggableEffect=3]="NoncombatNonShruggableEffect",e[e.NoncombatShruggableEffect=4]="NoncombatShruggableEffect",e[e.Combat=5]="Combat",e[e.OneAtATimeNoncombatSong=6]="OneAtATimeNoncombatSong",e[e.CombatNoncombatHealing=7]="CombatNoncombatHealing",e[e.CombatPassive=8]="CombatPassive",e[e.OneAtATimeNoncombatExpression=9]="OneAtATimeNoncombatExpression",e[e.OneAtATimeNoncombatWalk=10]="OneAtATimeNoncombatWalk",e[e.NoncombatHealingPassive=11]="NoncombatHealingPassive"})(_0||(Qi.SkillCategory=_0={}));const MAe=(0,sU.isMemberOfEnum)(_0),IAe=({id:e})=>{switch(e){case 46:return 10;case 47:return 10;case 48:return 10;case 107:return 9;case 117:return 11;case 188:return 13;case 118:return 7;case 121:return 6;case 128:return 6;case 134:return 6;case 135:return 2;case 144:return 5;case 180:return 4;case 7254:return 3;default:return 0}};Qi.getMaxSkillLevel=IAe;const BAe=({id:e})=>{if(e<10||e>20&&e<=27||e>63&&e<=73||e>7175&&e<7181)return!1;switch(e){case 91:case 116:return!1;case 49:case 50:case 51:case 52:case 3024:return!1;case 6019:return!1;case 17047:return!0;case 156:return!1;case 174:return!1;case 218:case 219:case 220:return!1;case 222:return!1;case 7254:return!0}switch(Math.floor(e/1e3)){case 7:case 8:case 11:case 12:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:case 28:case 29:case 30:return!1}return!0};Qi.isSkillPermable=BAe;const UAe=e=>({id:Number(e[0]),name:e[1],image:e[2],category:MAe(Number(e[3]))?Number(e[3]):_0.Passive,mpCost:Number(e[4]),duration:Number(e[5]),level:e[6]?Number(e[6]):0});function FAe(e=0){return NAe(this,void 0,void 0,function*(){const t=yield(0,sU.loadMafiaData)("classskills",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(UAe)})})}Qi.loadSkills=FAe;(function(e){var t=Ne&&Ne.__createBinding||(Object.create?function(n,i,a,o){o===void 0&&(o=a);var s=Object.getOwnPropertyDescriptor(i,a);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(n,o,s)}:function(n,i,a,o){o===void 0&&(o=a),n[o]=i[a]}),r=Ne&&Ne.__exportStar||function(n,i){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(Dy,e),r($l,e),r(No,e),r(Yl,e),r(Jy,e),r(e1,e),r(Qi,e)})(la);const jAe={crush:(e,t=50)=>{const r="",n=(u,l)=>{let c=l.length,f="";const d=h=>encodeURI(encodeURIComponent(h)).replace(/%../g,"i").length,p=h=>{let v=h.charCodeAt(0),y=h.charCodeAt(h.length-1);return v>=56320&&v<=57343||y>=55296&&y<=56319};let m={};for(let h=2;h=0;++g)b=u.indexOf(y,b+h);g>1&&(m[y]=g)}for(;;){for(;c--&&u.includes(l[c]););if(c<0)break;let h=l[c],v,y=0,g=d(h);for(let S in m){let x=m[S],E=(x-1)*d(S)-(x+1)*g;f.length||(E-=d(r)),E<=0?delete m[S]:E>y&&(v=S,y=E)}if(!v)break;u=u.split(v).join(h)+h+v,f=h+f;let b={};for(let S in m){let x=S.split(v).join(h),E=0;for(let w=u.indexOf(x);w>=0;++E)w=u.indexOf(x,w+x.length);E>1&&(b[x]=E)}m=b}return{a:u,b:f}};let i=[];const a="-_.!~*'()";for(let u=127;--u;)(u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a.includes(String.fromCharCode(u)))&&i.push(String.fromCharCode(u));for(let u=32;u<255;++u){let l=String.fromCharCode(u);l!="\\"&&!i.includes(l)&&i.unshift(l)}e=e.replace(new RegExp(r,"g"),""),e=JP(e);const o=n(e,i);let s=o.a;return o.b.length&&(s+=r+o.b),s+="_",s},uncrush:e=>{e=e.substring(0,e.length-1);const t=e.split("");let r=t[0];if(t.length>1){let n=t[1];for(let i of n){let a=r.split(i);r=a.join(a.pop())}}return JP(r,0)}},JP=(e,t=1)=>{const r=[['"',"'"],["':","!"],[",'","~"],["}",")","\\","\\"],["{","(","\\","\\"]],n=(i,a)=>{let o=new RegExp(`${(a[2]?a[2]:"")+a[0]}|${(a[3]?a[3]:"")+a[1]}`,"g");return i.replace(o,s=>s===a[0]?a[1]:a[0])};if(t)for(let i=0;ie,Hd=e=>Array.isArray(e)?e:[e];var lu=(e=>(e[e.NONE=0]="NONE",e[e.HATCHLING=1]="HATCHLING",e[e.TERRARIUM=2]="TERRARIUM",e))(lu||{});const zAe=(e="")=>{let t=0;const r=[];for(const n of e){if(n==="*"&&r.length>0){r[r.length-1][2]=!0;continue}r.push(Wd([++t,Number(n),!1]))}return r},Wx=[{id:894,month:10,year:2004,type:"familiar",familiar:"Jill-O-Lantern"},{id:914,month:11,year:2004,type:"familiar",familiar:"Hand Turkey"},{id:924,month:12,year:2004,type:"familiar",familiar:"Crimbo Elf"},{id:954,month:1,year:2005,type:"familiar",familiar:"Baby Yeti"},{id:961,month:2,year:2005,type:"familiar",familiar:"Feather Boa Constrictor"},{id:1040,month:3,year:2005,type:"item",item:"lucky Tam O'Shanter"},{id:1083,month:4,year:2005,type:"familiar",familiar:"Personal Raincloud"},{id:1152,month:5,year:2005,type:"item",item:"miniature gravy-covered maypole"},{id:1242,month:6,year:2005,type:"familiar",familiar:"inflatable dodecapede"},{id:1260,month:7,year:2005,type:"item",item:"wax lips"},{id:1263,month:8,year:2005,type:"familiar",familiar:"Pygmy Bugbear Shaman"},{id:1291,month:9,year:2005,type:"item",item:"Jekyllin hide belt"},{id:1304,month:10,year:2005,type:"familiar",familiar:"Doppelshifter"},{id:1349,month:11,year:2005,type:"familiar",familiar:"Temporal Riftlet"},{id:1373,month:12,year:2005,type:"familiar",familiar:"Sweet Nutcracker"},{id:1411,month:1,year:2006,type:"skill",skill:"Summon Snowcones"},{id:1423,month:2,year:2006,type:"item",item:["iceberglet","ice baby"]},{id:1488,month:3,year:2006,type:"familiar",familiar:"Wild Hare"},{id:1498,month:4,year:2006,type:"skill",skill:"Summon Hilarious Objects"},{id:1536,month:5,year:2006,type:"familiar",familiar:"Spirit Hobo"},{id:1621,month:6,year:2006,type:"familiar",familiar:"Astral Badger"},{id:1653,month:7,year:2006,type:"item",item:"jewel-eyed wizard hat"},{id:1703,month:8,year:2006,type:"familiar",familiar:"Comma Chameleon"},{id:1792,month:9,year:2006,type:"item",item:"Travoltan trousers"},{id:1971,month:10,year:2006,type:"item",item:"plastic pumpkin bucket"},{id:2090,month:11,year:200,type:"item",item:"pilgrim shield"},{id:2190,month:12,year:2006,type:"familiar",familiar:"Ancient Yuletide Troll"},{id:2221,month:1,year:2007,type:"item",item:["Great Ball of Frozen Fire","liar's pants"]},{id:2303,month:2,year:2007,type:"skill",skill:"Summon Candy Heart"},{id:2380,month:3,year:2007,type:"familiar",familiar:"Dandy Lion"},{id:2447,month:4,year:2007,type:"familiar",familiar:"Penguin Goodfella"},{id:2541,month:5,year:2007,type:"item",item:"Mayflower bouquet"},{id:2650,month:6,year:2007,type:"familiar",familiar:"Green Pixie"},{id:2834,month:7,year:2007,type:"item",item:"bottle-rocket crossbow"},{id:2836,month:8,year:2007,type:"familiar",familiar:"Wizard Action Figure"},{id:2844,month:9,year:2007,type:"item",item:"navel ring of navel gazing"},{id:2845,month:10,year:2007,type:"familiar",familiar:"Gluttonous Green Ghost"},{id:2946,month:11,year:2007,type:"item",item:"V for Vivala Mask"},{id:3042,month:12,year:2007,type:"familiar",familiar:"Crimbo P. R. E. S. S. I. E."},{id:3117,month:1,year:2008,type:"skill",skill:"Summon Party Favor"},{id:3192,month:2,year:2008,type:"item",item:["naughty origami kit","origami pasties"]},{id:3219,month:3,year:2008,type:"familiar",familiar:"Mad Hatrack"},{id:3263,month:4,year:2008,type:"skill",skill:"Summon Tasteful Items"},{id:3321,month:5,year:2008,type:"item",item:"mayfly bait necklace"},{id:3351,month:6,year:2008,type:"familiar",familiar:"Llama Lama"},{id:3421,month:7,year:2008,type:"item",item:"little box of fireworks"},{id:3431,month:8,year:2008,type:"familiar",familiar:"Cotton Candy Carnie"},{id:3466,month:9,year:2008,type:"item",item:"haiku katana"},{id:3434,month:10,year:2008,type:"familiar",familiar:"Disembodied Hand"},{id:3507,month:11,year:2008,type:"skill",skill:"Summon Stickers"},{id:3578,month:12,year:2008,type:"familiar",familiar:"Sugar Fruit Fairy"},{id:3661,month:1,year:2009,type:"item",item:["container of Spooky Putty","spooky putty monster","Spooky Putty sheet"]},{id:3753,month:2,year:2009,type:"skill",skill:"Summon Love Song"},{id:3799,month:3,year:2009,type:"familiar",familiar:"Frumious Bandersnatch"},{id:3836,month:4,year:2009,type:"item",item:"elvish sunglasses"},{id:3963,month:5,year:2009,type:"vip"},{id:3999,month:6,year:2009,type:"familiar",familiar:"Baby Sandworm"},{id:4136,month:7,year:2009,type:"item",item:"Bag o' Tricks"},{id:4148,month:8,year:2009,type:"familiar",familiar:"He-Boulder"},{id:4177,month:9,year:2009,type:"skill",skill:"Summon Sugar Sheets"},{id:4223,month:10,year:2009,type:"familiar",familiar:"Squamous Gibberer"},{id:4135,month:11,year:2009,type:"item",item:"moveable feast"},{id:4328,month:12,year:2009,type:"familiar",familiar:"Stocking Mimic"},{id:4398,month:1,year:2010,type:"item",item:["stinky cheese ball","stinky cheese eye"]},{id:4468,month:2,year:2010,type:"skill",skill:"Summon BRICKOs"},{id:4507,month:3,year:2010,type:"vip"},{id:4574,month:4,year:2010,type:"familiar",familiar:"Baby Bugged Bugbear"},{id:4614,month:5,year:2010,type:"item",item:"Crown of Thrones"},{id:4619,month:6,year:2010,type:"familiar",familiar:"Rogue Program"},{id:4644,month:7,year:2010,type:"item",item:"Juju Mojo Mask"},{id:4648,month:8,year:2010,type:"familiar",familiar:"Mini-Hipster"},{id:4696,month:9,year:2010,type:"item",item:"Greatest American Pants"},{id:4720,month:10,year:2010,type:"familiar",familiar:"organ grinder"},{id:4759,month:11,year:2010,type:"campground",item:"packet of pumpkin seeds"},{id:4827,month:12,year:2010,type:"familiar",familiar:"Robot Reindeer"},{id:4908,month:1,year:2011,type:"item",item:"Loathing Legion Knife"},{id:4937,month:2,year:2011,type:"familiar",familiar:"Obtuse Angel"},{id:4965,month:3,year:2011,type:"skill",skill:"Summon Alice's Army Cards"},{id:5047,month:4,year:2011,type:"vip"},{id:5112,month:5,year:2011,type:"eudora",eudoraId:1},{id:5164,month:6,year:2011,type:"familiar",familiar:"Li'l Xenomorph"},{id:5190,month:7,year:2011,type:"item",item:"Operation Patriot Shield"},{id:4536,month:8,year:2011,type:"familiar",familiar:"Pair of Stomping Boots"},{id:5223,month:9,year:2011,type:"skill",skill:"Summon Clip Art"},{id:5301,month:10,year:2011,type:"item",item:"plastic vampire fangs"},{id:5371,month:11,year:2011,type:"familiar",familiar:"Fancypants Scarecrow"},{id:5403,month:12,year:2011,type:"campground",item:"Peppermint Pip Packet"},{id:5463,month:1,year:2012,type:"skill",skill:"Summon Resolutions"},{id:5553,month:2,year:2012,type:"item",item:["can of Rain-Doh","empty Rain-Doh can"]},{id:5639,month:3,year:2012,type:"familiar",familiar:"Happy Medium"},{id:5648,month:4,year:2012,type:"item",item:"Boris's Helm"},{id:5662,month:5,year:2012,type:"vip"},{id:5701,month:6,year:2012,type:"familiar",familiar:"Artistic Goth Kid"},{id:5738,month:7,year:2012,type:"item",item:"Camp Scout backpack"},{id:5767,month:8,year:2012,type:"familiar",familiar:"Reagnimated Gnome"},{id:5790,month:9,year:2012,type:"custom"},{id:5879,month:10,year:2012,type:"campground",item:"packet of dragon's teeth"},{id:5910,month:11,year:2012,type:"familiar",familiar:"Nanorhino"},{id:6071,month:12,year:2012,type:"skill",skill:"Summon Geeky Gifts"},{id:6150,month:1,year:2013,type:"item",item:"Snow Suit"},{id:4712,month:2,year:2013,type:"eudora",eudoraId:2},{id:6305,month:3,year:2013,type:"item",item:"Jarlsberg's Pan"},{id:6360,month:4,year:2013,type:"skill",skill:"Summon Taffy"},{id:6413,month:5,year:2013,type:"preference",preference:"ownsFloristFriar"},{id:6561,month:6,year:2013,type:"familiar",familiar:"Mini-Adventurer"},{id:6582,month:7,year:2013,type:"vip"},{id:4930,month:8,year:2013,type:"item",item:"over-the-shoulder Folder Holder"},{id:6411,month:9,year:2013,type:"familiar",familiar:"Steam-Powered Cheerleader"},{id:6784,month:10,year:2013,type:"familiar",familiar:"Reanimated Reanimator"},{id:6860,month:11,year:2013,type:"item",item:"Pantsgiving"},{id:7003,month:12,year:2013,type:"skill",skill:"Summon Smithsness"},{id:7069,month:1,year:2014,type:"campground",item:"packet of winter seeds"},{id:7200,month:2,year:2014,type:"item",item:"Buddy Bjorn"},{id:7250,month:3,year:2014,type:"item",item:"Sneaky Pete's leather jacket"},{id:7382,month:4,year:2014,type:"campground",item:"Little Geneticist DNA-Splicing Lab"},{id:7466,month:5,year:2014,type:"preference",preference:"sleazeAirportAlways"},{id:7312,month:6,year:2014,type:"familiar",familiar:"Galloping Grill"},{id:7588,month:7,year:2014,type:"vip"},{id:7706,month:8,year:2014,type:"skill",skill:"Summon Confiscated Things"},{id:7709,month:9,year:2014,type:"item",item:"Thor's Pliers"},{id:7767,month:10,year:2014,type:"preference",preference:"spookyAirportAlways"},{id:7920,month:11,year:2014,type:"familiar",familiar:"fist turkey"},{id:7956,month:12,year:2014,type:"familiar",familiar:"Crimbo Shrub"},{id:8019,month:1,year:2015,type:"preference",preference:"chateauAvailable"},{id:8134,month:2,year:2015,type:"preference",preference:"lovebugsUnlocked"},{id:8184,month:3,year:2015,type:"item",item:"The Crown of Ed the Undying"},{id:8203,month:4,year:2015,type:"preference",preference:"stenchAirportAlways"},{id:8260,month:5,year:2015,type:"campground",item:"portable Mayo Clinic"},{id:8287,month:6,year:2015,type:"familiar",familiar:["Puck Man","Ms Puck Man"]},{id:8381,month:7,year:2015,type:"item",item:"Deck of Every Card"},{id:8487,month:8,year:2015,type:"preference",preference:"hotAirportAlways"},{id:8564,month:9,year:2015,type:"preference",preference:"barrelShrineUnlocked"},{id:8639,month:10,year:2015,type:"campground"},{id:8674,month:11,year:2015,type:"preference",preference:"coldAirportAlways"},{id:8706,month:12,year:2015,type:"familiar",familiar:"Machine Elf"},{id:8705,month:1,year:2016,type:"preference",preference:"snojoAvailable"},{id:8836,month:2,year:2016,type:"preference",preference:"telegraphOfficeAvailable"},{id:8989,month:3,year:2016,type:"campground"},{id:9e3,month:4,year:2016,type:"vip"},{id:9016,month:5,year:2016,type:"familiar",familiar:"intergnat"},{id:9033,month:6,year:2016,type:"campground"},{id:9073,month:7,year:2016,type:"preference",preference:"hasDetectiveSchool"},{id:9081,month:8,year:2016,type:"item",item:"protonic accelerator pack"},{id:9103,month:9,year:2016,type:"item",item:"Time-Spinner"},{id:9136,month:10,year:2016,type:"familiar",familiar:"Trick-or-Treating Tot"},{id:9189,month:11,year:2016,type:"campground",item:"packet of thanksgarden seeds"},{id:9203,month:12,year:2016,type:"preference",preference:"gingerbreadCityAvailable"},{id:9296,month:1,year:2017,type:"familiar",familiar:"Space Jellyfish"},{id:9316,month:2,year:2017,type:"preference",preference:"loveTunnelAvailable"},{id:9401,month:3,year:2017,type:"familiar",familiar:"Robortender"},{id:9404,month:4,year:2017,type:"preference",preference:"spacegateAlways"},{id:9478,month:5,year:2017,type:"eudora",eudoraId:4},{id:9492,month:6,year:2017,type:"item",item:"Kremlin's Greatest Briefcase"},{id:9507,month:7,year:2017,type:"campground",item:"Asdon Martin keyfob"},{id:9511,month:8,year:2017,type:"skill",skill:"Meteor Lore"},{id:9528,month:9,year:2017,type:"item",item:"genie bottle"},{id:9541,month:10,year:2017,type:"familiar",familiar:"XO Skeleton"},{id:9572,month:11,year:2017,type:"item",item:"portable pantogram"},{id:9591,month:12,year:2017,type:"item",item:"mumming trunk"},{id:9689,month:1,year:2018,type:"item",item:"January's Garbage Tote"},{id:9712,month:2,year:2018,type:"vip"},{id:9759,month:3,year:2018,type:"campground",item:"packet of tall grass seeds"},{id:9835,month:4,year:2018,type:"preference",preference:"frAlways"},{id:9661,month:5,year:2018,type:"familiar",familiar:"God Lobster"},{id:9920,month:6,year:2018,type:"item",item:"SongBoom™ BoomBox"},{id:9939,month:7,year:2018,type:"familiar",familiar:"Cat Burglar"},{id:9927,month:8,year:2018,type:"item",item:"Bastille Battalion control rig"},{id:9942,month:9,year:2018,type:"preference",preference:"neverendingPartyAlways"},{id:9988,month:10,year:2018,type:"item",item:"latte lovers member's mug"},{id:9989,month:11,year:2018,type:"preference",preference:"voteAlways"},{id:10049,month:12,year:2018,type:"preference",preference:"daycareOpen"},{id:10057,month:1,year:2019,type:"item",item:"Kramco Sausage-o-Matic™"},{id:10165,month:2,year:2019,type:"item",item:"Lil' Doctor™ bag"},{id:10241,month:3,year:2019,type:"item",item:"vampyric cloake"},{id:10187,month:4,year:2019,type:"preference",preference:"prAlways"},{id:10250,month:5,year:2019,type:"item",item:"Fourth of May Cosplay Saber"},{id:10256,month:6,year:2019,type:"item",item:"hewn moon-rune spoon"},{id:10257,month:7,year:2019,type:"item",item:"Beach Comb"},{id:10292,month:8,year:2019,type:"preference",preference:"getawayCampsiteUnlocked"},{id:10323,month:9,year:2019,type:"familiar",familiar:"Pocket Professor"},{id:10332,month:10,year:2019,type:"item",item:"Eight Days a Week Pill Keeper"},{id:10334,month:11,year:2019,type:"campground",item:"diabolic pizza cube"},{id:10345,month:12,year:2019,type:"familiar",familiar:"Red-Nosed Snapper"},{id:10433,month:1,year:2020,type:"item",item:"Bird-a-Day calendar"},{id:10437,month:2,year:2020,type:"item",item:"Powerful Glove"},{id:10481,month:3,year:2020,type:"campground",item:"packet of mushroom spores"},{id:10502,month:4,year:2020,type:"familiar",familiar:"Left-Hand Man"},{id:10532,month:5,year:2020,type:"item",item:"Guzzlr tablet"},{id:10573,month:6,year:2020,type:"item",item:"Iunion Crown"},{id:10579,month:7,year:2020,type:"familiar",familiar:"Melodramedary"},{id:10581,month:8,year:2020,type:"item",item:"SpinMaster™ lathe"},{id:10635,month:9,year:2020,type:"item",item:"Cargo Cultist Shorts"},{id:10644,month:10,year:2020,type:"skill",skill:"Comprehensive Cartography"},{id:10646,month:11,year:2020,type:"item",item:"unwrapped knock-off retro superhero cape"},{id:10648,month:12,year:2020,type:"familiar",familiar:["Ghost of Crimbo Commerce","Ghost of Crimbo Carols","Ghost of Crimbo Cheer"]},{id:10729,month:1,year:2021,type:"item",item:"miniature crystal ball"},{id:10733,month:2,year:2021,type:"skill",skill:"Emotionally Chipped"},{id:10737,month:3,year:2021,type:"item",item:"potted power plant"},{id:10748,month:4,year:2021,type:"item",item:"backup camera"},{id:10750,month:5,year:2021,type:"familiar",familiar:"Shorter-Order Cook"},{id:10760,month:6,year:2021,type:"item",item:"familiar scrapbook"},{id:10761,month:7,year:2021,type:"vip"},{id:10773,month:8,year:2021,type:"eudora",eudoraId:5},{id:10796,month:9,year:2021,type:"item",item:"industrial fire extinguisher"},{id:10801,month:10,year:2021,type:"familiar",familiar:"Vampire Vintner"},{id:10803,month:11,year:2021,type:"item",item:"Daylight Shavings Helmet"},{id:10814,month:12,year:2021,type:"campground",item:"cold medicine cabinet"},{id:10890,month:1,year:2022,type:"preference",preference:"hasCosmicBowlingBall"},{id:10892,month:2,year:2022,type:"item",item:"combat lover's locket"},{id:10895,month:3,year:2022,type:"familiar",familiar:"Grey Goose"},{id:10898,month:4,year:2022,type:"item",item:"Unbreakable Umbrella"},{id:10900,month:5,year:2022,type:"preference",preference:"hasMaydayContract"},{id:10919,month:6,year:2022,type:"item",item:"June cleaver"},{id:10928,month:7,year:2022,type:"item",item:"designer sweatpants"},{id:10931,month:8,year:2022,type:"item",item:"tiny stillsuit"},{id:10951,month:9,year:2022,type:"item",item:"Jurassic Parka"},{id:10953,month:10,year:2022,type:"preference",preference:"hasAutumnaton"},{id:10966,month:11,year:2022,type:"familiar",familiar:"Cookbookbat"},{id:11044,month:12,year:2022,type:"campground",item:"model train set"},{id:11099,month:1,year:2023,type:"campground",item:"packet of rock seeds"},{id:11115,month:2,year:2023,type:"item",item:"S.I.T. Course Completion Certificate"},{id:11168,month:3,year:2023,type:"item",item:"closed-circuit pay phone"},{id:11187,month:4,year:2023,type:"item",item:"cursed monkey's paw"},{id:11222,month:5,year:2023,type:"item",item:"Cincho de Mayo"},{id:11256,month:6,year:2023,type:"item",item:"2002 Mr. Store Catalog"},{id:11300,month:7,year:2023,type:"familiar",familiar:"Patriotic Eagle"},{id:11305,month:8,year:2023,type:"item",item:"august scepter"},{id:11333,month:9,year:2023,type:"skill",skill:"Just the Facts"},{id:11335,month:10,year:2023,type:"familiar",familiar:"Jill-of-All-Trades"},{id:11340,month:11,year:2023,type:"campground"},{id:11364,month:12,year:2023,type:"item",item:"candy cane sword cane"},{id:11540,month:1,year:2024,type:"familiar",familiar:"Chest Mimic"},{id:11545,month:2,year:2024,type:"item",item:"spring shoes"},{id:11560,month:3,year:2024,type:"item",item:"Everfull Dart Holster"},{id:11564,month:4,year:2024,type:"item",item:"Apriling band helmet"}];var Xl=(e=>(e[e.NONE=0]="NONE",e[e.BOXED=1]="BOXED",e[e.BOUND=2]="BOUND",e))(Xl||{});function VAe(e=0){const t=JSON.stringify(Wx).length;return t===e?null:{data:Wx,size:t}}const qAe=(e="")=>e.split("").map((t,r)=>{var n;return[((n=Wx[r])==null?void 0:n.id)??null,Number(t)]});var k0=(e=>(e[e.NONE=0]="NONE",e[e.HAVE=1]="HAVE",e))(k0||{});const WAe=(e="")=>e.split(",").map(t=>{const r=t.split(":");return[Number(r[0]),r[1]?Number(r[1]):1]}),HAe=e=>{const t=Object.fromEntries(e.split(",").map(r=>r.split(":")).map(([r,n])=>[r,r==="timestamp"?Number(n):n]));return t.version||(t.version=1),t},uU=-3,lU=-2,Hx=[{id:uU,name:"Softcore",image:"itemimages/karma.gif",items:[],equipment:[7985,7986,7987,7988,7989,7990,8092,8093,8094,8095,8096,8097,8106,8107,8108,8109,8110,8111,8120,8121,8122,8123,8124,8125,10082,10083,10084,10085,10086,10087,10098,10099,10100,10101,10102,10103,10114,10115,10116,10117,10118,10119,10130,10131,10132,10133,10134,10135,11028,11029,11030,11031,11032,11033,11504,11505,11506,11507,11508,11509],tattoos:[{name:"Seal Clubber",image:"class1"},{name:"Turtle Tamer",image:"class2"},{name:"Pastamancer",image:"class3"},{name:"Sauceror",image:"class4"},{name:"Disco Bandit",image:"class5"},{name:"Accordion Thief",image:"class6"},{name:"Normal Ascensions",image:["asc01","asc02","asc03","asc04","asc05","asc06","asc07","asc08","asc09","asc10","asc11","asc12"]}],points:null,maxPoints:0},{id:lU,name:"Hardcore",image:"otherimages/sigils/staintat.gif",items:[],equipment:[1224,1225,1226,1227,1228,1229,7991,7992,7993,7994,7995,7996,8099,8100,8101,8102,8103,8104,8113,8114,8115,8116,8117,8118,8127,8128,8129,8130,8131,8132,10090,10091,10092,10093,10094,10095,10106,10107,10108,10109,10110,10111,10122,10123,10124,10125,10126,10127,10138,10139,10140,10141,10142,10143,11020,11021,11022,11023,11024,11025,11512,11513,11514,11515,11516,11517],tattoos:[{name:"Seal Clubber",image:"class1hc"},{name:"Turtle Tamer",image:"class2hc"},{name:"Pastamancer",image:"class3hc"},{name:"Sauceror",image:"class4hc"},{name:"Disco Bandit",image:"class5hc"},{name:"Accordion Thief",image:"class6hc"},{name:"Hardcore Ascensions",image:["hasc01","hasc02","hasc03","hasc04","hasc05","hasc06","hasc07","hasc08","hasc09","hasc10","hasc11","hasc12"]}],points:null,maxPoints:0},{id:-1,name:"Bad Moon",image:"otherimages/sigils/brimtat.gif",items:[],equipment:[2814,2815,2817,2818,2816,2813],tattoos:[],points:null,maxPoints:0},{id:1,name:"Boozetafarian",image:"itemimages/martini.gif",items:[],equipment:[],tattoos:[{name:"Hardcore Boozetafarian",image:"nofood"}],points:null,maxPoints:0},{id:2,name:"Teetotaler",image:"itemimages/bowl.gif",items:[],equipment:[],tattoos:[{name:"Hardcore Teetotaler",image:"nobeer"}],points:null,maxPoints:0},{id:3,name:"Oxygenarian",image:"itemimages/smalloxy.gif",items:[],equipment:[1230,1231,1232,1233,1234,1235],tattoos:[{name:"Hardcore Oxygenarian",image:"oxy"}],points:null,maxPoints:0},{id:4,name:"Bees Hate You",image:"itemimages/beeicon.gif",items:[5141],equipment:[],tattoos:[],points:null,maxPoints:0},{id:6,name:"Way of the Surprising Fist",image:"itemimages/wosp_fist.gif",items:[5222],equipment:[],tattoos:[],points:null,maxPoints:0},{id:7,name:"Trendy",image:"itemimages/trendyicon.gif",items:[5392],equipment:[],tattoos:[],points:null,maxPoints:0},{id:8,name:"Avatar of Boris",image:"itemimages/trusty.gif",items:[5572],equipment:[],tattoos:[{name:"Boris",image:"class11"},{name:"Hardcore Boris",image:"class11hc"}],points:"borisPoints",maxPoints:29},{id:9,name:"Bugbear Invasion",image:"itemimages/familiar39.gif",items:[5694],equipment:[],tattoos:[],points:null,maxPoints:0},{id:10,name:"Zombie Slayer",image:"itemimages/tombstone.gif",items:[5773],equipment:[],tattoos:[{name:"Zombie Slayer",image:"class12"},{name:"Hardcore Zombie Slayer",image:"class12hc"}],points:"zombiePoints",maxPoints:30},{id:11,name:"Class Act",image:"itemimages/motorboat.gif",items:[6045],equipment:[],tattoos:[],points:null,maxPoints:0},{id:12,name:"Avatar of Jarlsberg",image:"itemimages/jarlhat.gif",items:[6298],equipment:[],tattoos:[{name:"Jarlsberg",image:"class14"},{name:"Hardcore Jarlsberg",image:"class14hc"}],points:"jarlsbergPoints",maxPoints:30},{id:14,name:"BIG!",image:"itemimages/bigicon.gif",items:[6547],equipment:[],tattoos:[],points:null,maxPoints:0},{id:15,name:"KOLHS",image:"itemimages/kolhsicon.gif",items:[6676],equipment:[],tattoos:[],points:"yearbookCameraAscensions",maxPoints:20},{id:16,name:"Class Act II: A Class For Pigs",image:"itemimages/motorboat2.gif",items:[6899],equipment:[],tattoos:[],points:null,maxPoints:0},{id:17,name:"Avatar of Sneaky Pete",image:"itemimages/bigglasses.gif",items:[7249],equipment:[],tattoos:[{name:"Sneaky Pete",image:"class15"},{name:"Hardcore Sneaky Pete",image:"class15hc"}],points:"sneakyPetePoints",maxPoints:30},{id:18,name:"Slow and Steady",image:"itemimages/sas.gif",items:[7498],equipment:[],tattoos:[],points:null,maxPoints:0},{id:19,name:"Heavy Rains",image:"itemimages/familiar31.gif",items:[7668],equipment:[],tattoos:[],points:["heavyRainsStartingLightning","heavyRainsStartingThunder","heavyRainsStartingRain"],maxPoints:9},{id:21,name:"Picky",image:"itemimages/pickypath.gif",items:[7935,7936],equipment:[],tattoos:[],points:null,maxPoints:0},{id:22,name:"Standard",image:"itemimages/standardicon.gif",items:[],equipment:[],tattoos:[],points:null,maxPoints:0},{id:23,name:"Actually Ed the Undying",image:"itemimages/scarab.gif",items:[8087],equipment:[],tattoos:[{name:"Ed the Undying",image:"class17"},{name:"Hardcore Ed the Undying",image:"class17hc"}],points:"edPoints",maxPoints:20},{id:24,name:"Crazy Random Summer",image:"itemimages/dice.gif",items:[8296],equipment:[],tattoos:[],points:null,maxPoints:0},{id:25,name:"Community Service",image:"itemimages/csplaquesmall.gif",items:[8556],equipment:[],tattoos:[],points:null,maxPoints:0},{id:26,name:"Avatar of West of Loathing",image:"itemimages/badge.gif",items:[8984],equipment:[],tattoos:[{name:"Cow Puncher",image:"class18"},{name:"Hardcore Cow Puncher",image:"class18hc"},{name:"Beanslinger",image:"class19"},{name:"Hardcore Beanslinger",image:"class19hc"},{name:"Snake Oiler",image:"class20"},{name:"Hardcore Snake Oiler",image:"class20hc"}],points:["awolPointsCowpuncher","awolPointsBeanslinger","awolPointsSnakeoiler"],maxPoints:30},{id:27,name:"The Source",image:"itemimages/ss_datasiphon.gif",items:[9031],equipment:[],tattoos:[],points:"sourcePoints",maxPoints:12},{id:28,name:"Nuclear Autumn",image:"itemimages/radiation.gif",items:[9099,9084],equipment:[],tattoos:[],points:"nuclearAutumnPoints",maxPoints:23},{id:29,name:"Gelatinous Noob",image:"itemimages/gcube.gif",items:[9346],equipment:[],tattoos:[{name:"Gelatinous Noob",image:"class23"},{name:"Hardcore Gelatinous Noob",image:"class23hc"}],points:"noobPoints",maxPoints:20},{id:30,name:"License to Adventure",image:"itemimages/briefcase.gif",items:[9488],equipment:[],tattoos:[],points:"bondPoints",maxPoints:23},{id:31,name:"Live. Ascend. Repeat.",image:"itemimages/watch.gif",items:[9525,9526],equipment:[],tattoos:[],points:null,maxPoints:0},{id:32,name:"Pocket Familiars",image:"itemimages/spiritorb.gif",items:[9758],equipment:[],tattoos:[],points:"todo: make a pref that tracks starting pokedollars",maxPoints:10},{id:33,name:"G-Lover",image:"itemimages/g-loveheart.gif",items:[9917,9910],equipment:[],tattoos:[{name:"Gattoo",image:"gtat"}],points:"gloverPoints",maxPoints:10},{id:34,name:"Disguises Delimit",image:"itemimages/dd_icon.gif",items:[9941],equipment:[],tattoos:[],points:"masksUnlocked",maxPoints:25},{id:35,name:"Dark Gyffte",image:"itemimages/darkgift.gif",items:[10184],equipment:[],tattoos:[{name:"Vampyre",image:"class24"},{name:"Hardcore Vampyre",image:"class24hc"}],points:"darkGyfftePoints",maxPoints:23},{id:36,name:"Two Crazy Random Summer",image:"itemimages/twocrazydice.gif",items:[10253,10252],equipment:[],tattoos:[],points:"twoCRSPoints",maxPoints:37},{id:37,name:"Kingdom of Exploathing",image:"itemimages/puff.gif",items:[10319],equipment:[],tattoos:[],points:"skillLevel188",maxPoints:13},{id:38,name:"Path of the Plumber",image:"itemimages/mario_mushroom1.gif",items:[10470,10501],equipment:[],tattoos:[{name:"Plumber",image:"class25"},{name:"Hardcore Plumber",image:"class25hc"}],points:"plumberPoints",maxPoints:11},{id:39,name:"Low Key Summer",image:"itemimages/littlelock.gif",items:[10570],equipment:[],tattoos:[],points:null,maxPoints:0},{id:40,name:"Grey Goo",image:"itemimages/greygooball.gif",items:[10601],equipment:[],tattoos:[],points:null,maxPoints:0},{id:41,name:"You, Robot",image:"itemimages/robobattery.gif",items:[10736],equipment:[],tattoos:[],points:"youRobotPoints",maxPoints:12},{id:42,name:"Quantum Terrarium",image:"itemimages/quantum.gif",items:[10757,10758],equipment:[],tattoos:[],points:"quantumPoints",maxPoints:11},{id:43,name:"Wildfire",image:"itemimages/fire.gif",items:[10791],equipment:[],tattoos:[],points:null,maxPoints:0},{id:44,name:"Grey You",image:"itemimages/greygooring.gif",items:[10894],equipment:[],tattoos:[{name:"Grey Goo",image:"class27"},{name:"Hardcore Grey Goo",image:"class27hc"}],points:"greyYouPoints",maxPoints:11},{id:45,name:"Journeyman",image:"itemimages/map.gif",items:[10918,10917],equipment:[],tattoos:[],points:null,maxPoints:0},{id:46,name:"Fall of the Dinosaurs",image:"itemimages/dinostuffy.gif",items:[10950,10949],equipment:[],tattoos:[],points:null,maxPoints:0},{id:47,name:"Avatar of Shadows Over Loathing",image:"itemimages/aosol.gif",items:[11166],equipment:[],tattoos:[{name:"Pig Skinner",image:"class28"},{name:"Hardcore Pig Skinner",image:"class28hc"},{name:"Cheese Wizard",image:"class29"},{name:"Hardcore Cheese Wizard",image:"class29hc"},{name:"Jazz Agent",image:"class30"},{name:"Hardcore Jazz Agent",image:"class30hc"}],points:["asolPointsPigSkinner","asolPointsCheeseWizard","asolPointsJazzAgent"],maxPoints:11},{id:48,name:"Legacy of Loathing",image:"itemimages/xx.gif",items:[11255],equipment:[],tattoos:[],points:"legacyPoints",maxPoints:19},{id:49,name:"A Shrunken Adventurer am I",image:"itemimages/kiloskull.gif",items:[11326],equipment:[],tattoos:[],points:"skillLevel227",maxPoints:11},{id:50,name:"WereProfessor",image:"itemimages/intrinsic_beast.gif",items:[11563],equipment:[],tattoos:[{name:"WereProfessor",image:"class31"},{name:"Hardcore WereProfessor",image:"class31hc"}],points:"wereProfessorPoints",maxPoints:23}];function GAe(e=0){const t=JSON.stringify(Hx).length;return t===e?null:{data:Hx,size:t}}const KAe=32,$Ae=16,YAe=(e="")=>{const t=e.split(",");return Hx.map(r=>{let n=(t[r.id+3]||"").padEnd(r.items.length+r.equipment.length+r.tattoos.length,"0");const i=parseInt(n.substring(0,1),KAe);n=n.substring(1);const a=n.substring(0,r.items.length).split("").map(u=>Number(u));n=n.substring(r.items.length);const o=n.substring(0,r.equipment.length).split("").map(u=>Number(u));n=n.substring(r.equipment.length);const s=n.split("").map(u=>parseInt(u,$Ae));return[r.id,i,a,o,s]})};var _i=(e=>(e[e.NONE=0]="NONE",e[e.SOFTCORE=1]="SOFTCORE",e[e.HARDCORE=2]="HARDCORE",e))(_i||{});const cU=[{skillIds:[191,192,193],groupName:"Drippy Skill"}],XAe=(e="")=>{let t=1;const r=[];for(let n=0;n`hobotat${t+1}`),misc:4},{name:"St. Sneaky Pete's Day",image:["sspdtat1","sspdpook2","sspdfipp3","sspd4plunk","sspdfi5if"],misc:5},{name:"Demon",image:"demontat",misc:6},{name:"Best Game Ever",image:"margaraxe",misc:7},{name:"Loathing Legion",image:"lltat",misc:8},{name:"Alice's Army Foil",image:"foilheart",misc:9},{name:"Corrupted Data",image:"datatat",misc:10},{name:"Mark of the Bugbear",image:"dv_tat1",misc:11},{name:"Mark of the Ghost",image:"dv_tat2",misc:12},{name:"Mark of the Skeleton",image:"dv_tat3",misc:13},{name:"Mark of the Vampire",image:"dv_tat4",misc:14},{name:"Mark of the Werewolf",image:"dv_tat5",misc:15},{name:"Mark of the Zombie",image:"dv_tat6",misc:16},{name:"Official Seal of Dreadsylvania",image:"dvinntat",misc:17},{name:"Spring Break",image:"sbreaktat",misc:18},{name:"Merc Core",image:"merctat",misc:19},{name:"Dinsey",image:"dinseytat",misc:20},{name:"DEBBIE",image:"debbietat",misc:21},{name:"Wal-Mart",image:"walmarttat",misc:22},{name:"LT&T",image:"ltttat",misc:23},{name:"Airplane",image:"planetat",misc:24},{name:"White Rabbit",image:"sourcetat",misc:25},{name:"Detective Badge",image:"detbadge",misc:26},{name:"Proton",image:"protontat",misc:27},{name:"Twitch Television",image:"twitchtat",misc:28},{name:"Eternal Knot",image:"eternaltat",misc:29},{name:"Spacegate Initiative",image:"sgtat",misc:30},{name:"New You",image:"newyou",misc:31},{name:"Battoo",image:"batmantat",misc:32},{name:"I ❤️ Gingerbread City",image:"gingercitytat",misc:33},{name:"KGB",image:"kgbtat",misc:34},{name:"FantasyRealm",image:"frtat",misc:35},{name:"Bastille Battalion",image:"bbatttat",misc:36},{name:"Gattoo",image:"gtat",misc:37},{name:"Party Tattoo™",image:"partytat",misc:38},{name:"Crimbo 2018",image:"c18tat",misc:39},{name:"Red Roger",image:"redrogertat",misc:40},{name:"Guzzlr",image:"guzzlrtat2",misc:41},{name:"Yeg",image:"yegtat",misc:42},{name:"Crimbo Cheer",image:"c20cheer",misc:43},{name:"Crimbo Carol",image:"c20carols",misc:44},{name:"Crimbo Commerce",image:"c20commerce",misc:45},{name:"Shadow",image:"shadowtat",misc:46},{name:"Super-Heated Leaf",image:"al_tat",misc:47}];var Gd=(e=>(e[e.NONE=0]="NONE",e[e.HAVE_OUTFIT=1]="HAVE_OUTFIT",e[e.HAVE=2]="HAVE",e))(Gd||{});function ZAe(e=0){const t=JSON.stringify(eD).length;return t===e?null:{data:eD,size:t}}function t1(e){return"outfit"in e}function sT(e){return"misc"in e}function uT(e){return Hd(e.image).length}const QAe=32,tD=(e="")=>e.split("").map((t,r)=>[r+1,parseInt(t,QAe)]),rD=[{id:1,name:"Little Boat",image:"gonna_need_a_smaller_boat"},{id:2,name:"Big Boat",image:"party_on_the_big_boat"},{id:3,name:"I Heart Canadia",image:"get_oot_eh"},{id:4,name:"100 Pound Load",image:"heavy_lourde"},{id:5,name:"300 Pound Load",image:"crushed_under_pets"},{id:6,name:"Silver Yeti",image:"awwwwww"},{id:7,name:"Golden Yeti",image:"yeti_pants_now"},{id:8,name:"Palindrophy",image:"a_dog_a_plan"},{id:9,name:"Platinum Skull",image:"big_head_todd"},{id:10,name:"Disgusting Cocktail",image:"the_nastiest_cocktail"},{id:11,name:"The Ghuol Cup",image:"ghuolishly_good"},{id:12,name:"Der Toastdieb",image:"you_done_took_my_toast"},{id:14,name:"Easy Come Easy Go",image:"van_went"},{id:15,name:"Bouquet of Hippies",image:"dirt_and_dirty"},{id:16,name:"Weeping Pizza",image:"angst_with_extra_cheese"},{id:17,name:"Black Hole Terrarium",image:"he_aint_heavy_hes_my_familiar"},{id:18,name:"Failure To Communicate",image:"shakin_the_bush_here_boss"},{id:19,name:"Tiny Plastic Trophy",image:"nice_trophy_pablo_honey"},{id:20,name:"99 Red Balloons",image:"in_a_little_toy_shop"},{id:21,name:"Gadget Inspector",image:"go_go_gadget_trophy"},{id:22,name:"Boss Boss",image:"dancing_in_the_dark"},{id:23,name:"Jack of Several Trades",image:"master_of_nuns"},{id:24,name:"Gourdcore",image:"gored_to_the_core"},{id:25,name:"Let My Bugbears Go!",image:"you_damned_dirty_human"},{id:26,name:"Trivially Skilled",image:"look_what_i_can_do"},{id:27,name:"This Lousy Trophy",image:"not_worth_the_wait"},{id:28,name:"Three-Tiered Trophy",image:"no_less_than_three"},{id:29,name:"Friend of Elves",image:"thats_too_friendly_pippin"},{id:30,name:"Reindeer Hunter",image:"run_over_by_grandma"},{id:31,name:"Brass Bowling Trophy Trophy",image:"the_dude_abides"},{id:32,name:"Look, Ma! No Pants!",image:"not_wearing_any_pants"},{id:33,name:"Slice and Dice",image:"with_friends_like_these"},{id:34,name:"Gender Bender",image:"ladies_and_gentlemen"},{id:35,name:"Golden Meat Stack",image:"hood_ornament"},{id:36,name:"Your Log Saw Something That Night",image:"better_than_bad_its_good"},{id:37,name:"Little Chickadee",image:"no_well_ten_beers"},{id:38,name:"The Three Amigos",image:"you_shot_the_invisible_swordsman"},{id:39,name:"Festive Dismemberment",image:"in_deep_end_ents"},{id:40,name:"Best Meal of My Life",image:"also_ate_zarathustra"},{id:41,name:"Scourge of Seals",image:"undercover_clubber"},{id:42,name:"Tzar of Turtles",image:"tortoise_reform"},{id:43,name:"Potentate of Pasta",image:"stop_noodling_around"},{id:44,name:"Sauciest Saucier",image:"lost_in_the_sauce_once_again"},{id:45,name:"Duke of Disco",image:"saturday_night_inferno"},{id:46,name:"Maestro of Mariachi",image:"dance_round_the_room_to_accordion_keys"},{id:47,name:"The Butler Did It",image:"your_mom_knows_the_butler"},{id:48,name:"Slapstick",image:"whoops_whoops_whoops"},{id:49,name:"Moderation In All Things",image:"eliza_knew_best"},{id:50,name:"The Right Tool For The Job",image:"and_a_filthy_job_it_is"},{id:51,name:"Hothouse Hero",image:"gonna_go_fondle_my_sweaters"},{id:52,name:"Cool Customer",image:"like_a_cucumber_on_pluto"},{id:53,name:"Dreadful, Just Dreadful",image:"horror_has_a_new_name"},{id:54,name:"Malodorous",image:"melodious_and_mellifluous"},{id:55,name:"Wink Wink, Nudge Nudge",image:"this_parrot_is_nude"},{id:56,name:"Crossroads",image:"my_shrimps_was_dead_and_gone"},{id:57,name:"Friend of the Devils",image:"jeremiah_was_a_bullfrog"},{id:58,name:"Bringer of Storms",image:"jeff_was_right"},{id:59,name:"Eerily Skilled",image:"howd_you_do_that_man_thats_creepy"},{id:60,name:"I Love A Parade",image:"but_it_doesnt_love_me_back"},{id:61,name:"Awwww, Yeah",image:"dont_worry_your_pretty_little_head"},{id:62,name:"Phileas Foggy",image:"just_like_tara_reid"},{id:63,name:"Extinctionist",image:"you_were_devoutly_aligned"},{id:64,name:"Dirty Laundry",image:"kick_em_when_theyre_up"},{id:65,name:"Amateur Tour Guide",image:"this_boat_sucks"},{id:66,name:"Professional Tour Guide",image:"now_ive_seen_it_all"},{id:67,name:"Brave Sir Robin",image:"in_soviet_russia_minstrels_eat_you"},{id:68,name:"Desert Wind",image:"what_the_hell_are_colitas_anyway"},{id:69,name:"Two-Tiered Tiny Plastic Trophy",image:"just_like_grandmas_dentures"},{id:70,name:"Master Paster",image:"who_runs_bartertown"},{id:71,name:"Golden Spatula",image:"and_thats_all"},{id:72,name:"Melon Baller, Shot Caller",image:"i_hardly_know_her"},{id:73,name:"BAM!",image:"what_do_you_want_on_your_tombstone"},{id:74,name:"Speakeasy Savant",image:"ill_make_a_note_of_it"},{id:75,name:"Honky Tonk Hero",image:"hippy_hippy_shake"},{id:76,name:"Cantina Commander",image:"on_channel_z"},{id:77,name:"Apprentice Meatsmacker",image:"tong_tong_tong_tong_ta_tong_tong"},{id:78,name:"Journeyman Meatsmacker",image:"now_all_you_need_is_a_sickle"},{id:79,name:"Master Meatsmacker",image:"two_tickets_to_anville"},{id:80,name:"Preciousss",image:"hey_vern_its_jewels"},{id:81,name:"The One That Didn't Get Away",image:"visitors_stink_earlier"},{id:82,name:"Losing Your Marbles",image:"garble_varble_zous"},{id:83,name:"Hunter In Darkness",image:"dodecahardon"},{id:84,name:"Evil's Okay in My Book",image:"im_a_little_bit_country"},{id:85,name:"A Little Help From My Friends",image:"oh_i_get_by"},{id:86,name:"Dancing With the Stars",image:"every_which_way_but_footloose"},{id:87,name:"Every Part of the Seal",image:"especially_those_face_scars"},{id:88,name:"Spaghettihose",image:"screw_you_atkins"},{id:89,name:"Color Wheel of Yuck",image:"please_dont_taste_the_rainbow"},{id:90,name:"Septuple Platinum",image:"steal_this_music"},{id:91,name:"Professional Photographer",image:"raggedy_annie_leibovitz"},{id:92,name:"General Assembler",image:"thats_numberwang"},{id:93,name:"Penultimate Fantasy VII",image:"aeris_kills_dumbledore"},{id:94,name:"The Wrong Place at the Right Time",image:"ocd_genocide"},{id:95,name:"Who Hustles The Hustlers?",image:"giant_blue_pool_cue"},{id:96,name:"A Screw Ain't One",image:"in_a_fruit_fight"},{id:97,name:"Had to Have Caught Them All",image:"ocd_i_choose_you"},{id:98,name:"Buzzkill",image:"ow_my_everything"},{id:99,name:"Elf Barker",image:"spay_or_neuter_your_pets"},{id:100,name:"Mixed Martial Arts",image:"sweat_grope_punch_repeat"},{id:101,name:"Hadouken!",image:"tatsumaki_senpuu_kyaku"},{id:102,name:"Good Will Punching",image:"fisting_for_dollars"},{id:103,name:"Moving Target",image:"wal_mart_is_stationary"},{id:104,name:"Grand Slammer",image:"gonna_need_a_bigger_plaque"},{id:105,name:"And My Axe",image:"look_out_death_adder"},{id:106,name:"Spirited Drinker",image:"never_sicker"},{id:107,name:"Papier Than Thou",image:"papier_i_hardly_know_her"},{id:108,name:"Fantastic Voyager",image:"for_your_weiner_am_i_right_ha_ha_ha"},{id:109,name:"Haggis Haggis Haggis Haggis Haggis",image:"haggis_is_as_haggis_does"},{id:110,name:"Now You've Tasted Everything",image:"i_can_taste_the_cosmos"},{id:111,name:"The Old College Try",image:"natures_harmonic"},{id:112,name:"Great Responsibility",image:"time_to_get_a_dog_i_guess"},{id:113,name:"Three-Tiered Tiny Plastic Trophy",image:"little_asian_different"},{id:114,name:"Cosmic Thing",image:"fruity_egocentric_magician"},{id:115,name:"Right Outfit, Wrong Place",image:"more_or_less_right_time"},{id:116,name:"Dreadful Rainbow",image:"taste_the_pain"},{id:117,name:"Horror Enthusiast",image:"ermagerd_berks"},{id:118,name:"Full Heart",image:"clear_eyes_dumb_shirt"},{id:119,name:"Extended Capacity",image:"warranty_sold_separately"},{id:120,name:"Kissing Maniac",image:"bastard_son_thereof"},{id:121,name:"Cruising For Six Bruisings",image:"dont_bleed_it_all_in_one_place"},{id:122,name:"Eleven Down, None to Go",image:"this_is_getting_ridiculous"},{id:123,name:"Purity of Essence",image:"could_you_describe_the_ruckus"},{id:124,name:"Ansel Adams Jr.",image:"who_here_knows_quark_express"},{id:125,name:"No Particular Reason",image:"take_a_chanceacus"},{id:126,name:"Bronzed Tin Can",image:"put_gilded_lilies_in_it"},{id:127,name:"True Believer",image:"wheel_of_space"},{id:128,name:"EEZY PEEZY",image:"pez_porridge_hot"},{id:129,name:"Very Like a Whale",image:"oh_no_not_again"},{id:130,name:"Gyro Hero",image:"hero_dreams_of_gyros"},{id:131,name:"Alia Iacta Est",image:"d_c_cab_squared"},{id:132,name:"Always Cloaca Cola",image:"the_choice_of_an_old_generation"},{id:133,name:"Thar She Blows!",image:"barfily_ever_after"},{id:134,name:"Partners in Crime",image:"criminal_conspiracy"},{id:135,name:"Party Killer",image:"you_ruin_everything"},{id:136,name:"Master Craftsman",image:"the_harder_side_of_sears"},{id:137,name:"Cool Guy",image:"cool_gold_jeff_game_cool"},{id:138,name:"Option Paralysis",image:"shirto_redbetter"},{id:139,name:"Omni-Cosplay",image:"may_the_force_boldy_go_a_wizard"},{id:140,name:"11 Martini Breakfast",image:"she_told_me_to_pick_up_olives"},{id:141,name:"Golden Pickaxe",image:"baloneysaurux_text"},{id:142,name:"Golden Idol",image:"bananarama_crux"},{id:143,name:"Golden Moustache",image:"badonkadonkus_flex"},{id:144,name:"Golden Burglar",image:"banangrama_xer"},{id:146,name:"Some Assembly Required",image:"college_kids_and_divorced_men"},{id:147,name:"Bucket List",image:"anger_management_about_schmidt"},{id:148,name:"Gotpork Connoisseur",image:"this_town_needs_an_enema"},{id:149,name:"A Gallon of Milk Keeps the Doctor Away",image:"this_this_lemonade"},{id:150,name:"Prime Directive Director",image:"ilovewesley"},{id:151,name:"Tentacle Tickler",image:"oh_the_horror"},{id:152,name:"LOVE, LOVE, LOVE",image:"all_you_need_is_it"},{id:153,name:"Gelatinous Hubris",image:"i_had_to_drink_from_the_liquid_cup"},{id:154,name:"Salads of Many Worlds",image:"in_space_noone_can_hear_you_laugh"},{id:155,name:"Ultimate Cosmic Power",image:"eleven_inch_flautist"},{id:156,name:"Commemorative Replica Blob",image:"cross_about_naught"},{id:157,name:"You Do It To Yourself",image:"working_class_republican"},{id:158,name:"Traditional Crimbo",image:"yule_be_happy"},{id:159,name:"Steak and a Beer, Eh?",image:"we_found_a_dead_mouse"},{id:160,name:"Talking Heads",image:"twenty_two_eyes"},{id:161,name:"Yule Have a Headache Tomorrow",image:"cuppa_cuppa_burning_goo"},{id:162,name:"Dreaming of a Bland Crimbo",image:"every_christmas_is_like_sunday"},{id:163,name:"HIGH SCORE",image:"no_religion_too"}];var r1=(e=>(e[e.NONE=0]="NONE",e[e.HAVE=1]="HAVE",e))(r1||{});function JAe(e=0){const t=JSON.stringify(rD).length;return t===e?null:{data:rD,size:t}}const ewe=(e="")=>e.split("").map((t,r)=>[r+1,Number(t)]),twe=2;function nD(e){const t=jAe.uncrush(decodeURIComponent(e.replace(/\n/g,""))),r=JSON.parse(t);return{meta:HAe(r.meta),skills:XAe(r.skills),familiars:zAe(r.familiars),trophies:ewe(r.trophies),outfitTattoos:tD(r.outfitTattoos),miscTattoos:tD(r.miscTattoos),paths:YAe(r.paths),iotms:qAe(r.iotms),items:WAe(r.items)}}var lT="persist:",cT="persist/FLUSH",n1="persist/REHYDRATE",fT="persist/PAUSE",dT="persist/PERSIST",pT="persist/PURGE",hT="persist/REGISTER",rwe=-1;function fg(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fg=function(r){return typeof r}:fg=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fg(e)}function iD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nwe(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function hwe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var mwe=5e3;function gwe(e,t){var r=e.version!==void 0?e.version:rwe;e.debug;var n=e.stateReconciler===void 0?awe:e.stateReconciler,i=e.getStoredState||uwe,a=e.timeout!==void 0?e.timeout:mwe,o=null,s=!1,u=!0,l=function(f){return f._persist.rehydrated&&o&&!u&&o.update(f),f};return function(c,f){var d=c||{},p=d._persist,m=pwe(d,["_persist"]),h=m;if(f.type===dT){var v=!1,y=function(T,k){v||(f.rehydrate(e.key,T,k),v=!0)};if(a&&setTimeout(function(){!v&&y(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},a),u=!1,o||(o=owe(e)),p)return Sa({},t(h,f),{_persist:p});if(typeof f.rehydrate!="function"||typeof f.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then(function(w){var T=e.migrate||function(k,O){return Promise.resolve(k)};T(w,r).then(function(k){y(k)},function(k){y(void 0,k)})},function(w){y(void 0,w)}),Sa({},t(h,f),{_persist:{version:r,rehydrated:!1}})}else{if(f.type===pT)return s=!0,f.result(cwe(e)),Sa({},t(h,f),{_persist:p});if(f.type===cT)return f.result(o&&o.flush()),Sa({},t(h,f),{_persist:p});if(f.type===fT)u=!0;else if(f.type===n1){if(s)return Sa({},h,{_persist:Sa({},p,{rehydrated:!0})});if(f.key===e.key){var g=t(h,f),b=f.payload,S=n!==!1&&b!==void 0?n(b,c,g,e):g,x=Sa({},S,{_persist:Sa({},p,{rehydrated:!0})});return l(x)}}}if(!p)return t(c,f);var E=t(h,f);return E===h?c:l(Sa({},E,{_persist:p}))}}function oD(e){return bwe(e)||ywe(e)||vwe()}function vwe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ywe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function bwe(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:fU,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case hT:return Gx({},t,{registry:[].concat(oD(t.registry),[r.key])});case n1:var n=t.registry.indexOf(r.key),i=oD(t.registry);return i.splice(n,1),Gx({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function Ewe(e,t,r){var n=TC(xwe,fU,void 0),i=function(u){n.dispatch({type:hT,key:u})},a=function(u,l,c){var f={type:n1,payload:l,err:c,key:u};e.dispatch(f),n.dispatch(f)},o=Gx({},n,{purge:function(){var u=[];return e.dispatch({type:pT,result:function(c){u.push(c)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:cT,result:function(c){u.push(c)}}),Promise.all(u)},pause:function(){e.dispatch({type:fT})},persist:function(){e.dispatch({type:dT,register:i,rehydrate:a})}});return o.persist(),o}var mT={},gT={};gT.__esModule=!0;gT.default=Cwe;function dg(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dg=function(r){return typeof r}:dg=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},dg(e)}function ub(){}var Awe={getItem:ub,setItem:ub,removeItem:ub};function wwe(e){if((typeof self>"u"?"undefined":dg(self))!=="object"||!(e in self))return!1;try{var t=self[e],r="redux-persist ".concat(e," test");t.setItem(r,"test"),t.getItem(r),t.removeItem(r)}catch{return!1}return!0}function Cwe(e){var t="".concat(e,"Storage");return wwe(t)?self[t]:Awe}mT.__esModule=!0;mT.default=_we;var Twe=Owe(gT);function Owe(e){return e&&e.__esModule?e:{default:e}}function _we(e){var t=(0,Twe.default)(e);return{getItem:function(n){return new Promise(function(i,a){i(t.getItem(n))})},setItem:function(n,i){return new Promise(function(a,o){a(t.setItem(n,i))})},removeItem:function(n){return new Promise(function(i,a){i(t.removeItem(n))})}}}var dU=void 0,kwe=Pwe(mT);function Pwe(e){return e&&e.__esModule?e:{default:e}}var Dwe=(0,kwe.default)("local");dU=Dwe;/** +`).slice(1).filter(v=>v!==""&&!v.startsWith("#")).map(v=>v.split(" ")))})}Ur.loadMafiaData=o;function s(d,p=0,m){return e(this,void 0,void 0,function*(){const h=d.split("."),v=`${n}/${h.join("/")}.java`;return yield a(v,p,y=>{const g=(0,t.parse)(y),b=new r.EnumCollector(m||h[h.length-1]);return b.visit(g),b.parserResult})})}Ur.loadMafiaEnum=s;const u=d=>d;Ur.tuple=u;const l=d=>Array.isArray(d)?d:[d];Ur.arrayOf=l;const c=d=>p=>Object.values(d).includes(p);Ur.isMemberOfEnum=c;function f(...d){const p=Math.max(...d.map(m=>m.length));return Array.from({length:p}).map((m,h)=>Array.from({length:d.length},(v,y)=>d[y][h]))}return Ur.zip=f,Ur}var oAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Dy,"__esModule",{value:!0});Dy.loadClasses=void 0;const sAe=ns(),uAe={image:null,primeStatIndex:-1,path:null,stun:null,stomachCapacity:null,liverCapacity:null,spleenCapacity:null};function lAe(e=0){return oAe(this,void 0,void 0,function*(){const t=yield(0,sAe.loadMafiaEnum)("net.sourceforge.kolmafia.AscensionClass",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.map(r=>Object.assign(Object.assign({},uAe),r))})})}Dy.loadClasses=lAe;var $l={},cAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty($l,"__esModule",{value:!0});$l.loadEffects=$l.EffectQuality=void 0;const iU=ns();var O0;(function(e){e.Good="good",e.Neutral="neutral",e.Bad="bad"})(O0||($l.EffectQuality=O0={}));const fAe=(0,iU.isMemberOfEnum)(O0),dAe=e=>{var t,r,n,i;return{id:Number(e[0]),name:e[1],image:e[2],descid:e[3],quality:fAe(e[4])?e[4]:O0.Neutral,attributes:(r=(t=e[5])===null||t===void 0?void 0:t.split(",").map(a=>a.trim()).filter(a=>a!=="none"))!==null&&r!==void 0?r:[],actions:(i=(n=e[6])===null||n===void 0?void 0:n.split("|"))!==null&&i!==void 0?i:[]}};function pAe(e=0){return cAe(this,void 0,void 0,function*(){const t=yield(0,iU.loadMafiaData)("statuseffects",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(dAe)})})}$l.loadEffects=pAe;var No={},hAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(No,"__esModule",{value:!0});No.loadFamiliars=No.isFamiliarOwnable=No.FamiliarCategory=void 0;const aU=ns();var Vx;(function(e){e.Stat0="stat0",e.Stat1="stat1",e.Item0="item0",e.Item1="item1",e.Item2="item2",e.Item3="item3",e.Meat0="meat0",e.Combat0="combat0",e.Combat1="combat1",e.Drop="drop",e.Block="block",e.Delevel="delevel",e.Hp0="hp0",e.Mp0="mp0",e.Meat1="meat1",e.Stat2="stat2",e.Other0="other0",e.Hp1="hp1",e.Mp1="mp1",e.Stat3="stat3",e.Other1="other1",e.Passive="passive",e.Underwater="underwater",e.Variable="variable"})(Vx||(No.FamiliarCategory=Vx={}));const mAe=(0,aU.isMemberOfEnum)(Vx),gAe=({id:e})=>!(e>=125&&e<134||e>=215&&e<260);No.isFamiliarOwnable=gAe;const vAe=e=>{var t,r;return{id:Number(e[0]),name:e[1],image:e[2],categories:e[3].split(",").map(n=>n.trim()).filter(mAe),larva:e[4],equipment:e[5]||null,arenaStats:{cageMatch:Number(e[6]),scavengerHunt:Number(e[7]),obstacleCourse:Number(e[8]),hideAndSeek:Number(e[9])},attributes:(r=(t=e[10])===null||t===void 0?void 0:t.split(","))!==null&&r!==void 0?r:[]}};function yAe(e=0){return hAe(this,void 0,void 0,function*(){const t=yield(0,aU.loadMafiaData)("familiars",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(vAe)})})}No.loadFamiliars=yAe;var Yl={},bAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.loadItems=Yl.ItemUse=void 0;const oU=ns();var qx;(function(e){e.Food="food",e.Drink="drink",e.Spleen="spleen",e.Potion="potion",e.Avatar="avatar",e.Usable="usable",e.Multiple="multiple",e.Reusable="reusable",e.Message="message",e.Grow="grow",e.PokePill="pokepill",e.Hat="hat",e.Weapon="weapon",e.Sixgun="sixgun",e.Offhand="offhand",e.Container="container",e.Shirt="shirt",e.Pants="pants",e.Accessory="accessory",e.Familiar="familiar",e.Sticker="sticker",e.Card="card",e.Folder="folder",e.Bootspur="bootspur",e.Bootskin="bootskin",e.FoodHelper="food helper",e.DrinkHelper="drink helper",e.Zap="zap",e.Sphere="sphere",e.Guardian="guardian",e.Combat="combat",e.CombatReusable="combat reusable",e.Single="single",e.Solo="solo",e.Curse="curse",e.Bounty="bounty",e.Package="package",e.Candy="candy",e.Candy1="candy1",e.Candy2="candy2",e.Chocolate="chocolate",e.Fancy="fancy",e.Paste="paste",e.Smith="smith",e.Cook="cook",e.Mix="mix",e.Matchable="matchable"})(qx||(Yl.ItemUse=qx={}));const SAe=(0,oU.isMemberOfEnum)(qx),xAe=e=>{const t=e.split(",").map(r=>r.trim());return{quest:t.includes("q"),gift:t.includes("g"),tradeable:t.includes("t"),discardable:t.includes("d")}},EAe=e=>Object.assign(Object.assign({id:Number(e[0]),name:e[1],descid:e[2],image:e[3],uses:e[4].split(", ").filter(SAe)},xAe(e[5])),{autosell:Number(e[6]),plural:e[7]});function AAe(e=0){return bAe(this,void 0,void 0,function*(){const t=yield(0,oU.loadMafiaData)("items",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(EAe)})})}Yl.loadItems=AAe;var Jy={},wAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Jy,"__esModule",{value:!0});Jy.loadOutfits=void 0;const CAe=ns(),TAe=(e="")=>e.trim().split(", "),OAe=(e="")=>e.trim().split(", ").filter(t=>t!=="none").map(t=>{const r=t.match(/^(.*?) \((\d*\.?\d+)\)$/);return r?{item:r[1],chance:Number(r[2])}:{item:t,chance:1}}),_Ae=e=>{var t,r;return{id:Number(e[0]),name:e[1],image:e[2],equipment:TAe((t=e[3])!==null&&t!==void 0?t:""),treats:OAe(e[0]==="80"?"double-ice gum":(r=e[4])!==null&&r!==void 0?r:"")}};function kAe(e=0){return wAe(this,void 0,void 0,function*(){const t=yield(0,CAe.loadMafiaData)("outfits",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(_Ae)})})}Jy.loadOutfits=kAe;var e1={},PAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(e1,"__esModule",{value:!0});e1.loadPaths=void 0;const DAe=ns(),RAe={pointsPreference:null,maximumPoints:0,bucket:!1,stomachCapacity:15,liverCapacity:14,spleenCapacity:15};function LAe(e=0){return PAe(this,void 0,void 0,function*(){const t=yield(0,DAe.loadMafiaEnum)("net.sourceforge.kolmafia.AscensionPath",e,"Path");return t===null?null:Object.assign(Object.assign({},t),{data:t.data.map(r=>Object.assign(Object.assign({},RAe),r))})})}e1.loadPaths=LAe;var Qi={},NAe=Ne&&Ne.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?a(c.value):i(c.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.loadSkills=Qi.isSkillPermable=Qi.getMaxSkillLevel=Qi.SkillCategory=void 0;const sU=ns();var _0;(function(e){e[e.Passive=0]="Passive",e[e.NoncombatItemSummon=1]="NoncombatItemSummon",e[e.NoncombatHealing=2]="NoncombatHealing",e[e.NoncombatNonShruggableEffect=3]="NoncombatNonShruggableEffect",e[e.NoncombatShruggableEffect=4]="NoncombatShruggableEffect",e[e.Combat=5]="Combat",e[e.OneAtATimeNoncombatSong=6]="OneAtATimeNoncombatSong",e[e.CombatNoncombatHealing=7]="CombatNoncombatHealing",e[e.CombatPassive=8]="CombatPassive",e[e.OneAtATimeNoncombatExpression=9]="OneAtATimeNoncombatExpression",e[e.OneAtATimeNoncombatWalk=10]="OneAtATimeNoncombatWalk",e[e.NoncombatHealingPassive=11]="NoncombatHealingPassive"})(_0||(Qi.SkillCategory=_0={}));const MAe=(0,sU.isMemberOfEnum)(_0),IAe=({id:e})=>{switch(e){case 46:return 10;case 47:return 10;case 48:return 10;case 107:return 9;case 117:return 11;case 188:return 13;case 118:return 7;case 121:return 6;case 128:return 6;case 134:return 6;case 135:return 2;case 144:return 5;case 180:return 4;case 7254:return 3;default:return 0}};Qi.getMaxSkillLevel=IAe;const BAe=({id:e})=>{if(e<10||e>20&&e<=27||e>63&&e<=73||e>7175&&e<7181)return!1;switch(e){case 91:case 116:return!1;case 49:case 50:case 51:case 52:case 3024:return!1;case 6019:return!1;case 17047:return!0;case 156:return!1;case 174:return!1;case 218:case 219:case 220:return!1;case 222:return!1;case 7254:return!0}switch(Math.floor(e/1e3)){case 7:case 8:case 11:case 12:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:case 28:case 29:case 30:return!1}return!0};Qi.isSkillPermable=BAe;const UAe=e=>({id:Number(e[0]),name:e[1],image:e[2],category:MAe(Number(e[3]))?Number(e[3]):_0.Passive,mpCost:Number(e[4]),duration:Number(e[5]),level:e[6]?Number(e[6]):0});function FAe(e=0){return NAe(this,void 0,void 0,function*(){const t=yield(0,sU.loadMafiaData)("classskills",e);return t===null?null:Object.assign(Object.assign({},t),{data:t.data.filter(r=>r.length>2).map(UAe)})})}Qi.loadSkills=FAe;(function(e){var t=Ne&&Ne.__createBinding||(Object.create?function(n,i,a,o){o===void 0&&(o=a);var s=Object.getOwnPropertyDescriptor(i,a);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(n,o,s)}:function(n,i,a,o){o===void 0&&(o=a),n[o]=i[a]}),r=Ne&&Ne.__exportStar||function(n,i){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(Dy,e),r($l,e),r(No,e),r(Yl,e),r(Jy,e),r(e1,e),r(Qi,e)})(la);const jAe={crush:(e,t=50)=>{const r="",n=(u,l)=>{let c=l.length,f="";const d=h=>encodeURI(encodeURIComponent(h)).replace(/%../g,"i").length,p=h=>{let v=h.charCodeAt(0),y=h.charCodeAt(h.length-1);return v>=56320&&v<=57343||y>=55296&&y<=56319};let m={};for(let h=2;h=0;++g)b=u.indexOf(y,b+h);g>1&&(m[y]=g)}for(;;){for(;c--&&u.includes(l[c]););if(c<0)break;let h=l[c],v,y=0,g=d(h);for(let S in m){let x=m[S],E=(x-1)*d(S)-(x+1)*g;f.length||(E-=d(r)),E<=0?delete m[S]:E>y&&(v=S,y=E)}if(!v)break;u=u.split(v).join(h)+h+v,f=h+f;let b={};for(let S in m){let x=S.split(v).join(h),E=0;for(let w=u.indexOf(x);w>=0;++E)w=u.indexOf(x,w+x.length);E>1&&(b[x]=E)}m=b}return{a:u,b:f}};let i=[];const a="-_.!~*'()";for(let u=127;--u;)(u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a.includes(String.fromCharCode(u)))&&i.push(String.fromCharCode(u));for(let u=32;u<255;++u){let l=String.fromCharCode(u);l!="\\"&&!i.includes(l)&&i.unshift(l)}e=e.replace(new RegExp(r,"g"),""),e=JP(e);const o=n(e,i);let s=o.a;return o.b.length&&(s+=r+o.b),s+="_",s},uncrush:e=>{e=e.substring(0,e.length-1);const t=e.split("");let r=t[0];if(t.length>1){let n=t[1];for(let i of n){let a=r.split(i);r=a.join(a.pop())}}return JP(r,0)}},JP=(e,t=1)=>{const r=[['"',"'"],["':","!"],[",'","~"],["}",")","\\","\\"],["{","(","\\","\\"]],n=(i,a)=>{let o=new RegExp(`${(a[2]?a[2]:"")+a[0]}|${(a[3]?a[3]:"")+a[1]}`,"g");return i.replace(o,s=>s===a[0]?a[1]:a[0])};if(t)for(let i=0;ie,Hd=e=>Array.isArray(e)?e:[e];var lu=(e=>(e[e.NONE=0]="NONE",e[e.HATCHLING=1]="HATCHLING",e[e.TERRARIUM=2]="TERRARIUM",e))(lu||{});const zAe=(e="")=>{let t=0;const r=[];for(const n of e){if(n==="*"&&r.length>0){r[r.length-1][2]=!0;continue}r.push(Wd([++t,Number(n),!1]))}return r},Wx=[{id:894,month:10,year:2004,type:"familiar",familiar:"Jill-O-Lantern"},{id:914,month:11,year:2004,type:"familiar",familiar:"Hand Turkey"},{id:924,month:12,year:2004,type:"familiar",familiar:"Crimbo Elf"},{id:954,month:1,year:2005,type:"familiar",familiar:"Baby Yeti"},{id:961,month:2,year:2005,type:"familiar",familiar:"Feather Boa Constrictor"},{id:1040,month:3,year:2005,type:"item",item:"lucky Tam O'Shanter"},{id:1083,month:4,year:2005,type:"familiar",familiar:"Personal Raincloud"},{id:1152,month:5,year:2005,type:"item",item:"miniature gravy-covered maypole"},{id:1242,month:6,year:2005,type:"familiar",familiar:"inflatable dodecapede"},{id:1260,month:7,year:2005,type:"item",item:"wax lips"},{id:1263,month:8,year:2005,type:"familiar",familiar:"Pygmy Bugbear Shaman"},{id:1291,month:9,year:2005,type:"item",item:"Jekyllin hide belt"},{id:1304,month:10,year:2005,type:"familiar",familiar:"Doppelshifter"},{id:1349,month:11,year:2005,type:"familiar",familiar:"Temporal Riftlet"},{id:1373,month:12,year:2005,type:"familiar",familiar:"Sweet Nutcracker"},{id:1411,month:1,year:2006,type:"skill",skill:"Summon Snowcones"},{id:1423,month:2,year:2006,type:"item",item:["iceberglet","ice baby"]},{id:1488,month:3,year:2006,type:"familiar",familiar:"Wild Hare"},{id:1498,month:4,year:2006,type:"skill",skill:"Summon Hilarious Objects"},{id:1536,month:5,year:2006,type:"familiar",familiar:"Spirit Hobo"},{id:1621,month:6,year:2006,type:"familiar",familiar:"Astral Badger"},{id:1653,month:7,year:2006,type:"item",item:"jewel-eyed wizard hat"},{id:1703,month:8,year:2006,type:"familiar",familiar:"Comma Chameleon"},{id:1792,month:9,year:2006,type:"item",item:"Travoltan trousers"},{id:1971,month:10,year:2006,type:"item",item:"plastic pumpkin bucket"},{id:2090,month:11,year:200,type:"item",item:"pilgrim shield"},{id:2190,month:12,year:2006,type:"familiar",familiar:"Ancient Yuletide Troll"},{id:2221,month:1,year:2007,type:"item",item:["Great Ball of Frozen Fire","liar's pants"]},{id:2303,month:2,year:2007,type:"skill",skill:"Summon Candy Heart"},{id:2380,month:3,year:2007,type:"familiar",familiar:"Dandy Lion"},{id:2447,month:4,year:2007,type:"familiar",familiar:"Penguin Goodfella"},{id:2541,month:5,year:2007,type:"item",item:"Mayflower bouquet"},{id:2650,month:6,year:2007,type:"familiar",familiar:"Green Pixie"},{id:2834,month:7,year:2007,type:"item",item:"bottle-rocket crossbow"},{id:2836,month:8,year:2007,type:"familiar",familiar:"Wizard Action Figure"},{id:2844,month:9,year:2007,type:"item",item:"navel ring of navel gazing"},{id:2845,month:10,year:2007,type:"familiar",familiar:"Gluttonous Green Ghost"},{id:2946,month:11,year:2007,type:"item",item:"V for Vivala Mask"},{id:3042,month:12,year:2007,type:"familiar",familiar:"Crimbo P. R. E. S. S. I. E."},{id:3117,month:1,year:2008,type:"skill",skill:"Summon Party Favor"},{id:3192,month:2,year:2008,type:"item",item:["naughty origami kit","origami pasties"]},{id:3219,month:3,year:2008,type:"familiar",familiar:"Mad Hatrack"},{id:3263,month:4,year:2008,type:"skill",skill:"Summon Tasteful Items"},{id:3321,month:5,year:2008,type:"item",item:"mayfly bait necklace"},{id:3351,month:6,year:2008,type:"familiar",familiar:"Llama Lama"},{id:3421,month:7,year:2008,type:"item",item:"little box of fireworks"},{id:3431,month:8,year:2008,type:"familiar",familiar:"Cotton Candy Carnie"},{id:3466,month:9,year:2008,type:"item",item:"haiku katana"},{id:3434,month:10,year:2008,type:"familiar",familiar:"Disembodied Hand"},{id:3507,month:11,year:2008,type:"skill",skill:"Summon Stickers"},{id:3578,month:12,year:2008,type:"familiar",familiar:"Sugar Fruit Fairy"},{id:3661,month:1,year:2009,type:"item",item:["container of Spooky Putty","spooky putty monster","Spooky Putty sheet"]},{id:3753,month:2,year:2009,type:"skill",skill:"Summon Love Song"},{id:3799,month:3,year:2009,type:"familiar",familiar:"Frumious Bandersnatch"},{id:3836,month:4,year:2009,type:"item",item:"elvish sunglasses"},{id:3963,month:5,year:2009,type:"vip"},{id:3999,month:6,year:2009,type:"familiar",familiar:"Baby Sandworm"},{id:4136,month:7,year:2009,type:"item",item:"Bag o' Tricks"},{id:4148,month:8,year:2009,type:"familiar",familiar:"He-Boulder"},{id:4177,month:9,year:2009,type:"skill",skill:"Summon Sugar Sheets"},{id:4223,month:10,year:2009,type:"familiar",familiar:"Squamous Gibberer"},{id:4135,month:11,year:2009,type:"item",item:"moveable feast"},{id:4328,month:12,year:2009,type:"familiar",familiar:"Stocking Mimic"},{id:4398,month:1,year:2010,type:"item",item:["stinky cheese ball","stinky cheese eye"]},{id:4468,month:2,year:2010,type:"skill",skill:"Summon BRICKOs"},{id:4507,month:3,year:2010,type:"vip"},{id:4574,month:4,year:2010,type:"familiar",familiar:"Baby Bugged Bugbear"},{id:4614,month:5,year:2010,type:"item",item:"Crown of Thrones"},{id:4619,month:6,year:2010,type:"familiar",familiar:"Rogue Program"},{id:4644,month:7,year:2010,type:"item",item:"Juju Mojo Mask"},{id:4648,month:8,year:2010,type:"familiar",familiar:"Mini-Hipster"},{id:4696,month:9,year:2010,type:"item",item:"Greatest American Pants"},{id:4720,month:10,year:2010,type:"familiar",familiar:"organ grinder"},{id:4759,month:11,year:2010,type:"campground",item:"packet of pumpkin seeds"},{id:4827,month:12,year:2010,type:"familiar",familiar:"Robot Reindeer"},{id:4908,month:1,year:2011,type:"item",item:"Loathing Legion Knife"},{id:4937,month:2,year:2011,type:"familiar",familiar:"Obtuse Angel"},{id:4965,month:3,year:2011,type:"skill",skill:"Summon Alice's Army Cards"},{id:5047,month:4,year:2011,type:"vip"},{id:5112,month:5,year:2011,type:"eudora",eudoraId:1},{id:5164,month:6,year:2011,type:"familiar",familiar:"Li'l Xenomorph"},{id:5190,month:7,year:2011,type:"item",item:"Operation Patriot Shield"},{id:4536,month:8,year:2011,type:"familiar",familiar:"Pair of Stomping Boots"},{id:5223,month:9,year:2011,type:"skill",skill:"Summon Clip Art"},{id:5301,month:10,year:2011,type:"item",item:"plastic vampire fangs"},{id:5371,month:11,year:2011,type:"familiar",familiar:"Fancypants Scarecrow"},{id:5403,month:12,year:2011,type:"campground",item:"Peppermint Pip Packet"},{id:5463,month:1,year:2012,type:"skill",skill:"Summon Resolutions"},{id:5553,month:2,year:2012,type:"item",item:["can of Rain-Doh","empty Rain-Doh can"]},{id:5639,month:3,year:2012,type:"familiar",familiar:"Happy Medium"},{id:5648,month:4,year:2012,type:"item",item:"Boris's Helm"},{id:5662,month:5,year:2012,type:"vip"},{id:5701,month:6,year:2012,type:"familiar",familiar:"Artistic Goth Kid"},{id:5738,month:7,year:2012,type:"item",item:"Camp Scout backpack"},{id:5767,month:8,year:2012,type:"familiar",familiar:"Reagnimated Gnome"},{id:5790,month:9,year:2012,type:"custom"},{id:5879,month:10,year:2012,type:"campground",item:"packet of dragon's teeth"},{id:5910,month:11,year:2012,type:"familiar",familiar:"Nanorhino"},{id:6071,month:12,year:2012,type:"skill",skill:"Summon Geeky Gifts"},{id:6150,month:1,year:2013,type:"item",item:"Snow Suit"},{id:4712,month:2,year:2013,type:"eudora",eudoraId:2},{id:6305,month:3,year:2013,type:"item",item:"Jarlsberg's Pan"},{id:6360,month:4,year:2013,type:"skill",skill:"Summon Taffy"},{id:6413,month:5,year:2013,type:"preference",preference:"ownsFloristFriar"},{id:6561,month:6,year:2013,type:"familiar",familiar:"Mini-Adventurer"},{id:6582,month:7,year:2013,type:"vip"},{id:4930,month:8,year:2013,type:"item",item:"over-the-shoulder Folder Holder"},{id:6411,month:9,year:2013,type:"familiar",familiar:"Steam-Powered Cheerleader"},{id:6784,month:10,year:2013,type:"familiar",familiar:"Reanimated Reanimator"},{id:6860,month:11,year:2013,type:"item",item:"Pantsgiving"},{id:7003,month:12,year:2013,type:"skill",skill:"Summon Smithsness"},{id:7069,month:1,year:2014,type:"campground",item:"packet of winter seeds"},{id:7200,month:2,year:2014,type:"item",item:"Buddy Bjorn"},{id:7250,month:3,year:2014,type:"item",item:"Sneaky Pete's leather jacket"},{id:7382,month:4,year:2014,type:"campground",item:"Little Geneticist DNA-Splicing Lab"},{id:7466,month:5,year:2014,type:"preference",preference:"sleazeAirportAlways"},{id:7312,month:6,year:2014,type:"familiar",familiar:"Galloping Grill"},{id:7588,month:7,year:2014,type:"vip"},{id:7706,month:8,year:2014,type:"skill",skill:"Summon Confiscated Things"},{id:7709,month:9,year:2014,type:"item",item:"Thor's Pliers"},{id:7767,month:10,year:2014,type:"preference",preference:"spookyAirportAlways"},{id:7920,month:11,year:2014,type:"familiar",familiar:"fist turkey"},{id:7956,month:12,year:2014,type:"familiar",familiar:"Crimbo Shrub"},{id:8019,month:1,year:2015,type:"preference",preference:"chateauAvailable"},{id:8134,month:2,year:2015,type:"preference",preference:"lovebugsUnlocked"},{id:8184,month:3,year:2015,type:"item",item:"The Crown of Ed the Undying"},{id:8203,month:4,year:2015,type:"preference",preference:"stenchAirportAlways"},{id:8260,month:5,year:2015,type:"campground",item:"portable Mayo Clinic"},{id:8287,month:6,year:2015,type:"familiar",familiar:["Puck Man","Ms Puck Man"]},{id:8381,month:7,year:2015,type:"item",item:"Deck of Every Card"},{id:8487,month:8,year:2015,type:"preference",preference:"hotAirportAlways"},{id:8564,month:9,year:2015,type:"preference",preference:"barrelShrineUnlocked"},{id:8639,month:10,year:2015,type:"campground"},{id:8674,month:11,year:2015,type:"preference",preference:"coldAirportAlways"},{id:8706,month:12,year:2015,type:"familiar",familiar:"Machine Elf"},{id:8705,month:1,year:2016,type:"preference",preference:"snojoAvailable"},{id:8836,month:2,year:2016,type:"preference",preference:"telegraphOfficeAvailable"},{id:8989,month:3,year:2016,type:"campground"},{id:9e3,month:4,year:2016,type:"vip"},{id:9016,month:5,year:2016,type:"familiar",familiar:"intergnat"},{id:9033,month:6,year:2016,type:"campground"},{id:9073,month:7,year:2016,type:"preference",preference:"hasDetectiveSchool"},{id:9081,month:8,year:2016,type:"item",item:"protonic accelerator pack"},{id:9103,month:9,year:2016,type:"item",item:"Time-Spinner"},{id:9136,month:10,year:2016,type:"familiar",familiar:"Trick-or-Treating Tot"},{id:9189,month:11,year:2016,type:"campground",item:"packet of thanksgarden seeds"},{id:9203,month:12,year:2016,type:"preference",preference:"gingerbreadCityAvailable"},{id:9296,month:1,year:2017,type:"familiar",familiar:"Space Jellyfish"},{id:9316,month:2,year:2017,type:"preference",preference:"loveTunnelAvailable"},{id:9401,month:3,year:2017,type:"familiar",familiar:"Robortender"},{id:9404,month:4,year:2017,type:"preference",preference:"spacegateAlways"},{id:9478,month:5,year:2017,type:"eudora",eudoraId:4},{id:9492,month:6,year:2017,type:"item",item:"Kremlin's Greatest Briefcase"},{id:9507,month:7,year:2017,type:"campground",item:"Asdon Martin keyfob"},{id:9511,month:8,year:2017,type:"skill",skill:"Meteor Lore"},{id:9528,month:9,year:2017,type:"item",item:"genie bottle"},{id:9541,month:10,year:2017,type:"familiar",familiar:"XO Skeleton"},{id:9572,month:11,year:2017,type:"item",item:"portable pantogram"},{id:9591,month:12,year:2017,type:"item",item:"mumming trunk"},{id:9689,month:1,year:2018,type:"item",item:"January's Garbage Tote"},{id:9712,month:2,year:2018,type:"vip"},{id:9759,month:3,year:2018,type:"campground",item:"packet of tall grass seeds"},{id:9835,month:4,year:2018,type:"preference",preference:"frAlways"},{id:9661,month:5,year:2018,type:"familiar",familiar:"God Lobster"},{id:9920,month:6,year:2018,type:"item",item:"SongBoom™ BoomBox"},{id:9939,month:7,year:2018,type:"familiar",familiar:"Cat Burglar"},{id:9927,month:8,year:2018,type:"item",item:"Bastille Battalion control rig"},{id:9942,month:9,year:2018,type:"preference",preference:"neverendingPartyAlways"},{id:9988,month:10,year:2018,type:"item",item:"latte lovers member's mug"},{id:9989,month:11,year:2018,type:"preference",preference:"voteAlways"},{id:10049,month:12,year:2018,type:"preference",preference:"daycareOpen"},{id:10057,month:1,year:2019,type:"item",item:"Kramco Sausage-o-Matic™"},{id:10165,month:2,year:2019,type:"item",item:"Lil' Doctor™ bag"},{id:10241,month:3,year:2019,type:"item",item:"vampyric cloake"},{id:10187,month:4,year:2019,type:"preference",preference:"prAlways"},{id:10250,month:5,year:2019,type:"item",item:"Fourth of May Cosplay Saber"},{id:10256,month:6,year:2019,type:"item",item:"hewn moon-rune spoon"},{id:10257,month:7,year:2019,type:"item",item:"Beach Comb"},{id:10292,month:8,year:2019,type:"preference",preference:"getawayCampsiteUnlocked"},{id:10323,month:9,year:2019,type:"familiar",familiar:"Pocket Professor"},{id:10332,month:10,year:2019,type:"item",item:"Eight Days a Week Pill Keeper"},{id:10334,month:11,year:2019,type:"campground",item:"diabolic pizza cube"},{id:10345,month:12,year:2019,type:"familiar",familiar:"Red-Nosed Snapper"},{id:10433,month:1,year:2020,type:"item",item:"Bird-a-Day calendar"},{id:10437,month:2,year:2020,type:"item",item:"Powerful Glove"},{id:10481,month:3,year:2020,type:"campground",item:"packet of mushroom spores"},{id:10502,month:4,year:2020,type:"familiar",familiar:"Left-Hand Man"},{id:10532,month:5,year:2020,type:"item",item:"Guzzlr tablet"},{id:10573,month:6,year:2020,type:"item",item:"Iunion Crown"},{id:10579,month:7,year:2020,type:"familiar",familiar:"Melodramedary"},{id:10581,month:8,year:2020,type:"item",item:"SpinMaster™ lathe"},{id:10635,month:9,year:2020,type:"item",item:"Cargo Cultist Shorts"},{id:10644,month:10,year:2020,type:"skill",skill:"Comprehensive Cartography"},{id:10646,month:11,year:2020,type:"item",item:"unwrapped knock-off retro superhero cape"},{id:10648,month:12,year:2020,type:"familiar",familiar:["Ghost of Crimbo Commerce","Ghost of Crimbo Carols","Ghost of Crimbo Cheer"]},{id:10729,month:1,year:2021,type:"item",item:"miniature crystal ball"},{id:10733,month:2,year:2021,type:"skill",skill:"Emotionally Chipped"},{id:10737,month:3,year:2021,type:"item",item:"potted power plant"},{id:10748,month:4,year:2021,type:"item",item:"backup camera"},{id:10750,month:5,year:2021,type:"familiar",familiar:"Shorter-Order Cook"},{id:10760,month:6,year:2021,type:"item",item:"familiar scrapbook"},{id:10761,month:7,year:2021,type:"vip"},{id:10773,month:8,year:2021,type:"eudora",eudoraId:5},{id:10796,month:9,year:2021,type:"item",item:"industrial fire extinguisher"},{id:10801,month:10,year:2021,type:"familiar",familiar:"Vampire Vintner"},{id:10803,month:11,year:2021,type:"item",item:"Daylight Shavings Helmet"},{id:10814,month:12,year:2021,type:"campground",item:"cold medicine cabinet"},{id:10890,month:1,year:2022,type:"preference",preference:"hasCosmicBowlingBall"},{id:10892,month:2,year:2022,type:"item",item:"combat lover's locket"},{id:10895,month:3,year:2022,type:"familiar",familiar:"Grey Goose"},{id:10898,month:4,year:2022,type:"item",item:"Unbreakable Umbrella"},{id:10900,month:5,year:2022,type:"preference",preference:"hasMaydayContract"},{id:10919,month:6,year:2022,type:"item",item:"June cleaver"},{id:10928,month:7,year:2022,type:"item",item:"designer sweatpants"},{id:10931,month:8,year:2022,type:"item",item:"tiny stillsuit"},{id:10951,month:9,year:2022,type:"item",item:"Jurassic Parka"},{id:10953,month:10,year:2022,type:"preference",preference:"hasAutumnaton"},{id:10966,month:11,year:2022,type:"familiar",familiar:"Cookbookbat"},{id:11044,month:12,year:2022,type:"campground",item:"model train set"},{id:11099,month:1,year:2023,type:"campground",item:"packet of rock seeds"},{id:11115,month:2,year:2023,type:"item",item:"S.I.T. Course Completion Certificate"},{id:11168,month:3,year:2023,type:"item",item:"closed-circuit pay phone"},{id:11187,month:4,year:2023,type:"item",item:"cursed monkey's paw"},{id:11222,month:5,year:2023,type:"item",item:"Cincho de Mayo"},{id:11256,month:6,year:2023,type:"item",item:"2002 Mr. Store Catalog"},{id:11300,month:7,year:2023,type:"familiar",familiar:"Patriotic Eagle"},{id:11305,month:8,year:2023,type:"item",item:"august scepter"},{id:11333,month:9,year:2023,type:"skill",skill:"Just the Facts"},{id:11335,month:10,year:2023,type:"familiar",familiar:"Jill-of-All-Trades"},{id:11340,month:11,year:2023,type:"campground"},{id:11364,month:12,year:2023,type:"item",item:"candy cane sword cane"},{id:11540,month:1,year:2024,type:"familiar",familiar:"Chest Mimic"},{id:11545,month:2,year:2024,type:"item",item:"spring shoes"},{id:11560,month:3,year:2024,type:"item",item:"Everfull Dart Holster"},{id:11564,month:4,year:2024,type:"item",item:"Apriling band helmet"},{id:11571,month:5,year:2024,type:"item",item:"Mayam Calendar"},{id:11591,month:6,year:2024,type:"familiar",familiar:"Mini Kiwi"}];var Xl=(e=>(e[e.NONE=0]="NONE",e[e.BOXED=1]="BOXED",e[e.BOUND=2]="BOUND",e))(Xl||{});function VAe(e=0){const t=JSON.stringify(Wx).length;return t===e?null:{data:Wx,size:t}}const qAe=(e="")=>e.split("").map((t,r)=>{var n;return[((n=Wx[r])==null?void 0:n.id)??null,Number(t)]});var k0=(e=>(e[e.NONE=0]="NONE",e[e.HAVE=1]="HAVE",e))(k0||{});const WAe=(e="")=>e.split(",").map(t=>{const r=t.split(":");return[Number(r[0]),r[1]?Number(r[1]):1]}),HAe=e=>{const t=Object.fromEntries(e.split(",").map(r=>r.split(":")).map(([r,n])=>[r,r==="timestamp"?Number(n):n]));return t.version||(t.version=1),t},uU=-3,lU=-2,Hx=[{id:uU,name:"Softcore",image:"itemimages/karma.gif",items:[],equipment:[7985,7986,7987,7988,7989,7990,8092,8093,8094,8095,8096,8097,8106,8107,8108,8109,8110,8111,8120,8121,8122,8123,8124,8125,10082,10083,10084,10085,10086,10087,10098,10099,10100,10101,10102,10103,10114,10115,10116,10117,10118,10119,10130,10131,10132,10133,10134,10135,11028,11029,11030,11031,11032,11033,11504,11505,11506,11507,11508,11509],tattoos:[{name:"Seal Clubber",image:"class1"},{name:"Turtle Tamer",image:"class2"},{name:"Pastamancer",image:"class3"},{name:"Sauceror",image:"class4"},{name:"Disco Bandit",image:"class5"},{name:"Accordion Thief",image:"class6"},{name:"Normal Ascensions",image:["asc01","asc02","asc03","asc04","asc05","asc06","asc07","asc08","asc09","asc10","asc11","asc12"]}],points:null,maxPoints:0},{id:lU,name:"Hardcore",image:"otherimages/sigils/staintat.gif",items:[],equipment:[1224,1225,1226,1227,1228,1229,7991,7992,7993,7994,7995,7996,8099,8100,8101,8102,8103,8104,8113,8114,8115,8116,8117,8118,8127,8128,8129,8130,8131,8132,10090,10091,10092,10093,10094,10095,10106,10107,10108,10109,10110,10111,10122,10123,10124,10125,10126,10127,10138,10139,10140,10141,10142,10143,11020,11021,11022,11023,11024,11025,11512,11513,11514,11515,11516,11517],tattoos:[{name:"Seal Clubber",image:"class1hc"},{name:"Turtle Tamer",image:"class2hc"},{name:"Pastamancer",image:"class3hc"},{name:"Sauceror",image:"class4hc"},{name:"Disco Bandit",image:"class5hc"},{name:"Accordion Thief",image:"class6hc"},{name:"Hardcore Ascensions",image:["hasc01","hasc02","hasc03","hasc04","hasc05","hasc06","hasc07","hasc08","hasc09","hasc10","hasc11","hasc12"]}],points:null,maxPoints:0},{id:-1,name:"Bad Moon",image:"otherimages/sigils/brimtat.gif",items:[],equipment:[2814,2815,2817,2818,2816,2813],tattoos:[],points:null,maxPoints:0},{id:1,name:"Boozetafarian",image:"itemimages/martini.gif",items:[],equipment:[],tattoos:[{name:"Hardcore Boozetafarian",image:"nofood"}],points:null,maxPoints:0},{id:2,name:"Teetotaler",image:"itemimages/bowl.gif",items:[],equipment:[],tattoos:[{name:"Hardcore Teetotaler",image:"nobeer"}],points:null,maxPoints:0},{id:3,name:"Oxygenarian",image:"itemimages/smalloxy.gif",items:[],equipment:[1230,1231,1232,1233,1234,1235],tattoos:[{name:"Hardcore Oxygenarian",image:"oxy"}],points:null,maxPoints:0},{id:4,name:"Bees Hate You",image:"itemimages/beeicon.gif",items:[5141],equipment:[],tattoos:[],points:null,maxPoints:0},{id:6,name:"Way of the Surprising Fist",image:"itemimages/wosp_fist.gif",items:[5222],equipment:[],tattoos:[],points:null,maxPoints:0},{id:7,name:"Trendy",image:"itemimages/trendyicon.gif",items:[5392],equipment:[],tattoos:[],points:null,maxPoints:0},{id:8,name:"Avatar of Boris",image:"itemimages/trusty.gif",items:[5572],equipment:[],tattoos:[{name:"Boris",image:"class11"},{name:"Hardcore Boris",image:"class11hc"}],points:"borisPoints",maxPoints:29},{id:9,name:"Bugbear Invasion",image:"itemimages/familiar39.gif",items:[5694],equipment:[],tattoos:[],points:null,maxPoints:0},{id:10,name:"Zombie Slayer",image:"itemimages/tombstone.gif",items:[5773],equipment:[],tattoos:[{name:"Zombie Slayer",image:"class12"},{name:"Hardcore Zombie Slayer",image:"class12hc"}],points:"zombiePoints",maxPoints:30},{id:11,name:"Class Act",image:"itemimages/motorboat.gif",items:[6045],equipment:[],tattoos:[],points:null,maxPoints:0},{id:12,name:"Avatar of Jarlsberg",image:"itemimages/jarlhat.gif",items:[6298],equipment:[],tattoos:[{name:"Jarlsberg",image:"class14"},{name:"Hardcore Jarlsberg",image:"class14hc"}],points:"jarlsbergPoints",maxPoints:30},{id:14,name:"BIG!",image:"itemimages/bigicon.gif",items:[6547],equipment:[],tattoos:[],points:null,maxPoints:0},{id:15,name:"KOLHS",image:"itemimages/kolhsicon.gif",items:[6676],equipment:[],tattoos:[],points:"yearbookCameraAscensions",maxPoints:20},{id:16,name:"Class Act II: A Class For Pigs",image:"itemimages/motorboat2.gif",items:[6899],equipment:[],tattoos:[],points:null,maxPoints:0},{id:17,name:"Avatar of Sneaky Pete",image:"itemimages/bigglasses.gif",items:[7249],equipment:[],tattoos:[{name:"Sneaky Pete",image:"class15"},{name:"Hardcore Sneaky Pete",image:"class15hc"}],points:"sneakyPetePoints",maxPoints:30},{id:18,name:"Slow and Steady",image:"itemimages/sas.gif",items:[7498],equipment:[],tattoos:[],points:null,maxPoints:0},{id:19,name:"Heavy Rains",image:"itemimages/familiar31.gif",items:[7668],equipment:[],tattoos:[],points:["heavyRainsStartingLightning","heavyRainsStartingThunder","heavyRainsStartingRain"],maxPoints:9},{id:21,name:"Picky",image:"itemimages/pickypath.gif",items:[7935,7936],equipment:[],tattoos:[],points:null,maxPoints:0},{id:22,name:"Standard",image:"itemimages/standardicon.gif",items:[],equipment:[],tattoos:[],points:null,maxPoints:0},{id:23,name:"Actually Ed the Undying",image:"itemimages/scarab.gif",items:[8087],equipment:[],tattoos:[{name:"Ed the Undying",image:"class17"},{name:"Hardcore Ed the Undying",image:"class17hc"}],points:"edPoints",maxPoints:20},{id:24,name:"Crazy Random Summer",image:"itemimages/dice.gif",items:[8296],equipment:[],tattoos:[],points:null,maxPoints:0},{id:25,name:"Community Service",image:"itemimages/csplaquesmall.gif",items:[8556],equipment:[],tattoos:[],points:null,maxPoints:0},{id:26,name:"Avatar of West of Loathing",image:"itemimages/badge.gif",items:[8984],equipment:[],tattoos:[{name:"Cow Puncher",image:"class18"},{name:"Hardcore Cow Puncher",image:"class18hc"},{name:"Beanslinger",image:"class19"},{name:"Hardcore Beanslinger",image:"class19hc"},{name:"Snake Oiler",image:"class20"},{name:"Hardcore Snake Oiler",image:"class20hc"}],points:["awolPointsCowpuncher","awolPointsBeanslinger","awolPointsSnakeoiler"],maxPoints:30},{id:27,name:"The Source",image:"itemimages/ss_datasiphon.gif",items:[9031],equipment:[],tattoos:[],points:"sourcePoints",maxPoints:12},{id:28,name:"Nuclear Autumn",image:"itemimages/radiation.gif",items:[9099,9084],equipment:[],tattoos:[],points:"nuclearAutumnPoints",maxPoints:23},{id:29,name:"Gelatinous Noob",image:"itemimages/gcube.gif",items:[9346],equipment:[],tattoos:[{name:"Gelatinous Noob",image:"class23"},{name:"Hardcore Gelatinous Noob",image:"class23hc"}],points:"noobPoints",maxPoints:20},{id:30,name:"License to Adventure",image:"itemimages/briefcase.gif",items:[9488],equipment:[],tattoos:[],points:"bondPoints",maxPoints:23},{id:31,name:"Live. Ascend. Repeat.",image:"itemimages/watch.gif",items:[9525,9526],equipment:[],tattoos:[],points:null,maxPoints:0},{id:32,name:"Pocket Familiars",image:"itemimages/spiritorb.gif",items:[9758],equipment:[],tattoos:[],points:"todo: make a pref that tracks starting pokedollars",maxPoints:10},{id:33,name:"G-Lover",image:"itemimages/g-loveheart.gif",items:[9917,9910],equipment:[],tattoos:[{name:"Gattoo",image:"gtat"}],points:"gloverPoints",maxPoints:10},{id:34,name:"Disguises Delimit",image:"itemimages/dd_icon.gif",items:[9941],equipment:[],tattoos:[],points:"masksUnlocked",maxPoints:25},{id:35,name:"Dark Gyffte",image:"itemimages/darkgift.gif",items:[10184],equipment:[],tattoos:[{name:"Vampyre",image:"class24"},{name:"Hardcore Vampyre",image:"class24hc"}],points:"darkGyfftePoints",maxPoints:23},{id:36,name:"Two Crazy Random Summer",image:"itemimages/twocrazydice.gif",items:[10253,10252],equipment:[],tattoos:[],points:"twoCRSPoints",maxPoints:37},{id:37,name:"Kingdom of Exploathing",image:"itemimages/puff.gif",items:[10319],equipment:[],tattoos:[],points:"skillLevel188",maxPoints:13},{id:38,name:"Path of the Plumber",image:"itemimages/mario_mushroom1.gif",items:[10470,10501],equipment:[],tattoos:[{name:"Plumber",image:"class25"},{name:"Hardcore Plumber",image:"class25hc"}],points:"plumberPoints",maxPoints:11},{id:39,name:"Low Key Summer",image:"itemimages/littlelock.gif",items:[10570],equipment:[],tattoos:[],points:null,maxPoints:0},{id:40,name:"Grey Goo",image:"itemimages/greygooball.gif",items:[10601],equipment:[],tattoos:[],points:null,maxPoints:0},{id:41,name:"You, Robot",image:"itemimages/robobattery.gif",items:[10736],equipment:[],tattoos:[],points:"youRobotPoints",maxPoints:12},{id:42,name:"Quantum Terrarium",image:"itemimages/quantum.gif",items:[10757,10758],equipment:[],tattoos:[],points:"quantumPoints",maxPoints:11},{id:43,name:"Wildfire",image:"itemimages/fire.gif",items:[10791],equipment:[],tattoos:[],points:null,maxPoints:0},{id:44,name:"Grey You",image:"itemimages/greygooring.gif",items:[10894],equipment:[],tattoos:[{name:"Grey Goo",image:"class27"},{name:"Hardcore Grey Goo",image:"class27hc"}],points:"greyYouPoints",maxPoints:11},{id:45,name:"Journeyman",image:"itemimages/map.gif",items:[10918,10917],equipment:[],tattoos:[],points:null,maxPoints:0},{id:46,name:"Fall of the Dinosaurs",image:"itemimages/dinostuffy.gif",items:[10950,10949],equipment:[],tattoos:[],points:null,maxPoints:0},{id:47,name:"Avatar of Shadows Over Loathing",image:"itemimages/aosol.gif",items:[11166],equipment:[],tattoos:[{name:"Pig Skinner",image:"class28"},{name:"Hardcore Pig Skinner",image:"class28hc"},{name:"Cheese Wizard",image:"class29"},{name:"Hardcore Cheese Wizard",image:"class29hc"},{name:"Jazz Agent",image:"class30"},{name:"Hardcore Jazz Agent",image:"class30hc"}],points:["asolPointsPigSkinner","asolPointsCheeseWizard","asolPointsJazzAgent"],maxPoints:11},{id:48,name:"Legacy of Loathing",image:"itemimages/xx.gif",items:[11255],equipment:[],tattoos:[],points:"legacyPoints",maxPoints:19},{id:49,name:"A Shrunken Adventurer am I",image:"itemimages/kiloskull.gif",items:[11326],equipment:[],tattoos:[],points:"skillLevel227",maxPoints:11},{id:50,name:"WereProfessor",image:"itemimages/intrinsic_beast.gif",items:[11563],equipment:[],tattoos:[{name:"WereProfessor",image:"class31"},{name:"Hardcore WereProfessor",image:"class31hc"}],points:"wereProfessorPoints",maxPoints:23}];function GAe(e=0){const t=JSON.stringify(Hx).length;return t===e?null:{data:Hx,size:t}}const KAe=32,$Ae=16,YAe=(e="")=>{const t=e.split(",");return Hx.map(r=>{let n=(t[r.id+3]||"").padEnd(r.items.length+r.equipment.length+r.tattoos.length,"0");const i=parseInt(n.substring(0,1),KAe);n=n.substring(1);const a=n.substring(0,r.items.length).split("").map(u=>Number(u));n=n.substring(r.items.length);const o=n.substring(0,r.equipment.length).split("").map(u=>Number(u));n=n.substring(r.equipment.length);const s=n.split("").map(u=>parseInt(u,$Ae));return[r.id,i,a,o,s]})};var _i=(e=>(e[e.NONE=0]="NONE",e[e.SOFTCORE=1]="SOFTCORE",e[e.HARDCORE=2]="HARDCORE",e))(_i||{});const cU=[{skillIds:[191,192,193],groupName:"Drippy Skill"}],XAe=(e="")=>{let t=1;const r=[];for(let n=0;n`hobotat${t+1}`),misc:4},{name:"St. Sneaky Pete's Day",image:["sspdtat1","sspdpook2","sspdfipp3","sspd4plunk","sspdfi5if"],misc:5},{name:"Demon",image:"demontat",misc:6},{name:"Best Game Ever",image:"margaraxe",misc:7},{name:"Loathing Legion",image:"lltat",misc:8},{name:"Alice's Army Foil",image:"foilheart",misc:9},{name:"Corrupted Data",image:"datatat",misc:10},{name:"Mark of the Bugbear",image:"dv_tat1",misc:11},{name:"Mark of the Ghost",image:"dv_tat2",misc:12},{name:"Mark of the Skeleton",image:"dv_tat3",misc:13},{name:"Mark of the Vampire",image:"dv_tat4",misc:14},{name:"Mark of the Werewolf",image:"dv_tat5",misc:15},{name:"Mark of the Zombie",image:"dv_tat6",misc:16},{name:"Official Seal of Dreadsylvania",image:"dvinntat",misc:17},{name:"Spring Break",image:"sbreaktat",misc:18},{name:"Merc Core",image:"merctat",misc:19},{name:"Dinsey",image:"dinseytat",misc:20},{name:"DEBBIE",image:"debbietat",misc:21},{name:"Wal-Mart",image:"walmarttat",misc:22},{name:"LT&T",image:"ltttat",misc:23},{name:"Airplane",image:"planetat",misc:24},{name:"White Rabbit",image:"sourcetat",misc:25},{name:"Detective Badge",image:"detbadge",misc:26},{name:"Proton",image:"protontat",misc:27},{name:"Twitch Television",image:"twitchtat",misc:28},{name:"Eternal Knot",image:"eternaltat",misc:29},{name:"Spacegate Initiative",image:"sgtat",misc:30},{name:"New You",image:"newyou",misc:31},{name:"Battoo",image:"batmantat",misc:32},{name:"I ❤️ Gingerbread City",image:"gingercitytat",misc:33},{name:"KGB",image:"kgbtat",misc:34},{name:"FantasyRealm",image:"frtat",misc:35},{name:"Bastille Battalion",image:"bbatttat",misc:36},{name:"Gattoo",image:"gtat",misc:37},{name:"Party Tattoo™",image:"partytat",misc:38},{name:"Crimbo 2018",image:"c18tat",misc:39},{name:"Red Roger",image:"redrogertat",misc:40},{name:"Guzzlr",image:"guzzlrtat2",misc:41},{name:"Yeg",image:"yegtat",misc:42},{name:"Crimbo Cheer",image:"c20cheer",misc:43},{name:"Crimbo Carol",image:"c20carols",misc:44},{name:"Crimbo Commerce",image:"c20commerce",misc:45},{name:"Shadow",image:"shadowtat",misc:46},{name:"Super-Heated Leaf",image:"al_tat",misc:47}];var Gd=(e=>(e[e.NONE=0]="NONE",e[e.HAVE_OUTFIT=1]="HAVE_OUTFIT",e[e.HAVE=2]="HAVE",e))(Gd||{});function ZAe(e=0){const t=JSON.stringify(e4).length;return t===e?null:{data:e4,size:t}}function t1(e){return"outfit"in e}function sT(e){return"misc"in e}function uT(e){return Hd(e.image).length}const QAe=32,t4=(e="")=>e.split("").map((t,r)=>[r+1,parseInt(t,QAe)]),r4=[{id:1,name:"Little Boat",image:"gonna_need_a_smaller_boat"},{id:2,name:"Big Boat",image:"party_on_the_big_boat"},{id:3,name:"I Heart Canadia",image:"get_oot_eh"},{id:4,name:"100 Pound Load",image:"heavy_lourde"},{id:5,name:"300 Pound Load",image:"crushed_under_pets"},{id:6,name:"Silver Yeti",image:"awwwwww"},{id:7,name:"Golden Yeti",image:"yeti_pants_now"},{id:8,name:"Palindrophy",image:"a_dog_a_plan"},{id:9,name:"Platinum Skull",image:"big_head_todd"},{id:10,name:"Disgusting Cocktail",image:"the_nastiest_cocktail"},{id:11,name:"The Ghuol Cup",image:"ghuolishly_good"},{id:12,name:"Der Toastdieb",image:"you_done_took_my_toast"},{id:14,name:"Easy Come Easy Go",image:"van_went"},{id:15,name:"Bouquet of Hippies",image:"dirt_and_dirty"},{id:16,name:"Weeping Pizza",image:"angst_with_extra_cheese"},{id:17,name:"Black Hole Terrarium",image:"he_aint_heavy_hes_my_familiar"},{id:18,name:"Failure To Communicate",image:"shakin_the_bush_here_boss"},{id:19,name:"Tiny Plastic Trophy",image:"nice_trophy_pablo_honey"},{id:20,name:"99 Red Balloons",image:"in_a_little_toy_shop"},{id:21,name:"Gadget Inspector",image:"go_go_gadget_trophy"},{id:22,name:"Boss Boss",image:"dancing_in_the_dark"},{id:23,name:"Jack of Several Trades",image:"master_of_nuns"},{id:24,name:"Gourdcore",image:"gored_to_the_core"},{id:25,name:"Let My Bugbears Go!",image:"you_damned_dirty_human"},{id:26,name:"Trivially Skilled",image:"look_what_i_can_do"},{id:27,name:"This Lousy Trophy",image:"not_worth_the_wait"},{id:28,name:"Three-Tiered Trophy",image:"no_less_than_three"},{id:29,name:"Friend of Elves",image:"thats_too_friendly_pippin"},{id:30,name:"Reindeer Hunter",image:"run_over_by_grandma"},{id:31,name:"Brass Bowling Trophy Trophy",image:"the_dude_abides"},{id:32,name:"Look, Ma! No Pants!",image:"not_wearing_any_pants"},{id:33,name:"Slice and Dice",image:"with_friends_like_these"},{id:34,name:"Gender Bender",image:"ladies_and_gentlemen"},{id:35,name:"Golden Meat Stack",image:"hood_ornament"},{id:36,name:"Your Log Saw Something That Night",image:"better_than_bad_its_good"},{id:37,name:"Little Chickadee",image:"no_well_ten_beers"},{id:38,name:"The Three Amigos",image:"you_shot_the_invisible_swordsman"},{id:39,name:"Festive Dismemberment",image:"in_deep_end_ents"},{id:40,name:"Best Meal of My Life",image:"also_ate_zarathustra"},{id:41,name:"Scourge of Seals",image:"undercover_clubber"},{id:42,name:"Tzar of Turtles",image:"tortoise_reform"},{id:43,name:"Potentate of Pasta",image:"stop_noodling_around"},{id:44,name:"Sauciest Saucier",image:"lost_in_the_sauce_once_again"},{id:45,name:"Duke of Disco",image:"saturday_night_inferno"},{id:46,name:"Maestro of Mariachi",image:"dance_round_the_room_to_accordion_keys"},{id:47,name:"The Butler Did It",image:"your_mom_knows_the_butler"},{id:48,name:"Slapstick",image:"whoops_whoops_whoops"},{id:49,name:"Moderation In All Things",image:"eliza_knew_best"},{id:50,name:"The Right Tool For The Job",image:"and_a_filthy_job_it_is"},{id:51,name:"Hothouse Hero",image:"gonna_go_fondle_my_sweaters"},{id:52,name:"Cool Customer",image:"like_a_cucumber_on_pluto"},{id:53,name:"Dreadful, Just Dreadful",image:"horror_has_a_new_name"},{id:54,name:"Malodorous",image:"melodious_and_mellifluous"},{id:55,name:"Wink Wink, Nudge Nudge",image:"this_parrot_is_nude"},{id:56,name:"Crossroads",image:"my_shrimps_was_dead_and_gone"},{id:57,name:"Friend of the Devils",image:"jeremiah_was_a_bullfrog"},{id:58,name:"Bringer of Storms",image:"jeff_was_right"},{id:59,name:"Eerily Skilled",image:"howd_you_do_that_man_thats_creepy"},{id:60,name:"I Love A Parade",image:"but_it_doesnt_love_me_back"},{id:61,name:"Awwww, Yeah",image:"dont_worry_your_pretty_little_head"},{id:62,name:"Phileas Foggy",image:"just_like_tara_reid"},{id:63,name:"Extinctionist",image:"you_were_devoutly_aligned"},{id:64,name:"Dirty Laundry",image:"kick_em_when_theyre_up"},{id:65,name:"Amateur Tour Guide",image:"this_boat_sucks"},{id:66,name:"Professional Tour Guide",image:"now_ive_seen_it_all"},{id:67,name:"Brave Sir Robin",image:"in_soviet_russia_minstrels_eat_you"},{id:68,name:"Desert Wind",image:"what_the_hell_are_colitas_anyway"},{id:69,name:"Two-Tiered Tiny Plastic Trophy",image:"just_like_grandmas_dentures"},{id:70,name:"Master Paster",image:"who_runs_bartertown"},{id:71,name:"Golden Spatula",image:"and_thats_all"},{id:72,name:"Melon Baller, Shot Caller",image:"i_hardly_know_her"},{id:73,name:"BAM!",image:"what_do_you_want_on_your_tombstone"},{id:74,name:"Speakeasy Savant",image:"ill_make_a_note_of_it"},{id:75,name:"Honky Tonk Hero",image:"hippy_hippy_shake"},{id:76,name:"Cantina Commander",image:"on_channel_z"},{id:77,name:"Apprentice Meatsmacker",image:"tong_tong_tong_tong_ta_tong_tong"},{id:78,name:"Journeyman Meatsmacker",image:"now_all_you_need_is_a_sickle"},{id:79,name:"Master Meatsmacker",image:"two_tickets_to_anville"},{id:80,name:"Preciousss",image:"hey_vern_its_jewels"},{id:81,name:"The One That Didn't Get Away",image:"visitors_stink_earlier"},{id:82,name:"Losing Your Marbles",image:"garble_varble_zous"},{id:83,name:"Hunter In Darkness",image:"dodecahardon"},{id:84,name:"Evil's Okay in My Book",image:"im_a_little_bit_country"},{id:85,name:"A Little Help From My Friends",image:"oh_i_get_by"},{id:86,name:"Dancing With the Stars",image:"every_which_way_but_footloose"},{id:87,name:"Every Part of the Seal",image:"especially_those_face_scars"},{id:88,name:"Spaghettihose",image:"screw_you_atkins"},{id:89,name:"Color Wheel of Yuck",image:"please_dont_taste_the_rainbow"},{id:90,name:"Septuple Platinum",image:"steal_this_music"},{id:91,name:"Professional Photographer",image:"raggedy_annie_leibovitz"},{id:92,name:"General Assembler",image:"thats_numberwang"},{id:93,name:"Penultimate Fantasy VII",image:"aeris_kills_dumbledore"},{id:94,name:"The Wrong Place at the Right Time",image:"ocd_genocide"},{id:95,name:"Who Hustles The Hustlers?",image:"giant_blue_pool_cue"},{id:96,name:"A Screw Ain't One",image:"in_a_fruit_fight"},{id:97,name:"Had to Have Caught Them All",image:"ocd_i_choose_you"},{id:98,name:"Buzzkill",image:"ow_my_everything"},{id:99,name:"Elf Barker",image:"spay_or_neuter_your_pets"},{id:100,name:"Mixed Martial Arts",image:"sweat_grope_punch_repeat"},{id:101,name:"Hadouken!",image:"tatsumaki_senpuu_kyaku"},{id:102,name:"Good Will Punching",image:"fisting_for_dollars"},{id:103,name:"Moving Target",image:"wal_mart_is_stationary"},{id:104,name:"Grand Slammer",image:"gonna_need_a_bigger_plaque"},{id:105,name:"And My Axe",image:"look_out_death_adder"},{id:106,name:"Spirited Drinker",image:"never_sicker"},{id:107,name:"Papier Than Thou",image:"papier_i_hardly_know_her"},{id:108,name:"Fantastic Voyager",image:"for_your_weiner_am_i_right_ha_ha_ha"},{id:109,name:"Haggis Haggis Haggis Haggis Haggis",image:"haggis_is_as_haggis_does"},{id:110,name:"Now You've Tasted Everything",image:"i_can_taste_the_cosmos"},{id:111,name:"The Old College Try",image:"natures_harmonic"},{id:112,name:"Great Responsibility",image:"time_to_get_a_dog_i_guess"},{id:113,name:"Three-Tiered Tiny Plastic Trophy",image:"little_asian_different"},{id:114,name:"Cosmic Thing",image:"fruity_egocentric_magician"},{id:115,name:"Right Outfit, Wrong Place",image:"more_or_less_right_time"},{id:116,name:"Dreadful Rainbow",image:"taste_the_pain"},{id:117,name:"Horror Enthusiast",image:"ermagerd_berks"},{id:118,name:"Full Heart",image:"clear_eyes_dumb_shirt"},{id:119,name:"Extended Capacity",image:"warranty_sold_separately"},{id:120,name:"Kissing Maniac",image:"bastard_son_thereof"},{id:121,name:"Cruising For Six Bruisings",image:"dont_bleed_it_all_in_one_place"},{id:122,name:"Eleven Down, None to Go",image:"this_is_getting_ridiculous"},{id:123,name:"Purity of Essence",image:"could_you_describe_the_ruckus"},{id:124,name:"Ansel Adams Jr.",image:"who_here_knows_quark_express"},{id:125,name:"No Particular Reason",image:"take_a_chanceacus"},{id:126,name:"Bronzed Tin Can",image:"put_gilded_lilies_in_it"},{id:127,name:"True Believer",image:"wheel_of_space"},{id:128,name:"EEZY PEEZY",image:"pez_porridge_hot"},{id:129,name:"Very Like a Whale",image:"oh_no_not_again"},{id:130,name:"Gyro Hero",image:"hero_dreams_of_gyros"},{id:131,name:"Alia Iacta Est",image:"d_c_cab_squared"},{id:132,name:"Always Cloaca Cola",image:"the_choice_of_an_old_generation"},{id:133,name:"Thar She Blows!",image:"barfily_ever_after"},{id:134,name:"Partners in Crime",image:"criminal_conspiracy"},{id:135,name:"Party Killer",image:"you_ruin_everything"},{id:136,name:"Master Craftsman",image:"the_harder_side_of_sears"},{id:137,name:"Cool Guy",image:"cool_gold_jeff_game_cool"},{id:138,name:"Option Paralysis",image:"shirto_redbetter"},{id:139,name:"Omni-Cosplay",image:"may_the_force_boldy_go_a_wizard"},{id:140,name:"11 Martini Breakfast",image:"she_told_me_to_pick_up_olives"},{id:141,name:"Golden Pickaxe",image:"baloneysaurux_text"},{id:142,name:"Golden Idol",image:"bananarama_crux"},{id:143,name:"Golden Moustache",image:"badonkadonkus_flex"},{id:144,name:"Golden Burglar",image:"banangrama_xer"},{id:146,name:"Some Assembly Required",image:"college_kids_and_divorced_men"},{id:147,name:"Bucket List",image:"anger_management_about_schmidt"},{id:148,name:"Gotpork Connoisseur",image:"this_town_needs_an_enema"},{id:149,name:"A Gallon of Milk Keeps the Doctor Away",image:"this_this_lemonade"},{id:150,name:"Prime Directive Director",image:"ilovewesley"},{id:151,name:"Tentacle Tickler",image:"oh_the_horror"},{id:152,name:"LOVE, LOVE, LOVE",image:"all_you_need_is_it"},{id:153,name:"Gelatinous Hubris",image:"i_had_to_drink_from_the_liquid_cup"},{id:154,name:"Salads of Many Worlds",image:"in_space_noone_can_hear_you_laugh"},{id:155,name:"Ultimate Cosmic Power",image:"eleven_inch_flautist"},{id:156,name:"Commemorative Replica Blob",image:"cross_about_naught"},{id:157,name:"You Do It To Yourself",image:"working_class_republican"},{id:158,name:"Traditional Crimbo",image:"yule_be_happy"},{id:159,name:"Steak and a Beer, Eh?",image:"we_found_a_dead_mouse"},{id:160,name:"Talking Heads",image:"twenty_two_eyes"},{id:161,name:"Yule Have a Headache Tomorrow",image:"cuppa_cuppa_burning_goo"},{id:162,name:"Dreaming of a Bland Crimbo",image:"every_christmas_is_like_sunday"},{id:163,name:"HIGH SCORE",image:"no_religion_too"}];var r1=(e=>(e[e.NONE=0]="NONE",e[e.HAVE=1]="HAVE",e))(r1||{});function JAe(e=0){const t=JSON.stringify(r4).length;return t===e?null:{data:r4,size:t}}const ewe=(e="")=>e.split("").map((t,r)=>[r+1,Number(t)]),twe=2;function n4(e){const t=jAe.uncrush(decodeURIComponent(e.replace(/\n/g,""))),r=JSON.parse(t);return{meta:HAe(r.meta),skills:XAe(r.skills),familiars:zAe(r.familiars),trophies:ewe(r.trophies),outfitTattoos:t4(r.outfitTattoos),miscTattoos:t4(r.miscTattoos),paths:YAe(r.paths),iotms:qAe(r.iotms),items:WAe(r.items)}}var lT="persist:",cT="persist/FLUSH",n1="persist/REHYDRATE",fT="persist/PAUSE",dT="persist/PERSIST",pT="persist/PURGE",hT="persist/REGISTER",rwe=-1;function fg(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fg=function(r){return typeof r}:fg=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fg(e)}function i4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nwe(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function hwe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var mwe=5e3;function gwe(e,t){var r=e.version!==void 0?e.version:rwe;e.debug;var n=e.stateReconciler===void 0?awe:e.stateReconciler,i=e.getStoredState||uwe,a=e.timeout!==void 0?e.timeout:mwe,o=null,s=!1,u=!0,l=function(f){return f._persist.rehydrated&&o&&!u&&o.update(f),f};return function(c,f){var d=c||{},p=d._persist,m=pwe(d,["_persist"]),h=m;if(f.type===dT){var v=!1,y=function(T,k){v||(f.rehydrate(e.key,T,k),v=!0)};if(a&&setTimeout(function(){!v&&y(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},a),u=!1,o||(o=owe(e)),p)return Sa({},t(h,f),{_persist:p});if(typeof f.rehydrate!="function"||typeof f.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then(function(w){var T=e.migrate||function(k,O){return Promise.resolve(k)};T(w,r).then(function(k){y(k)},function(k){y(void 0,k)})},function(w){y(void 0,w)}),Sa({},t(h,f),{_persist:{version:r,rehydrated:!1}})}else{if(f.type===pT)return s=!0,f.result(cwe(e)),Sa({},t(h,f),{_persist:p});if(f.type===cT)return f.result(o&&o.flush()),Sa({},t(h,f),{_persist:p});if(f.type===fT)u=!0;else if(f.type===n1){if(s)return Sa({},h,{_persist:Sa({},p,{rehydrated:!0})});if(f.key===e.key){var g=t(h,f),b=f.payload,S=n!==!1&&b!==void 0?n(b,c,g,e):g,x=Sa({},S,{_persist:Sa({},p,{rehydrated:!0})});return l(x)}}}if(!p)return t(c,f);var E=t(h,f);return E===h?c:l(Sa({},E,{_persist:p}))}}function o4(e){return bwe(e)||ywe(e)||vwe()}function vwe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ywe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function bwe(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:fU,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case hT:return Gx({},t,{registry:[].concat(o4(t.registry),[r.key])});case n1:var n=t.registry.indexOf(r.key),i=o4(t.registry);return i.splice(n,1),Gx({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function Ewe(e,t,r){var n=TC(xwe,fU,void 0),i=function(u){n.dispatch({type:hT,key:u})},a=function(u,l,c){var f={type:n1,payload:l,err:c,key:u};e.dispatch(f),n.dispatch(f)},o=Gx({},n,{purge:function(){var u=[];return e.dispatch({type:pT,result:function(c){u.push(c)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:cT,result:function(c){u.push(c)}}),Promise.all(u)},pause:function(){e.dispatch({type:fT})},persist:function(){e.dispatch({type:dT,register:i,rehydrate:a})}});return o.persist(),o}var mT={},gT={};gT.__esModule=!0;gT.default=Cwe;function dg(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dg=function(r){return typeof r}:dg=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},dg(e)}function ub(){}var Awe={getItem:ub,setItem:ub,removeItem:ub};function wwe(e){if((typeof self>"u"?"undefined":dg(self))!=="object"||!(e in self))return!1;try{var t=self[e],r="redux-persist ".concat(e," test");t.setItem(r,"test"),t.getItem(r),t.removeItem(r)}catch{return!1}return!0}function Cwe(e){var t="".concat(e,"Storage");return wwe(t)?self[t]:Awe}mT.__esModule=!0;mT.default=_we;var Twe=Owe(gT);function Owe(e){return e&&e.__esModule?e:{default:e}}function _we(e){var t=(0,Twe.default)(e);return{getItem:function(n){return new Promise(function(i,a){i(t.getItem(n))})},setItem:function(n,i){return new Promise(function(a,o){a(t.setItem(n,i))})},removeItem:function(n){return new Promise(function(i,a){i(t.removeItem(n))})}}}var dU=void 0,kwe=Pwe(mT);function Pwe(e){return e&&e.__esModule?e:{default:e}}var Dwe=(0,kwe.default)("local");dU=Dwe;/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: Apache-2.0 - */const pU=Symbol("Comlink.proxy"),Rwe=Symbol("Comlink.endpoint"),Lwe=Symbol("Comlink.releaseProxy"),lb=Symbol("Comlink.finalizer"),pg=Symbol("Comlink.thrown"),hU=e=>typeof e=="object"&&e!==null||typeof e=="function",Nwe={canHandle:e=>hU(e)&&e[pU],serialize(e){const{port1:t,port2:r}=new MessageChannel;return gU(e,t),[r,[r]]},deserialize(e){return e.start(),yU(e)}},Mwe={canHandle:e=>hU(e)&&pg in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},mU=new Map([["proxy",Nwe],["throw",Mwe]]);function Iwe(e,t){for(const r of e)if(t===r||r==="*"||r instanceof RegExp&&r.test(t))return!0;return!1}function gU(e,t=globalThis,r=["*"]){t.addEventListener("message",function n(i){if(!i||!i.data)return;if(!Iwe(r,i.origin)){console.warn(`Invalid origin '${i.origin}' for comlink proxy`);return}const{id:a,type:o,path:s}=Object.assign({path:[]},i.data),u=(i.data.argumentList||[]).map(Cs);let l;try{const c=s.slice(0,-1).reduce((d,p)=>d[p],e),f=s.reduce((d,p)=>d[p],e);switch(o){case"GET":l=f;break;case"SET":c[s.slice(-1)[0]]=Cs(i.data.value),l=!0;break;case"APPLY":l=f.apply(c,u);break;case"CONSTRUCT":{const d=new f(...u);l=Vwe(d)}break;case"ENDPOINT":{const{port1:d,port2:p}=new MessageChannel;gU(e,p),l=zwe(d,[d])}break;case"RELEASE":l=void 0;break;default:return}}catch(c){l={value:c,[pg]:0}}Promise.resolve(l).catch(c=>({value:c,[pg]:0})).then(c=>{const[f,d]=R0(c);t.postMessage(Object.assign(Object.assign({},f),{id:a}),d),o==="RELEASE"&&(t.removeEventListener("message",n),vU(t),lb in e&&typeof e[lb]=="function"&&e[lb]())}).catch(c=>{const[f,d]=R0({value:new TypeError("Unserializable return value"),[pg]:0});t.postMessage(Object.assign(Object.assign({},f),{id:a}),d)})}),t.start&&t.start()}function Bwe(e){return e.constructor.name==="MessagePort"}function vU(e){Bwe(e)&&e.close()}function yU(e,t){return Kx(e,[],t)}function dm(e){if(e)throw new Error("Proxy has been released and is not useable")}function bU(e){return Fu(e,{type:"RELEASE"}).then(()=>{vU(e)})}const P0=new WeakMap,D0="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{const t=(P0.get(e)||0)-1;P0.set(e,t),t===0&&bU(e)});function Uwe(e,t){const r=(P0.get(t)||0)+1;P0.set(t,r),D0&&D0.register(e,t,e)}function Fwe(e){D0&&D0.unregister(e)}function Kx(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(a,o){if(dm(n),o===Lwe)return()=>{Fwe(i),bU(e),n=!0};if(o==="then"){if(t.length===0)return{then:()=>i};const s=Fu(e,{type:"GET",path:t.map(u=>u.toString())}).then(Cs);return s.then.bind(s)}return Kx(e,[...t,o])},set(a,o,s){dm(n);const[u,l]=R0(s);return Fu(e,{type:"SET",path:[...t,o].map(c=>c.toString()),value:u},l).then(Cs)},apply(a,o,s){dm(n);const u=t[t.length-1];if(u===Rwe)return Fu(e,{type:"ENDPOINT"}).then(Cs);if(u==="bind")return Kx(e,t.slice(0,-1));const[l,c]=uD(s);return Fu(e,{type:"APPLY",path:t.map(f=>f.toString()),argumentList:l},c).then(Cs)},construct(a,o){dm(n);const[s,u]=uD(o);return Fu(e,{type:"CONSTRUCT",path:t.map(l=>l.toString()),argumentList:s},u).then(Cs)}});return Uwe(i,e),i}function jwe(e){return Array.prototype.concat.apply([],e)}function uD(e){const t=e.map(R0);return[t.map(r=>r[0]),jwe(t.map(r=>r[1]))]}const SU=new WeakMap;function zwe(e,t){return SU.set(e,t),e}function Vwe(e){return Object.assign(e,{[pU]:!0})}function R0(e){for(const[t,r]of mU)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:"HANDLER",name:t,value:n},i]}return[{type:"RAW",value:e},SU.get(e)||[]]}function Cs(e){switch(e.type){case"HANDLER":return mU.get(e.name).deserialize(e.value);case"RAW":return e.value}}function Fu(e,t,r){return new Promise(n=>{const i=qwe();e.addEventListener("message",function a(o){!o.data||!o.data.id||o.data.id!==i||(e.removeEventListener("message",a),n(o.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)})}function qwe(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Wwe(e){return new Worker("/assets/duplicateFinder-DIMsb-eT.js",{name:e==null?void 0:e.name})}const xU=Sfe(),Hwe=xU.startListening;Hwe({predicate:(e,t)=>!(![L0.fulfilled,N0.fulfilled,M0.fulfilled,I0.fulfilled,B0.fulfilled,U0.fulfilled].some(r=>r.match(e))||e.payload===null||$x.some(r=>t.loading[r])||t.loading.wikiClashes),effect:async(e,{getState:t,dispatch:r})=>{const n=t(),i=$x.map(a=>n[a]).flat().reduce((a,o)=>"name"in o?[...a,o.name]:a,[]);r(hg(i))}});const Gwe=yU(new Wwe),hg=si("wikiClashes/process",async e=>await Gwe(e)),$x=["classes","effects","familiars","iotms","items","paths","skills","tattoos","trophies"],Kwe={playerId:null,favouritePlayerId:null,playerData:null,classes:[],effects:[],familiars:[],iotms:[],items:[],paths:[],skills:[],tattoos:[],trophies:[],wikiClashes:[],sizeAtLastFetch:{classes:0,effects:0,familiars:0,iotms:0,items:0,paths:0,skills:0,tattoos:0,trophies:0},loading:{classes:!1,effects:!1,familiars:!1,iotms:!1,items:!1,paths:!1,skills:!1,tattoos:!1,trophies:!1,wikiClashes:!1},error:{wikiClashes:!1},errorMessage:{}},Yx=si("classes/fetch",async e=>la.loadClasses(e)),L0=si("effects/fetch",async e=>la.loadEffects(e)),N0=si("familiars/fetch",async e=>la.loadFamiliars(e)),Xx=si("iotms/fetch",async e=>VAe(e)),M0=si("items/fetch",async e=>la.loadItems(e)),Zx=si("paths/fetch",async e=>GAe(e)),I0=si("skills/fetch",async e=>la.loadSkills(e)),B0=si("tattoos/fetch",async e=>ZAe(e)),U0=si("trophies/fetch",async e=>JAe(e)),EU=si("all/fetch",async(e,{getState:t,dispatch:r})=>{const n=t();r(Yx(e?0:n.sizeAtLastFetch.classes)),r(L0(e?0:n.sizeAtLastFetch.effects)),r(N0(e?0:n.sizeAtLastFetch.familiars)),r(Xx(e?0:n.sizeAtLastFetch.iotms)),r(M0(e?0:n.sizeAtLastFetch.items)),r(Zx(e?0:n.sizeAtLastFetch.paths)),r(I0(e?0:n.sizeAtLastFetch.skills)),r(B0(e?0:n.sizeAtLastFetch.tattoos)),r(U0(e?0:n.sizeAtLastFetch.trophies))}),mg=si("playerData/fetch",async e=>{const t=await fetch(`https://oaf.loathers.net/api/greenbox/${e}`),r=await t.json();if(t.status!==200)throw new Error(r.error);return r.greenboxString||r.data}),AU=Li("playerData/load"),wU=Li("favouritePlayerId/update"),$we=nfe({name:"greenbox",initialState:Kwe,reducers:{},extraReducers:e=>{e.addCase(Yx.pending,t=>{t.loading.classes=!0}).addCase(Yx.fulfilled,(t,r)=>{r.payload!==null&&(t.classes=r.payload.data,t.sizeAtLastFetch.classes=r.payload.size),t.loading.classes=!1}).addCase(L0.pending,t=>{t.loading.effects=!0}).addCase(L0.fulfilled,(t,r)=>{r.payload!==null&&(t.effects=r.payload.data,t.sizeAtLastFetch.effects=r.payload.size),t.loading.effects=!1}).addCase(N0.pending,t=>{t.loading.familiars=!0}).addCase(N0.fulfilled,(t,r)=>{r.payload!==null&&(t.familiars=r.payload.data,t.sizeAtLastFetch.familiars=r.payload.size),t.loading.familiars=!1}).addCase(Xx.pending,t=>{t.loading.iotms=!0}).addCase(Xx.fulfilled,(t,r)=>{r.payload!==null&&(t.iotms=r.payload.data,t.sizeAtLastFetch.iotms=r.payload.size),t.loading.iotms=!1}).addCase(M0.pending,t=>{t.loading.items=!0}).addCase(M0.fulfilled,(t,r)=>{if(r.payload!==null){const n=r.payload.data;t.items=n.reduce((i,a)=>({...i,[a.id]:a}),{}),t.sizeAtLastFetch.items=r.payload.size}t.loading.items=!1}).addCase(Zx.pending,t=>{t.loading.paths=!0}).addCase(Zx.fulfilled,(t,r)=>{r.payload!==null&&(t.paths=r.payload.data,t.sizeAtLastFetch.paths=r.payload.size),t.loading.paths=!1}).addCase(I0.pending,t=>{t.loading.skills=!0}).addCase(I0.fulfilled,(t,r)=>{r.payload!==null&&(t.skills=r.payload.data,t.sizeAtLastFetch.skills=r.payload.size),t.loading.skills=!1}).addCase(B0.pending,t=>{t.loading.tattoos=!0}).addCase(B0.fulfilled,(t,r)=>{r.payload!==null&&(t.tattoos=r.payload.data,t.sizeAtLastFetch.tattoos=r.payload.size),t.loading.tattoos=!1}).addCase(U0.pending,t=>{t.loading.trophies=!0}).addCase(U0.fulfilled,(t,r)=>{r.payload!==null&&(t.trophies=r.payload.data,t.sizeAtLastFetch.trophies=r.payload.size),t.loading.trophies=!1}).addCase(hg.pending,t=>{t.loading.wikiClashes=!0,t.error.wikiClashes=!1}).addCase(hg.fulfilled,(t,r)=>{t.wikiClashes=r.payload,t.loading.wikiClashes=!1}).addCase(hg.rejected,t=>{t.error.wikiClashes=!0}).addCase(mg.pending,(t,r)=>{t.loading.playerData=!0}).addCase(mg.fulfilled,(t,r)=>{t.playerId=r.meta.arg;const n=r.payload;try{t.playerData=nD(n),t.error.playerData=!1,t.errorMessage.playerData=void 0}catch{t.error.playerData=!0,t.errorMessage.playerData="Error parsing player data"}t.loading.playerData=!1}).addCase(AU,(t,r)=>{t.playerId=null;const n=r.payload;try{t.playerData=nD(n)}catch{t.error.playerData=!0,t.errorMessage.playerData="Error parsing player data"}}).addCase(mg.rejected,(t,r)=>{t.loading.playerData=!1,t.error.playerData=!0,t.errorMessage.playerData=r.error.message}).addCase(wU,(t,r)=>{t.favouritePlayerId=r.payload})}}),Ywe=[...$x,"wikiClashes","sizeAtLastFetch","favouritePlayerId"],Xwe=gwe({whitelist:Ywe,key:"greenbox",version:1,storage:dU},$we.reducer),CU=qce({reducer:Xwe,middleware:e=>e({serializableCheck:{ignoredActions:[cT,n1,fT,dT,pT,hT]}}).prepend(xU.middleware)}),Zwe=Ewe(CU),is=e=>th([r=>{var n;return(n=r.playerData)==null?void 0:n[e]}],r=>r??[]),TU=is("skills"),OU=th(TU,e=>e.reduce((t,r)=>({...t,[r[0]]:r}),{})),Qwe=th(e=>e.skills,e=>e.reduce((t,r)=>({...t,[r.id]:r}),{})),Jwe=is("items"),vT=is("paths"),_U=is("outfitTattoos"),kU=is("miscTattoos"),yT=th(Jwe,e=>e.reduce((t,r)=>({...t,[r[0]]:r}),{}));function PU(){return xg("","contrast(0.6666) invert(1) hue-rotate(180deg)")}const DU=zZ({config:{initialColorMode:"system",useSystemColorMode:!0,disableTransitionOnChange:!1},styles:{html:{marginLeft:"calc(100vw - 100%)"}},semanticTokens:{colors:{"chakra-body-bg":{_light:"#f6f8fa",_dark:"#2a292a"},accent:{_light:"#ffffff",_dark:"#46454a"},imagebg:{_light:"#ffffff",_dark:"#2a292a"},complete:{_light:"#afa",_dark:"green.800"},partial:{_light:"#eea",_dark:"yellow.800"}}}}),bT=Ole,Ee=gle;var RU={exports:{}},LU={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},NU={exports:{}},eCe=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},tCe=eCe,rCe=Array.prototype.concat,nCe=Array.prototype.slice,lD=NU.exports=function(t){for(var r=[],n=0,i=t.length;n=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};wn.to.keyword=function(e){return IU[e.slice(0,3)]};function Mo(e,t,r){return Math.min(Math.max(t,e),r)}function pm(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var aCe=RU.exports;const Kd=LU,BU={};for(const e of Object.keys(Kd))BU[Kd[e]]=e;const ue={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var UU=ue;for(const e of Object.keys(ue)){if(!("channels"in ue[e]))throw new Error("missing channels property: "+e);if(!("labels"in ue[e]))throw new Error("missing channel labels property: "+e);if(ue[e].labels.length!==ue[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=ue[e];delete ue[e].channels,delete ue[e].labels,Object.defineProperty(ue[e],"channels",{value:t}),Object.defineProperty(ue[e],"labels",{value:r})}ue.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i;let s,u;a===i?s=0:t===a?s=(r-n)/o:r===a?s=2+(n-t)/o:n===a&&(s=4+(t-r)/o),s=Math.min(s*60,360),s<0&&(s+=360);const l=(i+a)/2;return a===i?u=0:l<=.5?u=o/(a+i):u=o/(2-a-i),[s,u*100,l*100]};ue.rgb.hsv=function(e){let t,r,n,i,a;const o=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(o,s,u),c=l-Math.min(o,s,u),f=function(d){return(l-d)/6/c+1/2};return c===0?(i=0,a=0):(a=c/l,t=f(o),r=f(s),n=f(u),o===l?i=n-r:s===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,l*100]};ue.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=ue.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,a*100,n*100]};ue.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),a=(1-t-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return[a*100,o*100,s*100,i*100]};function oCe(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}ue.rgb.keyword=function(e){const t=BU[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(Kd)){const a=Kd[i],o=oCe(e,a);o.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,a=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,a*100,o*100]};ue.rgb.lab=function(e){const t=ue.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const a=116*n-16,o=500*(r-n),s=200*(n-i);return[a,o,s]};ue.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,a,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;const s=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)a=t+1/3*-(l-1),a<0&&a++,a>1&&a--,6*a<1?o=s+(i-s)*6*a:2*a<1?o=i:3*a<2?o=s+(i-s)*(2/3-a)*6:o=s,u[l]=o*255;return u};ue.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const a=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a;const o=(n+r)/2,s=n===0?2*i/(a+i):2*r/(n+r);return[t,s*100,o*100]};ue.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,a=t-Math.floor(t),o=255*n*(1-r),s=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,u,o];case 1:return[s,n,o];case 2:return[o,n,u];case 3:return[o,s,n];case 4:return[u,o,n];case 5:return[n,o,s]}};ue.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let a,o;o=(2-r)*n;const s=(2-r)*i;return a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[t,a*100,o*100]};ue.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let a;i>1&&(r/=i,n/=i);const o=Math.floor(6*t),s=1-n;a=6*t-o,o&1&&(a=1-a);const u=r+a*(s-r);let l,c,f;switch(o){default:case 6:case 0:l=s,c=u,f=r;break;case 1:l=u,c=s,f=r;break;case 2:l=r,c=s,f=u;break;case 3:l=r,c=u,f=s;break;case 4:l=u,c=r,f=s;break;case 5:l=s,c=r,f=u;break}return[l*255,c*255,f*255]};ue.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return[a*255,o*255,s*255]};ue.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,a,o;return i=t*3.2406+r*-1.5372+n*-.4986,a=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]};ue.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,a=500*(t-r),o=200*(r-n);return[i,a,o]};ue.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,a,o;a=(t+16)/116,i=r/500+a,o=a-n/200;const s=a**3,u=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]};ue.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const o=Math.sqrt(r*r+n*n);return[t,o,i]};ue.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,a=r*Math.cos(i),o=r*Math.sin(i);return[t,a,o]};ue.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let a=t===null?ue.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return a===2&&(o+=60),o};ue.hsv.ansi16=function(e){return ue.rgb.ansi16(ue.hsv.rgb(e),e[2])};ue.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};ue.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,a=(t>>2&1)*r*255;return[n,i,a]};ue.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};ue.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};ue.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(s=>s+s).join(""));const n=parseInt(r,16),i=n>>16&255,a=n>>8&255,o=n&255;return[i,a,o]};ue.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),a=Math.min(Math.min(t,r),n),o=i-a;let s,u;return o<1?s=a/(1-o):s=0,o<=0?u=0:i===t?u=(r-n)/o%6:i===r?u=2+(n-t)/o:u=4+(t-r)/o,u/=6,u%=1,[u*360,o*100,s*100]};ue.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};ue.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};ue.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],a=t%1*6,o=a%1,s=1-o;let u=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};ue.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};ue.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};ue.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};ue.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,i=n-t;let a=0;return i<1&&(a=(n-i)/(1-i)),[e[0],i*100,a*100]};ue.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};ue.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};ue.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};ue.gray.hsl=function(e){return[0,0,e[0]]};ue.gray.hsv=ue.gray.hsl;ue.gray.hwb=function(e){return[0,100,e[0]]};ue.gray.cmyk=function(e){return[0,0,0,e[0]]};ue.gray.lab=function(e){return[e[0],0,0]};ue.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};ue.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const F0=UU;function sCe(){const e={},t=Object.keys(F0);for(let r=t.length,n=0;n1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function mCe(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let a=i.length,o=0;o{ju[e]={},Object.defineProperty(ju[e],"channels",{value:Qx[e].channels}),Object.defineProperty(ju[e],"labels",{value:Qx[e].labels});const t=dCe(e);Object.keys(t).forEach(n=>{const i=t[n];ju[e][n]=mCe(i),ju[e][n].raw=hCe(i)})});var gCe=ju;const zu=aCe,Sn=gCe,FU=["keyword","gray","hex"],Jx={};for(const e of Object.keys(Sn))Jx[[...Sn[e].labels].sort().join("")]=e;const j0={};function rr(e,t){if(!(this instanceof rr))return new rr(e,t);if(t&&t in FU&&(t=null),t&&!(t in Sn))throw new Error("Unknown model: "+t);let r,n;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof rr)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=zu.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,n=Sn[this.model].channels,this.color=i.value.slice(0,n),this.valpha=typeof i.value[n]=="number"?i.value[n]:1}else if(e.length>0){this.model=t||"rgb",n=Sn[this.model].channels;const i=Array.prototype.slice.call(e,0,n);this.color=eE(i,n),this.valpha=typeof e[n]=="number"?e[n]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const a=i.sort().join("");if(!(a in Jx))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Jx[a];const{labels:o}=Sn[this.model],s=[];for(r=0;r(e%360+360)%360),saturationl:Ot("hsl",1,zt(100)),lightness:Ot("hsl",2,zt(100)),saturationv:Ot("hsv",1,zt(100)),value:Ot("hsv",2,zt(100)),chroma:Ot("hcg",1,zt(100)),gray:Ot("hcg",2,zt(100)),white:Ot("hwb",1,zt(100)),wblack:Ot("hwb",2,zt(100)),cyan:Ot("cmyk",0,zt(100)),magenta:Ot("cmyk",1,zt(100)),yellow:Ot("cmyk",2,zt(100)),black:Ot("cmyk",3,zt(100)),x:Ot("xyz",0,zt(95.047)),y:Ot("xyz",1,zt(100)),z:Ot("xyz",2,zt(108.833)),l:Ot("lab",0,zt(100)),a:Ot("lab",1),b:Ot("lab",2),keyword(e){return e!==void 0?new rr(e):Sn[this.model].keyword(this.color)},hex(e){return e!==void 0?new rr(e):zu.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new rr(e);const t=this.rgb().round().color;let r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),zu.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const i=n/255;t[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return rr.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),i=t===void 0?.5:t,a=2*i-1,o=r.alpha()-n.alpha(),s=((a*o===-1?a:(a+o)/(1+a*o))+1)/2,u=1-s;return rr.rgb(s*r.red()+u*n.red(),s*r.green()+u*n.green(),s*r.blue()+u*n.blue(),r.alpha()*i+n.alpha()*(1-i))}};for(const e of Object.keys(Sn)){if(FU.includes(e))continue;const{channels:t}=Sn[e];rr.prototype[e]=function(...r){return this.model===e?new rr(this):r.length>0?new rr(r,e):new rr([...bCe(Sn[this.model][e].raw(this.color)),this.valpha],e)},rr[e]=function(...r){let n=r[0];return typeof n=="number"&&(n=eE(r,t)),new rr(n,e)}}function vCe(e,t){return Number(e.toFixed(t))}function yCe(e){return function(t){return vCe(t,e)}}function Ot(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(j0[n]||(j0[n]=[]))[t]=r;return e=e[0],function(n){let i;return n!==void 0?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function zt(e){return function(t){return Math.max(0,Math.min(e,t))}}function bCe(e){return Array.isArray(e)?e:[e]}function eE(e,t){for(let r=0;ro>=0&&o`https://s3.amazonaws.com/images.kingdomofloathing.com/${e}`,[e]);return C.useEffect(()=>{const c=`alphamask-${e}`,f=localStorage.getItem(c);if(f){u({maskImage:`url(${f})`,maskSize:"100% 100%"});return}const d=document.createElement("canvas");d.width=r,d.height=n;const p=d.getContext("2d");async function m(){const v=await(await fetch(l)).blob(),y=await createImageBitmap(v);p.drawImage(y,0,0);const g=p.getImageData(0,0,r,n),b=ECe(g.data,r),S=new ImageData(b,r,n);p.putImageData(S,0,0);const x=d.toDataURL();localStorage.setItem(c,x),u({maskImage:`url(${x})`,maskSize:"100% 100%"})}m()},[l,e]),A.jsx(i1,{alt:t,src:l,width:i,height:a,sx:s,...o})}function ACe(e){return e>0?"complete":null}function jU(e){switch(e){case _i.HARDCORE:return"complete";case _i.SOFTCORE:return"partial";default:return null}}function zU(e){switch(e){case _i.HARDCORE:return"Hardcore permed";case _i.SOFTCORE:return"Softcore permed";default:return"Not permed"}}const wCe=(e,t)=>Array(Math.ceil(e.length/t)).fill(0).map((r,n)=>e.slice(n*t,n*t+t));function CCe(e){return e!=null}function TCe(e){return e.id>=10&&e.id<=14?.1:[80,81,121,128,134,135,144,180,7254].includes(e.id)?.2:e.id>=28&&e.id<=43||e.id===56||e.id===57?.3:e.id>=46&&e.id<=48?.32:e.id>=92&&e.id<=106?.31:Math.floor(e.id/1e3)}function OCe(e,t){if(t)return[t.name,`itemimages/${t.image}.gif`];switch(e){case 0:return["Other","itemimages/book.gif"];case .1:return["Gnomish Gnomad Camp","itemimages/tinygnome.gif"];case .2:return["PvP","itemimages/swords.gif"];case .31:return["Dreadsylvania","itemimages/dvtat.gif"];case .3:return["Hobopolis","otherimages/sigils/hobotat19.gif"];case .32:return["Slime Tube","itemimages/slimeling.gif"];default:return["Unknown","itemimages/book.gif"]}}function _Ce(e){return e.reduce(([t,r],[n,i])=>Wd([[...t,n],[...r,i]]),Wd([[],[]]))}const kCe=hN({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});function ST(){const e=xg(0,100);return A.jsx(_n,{width:37.5,height:37.5,p:1,children:A.jsx(i1,{src:"/loading.png",alt:"Loading",filter:`invert(${e})`,sx:{animation:`${kCe} 1.5s infinite linear`,opacity:"0.3"}})})}var z0={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */z0.exports;(function(e,t){(function(r){var n=t,i=e&&e.exports==n&&e,a=typeof Ne=="object"&&Ne;(a.global===a||a.window===a)&&(r=a);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},f=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},g={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},b=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],S=String.fromCharCode,x={},E=x.hasOwnProperty,w=function(N,W){return E.call(N,W)},T=function(N,W){for(var G=-1,K=N.length;++G=55296&&N<=57343||N>1114111?(W&&I("character reference outside the permissible Unicode range"),"�"):w(g,N)?(W&&I("disallowed character reference"),g[N]):(W&&T(b,N)&&I("disallowed character reference"),N>65535&&(N-=65536,G+=S(N>>>10&1023|55296),N=56320|N&1023),G+=S(N),G)},P=function(N){return"&#x"+N.toString(16).toUpperCase()+";"},B=function(N){return"&#"+N+";"},I=function(N){throw Error("Parse error: "+N)},F=function(N,W){W=k(W,F.options);var G=W.strict;G&&m.test(N)&&I("forbidden code point");var K=W.encodeEverything,X=W.useNamedReferences,ie=W.allowUnsafeSymbols,fe=W.decimal?B:P,Se=function(de){return fe(de.charCodeAt(0))};return K?(N=N.replace(s,function(de){return X&&w(c,de)?"&"+c[de]+";":Se(de)}),X&&(N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),X&&(N=N.replace(l,function(de){return"&"+c[de]+";"}))):X?(ie||(N=N.replace(f,function(de){return"&"+c[de]+";"})),N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),N=N.replace(l,function(de){return"&"+c[de]+";"})):ie||(N=N.replace(f,Se)),N.replace(o,function(de){var Ae=de.charCodeAt(0),$=de.charCodeAt(1),ae=(Ae-55296)*1024+$-56320+65536;return fe(ae)}).replace(u,Se)};F.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var V=function(N,W){W=k(W,V.options);var G=W.strict;return G&&p.test(N)&&I("malformed character reference"),N.replace(h,function(K,X,ie,fe,Se,de,Ae,$,ae){var Z,z,be,ve,oe,xe;return X?(oe=X,v[oe]):ie?(oe=ie,xe=fe,xe&&W.isAttributeValue?(G&&xe=="="&&I("`&` did not start a character reference"),K):(G&&I("named character reference was not terminated by a semicolon"),y[oe]+(xe||""))):Se?(be=Se,z=de,G&&!z&&I("character reference was not terminated by a semicolon"),Z=parseInt(be,10),O(Z,G)):Ae?(ve=Ae,z=$,G&&!z&&I("character reference was not terminated by a semicolon"),Z=parseInt(ve,16),O(Z,G)):(G&&I("named character reference was not terminated by a semicolon"),K)})};V.options={isAttributeValue:!1,strict:!1};var U=function(N){return N.replace(f,function(W){return d[W]})},M={version:"1.2.0",encode:F,decode:V,escape:U,unescape:V};if(n&&!n.nodeType)if(i)i.exports=M;else for(var L in M)w(M,L)&&(n[L]=M[L]);else r.he=M})(Ne)})(z0,z0.exports);var PCe=z0.exports;const V0=Ge(PCe);function DCe(e,t){switch(e){case"complete":return{backgroundColor:"complete"};case"partial":return{backgroundColor:"partial",backgroundImage:`repeating-linear-gradient(45deg, ${t} 25%, transparent 25%, transparent 75%, ${t} 75%, ${t}), repeating-linear-gradient(45deg, ${t} 25%, transparent 25%, transparent 75%, ${t} 75%, ${t})`,backgroundPosition:"0 0, 5px 5px",backgroundSize:"10px 10px"};default:return{backgroundColor:t}}}const RCe=["Some Assembly Required","Batter Up!"];function VU(e,t,r,n){if(e)return V0.decode(e);const i=V0.decode(t).replaceAll(" ","_");return n.includes(t)||RCe.includes(t)?`${i}_(${r})`:i}const xu=C.forwardRef(function({type:t,state:r,name:n,image:i,badges:a=null,sourceWidth:o=30,title:s=`${n} (${r||"do not have"})`,link:u,...l},c){const[f]=vN("colors",["accent"]),d=DCe(r,f),p=Ee(h=>h.wikiClashes),m=VU(u,n,t,p);return A.jsxs(Goe,{ref:c,borderWidth:1,borderStyle:"solid",borderColor:"black",p:1,...d,title:s,position:"relative",overflow:"hidden",sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},_hover:{filter:d.backgroundColor?"brightness(90%)":void 0,backgroundColor:d.backgroundColor||"blackAlpha.50"},...l,children:[a&&A.jsx(_n,{position:"absolute",sx:{top:0,right:0},children:a}),typeof i=="string"?A.jsx(Oc,{src:i,sourceWidth:o}):i,A.jsx(Hoe,{textAlign:"center",fontSize:"10px",href:`https://kol.coldfront.net/thekolwiki/index.php/${m}`,isExternal:!0,children:V0.decode(n)})]})});function LCe({skill:e}){const t=Ee(s=>s.wikiClashes),r=C.useMemo(()=>VU(void 0,e.name,"skill",t),[e,t]),[n,i]=C.useState(null),a=C.useRef(null);C.useEffect(()=>{async function s(){const l=await(await fetch(`https://corsproxy.io/?${encodeURIComponent(`https://kol.coldfront.net/thekolwiki/api.php?action=parse&page=${r}&prop=text&format=json`)}`)).json(),c=/
(.*?)<\/td>/s.exec(l.parse.text["*"]);c==null?i("Cannot load wiki page (this is an experimental feature!)"):i(c[0].replaceAll('href="/','href="https://kol.coldfront.net/').replaceAll('p style="color:','p class="colortext" style="color:')+"
")}s()},[r]),C.useEffect(()=>{a.current&&n&&(a.current.innerHTML=n)},[a,n]);const o=PU();return A.jsx(pC,{sx:{img:{filter:o},"p.colortext":{filter:o}},ref:a,justifyContent:"center",children:A.jsx(ST,{})})}function Nt({id:e}){const t=Ee(OU),n=Ee(Qwe)[e],[,i,a]=t[e]||[e,_i.NONE,0],o=la.getMaxSkillLevel(n),s=o===0?a:o;return A.jsxs(p7,{trigger:"hover",isLazy:!0,children:[A.jsx(d7,{children:A.jsx(xu,{type:"skill",name:n.name,image:`itemimages/${n.image}`,state:jU(i),title:zU(i),badges:a?A.jsxs(xy,{mr:1,title:`Skill at level ${a}`,children:[a," / ",s]}):null})}),A.jsxs(v7,{style:{"--popper-bg":"var(--chakra-colors-imagebg)"},whiteSpace:"normal",children:[A.jsx(h7,{}),A.jsx(m7,{children:A.jsx(LCe,{skill:n})})]})]})}function Ye({image:e,title:t,farRight:r=!1,right:n=null,children:i}){return A.jsxs(Ua,{spacing:4,children:[A.jsxs(Sy,{children:[A.jsx(Oc,{src:e,sourceWidth:e.includes("sigils/")?50:30,width:30,height:30}),A.jsx(qs,{as:"h3",fontWeight:"normal",fontSize:"2xl",children:t}),r&&A.jsx(_n,{flex:1}),n]}),i]})}function Wi(){return A.jsx(Tr,{bg:"chakra-border-color"})}function NCe(){return A.jsx(Ye,{title:"The Machine",image:"itemimages/dv_skullcap.gif",children:A.jsx(Iue,{children:A.jsxs(S7,{children:[A.jsx(Mue,{children:A.jsxs(Ru,{textAlign:"center",children:[A.jsx(mi,{width:"80px",children:A.jsx(Oc,{src:"itemimages/brain.gif",alt:"Class of the brains in The Machine"})}),A.jsx(mi,{title:"Seal Clubber",children:"SC"}),A.jsx(mi,{title:"Turtle Tamer",children:"TT"}),A.jsx(mi,{title:"Pastamancer",children:"PA"}),A.jsx(mi,{title:"Sauceror",children:"S"}),A.jsx(mi,{title:"Disco Bandit",children:"DB"})]})}),A.jsxs(Bue,{children:[A.jsxs(Ru,{children:[A.jsx(mi,{title:"Turtle Tamer",children:"TT"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:92})}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Pastamancer",children:"PA"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:93})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:97})}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Sauceror",children:"S"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:94})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:98})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:101})}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Disco Bandit",children:"DB"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:95})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:99})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:102})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:104})}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Accordion Thief",children:"AT"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:96})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:100})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:103})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:105})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:106})})]})]})]})})})}function MCe({label:e,complete:t}){return A.jsx(pC,{gridColumn:["1 / span 3",null,1],alignItems:"center",justifyContent:[null,null,"flex-end"],children:A.jsx(xy,{transform:[null,null,"rotate(270deg)"],fontSize:"sm",bg:t?"complete":void 0,children:e})},`rowlabel-${e}`)}function qU({items:e,renderItem:t,idToStatus:r,getRowLabel:n,columns:i=6}){const a=wCe(e,i);return A.jsx(Ri,{spacing:1,columns:[3,null,i+(n?1:0)],gridTemplateColumns:[null,null,`${n?"auto":""} repeat(${i}, minmax(0, 1fr))`],children:a.map((o,s)=>{const u=o.filter(CCe).map(l=>r[l.id]??k0.NONE).every(l=>l!==k0.NONE);return[n&&A.jsx(MCe,{label:n(s),complete:u},`rowlabel-${s}`),...o.map((l,c)=>l?t(l):A.jsx(_n,{display:["none",null,"block"]},`blank-${c}`))]})})}function Dt({items:e,playerItems:t,getRowLabel:r,columns:n=6}){const i=Ee(u=>u.items),a=e.map(u=>i[u]),o=C.useMemo(()=>e.reduce((u,l,c)=>({...u,[l]:t[c]}),{}),[e,t]),s=u=>A.jsx(xu,{type:"item",name:u.name,image:`itemimages/${u.image}`,state:ACe(o[u.id]||k0.NONE)},u.id);return A.jsx(qU,{items:a,idToStatus:o,columns:n,getRowLabel:r,renderItem:s})}function WU(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?1:-1},Rs=function(t){return fh(t)&&t.indexOf("%")===t.length-1},J=function(t){return $Ce(t)&&!dh(t)},Ht=function(t){return J(t)||fh(t)},QCe=0,a1=function(t){var r=++QCe;return"".concat(t||"").concat(r)},cu=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!J(t)&&!fh(t))return n;var a;if(Rs(t)){var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return dh(a)&&(a=n),i&&a>r&&(a=r),a},Vu=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},JCe=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function aTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var dD={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Fa=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},pD=null,db=null,ET=function e(t){if(t===pD&&Array.isArray(db))return db;var r=[];return C.Children.forEach(t,function(n){We(n)||(Sg.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),db=r,pD=t,r};function Mi(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(i){return Fa(i)}):n=[Fa(t)],ET(e).forEach(function(i){var a=Jn(i,"type.displayName")||Jn(i,"type.name");n.indexOf(a)!==-1&&r.push(i)}),r}function bn(e,t){var r=Mi(e,t);return r&&r[0]}var hD=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,i=r.height;return!(!J(n)||n<=0||!J(i)||i<=0)},oTe=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],sTe=function(t){return t&&t.type&&fh(t.type)&&oTe.indexOf(t.type)>=0},uTe=function(t,r,n,i){var a,o=(a=fb==null?void 0:fb[i])!==null&&a!==void 0?a:[];return!Re(t)&&(i&&o.includes(r)||tTe.includes(r))||n&&xT.includes(r)},qe=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(C.isValidElement(t)&&(i=t.props),!xc(i))return null;var a={};return Object.keys(i).forEach(function(o){var s;uTe((s=i)===null||s===void 0?void 0:s[o],o,r,n)&&(a[o]=i[o])}),a},nE=function e(t,r){if(t===r)return!0;var n=C.Children.count(t);if(n!==C.Children.count(r))return!1;if(n===0)return!0;if(n===1)return mD(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function pTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function aE(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,o=e.style,s=e.title,u=e.desc,l=dTe(e,fTe),c=i||{width:r,height:n,x:0,y:0},f=He("recharts-surface",a);return j.createElement("svg",iE({},qe(l,!0,"svg"),{className:f,width:r,height:n,style:o,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height)}),j.createElement("title",null,s),j.createElement("desc",null,u),t)}var hTe=["children","className"];function oE(){return oE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var nr=j.forwardRef(function(e,t){var r=e.children,n=e.className,i=mTe(e,hTe),a=He("recharts-layer",n);return j.createElement("g",oE({className:a},qe(i,!0),{ref:t}),r)}),$s=function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a=0))throw new Error(`invalid digits: ${e}`);if(t>15)return KU;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;ixs)if(!(Math.abs(f*u-l*c)>xs)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let p=n-o,m=i-s,h=u*u+l*l,v=p*p+m*m,y=Math.sqrt(h),g=Math.sqrt(d),b=a*Math.tan((sE-Math.acos((h+d-v)/(2*y*g)))/2),S=b/g,x=b/y;Math.abs(S-1)>xs&&this._append`L${t+S*c},${r+S*f}`,this._append`A${a},${a},0,0,${+(f*p>c*m)},${this._x1=t+x*u},${this._y1=r+x*l}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(i),u=n*Math.sin(i),l=t+s,c=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>xs||Math.abs(this._y1-c)>xs)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%uE+uE),d>vTe?this._append`A${n},${n},0,1,${f},${t-s},${r-u}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>xs&&this._append`A${n},${n},0,${+(d>=sE)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}};function AT(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new bTe(t)}function wT(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function $U(e){this._context=e}$U.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function s1(e){return new $U(e)}function YU(e){return e[0]}function XU(e){return e[1]}function ZU(e,t){var r=at(!0),n=null,i=s1,a=null,o=AT(s);e=typeof e=="function"?e:e===void 0?YU:at(e),t=typeof t=="function"?t:t===void 0?XU:at(t);function s(u){var l,c=(u=wT(u)).length,f,d=!1,p;for(n==null&&(a=i(p=o())),l=0;l<=c;++l)!(l=p;--m)s.point(b[m],S[m]);s.lineEnd(),s.areaEnd()}y&&(b[d]=+e(v,d,f),S[d]=+t(v,d,f),s.point(n?+n(v,d,f):b[d],r?+r(v,d,f):S[d]))}if(g)return s=null,g+""||null}function c(){return ZU().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:at(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:at(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:at(+f),l):n},l.y=function(f){return arguments.length?(t=typeof f=="function"?f:at(+f),r=null,l):t},l.y0=function(f){return arguments.length?(t=typeof f=="function"?f:at(+f),l):t},l.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:at(+f),l):r},l.lineX0=l.lineY0=function(){return c().x(e).y(t)},l.lineY1=function(){return c().x(e).y(r)},l.lineX1=function(){return c().x(n).y(t)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:at(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}class QU{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function STe(e){return new QU(e,!0)}function xTe(e){return new QU(e,!1)}const CT={draw(e,t){const r=ji(t/G0);e.moveTo(r,0),e.arc(0,0,r,0,o1)}},ETe={draw(e,t){const r=ji(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},JU=ji(1/3),ATe=JU*2,wTe={draw(e,t){const r=ji(t/ATe),n=r*JU;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},CTe={draw(e,t){const r=ji(t),n=-r/2;e.rect(n,n,r,r)}},TTe=.8908130915292852,eF=H0(G0/10)/H0(7*G0/10),OTe=H0(o1/10)*eF,_Te=-GU(o1/10)*eF,kTe={draw(e,t){const r=ji(t*TTe),n=OTe*r,i=_Te*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=o1*a/5,s=GU(o),u=H0(o);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},pb=ji(3),PTe={draw(e,t){const r=-ji(t/(pb*3));e.moveTo(0,r*2),e.lineTo(-pb*r,-r),e.lineTo(pb*r,-r),e.closePath()}},Fn=-.5,jn=ji(3)/2,lE=1/ji(12),DTe=(lE/2+1)*3,RTe={draw(e,t){const r=ji(t/DTe),n=r/2,i=r*lE,a=n,o=r*lE+r,s=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(Fn*n-jn*i,jn*n+Fn*i),e.lineTo(Fn*a-jn*o,jn*a+Fn*o),e.lineTo(Fn*s-jn*u,jn*s+Fn*u),e.lineTo(Fn*n+jn*i,Fn*i-jn*n),e.lineTo(Fn*a+jn*o,Fn*o-jn*a),e.lineTo(Fn*s+jn*u,Fn*u-jn*s),e.closePath()}};function LTe(e,t){let r=null,n=AT(i);e=typeof e=="function"?e:at(e||CT),t=typeof t=="function"?t:at(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:at(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:at(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function K0(){}function $0(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function tF(e){this._context=e}tF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$0(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function NTe(e){return new tF(e)}function rF(e){this._context=e}rF.prototype={areaStart:K0,areaEnd:K0,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function MTe(e){return new rF(e)}function nF(e){this._context=e}nF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ITe(e){return new nF(e)}function iF(e){this._context=e}iF.prototype={areaStart:K0,areaEnd:K0,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function BTe(e){return new iF(e)}function vD(e){return e<0?-1:1}function yD(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(vD(a)+vD(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function bD(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function hb(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-n)/3;e._context.bezierCurveTo(n+s,i+s*t,a-s,o-s*r,a,o)}function Y0(e){this._context=e}Y0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:hb(this,this._t0,bD(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,hb(this,bD(this,r=yD(this,e,t)),r);break;default:hb(this,this._t0,r=yD(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function aF(e){this._context=new oF(e)}(aF.prototype=Object.create(Y0.prototype)).point=function(e,t){Y0.prototype.point.call(this,t,e)};function oF(e){this._context=e}oF.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function UTe(e){return new Y0(e)}function FTe(e){return new aF(e)}function sF(e){this._context=e}sF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=SD(e),i=SD(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function zTe(e){return new u1(e,.5)}function VTe(e){return new u1(e,0)}function qTe(e){return new u1(e,1)}function Zl(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,s=a.length;r=0;)r[t]=t;return r}function WTe(e,t){return e[t]}function HTe(e){const t=[];return t.key=e,t}function GTe(){var e=at([]),t=cE,r=Zl,n=WTe;function i(a){var o=Array.from(e.apply(this,arguments),HTe),s,u=o.length,l=-1,c;for(const f of a)for(s=0,++l;s0){for(var r,n,i=0,a=e[0].length,o;i0){for(var r=0,n=e[t[0]],i,a=n.length;r0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function t3e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var uF={symbolCircle:CT,symbolCross:ETe,symbolDiamond:wTe,symbolSquare:CTe,symbolStar:kTe,symbolTriangle:PTe,symbolWye:RTe},r3e=Math.PI/180,n3e=function(t){var r="symbol".concat(Hy(t));return uF[r]||CT},i3e=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*r3e;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},a3e=function(t,r){uF["symbol".concat(Hy(t))]=r},TT=function(t){var r=t.type,n=r===void 0?"circle":r,i=t.size,a=i===void 0?64:i,o=t.sizeType,s=o===void 0?"area":o,u=e3e(t,XTe),l=ED(ED({},u),{},{type:n,size:a,sizeType:s}),c=function(){var v=n3e(n),y=LTe().type(v).size(i3e(a,s,n));return y()},f=l.className,d=l.cx,p=l.cy,m=qe(l,!0);return d===+d&&p===+p&&a===+a?j.createElement("path",fE({},m,{className:He("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(p,")"),d:c()})):null};TT.registerSymbol=a3e;function Ql(e){"@babel/helpers - typeof";return Ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ql(e)}function dE(){return dE=Object.assign?Object.assign.bind():function(e){for(var t=1;ttypeof e=="object"&&e!==null||typeof e=="function",Nwe={canHandle:e=>hU(e)&&e[pU],serialize(e){const{port1:t,port2:r}=new MessageChannel;return gU(e,t),[r,[r]]},deserialize(e){return e.start(),yU(e)}},Mwe={canHandle:e=>hU(e)&&pg in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},mU=new Map([["proxy",Nwe],["throw",Mwe]]);function Iwe(e,t){for(const r of e)if(t===r||r==="*"||r instanceof RegExp&&r.test(t))return!0;return!1}function gU(e,t=globalThis,r=["*"]){t.addEventListener("message",function n(i){if(!i||!i.data)return;if(!Iwe(r,i.origin)){console.warn(`Invalid origin '${i.origin}' for comlink proxy`);return}const{id:a,type:o,path:s}=Object.assign({path:[]},i.data),u=(i.data.argumentList||[]).map(Cs);let l;try{const c=s.slice(0,-1).reduce((d,p)=>d[p],e),f=s.reduce((d,p)=>d[p],e);switch(o){case"GET":l=f;break;case"SET":c[s.slice(-1)[0]]=Cs(i.data.value),l=!0;break;case"APPLY":l=f.apply(c,u);break;case"CONSTRUCT":{const d=new f(...u);l=Vwe(d)}break;case"ENDPOINT":{const{port1:d,port2:p}=new MessageChannel;gU(e,p),l=zwe(d,[d])}break;case"RELEASE":l=void 0;break;default:return}}catch(c){l={value:c,[pg]:0}}Promise.resolve(l).catch(c=>({value:c,[pg]:0})).then(c=>{const[f,d]=R0(c);t.postMessage(Object.assign(Object.assign({},f),{id:a}),d),o==="RELEASE"&&(t.removeEventListener("message",n),vU(t),lb in e&&typeof e[lb]=="function"&&e[lb]())}).catch(c=>{const[f,d]=R0({value:new TypeError("Unserializable return value"),[pg]:0});t.postMessage(Object.assign(Object.assign({},f),{id:a}),d)})}),t.start&&t.start()}function Bwe(e){return e.constructor.name==="MessagePort"}function vU(e){Bwe(e)&&e.close()}function yU(e,t){return Kx(e,[],t)}function dm(e){if(e)throw new Error("Proxy has been released and is not useable")}function bU(e){return Fu(e,{type:"RELEASE"}).then(()=>{vU(e)})}const P0=new WeakMap,D0="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{const t=(P0.get(e)||0)-1;P0.set(e,t),t===0&&bU(e)});function Uwe(e,t){const r=(P0.get(t)||0)+1;P0.set(t,r),D0&&D0.register(e,t,e)}function Fwe(e){D0&&D0.unregister(e)}function Kx(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(a,o){if(dm(n),o===Lwe)return()=>{Fwe(i),bU(e),n=!0};if(o==="then"){if(t.length===0)return{then:()=>i};const s=Fu(e,{type:"GET",path:t.map(u=>u.toString())}).then(Cs);return s.then.bind(s)}return Kx(e,[...t,o])},set(a,o,s){dm(n);const[u,l]=R0(s);return Fu(e,{type:"SET",path:[...t,o].map(c=>c.toString()),value:u},l).then(Cs)},apply(a,o,s){dm(n);const u=t[t.length-1];if(u===Rwe)return Fu(e,{type:"ENDPOINT"}).then(Cs);if(u==="bind")return Kx(e,t.slice(0,-1));const[l,c]=u4(s);return Fu(e,{type:"APPLY",path:t.map(f=>f.toString()),argumentList:l},c).then(Cs)},construct(a,o){dm(n);const[s,u]=u4(o);return Fu(e,{type:"CONSTRUCT",path:t.map(l=>l.toString()),argumentList:s},u).then(Cs)}});return Uwe(i,e),i}function jwe(e){return Array.prototype.concat.apply([],e)}function u4(e){const t=e.map(R0);return[t.map(r=>r[0]),jwe(t.map(r=>r[1]))]}const SU=new WeakMap;function zwe(e,t){return SU.set(e,t),e}function Vwe(e){return Object.assign(e,{[pU]:!0})}function R0(e){for(const[t,r]of mU)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:"HANDLER",name:t,value:n},i]}return[{type:"RAW",value:e},SU.get(e)||[]]}function Cs(e){switch(e.type){case"HANDLER":return mU.get(e.name).deserialize(e.value);case"RAW":return e.value}}function Fu(e,t,r){return new Promise(n=>{const i=qwe();e.addEventListener("message",function a(o){!o.data||!o.data.id||o.data.id!==i||(e.removeEventListener("message",a),n(o.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)})}function qwe(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Wwe(e){return new Worker("/assets/duplicateFinder-DIMsb-eT.js",{name:e==null?void 0:e.name})}const xU=Sfe(),Hwe=xU.startListening;Hwe({predicate:(e,t)=>!(![L0.fulfilled,N0.fulfilled,M0.fulfilled,I0.fulfilled,B0.fulfilled,U0.fulfilled].some(r=>r.match(e))||e.payload===null||$x.some(r=>t.loading[r])||t.loading.wikiClashes),effect:async(e,{getState:t,dispatch:r})=>{const n=t(),i=$x.map(a=>n[a]).flat().reduce((a,o)=>"name"in o?[...a,o.name]:a,[]);r(hg(i))}});const Gwe=yU(new Wwe),hg=si("wikiClashes/process",async e=>await Gwe(e)),$x=["classes","effects","familiars","iotms","items","paths","skills","tattoos","trophies"],Kwe={playerId:null,favouritePlayerId:null,playerData:null,classes:[],effects:[],familiars:[],iotms:[],items:[],paths:[],skills:[],tattoos:[],trophies:[],wikiClashes:[],sizeAtLastFetch:{classes:0,effects:0,familiars:0,iotms:0,items:0,paths:0,skills:0,tattoos:0,trophies:0},loading:{classes:!1,effects:!1,familiars:!1,iotms:!1,items:!1,paths:!1,skills:!1,tattoos:!1,trophies:!1,wikiClashes:!1},error:{wikiClashes:!1},errorMessage:{}},Yx=si("classes/fetch",async e=>la.loadClasses(e)),L0=si("effects/fetch",async e=>la.loadEffects(e)),N0=si("familiars/fetch",async e=>la.loadFamiliars(e)),Xx=si("iotms/fetch",async e=>VAe(e)),M0=si("items/fetch",async e=>la.loadItems(e)),Zx=si("paths/fetch",async e=>GAe(e)),I0=si("skills/fetch",async e=>la.loadSkills(e)),B0=si("tattoos/fetch",async e=>ZAe(e)),U0=si("trophies/fetch",async e=>JAe(e)),EU=si("all/fetch",async(e,{getState:t,dispatch:r})=>{const n=t();r(Yx(e?0:n.sizeAtLastFetch.classes)),r(L0(e?0:n.sizeAtLastFetch.effects)),r(N0(e?0:n.sizeAtLastFetch.familiars)),r(Xx(e?0:n.sizeAtLastFetch.iotms)),r(M0(e?0:n.sizeAtLastFetch.items)),r(Zx(e?0:n.sizeAtLastFetch.paths)),r(I0(e?0:n.sizeAtLastFetch.skills)),r(B0(e?0:n.sizeAtLastFetch.tattoos)),r(U0(e?0:n.sizeAtLastFetch.trophies))}),mg=si("playerData/fetch",async e=>{const t=await fetch(`https://oaf.loathers.net/api/greenbox/${e}`),r=await t.json();if(t.status!==200)throw new Error(r.error);return r.greenboxString||r.data}),AU=Li("playerData/load"),wU=Li("favouritePlayerId/update"),$we=nfe({name:"greenbox",initialState:Kwe,reducers:{},extraReducers:e=>{e.addCase(Yx.pending,t=>{t.loading.classes=!0}).addCase(Yx.fulfilled,(t,r)=>{r.payload!==null&&(t.classes=r.payload.data,t.sizeAtLastFetch.classes=r.payload.size),t.loading.classes=!1}).addCase(L0.pending,t=>{t.loading.effects=!0}).addCase(L0.fulfilled,(t,r)=>{r.payload!==null&&(t.effects=r.payload.data,t.sizeAtLastFetch.effects=r.payload.size),t.loading.effects=!1}).addCase(N0.pending,t=>{t.loading.familiars=!0}).addCase(N0.fulfilled,(t,r)=>{r.payload!==null&&(t.familiars=r.payload.data,t.sizeAtLastFetch.familiars=r.payload.size),t.loading.familiars=!1}).addCase(Xx.pending,t=>{t.loading.iotms=!0}).addCase(Xx.fulfilled,(t,r)=>{r.payload!==null&&(t.iotms=r.payload.data,t.sizeAtLastFetch.iotms=r.payload.size),t.loading.iotms=!1}).addCase(M0.pending,t=>{t.loading.items=!0}).addCase(M0.fulfilled,(t,r)=>{if(r.payload!==null){const n=r.payload.data;t.items=n.reduce((i,a)=>({...i,[a.id]:a}),{}),t.sizeAtLastFetch.items=r.payload.size}t.loading.items=!1}).addCase(Zx.pending,t=>{t.loading.paths=!0}).addCase(Zx.fulfilled,(t,r)=>{r.payload!==null&&(t.paths=r.payload.data,t.sizeAtLastFetch.paths=r.payload.size),t.loading.paths=!1}).addCase(I0.pending,t=>{t.loading.skills=!0}).addCase(I0.fulfilled,(t,r)=>{r.payload!==null&&(t.skills=r.payload.data,t.sizeAtLastFetch.skills=r.payload.size),t.loading.skills=!1}).addCase(B0.pending,t=>{t.loading.tattoos=!0}).addCase(B0.fulfilled,(t,r)=>{r.payload!==null&&(t.tattoos=r.payload.data,t.sizeAtLastFetch.tattoos=r.payload.size),t.loading.tattoos=!1}).addCase(U0.pending,t=>{t.loading.trophies=!0}).addCase(U0.fulfilled,(t,r)=>{r.payload!==null&&(t.trophies=r.payload.data,t.sizeAtLastFetch.trophies=r.payload.size),t.loading.trophies=!1}).addCase(hg.pending,t=>{t.loading.wikiClashes=!0,t.error.wikiClashes=!1}).addCase(hg.fulfilled,(t,r)=>{t.wikiClashes=r.payload,t.loading.wikiClashes=!1}).addCase(hg.rejected,t=>{t.error.wikiClashes=!0}).addCase(mg.pending,(t,r)=>{t.loading.playerData=!0}).addCase(mg.fulfilled,(t,r)=>{t.playerId=r.meta.arg;const n=r.payload;try{t.playerData=n4(n),t.error.playerData=!1,t.errorMessage.playerData=void 0}catch{t.error.playerData=!0,t.errorMessage.playerData="Error parsing player data"}t.loading.playerData=!1}).addCase(AU,(t,r)=>{t.playerId=null;const n=r.payload;try{t.playerData=n4(n)}catch{t.error.playerData=!0,t.errorMessage.playerData="Error parsing player data"}}).addCase(mg.rejected,(t,r)=>{t.loading.playerData=!1,t.error.playerData=!0,t.errorMessage.playerData=r.error.message}).addCase(wU,(t,r)=>{t.favouritePlayerId=r.payload})}}),Ywe=[...$x,"wikiClashes","sizeAtLastFetch","favouritePlayerId"],Xwe=gwe({whitelist:Ywe,key:"greenbox",version:1,storage:dU},$we.reducer),CU=qce({reducer:Xwe,middleware:e=>e({serializableCheck:{ignoredActions:[cT,n1,fT,dT,pT,hT]}}).prepend(xU.middleware)}),Zwe=Ewe(CU),is=e=>th([r=>{var n;return(n=r.playerData)==null?void 0:n[e]}],r=>r??[]),TU=is("skills"),OU=th(TU,e=>e.reduce((t,r)=>({...t,[r[0]]:r}),{})),Qwe=th(e=>e.skills,e=>e.reduce((t,r)=>({...t,[r.id]:r}),{})),Jwe=is("items"),vT=is("paths"),_U=is("outfitTattoos"),kU=is("miscTattoos"),yT=th(Jwe,e=>e.reduce((t,r)=>({...t,[r[0]]:r}),{}));function PU(){return xg("","contrast(0.6666) invert(1) hue-rotate(180deg)")}const DU=zZ({config:{initialColorMode:"system",useSystemColorMode:!0,disableTransitionOnChange:!1},styles:{html:{marginLeft:"calc(100vw - 100%)"}},semanticTokens:{colors:{"chakra-body-bg":{_light:"#f6f8fa",_dark:"#2a292a"},accent:{_light:"#ffffff",_dark:"#46454a"},imagebg:{_light:"#ffffff",_dark:"#2a292a"},complete:{_light:"#afa",_dark:"green.800"},partial:{_light:"#eea",_dark:"yellow.800"}}}}),bT=Ole,Ee=gle;var RU={exports:{}},LU={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},NU={exports:{}},eCe=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},tCe=eCe,rCe=Array.prototype.concat,nCe=Array.prototype.slice,l4=NU.exports=function(t){for(var r=[],n=0,i=t.length;n=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};wn.to.keyword=function(e){return IU[e.slice(0,3)]};function Mo(e,t,r){return Math.min(Math.max(t,e),r)}function pm(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var aCe=RU.exports;const Kd=LU,BU={};for(const e of Object.keys(Kd))BU[Kd[e]]=e;const ue={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var UU=ue;for(const e of Object.keys(ue)){if(!("channels"in ue[e]))throw new Error("missing channels property: "+e);if(!("labels"in ue[e]))throw new Error("missing channel labels property: "+e);if(ue[e].labels.length!==ue[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=ue[e];delete ue[e].channels,delete ue[e].labels,Object.defineProperty(ue[e],"channels",{value:t}),Object.defineProperty(ue[e],"labels",{value:r})}ue.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i;let s,u;a===i?s=0:t===a?s=(r-n)/o:r===a?s=2+(n-t)/o:n===a&&(s=4+(t-r)/o),s=Math.min(s*60,360),s<0&&(s+=360);const l=(i+a)/2;return a===i?u=0:l<=.5?u=o/(a+i):u=o/(2-a-i),[s,u*100,l*100]};ue.rgb.hsv=function(e){let t,r,n,i,a;const o=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(o,s,u),c=l-Math.min(o,s,u),f=function(d){return(l-d)/6/c+1/2};return c===0?(i=0,a=0):(a=c/l,t=f(o),r=f(s),n=f(u),o===l?i=n-r:s===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,l*100]};ue.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=ue.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,a*100,n*100]};ue.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),a=(1-t-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return[a*100,o*100,s*100,i*100]};function oCe(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}ue.rgb.keyword=function(e){const t=BU[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(Kd)){const a=Kd[i],o=oCe(e,a);o.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,a=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,a*100,o*100]};ue.rgb.lab=function(e){const t=ue.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const a=116*n-16,o=500*(r-n),s=200*(n-i);return[a,o,s]};ue.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,a,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;const s=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)a=t+1/3*-(l-1),a<0&&a++,a>1&&a--,6*a<1?o=s+(i-s)*6*a:2*a<1?o=i:3*a<2?o=s+(i-s)*(2/3-a)*6:o=s,u[l]=o*255;return u};ue.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const a=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a;const o=(n+r)/2,s=n===0?2*i/(a+i):2*r/(n+r);return[t,s*100,o*100]};ue.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,a=t-Math.floor(t),o=255*n*(1-r),s=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,u,o];case 1:return[s,n,o];case 2:return[o,n,u];case 3:return[o,s,n];case 4:return[u,o,n];case 5:return[n,o,s]}};ue.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let a,o;o=(2-r)*n;const s=(2-r)*i;return a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[t,a*100,o*100]};ue.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let a;i>1&&(r/=i,n/=i);const o=Math.floor(6*t),s=1-n;a=6*t-o,o&1&&(a=1-a);const u=r+a*(s-r);let l,c,f;switch(o){default:case 6:case 0:l=s,c=u,f=r;break;case 1:l=u,c=s,f=r;break;case 2:l=r,c=s,f=u;break;case 3:l=r,c=u,f=s;break;case 4:l=u,c=r,f=s;break;case 5:l=s,c=r,f=u;break}return[l*255,c*255,f*255]};ue.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return[a*255,o*255,s*255]};ue.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,a,o;return i=t*3.2406+r*-1.5372+n*-.4986,a=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]};ue.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,a=500*(t-r),o=200*(r-n);return[i,a,o]};ue.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,a,o;a=(t+16)/116,i=r/500+a,o=a-n/200;const s=a**3,u=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]};ue.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const o=Math.sqrt(r*r+n*n);return[t,o,i]};ue.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,a=r*Math.cos(i),o=r*Math.sin(i);return[t,a,o]};ue.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let a=t===null?ue.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return a===2&&(o+=60),o};ue.hsv.ansi16=function(e){return ue.rgb.ansi16(ue.hsv.rgb(e),e[2])};ue.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};ue.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,a=(t>>2&1)*r*255;return[n,i,a]};ue.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};ue.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};ue.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(s=>s+s).join(""));const n=parseInt(r,16),i=n>>16&255,a=n>>8&255,o=n&255;return[i,a,o]};ue.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),a=Math.min(Math.min(t,r),n),o=i-a;let s,u;return o<1?s=a/(1-o):s=0,o<=0?u=0:i===t?u=(r-n)/o%6:i===r?u=2+(n-t)/o:u=4+(t-r)/o,u/=6,u%=1,[u*360,o*100,s*100]};ue.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};ue.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};ue.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],a=t%1*6,o=a%1,s=1-o;let u=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};ue.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};ue.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};ue.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};ue.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,i=n-t;let a=0;return i<1&&(a=(n-i)/(1-i)),[e[0],i*100,a*100]};ue.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};ue.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};ue.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};ue.gray.hsl=function(e){return[0,0,e[0]]};ue.gray.hsv=ue.gray.hsl;ue.gray.hwb=function(e){return[0,100,e[0]]};ue.gray.cmyk=function(e){return[0,0,0,e[0]]};ue.gray.lab=function(e){return[e[0],0,0]};ue.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};ue.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const F0=UU;function sCe(){const e={},t=Object.keys(F0);for(let r=t.length,n=0;n1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function mCe(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let a=i.length,o=0;o{ju[e]={},Object.defineProperty(ju[e],"channels",{value:Qx[e].channels}),Object.defineProperty(ju[e],"labels",{value:Qx[e].labels});const t=dCe(e);Object.keys(t).forEach(n=>{const i=t[n];ju[e][n]=mCe(i),ju[e][n].raw=hCe(i)})});var gCe=ju;const zu=aCe,Sn=gCe,FU=["keyword","gray","hex"],Jx={};for(const e of Object.keys(Sn))Jx[[...Sn[e].labels].sort().join("")]=e;const j0={};function rr(e,t){if(!(this instanceof rr))return new rr(e,t);if(t&&t in FU&&(t=null),t&&!(t in Sn))throw new Error("Unknown model: "+t);let r,n;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof rr)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=zu.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,n=Sn[this.model].channels,this.color=i.value.slice(0,n),this.valpha=typeof i.value[n]=="number"?i.value[n]:1}else if(e.length>0){this.model=t||"rgb",n=Sn[this.model].channels;const i=Array.prototype.slice.call(e,0,n);this.color=eE(i,n),this.valpha=typeof e[n]=="number"?e[n]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const a=i.sort().join("");if(!(a in Jx))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Jx[a];const{labels:o}=Sn[this.model],s=[];for(r=0;r(e%360+360)%360),saturationl:Ot("hsl",1,zt(100)),lightness:Ot("hsl",2,zt(100)),saturationv:Ot("hsv",1,zt(100)),value:Ot("hsv",2,zt(100)),chroma:Ot("hcg",1,zt(100)),gray:Ot("hcg",2,zt(100)),white:Ot("hwb",1,zt(100)),wblack:Ot("hwb",2,zt(100)),cyan:Ot("cmyk",0,zt(100)),magenta:Ot("cmyk",1,zt(100)),yellow:Ot("cmyk",2,zt(100)),black:Ot("cmyk",3,zt(100)),x:Ot("xyz",0,zt(95.047)),y:Ot("xyz",1,zt(100)),z:Ot("xyz",2,zt(108.833)),l:Ot("lab",0,zt(100)),a:Ot("lab",1),b:Ot("lab",2),keyword(e){return e!==void 0?new rr(e):Sn[this.model].keyword(this.color)},hex(e){return e!==void 0?new rr(e):zu.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new rr(e);const t=this.rgb().round().color;let r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),zu.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const i=n/255;t[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return rr.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),i=t===void 0?.5:t,a=2*i-1,o=r.alpha()-n.alpha(),s=((a*o===-1?a:(a+o)/(1+a*o))+1)/2,u=1-s;return rr.rgb(s*r.red()+u*n.red(),s*r.green()+u*n.green(),s*r.blue()+u*n.blue(),r.alpha()*i+n.alpha()*(1-i))}};for(const e of Object.keys(Sn)){if(FU.includes(e))continue;const{channels:t}=Sn[e];rr.prototype[e]=function(...r){return this.model===e?new rr(this):r.length>0?new rr(r,e):new rr([...bCe(Sn[this.model][e].raw(this.color)),this.valpha],e)},rr[e]=function(...r){let n=r[0];return typeof n=="number"&&(n=eE(r,t)),new rr(n,e)}}function vCe(e,t){return Number(e.toFixed(t))}function yCe(e){return function(t){return vCe(t,e)}}function Ot(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(j0[n]||(j0[n]=[]))[t]=r;return e=e[0],function(n){let i;return n!==void 0?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function zt(e){return function(t){return Math.max(0,Math.min(e,t))}}function bCe(e){return Array.isArray(e)?e:[e]}function eE(e,t){for(let r=0;ro>=0&&o`https://s3.amazonaws.com/images.kingdomofloathing.com/${e}`,[e]);return C.useEffect(()=>{const c=`alphamask-${e}`,f=localStorage.getItem(c);if(f){u({maskImage:`url(${f})`,maskSize:"100% 100%"});return}const d=document.createElement("canvas");d.width=r,d.height=n;const p=d.getContext("2d");async function m(){const v=await(await fetch(l)).blob(),y=await createImageBitmap(v);p.drawImage(y,0,0);const g=p.getImageData(0,0,r,n),b=ECe(g.data,r),S=new ImageData(b,r,n);p.putImageData(S,0,0);const x=d.toDataURL();localStorage.setItem(c,x),u({maskImage:`url(${x})`,maskSize:"100% 100%"})}m()},[l,e]),A.jsx(i1,{alt:t,src:l,width:i,height:a,sx:s,...o})}function ACe(e){return e>0?"complete":null}function jU(e){switch(e){case _i.HARDCORE:return"complete";case _i.SOFTCORE:return"partial";default:return null}}function zU(e){switch(e){case _i.HARDCORE:return"Hardcore permed";case _i.SOFTCORE:return"Softcore permed";default:return"Not permed"}}const wCe=(e,t)=>Array(Math.ceil(e.length/t)).fill(0).map((r,n)=>e.slice(n*t,n*t+t));function CCe(e){return e!=null}function TCe(e){return e.id>=10&&e.id<=14?.1:[80,81,121,128,134,135,144,180,7254].includes(e.id)?.2:e.id>=28&&e.id<=43||e.id===56||e.id===57?.3:e.id>=46&&e.id<=48?.32:e.id>=92&&e.id<=106?.31:Math.floor(e.id/1e3)}function OCe(e,t){if(t)return[t.name,`itemimages/${t.image}.gif`];switch(e){case 0:return["Other","itemimages/book.gif"];case .1:return["Gnomish Gnomad Camp","itemimages/tinygnome.gif"];case .2:return["PvP","itemimages/swords.gif"];case .31:return["Dreadsylvania","itemimages/dvtat.gif"];case .3:return["Hobopolis","otherimages/sigils/hobotat19.gif"];case .32:return["Slime Tube","itemimages/slimeling.gif"];default:return["Unknown","itemimages/book.gif"]}}function _Ce(e){return e.reduce(([t,r],[n,i])=>Wd([[...t,n],[...r,i]]),Wd([[],[]]))}const kCe=hN({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});function ST(){const e=xg(0,100);return A.jsx(_n,{width:37.5,height:37.5,p:1,children:A.jsx(i1,{src:"/loading.png",alt:"Loading",filter:`invert(${e})`,sx:{animation:`${kCe} 1.5s infinite linear`,opacity:"0.3"}})})}var z0={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */z0.exports;(function(e,t){(function(r){var n=t,i=e&&e.exports==n&&e,a=typeof Ne=="object"&&Ne;(a.global===a||a.window===a)&&(r=a);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},f=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},g={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},b=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],S=String.fromCharCode,x={},E=x.hasOwnProperty,w=function(N,W){return E.call(N,W)},T=function(N,W){for(var G=-1,K=N.length;++G=55296&&N<=57343||N>1114111?(W&&I("character reference outside the permissible Unicode range"),"�"):w(g,N)?(W&&I("disallowed character reference"),g[N]):(W&&T(b,N)&&I("disallowed character reference"),N>65535&&(N-=65536,G+=S(N>>>10&1023|55296),N=56320|N&1023),G+=S(N),G)},P=function(N){return"&#x"+N.toString(16).toUpperCase()+";"},B=function(N){return"&#"+N+";"},I=function(N){throw Error("Parse error: "+N)},F=function(N,W){W=k(W,F.options);var G=W.strict;G&&m.test(N)&&I("forbidden code point");var K=W.encodeEverything,X=W.useNamedReferences,ie=W.allowUnsafeSymbols,fe=W.decimal?B:P,Se=function(de){return fe(de.charCodeAt(0))};return K?(N=N.replace(s,function(de){return X&&w(c,de)?"&"+c[de]+";":Se(de)}),X&&(N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),X&&(N=N.replace(l,function(de){return"&"+c[de]+";"}))):X?(ie||(N=N.replace(f,function(de){return"&"+c[de]+";"})),N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),N=N.replace(l,function(de){return"&"+c[de]+";"})):ie||(N=N.replace(f,Se)),N.replace(o,function(de){var Ae=de.charCodeAt(0),$=de.charCodeAt(1),ae=(Ae-55296)*1024+$-56320+65536;return fe(ae)}).replace(u,Se)};F.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var V=function(N,W){W=k(W,V.options);var G=W.strict;return G&&p.test(N)&&I("malformed character reference"),N.replace(h,function(K,X,ie,fe,Se,de,Ae,$,ae){var Z,z,be,ve,oe,xe;return X?(oe=X,v[oe]):ie?(oe=ie,xe=fe,xe&&W.isAttributeValue?(G&&xe=="="&&I("`&` did not start a character reference"),K):(G&&I("named character reference was not terminated by a semicolon"),y[oe]+(xe||""))):Se?(be=Se,z=de,G&&!z&&I("character reference was not terminated by a semicolon"),Z=parseInt(be,10),O(Z,G)):Ae?(ve=Ae,z=$,G&&!z&&I("character reference was not terminated by a semicolon"),Z=parseInt(ve,16),O(Z,G)):(G&&I("named character reference was not terminated by a semicolon"),K)})};V.options={isAttributeValue:!1,strict:!1};var U=function(N){return N.replace(f,function(W){return d[W]})},M={version:"1.2.0",encode:F,decode:V,escape:U,unescape:V};if(n&&!n.nodeType)if(i)i.exports=M;else for(var L in M)w(M,L)&&(n[L]=M[L]);else r.he=M})(Ne)})(z0,z0.exports);var PCe=z0.exports;const V0=Ge(PCe);function DCe(e,t){switch(e){case"complete":return{backgroundColor:"complete"};case"partial":return{backgroundColor:"partial",backgroundImage:`repeating-linear-gradient(45deg, ${t} 25%, transparent 25%, transparent 75%, ${t} 75%, ${t}), repeating-linear-gradient(45deg, ${t} 25%, transparent 25%, transparent 75%, ${t} 75%, ${t})`,backgroundPosition:"0 0, 5px 5px",backgroundSize:"10px 10px"};default:return{backgroundColor:t}}}const RCe=["Some Assembly Required","Batter Up!"];function VU(e,t,r,n){if(e)return V0.decode(e);const i=V0.decode(t).replaceAll(" ","_");return n.includes(t)||RCe.includes(t)?`${i}_(${r})`:i}const xu=C.forwardRef(function({type:t,state:r,name:n,image:i,badges:a=null,sourceWidth:o=30,title:s=`${n} (${r||"do not have"})`,link:u,...l},c){const[f]=vN("colors",["accent"]),d=DCe(r,f),p=Ee(h=>h.wikiClashes),m=VU(u,n,t,p);return A.jsxs(Goe,{ref:c,borderWidth:1,borderStyle:"solid",borderColor:"black",p:1,...d,title:s,position:"relative",overflow:"hidden",sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},_hover:{filter:d.backgroundColor?"brightness(90%)":void 0,backgroundColor:d.backgroundColor||"blackAlpha.50"},...l,children:[a&&A.jsx(_n,{position:"absolute",sx:{top:0,right:0},children:a}),typeof i=="string"?A.jsx(Oc,{src:i,sourceWidth:o}):i,A.jsx(Hoe,{textAlign:"center",fontSize:"10px",href:`https://kol.coldfront.net/thekolwiki/index.php/${m}`,isExternal:!0,children:V0.decode(n)})]})});function LCe({skill:e}){const t=Ee(s=>s.wikiClashes),r=C.useMemo(()=>VU(void 0,e.name,"skill",t),[e,t]),[n,i]=C.useState(null),a=C.useRef(null);C.useEffect(()=>{async function s(){const l=await(await fetch(`https://corsproxy.io/?${encodeURIComponent(`https://kol.coldfront.net/thekolwiki/api.php?action=parse&page=${r}&prop=text&format=json`)}`)).json(),c=/
(.*?)<\/td>/s.exec(l.parse.text["*"]);c==null?i("Cannot load wiki page (this is an experimental feature!)"):i(c[0].replaceAll('href="/','href="https://kol.coldfront.net/').replaceAll('p style="color:','p class="colortext" style="color:')+"
")}s()},[r]),C.useEffect(()=>{a.current&&n&&(a.current.innerHTML=n)},[a,n]);const o=PU();return A.jsx(pC,{sx:{img:{filter:o},"p.colortext":{filter:o}},ref:a,justifyContent:"center",children:A.jsx(ST,{})})}function Nt({id:e}){const t=Ee(OU),n=Ee(Qwe)[e],[,i,a]=t[e]||[e,_i.NONE,0],o=la.getMaxSkillLevel(n),s=o===0?a:o;return A.jsxs(p7,{trigger:"hover",isLazy:!0,children:[A.jsx(d7,{children:A.jsx(xu,{type:"skill",name:n.name,image:`itemimages/${n.image}`,state:jU(i),title:zU(i),badges:a?A.jsxs(xy,{mr:1,title:`Skill at level ${a}`,children:[a," / ",s]}):null})}),A.jsxs(v7,{style:{"--popper-bg":"var(--chakra-colors-imagebg)"},whiteSpace:"normal",children:[A.jsx(h7,{}),A.jsx(m7,{children:A.jsx(LCe,{skill:n})})]})]})}function Ye({image:e,title:t,farRight:r=!1,right:n=null,children:i}){return A.jsxs(Ua,{spacing:4,children:[A.jsxs(Sy,{children:[A.jsx(Oc,{src:e,sourceWidth:e.includes("sigils/")?50:30,width:30,height:30}),A.jsx(qs,{as:"h3",fontWeight:"normal",fontSize:"2xl",children:t}),r&&A.jsx(_n,{flex:1}),n]}),i]})}function Wi(){return A.jsx(Tr,{bg:"chakra-border-color"})}function NCe(){return A.jsx(Ye,{title:"The Machine",image:"itemimages/dv_skullcap.gif",children:A.jsx(Iue,{children:A.jsxs(S7,{children:[A.jsx(Mue,{children:A.jsxs(Ru,{textAlign:"center",children:[A.jsx(mi,{width:"80px",children:A.jsx(Oc,{src:"itemimages/brain.gif",alt:"Class of the brains in The Machine"})}),A.jsx(mi,{title:"Seal Clubber",children:"SC"}),A.jsx(mi,{title:"Turtle Tamer",children:"TT"}),A.jsx(mi,{title:"Pastamancer",children:"PA"}),A.jsx(mi,{title:"Sauceror",children:"S"}),A.jsx(mi,{title:"Disco Bandit",children:"DB"})]})}),A.jsxs(Bue,{children:[A.jsxs(Ru,{children:[A.jsx(mi,{title:"Turtle Tamer",children:"TT"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:92})}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Pastamancer",children:"PA"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:93})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:97})}),A.jsx(Wi,{}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Sauceror",children:"S"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:94})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:98})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:101})}),A.jsx(Wi,{}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Disco Bandit",children:"DB"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:95})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:99})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:102})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:104})}),A.jsx(Wi,{})]}),A.jsxs(Ru,{children:[A.jsx(mi,{title:"Accordion Thief",children:"AT"}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:96})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:100})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:103})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:105})}),A.jsx(Tr,{padding:1,children:A.jsx(Nt,{id:106})})]})]})]})})})}function MCe({label:e,complete:t}){return A.jsx(pC,{gridColumn:["1 / span 3",null,1],alignItems:"center",justifyContent:[null,null,"flex-end"],children:A.jsx(xy,{transform:[null,null,"rotate(270deg)"],fontSize:"sm",bg:t?"complete":void 0,children:e})},`rowlabel-${e}`)}function qU({items:e,renderItem:t,idToStatus:r,getRowLabel:n,columns:i=6}){const a=wCe(e,i);return A.jsx(Ri,{spacing:1,columns:[3,null,i+(n?1:0)],gridTemplateColumns:[null,null,`${n?"auto":""} repeat(${i}, minmax(0, 1fr))`],children:a.map((o,s)=>{const u=o.filter(CCe).map(l=>r[l.id]??k0.NONE).every(l=>l!==k0.NONE);return[n&&A.jsx(MCe,{label:n(s),complete:u},`rowlabel-${s}`),...o.map((l,c)=>l?t(l):A.jsx(_n,{display:["none",null,"block"]},`blank-${c}`))]})})}function Dt({items:e,playerItems:t,getRowLabel:r,columns:n=6}){const i=Ee(u=>u.items),a=e.map(u=>i[u]),o=C.useMemo(()=>e.reduce((u,l,c)=>({...u,[l]:t[c]}),{}),[e,t]),s=u=>A.jsx(xu,{type:"item",name:u.name,image:`itemimages/${u.image}`,state:ACe(o[u.id]||k0.NONE)},u.id);return A.jsx(qU,{items:a,idToStatus:o,columns:n,getRowLabel:r,renderItem:s})}function WU(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?1:-1},Rs=function(t){return fh(t)&&t.indexOf("%")===t.length-1},J=function(t){return $Ce(t)&&!dh(t)},Ht=function(t){return J(t)||fh(t)},QCe=0,a1=function(t){var r=++QCe;return"".concat(t||"").concat(r)},cu=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!J(t)&&!fh(t))return n;var a;if(Rs(t)){var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return dh(a)&&(a=n),i&&a>r&&(a=r),a},Vu=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},JCe=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function aTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var d4={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Fa=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},p4=null,db=null,ET=function e(t){if(t===p4&&Array.isArray(db))return db;var r=[];return C.Children.forEach(t,function(n){We(n)||(Sg.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),db=r,p4=t,r};function Mi(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(i){return Fa(i)}):n=[Fa(t)],ET(e).forEach(function(i){var a=Jn(i,"type.displayName")||Jn(i,"type.name");n.indexOf(a)!==-1&&r.push(i)}),r}function bn(e,t){var r=Mi(e,t);return r&&r[0]}var h4=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,i=r.height;return!(!J(n)||n<=0||!J(i)||i<=0)},oTe=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],sTe=function(t){return t&&t.type&&fh(t.type)&&oTe.indexOf(t.type)>=0},uTe=function(t,r,n,i){var a,o=(a=fb==null?void 0:fb[i])!==null&&a!==void 0?a:[];return!Re(t)&&(i&&o.includes(r)||tTe.includes(r))||n&&xT.includes(r)},qe=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(C.isValidElement(t)&&(i=t.props),!xc(i))return null;var a={};return Object.keys(i).forEach(function(o){var s;uTe((s=i)===null||s===void 0?void 0:s[o],o,r,n)&&(a[o]=i[o])}),a},nE=function e(t,r){if(t===r)return!0;var n=C.Children.count(t);if(n!==C.Children.count(r))return!1;if(n===0)return!0;if(n===1)return m4(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function pTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function aE(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,o=e.style,s=e.title,u=e.desc,l=dTe(e,fTe),c=i||{width:r,height:n,x:0,y:0},f=He("recharts-surface",a);return j.createElement("svg",iE({},qe(l,!0,"svg"),{className:f,width:r,height:n,style:o,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height)}),j.createElement("title",null,s),j.createElement("desc",null,u),t)}var hTe=["children","className"];function oE(){return oE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gTe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var nr=j.forwardRef(function(e,t){var r=e.children,n=e.className,i=mTe(e,hTe),a=He("recharts-layer",n);return j.createElement("g",oE({className:a},qe(i,!0),{ref:t}),r)}),$s=function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a=0))throw new Error(`invalid digits: ${e}`);if(t>15)return KU;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;ixs)if(!(Math.abs(f*u-l*c)>xs)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let p=n-o,m=i-s,h=u*u+l*l,v=p*p+m*m,y=Math.sqrt(h),g=Math.sqrt(d),b=a*Math.tan((sE-Math.acos((h+d-v)/(2*y*g)))/2),S=b/g,x=b/y;Math.abs(S-1)>xs&&this._append`L${t+S*c},${r+S*f}`,this._append`A${a},${a},0,0,${+(f*p>c*m)},${this._x1=t+x*u},${this._y1=r+x*l}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(i),u=n*Math.sin(i),l=t+s,c=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>xs||Math.abs(this._y1-c)>xs)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%uE+uE),d>vTe?this._append`A${n},${n},0,1,${f},${t-s},${r-u}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>xs&&this._append`A${n},${n},0,${+(d>=sE)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}};function AT(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new bTe(t)}function wT(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function $U(e){this._context=e}$U.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function s1(e){return new $U(e)}function YU(e){return e[0]}function XU(e){return e[1]}function ZU(e,t){var r=at(!0),n=null,i=s1,a=null,o=AT(s);e=typeof e=="function"?e:e===void 0?YU:at(e),t=typeof t=="function"?t:t===void 0?XU:at(t);function s(u){var l,c=(u=wT(u)).length,f,d=!1,p;for(n==null&&(a=i(p=o())),l=0;l<=c;++l)!(l=p;--m)s.point(b[m],S[m]);s.lineEnd(),s.areaEnd()}y&&(b[d]=+e(v,d,f),S[d]=+t(v,d,f),s.point(n?+n(v,d,f):b[d],r?+r(v,d,f):S[d]))}if(g)return s=null,g+""||null}function c(){return ZU().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:at(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:at(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:at(+f),l):n},l.y=function(f){return arguments.length?(t=typeof f=="function"?f:at(+f),r=null,l):t},l.y0=function(f){return arguments.length?(t=typeof f=="function"?f:at(+f),l):t},l.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:at(+f),l):r},l.lineX0=l.lineY0=function(){return c().x(e).y(t)},l.lineY1=function(){return c().x(e).y(r)},l.lineX1=function(){return c().x(n).y(t)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:at(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}class QU{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function STe(e){return new QU(e,!0)}function xTe(e){return new QU(e,!1)}const CT={draw(e,t){const r=ji(t/G0);e.moveTo(r,0),e.arc(0,0,r,0,o1)}},ETe={draw(e,t){const r=ji(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},JU=ji(1/3),ATe=JU*2,wTe={draw(e,t){const r=ji(t/ATe),n=r*JU;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},CTe={draw(e,t){const r=ji(t),n=-r/2;e.rect(n,n,r,r)}},TTe=.8908130915292852,eF=H0(G0/10)/H0(7*G0/10),OTe=H0(o1/10)*eF,_Te=-GU(o1/10)*eF,kTe={draw(e,t){const r=ji(t*TTe),n=OTe*r,i=_Te*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=o1*a/5,s=GU(o),u=H0(o);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},pb=ji(3),PTe={draw(e,t){const r=-ji(t/(pb*3));e.moveTo(0,r*2),e.lineTo(-pb*r,-r),e.lineTo(pb*r,-r),e.closePath()}},Fn=-.5,jn=ji(3)/2,lE=1/ji(12),DTe=(lE/2+1)*3,RTe={draw(e,t){const r=ji(t/DTe),n=r/2,i=r*lE,a=n,o=r*lE+r,s=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(Fn*n-jn*i,jn*n+Fn*i),e.lineTo(Fn*a-jn*o,jn*a+Fn*o),e.lineTo(Fn*s-jn*u,jn*s+Fn*u),e.lineTo(Fn*n+jn*i,Fn*i-jn*n),e.lineTo(Fn*a+jn*o,Fn*o-jn*a),e.lineTo(Fn*s+jn*u,Fn*u-jn*s),e.closePath()}};function LTe(e,t){let r=null,n=AT(i);e=typeof e=="function"?e:at(e||CT),t=typeof t=="function"?t:at(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:at(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:at(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function K0(){}function $0(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function tF(e){this._context=e}tF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$0(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function NTe(e){return new tF(e)}function rF(e){this._context=e}rF.prototype={areaStart:K0,areaEnd:K0,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function MTe(e){return new rF(e)}function nF(e){this._context=e}nF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:$0(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ITe(e){return new nF(e)}function iF(e){this._context=e}iF.prototype={areaStart:K0,areaEnd:K0,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function BTe(e){return new iF(e)}function v4(e){return e<0?-1:1}function y4(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(v4(a)+v4(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function b4(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function hb(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-n)/3;e._context.bezierCurveTo(n+s,i+s*t,a-s,o-s*r,a,o)}function Y0(e){this._context=e}Y0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:hb(this,this._t0,b4(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,hb(this,b4(this,r=y4(this,e,t)),r);break;default:hb(this,this._t0,r=y4(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function aF(e){this._context=new oF(e)}(aF.prototype=Object.create(Y0.prototype)).point=function(e,t){Y0.prototype.point.call(this,t,e)};function oF(e){this._context=e}oF.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function UTe(e){return new Y0(e)}function FTe(e){return new aF(e)}function sF(e){this._context=e}sF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=S4(e),i=S4(t),a=0,o=1;o=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function zTe(e){return new u1(e,.5)}function VTe(e){return new u1(e,0)}function qTe(e){return new u1(e,1)}function Zl(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,s=a.length;r=0;)r[t]=t;return r}function WTe(e,t){return e[t]}function HTe(e){const t=[];return t.key=e,t}function GTe(){var e=at([]),t=cE,r=Zl,n=WTe;function i(a){var o=Array.from(e.apply(this,arguments),HTe),s,u=o.length,l=-1,c;for(const f of a)for(s=0,++l;s0){for(var r,n,i=0,a=e[0].length,o;i0){for(var r=0,n=e[t[0]],i,a=n.length;r0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function t3e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var uF={symbolCircle:CT,symbolCross:ETe,symbolDiamond:wTe,symbolSquare:CTe,symbolStar:kTe,symbolTriangle:PTe,symbolWye:RTe},r3e=Math.PI/180,n3e=function(t){var r="symbol".concat(Hy(t));return uF[r]||CT},i3e=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*r3e;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},a3e=function(t,r){uF["symbol".concat(Hy(t))]=r},TT=function(t){var r=t.type,n=r===void 0?"circle":r,i=t.size,a=i===void 0?64:i,o=t.sizeType,s=o===void 0?"area":o,u=e3e(t,XTe),l=E4(E4({},u),{},{type:n,size:a,sizeType:s}),c=function(){var v=n3e(n),y=LTe().type(v).size(i3e(a,s,n));return y()},f=l.className,d=l.cx,p=l.cy,m=qe(l,!0);return d===+d&&p===+p&&a===+a?j.createElement("path",fE({},m,{className:He("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(p,")"),d:c()})):null};TT.registerSymbol=a3e;function Ql(e){"@babel/helpers - typeof";return Ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ql(e)}function dE(){return dE=Object.assign?Object.assign.bind():function(e){for(var t=1;t`);var g=p.inactive?l:p.color;return j.createElement("li",dE({className:v,style:f,key:"legend-item-".concat(m)},W0(n.props,p,m)),j.createElement(aE,{width:o,height:o,viewBox:c,style:d},n.renderIcon(p)),j.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},h?h(y,p,m):y))})}},{key:"render",value:function(){var n=this.props,i=n.payload,a=n.layout,o=n.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:a==="horizontal"?o:"left"};return j.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),t}(C.PureComponent);Yd(OT,"displayName","Legend");Yd(OT,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});function m3e(e){return e!==e}var g3e=m3e;function v3e(e,t,r){for(var n=r-1,i=e.length;++n-1}var T3e=C3e;function O3e(e,t,r){for(var n=-1,i=e==null?0:e.length;++n=V3e){var l=t?null:j3e(e);if(l)return z3e(l);o=!1,i=F3e,u=new I3e}else u=t?[]:s;e:for(;++n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function nOe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function iOe(e){return e.value}function aOe(e,t){if(j.isValidElement(e))return j.cloneElement(e,t);if(typeof e=="function")return j.createElement(e,t);t.ref;var r=rOe(t,Y3e);return j.createElement(OT,r)}var OD=1,Xd=function(e){eOe(t,e);function t(){var r;X3e(this,t);for(var n=arguments.length,i=new Array(n),a=0;aOD||Math.abs(i.height-this.lastBoundingBox.height)>OD)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,n&&n(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?ps({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var i=this.props,a=i.layout,o=i.align,s=i.verticalAlign,u=i.margin,l=i.chartWidth,c=i.chartHeight,f,d;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&a==="vertical"){var p=this.getBBoxSnapshot();f={left:((l||0)-p.width)/2}}else f=o==="right"?{right:u&&u.right||0}:{left:u&&u.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(s==="middle"){var m=this.getBBoxSnapshot();d={top:((c||0)-m.height)/2}}else d=s==="bottom"?{bottom:u&&u.bottom||0}:{top:u&&u.top||0};return ps(ps({},f),d)}},{key:"render",value:function(){var n=this,i=this.props,a=i.content,o=i.width,s=i.height,u=i.wrapperStyle,l=i.payloadUniqBy,c=i.payload,f=ps(ps({position:"absolute",width:o||"auto",height:s||"auto"},this.getDefaultPosition(u)),u);return j.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(p){n.wrapperNode=p}},aOe(a,ps(ps({},this.props),{},{payload:fF(c,l,iOe)})))}}],[{key:"getWithHeight",value:function(n,i){var a=n.props.layout;return a==="vertical"&&J(n.props.height)?{height:n.props.height}:a==="horizontal"?{width:n.props.width||i}:null}}]),t}(C.PureComponent);l1(Xd,"displayName","Legend");l1(Xd,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var _D=sh,oOe=eT,sOe=mn,kD=_D?_D.isConcatSpreadable:void 0;function uOe(e){return sOe(e)||oOe(e)||!!(kD&&e&&e[kD])}var lOe=uOe,cOe=BB,fOe=lOe;function mF(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=fOe),i||(i=[]);++a0&&r(s)?t>1?mF(s,t-1,r,n,i):cOe(i,s):n||(i[i.length]=s)}return i}var gF=mF;function dOe(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var u=o[e?s:++i];if(r(a[u],u,a)===!1)break}return t}}var pOe=dOe,hOe=pOe,mOe=hOe(),gOe=mOe,vOe=gOe,yOe=Zy;function bOe(e,t){return e&&vOe(e,t,yOe)}var vF=bOe,SOe=lh;function xOe(e,t){return function(r,n){if(r==null)return r;if(!SOe(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Object(r);(t?a--:++at||a&&o&&u&&!s&&!l||n&&o&&u||!r&&u||!i)return 1;if(!n&&!a&&!l&&e=s)return u;var l=r[n];return u*(l=="desc"?-1:1)}}return e.index-t.index}var MOe=NOe,gb=GC,IOe=oT,BOe=rs,UOe=yF,FOe=POe,jOe=jB,zOe=MOe,VOe=Tc,qOe=mn;function WOe(e,t,r){t.length?t=gb(t,function(a){return qOe(a)?function(o){return IOe(o,a.length===1?a[0]:a)}:a}):t=[VOe];var n=-1;t=gb(t,jOe(BOe));var i=UOe(e,function(a,o,s){var u=gb(t,function(l){return l(a)});return{criteria:u,index:++n,value:a}});return FOe(i,function(a,o){return zOe(a,o,r)})}var HOe=WOe;function GOe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var KOe=GOe,$Oe=KOe,DD=Math.max;function YOe(e,t,r){return t=DD(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=DD(n.length-t,0),o=Array(a);++i0){if(++t>=a_e)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var l_e=u_e,c_e=i_e,f_e=l_e,d_e=f_e(c_e),p_e=d_e,h_e=Tc,m_e=XOe,g_e=p_e;function v_e(e,t){return g_e(m_e(e,t,h_e),e+"")}var y_e=v_e,b_e=YC,S_e=lh,x_e=tT,E_e=ts;function A_e(e,t,r){if(!E_e(r))return!1;var n=typeof t;return(n=="number"?S_e(r)&&x_e(t,r.length):n=="string"&&t in r)?b_e(r[t],e):!1}var c1=A_e,w_e=gF,C_e=HOe,T_e=y_e,LD=c1,O_e=T_e(function(e,t){if(e==null)return[];var r=t.length;return r>1&&LD(e,t[0],t[1])?t=[]:r>2&&LD(t[0],t[1],t[2])&&(t=[t[0]]),C_e(e,w_e(t,1),[])}),__e=O_e;const kT=Ge(__e);function Zd(e){"@babel/helpers - typeof";return Zd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zd(e)}function mE(){return mE=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t.x),"".concat(tf,"-left"),J(r)&&t&&J(t.x)&&r=t.y),"".concat(tf,"-top"),J(n)&&t&&J(t.y)&&nh?Math.max(c,u[n]):Math.max(f,u[n])}function q_e(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function W_e(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,s=e.useTranslate3d,u=e.viewBox,l,c,f;return o.height>0&&o.width>0&&r?(c=ID({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:u,viewBoxDimension:u.width}),f=ID({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:u,viewBoxDimension:u.height}),l=q_e({translateX:c,translateY:f,useTranslate3d:s})):l=z_e,{cssProperties:l,cssClasses:V_e({translateX:c,translateY:f,coordinate:r})}}function ec(e){"@babel/helpers - typeof";return ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ec(e)}function BD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function UD(e){for(var t=1;tFD||Math.abs(n.height-this.state.lastBoundingBox.height)>FD)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,s=i.animationDuration,u=i.animationEasing,l=i.children,c=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,p=i.offset,m=i.position,h=i.reverseDirection,v=i.useTranslate3d,y=i.viewBox,g=i.wrapperStyle,b=W_e({allowEscapeViewBox:o,coordinate:c,offsetTopLeft:p,position:m,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:v,viewBox:y}),S=b.cssClasses,x=b.cssProperties,E=UD(UD({transition:d&&a?"transform ".concat(s,"ms ").concat(u):void 0},x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&a&&f?"visible":"hidden",position:"absolute",top:0,left:0},g);return j.createElement("div",{tabIndex:-1,className:S,style:E,ref:function(T){n.wrapperNode=T}},l)}}]),t}(C.PureComponent),J_e=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Io={isSsr:J_e(),get:function(t){return Io[t]},set:function(t,r){if(typeof t=="string")Io[t]=r;else{var n=Object.keys(t);n&&n.length&&n.forEach(function(i){Io[i]=t[i]})}}};function tc(e){"@babel/helpers - typeof";return tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tc(e)}function jD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zD(e){for(var t=1;t0;return j.createElement(Q_e,{allowEscapeViewBox:o,animationDuration:s,animationEasing:u,isAnimationActive:d,active:a,coordinate:c,hasPayload:E,offset:p,position:v,reverseDirection:y,useTranslate3d:g,viewBox:b,wrapperStyle:S},lke(l,zD(zD({},this.props),{},{payload:x})))}}]),t}(C.PureComponent);PT(Ea,"displayName","Tooltip");PT(Ea,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Io.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var cke=ga,fke=function(){return cke.Date.now()},dke=fke,pke=ts,yb=dke,VD=JB,hke="Expected a function",mke=Math.max,gke=Math.min;function vke(e,t,r){var n,i,a,o,s,u,l=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(hke);t=VD(t)||0,pke(r)&&(c=!!r.leading,f="maxWait"in r,a=f?mke(VD(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d);function p(E){var w=n,T=i;return n=i=void 0,l=E,o=e.apply(T,w),o}function m(E){return l=E,s=setTimeout(y,t),c?p(E):o}function h(E){var w=E-u,T=E-l,k=t-w;return f?gke(k,a-T):k}function v(E){var w=E-u,T=E-l;return u===void 0||w>=t||w<0||f&&T>=a}function y(){var E=yb();if(v(E))return g(E);s=setTimeout(y,h(E))}function g(E){return s=void 0,d&&n?p(E):(n=i=void 0,o)}function b(){s!==void 0&&clearTimeout(s),l=0,n=u=i=s=void 0}function S(){return s===void 0?o:g(yb())}function x(){var E=yb(),w=v(E);if(n=arguments,i=this,u=E,w){if(s===void 0)return m(u);if(f)return clearTimeout(s),s=setTimeout(y,t),p(u)}return s===void 0&&(s=setTimeout(y,t)),o}return x.cancel=b,x.flush=S,x}var yke=vke,bke=yke,Ske=ts,xke="Expected a function";function Eke(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(xke);return Ske(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),bke(e,t,{leading:n,maxWait:t,trailing:i})}var Ake=Eke;const wF=Ge(Ake);function Jd(e){"@babel/helpers - typeof";return Jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jd(e)}function qD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gm(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&(I=wF(I,h,{trailing:!0,leading:!1}));var F=new ResizeObserver(I),V=x.current.getBoundingClientRect(),U=V.width,M=V.height;return P(U,M),F.observe(x.current),function(){F.disconnect()}},[P,h]);var B=C.useMemo(function(){var I=k.containerWidth,F=k.containerHeight;if(I<0||F<0)return null;$s(Rs(o)||Rs(u),`The width(%s) and height(%s) are both fixed numbers, + A`).concat(o,",").concat(o,",0,1,1,").concat(s,",").concat(a),className:"recharts-legend-icon"});if(n.type==="rect")return j.createElement("path",{stroke:"none",fill:u,d:"M0,".concat(zn/8,"h").concat(zn,"v").concat(zn*3/4,"h").concat(-zn,"z"),className:"recharts-legend-icon"});if(j.isValidElement(n.legendIcon)){var l=o3e({},n);return delete l.legendIcon,j.cloneElement(n.legendIcon,l)}return j.createElement(TT,{fill:u,cx:a,cy:a,size:zn,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,i=this.props,a=i.payload,o=i.iconSize,s=i.layout,u=i.formatter,l=i.inactiveColor,c={x:0,y:0,width:zn,height:zn},f={display:s==="horizontal"?"inline-block":"block",marginRight:10},d={display:"inline-block",verticalAlign:"middle",marginRight:4};return a.map(function(p,m){var h=p.formatter||u,v=He(Yd(Yd({"recharts-legend-item":!0},"legend-item-".concat(m),!0),"inactive",p.inactive));if(p.type==="none")return null;var y=Re(p.value)?null:p.value;$s(!Re(p.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: `);var g=p.inactive?l:p.color;return j.createElement("li",dE({className:v,style:f,key:"legend-item-".concat(m)},W0(n.props,p,m)),j.createElement(aE,{width:o,height:o,viewBox:c,style:d},n.renderIcon(p)),j.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},h?h(y,p,m):y))})}},{key:"render",value:function(){var n=this.props,i=n.payload,a=n.layout,o=n.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:a==="horizontal"?o:"left"};return j.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),t}(C.PureComponent);Yd(OT,"displayName","Legend");Yd(OT,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});function m3e(e){return e!==e}var g3e=m3e;function v3e(e,t,r){for(var n=r-1,i=e.length;++n-1}var T3e=C3e;function O3e(e,t,r){for(var n=-1,i=e==null?0:e.length;++n=V3e){var l=t?null:j3e(e);if(l)return z3e(l);o=!1,i=F3e,u=new I3e}else u=t?[]:s;e:for(;++n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function nOe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function iOe(e){return e.value}function aOe(e,t){if(j.isValidElement(e))return j.cloneElement(e,t);if(typeof e=="function")return j.createElement(e,t);t.ref;var r=rOe(t,Y3e);return j.createElement(OT,r)}var O4=1,Xd=function(e){eOe(t,e);function t(){var r;X3e(this,t);for(var n=arguments.length,i=new Array(n),a=0;aO4||Math.abs(i.height-this.lastBoundingBox.height)>O4)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,n&&n(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?ps({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var i=this.props,a=i.layout,o=i.align,s=i.verticalAlign,u=i.margin,l=i.chartWidth,c=i.chartHeight,f,d;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&a==="vertical"){var p=this.getBBoxSnapshot();f={left:((l||0)-p.width)/2}}else f=o==="right"?{right:u&&u.right||0}:{left:u&&u.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(s==="middle"){var m=this.getBBoxSnapshot();d={top:((c||0)-m.height)/2}}else d=s==="bottom"?{bottom:u&&u.bottom||0}:{top:u&&u.top||0};return ps(ps({},f),d)}},{key:"render",value:function(){var n=this,i=this.props,a=i.content,o=i.width,s=i.height,u=i.wrapperStyle,l=i.payloadUniqBy,c=i.payload,f=ps(ps({position:"absolute",width:o||"auto",height:s||"auto"},this.getDefaultPosition(u)),u);return j.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(p){n.wrapperNode=p}},aOe(a,ps(ps({},this.props),{},{payload:fF(c,l,iOe)})))}}],[{key:"getWithHeight",value:function(n,i){var a=n.props.layout;return a==="vertical"&&J(n.props.height)?{height:n.props.height}:a==="horizontal"?{width:n.props.width||i}:null}}]),t}(C.PureComponent);l1(Xd,"displayName","Legend");l1(Xd,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var _4=sh,oOe=eT,sOe=mn,k4=_4?_4.isConcatSpreadable:void 0;function uOe(e){return sOe(e)||oOe(e)||!!(k4&&e&&e[k4])}var lOe=uOe,cOe=BB,fOe=lOe;function mF(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=fOe),i||(i=[]);++a0&&r(s)?t>1?mF(s,t-1,r,n,i):cOe(i,s):n||(i[i.length]=s)}return i}var gF=mF;function dOe(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var u=o[e?s:++i];if(r(a[u],u,a)===!1)break}return t}}var pOe=dOe,hOe=pOe,mOe=hOe(),gOe=mOe,vOe=gOe,yOe=Zy;function bOe(e,t){return e&&vOe(e,t,yOe)}var vF=bOe,SOe=lh;function xOe(e,t){return function(r,n){if(r==null)return r;if(!SOe(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Object(r);(t?a--:++at||a&&o&&u&&!s&&!l||n&&o&&u||!r&&u||!i)return 1;if(!n&&!a&&!l&&e=s)return u;var l=r[n];return u*(l=="desc"?-1:1)}}return e.index-t.index}var MOe=NOe,gb=GC,IOe=oT,BOe=rs,UOe=yF,FOe=POe,jOe=jB,zOe=MOe,VOe=Tc,qOe=mn;function WOe(e,t,r){t.length?t=gb(t,function(a){return qOe(a)?function(o){return IOe(o,a.length===1?a[0]:a)}:a}):t=[VOe];var n=-1;t=gb(t,jOe(BOe));var i=UOe(e,function(a,o,s){var u=gb(t,function(l){return l(a)});return{criteria:u,index:++n,value:a}});return FOe(i,function(a,o){return zOe(a,o,r)})}var HOe=WOe;function GOe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var KOe=GOe,$Oe=KOe,D4=Math.max;function YOe(e,t,r){return t=D4(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=D4(n.length-t,0),o=Array(a);++i0){if(++t>=a_e)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var l_e=u_e,c_e=i_e,f_e=l_e,d_e=f_e(c_e),p_e=d_e,h_e=Tc,m_e=XOe,g_e=p_e;function v_e(e,t){return g_e(m_e(e,t,h_e),e+"")}var y_e=v_e,b_e=YC,S_e=lh,x_e=tT,E_e=ts;function A_e(e,t,r){if(!E_e(r))return!1;var n=typeof t;return(n=="number"?S_e(r)&&x_e(t,r.length):n=="string"&&t in r)?b_e(r[t],e):!1}var c1=A_e,w_e=gF,C_e=HOe,T_e=y_e,L4=c1,O_e=T_e(function(e,t){if(e==null)return[];var r=t.length;return r>1&&L4(e,t[0],t[1])?t=[]:r>2&&L4(t[0],t[1],t[2])&&(t=[t[0]]),C_e(e,w_e(t,1),[])}),__e=O_e;const kT=Ge(__e);function Zd(e){"@babel/helpers - typeof";return Zd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zd(e)}function mE(){return mE=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t.x),"".concat(tf,"-left"),J(r)&&t&&J(t.x)&&r=t.y),"".concat(tf,"-top"),J(n)&&t&&J(t.y)&&nh?Math.max(c,u[n]):Math.max(f,u[n])}function q_e(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function W_e(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,s=e.useTranslate3d,u=e.viewBox,l,c,f;return o.height>0&&o.width>0&&r?(c=I4({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:u,viewBoxDimension:u.width}),f=I4({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:u,viewBoxDimension:u.height}),l=q_e({translateX:c,translateY:f,useTranslate3d:s})):l=z_e,{cssProperties:l,cssClasses:V_e({translateX:c,translateY:f,coordinate:r})}}function ec(e){"@babel/helpers - typeof";return ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ec(e)}function B4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function U4(e){for(var t=1;tF4||Math.abs(n.height-this.state.lastBoundingBox.height)>F4)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,s=i.animationDuration,u=i.animationEasing,l=i.children,c=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,p=i.offset,m=i.position,h=i.reverseDirection,v=i.useTranslate3d,y=i.viewBox,g=i.wrapperStyle,b=W_e({allowEscapeViewBox:o,coordinate:c,offsetTopLeft:p,position:m,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:v,viewBox:y}),S=b.cssClasses,x=b.cssProperties,E=U4(U4({transition:d&&a?"transform ".concat(s,"ms ").concat(u):void 0},x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&a&&f?"visible":"hidden",position:"absolute",top:0,left:0},g);return j.createElement("div",{tabIndex:-1,className:S,style:E,ref:function(T){n.wrapperNode=T}},l)}}]),t}(C.PureComponent),J_e=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Io={isSsr:J_e(),get:function(t){return Io[t]},set:function(t,r){if(typeof t=="string")Io[t]=r;else{var n=Object.keys(t);n&&n.length&&n.forEach(function(i){Io[i]=t[i]})}}};function tc(e){"@babel/helpers - typeof";return tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tc(e)}function j4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function z4(e){for(var t=1;t0;return j.createElement(Q_e,{allowEscapeViewBox:o,animationDuration:s,animationEasing:u,isAnimationActive:d,active:a,coordinate:c,hasPayload:E,offset:p,position:v,reverseDirection:y,useTranslate3d:g,viewBox:b,wrapperStyle:S},lke(l,z4(z4({},this.props),{},{payload:x})))}}]),t}(C.PureComponent);PT(Ea,"displayName","Tooltip");PT(Ea,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Io.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var cke=ga,fke=function(){return cke.Date.now()},dke=fke,pke=ts,yb=dke,V4=JB,hke="Expected a function",mke=Math.max,gke=Math.min;function vke(e,t,r){var n,i,a,o,s,u,l=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(hke);t=V4(t)||0,pke(r)&&(c=!!r.leading,f="maxWait"in r,a=f?mke(V4(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d);function p(E){var w=n,T=i;return n=i=void 0,l=E,o=e.apply(T,w),o}function m(E){return l=E,s=setTimeout(y,t),c?p(E):o}function h(E){var w=E-u,T=E-l,k=t-w;return f?gke(k,a-T):k}function v(E){var w=E-u,T=E-l;return u===void 0||w>=t||w<0||f&&T>=a}function y(){var E=yb();if(v(E))return g(E);s=setTimeout(y,h(E))}function g(E){return s=void 0,d&&n?p(E):(n=i=void 0,o)}function b(){s!==void 0&&clearTimeout(s),l=0,n=u=i=s=void 0}function S(){return s===void 0?o:g(yb())}function x(){var E=yb(),w=v(E);if(n=arguments,i=this,u=E,w){if(s===void 0)return m(u);if(f)return clearTimeout(s),s=setTimeout(y,t),p(u)}return s===void 0&&(s=setTimeout(y,t)),o}return x.cancel=b,x.flush=S,x}var yke=vke,bke=yke,Ske=ts,xke="Expected a function";function Eke(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(xke);return Ske(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),bke(e,t,{leading:n,maxWait:t,trailing:i})}var Ake=Eke;const wF=Ge(Ake);function Jd(e){"@babel/helpers - typeof";return Jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jd(e)}function q4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gm(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&(I=wF(I,h,{trailing:!0,leading:!1}));var F=new ResizeObserver(I),V=x.current.getBoundingClientRect(),U=V.width,M=V.height;return P(U,M),F.observe(x.current),function(){F.disconnect()}},[P,h]);var B=C.useMemo(function(){var I=k.containerWidth,F=k.containerHeight;if(I<0||F<0)return null;$s(Rs(o)||Rs(u),`The width(%s) and height(%s) are both fixed numbers, maybe you don't need to use a ResponsiveContainer.`,o,u),$s(!r||r>0,"The aspect(%s) must be greater than zero.",r);var V=Rs(o)?I:o,U=Rs(u)?F:u;r&&r>0&&(V?U=V/r:U&&(V=U*r),d&&U>d&&(U=d)),$s(V>0||U>0,`The width(%s) and height(%s) of chart should be greater than 0, please check the style of container, or the props width(%s) and height(%s), or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the - height and width.`,V,U,o,u,c,f,r);var M=!Array.isArray(p)&&Sg.isElement(p)&&Fa(p.type).endsWith("Chart");return j.Children.map(p,function(L){return Sg.isElement(L)?C.cloneElement(L,gm({width:V,height:U},M?{style:gm({height:"100%",width:"100%",maxHeight:U,maxWidth:V},L.props.style)}:{})):L})},[r,p,u,d,f,c,k,o]);return j.createElement("div",{id:v?"".concat(v):void 0,className:He("recharts-responsive-container",y),style:gm(gm({},S),{},{width:o,height:u,minWidth:c,minHeight:f,maxHeight:d}),ref:x},B)}),CF=function(t){return null};CF.displayName="Cell";function ep(e){"@babel/helpers - typeof";return ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ep(e)}function HD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function SE(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Io.isSsr)return{width:0,height:0};var n=Uke(r),i=JSON.stringify({text:t,copyStyle:n});if(Iu.widthCache[i])return Iu.widthCache[i];try{var a=document.getElementById(GD);a||(a=document.createElement("span"),a.setAttribute("id",GD),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var o=SE(SE({},Bke),n);Object.assign(a.style,o),a.textContent="".concat(t);var s=a.getBoundingClientRect(),u={width:s.width,height:s.height};return Iu.widthCache[i]=u,++Iu.cacheCount>Ike&&(Iu.cacheCount=0,Iu.widthCache={}),u}catch{return{width:0,height:0}}},Fke=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function tp(e){"@babel/helpers - typeof";return tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tp(e)}function ev(e,t){return qke(e)||Vke(e,t)||zke(e,t)||jke()}function jke(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zke(e,t){if(e){if(typeof e=="string")return KD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return KD(e,t)}}function KD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function n5e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function JD(e,t){return s5e(e)||o5e(e,t)||a5e(e,t)||i5e()}function i5e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a5e(e,t){if(e){if(typeof e=="string")return e4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e4(e,t)}}function e4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&arguments[0]!==void 0?arguments[0]:[];return V.reduce(function(U,M){var L=M.word,N=M.width,W=U[U.length-1];if(W&&(i==null||a||W.width+N+nM.width?U:M})};if(!c)return p;for(var h="…",v=function(V){var U=f.slice(0,V),M=kF({breakAll:l,style:u,children:U+h}).wordsWithComputedWidth,L=d(M),N=L.length>o||m(L).width>Number(i);return[N,L]},y=0,g=f.length-1,b=0,S;y<=g&&b<=f.length-1;){var x=Math.floor((y+g)/2),E=x-1,w=v(E),T=JD(w,2),k=T[0],O=T[1],P=v(x),B=JD(P,1),I=B[0];if(!k&&!I&&(y=x+1),k&&I&&(g=x-1),!k&&I){S=O;break}b++}return S||p},t4=function(t){var r=We(t)?[]:t.toString().split(_F);return[{words:r}]},l5e=function(t){var r=t.width,n=t.scaleToFit,i=t.children,a=t.style,o=t.breakAll,s=t.maxLines;if((r||n)&&!Io.isSsr){var u,l,c=kF({breakAll:o,children:i,style:a});if(c){var f=c.wordsWithComputedWidth,d=c.spaceWidth;u=f,l=d}else return t4(i);return u5e({breakAll:o,children:i,maxLines:s,style:a},u,l,r,n)}return t4(i)},r4="#808080",tv=function(t){var r=t.x,n=r===void 0?0:r,i=t.y,a=i===void 0?0:i,o=t.lineHeight,s=o===void 0?"1em":o,u=t.capHeight,l=u===void 0?"0.71em":u,c=t.scaleToFit,f=c===void 0?!1:c,d=t.textAnchor,p=d===void 0?"start":d,m=t.verticalAnchor,h=m===void 0?"end":m,v=t.fill,y=v===void 0?r4:v,g=QD(t,t5e),b=C.useMemo(function(){return l5e({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:f,style:g.style,width:g.width})},[g.breakAll,g.children,g.maxLines,f,g.style,g.width]),S=g.dx,x=g.dy,E=g.angle,w=g.className,T=g.breakAll,k=QD(g,r5e);if(!Ht(n)||!Ht(a))return null;var O=n+(J(S)?S:0),P=a+(J(x)?x:0),B;switch(h){case"start":B=bb("calc(".concat(l,")"));break;case"middle":B=bb("calc(".concat((b.length-1)/2," * -").concat(s," + (").concat(l," / 2))"));break;default:B=bb("calc(".concat(b.length-1," * -").concat(s,")"));break}var I=[];if(f){var F=b[0].width,V=g.width;I.push("scale(".concat((J(V)?V/F:1)/F,")"))}return E&&I.push("rotate(".concat(E,", ").concat(O,", ").concat(P,")")),I.length&&(k.transform=I.join(" ")),j.createElement("text",xE({},qe(k,!0),{x:O,y:P,className:He("recharts-text",w),textAnchor:p,fill:y.includes("url")?r4:y}),b.map(function(U,M){var L=U.words.join(T?"":" ");return j.createElement("tspan",{x:O,dy:M===0?B:s,key:L},L)}))};function Bo(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function c5e(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function DT(e){let t,r,n;e.length!==2?(t=Bo,r=(s,u)=>Bo(e(s),u),n=(s,u)=>e(s)-u):(t=e===Bo||e===c5e?e:f5e,r=e,n=e);function i(s,u,l=0,c=s.length){if(l>>1;r(s[f],u)<0?l=f+1:c=f}while(l>>1;r(s[f],u)<=0?l=f+1:c=f}while(ll&&n(s[f-1],u)>-n(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function f5e(){return 0}function PF(e){return e===null?NaN:+e}function*d5e(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const p5e=DT(Bo),ph=p5e.right;DT(PF).center;class n4 extends Map{constructor(t,r=g5e){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(i4(this,t))}has(t){return super.has(i4(this,t))}set(t,r){return super.set(h5e(this,t),r)}delete(t){return super.delete(m5e(this,t))}}function i4({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function h5e({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function m5e({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function g5e(e){return e!==null&&typeof e=="object"?e.valueOf():e}function v5e(e=Bo){if(e===Bo)return DF;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function DF(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}const y5e=Math.sqrt(50),b5e=Math.sqrt(10),S5e=Math.sqrt(2);function rv(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=y5e?10:a>=b5e?5:a>=S5e?2:1;let s,u,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(e*l),u=Math.round(t*l),s/lt&&--u,l=-l):(l=Math.pow(10,i)*o,s=Math.round(e/l),u=Math.round(t/l),s*lt&&--u),u0))return[];if(e===t)return[e];const n=t=i))return[];const s=a-i+1,u=new Array(s);if(n)if(o<0)for(let l=0;l=n)&&(r=n);return r}function o4(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function RF(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?DF:v5e(i);n>r;){if(n-r>600){const u=n-r+1,l=t-r+1,c=Math.log(u),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(u-f)/u)*(l-u/2<0?-1:1),p=Math.max(r,Math.floor(t-l*f/u+d)),m=Math.min(n,Math.floor(t+(u-l)*f/u+d));RF(e,t,p,m,i)}const a=e[t];let o=r,s=n;for(rf(e,r,t),i(e[n],a)>0&&rf(e,r,n);o0;)--s}i(e[r],a)===0?rf(e,r,s):(++s,rf(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function rf(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function x5e(e,t,r){if(e=Float64Array.from(d5e(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return o4(e);if(t>=1)return a4(e);var n,i=(n-1)*t,a=Math.floor(i),o=a4(RF(e,a).subarray(0,a+1)),s=o4(e.subarray(a+1));return o+(s-o)*(i-a)}}function E5e(e,t,r=PF){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),s=+r(e[a+1],a+1,e);return o+(s-o)*(i-a)}}function A5e(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?ym(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?ym(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=C5e.exec(e))?new rn(t[1],t[2],t[3],1):(t=T5e.exec(e))?new rn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=O5e.exec(e))?ym(t[1],t[2],t[3],t[4]):(t=_5e.exec(e))?ym(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=k5e.exec(e))?p4(t[1],t[2]/100,t[3]/100,1):(t=P5e.exec(e))?p4(t[1],t[2]/100,t[3]/100,t[4]):s4.hasOwnProperty(e)?c4(s4[e]):e==="transparent"?new rn(NaN,NaN,NaN,0):null}function c4(e){return new rn(e>>16&255,e>>8&255,e&255,1)}function ym(e,t,r,n){return n<=0&&(e=t=r=NaN),new rn(e,t,r,n)}function L5e(e){return e instanceof hh||(e=ap(e)),e?(e=e.rgb(),new rn(e.r,e.g,e.b,e.opacity)):new rn}function TE(e,t,r,n){return arguments.length===1?L5e(e):new rn(e,t,r,n??1)}function rn(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}LT(rn,TE,NF(hh,{brighter(e){return e=e==null?nv:Math.pow(nv,e),new rn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?np:Math.pow(np,e),new rn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new rn(Ys(this.r),Ys(this.g),Ys(this.b),iv(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:f4,formatHex:f4,formatHex8:N5e,formatRgb:d4,toString:d4}));function f4(){return`#${Ls(this.r)}${Ls(this.g)}${Ls(this.b)}`}function N5e(){return`#${Ls(this.r)}${Ls(this.g)}${Ls(this.b)}${Ls((isNaN(this.opacity)?1:this.opacity)*255)}`}function d4(){const e=iv(this.opacity);return`${e===1?"rgb(":"rgba("}${Ys(this.r)}, ${Ys(this.g)}, ${Ys(this.b)}${e===1?")":`, ${e})`}`}function iv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ys(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ls(e){return e=Ys(e),(e<16?"0":"")+e.toString(16)}function p4(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Ci(e,t,r,n)}function MF(e){if(e instanceof Ci)return new Ci(e.h,e.s,e.l,e.opacity);if(e instanceof hh||(e=ap(e)),!e)return new Ci;if(e instanceof Ci)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,s=a-i,u=(a+i)/2;return s?(t===a?o=(r-n)/s+(r0&&u<1?0:o,new Ci(o,s,u,e.opacity)}function M5e(e,t,r,n){return arguments.length===1?MF(e):new Ci(e,t,r,n??1)}function Ci(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}LT(Ci,M5e,NF(hh,{brighter(e){return e=e==null?nv:Math.pow(nv,e),new Ci(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?np:Math.pow(np,e),new Ci(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new rn(Sb(e>=240?e-240:e+120,i,n),Sb(e,i,n),Sb(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Ci(h4(this.h),bm(this.s),bm(this.l),iv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=iv(this.opacity);return`${e===1?"hsl(":"hsla("}${h4(this.h)}, ${bm(this.s)*100}%, ${bm(this.l)*100}%${e===1?")":`, ${e})`}`}}));function h4(e){return e=(e||0)%360,e<0?e+360:e}function bm(e){return Math.max(0,Math.min(1,e||0))}function Sb(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const NT=e=>()=>e;function I5e(e,t){return function(r){return e+r*t}}function B5e(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function U5e(e){return(e=+e)==1?IF:function(t,r){return r-t?B5e(t,r,e):NT(isNaN(t)?r:t)}}function IF(e,t){var r=t-e;return r?I5e(e,r):NT(isNaN(e)?t:e)}const m4=function e(t){var r=U5e(t);function n(i,a){var o=r((i=TE(i)).r,(a=TE(a)).r),s=r(i.g,a.g),u=r(i.b,a.b),l=IF(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=s(c),i.b=u(c),i.opacity=l(c),i+""}}return n.gamma=e,n}(1);function F5e(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;ir&&(a=t.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,u.push({i:o,x:av(n,i)})),r=xb.lastIndex;return rt&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function X5e(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i2?Z5e:X5e,u=l=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((l||(l=s(t,e.map(n),av)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,ov),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=MT,c()},f.clamp=function(d){return arguments.length?(o=d?!0:Vr,c()):o!==Vr},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,p){return n=d,i=p,c()}}function IT(){return f1()(Vr,Vr)}function Q5e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function sv(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function rc(e){return e=sv(Math.abs(e)),e?e[1]:NaN}function J5e(e,t){return function(r,n){for(var i=r.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),a.push(r.substring(i-=s,i+s)),!((u+=s+1)>n));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function ePe(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var tPe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function op(e){if(!(t=tPe.exec(e)))throw new Error("invalid format: "+e);var t;return new BT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}op.prototype=BT.prototype;function BT(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}BT.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function rPe(e){e:for(var t=e.length,r=1,n=-1,i;r0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var BF;function nPe(e,t){var r=sv(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(BF=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+sv(e,Math.max(0,t+a-1))[0]}function v4(e,t){var r=sv(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const y4={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Q5e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>v4(e*100,t),r:v4,s:nPe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function b4(e){return e}var S4=Array.prototype.map,x4=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function iPe(e){var t=e.grouping===void 0||e.thousands===void 0?b4:J5e(S4.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?b4:ePe(S4.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function l(f){f=op(f);var d=f.fill,p=f.align,m=f.sign,h=f.symbol,v=f.zero,y=f.width,g=f.comma,b=f.precision,S=f.trim,x=f.type;x==="n"?(g=!0,x="g"):y4[x]||(b===void 0&&(b=12),S=!0,x="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var E=h==="$"?r:h==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=h==="$"?n:/[%p]/.test(x)?o:"",T=y4[x],k=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function O(P){var B=E,I=w,F,V,U;if(x==="c")I=T(P)+I,P="";else{P=+P;var M=P<0||1/P<0;if(P=isNaN(P)?u:T(Math.abs(P),b),S&&(P=rPe(P)),M&&+P==0&&m!=="+"&&(M=!1),B=(M?m==="("?m:s:m==="-"||m==="("?"":m)+B,I=(x==="s"?x4[8+BF/3]:"")+I+(M&&m==="("?")":""),k){for(F=-1,V=P.length;++FU||U>57){I=(U===46?i+P.slice(F+1):P.slice(F))+I,P=P.slice(0,F);break}}}g&&!v&&(P=t(P,1/0));var L=B.length+P.length+I.length,N=L>1)+B+P+I+N.slice(L);break;default:P=N+B+P+I;break}return a(P)}return O.toString=function(){return f+""},O}function c(f,d){var p=l((f=op(f),f.type="f",f)),m=Math.max(-8,Math.min(8,Math.floor(rc(d)/3)))*3,h=Math.pow(10,-m),v=x4[8+m/3];return function(y){return p(h*y)+v}}return{format:l,formatPrefix:c}}var Sm,UT,UF;aPe({thousands:",",grouping:[3],currency:["$",""]});function aPe(e){return Sm=iPe(e),UT=Sm.format,UF=Sm.formatPrefix,Sm}function oPe(e){return Math.max(0,-rc(Math.abs(e)))}function sPe(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(rc(t)/3)))*3-rc(Math.abs(e)))}function uPe(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rc(t)-rc(e))+1}function FF(e,t,r,n){var i=wE(e,t,r),a;switch(n=op(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=sPe(i,o))&&(n.precision=a),UF(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=uPe(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=oPe(i))&&(n.precision=a-(n.type==="%")*2);break}}return UT(n)}function as(e){var t=e.domain;return e.ticks=function(r){var n=t();return EE(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return FF(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],u,l,c=10;for(s0;){if(l=AE(o,s,r),l===u)return n[i]=o,n[a]=s,t(n);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;u=l}return e},e}function uv(){var e=IT();return e.copy=function(){return mh(e,uv())},fi.apply(e,arguments),as(e)}function jF(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,ov),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return jF(e).unknown(t)},e=arguments.length?Array.from(e,ov):[0,1],as(r)}function zF(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return aMath.pow(e,t)}function pPe(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function w4(e){return(t,r)=>-e(-t,r)}function FT(e){const t=e(E4,A4),r=t.domain;let n=10,i,a;function o(){return i=pPe(n),a=dPe(n),r()[0]<0?(i=w4(i),a=w4(a),e(lPe,cPe)):e(E4,A4),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let l=u[0],c=u[u.length-1];const f=c0){for(;d<=p;++d)for(m=1;mc)break;y.push(h)}}else for(;d<=p;++d)for(m=n-1;m>=1;--m)if(h=d>0?m/a(-d):m*a(d),!(hc)break;y.push(h)}y.length*2{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=op(u)).precision==null&&(u.trim=!0),u=UT(u)),s===1/0)return u;const l=Math.max(1,n*s/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*nr(zF(r(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function VF(){const e=FT(f1()).domain([1,10]);return e.copy=()=>mh(e,VF()).base(e.base()),fi.apply(e,arguments),e}function C4(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function T4(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function jT(e){var t=1,r=e(C4(t),T4(t));return r.constant=function(n){return arguments.length?e(C4(t=+n),T4(t)):t},as(r)}function qF(){var e=jT(f1());return e.copy=function(){return mh(e,qF()).constant(e.constant())},fi.apply(e,arguments)}function O4(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function hPe(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function mPe(e){return e<0?-e*e:e*e}function zT(e){var t=e(Vr,Vr),r=1;function n(){return r===1?e(Vr,Vr):r===.5?e(hPe,mPe):e(O4(r),O4(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},as(t)}function VT(){var e=zT(f1());return e.copy=function(){return mh(e,VT()).exponent(e.exponent())},fi.apply(e,arguments),e}function gPe(){return VT.apply(null,arguments).exponent(.5)}function _4(e){return Math.sign(e)*e*e}function vPe(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function WF(){var e=IT(),t=[0,1],r=!1,n;function i(a){var o=vPe(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(_4(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,ov)).map(_4)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return WF(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},fi.apply(i,arguments),as(i)}function HF(){var e=[],t=[],r=[],n;function i(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o0?r[s-1]:e[0],s=r?[n[r-1],t]:[n[l-1],n[l]]},o.unknown=function(u){return arguments.length&&(a=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return GF().domain([e,t]).range(i).unknown(a)},fi.apply(as(o),arguments)}function KF(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[ph(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return KF().domain(e).range(t).unknown(r)},fi.apply(i,arguments)}const Eb=new Date,Ab=new Date;function Zt(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a0))return u;let l;do u.push(l=new Date(+a)),t(a,s),e(a);while(lZt(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(Eb.setTime(+a),Ab.setTime(+o),e(Eb),e(Ab),Math.floor(r(Eb,Ab))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const lv=Zt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);lv.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Zt(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):lv);lv.range;const Da=1e3,Yn=Da*60,Ra=Yn*60,Xa=Ra*24,qT=Xa*7,k4=Xa*30,wb=Xa*365,Ns=Zt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Da)},(e,t)=>(t-e)/Da,e=>e.getUTCSeconds());Ns.range;const WT=Zt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Da)},(e,t)=>{e.setTime(+e+t*Yn)},(e,t)=>(t-e)/Yn,e=>e.getMinutes());WT.range;const HT=Zt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Yn)},(e,t)=>(t-e)/Yn,e=>e.getUTCMinutes());HT.range;const GT=Zt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Da-e.getMinutes()*Yn)},(e,t)=>{e.setTime(+e+t*Ra)},(e,t)=>(t-e)/Ra,e=>e.getHours());GT.range;const KT=Zt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Ra)},(e,t)=>(t-e)/Ra,e=>e.getUTCHours());KT.range;const gh=Zt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Yn)/Xa,e=>e.getDate()-1);gh.range;const d1=Zt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Xa,e=>e.getUTCDate()-1);d1.range;const $F=Zt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Xa,e=>Math.floor(e/Xa));$F.range;function Eu(e){return Zt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Yn)/qT)}const p1=Eu(0),cv=Eu(1),yPe=Eu(2),bPe=Eu(3),nc=Eu(4),SPe=Eu(5),xPe=Eu(6);p1.range;cv.range;yPe.range;bPe.range;nc.range;SPe.range;xPe.range;function Au(e){return Zt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/qT)}const h1=Au(0),fv=Au(1),EPe=Au(2),APe=Au(3),ic=Au(4),wPe=Au(5),CPe=Au(6);h1.range;fv.range;EPe.range;APe.range;ic.range;wPe.range;CPe.range;const $T=Zt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());$T.range;const YT=Zt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());YT.range;const Za=Zt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Za.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Za.range;const Qa=Zt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Qa.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});Qa.range;function YF(e,t,r,n,i,a){const o=[[Ns,1,Da],[Ns,5,5*Da],[Ns,15,15*Da],[Ns,30,30*Da],[a,1,Yn],[a,5,5*Yn],[a,15,15*Yn],[a,30,30*Yn],[i,1,Ra],[i,3,3*Ra],[i,6,6*Ra],[i,12,12*Ra],[n,1,Xa],[n,2,2*Xa],[r,1,qT],[t,1,k4],[t,3,3*k4],[e,1,wb]];function s(l,c,f){const d=cv).right(o,d);if(p===o.length)return e.every(wE(l/wb,c/wb,f));if(p===0)return lv.every(Math.max(wE(l,c,f),1));const[m,h]=o[d/o[p-1][2]53)return null;"w"in z||(z.w=1),"Z"in z?(ve=Tb(nf(z.y,0,1)),oe=ve.getUTCDay(),ve=oe>4||oe===0?fv.ceil(ve):fv(ve),ve=d1.offset(ve,(z.V-1)*7),z.y=ve.getUTCFullYear(),z.m=ve.getUTCMonth(),z.d=ve.getUTCDate()+(z.w+6)%7):(ve=Cb(nf(z.y,0,1)),oe=ve.getDay(),ve=oe>4||oe===0?cv.ceil(ve):cv(ve),ve=gh.offset(ve,(z.V-1)*7),z.y=ve.getFullYear(),z.m=ve.getMonth(),z.d=ve.getDate()+(z.w+6)%7)}else("W"in z||"U"in z)&&("w"in z||(z.w="u"in z?z.u%7:"W"in z?1:0),oe="Z"in z?Tb(nf(z.y,0,1)).getUTCDay():Cb(nf(z.y,0,1)).getDay(),z.m=0,z.d="W"in z?(z.w+6)%7+z.W*7-(oe+5)%7:z.w+z.U*7-(oe+6)%7);return"Z"in z?(z.H+=z.Z/100|0,z.M+=z.Z%100,Tb(z)):Cb(z)}}function T($,ae,Z,z){for(var be=0,ve=ae.length,oe=Z.length,xe,Te;be=oe)return-1;if(xe=ae.charCodeAt(be++),xe===37){if(xe=ae.charAt(be++),Te=x[xe in P4?ae.charAt(be++):xe],!Te||(z=Te($,Z,z))<0)return-1}else if(xe!=Z.charCodeAt(z++))return-1}return z}function k($,ae,Z){var z=l.exec(ae.slice(Z));return z?($.p=c.get(z[0].toLowerCase()),Z+z[0].length):-1}function O($,ae,Z){var z=p.exec(ae.slice(Z));return z?($.w=m.get(z[0].toLowerCase()),Z+z[0].length):-1}function P($,ae,Z){var z=f.exec(ae.slice(Z));return z?($.w=d.get(z[0].toLowerCase()),Z+z[0].length):-1}function B($,ae,Z){var z=y.exec(ae.slice(Z));return z?($.m=g.get(z[0].toLowerCase()),Z+z[0].length):-1}function I($,ae,Z){var z=h.exec(ae.slice(Z));return z?($.m=v.get(z[0].toLowerCase()),Z+z[0].length):-1}function F($,ae,Z){return T($,t,ae,Z)}function V($,ae,Z){return T($,r,ae,Z)}function U($,ae,Z){return T($,n,ae,Z)}function M($){return o[$.getDay()]}function L($){return a[$.getDay()]}function N($){return u[$.getMonth()]}function W($){return s[$.getMonth()]}function G($){return i[+($.getHours()>=12)]}function K($){return 1+~~($.getMonth()/3)}function X($){return o[$.getUTCDay()]}function ie($){return a[$.getUTCDay()]}function fe($){return u[$.getUTCMonth()]}function Se($){return s[$.getUTCMonth()]}function de($){return i[+($.getUTCHours()>=12)]}function Ae($){return 1+~~($.getUTCMonth()/3)}return{format:function($){var ae=E($+="",b);return ae.toString=function(){return $},ae},parse:function($){var ae=w($+="",!1);return ae.toString=function(){return $},ae},utcFormat:function($){var ae=E($+="",S);return ae.toString=function(){return $},ae},utcParse:function($){var ae=w($+="",!0);return ae.toString=function(){return $},ae}}}var P4={"-":"",_:" ",0:"0"},ur=/^\s*\d+/,DPe=/^%/,RPe=/[\\^$*+?|[\]().{}]/g;function Me(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a[t.toLowerCase(),r]))}function NPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function MPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function IPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function BPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function UPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function D4(e,t,r){var n=ur.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function R4(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function FPe(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function jPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function zPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function L4(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function VPe(e,t,r){var n=ur.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function N4(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function qPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function WPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function HPe(e,t,r){var n=ur.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function GPe(e,t,r){var n=ur.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function KPe(e,t,r){var n=DPe.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function $Pe(e,t,r){var n=ur.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function YPe(e,t,r){var n=ur.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function M4(e,t){return Me(e.getDate(),t,2)}function XPe(e,t){return Me(e.getHours(),t,2)}function ZPe(e,t){return Me(e.getHours()%12||12,t,2)}function QPe(e,t){return Me(1+gh.count(Za(e),e),t,3)}function XF(e,t){return Me(e.getMilliseconds(),t,3)}function JPe(e,t){return XF(e,t)+"000"}function eDe(e,t){return Me(e.getMonth()+1,t,2)}function tDe(e,t){return Me(e.getMinutes(),t,2)}function rDe(e,t){return Me(e.getSeconds(),t,2)}function nDe(e){var t=e.getDay();return t===0?7:t}function iDe(e,t){return Me(p1.count(Za(e)-1,e),t,2)}function ZF(e){var t=e.getDay();return t>=4||t===0?nc(e):nc.ceil(e)}function aDe(e,t){return e=ZF(e),Me(nc.count(Za(e),e)+(Za(e).getDay()===4),t,2)}function oDe(e){return e.getDay()}function sDe(e,t){return Me(cv.count(Za(e)-1,e),t,2)}function uDe(e,t){return Me(e.getFullYear()%100,t,2)}function lDe(e,t){return e=ZF(e),Me(e.getFullYear()%100,t,2)}function cDe(e,t){return Me(e.getFullYear()%1e4,t,4)}function fDe(e,t){var r=e.getDay();return e=r>=4||r===0?nc(e):nc.ceil(e),Me(e.getFullYear()%1e4,t,4)}function dDe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Me(t/60|0,"0",2)+Me(t%60,"0",2)}function I4(e,t){return Me(e.getUTCDate(),t,2)}function pDe(e,t){return Me(e.getUTCHours(),t,2)}function hDe(e,t){return Me(e.getUTCHours()%12||12,t,2)}function mDe(e,t){return Me(1+d1.count(Qa(e),e),t,3)}function QF(e,t){return Me(e.getUTCMilliseconds(),t,3)}function gDe(e,t){return QF(e,t)+"000"}function vDe(e,t){return Me(e.getUTCMonth()+1,t,2)}function yDe(e,t){return Me(e.getUTCMinutes(),t,2)}function bDe(e,t){return Me(e.getUTCSeconds(),t,2)}function SDe(e){var t=e.getUTCDay();return t===0?7:t}function xDe(e,t){return Me(h1.count(Qa(e)-1,e),t,2)}function JF(e){var t=e.getUTCDay();return t>=4||t===0?ic(e):ic.ceil(e)}function EDe(e,t){return e=JF(e),Me(ic.count(Qa(e),e)+(Qa(e).getUTCDay()===4),t,2)}function ADe(e){return e.getUTCDay()}function wDe(e,t){return Me(fv.count(Qa(e)-1,e),t,2)}function CDe(e,t){return Me(e.getUTCFullYear()%100,t,2)}function TDe(e,t){return e=JF(e),Me(e.getUTCFullYear()%100,t,2)}function ODe(e,t){return Me(e.getUTCFullYear()%1e4,t,4)}function _De(e,t){var r=e.getUTCDay();return e=r>=4||r===0?ic(e):ic.ceil(e),Me(e.getUTCFullYear()%1e4,t,4)}function kDe(){return"+0000"}function B4(){return"%"}function U4(e){return+e}function F4(e){return Math.floor(+e/1e3)}var Bu,ej,tj;PDe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function PDe(e){return Bu=PPe(e),ej=Bu.format,Bu.parse,tj=Bu.utcFormat,Bu.utcParse,Bu}function DDe(e){return new Date(e)}function RDe(e){return e instanceof Date?+e:+new Date(+e)}function XT(e,t,r,n,i,a,o,s,u,l){var c=IT(),f=c.invert,d=c.domain,p=l(".%L"),m=l(":%S"),h=l("%I:%M"),v=l("%I %p"),y=l("%a %d"),g=l("%b %d"),b=l("%B"),S=l("%Y");function x(E){return(u(E)t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>x5e(e,a/n))},r.copy=function(){return aj(t).domain(e)},oo.apply(r,arguments)}function g1(){var e=0,t=.5,r=1,n=1,i,a,o,s,u,l=Vr,c,f=!1,d;function p(h){return isNaN(h=+h)?d:(h=.5+((h=+c(h))-a)*(n*ht}var jDe=FDe,zDe=lj,VDe=jDe,qDe=Tc;function WDe(e){return e&&e.length?zDe(e,qDe,VDe):void 0}var HDe=WDe;const v1=Ge(HDe);function GDe(e,t){return ee.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=ne.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};ne.decimalPlaces=ne.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ft;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};ne.dividedBy=ne.div=function(e){return ja(this,new this.constructor(e))};ne.dividedToIntegerBy=ne.idiv=function(e){var t=this,r=t.constructor;return nt(ja(t,new r(e),0,1),r.precision)};ne.equals=ne.eq=function(e){return!this.cmp(e)};ne.exponent=function(){return Ft(this)};ne.greaterThan=ne.gt=function(e){return this.cmp(e)>0};ne.greaterThanOrEqualTo=ne.gte=function(e){return this.cmp(e)>=0};ne.isInteger=ne.isint=function(){return this.e>this.d.length-2};ne.isNegative=ne.isneg=function(){return this.s<0};ne.isPositive=ne.ispos=function(){return this.s>0};ne.isZero=function(){return this.s===0};ne.lessThan=ne.lt=function(e){return this.cmp(e)<0};ne.lessThanOrEqualTo=ne.lte=function(e){return this.cmp(e)<1};ne.logarithm=ne.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(xn))throw Error(oi+"NaN");if(r.s<1)throw Error(oi+(r.s?"NaN":"-Infinity"));return r.eq(xn)?new n(0):(bt=!1,t=ja(sp(r,a),sp(e,a),a),bt=!0,nt(t,i))};ne.minus=ne.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?pj(t,e):fj(t,(e.s=-e.s,e))};ne.modulo=ne.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(oi+"NaN");return r.s?(bt=!1,t=ja(r,e,0,1).times(e),bt=!0,r.minus(t)):nt(new n(r),i)};ne.naturalExponential=ne.exp=function(){return dj(this)};ne.naturalLogarithm=ne.ln=function(){return sp(this)};ne.negated=ne.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ne.plus=ne.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?fj(t,e):pj(t,(e.s=-e.s,e))};ne.precision=ne.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Xs+e);if(t=Ft(i)+1,n=i.d.length-1,r=n*ft+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};ne.squareRoot=ne.sqrt=function(){var e,t,r,n,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(oi+"NaN")}for(e=Ft(s),bt=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=Ji(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Pc((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(i.toString()),r=u.precision,i=o=r+3;;)if(a=n,n=a.plus(ja(s,a,o+2)).times(.5),Ji(a.d).slice(0,o)===(t=Ji(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(nt(a,r+1,0),a.times(a).eq(s)){n=a;break}}else if(t!="9999")break;o+=4}return bt=!0,nt(n,r)};ne.times=ne.mul=function(e){var t,r,n,i,a,o,s,u,l,c=this,f=c.constructor,d=c.d,p=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,u=d.length,l=p.length,u=0;){for(t=0,i=u+n;i>n;)s=a[i]+p[n]*d[i-n-1]+t,a[i--]=s%er|0,t=s/er|0;a[i]=(a[i]+t)%er|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,bt?nt(e,f.precision):e};ne.toDecimalPlaces=ne.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(da(e,0,kc),t===void 0?t=n.rounding:da(t,0,8),nt(r,e+Ft(r)+1,t))};ne.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=fu(n,!0):(da(e,0,kc),t===void 0?t=i.rounding:da(t,0,8),n=nt(new i(n),e+1,t),r=fu(n,!0,e+1)),r};ne.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?fu(i):(da(e,0,kc),t===void 0?t=a.rounding:da(t,0,8),n=nt(new a(i),e+Ft(i)+1,t),r=fu(n.abs(),!1,e+Ft(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};ne.toInteger=ne.toint=function(){var e=this,t=e.constructor;return nt(new t(e),Ft(e)+1,t.rounding)};ne.toNumber=function(){return+this};ne.toPower=ne.pow=function(e){var t,r,n,i,a,o,s=this,u=s.constructor,l=12,c=+(e=new u(e));if(!e.s)return new u(xn);if(s=new u(s),!s.s){if(e.s<1)throw Error(oi+"Infinity");return s}if(s.eq(xn))return s;if(n=u.precision,e.eq(xn))return nt(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=s.s,o){if((r=c<0?-c:c)<=cj){for(i=new u(xn),t=Math.ceil(n/ft+4),bt=!1;r%2&&(i=i.times(s),V4(i.d,t)),r=Pc(r/2),r!==0;)s=s.times(s),V4(s.d,t);return bt=!0,e.s<0?new u(xn).div(i):nt(i,n)}}else if(a<0)throw Error(oi+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,bt=!1,i=e.times(sp(s,n+l)),bt=!0,i=dj(i),i.s=a,i};ne.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=Ft(i),n=fu(i,r<=a.toExpNeg||r>=a.toExpPos)):(da(e,1,kc),t===void 0?t=a.rounding:da(t,0,8),i=nt(new a(i),e,t),r=Ft(i),n=fu(i,e<=r||r<=a.toExpNeg,e)),n};ne.toSignificantDigits=ne.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(da(e,1,kc),t===void 0?t=n.rounding:da(t,0,8)),nt(new n(r),e,t)};ne.toString=ne.valueOf=ne.val=ne.toJSON=ne[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Ft(e),r=e.constructor;return fu(e,t<=r.toExpNeg||t>=r.toExpPos)};function fj(e,t){var r,n,i,a,o,s,u,l,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),bt?nt(t,f):t;if(u=e.d,l=t.d,o=e.e,i=t.e,u=u.slice(),a=o-i,a){for(a<0?(n=u,a=-a,s=l.length):(n=l,i=o,s=u.length),o=Math.ceil(f/ft),s=o>s?o+1:s+1,a>s&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(s=u.length,a=l.length,s-a<0&&(a=s,n=l,l=u,u=n),r=0;a;)r=(u[--a]=u[a]+l[a]+r)/er|0,u[a]%=er;for(r&&(u.unshift(r),++i),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=i,bt?nt(t,f):t}function da(e,t,r){if(e!==~~e||er)throw Error(Xs+e)}function Ji(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;to?1:-1;else for(s=u=0;si[s]?1:-1;break}return u}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]1;)n.shift()}return function(n,i,a,o){var s,u,l,c,f,d,p,m,h,v,y,g,b,S,x,E,w,T,k=n.constructor,O=n.s==i.s?1:-1,P=n.d,B=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(oi+"Division by zero");for(u=n.e-i.e,w=B.length,x=P.length,p=new k(O),m=p.d=[],l=0;B[l]==(P[l]||0);)++l;if(B[l]>(P[l]||0)&&--u,a==null?g=a=k.precision:o?g=a+(Ft(n)-Ft(i))+1:g=a,g<0)return new k(0);if(g=g/ft+2|0,l=0,w==1)for(c=0,B=B[0],g++;(l1&&(B=e(B,c),P=e(P,c),w=B.length,x=P.length),S=w,h=P.slice(0,w),v=h.length;v=er/2&&++E;do c=0,s=t(B,h,w,v),s<0?(y=h[0],w!=v&&(y=y*er+(h[1]||0)),c=y/E|0,c>1?(c>=er&&(c=er-1),f=e(B,c),d=f.length,v=h.length,s=t(f,h,d,v),s==1&&(c--,r(f,w16)throw Error(e3+Ft(e));if(!e.s)return new c(xn);for(t==null?(bt=!1,s=f):s=t,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(n=Math.log(Es(2,l))/Math.LN10*2+5|0,s+=n,r=i=a=new c(xn),c.precision=s;;){if(i=nt(i.times(e),s),r=r.times(++u),o=a.plus(ja(i,r,s)),Ji(o.d).slice(0,s)===Ji(a.d).slice(0,s)){for(;l--;)a=nt(a.times(a),s);return c.precision=f,t==null?(bt=!0,nt(a,f)):a}a=o}}function Ft(e){for(var t=e.e*ft,r=e.d[0];r>=10;r/=10)t++;return t}function Ob(e,t,r){if(t>e.LN10.sd())throw bt=!0,r&&(e.precision=r),Error(oi+"LN10 precision limit exceeded");return nt(new e(e.LN10),t)}function vo(e){for(var t="";e--;)t+="0";return t}function sp(e,t){var r,n,i,a,o,s,u,l,c,f=1,d=10,p=e,m=p.d,h=p.constructor,v=h.precision;if(p.s<1)throw Error(oi+(p.s?"NaN":"-Infinity"));if(p.eq(xn))return new h(0);if(t==null?(bt=!1,l=v):l=t,p.eq(10))return t==null&&(bt=!0),Ob(h,l);if(l+=d,h.precision=l,r=Ji(m),n=r.charAt(0),a=Ft(p),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)p=p.times(e),r=Ji(p.d),n=r.charAt(0),f++;a=Ft(p),n>1?(p=new h("0."+r),a++):p=new h(n+"."+r.slice(1))}else return u=Ob(h,l+2,v).times(a+""),p=sp(new h(n+"."+r.slice(1)),l-d).plus(u),h.precision=v,t==null?(bt=!0,nt(p,v)):p;for(s=o=p=ja(p.minus(xn),p.plus(xn),l),c=nt(p.times(p),l),i=3;;){if(o=nt(o.times(c),l),u=s.plus(ja(o,new h(i),l)),Ji(u.d).slice(0,l)===Ji(s.d).slice(0,l))return s=s.times(2),a!==0&&(s=s.plus(Ob(h,l+2,v).times(a+""))),s=ja(s,new h(f),l),h.precision=v,t==null?(bt=!0,nt(s,v)):s;s=u,i+=2}}function z4(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=Pc(r/ft),e.d=[],n=(r+1)%ft,r<0&&(n+=ft),ndv||e.e<-dv))throw Error(e3+r)}else e.s=0,e.e=0,e.d=[0];return e}function nt(e,t,r){var n,i,a,o,s,u,l,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ft,i=t,l=f[c=0];else{if(c=Math.ceil((n+1)/ft),a=f.length,c>=a)return e;for(l=a=f[c],o=1;a>=10;a/=10)o++;n%=ft,i=n-ft+o}if(r!==void 0&&(a=Es(10,o-i-1),s=l/a%10|0,u=t<0||f[c+1]!==void 0||l%a,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?i>0?l/Es(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return u?(a=Ft(e),f.length=1,t=t-a-1,f[0]=Es(10,(ft-t%ft)%ft),e.e=Pc(-t/ft)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=Es(10,ft-n),f[c]=i>0?(l/Es(10,o-i)%Es(10,i)|0)*a:0),u)for(;;)if(c==0){(f[0]+=a)==er&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=er)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(bt&&(e.e>dv||e.e<-dv))throw Error(e3+Ft(e));return e}function pj(e,t){var r,n,i,a,o,s,u,l,c,f,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),bt?nt(t,p):t;if(u=e.d,f=t.d,n=t.e,l=e.e,u=u.slice(),o=l-n,o){for(c=o<0,c?(r=u,o=-o,s=f.length):(r=f,n=l,s=u.length),i=Math.max(Math.ceil(p/ft),s)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=u.length,s=f.length,c=i0;--i)u[s++]=0;for(i=f.length;i>o;){if(u[--i]0?a=a.charAt(0)+"."+a.slice(1)+vo(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+vo(-i-1)+a,r&&(n=r-o)>0&&(a+=vo(n))):i>=o?(a+=vo(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+vo(n))):((n=i+1)0&&(i+1===o&&(a+="."),a+=vo(n))),e.s<0?"-"+a:a}function V4(e,t){if(e.length>t)return e.length=t,!0}function hj(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(Xs+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return z4(o,a.toString())}else if(typeof a!="string")throw Error(Xs+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,h4e.test(a))z4(o,a);else throw Error(Xs+a)}if(i.prototype=ne,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=hj,i.config=i.set=m4e,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(Xs+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Xs+r+": "+n);return this}var t3=hj(p4e);xn=new t3(1);const Je=t3;function g4e(e){return S4e(e)||b4e(e)||y4e(e)||v4e()}function v4e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y4e(e,t){if(e){if(typeof e=="string")return kE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kE(e,t)}}function b4e(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function S4e(e){if(Array.isArray(e))return kE(e)}function kE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t?r.apply(void 0,i):e(t-o,q4(function(){for(var s=arguments.length,u=new Array(s),l=0;le.length)&&(t=e.length);for(var r=0,n=new Array(t);r"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}}function M4e(e){if(Array.isArray(e))return e}function bj(e){var t=up(e,2),r=t[0],n=t[1],i=r,a=n;return r>n&&(i=n,a=r),[i,a]}function Sj(e,t,r){if(e.lte(0))return new Je(0);var n=S1.getDigitCount(e.toNumber()),i=new Je(10).pow(n),a=e.div(i),o=n!==1?.05:.1,s=new Je(Math.ceil(a.div(o).toNumber())).add(r).mul(o),u=s.mul(i);return t?u:new Je(Math.ceil(u))}function I4e(e,t,r){var n=1,i=new Je(e);if(!i.isint()&&r){var a=Math.abs(e);a<1?(n=new Je(10).pow(S1.getDigitCount(e)-1),i=new Je(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new Je(Math.floor(e)))}else e===0?i=new Je(Math.floor((t-1)/2)):r||(i=new Je(Math.floor(e)));var o=Math.floor((t-1)/2),s=w4e(A4e(function(u){return i.add(new Je(u-o).mul(n)).toNumber()}),PE);return s(0,t)}function xj(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Je(0),tickMin:new Je(0),tickMax:new Je(0)};var a=Sj(new Je(t).sub(e).div(r-1),n,i),o;e<=0&&t>=0?o=new Je(0):(o=new Je(e).add(t).div(2),o=o.sub(new Je(o).mod(a)));var s=Math.ceil(o.sub(e).div(a).toNumber()),u=Math.ceil(new Je(t).sub(o).div(a).toNumber()),l=s+u+1;return l>r?xj(e,t,r,n,i+1):(l0?u+(r-l):u,s=t>0?s:s+(r-l)),{step:a,tickMin:o.sub(new Je(s).mul(a)),tickMax:o.add(new Je(u).mul(a))})}function B4e(e){var t=up(e,2),r=t[0],n=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),s=bj([r,n]),u=up(s,2),l=u[0],c=u[1];if(l===-1/0||c===1/0){var f=c===1/0?[l].concat(RE(PE(0,i-1).map(function(){return 1/0}))):[].concat(RE(PE(0,i-1).map(function(){return-1/0})),[c]);return r>n?DE(f):f}if(l===c)return I4e(l,i,a);var d=xj(l,c,o,a),p=d.step,m=d.tickMin,h=d.tickMax,v=S1.rangeStep(m,h.add(new Je(.1).mul(p)),p);return r>n?DE(v):v}function U4e(e,t){var r=up(e,2),n=r[0],i=r[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=bj([n,i]),s=up(o,2),u=s[0],l=s[1];if(u===-1/0||l===1/0)return[n,i];if(u===l)return[u];var c=Math.max(t,2),f=Sj(new Je(l).sub(u).div(c-1),a,0),d=[].concat(RE(S1.rangeStep(new Je(u),new Je(l).sub(new Je(.99).mul(f)),f)),[l]);return n>i?DE(d):d}var F4e=vj(B4e),j4e=vj(U4e),z4e=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function pv(){return pv=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $4e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function x1(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,a=e.data,o=e.dataPointFormatter,s=e.xAxis,u=e.yAxis,l=K4e(e,z4e),c=qe(l,!1);e.direction==="x"&&s.type!=="number"&&Qs();var f=a.map(function(d){var p=o(d,i),m=p.x,h=p.y,v=p.value,y=p.errorVal;if(!y)return null;var g=[],b,S;if(Array.isArray(y)){var x=V4e(y,2);b=x[0],S=x[1]}else b=S=y;if(r==="vertical"){var E=s.scale,w=h+t,T=w+n,k=w-n,O=E(v-b),P=E(v+S);g.push({x1:P,y1:T,x2:P,y2:k}),g.push({x1:O,y1:w,x2:P,y2:w}),g.push({x1:O,y1:T,x2:O,y2:k})}else if(r==="horizontal"){var B=u.scale,I=m+t,F=I-n,V=I+n,U=B(v-b),M=B(v+S);g.push({x1:F,y1:M,x2:V,y2:M}),g.push({x1:I,y1:U,x2:I,y2:M}),g.push({x1:F,y1:U,x2:V,y2:U})}return j.createElement(nr,pv({className:"recharts-errorBar",key:"bar-".concat(g.map(function(L){return"".concat(L.x1,"-").concat(L.x2,"-").concat(L.y1,"-").concat(L.y2)}))},c),g.map(function(L){return j.createElement("line",pv({},L,{key:"line-".concat(L.x1,"-").concat(L.x2,"-").concat(L.y1,"-").concat(L.y2)}))}))});return j.createElement(nr,{className:"recharts-errorBars"},f)}x1.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};x1.displayName="ErrorBar";function lp(e){"@babel/helpers - typeof";return lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lp(e)}function H4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=-1,s=(r=n==null?void 0:n.length)!==null&&r!==void 0?r:0;if(s<=1)return 0;if(a&&a.axisType==="angleAxis"&&Math.abs(Math.abs(a.range[1]-a.range[0])-360)<=1e-6)for(var u=a.range,l=0;l0?i[l-1].coordinate:i[s-1].coordinate,f=i[l].coordinate,d=l>=s-1?i[0].coordinate:i[l+1].coordinate,p=void 0;if(ki(f-c)!==ki(d-f)){var m=[];if(ki(d-f)===ki(u[1]-u[0])){p=d;var h=f+u[1]-u[0];m[0]=Math.min(h,(h+c)/2),m[1]=Math.max(h,(h+c)/2)}else{p=c;var v=d+u[1]-u[0];m[0]=Math.min(f,(v+f)/2),m[1]=Math.max(f,(v+f)/2)}var y=[Math.min(f,(p+f)/2),Math.max(f,(p+f)/2)];if(t>y[0]&&t<=y[1]||t>=m[0]&&t<=m[1]){o=i[l].index;break}}else{var g=Math.min(c,d),b=Math.max(c,d);if(t>(g+f)/2&&t<=(b+f)/2){o=i[l].index;break}}}else for(var S=0;S0&&S(n[S].coordinate+n[S-1].coordinate)/2&&t<=(n[S].coordinate+n[S+1].coordinate)/2||S===s-1&&t>(n[S].coordinate+n[S-1].coordinate)/2){o=n[S].index;break}return o},r3=function(t){var r=t,n=r.type.displayName,i=t.props,a=i.stroke,o=i.fill,s;switch(n){case"Line":s=a;break;case"Area":case"Radar":s=a&&a!=="none"?a:o;break;default:s=o;break}return s},aRe=function(t){var r=t.barSize,n=t.totalSize,i=t.stackGroups,a=i===void 0?{}:i;if(!a)return{};for(var o={},s=Object.keys(a),u=0,l=s.length;u=0});if(y&&y.length){var g=y[0].props.barSize,b=y[0].props[v];o[b]||(o[b]=[]);var S=We(g)?r:g;o[b].push({item:y[0],stackList:y.slice(1),barSize:We(S)?void 0:cu(S,n,0)})}}return o},oRe=function(t){var r=t.barGap,n=t.barCategoryGap,i=t.bandSize,a=t.sizeList,o=a===void 0?[]:a,s=t.maxBarSize,u=o.length;if(u<1)return null;var l=cu(r,i,0,!0),c,f=[];if(o[0].barSize===+o[0].barSize){var d=!1,p=i/u,m=o.reduce(function(S,x){return S+x.barSize||0},0);m+=(u-1)*l,m>=i&&(m-=(u-1)*l,l=0),m>=i&&p>0&&(d=!0,p*=.9,m=u*p);var h=(i-m)/2>>0,v={offset:h-l,size:0};c=o.reduce(function(S,x){var E={item:x.item,position:{offset:v.offset+v.size+l,size:d?p:x.barSize}},w=[].concat(K4(S),[E]);return v=w[w.length-1].position,x.stackList&&x.stackList.length&&x.stackList.forEach(function(T){w.push({item:T,position:v})}),w},f)}else{var y=cu(n,i,0,!0);i-2*y-(u-1)*l<=0&&(l=0);var g=(i-2*y-(u-1)*l)/u;g>1&&(g>>=0);var b=s===+s?Math.min(g,s):g;c=o.reduce(function(S,x,E){var w=[].concat(K4(S),[{item:x.item,position:{offset:y+(g+l)*E+(g-b)/2,size:b}}]);return x.stackList&&x.stackList.length&&x.stackList.forEach(function(T){w.push({item:T,position:w[w.length-1].position})}),w},f)}return c},sRe=function(t,r,n,i){var a=n.children,o=n.width,s=n.margin,u=o-(s.left||0)-(s.right||0),l=Ej({children:a,legendWidth:u});if(l){var c=i||{},f=c.width,d=c.height,p=l.align,m=l.verticalAlign,h=l.layout;if((h==="vertical"||h==="horizontal"&&m==="middle")&&p!=="center"&&J(t[p]))return Gn(Gn({},t),{},kl({},p,t[p]+(f||0)));if((h==="horizontal"||h==="vertical"&&p==="center")&&m!=="middle"&&J(t[m]))return Gn(Gn({},t),{},kl({},m,t[m]+(d||0)))}return t},uRe=function(t,r,n){return We(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Aj=function(t,r,n,i,a){var o=r.props.children,s=Mi(o,x1).filter(function(l){return uRe(i,a,l.props.direction)});if(s&&s.length){var u=s.map(function(l){return l.props.dataKey});return t.reduce(function(l,c){var f=pa(c,n);if(We(f))return l;var d=Array.isArray(f)?[y1(f),v1(f)]:[f,f],p=u.reduce(function(m,h){var v=pa(c,h,0),y=d[0]-Math.abs(Array.isArray(v)?v[0]:v),g=d[1]+Math.abs(Array.isArray(v)?v[1]:v);return[Math.min(y,m[0]),Math.max(g,m[1])]},[1/0,-1/0]);return[Math.min(p[0],l[0]),Math.max(p[1],l[1])]},[1/0,-1/0])}return null},lRe=function(t,r,n,i,a){var o=r.map(function(s){return Aj(t,s,n,a,i)}).filter(function(s){return!We(s)});return o&&o.length?o.reduce(function(s,u){return[Math.min(s[0],u[0]),Math.max(s[1],u[1])]},[1/0,-1/0]):null},wj=function(t,r,n,i,a){var o=r.map(function(u){var l=u.props.dataKey;return n==="number"&&l&&Aj(t,u,l,i)||id(t,l,n,a)});if(n==="number")return o.reduce(function(u,l){return[Math.min(u[0],l[0]),Math.max(u[1],l[1])]},[1/0,-1/0]);var s={};return o.reduce(function(u,l){for(var c=0,f=l.length;c=2?ki(s[0]-s[1])*2*l:l,r&&(t.ticks||t.niceTicks)){var c=(t.ticks||t.niceTicks).map(function(f){var d=a?a.indexOf(f):f;return{coordinate:i(d)+l,value:f,offset:l}});return c.filter(function(f){return!dh(f.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(f,d){return{coordinate:i(f)+l,value:f,index:d,offset:l}}):i.ticks&&!n?i.ticks(t.tickCount).map(function(f){return{coordinate:i(f)+l,value:f,offset:l}}):i.domain().map(function(f,d){return{coordinate:i(f)+l,value:a?a[f]:f,index:d,offset:l}})},kb=new WeakMap,xm=function(t,r){if(typeof r!="function")return t;kb.has(t)||kb.set(t,new WeakMap);var n=kb.get(t);if(n.has(r))return n.get(r);var i=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,i),i},cRe=function(t,r,n){var i=t.scale,a=t.type,o=t.layout,s=t.axisType;if(i==="auto")return o==="radial"&&s==="radiusAxis"?{scale:rp(),realScaleType:"band"}:o==="radial"&&s==="angleAxis"?{scale:uv(),realScaleType:"linear"}:a==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:nd(),realScaleType:"point"}:a==="category"?{scale:rp(),realScaleType:"band"}:{scale:uv(),realScaleType:"linear"};if(fh(i)){var u="scale".concat(Hy(i));return{scale:(j4[u]||nd)(),realScaleType:j4[u]?u:"point"}}return Re(i)?{scale:i}:{scale:nd(),realScaleType:"point"}},$4=1e-4,fRe=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,i=t.range(),a=Math.min(i[0],i[1])-$4,o=Math.max(i[0],i[1])+$4,s=t(r[0]),u=t(r[n-1]);(so||uo)&&t.domain([r[0],r[n-1]])}},dRe=function(t,r){if(!t)return null;for(var n=0,i=t.length;ni)&&(a[1]=i),a[0]>i&&(a[0]=i),a[1]=0?(t[s][n][0]=a,t[s][n][1]=a+u,a=t[s][n][1]):(t[s][n][0]=o,t[s][n][1]=o+u,o=t[s][n][1])}},mRe=function(t){var r=t.length;if(!(r<=0))for(var n=0,i=t[0].length;n=0?(t[o][n][0]=a,t[o][n][1]=a+s,a=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}},gRe={sign:hRe,expand:KTe,none:Zl,silhouette:$Te,wiggle:YTe,positive:mRe},vRe=function(t,r,n){var i=r.map(function(s){return s.props.dataKey}),a=gRe[n],o=GTe().keys(i).value(function(s,u){return+pa(s,u,0)}).order(cE).offset(a);return o(t)},yRe=function(t,r,n,i,a,o){if(!t)return null;var s=o?r.reverse():r,u={},l=s.reduce(function(f,d){var p=d.props,m=p.stackId,h=p.hide;if(h)return f;var v=d.props[n],y=f[v]||{hasStack:!1,stackGroups:{}};if(Ht(m)){var g=y.stackGroups[m]||{numericAxisId:n,cateAxisId:i,items:[]};g.items.push(d),y.hasStack=!0,y.stackGroups[m]=g}else y.stackGroups[a1("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[d]};return Gn(Gn({},f),{},kl({},v,y))},u),c={};return Object.keys(l).reduce(function(f,d){var p=l[d];if(p.hasStack){var m={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(h,v){var y=p.stackGroups[v];return Gn(Gn({},h),{},kl({},v,{numericAxisId:n,cateAxisId:i,items:y.items,stackedData:vRe(t,y.items,a)}))},m)}return Gn(Gn({},f),{},kl({},d,p))},c)},bRe=function(t,r){var n=r.realScaleType,i=r.type,a=r.tickCount,o=r.originalDomain,s=r.allowDecimals,u=n||r.scale;if(u!=="auto"&&u!=="linear")return null;if(a&&i==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var l=t.domain();if(!l.length)return null;var c=F4e(l,a,s);return t.domain([y1(c),v1(c)]),{niceTicks:c}}if(a&&i==="number"){var f=t.domain(),d=j4e(f,a,s);return{niceTicks:d}}return null},Y4=function(t){var r=t.axis,n=t.ticks,i=t.offset,a=t.bandSize,o=t.entry,s=t.index;if(r.type==="category")return n[s]?n[s].coordinate+i:null;var u=pa(o,r.dataKey,r.domain[s]);return We(u)?null:r.scale(u)-a/2+i},SRe=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var i=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return i<=0&&a>=0?0:a<0?a:i}return n[0]},xRe=function(t,r){var n=t.props.stackId;if(Ht(n)){var i=r[n];if(i){var a=i.items.indexOf(t);return a>=0?i.stackedData[a]:null}}return null},ERe=function(t){return t.reduce(function(r,n){return[y1(n.concat([r[0]]).filter(J)),v1(n.concat([r[1]]).filter(J))]},[1/0,-1/0])},Tj=function(t,r,n){return Object.keys(t).reduce(function(i,a){var o=t[a],s=o.stackedData,u=s.reduce(function(l,c){var f=ERe(c.slice(r,n+1));return[Math.min(l[0],f[0]),Math.max(l[1],f[1])]},[1/0,-1/0]);return[Math.min(u[0],i[0]),Math.max(u[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},X4=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Z4=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ME=function(t,r,n){if(Re(t))return t(r,n);if(!Array.isArray(t))return r;var i=[];if(J(t[0]))i[0]=n?t[0]:Math.min(t[0],r[0]);else if(X4.test(t[0])){var a=+X4.exec(t[0])[1];i[0]=r[0]-a}else Re(t[0])?i[0]=t[0](r[0]):i[0]=r[0];if(J(t[1]))i[1]=n?t[1]:Math.max(t[1],r[1]);else if(Z4.test(t[1])){var o=+Z4.exec(t[1])[1];i[1]=r[1]+o}else Re(t[1])?i[1]=t[1](r[1]):i[1]=r[1];return i},hv=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!n||i>0)return i}if(t&&r&&r.length>=2){for(var a=kT(r,function(f){return f.coordinate}),o=1/0,s=1,u=a.length;so&&(l=2*Math.PI-l),{radius:s,angle:TRe(l),angleInRadian:l}},kRe=function(t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),a=Math.floor(n/360),o=Math.min(i,a);return{startAngle:r-o*360,endAngle:n-o*360}},PRe=function(t,r){var n=r.startAngle,i=r.endAngle,a=Math.floor(n/360),o=Math.floor(i/360),s=Math.min(a,o);return t+s*360},tR=function(t,r){var n=t.x,i=t.y,a=_Re({x:n,y:i},r),o=a.radius,s=a.angle,u=r.innerRadius,l=r.outerRadius;if(ol)return!1;if(o===0)return!0;var c=kRe(r),f=c.startAngle,d=c.endAngle,p=s,m;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return m?eR(eR({},r),{},{radius:o,angle:PRe(p,r)}):null};function dp(e){"@babel/helpers - typeof";return dp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dp(e)}var DRe=["offset"];function RRe(e){return IRe(e)||MRe(e)||NRe(e)||LRe()}function LRe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. + height and width.`,V,U,o,u,c,f,r);var M=!Array.isArray(p)&&Sg.isElement(p)&&Fa(p.type).endsWith("Chart");return j.Children.map(p,function(L){return Sg.isElement(L)?C.cloneElement(L,gm({width:V,height:U},M?{style:gm({height:"100%",width:"100%",maxHeight:U,maxWidth:V},L.props.style)}:{})):L})},[r,p,u,d,f,c,k,o]);return j.createElement("div",{id:v?"".concat(v):void 0,className:He("recharts-responsive-container",y),style:gm(gm({},S),{},{width:o,height:u,minWidth:c,minHeight:f,maxHeight:d}),ref:x},B)}),CF=function(t){return null};CF.displayName="Cell";function ep(e){"@babel/helpers - typeof";return ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ep(e)}function H4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function SE(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Io.isSsr)return{width:0,height:0};var n=Uke(r),i=JSON.stringify({text:t,copyStyle:n});if(Iu.widthCache[i])return Iu.widthCache[i];try{var a=document.getElementById(G4);a||(a=document.createElement("span"),a.setAttribute("id",G4),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var o=SE(SE({},Bke),n);Object.assign(a.style,o),a.textContent="".concat(t);var s=a.getBoundingClientRect(),u={width:s.width,height:s.height};return Iu.widthCache[i]=u,++Iu.cacheCount>Ike&&(Iu.cacheCount=0,Iu.widthCache={}),u}catch{return{width:0,height:0}}},Fke=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function tp(e){"@babel/helpers - typeof";return tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tp(e)}function ev(e,t){return qke(e)||Vke(e,t)||zke(e,t)||jke()}function jke(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zke(e,t){if(e){if(typeof e=="string")return K4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K4(e,t)}}function K4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function n5e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function J4(e,t){return s5e(e)||o5e(e,t)||a5e(e,t)||i5e()}function i5e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a5e(e,t){if(e){if(typeof e=="string")return eD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eD(e,t)}}function eD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&arguments[0]!==void 0?arguments[0]:[];return V.reduce(function(U,M){var L=M.word,N=M.width,W=U[U.length-1];if(W&&(i==null||a||W.width+N+nM.width?U:M})};if(!c)return p;for(var h="…",v=function(V){var U=f.slice(0,V),M=kF({breakAll:l,style:u,children:U+h}).wordsWithComputedWidth,L=d(M),N=L.length>o||m(L).width>Number(i);return[N,L]},y=0,g=f.length-1,b=0,S;y<=g&&b<=f.length-1;){var x=Math.floor((y+g)/2),E=x-1,w=v(E),T=J4(w,2),k=T[0],O=T[1],P=v(x),B=J4(P,1),I=B[0];if(!k&&!I&&(y=x+1),k&&I&&(g=x-1),!k&&I){S=O;break}b++}return S||p},tD=function(t){var r=We(t)?[]:t.toString().split(_F);return[{words:r}]},l5e=function(t){var r=t.width,n=t.scaleToFit,i=t.children,a=t.style,o=t.breakAll,s=t.maxLines;if((r||n)&&!Io.isSsr){var u,l,c=kF({breakAll:o,children:i,style:a});if(c){var f=c.wordsWithComputedWidth,d=c.spaceWidth;u=f,l=d}else return tD(i);return u5e({breakAll:o,children:i,maxLines:s,style:a},u,l,r,n)}return tD(i)},rD="#808080",tv=function(t){var r=t.x,n=r===void 0?0:r,i=t.y,a=i===void 0?0:i,o=t.lineHeight,s=o===void 0?"1em":o,u=t.capHeight,l=u===void 0?"0.71em":u,c=t.scaleToFit,f=c===void 0?!1:c,d=t.textAnchor,p=d===void 0?"start":d,m=t.verticalAnchor,h=m===void 0?"end":m,v=t.fill,y=v===void 0?rD:v,g=Q4(t,t5e),b=C.useMemo(function(){return l5e({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:f,style:g.style,width:g.width})},[g.breakAll,g.children,g.maxLines,f,g.style,g.width]),S=g.dx,x=g.dy,E=g.angle,w=g.className,T=g.breakAll,k=Q4(g,r5e);if(!Ht(n)||!Ht(a))return null;var O=n+(J(S)?S:0),P=a+(J(x)?x:0),B;switch(h){case"start":B=bb("calc(".concat(l,")"));break;case"middle":B=bb("calc(".concat((b.length-1)/2," * -").concat(s," + (").concat(l," / 2))"));break;default:B=bb("calc(".concat(b.length-1," * -").concat(s,")"));break}var I=[];if(f){var F=b[0].width,V=g.width;I.push("scale(".concat((J(V)?V/F:1)/F,")"))}return E&&I.push("rotate(".concat(E,", ").concat(O,", ").concat(P,")")),I.length&&(k.transform=I.join(" ")),j.createElement("text",xE({},qe(k,!0),{x:O,y:P,className:He("recharts-text",w),textAnchor:p,fill:y.includes("url")?rD:y}),b.map(function(U,M){var L=U.words.join(T?"":" ");return j.createElement("tspan",{x:O,dy:M===0?B:s,key:L},L)}))};function Bo(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function c5e(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function DT(e){let t,r,n;e.length!==2?(t=Bo,r=(s,u)=>Bo(e(s),u),n=(s,u)=>e(s)-u):(t=e===Bo||e===c5e?e:f5e,r=e,n=e);function i(s,u,l=0,c=s.length){if(l>>1;r(s[f],u)<0?l=f+1:c=f}while(l>>1;r(s[f],u)<=0?l=f+1:c=f}while(ll&&n(s[f-1],u)>-n(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function f5e(){return 0}function PF(e){return e===null?NaN:+e}function*d5e(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const p5e=DT(Bo),ph=p5e.right;DT(PF).center;class nD extends Map{constructor(t,r=g5e){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(iD(this,t))}has(t){return super.has(iD(this,t))}set(t,r){return super.set(h5e(this,t),r)}delete(t){return super.delete(m5e(this,t))}}function iD({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function h5e({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function m5e({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function g5e(e){return e!==null&&typeof e=="object"?e.valueOf():e}function v5e(e=Bo){if(e===Bo)return DF;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function DF(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}const y5e=Math.sqrt(50),b5e=Math.sqrt(10),S5e=Math.sqrt(2);function rv(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=y5e?10:a>=b5e?5:a>=S5e?2:1;let s,u,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(e*l),u=Math.round(t*l),s/lt&&--u,l=-l):(l=Math.pow(10,i)*o,s=Math.round(e/l),u=Math.round(t/l),s*lt&&--u),u0))return[];if(e===t)return[e];const n=t=i))return[];const s=a-i+1,u=new Array(s);if(n)if(o<0)for(let l=0;l=n)&&(r=n);return r}function oD(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function RF(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?DF:v5e(i);n>r;){if(n-r>600){const u=n-r+1,l=t-r+1,c=Math.log(u),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(u-f)/u)*(l-u/2<0?-1:1),p=Math.max(r,Math.floor(t-l*f/u+d)),m=Math.min(n,Math.floor(t+(u-l)*f/u+d));RF(e,t,p,m,i)}const a=e[t];let o=r,s=n;for(rf(e,r,t),i(e[n],a)>0&&rf(e,r,n);o0;)--s}i(e[r],a)===0?rf(e,r,s):(++s,rf(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function rf(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function x5e(e,t,r){if(e=Float64Array.from(d5e(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return oD(e);if(t>=1)return aD(e);var n,i=(n-1)*t,a=Math.floor(i),o=aD(RF(e,a).subarray(0,a+1)),s=oD(e.subarray(a+1));return o+(s-o)*(i-a)}}function E5e(e,t,r=PF){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),s=+r(e[a+1],a+1,e);return o+(s-o)*(i-a)}}function A5e(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?ym(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?ym(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=C5e.exec(e))?new rn(t[1],t[2],t[3],1):(t=T5e.exec(e))?new rn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=O5e.exec(e))?ym(t[1],t[2],t[3],t[4]):(t=_5e.exec(e))?ym(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=k5e.exec(e))?pD(t[1],t[2]/100,t[3]/100,1):(t=P5e.exec(e))?pD(t[1],t[2]/100,t[3]/100,t[4]):sD.hasOwnProperty(e)?cD(sD[e]):e==="transparent"?new rn(NaN,NaN,NaN,0):null}function cD(e){return new rn(e>>16&255,e>>8&255,e&255,1)}function ym(e,t,r,n){return n<=0&&(e=t=r=NaN),new rn(e,t,r,n)}function L5e(e){return e instanceof hh||(e=ap(e)),e?(e=e.rgb(),new rn(e.r,e.g,e.b,e.opacity)):new rn}function TE(e,t,r,n){return arguments.length===1?L5e(e):new rn(e,t,r,n??1)}function rn(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}LT(rn,TE,NF(hh,{brighter(e){return e=e==null?nv:Math.pow(nv,e),new rn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?np:Math.pow(np,e),new rn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new rn(Ys(this.r),Ys(this.g),Ys(this.b),iv(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:fD,formatHex:fD,formatHex8:N5e,formatRgb:dD,toString:dD}));function fD(){return`#${Ls(this.r)}${Ls(this.g)}${Ls(this.b)}`}function N5e(){return`#${Ls(this.r)}${Ls(this.g)}${Ls(this.b)}${Ls((isNaN(this.opacity)?1:this.opacity)*255)}`}function dD(){const e=iv(this.opacity);return`${e===1?"rgb(":"rgba("}${Ys(this.r)}, ${Ys(this.g)}, ${Ys(this.b)}${e===1?")":`, ${e})`}`}function iv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ys(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ls(e){return e=Ys(e),(e<16?"0":"")+e.toString(16)}function pD(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Ci(e,t,r,n)}function MF(e){if(e instanceof Ci)return new Ci(e.h,e.s,e.l,e.opacity);if(e instanceof hh||(e=ap(e)),!e)return new Ci;if(e instanceof Ci)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,s=a-i,u=(a+i)/2;return s?(t===a?o=(r-n)/s+(r0&&u<1?0:o,new Ci(o,s,u,e.opacity)}function M5e(e,t,r,n){return arguments.length===1?MF(e):new Ci(e,t,r,n??1)}function Ci(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}LT(Ci,M5e,NF(hh,{brighter(e){return e=e==null?nv:Math.pow(nv,e),new Ci(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?np:Math.pow(np,e),new Ci(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new rn(Sb(e>=240?e-240:e+120,i,n),Sb(e,i,n),Sb(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Ci(hD(this.h),bm(this.s),bm(this.l),iv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=iv(this.opacity);return`${e===1?"hsl(":"hsla("}${hD(this.h)}, ${bm(this.s)*100}%, ${bm(this.l)*100}%${e===1?")":`, ${e})`}`}}));function hD(e){return e=(e||0)%360,e<0?e+360:e}function bm(e){return Math.max(0,Math.min(1,e||0))}function Sb(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const NT=e=>()=>e;function I5e(e,t){return function(r){return e+r*t}}function B5e(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function U5e(e){return(e=+e)==1?IF:function(t,r){return r-t?B5e(t,r,e):NT(isNaN(t)?r:t)}}function IF(e,t){var r=t-e;return r?I5e(e,r):NT(isNaN(e)?t:e)}const mD=function e(t){var r=U5e(t);function n(i,a){var o=r((i=TE(i)).r,(a=TE(a)).r),s=r(i.g,a.g),u=r(i.b,a.b),l=IF(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=s(c),i.b=u(c),i.opacity=l(c),i+""}}return n.gamma=e,n}(1);function F5e(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;ir&&(a=t.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,u.push({i:o,x:av(n,i)})),r=xb.lastIndex;return rt&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function X5e(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i2?Z5e:X5e,u=l=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((l||(l=s(t,e.map(n),av)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,ov),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=MT,c()},f.clamp=function(d){return arguments.length?(o=d?!0:Vr,c()):o!==Vr},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,p){return n=d,i=p,c()}}function IT(){return f1()(Vr,Vr)}function Q5e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function sv(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function rc(e){return e=sv(Math.abs(e)),e?e[1]:NaN}function J5e(e,t){return function(r,n){for(var i=r.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),a.push(r.substring(i-=s,i+s)),!((u+=s+1)>n));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function ePe(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var tPe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function op(e){if(!(t=tPe.exec(e)))throw new Error("invalid format: "+e);var t;return new BT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}op.prototype=BT.prototype;function BT(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}BT.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function rPe(e){e:for(var t=e.length,r=1,n=-1,i;r0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var BF;function nPe(e,t){var r=sv(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(BF=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+sv(e,Math.max(0,t+a-1))[0]}function vD(e,t){var r=sv(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const yD={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Q5e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>vD(e*100,t),r:vD,s:nPe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function bD(e){return e}var SD=Array.prototype.map,xD=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function iPe(e){var t=e.grouping===void 0||e.thousands===void 0?bD:J5e(SD.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?bD:ePe(SD.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function l(f){f=op(f);var d=f.fill,p=f.align,m=f.sign,h=f.symbol,v=f.zero,y=f.width,g=f.comma,b=f.precision,S=f.trim,x=f.type;x==="n"?(g=!0,x="g"):yD[x]||(b===void 0&&(b=12),S=!0,x="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var E=h==="$"?r:h==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=h==="$"?n:/[%p]/.test(x)?o:"",T=yD[x],k=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function O(P){var B=E,I=w,F,V,U;if(x==="c")I=T(P)+I,P="";else{P=+P;var M=P<0||1/P<0;if(P=isNaN(P)?u:T(Math.abs(P),b),S&&(P=rPe(P)),M&&+P==0&&m!=="+"&&(M=!1),B=(M?m==="("?m:s:m==="-"||m==="("?"":m)+B,I=(x==="s"?xD[8+BF/3]:"")+I+(M&&m==="("?")":""),k){for(F=-1,V=P.length;++FU||U>57){I=(U===46?i+P.slice(F+1):P.slice(F))+I,P=P.slice(0,F);break}}}g&&!v&&(P=t(P,1/0));var L=B.length+P.length+I.length,N=L>1)+B+P+I+N.slice(L);break;default:P=N+B+P+I;break}return a(P)}return O.toString=function(){return f+""},O}function c(f,d){var p=l((f=op(f),f.type="f",f)),m=Math.max(-8,Math.min(8,Math.floor(rc(d)/3)))*3,h=Math.pow(10,-m),v=xD[8+m/3];return function(y){return p(h*y)+v}}return{format:l,formatPrefix:c}}var Sm,UT,UF;aPe({thousands:",",grouping:[3],currency:["$",""]});function aPe(e){return Sm=iPe(e),UT=Sm.format,UF=Sm.formatPrefix,Sm}function oPe(e){return Math.max(0,-rc(Math.abs(e)))}function sPe(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(rc(t)/3)))*3-rc(Math.abs(e)))}function uPe(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rc(t)-rc(e))+1}function FF(e,t,r,n){var i=wE(e,t,r),a;switch(n=op(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=sPe(i,o))&&(n.precision=a),UF(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=uPe(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=oPe(i))&&(n.precision=a-(n.type==="%")*2);break}}return UT(n)}function as(e){var t=e.domain;return e.ticks=function(r){var n=t();return EE(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return FF(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],u,l,c=10;for(s0;){if(l=AE(o,s,r),l===u)return n[i]=o,n[a]=s,t(n);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;u=l}return e},e}function uv(){var e=IT();return e.copy=function(){return mh(e,uv())},fi.apply(e,arguments),as(e)}function jF(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,ov),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return jF(e).unknown(t)},e=arguments.length?Array.from(e,ov):[0,1],as(r)}function zF(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return aMath.pow(e,t)}function pPe(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function wD(e){return(t,r)=>-e(-t,r)}function FT(e){const t=e(ED,AD),r=t.domain;let n=10,i,a;function o(){return i=pPe(n),a=dPe(n),r()[0]<0?(i=wD(i),a=wD(a),e(lPe,cPe)):e(ED,AD),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let l=u[0],c=u[u.length-1];const f=c0){for(;d<=p;++d)for(m=1;mc)break;y.push(h)}}else for(;d<=p;++d)for(m=n-1;m>=1;--m)if(h=d>0?m/a(-d):m*a(d),!(hc)break;y.push(h)}y.length*2{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=op(u)).precision==null&&(u.trim=!0),u=UT(u)),s===1/0)return u;const l=Math.max(1,n*s/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*nr(zF(r(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function VF(){const e=FT(f1()).domain([1,10]);return e.copy=()=>mh(e,VF()).base(e.base()),fi.apply(e,arguments),e}function CD(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function TD(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function jT(e){var t=1,r=e(CD(t),TD(t));return r.constant=function(n){return arguments.length?e(CD(t=+n),TD(t)):t},as(r)}function qF(){var e=jT(f1());return e.copy=function(){return mh(e,qF()).constant(e.constant())},fi.apply(e,arguments)}function OD(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function hPe(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function mPe(e){return e<0?-e*e:e*e}function zT(e){var t=e(Vr,Vr),r=1;function n(){return r===1?e(Vr,Vr):r===.5?e(hPe,mPe):e(OD(r),OD(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},as(t)}function VT(){var e=zT(f1());return e.copy=function(){return mh(e,VT()).exponent(e.exponent())},fi.apply(e,arguments),e}function gPe(){return VT.apply(null,arguments).exponent(.5)}function _D(e){return Math.sign(e)*e*e}function vPe(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function WF(){var e=IT(),t=[0,1],r=!1,n;function i(a){var o=vPe(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(_D(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,ov)).map(_D)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return WF(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},fi.apply(i,arguments),as(i)}function HF(){var e=[],t=[],r=[],n;function i(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o0?r[s-1]:e[0],s=r?[n[r-1],t]:[n[l-1],n[l]]},o.unknown=function(u){return arguments.length&&(a=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return GF().domain([e,t]).range(i).unknown(a)},fi.apply(as(o),arguments)}function KF(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[ph(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return KF().domain(e).range(t).unknown(r)},fi.apply(i,arguments)}const Eb=new Date,Ab=new Date;function Zt(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a0))return u;let l;do u.push(l=new Date(+a)),t(a,s),e(a);while(lZt(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(Eb.setTime(+a),Ab.setTime(+o),e(Eb),e(Ab),Math.floor(r(Eb,Ab))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const lv=Zt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);lv.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Zt(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):lv);lv.range;const Da=1e3,Yn=Da*60,Ra=Yn*60,Xa=Ra*24,qT=Xa*7,kD=Xa*30,wb=Xa*365,Ns=Zt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Da)},(e,t)=>(t-e)/Da,e=>e.getUTCSeconds());Ns.range;const WT=Zt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Da)},(e,t)=>{e.setTime(+e+t*Yn)},(e,t)=>(t-e)/Yn,e=>e.getMinutes());WT.range;const HT=Zt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Yn)},(e,t)=>(t-e)/Yn,e=>e.getUTCMinutes());HT.range;const GT=Zt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Da-e.getMinutes()*Yn)},(e,t)=>{e.setTime(+e+t*Ra)},(e,t)=>(t-e)/Ra,e=>e.getHours());GT.range;const KT=Zt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Ra)},(e,t)=>(t-e)/Ra,e=>e.getUTCHours());KT.range;const gh=Zt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Yn)/Xa,e=>e.getDate()-1);gh.range;const d1=Zt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Xa,e=>e.getUTCDate()-1);d1.range;const $F=Zt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Xa,e=>Math.floor(e/Xa));$F.range;function Eu(e){return Zt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Yn)/qT)}const p1=Eu(0),cv=Eu(1),yPe=Eu(2),bPe=Eu(3),nc=Eu(4),SPe=Eu(5),xPe=Eu(6);p1.range;cv.range;yPe.range;bPe.range;nc.range;SPe.range;xPe.range;function Au(e){return Zt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/qT)}const h1=Au(0),fv=Au(1),EPe=Au(2),APe=Au(3),ic=Au(4),wPe=Au(5),CPe=Au(6);h1.range;fv.range;EPe.range;APe.range;ic.range;wPe.range;CPe.range;const $T=Zt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());$T.range;const YT=Zt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());YT.range;const Za=Zt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Za.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Za.range;const Qa=Zt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Qa.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});Qa.range;function YF(e,t,r,n,i,a){const o=[[Ns,1,Da],[Ns,5,5*Da],[Ns,15,15*Da],[Ns,30,30*Da],[a,1,Yn],[a,5,5*Yn],[a,15,15*Yn],[a,30,30*Yn],[i,1,Ra],[i,3,3*Ra],[i,6,6*Ra],[i,12,12*Ra],[n,1,Xa],[n,2,2*Xa],[r,1,qT],[t,1,kD],[t,3,3*kD],[e,1,wb]];function s(l,c,f){const d=cv).right(o,d);if(p===o.length)return e.every(wE(l/wb,c/wb,f));if(p===0)return lv.every(Math.max(wE(l,c,f),1));const[m,h]=o[d/o[p-1][2]53)return null;"w"in z||(z.w=1),"Z"in z?(ve=Tb(nf(z.y,0,1)),oe=ve.getUTCDay(),ve=oe>4||oe===0?fv.ceil(ve):fv(ve),ve=d1.offset(ve,(z.V-1)*7),z.y=ve.getUTCFullYear(),z.m=ve.getUTCMonth(),z.d=ve.getUTCDate()+(z.w+6)%7):(ve=Cb(nf(z.y,0,1)),oe=ve.getDay(),ve=oe>4||oe===0?cv.ceil(ve):cv(ve),ve=gh.offset(ve,(z.V-1)*7),z.y=ve.getFullYear(),z.m=ve.getMonth(),z.d=ve.getDate()+(z.w+6)%7)}else("W"in z||"U"in z)&&("w"in z||(z.w="u"in z?z.u%7:"W"in z?1:0),oe="Z"in z?Tb(nf(z.y,0,1)).getUTCDay():Cb(nf(z.y,0,1)).getDay(),z.m=0,z.d="W"in z?(z.w+6)%7+z.W*7-(oe+5)%7:z.w+z.U*7-(oe+6)%7);return"Z"in z?(z.H+=z.Z/100|0,z.M+=z.Z%100,Tb(z)):Cb(z)}}function T($,ae,Z,z){for(var be=0,ve=ae.length,oe=Z.length,xe,Te;be=oe)return-1;if(xe=ae.charCodeAt(be++),xe===37){if(xe=ae.charAt(be++),Te=x[xe in PD?ae.charAt(be++):xe],!Te||(z=Te($,Z,z))<0)return-1}else if(xe!=Z.charCodeAt(z++))return-1}return z}function k($,ae,Z){var z=l.exec(ae.slice(Z));return z?($.p=c.get(z[0].toLowerCase()),Z+z[0].length):-1}function O($,ae,Z){var z=p.exec(ae.slice(Z));return z?($.w=m.get(z[0].toLowerCase()),Z+z[0].length):-1}function P($,ae,Z){var z=f.exec(ae.slice(Z));return z?($.w=d.get(z[0].toLowerCase()),Z+z[0].length):-1}function B($,ae,Z){var z=y.exec(ae.slice(Z));return z?($.m=g.get(z[0].toLowerCase()),Z+z[0].length):-1}function I($,ae,Z){var z=h.exec(ae.slice(Z));return z?($.m=v.get(z[0].toLowerCase()),Z+z[0].length):-1}function F($,ae,Z){return T($,t,ae,Z)}function V($,ae,Z){return T($,r,ae,Z)}function U($,ae,Z){return T($,n,ae,Z)}function M($){return o[$.getDay()]}function L($){return a[$.getDay()]}function N($){return u[$.getMonth()]}function W($){return s[$.getMonth()]}function G($){return i[+($.getHours()>=12)]}function K($){return 1+~~($.getMonth()/3)}function X($){return o[$.getUTCDay()]}function ie($){return a[$.getUTCDay()]}function fe($){return u[$.getUTCMonth()]}function Se($){return s[$.getUTCMonth()]}function de($){return i[+($.getUTCHours()>=12)]}function Ae($){return 1+~~($.getUTCMonth()/3)}return{format:function($){var ae=E($+="",b);return ae.toString=function(){return $},ae},parse:function($){var ae=w($+="",!1);return ae.toString=function(){return $},ae},utcFormat:function($){var ae=E($+="",S);return ae.toString=function(){return $},ae},utcParse:function($){var ae=w($+="",!0);return ae.toString=function(){return $},ae}}}var PD={"-":"",_:" ",0:"0"},ur=/^\s*\d+/,DPe=/^%/,RPe=/[\\^$*+?|[\]().{}]/g;function Me(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a[t.toLowerCase(),r]))}function NPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function MPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function IPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function BPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function UPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function DD(e,t,r){var n=ur.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function RD(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function FPe(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function jPe(e,t,r){var n=ur.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function zPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function LD(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function VPe(e,t,r){var n=ur.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function ND(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function qPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function WPe(e,t,r){var n=ur.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function HPe(e,t,r){var n=ur.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function GPe(e,t,r){var n=ur.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function KPe(e,t,r){var n=DPe.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function $Pe(e,t,r){var n=ur.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function YPe(e,t,r){var n=ur.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function MD(e,t){return Me(e.getDate(),t,2)}function XPe(e,t){return Me(e.getHours(),t,2)}function ZPe(e,t){return Me(e.getHours()%12||12,t,2)}function QPe(e,t){return Me(1+gh.count(Za(e),e),t,3)}function XF(e,t){return Me(e.getMilliseconds(),t,3)}function JPe(e,t){return XF(e,t)+"000"}function e4e(e,t){return Me(e.getMonth()+1,t,2)}function t4e(e,t){return Me(e.getMinutes(),t,2)}function r4e(e,t){return Me(e.getSeconds(),t,2)}function n4e(e){var t=e.getDay();return t===0?7:t}function i4e(e,t){return Me(p1.count(Za(e)-1,e),t,2)}function ZF(e){var t=e.getDay();return t>=4||t===0?nc(e):nc.ceil(e)}function a4e(e,t){return e=ZF(e),Me(nc.count(Za(e),e)+(Za(e).getDay()===4),t,2)}function o4e(e){return e.getDay()}function s4e(e,t){return Me(cv.count(Za(e)-1,e),t,2)}function u4e(e,t){return Me(e.getFullYear()%100,t,2)}function l4e(e,t){return e=ZF(e),Me(e.getFullYear()%100,t,2)}function c4e(e,t){return Me(e.getFullYear()%1e4,t,4)}function f4e(e,t){var r=e.getDay();return e=r>=4||r===0?nc(e):nc.ceil(e),Me(e.getFullYear()%1e4,t,4)}function d4e(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Me(t/60|0,"0",2)+Me(t%60,"0",2)}function ID(e,t){return Me(e.getUTCDate(),t,2)}function p4e(e,t){return Me(e.getUTCHours(),t,2)}function h4e(e,t){return Me(e.getUTCHours()%12||12,t,2)}function m4e(e,t){return Me(1+d1.count(Qa(e),e),t,3)}function QF(e,t){return Me(e.getUTCMilliseconds(),t,3)}function g4e(e,t){return QF(e,t)+"000"}function v4e(e,t){return Me(e.getUTCMonth()+1,t,2)}function y4e(e,t){return Me(e.getUTCMinutes(),t,2)}function b4e(e,t){return Me(e.getUTCSeconds(),t,2)}function S4e(e){var t=e.getUTCDay();return t===0?7:t}function x4e(e,t){return Me(h1.count(Qa(e)-1,e),t,2)}function JF(e){var t=e.getUTCDay();return t>=4||t===0?ic(e):ic.ceil(e)}function E4e(e,t){return e=JF(e),Me(ic.count(Qa(e),e)+(Qa(e).getUTCDay()===4),t,2)}function A4e(e){return e.getUTCDay()}function w4e(e,t){return Me(fv.count(Qa(e)-1,e),t,2)}function C4e(e,t){return Me(e.getUTCFullYear()%100,t,2)}function T4e(e,t){return e=JF(e),Me(e.getUTCFullYear()%100,t,2)}function O4e(e,t){return Me(e.getUTCFullYear()%1e4,t,4)}function _4e(e,t){var r=e.getUTCDay();return e=r>=4||r===0?ic(e):ic.ceil(e),Me(e.getUTCFullYear()%1e4,t,4)}function k4e(){return"+0000"}function BD(){return"%"}function UD(e){return+e}function FD(e){return Math.floor(+e/1e3)}var Bu,ej,tj;P4e({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function P4e(e){return Bu=PPe(e),ej=Bu.format,Bu.parse,tj=Bu.utcFormat,Bu.utcParse,Bu}function D4e(e){return new Date(e)}function R4e(e){return e instanceof Date?+e:+new Date(+e)}function XT(e,t,r,n,i,a,o,s,u,l){var c=IT(),f=c.invert,d=c.domain,p=l(".%L"),m=l(":%S"),h=l("%I:%M"),v=l("%I %p"),y=l("%a %d"),g=l("%b %d"),b=l("%B"),S=l("%Y");function x(E){return(u(E)t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>x5e(e,a/n))},r.copy=function(){return aj(t).domain(e)},oo.apply(r,arguments)}function g1(){var e=0,t=.5,r=1,n=1,i,a,o,s,u,l=Vr,c,f=!1,d;function p(h){return isNaN(h=+h)?d:(h=.5+((h=+c(h))-a)*(n*ht}var j4e=F4e,z4e=lj,V4e=j4e,q4e=Tc;function W4e(e){return e&&e.length?z4e(e,q4e,V4e):void 0}var H4e=W4e;const v1=Ge(H4e);function G4e(e,t){return ee.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=ne.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};ne.decimalPlaces=ne.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ft;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};ne.dividedBy=ne.div=function(e){return ja(this,new this.constructor(e))};ne.dividedToIntegerBy=ne.idiv=function(e){var t=this,r=t.constructor;return nt(ja(t,new r(e),0,1),r.precision)};ne.equals=ne.eq=function(e){return!this.cmp(e)};ne.exponent=function(){return Ft(this)};ne.greaterThan=ne.gt=function(e){return this.cmp(e)>0};ne.greaterThanOrEqualTo=ne.gte=function(e){return this.cmp(e)>=0};ne.isInteger=ne.isint=function(){return this.e>this.d.length-2};ne.isNegative=ne.isneg=function(){return this.s<0};ne.isPositive=ne.ispos=function(){return this.s>0};ne.isZero=function(){return this.s===0};ne.lessThan=ne.lt=function(e){return this.cmp(e)<0};ne.lessThanOrEqualTo=ne.lte=function(e){return this.cmp(e)<1};ne.logarithm=ne.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(xn))throw Error(oi+"NaN");if(r.s<1)throw Error(oi+(r.s?"NaN":"-Infinity"));return r.eq(xn)?new n(0):(bt=!1,t=ja(sp(r,a),sp(e,a),a),bt=!0,nt(t,i))};ne.minus=ne.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?pj(t,e):fj(t,(e.s=-e.s,e))};ne.modulo=ne.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(oi+"NaN");return r.s?(bt=!1,t=ja(r,e,0,1).times(e),bt=!0,r.minus(t)):nt(new n(r),i)};ne.naturalExponential=ne.exp=function(){return dj(this)};ne.naturalLogarithm=ne.ln=function(){return sp(this)};ne.negated=ne.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ne.plus=ne.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?fj(t,e):pj(t,(e.s=-e.s,e))};ne.precision=ne.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Xs+e);if(t=Ft(i)+1,n=i.d.length-1,r=n*ft+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};ne.squareRoot=ne.sqrt=function(){var e,t,r,n,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(oi+"NaN")}for(e=Ft(s),bt=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=Ji(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Pc((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(i.toString()),r=u.precision,i=o=r+3;;)if(a=n,n=a.plus(ja(s,a,o+2)).times(.5),Ji(a.d).slice(0,o)===(t=Ji(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(nt(a,r+1,0),a.times(a).eq(s)){n=a;break}}else if(t!="9999")break;o+=4}return bt=!0,nt(n,r)};ne.times=ne.mul=function(e){var t,r,n,i,a,o,s,u,l,c=this,f=c.constructor,d=c.d,p=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,u=d.length,l=p.length,u=0;){for(t=0,i=u+n;i>n;)s=a[i]+p[n]*d[i-n-1]+t,a[i--]=s%er|0,t=s/er|0;a[i]=(a[i]+t)%er|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,bt?nt(e,f.precision):e};ne.toDecimalPlaces=ne.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(da(e,0,kc),t===void 0?t=n.rounding:da(t,0,8),nt(r,e+Ft(r)+1,t))};ne.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=fu(n,!0):(da(e,0,kc),t===void 0?t=i.rounding:da(t,0,8),n=nt(new i(n),e+1,t),r=fu(n,!0,e+1)),r};ne.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?fu(i):(da(e,0,kc),t===void 0?t=a.rounding:da(t,0,8),n=nt(new a(i),e+Ft(i)+1,t),r=fu(n.abs(),!1,e+Ft(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};ne.toInteger=ne.toint=function(){var e=this,t=e.constructor;return nt(new t(e),Ft(e)+1,t.rounding)};ne.toNumber=function(){return+this};ne.toPower=ne.pow=function(e){var t,r,n,i,a,o,s=this,u=s.constructor,l=12,c=+(e=new u(e));if(!e.s)return new u(xn);if(s=new u(s),!s.s){if(e.s<1)throw Error(oi+"Infinity");return s}if(s.eq(xn))return s;if(n=u.precision,e.eq(xn))return nt(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=s.s,o){if((r=c<0?-c:c)<=cj){for(i=new u(xn),t=Math.ceil(n/ft+4),bt=!1;r%2&&(i=i.times(s),VD(i.d,t)),r=Pc(r/2),r!==0;)s=s.times(s),VD(s.d,t);return bt=!0,e.s<0?new u(xn).div(i):nt(i,n)}}else if(a<0)throw Error(oi+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,bt=!1,i=e.times(sp(s,n+l)),bt=!0,i=dj(i),i.s=a,i};ne.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=Ft(i),n=fu(i,r<=a.toExpNeg||r>=a.toExpPos)):(da(e,1,kc),t===void 0?t=a.rounding:da(t,0,8),i=nt(new a(i),e,t),r=Ft(i),n=fu(i,e<=r||r<=a.toExpNeg,e)),n};ne.toSignificantDigits=ne.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(da(e,1,kc),t===void 0?t=n.rounding:da(t,0,8)),nt(new n(r),e,t)};ne.toString=ne.valueOf=ne.val=ne.toJSON=ne[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Ft(e),r=e.constructor;return fu(e,t<=r.toExpNeg||t>=r.toExpPos)};function fj(e,t){var r,n,i,a,o,s,u,l,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),bt?nt(t,f):t;if(u=e.d,l=t.d,o=e.e,i=t.e,u=u.slice(),a=o-i,a){for(a<0?(n=u,a=-a,s=l.length):(n=l,i=o,s=u.length),o=Math.ceil(f/ft),s=o>s?o+1:s+1,a>s&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(s=u.length,a=l.length,s-a<0&&(a=s,n=l,l=u,u=n),r=0;a;)r=(u[--a]=u[a]+l[a]+r)/er|0,u[a]%=er;for(r&&(u.unshift(r),++i),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=i,bt?nt(t,f):t}function da(e,t,r){if(e!==~~e||er)throw Error(Xs+e)}function Ji(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;to?1:-1;else for(s=u=0;si[s]?1:-1;break}return u}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]1;)n.shift()}return function(n,i,a,o){var s,u,l,c,f,d,p,m,h,v,y,g,b,S,x,E,w,T,k=n.constructor,O=n.s==i.s?1:-1,P=n.d,B=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(oi+"Division by zero");for(u=n.e-i.e,w=B.length,x=P.length,p=new k(O),m=p.d=[],l=0;B[l]==(P[l]||0);)++l;if(B[l]>(P[l]||0)&&--u,a==null?g=a=k.precision:o?g=a+(Ft(n)-Ft(i))+1:g=a,g<0)return new k(0);if(g=g/ft+2|0,l=0,w==1)for(c=0,B=B[0],g++;(l1&&(B=e(B,c),P=e(P,c),w=B.length,x=P.length),S=w,h=P.slice(0,w),v=h.length;v=er/2&&++E;do c=0,s=t(B,h,w,v),s<0?(y=h[0],w!=v&&(y=y*er+(h[1]||0)),c=y/E|0,c>1?(c>=er&&(c=er-1),f=e(B,c),d=f.length,v=h.length,s=t(f,h,d,v),s==1&&(c--,r(f,w16)throw Error(e3+Ft(e));if(!e.s)return new c(xn);for(t==null?(bt=!1,s=f):s=t,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(n=Math.log(Es(2,l))/Math.LN10*2+5|0,s+=n,r=i=a=new c(xn),c.precision=s;;){if(i=nt(i.times(e),s),r=r.times(++u),o=a.plus(ja(i,r,s)),Ji(o.d).slice(0,s)===Ji(a.d).slice(0,s)){for(;l--;)a=nt(a.times(a),s);return c.precision=f,t==null?(bt=!0,nt(a,f)):a}a=o}}function Ft(e){for(var t=e.e*ft,r=e.d[0];r>=10;r/=10)t++;return t}function Ob(e,t,r){if(t>e.LN10.sd())throw bt=!0,r&&(e.precision=r),Error(oi+"LN10 precision limit exceeded");return nt(new e(e.LN10),t)}function vo(e){for(var t="";e--;)t+="0";return t}function sp(e,t){var r,n,i,a,o,s,u,l,c,f=1,d=10,p=e,m=p.d,h=p.constructor,v=h.precision;if(p.s<1)throw Error(oi+(p.s?"NaN":"-Infinity"));if(p.eq(xn))return new h(0);if(t==null?(bt=!1,l=v):l=t,p.eq(10))return t==null&&(bt=!0),Ob(h,l);if(l+=d,h.precision=l,r=Ji(m),n=r.charAt(0),a=Ft(p),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)p=p.times(e),r=Ji(p.d),n=r.charAt(0),f++;a=Ft(p),n>1?(p=new h("0."+r),a++):p=new h(n+"."+r.slice(1))}else return u=Ob(h,l+2,v).times(a+""),p=sp(new h(n+"."+r.slice(1)),l-d).plus(u),h.precision=v,t==null?(bt=!0,nt(p,v)):p;for(s=o=p=ja(p.minus(xn),p.plus(xn),l),c=nt(p.times(p),l),i=3;;){if(o=nt(o.times(c),l),u=s.plus(ja(o,new h(i),l)),Ji(u.d).slice(0,l)===Ji(s.d).slice(0,l))return s=s.times(2),a!==0&&(s=s.plus(Ob(h,l+2,v).times(a+""))),s=ja(s,new h(f),l),h.precision=v,t==null?(bt=!0,nt(s,v)):s;s=u,i+=2}}function zD(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=Pc(r/ft),e.d=[],n=(r+1)%ft,r<0&&(n+=ft),ndv||e.e<-dv))throw Error(e3+r)}else e.s=0,e.e=0,e.d=[0];return e}function nt(e,t,r){var n,i,a,o,s,u,l,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ft,i=t,l=f[c=0];else{if(c=Math.ceil((n+1)/ft),a=f.length,c>=a)return e;for(l=a=f[c],o=1;a>=10;a/=10)o++;n%=ft,i=n-ft+o}if(r!==void 0&&(a=Es(10,o-i-1),s=l/a%10|0,u=t<0||f[c+1]!==void 0||l%a,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?i>0?l/Es(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return u?(a=Ft(e),f.length=1,t=t-a-1,f[0]=Es(10,(ft-t%ft)%ft),e.e=Pc(-t/ft)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=Es(10,ft-n),f[c]=i>0?(l/Es(10,o-i)%Es(10,i)|0)*a:0),u)for(;;)if(c==0){(f[0]+=a)==er&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=er)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(bt&&(e.e>dv||e.e<-dv))throw Error(e3+Ft(e));return e}function pj(e,t){var r,n,i,a,o,s,u,l,c,f,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),bt?nt(t,p):t;if(u=e.d,f=t.d,n=t.e,l=e.e,u=u.slice(),o=l-n,o){for(c=o<0,c?(r=u,o=-o,s=f.length):(r=f,n=l,s=u.length),i=Math.max(Math.ceil(p/ft),s)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=u.length,s=f.length,c=i0;--i)u[s++]=0;for(i=f.length;i>o;){if(u[--i]0?a=a.charAt(0)+"."+a.slice(1)+vo(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+vo(-i-1)+a,r&&(n=r-o)>0&&(a+=vo(n))):i>=o?(a+=vo(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+vo(n))):((n=i+1)0&&(i+1===o&&(a+="."),a+=vo(n))),e.s<0?"-"+a:a}function VD(e,t){if(e.length>t)return e.length=t,!0}function hj(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(Xs+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return zD(o,a.toString())}else if(typeof a!="string")throw Error(Xs+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,hDe.test(a))zD(o,a);else throw Error(Xs+a)}if(i.prototype=ne,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=hj,i.config=i.set=mDe,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(Xs+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Xs+r+": "+n);return this}var t3=hj(pDe);xn=new t3(1);const Je=t3;function gDe(e){return SDe(e)||bDe(e)||yDe(e)||vDe()}function vDe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yDe(e,t){if(e){if(typeof e=="string")return kE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kE(e,t)}}function bDe(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function SDe(e){if(Array.isArray(e))return kE(e)}function kE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t?r.apply(void 0,i):e(t-o,qD(function(){for(var s=arguments.length,u=new Array(s),l=0;le.length)&&(t=e.length);for(var r=0,n=new Array(t);r"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}}function MDe(e){if(Array.isArray(e))return e}function bj(e){var t=up(e,2),r=t[0],n=t[1],i=r,a=n;return r>n&&(i=n,a=r),[i,a]}function Sj(e,t,r){if(e.lte(0))return new Je(0);var n=S1.getDigitCount(e.toNumber()),i=new Je(10).pow(n),a=e.div(i),o=n!==1?.05:.1,s=new Je(Math.ceil(a.div(o).toNumber())).add(r).mul(o),u=s.mul(i);return t?u:new Je(Math.ceil(u))}function IDe(e,t,r){var n=1,i=new Je(e);if(!i.isint()&&r){var a=Math.abs(e);a<1?(n=new Je(10).pow(S1.getDigitCount(e)-1),i=new Je(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new Je(Math.floor(e)))}else e===0?i=new Je(Math.floor((t-1)/2)):r||(i=new Je(Math.floor(e)));var o=Math.floor((t-1)/2),s=wDe(ADe(function(u){return i.add(new Je(u-o).mul(n)).toNumber()}),PE);return s(0,t)}function xj(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Je(0),tickMin:new Je(0),tickMax:new Je(0)};var a=Sj(new Je(t).sub(e).div(r-1),n,i),o;e<=0&&t>=0?o=new Je(0):(o=new Je(e).add(t).div(2),o=o.sub(new Je(o).mod(a)));var s=Math.ceil(o.sub(e).div(a).toNumber()),u=Math.ceil(new Je(t).sub(o).div(a).toNumber()),l=s+u+1;return l>r?xj(e,t,r,n,i+1):(l0?u+(r-l):u,s=t>0?s:s+(r-l)),{step:a,tickMin:o.sub(new Je(s).mul(a)),tickMax:o.add(new Je(u).mul(a))})}function BDe(e){var t=up(e,2),r=t[0],n=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),s=bj([r,n]),u=up(s,2),l=u[0],c=u[1];if(l===-1/0||c===1/0){var f=c===1/0?[l].concat(RE(PE(0,i-1).map(function(){return 1/0}))):[].concat(RE(PE(0,i-1).map(function(){return-1/0})),[c]);return r>n?DE(f):f}if(l===c)return IDe(l,i,a);var d=xj(l,c,o,a),p=d.step,m=d.tickMin,h=d.tickMax,v=S1.rangeStep(m,h.add(new Je(.1).mul(p)),p);return r>n?DE(v):v}function UDe(e,t){var r=up(e,2),n=r[0],i=r[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=bj([n,i]),s=up(o,2),u=s[0],l=s[1];if(u===-1/0||l===1/0)return[n,i];if(u===l)return[u];var c=Math.max(t,2),f=Sj(new Je(l).sub(u).div(c-1),a,0),d=[].concat(RE(S1.rangeStep(new Je(u),new Je(l).sub(new Je(.99).mul(f)),f)),[l]);return n>i?DE(d):d}var FDe=vj(BDe),jDe=vj(UDe),zDe=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function pv(){return pv=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $De(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function x1(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,a=e.data,o=e.dataPointFormatter,s=e.xAxis,u=e.yAxis,l=KDe(e,zDe),c=qe(l,!1);e.direction==="x"&&s.type!=="number"&&Qs();var f=a.map(function(d){var p=o(d,i),m=p.x,h=p.y,v=p.value,y=p.errorVal;if(!y)return null;var g=[],b,S;if(Array.isArray(y)){var x=VDe(y,2);b=x[0],S=x[1]}else b=S=y;if(r==="vertical"){var E=s.scale,w=h+t,T=w+n,k=w-n,O=E(v-b),P=E(v+S);g.push({x1:P,y1:T,x2:P,y2:k}),g.push({x1:O,y1:w,x2:P,y2:w}),g.push({x1:O,y1:T,x2:O,y2:k})}else if(r==="horizontal"){var B=u.scale,I=m+t,F=I-n,V=I+n,U=B(v-b),M=B(v+S);g.push({x1:F,y1:M,x2:V,y2:M}),g.push({x1:I,y1:U,x2:I,y2:M}),g.push({x1:F,y1:U,x2:V,y2:U})}return j.createElement(nr,pv({className:"recharts-errorBar",key:"bar-".concat(g.map(function(L){return"".concat(L.x1,"-").concat(L.x2,"-").concat(L.y1,"-").concat(L.y2)}))},c),g.map(function(L){return j.createElement("line",pv({},L,{key:"line-".concat(L.x1,"-").concat(L.x2,"-").concat(L.y1,"-").concat(L.y2)}))}))});return j.createElement(nr,{className:"recharts-errorBars"},f)}x1.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};x1.displayName="ErrorBar";function lp(e){"@babel/helpers - typeof";return lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lp(e)}function HD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=-1,s=(r=n==null?void 0:n.length)!==null&&r!==void 0?r:0;if(s<=1)return 0;if(a&&a.axisType==="angleAxis"&&Math.abs(Math.abs(a.range[1]-a.range[0])-360)<=1e-6)for(var u=a.range,l=0;l0?i[l-1].coordinate:i[s-1].coordinate,f=i[l].coordinate,d=l>=s-1?i[0].coordinate:i[l+1].coordinate,p=void 0;if(ki(f-c)!==ki(d-f)){var m=[];if(ki(d-f)===ki(u[1]-u[0])){p=d;var h=f+u[1]-u[0];m[0]=Math.min(h,(h+c)/2),m[1]=Math.max(h,(h+c)/2)}else{p=c;var v=d+u[1]-u[0];m[0]=Math.min(f,(v+f)/2),m[1]=Math.max(f,(v+f)/2)}var y=[Math.min(f,(p+f)/2),Math.max(f,(p+f)/2)];if(t>y[0]&&t<=y[1]||t>=m[0]&&t<=m[1]){o=i[l].index;break}}else{var g=Math.min(c,d),b=Math.max(c,d);if(t>(g+f)/2&&t<=(b+f)/2){o=i[l].index;break}}}else for(var S=0;S0&&S(n[S].coordinate+n[S-1].coordinate)/2&&t<=(n[S].coordinate+n[S+1].coordinate)/2||S===s-1&&t>(n[S].coordinate+n[S-1].coordinate)/2){o=n[S].index;break}return o},r3=function(t){var r=t,n=r.type.displayName,i=t.props,a=i.stroke,o=i.fill,s;switch(n){case"Line":s=a;break;case"Area":case"Radar":s=a&&a!=="none"?a:o;break;default:s=o;break}return s},aRe=function(t){var r=t.barSize,n=t.totalSize,i=t.stackGroups,a=i===void 0?{}:i;if(!a)return{};for(var o={},s=Object.keys(a),u=0,l=s.length;u=0});if(y&&y.length){var g=y[0].props.barSize,b=y[0].props[v];o[b]||(o[b]=[]);var S=We(g)?r:g;o[b].push({item:y[0],stackList:y.slice(1),barSize:We(S)?void 0:cu(S,n,0)})}}return o},oRe=function(t){var r=t.barGap,n=t.barCategoryGap,i=t.bandSize,a=t.sizeList,o=a===void 0?[]:a,s=t.maxBarSize,u=o.length;if(u<1)return null;var l=cu(r,i,0,!0),c,f=[];if(o[0].barSize===+o[0].barSize){var d=!1,p=i/u,m=o.reduce(function(S,x){return S+x.barSize||0},0);m+=(u-1)*l,m>=i&&(m-=(u-1)*l,l=0),m>=i&&p>0&&(d=!0,p*=.9,m=u*p);var h=(i-m)/2>>0,v={offset:h-l,size:0};c=o.reduce(function(S,x){var E={item:x.item,position:{offset:v.offset+v.size+l,size:d?p:x.barSize}},w=[].concat(KD(S),[E]);return v=w[w.length-1].position,x.stackList&&x.stackList.length&&x.stackList.forEach(function(T){w.push({item:T,position:v})}),w},f)}else{var y=cu(n,i,0,!0);i-2*y-(u-1)*l<=0&&(l=0);var g=(i-2*y-(u-1)*l)/u;g>1&&(g>>=0);var b=s===+s?Math.min(g,s):g;c=o.reduce(function(S,x,E){var w=[].concat(KD(S),[{item:x.item,position:{offset:y+(g+l)*E+(g-b)/2,size:b}}]);return x.stackList&&x.stackList.length&&x.stackList.forEach(function(T){w.push({item:T,position:w[w.length-1].position})}),w},f)}return c},sRe=function(t,r,n,i){var a=n.children,o=n.width,s=n.margin,u=o-(s.left||0)-(s.right||0),l=Ej({children:a,legendWidth:u});if(l){var c=i||{},f=c.width,d=c.height,p=l.align,m=l.verticalAlign,h=l.layout;if((h==="vertical"||h==="horizontal"&&m==="middle")&&p!=="center"&&J(t[p]))return Gn(Gn({},t),{},kl({},p,t[p]+(f||0)));if((h==="horizontal"||h==="vertical"&&p==="center")&&m!=="middle"&&J(t[m]))return Gn(Gn({},t),{},kl({},m,t[m]+(d||0)))}return t},uRe=function(t,r,n){return We(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Aj=function(t,r,n,i,a){var o=r.props.children,s=Mi(o,x1).filter(function(l){return uRe(i,a,l.props.direction)});if(s&&s.length){var u=s.map(function(l){return l.props.dataKey});return t.reduce(function(l,c){var f=pa(c,n);if(We(f))return l;var d=Array.isArray(f)?[y1(f),v1(f)]:[f,f],p=u.reduce(function(m,h){var v=pa(c,h,0),y=d[0]-Math.abs(Array.isArray(v)?v[0]:v),g=d[1]+Math.abs(Array.isArray(v)?v[1]:v);return[Math.min(y,m[0]),Math.max(g,m[1])]},[1/0,-1/0]);return[Math.min(p[0],l[0]),Math.max(p[1],l[1])]},[1/0,-1/0])}return null},lRe=function(t,r,n,i,a){var o=r.map(function(s){return Aj(t,s,n,a,i)}).filter(function(s){return!We(s)});return o&&o.length?o.reduce(function(s,u){return[Math.min(s[0],u[0]),Math.max(s[1],u[1])]},[1/0,-1/0]):null},wj=function(t,r,n,i,a){var o=r.map(function(u){var l=u.props.dataKey;return n==="number"&&l&&Aj(t,u,l,i)||id(t,l,n,a)});if(n==="number")return o.reduce(function(u,l){return[Math.min(u[0],l[0]),Math.max(u[1],l[1])]},[1/0,-1/0]);var s={};return o.reduce(function(u,l){for(var c=0,f=l.length;c=2?ki(s[0]-s[1])*2*l:l,r&&(t.ticks||t.niceTicks)){var c=(t.ticks||t.niceTicks).map(function(f){var d=a?a.indexOf(f):f;return{coordinate:i(d)+l,value:f,offset:l}});return c.filter(function(f){return!dh(f.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(f,d){return{coordinate:i(f)+l,value:f,index:d,offset:l}}):i.ticks&&!n?i.ticks(t.tickCount).map(function(f){return{coordinate:i(f)+l,value:f,offset:l}}):i.domain().map(function(f,d){return{coordinate:i(f)+l,value:a?a[f]:f,index:d,offset:l}})},kb=new WeakMap,xm=function(t,r){if(typeof r!="function")return t;kb.has(t)||kb.set(t,new WeakMap);var n=kb.get(t);if(n.has(r))return n.get(r);var i=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,i),i},cRe=function(t,r,n){var i=t.scale,a=t.type,o=t.layout,s=t.axisType;if(i==="auto")return o==="radial"&&s==="radiusAxis"?{scale:rp(),realScaleType:"band"}:o==="radial"&&s==="angleAxis"?{scale:uv(),realScaleType:"linear"}:a==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:nd(),realScaleType:"point"}:a==="category"?{scale:rp(),realScaleType:"band"}:{scale:uv(),realScaleType:"linear"};if(fh(i)){var u="scale".concat(Hy(i));return{scale:(jD[u]||nd)(),realScaleType:jD[u]?u:"point"}}return Re(i)?{scale:i}:{scale:nd(),realScaleType:"point"}},$D=1e-4,fRe=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,i=t.range(),a=Math.min(i[0],i[1])-$D,o=Math.max(i[0],i[1])+$D,s=t(r[0]),u=t(r[n-1]);(so||uo)&&t.domain([r[0],r[n-1]])}},dRe=function(t,r){if(!t)return null;for(var n=0,i=t.length;ni)&&(a[1]=i),a[0]>i&&(a[0]=i),a[1]=0?(t[s][n][0]=a,t[s][n][1]=a+u,a=t[s][n][1]):(t[s][n][0]=o,t[s][n][1]=o+u,o=t[s][n][1])}},mRe=function(t){var r=t.length;if(!(r<=0))for(var n=0,i=t[0].length;n=0?(t[o][n][0]=a,t[o][n][1]=a+s,a=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}},gRe={sign:hRe,expand:KTe,none:Zl,silhouette:$Te,wiggle:YTe,positive:mRe},vRe=function(t,r,n){var i=r.map(function(s){return s.props.dataKey}),a=gRe[n],o=GTe().keys(i).value(function(s,u){return+pa(s,u,0)}).order(cE).offset(a);return o(t)},yRe=function(t,r,n,i,a,o){if(!t)return null;var s=o?r.reverse():r,u={},l=s.reduce(function(f,d){var p=d.props,m=p.stackId,h=p.hide;if(h)return f;var v=d.props[n],y=f[v]||{hasStack:!1,stackGroups:{}};if(Ht(m)){var g=y.stackGroups[m]||{numericAxisId:n,cateAxisId:i,items:[]};g.items.push(d),y.hasStack=!0,y.stackGroups[m]=g}else y.stackGroups[a1("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[d]};return Gn(Gn({},f),{},kl({},v,y))},u),c={};return Object.keys(l).reduce(function(f,d){var p=l[d];if(p.hasStack){var m={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(h,v){var y=p.stackGroups[v];return Gn(Gn({},h),{},kl({},v,{numericAxisId:n,cateAxisId:i,items:y.items,stackedData:vRe(t,y.items,a)}))},m)}return Gn(Gn({},f),{},kl({},d,p))},c)},bRe=function(t,r){var n=r.realScaleType,i=r.type,a=r.tickCount,o=r.originalDomain,s=r.allowDecimals,u=n||r.scale;if(u!=="auto"&&u!=="linear")return null;if(a&&i==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var l=t.domain();if(!l.length)return null;var c=FDe(l,a,s);return t.domain([y1(c),v1(c)]),{niceTicks:c}}if(a&&i==="number"){var f=t.domain(),d=jDe(f,a,s);return{niceTicks:d}}return null},YD=function(t){var r=t.axis,n=t.ticks,i=t.offset,a=t.bandSize,o=t.entry,s=t.index;if(r.type==="category")return n[s]?n[s].coordinate+i:null;var u=pa(o,r.dataKey,r.domain[s]);return We(u)?null:r.scale(u)-a/2+i},SRe=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var i=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return i<=0&&a>=0?0:a<0?a:i}return n[0]},xRe=function(t,r){var n=t.props.stackId;if(Ht(n)){var i=r[n];if(i){var a=i.items.indexOf(t);return a>=0?i.stackedData[a]:null}}return null},ERe=function(t){return t.reduce(function(r,n){return[y1(n.concat([r[0]]).filter(J)),v1(n.concat([r[1]]).filter(J))]},[1/0,-1/0])},Tj=function(t,r,n){return Object.keys(t).reduce(function(i,a){var o=t[a],s=o.stackedData,u=s.reduce(function(l,c){var f=ERe(c.slice(r,n+1));return[Math.min(l[0],f[0]),Math.max(l[1],f[1])]},[1/0,-1/0]);return[Math.min(u[0],i[0]),Math.max(u[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},XD=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ZD=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ME=function(t,r,n){if(Re(t))return t(r,n);if(!Array.isArray(t))return r;var i=[];if(J(t[0]))i[0]=n?t[0]:Math.min(t[0],r[0]);else if(XD.test(t[0])){var a=+XD.exec(t[0])[1];i[0]=r[0]-a}else Re(t[0])?i[0]=t[0](r[0]):i[0]=r[0];if(J(t[1]))i[1]=n?t[1]:Math.max(t[1],r[1]);else if(ZD.test(t[1])){var o=+ZD.exec(t[1])[1];i[1]=r[1]+o}else Re(t[1])?i[1]=t[1](r[1]):i[1]=r[1];return i},hv=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!n||i>0)return i}if(t&&r&&r.length>=2){for(var a=kT(r,function(f){return f.coordinate}),o=1/0,s=1,u=a.length;so&&(l=2*Math.PI-l),{radius:s,angle:TRe(l),angleInRadian:l}},kRe=function(t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),a=Math.floor(n/360),o=Math.min(i,a);return{startAngle:r-o*360,endAngle:n-o*360}},PRe=function(t,r){var n=r.startAngle,i=r.endAngle,a=Math.floor(n/360),o=Math.floor(i/360),s=Math.min(a,o);return t+s*360},tR=function(t,r){var n=t.x,i=t.y,a=_Re({x:n,y:i},r),o=a.radius,s=a.angle,u=r.innerRadius,l=r.outerRadius;if(ol)return!1;if(o===0)return!0;var c=kRe(r),f=c.startAngle,d=c.endAngle,p=s,m;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return m?eR(eR({},r),{},{radius:o,angle:PRe(p,r)}):null};function dp(e){"@babel/helpers - typeof";return dp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dp(e)}var DRe=["offset"];function RRe(e){return IRe(e)||MRe(e)||NRe(e)||LRe()}function LRe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NRe(e,t){if(e){if(typeof e=="string")return IE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return IE(e,t)}}function MRe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IRe(e){if(Array.isArray(e))return IE(e)}function IE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function URe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function rR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;t=0?1:-1,b,S;i==="insideStart"?(b=p+g*o,S=h):i==="insideEnd"?(b=m-g*o,S=!h):i==="end"&&(b=m+g*o,S=h),S=y<=0?S:!S;var x=yr(l,c,v,b),E=yr(l,c,v,b+(S?1:-1)*359),w="M".concat(x.x,",").concat(x.y,` A`).concat(v,",").concat(v,",0,1,").concat(S?0:1,`, `).concat(E.x,",").concat(E.y),T=We(t.id)?a1("recharts-radial-line-"):t.id;return j.createElement("text",pp({},n,{dominantBaseline:"central",className:He("recharts-radial-bar-label",s)}),j.createElement("defs",null,j.createElement("path",{id:T,d:w})),j.createElement("textPath",{xlinkHref:"#".concat(T)},r))},HRe=function(t){var r=t.viewBox,n=t.offset,i=t.position,a=r,o=a.cx,s=a.cy,u=a.innerRadius,l=a.outerRadius,c=a.startAngle,f=a.endAngle,d=(c+f)/2;if(i==="outside"){var p=yr(o,s,l+n,d),m=p.x,h=p.y;return{x:m,y:h,textAnchor:m>=o?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"end"};var v=(u+l)/2,y=yr(o,s,v,d),g=y.x,b=y.y;return{x:g,y:b,textAnchor:"middle",verticalAnchor:"middle"}},GRe=function(t){var r=t.viewBox,n=t.parentViewBox,i=t.offset,a=t.position,o=r,s=o.x,u=o.y,l=o.width,c=o.height,f=c>=0?1:-1,d=f*i,p=f>0?"end":"start",m=f>0?"start":"end",h=l>=0?1:-1,v=h*i,y=h>0?"end":"start",g=h>0?"start":"end";if(a==="top"){var b={x:s+l/2,y:u-f*i,textAnchor:"middle",verticalAnchor:p};return Vt(Vt({},b),n?{height:Math.max(u-n.y,0),width:l}:{})}if(a==="bottom"){var S={x:s+l/2,y:u+c+d,textAnchor:"middle",verticalAnchor:m};return Vt(Vt({},S),n?{height:Math.max(n.y+n.height-(u+c),0),width:l}:{})}if(a==="left"){var x={x:s-v,y:u+c/2,textAnchor:y,verticalAnchor:"middle"};return Vt(Vt({},x),n?{width:Math.max(x.x-n.x,0),height:c}:{})}if(a==="right"){var E={x:s+l+v,y:u+c/2,textAnchor:g,verticalAnchor:"middle"};return Vt(Vt({},E),n?{width:Math.max(n.x+n.width-E.x,0),height:c}:{})}var w=n?{width:l,height:c}:{};return a==="insideLeft"?Vt({x:s+v,y:u+c/2,textAnchor:g,verticalAnchor:"middle"},w):a==="insideRight"?Vt({x:s+l-v,y:u+c/2,textAnchor:y,verticalAnchor:"middle"},w):a==="insideTop"?Vt({x:s+l/2,y:u+d,textAnchor:"middle",verticalAnchor:m},w):a==="insideBottom"?Vt({x:s+l/2,y:u+c-d,textAnchor:"middle",verticalAnchor:p},w):a==="insideTopLeft"?Vt({x:s+v,y:u+d,textAnchor:g,verticalAnchor:m},w):a==="insideTopRight"?Vt({x:s+l-v,y:u+d,textAnchor:y,verticalAnchor:m},w):a==="insideBottomLeft"?Vt({x:s+v,y:u+c-d,textAnchor:g,verticalAnchor:p},w):a==="insideBottomRight"?Vt({x:s+l-v,y:u+c-d,textAnchor:y,verticalAnchor:p},w):xc(a)&&(J(a.x)||Rs(a.x))&&(J(a.y)||Rs(a.y))?Vt({x:s+cu(a.x,l),y:u+cu(a.y,c),textAnchor:"end",verticalAnchor:"end"},w):Vt({x:s+l/2,y:u+c/2,textAnchor:"middle",verticalAnchor:"middle"},w)},KRe=function(t){return"cx"in t&&J(t.cx)};function Dr(e){var t=e.offset,r=t===void 0?5:t,n=BRe(e,DRe),i=Vt({offset:r},n),a=i.viewBox,o=i.position,s=i.value,u=i.children,l=i.content,c=i.className,f=c===void 0?"":c,d=i.textBreakAll;if(!a||We(s)&&We(u)&&!C.isValidElement(l)&&!Re(l))return null;if(C.isValidElement(l))return C.cloneElement(l,i);var p;if(Re(l)){if(p=C.createElement(l,i),C.isValidElement(p))return p}else p=VRe(i);var m=KRe(a),h=qe(i,!0);if(m&&(o==="insideStart"||o==="insideEnd"||o==="end"))return WRe(i,p,h);var v=m?HRe(i):GRe(i);return j.createElement(tv,pp({className:He("recharts-label",f)},h,v,{breakAll:d}),p)}Dr.displayName="Label";var _j=function(t){var r=t.cx,n=t.cy,i=t.angle,a=t.startAngle,o=t.endAngle,s=t.r,u=t.radius,l=t.innerRadius,c=t.outerRadius,f=t.x,d=t.y,p=t.top,m=t.left,h=t.width,v=t.height,y=t.clockWise,g=t.labelViewBox;if(g)return g;if(J(h)&&J(v)){if(J(f)&&J(d))return{x:f,y:d,width:h,height:v};if(J(p)&&J(m))return{x:p,y:m,width:h,height:v}}return J(f)&&J(d)?{x:f,y:d,width:0,height:0}:J(r)&&J(n)?{cx:r,cy:n,startAngle:a||i||0,endAngle:o||i||0,innerRadius:l||0,outerRadius:c||u||s||0,clockWise:y}:t.viewBox?t.viewBox:{}},$Re=function(t,r){return t?t===!0?j.createElement(Dr,{key:"label-implicit",viewBox:r}):Ht(t)?j.createElement(Dr,{key:"label-implicit",viewBox:r,value:t}):C.isValidElement(t)?t.type===Dr?C.cloneElement(t,{key:"label-implicit",viewBox:r}):j.createElement(Dr,{key:"label-implicit",content:t,viewBox:r}):Re(t)?j.createElement(Dr,{key:"label-implicit",content:t,viewBox:r}):xc(t)?j.createElement(Dr,pp({viewBox:r},t,{key:"label-implicit"})):null:null},YRe=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var i=t.children,a=_j(t),o=Mi(i,Dr).map(function(u,l){return C.cloneElement(u,{viewBox:r||a,key:"label-".concat(l)})});if(!n)return o;var s=$Re(t.label,r||a);return[s].concat(RRe(o))};Dr.parseViewBox=_j;Dr.renderCallByParent=YRe;function XRe(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var ZRe=XRe;const QRe=Ge(ZRe);function hp(e){"@babel/helpers - typeof";return hp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hp(e)}var JRe=["valueAccessor"],eLe=["data","dataKey","clockWise","id","textBreakAll"];function tLe(e){return aLe(e)||iLe(e)||nLe(e)||rLe()}function rLe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. @@ -609,11 +609,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(t+n-u*m,",").concat(r+i,` L `).concat(t+u*m,",").concat(r+i,` A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(t,",").concat(r+i-s*m," Z")}else c="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return c},ZNe=function(t,r){if(!t||!r)return!1;var n=t.x,i=t.y,a=r.x,o=r.y,s=r.width,u=r.height;if(Math.abs(s)>0&&Math.abs(u)>0){var l=Math.min(a,a+s),c=Math.max(a,a+s),f=Math.min(o,o+u),d=Math.max(o,o+u);return n>=l&&n<=c&&i>=f&&i<=d}return!1},QNe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},n3=function(t){var r=RR(RR({},QNe),t),n=C.useRef(),i=C.useState(-1),a=qNe(i,2),o=a[0],s=a[1];C.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var S=n.current.getTotalLength();S&&s(S)}catch{}},[]);var u=r.x,l=r.y,c=r.width,f=r.height,d=r.radius,p=r.className,m=r.animationEasing,h=r.animationDuration,v=r.animationBegin,y=r.isAnimationActive,g=r.isUpdateAnimationActive;if(u!==+u||l!==+l||c!==+c||f!==+f||c===0||f===0)return null;var b=He("recharts-rectangle",p);return g?j.createElement(Go,{canBegin:o>0,from:{width:c,height:f,x:u,y:l},to:{width:c,height:f,x:u,y:l},duration:h,animationEasing:m,isActive:g},function(S){var x=S.width,E=S.height,w=S.x,T=S.y;return j.createElement(Go,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:h,isActive:y,easing:m},j.createElement("path",Sv({},qe(r,!0),{className:b,d:LR(w,T,x,E,d),ref:n})))}):j.createElement("path",Sv({},qe(r,!0),{className:b,d:LR(u,l,c,f,d)}))};function YE(){return YE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function aMe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var oMe=function(t,r,n,i,a,o){return"M".concat(t,",").concat(a,"v").concat(i,"M").concat(o,",").concat(r,"h").concat(n)},sMe=function(t){var r=t.x,n=r===void 0?0:r,i=t.y,a=i===void 0?0:i,o=t.top,s=o===void 0?0:o,u=t.left,l=u===void 0?0:u,c=t.width,f=c===void 0?0:c,d=t.height,p=d===void 0?0:d,m=t.className,h=iMe(t,JNe),v=eMe({x:n,y:a,top:s,left:l,width:f,height:p},h);return!J(n)||!J(a)||!J(f)||!J(p)||!J(s)||!J(l)?null:j.createElement("path",XE({},qe(v,!0),{className:He("recharts-cross",m),d:oMe(n,a,f,p,s,l)}))},uMe=VB,lMe=uMe(Object.getPrototypeOf,Object),cMe=lMe,fMe=ro,dMe=cMe,pMe=no,hMe="[object Object]",mMe=Function.prototype,gMe=Object.prototype,jj=mMe.toString,vMe=gMe.hasOwnProperty,yMe=jj.call(Object);function bMe(e){if(!pMe(e)||fMe(e)!=hMe)return!1;var t=dMe(e);if(t===null)return!0;var r=vMe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&jj.call(r)==yMe}var SMe=bMe;const xMe=Ge(SMe);var EMe=ro,AMe=no,wMe="[object Boolean]";function CMe(e){return e===!0||e===!1||AMe(e)&&EMe(e)==wMe}var TMe=CMe;const OMe=Ge(TMe);function xp(e){"@babel/helpers - typeof";return xp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xp(e)}function xv(){return xv=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,from:{upperWidth:0,lowerWidth:0,height:d,x:u,y:l},to:{upperWidth:c,lowerWidth:f,height:d,x:u,y:l},duration:h,animationEasing:m,isActive:y},function(b){var S=b.upperWidth,x=b.lowerWidth,E=b.height,w=b.x,T=b.y;return j.createElement(Go,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:h,easing:m},j.createElement("path",xv({},qe(r,!0),{className:g,d:UR(w,T,S,x,E),ref:n})))}):j.createElement("g",null,j.createElement("path",xv({},qe(r,!0),{className:g,d:UR(u,l,c,f,d)})))},UMe=["option","shapeType","propTransformer","activeClassName","isActive"];function Ep(e){"@babel/helpers - typeof";return Ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ep(e)}function FMe(e,t){if(e==null)return{};var r=jMe(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function jMe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function FR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ev(e){for(var t=1;t0&&n.handleDrag(i.changedTouches[0])}),vn(Hi(n),"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=n.props,a=i.endIndex,o=i.onDragEnd,s=i.startIndex;o==null||o({endIndex:a,startIndex:s})}),n.detachDragEndListener()}),vn(Hi(n),"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),vn(Hi(n),"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),vn(Hi(n),"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),vn(Hi(n),"handleSlideDragStart",function(i){var a=HR(i)?i.changedTouches[0]:i;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:a.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(Hi(n),"startX"),endX:n.handleTravellerDragStart.bind(Hi(n),"endX")},n.state={},n}return v6e(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var i=n.startX,a=n.endX,o=this.state.scaleValues,s=this.props,u=s.gap,l=s.data,c=l.length-1,f=Math.min(i,a),d=Math.max(i,a),p=t.getIndexInRange(o,f),m=t.getIndexInRange(o,d);return{startIndex:p-p%u,endIndex:m===c?c:m-m%u}}},{key:"getTextOfTick",value:function(n){var i=this.props,a=i.data,o=i.tickFormatter,s=i.dataKey,u=pa(a[n],s,n);return Re(o)?o(u,n):u}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(n){var i=this.state,a=i.slideMoveStartX,o=i.startX,s=i.endX,u=this.props,l=u.x,c=u.width,f=u.travellerWidth,d=u.startIndex,p=u.endIndex,m=u.onChange,h=n.pageX-a;h>0?h=Math.min(h,l+c-f-s,l+c-f-o):h<0&&(h=Math.max(h,l-o,l-s));var v=this.getIndex({startX:o+h,endX:s+h});(v.startIndex!==d||v.endIndex!==p)&&m&&m(v),this.setState({startX:o+h,endX:s+h,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var a=HR(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:a.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var i=this.state,a=i.brushMoveStartX,o=i.movingTravellerId,s=i.endX,u=i.startX,l=this.state[o],c=this.props,f=c.x,d=c.width,p=c.travellerWidth,m=c.onChange,h=c.gap,v=c.data,y={startX:this.state.startX,endX:this.state.endX},g=n.pageX-a;g>0?g=Math.min(g,f+d-p-l):g<0&&(g=Math.max(g,f-l)),y[o]=l+g;var b=this.getIndex(y),S=b.startIndex,x=b.endIndex,E=function(){var T=v.length-1;return o==="startX"&&(s>u?S%h===0:x%h===0)||su?x%h===0:S%h===0)||s>u&&x===T};this.setState(vn(vn({},o,l+g),"brushMoveStartX",n.pageX),function(){m&&E()&&m(b)})}},{key:"handleTravellerMoveKeyboard",value:function(n,i){var a=this,o=this.state,s=o.scaleValues,u=o.startX,l=o.endX,c=this.state[i],f=s.indexOf(c);if(f!==-1){var d=f+n;if(!(d===-1||d>=s.length)){var p=s[d];i==="startX"&&p>=l||i==="endX"&&p<=u||this.setState(vn({},i,p),function(){a.props.onChange(a.getIndex({startX:a.state.startX,endX:a.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,s=n.height,u=n.fill,l=n.stroke;return j.createElement("rect",{stroke:l,fill:u,x:i,y:a,width:o,height:s})}},{key:"renderPanorama",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,s=n.height,u=n.data,l=n.children,c=n.padding,f=C.Children.only(l);return f?j.cloneElement(f,{x:i,y:a,width:o,height:s,margin:c,compact:!0,data:u}):null}},{key:"renderTravellerLayer",value:function(n,i){var a,o,s=this,u=this.props,l=u.y,c=u.travellerWidth,f=u.height,d=u.traveller,p=u.ariaLabel,m=u.data,h=u.startIndex,v=u.endIndex,y=Math.max(n,this.props.x),g=Rb(Rb({},qe(this.props,!1)),{},{x:y,y:l,width:c,height:f}),b=p||"Min value: ".concat((a=m[h])===null||a===void 0?void 0:a.name,", Max value: ").concat((o=m[v])===null||o===void 0?void 0:o.name);return j.createElement(nr,{tabIndex:0,role:"slider","aria-label":b,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(x){["ArrowLeft","ArrowRight"].includes(x.key)&&(x.preventDefault(),x.stopPropagation(),s.handleTravellerMoveKeyboard(x.key==="ArrowRight"?1:-1,i))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,g))}},{key:"renderSlide",value:function(n,i){var a=this.props,o=a.y,s=a.height,u=a.stroke,l=a.travellerWidth,c=Math.min(n,i)+l,f=Math.max(Math.abs(i-n)-l,0);return j.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:u,fillOpacity:.2,x:c,y:o,width:f,height:s})}},{key:"renderText",value:function(){var n=this.props,i=n.startIndex,a=n.endIndex,o=n.y,s=n.height,u=n.travellerWidth,l=n.stroke,c=this.state,f=c.startX,d=c.endX,p=5,m={pointerEvents:"none",fill:l};return j.createElement(nr,{className:"recharts-brush-texts"},j.createElement(tv,wv({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-p,y:o+s/2},m),this.getTextOfTick(i)),j.createElement(tv,wv({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+u+p,y:o+s/2},m),this.getTextOfTick(a)))}},{key:"render",value:function(){var n=this.props,i=n.data,a=n.className,o=n.children,s=n.x,u=n.y,l=n.width,c=n.height,f=n.alwaysShowText,d=this.state,p=d.startX,m=d.endX,h=d.isTextActive,v=d.isSlideMoving,y=d.isTravellerMoving,g=d.isTravellerFocused;if(!i||!i.length||!J(s)||!J(u)||!J(l)||!J(c)||l<=0||c<=0)return null;var b=He("recharts-brush",a),S=j.Children.count(o)===1,x=m6e("userSelect","none");return j.createElement(nr,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),S&&this.renderPanorama(),this.renderSlide(p,m),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(m,"endX"),(h||v||y||g||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var i=n.x,a=n.y,o=n.width,s=n.height,u=n.stroke,l=Math.floor(a+s/2)-1;return j.createElement(j.Fragment,null,j.createElement("rect",{x:i,y:a,width:o,height:s,fill:u,stroke:"none"}),j.createElement("line",{x1:i+1,y1:l,x2:i+o-1,y2:l,fill:"none",stroke:"#fff"}),j.createElement("line",{x1:i+1,y1:l+2,x2:i+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,i){var a;return j.isValidElement(n)?a=j.cloneElement(n,i):Re(n)?a=n(i):a=t.renderDefaultTraveller(i),a}},{key:"getDerivedStateFromProps",value:function(n,i){var a=n.data,o=n.width,s=n.x,u=n.travellerWidth,l=n.updateId,c=n.startIndex,f=n.endIndex;if(a!==i.prevData||l!==i.prevUpdateId)return Rb({prevData:a,prevTravellerWidth:u,prevUpdateId:l,prevX:s,prevWidth:o},a&&a.length?E6e({data:a,width:o,x:s,travellerWidth:u,startIndex:c,endIndex:f}):{scale:null,scaleValues:null});if(i.scale&&(o!==i.prevWidth||s!==i.prevX||u!==i.prevTravellerWidth)){i.scale.range([s,s+o-u]);var d=i.scale.domain().map(function(p){return i.scale(p)});return{prevData:a,prevTravellerWidth:u,prevUpdateId:l,prevX:s,prevWidth:o,startX:i.scale(n.startIndex),endX:i.scale(n.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(n,i){for(var a=n.length,o=0,s=a-1;s-o>1;){var u=Math.floor((o+s)/2);n[u]>i?s=u:o=u}return i>=n[s]?s:o}}]),t}(C.PureComponent);vn(sc,"displayName","Brush");vn(sc,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var A6e=_T;function w6e(e,t){var r;return A6e(e,function(n,i,a){return r=t(n,i,a),!r}),!!r}var C6e=w6e,T6e=NB,O6e=rs,_6e=C6e,k6e=mn,P6e=c1;function D6e(e,t,r){var n=k6e(e)?T6e:_6e;return r&&P6e(e,t,r)&&(t=void 0),n(e,O6e(t))}var R6e=D6e;const L6e=Ge(R6e);var sa=function(t,r){var n=t.alwaysShow,i=t.ifOverflow;return n&&(i="extendDomain"),i===r},GR=bF;function N6e(e,t,r){t=="__proto__"&&GR?GR(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var M6e=N6e,I6e=M6e,B6e=vF,U6e=rs;function F6e(e,t){var r={};return t=U6e(t),B6e(e,function(n,i,a){I6e(r,i,t(n,i,a))}),r}var j6e=F6e;const z6e=Ge(j6e);function V6e(e,t){for(var r=-1,n=e==null?0:e.length;++r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function o8e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function s8e(e,t){var r=e.x,n=e.y,i=a8e(e,t8e),a="".concat(r),o=parseInt(a,10),s="".concat(n),u=parseInt(s,10),l="".concat(t.height||i.height),c=parseInt(l,10),f="".concat(t.width||i.width),d=parseInt(f,10);return cf(cf(cf(cf(cf({},t),i),o?{x:o}:{}),u?{y:u}:{}),{},{height:c,width:d,name:t.name,radius:t.radius})}function $R(e){return j.createElement(KMe,QE({shapeType:"rectangle",propTransformer:s8e,activeClassName:"recharts-active-bar"},e))}var u8e=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,i){if(typeof t=="number")return t;var a=typeof n=="number";return a?t(n,i):(a||Qs(),r)}},l8e=["value","background"],Wj;function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}function c8e(e,t){if(e==null)return{};var r=f8e(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f8e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Tv(){return Tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&Math.abs(F)0&&Math.abs(I)0&&(I=Math.min((ie||0)-(F[fe-1]||0),I))}),Number.isFinite(I)){var V=I/B,U=h.layout==="vertical"?n.height:n.width;if(h.padding==="gap"&&(w=V*U/2),h.padding==="no-gap"){var M=cu(t.barCategoryGap,V*U),L=V*U/2;w=L-M-(L-M)/U*M}}}i==="xAxis"?T=[n.left+(b.left||0)+(w||0),n.left+n.width-(b.right||0)-(w||0)]:i==="yAxis"?T=u==="horizontal"?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(w||0),n.top+n.height-(b.bottom||0)-(w||0)]:T=h.range,x&&(T=[T[1],T[0]]);var N=cRe(h,a,d),W=N.scale,G=N.realScaleType;W.domain(y).range(T),fRe(W);var K=bRe(W,Si(Si({},h),{},{realScaleType:G}));i==="xAxis"?(P=v==="top"&&!S||v==="bottom"&&S,k=n.left,O=f[E]-P*h.height):i==="yAxis"&&(P=v==="left"&&!S||v==="right"&&S,k=f[E]-P*h.width,O=n.top);var X=Si(Si(Si({},h),K),{},{realScaleType:G,x:k,y:O,scale:W,width:i==="xAxis"?n.width:h.width,height:i==="yAxis"?n.height:h.height});return X.bandSize=hv(X,K),!h.hide&&i==="xAxis"?f[E]+=(P?-1:1)*X.height:h.hide||(f[E]+=(P?-1:1)*X.width),Si(Si({},p),{},w1({},m,X))},{})},$j=function(t,r){var n=t.x,i=t.y,a=r.x,o=r.y;return{x:Math.min(n,a),y:Math.min(i,o),width:Math.abs(a-n),height:Math.abs(o-i)}},E8e=function(t){var r=t.x1,n=t.y1,i=t.x2,a=t.y2;return $j({x:r,y:n},{x:i,y:a})},Yj=function(){function e(t){y8e(this,e),this.scale=t}return b8e(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.bandAware,a=n.position;if(r!==void 0){if(a)switch(a){case"start":return this.scale(r);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(r)+s}default:return this.scale(r)}if(i){var u=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+u}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),i=n[0],a=n[n.length-1];return i<=a?r>=i&&r<=a:r>=a&&r<=i}}],[{key:"create",value:function(r){return new e(r)}}]),e}();w1(Yj,"EPS",1e-4);var i3=function(t){var r=Object.keys(t).reduce(function(n,i){return Si(Si({},n),{},w1({},i,Yj.create(t[i])))},{});return Si(Si({},r),{},{apply:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.bandAware,s=a.position;return z6e(i,function(u,l){return r[l].apply(u,{bandAware:o,position:s})})},isInRange:function(i){return e8e(i,function(a,o){return r[o].isInRange(a)})}})};function A8e(e){return(e%180+180)%180}var w8e=function(t){var r=t.width,n=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=A8e(i),o=a*Math.PI/180,s=Math.atan(n/r),u=o>s&&oe.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,from:{upperWidth:0,lowerWidth:0,height:d,x:u,y:l},to:{upperWidth:c,lowerWidth:f,height:d,x:u,y:l},duration:h,animationEasing:m,isActive:y},function(b){var S=b.upperWidth,x=b.lowerWidth,E=b.height,w=b.x,T=b.y;return j.createElement(Go,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:h,easing:m},j.createElement("path",xv({},qe(r,!0),{className:g,d:UR(w,T,S,x,E),ref:n})))}):j.createElement("g",null,j.createElement("path",xv({},qe(r,!0),{className:g,d:UR(u,l,c,f,d)})))},UMe=["option","shapeType","propTransformer","activeClassName","isActive"];function Ep(e){"@babel/helpers - typeof";return Ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ep(e)}function FMe(e,t){if(e==null)return{};var r=jMe(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function jMe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function FR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ev(e){for(var t=1;t0&&n.handleDrag(i.changedTouches[0])}),vn(Hi(n),"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=n.props,a=i.endIndex,o=i.onDragEnd,s=i.startIndex;o==null||o({endIndex:a,startIndex:s})}),n.detachDragEndListener()}),vn(Hi(n),"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),vn(Hi(n),"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),vn(Hi(n),"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),vn(Hi(n),"handleSlideDragStart",function(i){var a=HR(i)?i.changedTouches[0]:i;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:a.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(Hi(n),"startX"),endX:n.handleTravellerDragStart.bind(Hi(n),"endX")},n.state={},n}return v6e(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var i=n.startX,a=n.endX,o=this.state.scaleValues,s=this.props,u=s.gap,l=s.data,c=l.length-1,f=Math.min(i,a),d=Math.max(i,a),p=t.getIndexInRange(o,f),m=t.getIndexInRange(o,d);return{startIndex:p-p%u,endIndex:m===c?c:m-m%u}}},{key:"getTextOfTick",value:function(n){var i=this.props,a=i.data,o=i.tickFormatter,s=i.dataKey,u=pa(a[n],s,n);return Re(o)?o(u,n):u}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(n){var i=this.state,a=i.slideMoveStartX,o=i.startX,s=i.endX,u=this.props,l=u.x,c=u.width,f=u.travellerWidth,d=u.startIndex,p=u.endIndex,m=u.onChange,h=n.pageX-a;h>0?h=Math.min(h,l+c-f-s,l+c-f-o):h<0&&(h=Math.max(h,l-o,l-s));var v=this.getIndex({startX:o+h,endX:s+h});(v.startIndex!==d||v.endIndex!==p)&&m&&m(v),this.setState({startX:o+h,endX:s+h,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var a=HR(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:a.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var i=this.state,a=i.brushMoveStartX,o=i.movingTravellerId,s=i.endX,u=i.startX,l=this.state[o],c=this.props,f=c.x,d=c.width,p=c.travellerWidth,m=c.onChange,h=c.gap,v=c.data,y={startX:this.state.startX,endX:this.state.endX},g=n.pageX-a;g>0?g=Math.min(g,f+d-p-l):g<0&&(g=Math.max(g,f-l)),y[o]=l+g;var b=this.getIndex(y),S=b.startIndex,x=b.endIndex,E=function(){var T=v.length-1;return o==="startX"&&(s>u?S%h===0:x%h===0)||su?x%h===0:S%h===0)||s>u&&x===T};this.setState(vn(vn({},o,l+g),"brushMoveStartX",n.pageX),function(){m&&E()&&m(b)})}},{key:"handleTravellerMoveKeyboard",value:function(n,i){var a=this,o=this.state,s=o.scaleValues,u=o.startX,l=o.endX,c=this.state[i],f=s.indexOf(c);if(f!==-1){var d=f+n;if(!(d===-1||d>=s.length)){var p=s[d];i==="startX"&&p>=l||i==="endX"&&p<=u||this.setState(vn({},i,p),function(){a.props.onChange(a.getIndex({startX:a.state.startX,endX:a.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,s=n.height,u=n.fill,l=n.stroke;return j.createElement("rect",{stroke:l,fill:u,x:i,y:a,width:o,height:s})}},{key:"renderPanorama",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,s=n.height,u=n.data,l=n.children,c=n.padding,f=C.Children.only(l);return f?j.cloneElement(f,{x:i,y:a,width:o,height:s,margin:c,compact:!0,data:u}):null}},{key:"renderTravellerLayer",value:function(n,i){var a,o,s=this,u=this.props,l=u.y,c=u.travellerWidth,f=u.height,d=u.traveller,p=u.ariaLabel,m=u.data,h=u.startIndex,v=u.endIndex,y=Math.max(n,this.props.x),g=Rb(Rb({},qe(this.props,!1)),{},{x:y,y:l,width:c,height:f}),b=p||"Min value: ".concat((a=m[h])===null||a===void 0?void 0:a.name,", Max value: ").concat((o=m[v])===null||o===void 0?void 0:o.name);return j.createElement(nr,{tabIndex:0,role:"slider","aria-label":b,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(x){["ArrowLeft","ArrowRight"].includes(x.key)&&(x.preventDefault(),x.stopPropagation(),s.handleTravellerMoveKeyboard(x.key==="ArrowRight"?1:-1,i))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,g))}},{key:"renderSlide",value:function(n,i){var a=this.props,o=a.y,s=a.height,u=a.stroke,l=a.travellerWidth,c=Math.min(n,i)+l,f=Math.max(Math.abs(i-n)-l,0);return j.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:u,fillOpacity:.2,x:c,y:o,width:f,height:s})}},{key:"renderText",value:function(){var n=this.props,i=n.startIndex,a=n.endIndex,o=n.y,s=n.height,u=n.travellerWidth,l=n.stroke,c=this.state,f=c.startX,d=c.endX,p=5,m={pointerEvents:"none",fill:l};return j.createElement(nr,{className:"recharts-brush-texts"},j.createElement(tv,wv({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-p,y:o+s/2},m),this.getTextOfTick(i)),j.createElement(tv,wv({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+u+p,y:o+s/2},m),this.getTextOfTick(a)))}},{key:"render",value:function(){var n=this.props,i=n.data,a=n.className,o=n.children,s=n.x,u=n.y,l=n.width,c=n.height,f=n.alwaysShowText,d=this.state,p=d.startX,m=d.endX,h=d.isTextActive,v=d.isSlideMoving,y=d.isTravellerMoving,g=d.isTravellerFocused;if(!i||!i.length||!J(s)||!J(u)||!J(l)||!J(c)||l<=0||c<=0)return null;var b=He("recharts-brush",a),S=j.Children.count(o)===1,x=m6e("userSelect","none");return j.createElement(nr,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),S&&this.renderPanorama(),this.renderSlide(p,m),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(m,"endX"),(h||v||y||g||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var i=n.x,a=n.y,o=n.width,s=n.height,u=n.stroke,l=Math.floor(a+s/2)-1;return j.createElement(j.Fragment,null,j.createElement("rect",{x:i,y:a,width:o,height:s,fill:u,stroke:"none"}),j.createElement("line",{x1:i+1,y1:l,x2:i+o-1,y2:l,fill:"none",stroke:"#fff"}),j.createElement("line",{x1:i+1,y1:l+2,x2:i+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,i){var a;return j.isValidElement(n)?a=j.cloneElement(n,i):Re(n)?a=n(i):a=t.renderDefaultTraveller(i),a}},{key:"getDerivedStateFromProps",value:function(n,i){var a=n.data,o=n.width,s=n.x,u=n.travellerWidth,l=n.updateId,c=n.startIndex,f=n.endIndex;if(a!==i.prevData||l!==i.prevUpdateId)return Rb({prevData:a,prevTravellerWidth:u,prevUpdateId:l,prevX:s,prevWidth:o},a&&a.length?E6e({data:a,width:o,x:s,travellerWidth:u,startIndex:c,endIndex:f}):{scale:null,scaleValues:null});if(i.scale&&(o!==i.prevWidth||s!==i.prevX||u!==i.prevTravellerWidth)){i.scale.range([s,s+o-u]);var d=i.scale.domain().map(function(p){return i.scale(p)});return{prevData:a,prevTravellerWidth:u,prevUpdateId:l,prevX:s,prevWidth:o,startX:i.scale(n.startIndex),endX:i.scale(n.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(n,i){for(var a=n.length,o=0,s=a-1;s-o>1;){var u=Math.floor((o+s)/2);n[u]>i?s=u:o=u}return i>=n[s]?s:o}}]),t}(C.PureComponent);vn(sc,"displayName","Brush");vn(sc,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var A6e=_T;function w6e(e,t){var r;return A6e(e,function(n,i,a){return r=t(n,i,a),!r}),!!r}var C6e=w6e,T6e=NB,O6e=rs,_6e=C6e,k6e=mn,P6e=c1;function D6e(e,t,r){var n=k6e(e)?T6e:_6e;return r&&P6e(e,t,r)&&(t=void 0),n(e,O6e(t))}var R6e=D6e;const L6e=Ge(R6e);var sa=function(t,r){var n=t.alwaysShow,i=t.ifOverflow;return n&&(i="extendDomain"),i===r},GR=bF;function N6e(e,t,r){t=="__proto__"&&GR?GR(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var M6e=N6e,I6e=M6e,B6e=vF,U6e=rs;function F6e(e,t){var r={};return t=U6e(t),B6e(e,function(n,i,a){I6e(r,i,t(n,i,a))}),r}var j6e=F6e;const z6e=Ge(j6e);function V6e(e,t){for(var r=-1,n=e==null?0:e.length;++r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function o8e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function s8e(e,t){var r=e.x,n=e.y,i=a8e(e,t8e),a="".concat(r),o=parseInt(a,10),s="".concat(n),u=parseInt(s,10),l="".concat(t.height||i.height),c=parseInt(l,10),f="".concat(t.width||i.width),d=parseInt(f,10);return cf(cf(cf(cf(cf({},t),i),o?{x:o}:{}),u?{y:u}:{}),{},{height:c,width:d,name:t.name,radius:t.radius})}function $R(e){return j.createElement(KMe,QE({shapeType:"rectangle",propTransformer:s8e,activeClassName:"recharts-active-bar"},e))}var u8e=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,i){if(typeof t=="number")return t;var a=typeof n=="number";return a?t(n,i):(a||Qs(),r)}},l8e=["value","background"],Wj;function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}function c8e(e,t){if(e==null)return{};var r=f8e(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f8e(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function Tv(){return Tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&Math.abs(F)0&&Math.abs(I)0&&(I=Math.min((ie||0)-(F[fe-1]||0),I))}),Number.isFinite(I)){var V=I/B,U=h.layout==="vertical"?n.height:n.width;if(h.padding==="gap"&&(w=V*U/2),h.padding==="no-gap"){var M=cu(t.barCategoryGap,V*U),L=V*U/2;w=L-M-(L-M)/U*M}}}i==="xAxis"?T=[n.left+(b.left||0)+(w||0),n.left+n.width-(b.right||0)-(w||0)]:i==="yAxis"?T=u==="horizontal"?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(w||0),n.top+n.height-(b.bottom||0)-(w||0)]:T=h.range,x&&(T=[T[1],T[0]]);var N=cRe(h,a,d),W=N.scale,G=N.realScaleType;W.domain(y).range(T),fRe(W);var K=bRe(W,Si(Si({},h),{},{realScaleType:G}));i==="xAxis"?(P=v==="top"&&!S||v==="bottom"&&S,k=n.left,O=f[E]-P*h.height):i==="yAxis"&&(P=v==="left"&&!S||v==="right"&&S,k=f[E]-P*h.width,O=n.top);var X=Si(Si(Si({},h),K),{},{realScaleType:G,x:k,y:O,scale:W,width:i==="xAxis"?n.width:h.width,height:i==="yAxis"?n.height:h.height});return X.bandSize=hv(X,K),!h.hide&&i==="xAxis"?f[E]+=(P?-1:1)*X.height:h.hide||(f[E]+=(P?-1:1)*X.width),Si(Si({},p),{},w1({},m,X))},{})},$j=function(t,r){var n=t.x,i=t.y,a=r.x,o=r.y;return{x:Math.min(n,a),y:Math.min(i,o),width:Math.abs(a-n),height:Math.abs(o-i)}},E8e=function(t){var r=t.x1,n=t.y1,i=t.x2,a=t.y2;return $j({x:r,y:n},{x:i,y:a})},Yj=function(){function e(t){y8e(this,e),this.scale=t}return b8e(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.bandAware,a=n.position;if(r!==void 0){if(a)switch(a){case"start":return this.scale(r);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(r)+s}default:return this.scale(r)}if(i){var u=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+u}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),i=n[0],a=n[n.length-1];return i<=a?r>=i&&r<=a:r>=a&&r<=i}}],[{key:"create",value:function(r){return new e(r)}}]),e}();w1(Yj,"EPS",1e-4);var i3=function(t){var r=Object.keys(t).reduce(function(n,i){return Si(Si({},n),{},w1({},i,Yj.create(t[i])))},{});return Si(Si({},r),{},{apply:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.bandAware,s=a.position;return z6e(i,function(u,l){return r[l].apply(u,{bandAware:o,position:s})})},isInRange:function(i){return e8e(i,function(a,o){return r[o].isInRange(a)})}})};function A8e(e){return(e%180+180)%180}var w8e=function(t){var r=t.width,n=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=A8e(i),o=a*Math.PI/180,s=Math.atan(n/r),u=o>s&&oe.length)&&(t=e.length);for(var r=0,n=new Array(t);re*i)return!1;var a=r();return e*(t-e*a/2-n)>=0&&e*(t+e*a/2-i)<=0}function Y8e(e,t){return oz(e,t+1)}function X8e(e,t,r,n,i){for(var a=(n||[]).slice(),o=t.start,s=t.end,u=0,l=1,c=o,f=function(){var m=n==null?void 0:n[u];if(m===void 0)return{v:oz(n,l)};var h=u,v,y=function(){return v===void 0&&(v=r(m,h)),v},g=m.coordinate,b=u===0||_v(e,g,y,c,s);b||(u=0,c=o,l+=1),b&&(c=g+e*(y()/2+i),u+=l)},d;l<=a.length;)if(d=f(),d)return d.v;return[]}function Pp(e){"@babel/helpers - typeof";return Pp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pp(e)}function sL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _r(e){for(var t=1;t0?p.coordinate-v*e:p.coordinate})}else a[d]=p=_r(_r({},p),{},{tickCoord:p.coordinate});var y=_v(e,p.tickCoord,h,s,u);y&&(u=p.tickCoord-e*(h()/2+i),a[d]=_r(_r({},p),{},{isShow:!0}))},c=o-1;c>=0;c--)l(c);return a}function tIe(e,t,r,n,i,a){var o=(n||[]).slice(),s=o.length,u=t.start,l=t.end;if(a){var c=n[s-1],f=r(c,s-1),d=e*(c.coordinate+e*f/2-l);o[s-1]=c=_r(_r({},c),{},{tickCoord:d>0?c.coordinate-d*e:c.coordinate});var p=_v(e,c.tickCoord,function(){return f},u,l);p&&(l=c.tickCoord-e*(f/2+i),o[s-1]=_r(_r({},c),{},{isShow:!0}))}for(var m=a?s-1:s,h=function(g){var b=o[g],S,x=function(){return S===void 0&&(S=r(b,g)),S};if(g===0){var E=e*(b.coordinate-e*x()/2-u);o[g]=b=_r(_r({},b),{},{tickCoord:E<0?b.coordinate-E*e:b.coordinate})}else o[g]=b=_r(_r({},b),{},{tickCoord:b.coordinate});var w=_v(e,b.tickCoord,x,u,l);w&&(u=b.tickCoord+e*(x()/2+i),o[g]=_r(_r({},b),{},{isShow:!0}))},v=0;v=2?ki(i[1].coordinate-i[0].coordinate):1,y=$8e(a,v,p);return u==="equidistantPreserveStart"?X8e(v,y,h,i,o):(u==="preserveStart"||u==="preserveStartEnd"?d=tIe(v,y,h,i,o,u==="preserveStartEnd"):d=eIe(v,y,h,i,o),d.filter(function(g){return g.isShow}))}var nIe=["viewBox"],iIe=["viewBox"],aIe=["ticks"];function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lc(e)}function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function oIe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function sIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lL(e,t){for(var r=0;r0?u(this.props):u(p)),o<=0||s<=0||!m||!m.length?null:j.createElement(nr,{className:He("recharts-cartesian-axis",l),ref:function(v){n.layerReference=v}},a&&this.renderAxisLine(),this.renderTicks(m,this.state.fontSize,this.state.letterSpacing),Dr.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,i,a){var o;return j.isValidElement(n)?o=j.cloneElement(n,i):Re(n)?o=n(i):o=j.createElement(tv,pl({},i,{className:"recharts-cartesian-axis-tick-value"}),a),o}}]),t}(C.Component);o3(C1,"displayName","CartesianAxis");o3(C1,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});function iA(){return iA=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function BIe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function UIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FIe(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?o:t&&t.length&&J(i)&&J(a)?t.slice(i,a+1):[]};function gz(e){return e==="number"?[0,"auto"]:void 0}var cA=function(t,r,n,i){var a=t.graphicalItems,o=t.tooltipAxis,s=_1(r,t);return n<0||!a||!a.length||n>=s.length?null:a.reduce(function(u,l){var c,f=(c=l.props.data)!==null&&c!==void 0?c:r;f&&t.dataStartIndex+t.dataEndIndex!==0&&(f=f.slice(t.dataStartIndex,t.dataEndIndex+1));var d;if(o.dataKey&&!o.allowDuplicatedCategory){var p=f===void 0?s:f;d=tE(p,o.dataKey,i)}else d=f&&f[n]||s[n];return d?[].concat(fc(u),[Oj(l,d)]):u},[])},mL=function(t,r,n,i){var a=i||{x:t.chartX,y:t.chartY},o=XIe(a,n),s=t.orderedTooltipTicks,u=t.tooltipAxis,l=t.tooltipTicks,c=iRe(o,s,l,u);if(c>=0&&l){var f=l[c]&&l[c].value,d=cA(t,r,c,f),p=ZIe(n,s,c,a);return{activeTooltipIndex:c,activeLabel:f,activePayload:d,activeCoordinate:p}}return null},QIe=function(t,r){var n=r.axes,i=r.graphicalItems,a=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.layout,f=t.children,d=t.stackOffset,p=Cj(c,a);return n.reduce(function(m,h){var v,y=h.props,g=y.type,b=y.dataKey,S=y.allowDataOverflow,x=y.allowDuplicatedCategory,E=y.scale,w=y.ticks,T=y.includeHidden,k=h.props[o];if(m[k])return m;var O=_1(t.data,{graphicalItems:i.filter(function(K){return K.props[o]===k}),dataStartIndex:u,dataEndIndex:l}),P=O.length,B,I,F;CIe(h.props.domain,S,g)&&(B=ME(h.props.domain,null,S),p&&(g==="number"||E!=="auto")&&(F=id(O,b,"category")));var V=gz(g);if(!B||B.length===0){var U,M=(U=h.props.domain)!==null&&U!==void 0?U:V;if(b){if(B=id(O,b,g),g==="category"&&p){var L=JCe(B);x&&L?(I=B,B=Av(0,P)):x||(B=Q4(M,B,h).reduce(function(K,X){return K.indexOf(X)>=0?K:[].concat(fc(K),[X])},[]))}else if(g==="category")x?B=B.filter(function(K){return K!==""&&!We(K)}):B=Q4(M,B,h).reduce(function(K,X){return K.indexOf(X)>=0||X===""||We(X)?K:[].concat(fc(K),[X])},[]);else if(g==="number"){var N=lRe(O,i.filter(function(K){return K.props[o]===k&&(T||!K.props.hide)}),b,a,c);N&&(B=N)}p&&(g==="number"||E!=="auto")&&(F=id(O,b,"category"))}else p?B=Av(0,P):s&&s[k]&&s[k].hasStack&&g==="number"?B=d==="expand"?[0,1]:Tj(s[k].stackGroups,u,l):B=wj(O,i.filter(function(K){return K.props[o]===k&&(T||!K.props.hide)}),g,c,!0);if(g==="number")B=sA(f,B,k,a,w),M&&(B=ME(M,B,S));else if(g==="category"&&M){var W=M,G=B.every(function(K){return W.indexOf(K)>=0});G&&(B=W)}}return H(H({},m),{},ye({},k,H(H({},h.props),{},{axisType:a,domain:B,categoricalDomain:F,duplicateDomain:I,originalDomain:(v=h.props.domain)!==null&&v!==void 0?v:V,isCategorical:p,layout:c})))},{})},JIe=function(t,r){var n=r.graphicalItems,i=r.Axis,a=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.layout,f=t.children,d=_1(t.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:l}),p=d.length,m=Cj(c,a),h=-1;return n.reduce(function(v,y){var g=y.props[o],b=gz("number");if(!v[g]){h++;var S;return m?S=Av(0,p):s&&s[g]&&s[g].hasStack?(S=Tj(s[g].stackGroups,u,l),S=sA(f,S,g,a)):(S=ME(b,wj(d,n.filter(function(x){return x.props[o]===g&&!x.props.hide}),"number",c),i.defaultProps.allowDataOverflow),S=sA(f,S,g,a)),H(H({},v),{},ye({},g,H(H({axisType:a},i.defaultProps),{},{hide:!0,orientation:Jn($Ie,"".concat(a,".").concat(h%2),null),domain:S,originalDomain:b,isCategorical:m,layout:c})))}return v},{})},e7e=function(t,r){var n=r.axisType,i=n===void 0?"xAxis":n,a=r.AxisComp,o=r.graphicalItems,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.children,f="".concat(i,"Id"),d=Mi(c,a),p={};return d&&d.length?p=QIe(t,{axes:d,graphicalItems:o,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:u,dataEndIndex:l}):o&&o.length&&(p=JIe(t,{Axis:a,graphicalItems:o,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:u,dataEndIndex:l})),p},t7e=function(t){var r=Vu(t),n=Ms(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:kT(n,function(i){return i.coordinate}),tooltipAxis:r,tooltipAxisBandSize:hv(r,n)}},gL=function(t){var r=t.children,n=t.defaultShowTooltip,i=bn(r,sc),a=0,o=0;return t.data&&t.data.length!==0&&(o=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(a=i.props.startIndex),i.props.endIndex>=0&&(o=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:a,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},r7e=function(t){return!t||!t.length?!1:t.some(function(r){var n=Fa(r&&r.type);return n&&n.indexOf("Bar")>=0})},vL=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},n7e=function(t,r){var n=t.props,i=t.graphicalItems,a=t.xAxisMap,o=a===void 0?{}:a,s=t.yAxisMap,u=s===void 0?{}:s,l=n.width,c=n.height,f=n.children,d=n.margin||{},p=bn(f,sc),m=bn(f,Xd),h=Object.keys(u).reduce(function(x,E){var w=u[E],T=w.orientation;return!w.mirror&&!w.hide?H(H({},x),{},ye({},T,x[T]+w.width)):x},{left:d.left||0,right:d.right||0}),v=Object.keys(o).reduce(function(x,E){var w=o[E],T=w.orientation;return!w.mirror&&!w.hide?H(H({},x),{},ye({},T,Jn(x,"".concat(T))+w.height)):x},{top:d.top||0,bottom:d.bottom||0}),y=H(H({},v),h),g=y.bottom;p&&(y.bottom+=p.props.height||sc.defaultProps.height),m&&r&&(y=sRe(y,i,n,r));var b=l-y.left-y.right,S=c-y.top-y.bottom;return H(H({brushBottom:g},y),{},{width:Math.max(b,0),height:Math.max(S,0)})},i7e=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},a7e=function(t){var r,n=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,o=a===void 0?"axis":a,s=t.validateTooltipEventTypes,u=s===void 0?["axis"]:s,l=t.axisComponents,c=t.legendContent,f=t.formatAxisMap,d=t.defaultProps,p=function(v,y){var g=y.graphicalItems,b=y.stackGroups,S=y.offset,x=y.updateId,E=y.dataStartIndex,w=y.dataEndIndex,T=v.barSize,k=v.layout,O=v.barGap,P=v.barCategoryGap,B=v.maxBarSize,I=vL(k),F=I.numericAxisName,V=I.cateAxisName,U=r7e(g),M=[];return g.forEach(function(L,N){var W=_1(v.data,{graphicalItems:[L],dataStartIndex:E,dataEndIndex:w}),G=L.props,K=G.dataKey,X=G.maxBarSize,ie=L.props["".concat(F,"Id")],fe=L.props["".concat(V,"Id")],Se={},de=l.reduce(function(Ce,ht){var jt=y["".concat(ht.axisType,"Map")],Er=L.props["".concat(ht.axisType,"Id")];jt&&jt[Er]||ht.axisType==="zAxis"||Qs();var va=jt[Er];return H(H({},Ce),{},ye(ye({},ht.axisType,va),"".concat(ht.axisType,"Ticks"),Ms(va)))},Se),Ae=de[V],$=de["".concat(V,"Ticks")],ae=b&&b[ie]&&b[ie].hasStack&&xRe(L,b[ie].stackGroups),Z=Fa(L.type).indexOf("Bar")>=0,z=hv(Ae,$),be=[],ve=U&&aRe({barSize:T,stackGroups:b,totalSize:i7e(de,V)});if(Z){var oe,xe,Te=We(X)?B:X,Ke=(oe=(xe=hv(Ae,$,!0))!==null&&xe!==void 0?xe:Te)!==null&&oe!==void 0?oe:0;be=oRe({barGap:O,barCategoryGap:P,bandSize:Ke!==z?Ke:z,sizeList:ve[fe],maxBarSize:Te}),Ke!==z&&(be=be.map(function(Ce){return H(H({},Ce),{},{position:H(H({},Ce.position),{},{offset:Ce.position.offset-Ke/2})})}))}var lr=L&&L.type&&L.type.getComposedData;lr&&M.push({props:H(H({},lr(H(H({},de),{},{displayedData:W,props:v,dataKey:K,item:L,bandSize:z,barPosition:be,offset:S,stackedData:ae,layout:k,dataStartIndex:E,dataEndIndex:w}))),{},ye(ye(ye({key:L.key||"item-".concat(N)},F,de[F]),V,de[V]),"animationId",x)),childIndex:cTe(L,v.children),item:L})}),M},m=function(v,y){var g=v.props,b=v.dataStartIndex,S=v.dataEndIndex,x=v.updateId;if(!hD({props:g}))return null;var E=g.children,w=g.layout,T=g.stackOffset,k=g.data,O=g.reverseStackOrder,P=vL(w),B=P.numericAxisName,I=P.cateAxisName,F=Mi(E,i),V=yRe(k,F,"".concat(B,"Id"),"".concat(I,"Id"),T,O),U=l.reduce(function(G,K){var X="".concat(K.axisType,"Map");return H(H({},G),{},ye({},X,e7e(g,H(H({},K),{},{graphicalItems:F,stackGroups:K.axisType===B&&V,dataStartIndex:b,dataEndIndex:S}))))},{}),M=n7e(H(H({},U),{},{props:g,graphicalItems:F}),y==null?void 0:y.legendBBox);Object.keys(U).forEach(function(G){U[G]=f(g,U[G],M,G.replace("Map",""),n)});var L=U["".concat(I,"Map")],N=t7e(L),W=p(g,H(H({},U),{},{dataStartIndex:b,dataEndIndex:S,updateId:x,graphicalItems:F,stackGroups:V,offset:M}));return H(H({formattedGraphicalItems:W,graphicalItems:F,offset:M,stackGroups:V},N),U)};return r=function(h){qIe(v,h);function v(y){var g,b,S;return UIe(this,v),S=zIe(this,v,[y]),ye(De(S),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ye(De(S),"accessibilityManager",new wIe),ye(De(S),"handleLegendBBoxUpdate",function(x){if(x){var E=S.state,w=E.dataStartIndex,T=E.dataEndIndex,k=E.updateId;S.setState(H({legendBBox:x},m({props:S.props,dataStartIndex:w,dataEndIndex:T,updateId:k},H(H({},S.state),{},{legendBBox:x}))))}}),ye(De(S),"handleReceiveSyncEvent",function(x,E,w){if(S.props.syncId===x){if(w===S.eventEmitterSymbol&&typeof S.props.syncMethod!="function")return;S.applySyncEvent(E)}}),ye(De(S),"handleBrushChange",function(x){var E=x.startIndex,w=x.endIndex;if(E!==S.state.dataStartIndex||w!==S.state.dataEndIndex){var T=S.state.updateId;S.setState(function(){return H({dataStartIndex:E,dataEndIndex:w},m({props:S.props,dataStartIndex:E,dataEndIndex:w,updateId:T},S.state))}),S.triggerSyncEvent({dataStartIndex:E,dataEndIndex:w})}}),ye(De(S),"handleMouseEnter",function(x){var E=S.getMouseInfo(x);if(E){var w=H(H({},E),{},{isTooltipActive:!0});S.setState(w),S.triggerSyncEvent(w);var T=S.props.onMouseEnter;Re(T)&&T(w,x)}}),ye(De(S),"triggeredAfterMouseMove",function(x){var E=S.getMouseInfo(x),w=E?H(H({},E),{},{isTooltipActive:!0}):{isTooltipActive:!1};S.setState(w),S.triggerSyncEvent(w);var T=S.props.onMouseMove;Re(T)&&T(w,x)}),ye(De(S),"handleItemMouseEnter",function(x){S.setState(function(){return{isTooltipActive:!0,activeItem:x,activePayload:x.tooltipPayload,activeCoordinate:x.tooltipPosition||{x:x.cx,y:x.cy}}})}),ye(De(S),"handleItemMouseLeave",function(){S.setState(function(){return{isTooltipActive:!1}})}),ye(De(S),"handleMouseMove",function(x){x.persist(),S.throttleTriggeredAfterMouseMove(x)}),ye(De(S),"handleMouseLeave",function(x){S.throttleTriggeredAfterMouseMove.cancel();var E={isTooltipActive:!1};S.setState(E),S.triggerSyncEvent(E);var w=S.props.onMouseLeave;Re(w)&&w(E,x)}),ye(De(S),"handleOuterEvent",function(x){var E=lTe(x),w=Jn(S.props,"".concat(E));if(E&&Re(w)){var T,k;/.*touch.*/i.test(E)?k=S.getMouseInfo(x.changedTouches[0]):k=S.getMouseInfo(x),w((T=k)!==null&&T!==void 0?T:{},x)}}),ye(De(S),"handleClick",function(x){var E=S.getMouseInfo(x);if(E){var w=H(H({},E),{},{isTooltipActive:!0});S.setState(w),S.triggerSyncEvent(w);var T=S.props.onClick;Re(T)&&T(w,x)}}),ye(De(S),"handleMouseDown",function(x){var E=S.props.onMouseDown;if(Re(E)){var w=S.getMouseInfo(x);E(w,x)}}),ye(De(S),"handleMouseUp",function(x){var E=S.props.onMouseUp;if(Re(E)){var w=S.getMouseInfo(x);E(w,x)}}),ye(De(S),"handleTouchMove",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.throttleTriggeredAfterMouseMove(x.changedTouches[0])}),ye(De(S),"handleTouchStart",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.handleMouseDown(x.changedTouches[0])}),ye(De(S),"handleTouchEnd",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.handleMouseUp(x.changedTouches[0])}),ye(De(S),"triggerSyncEvent",function(x){S.props.syncId!==void 0&&Nb.emit(Mb,S.props.syncId,x,S.eventEmitterSymbol)}),ye(De(S),"applySyncEvent",function(x){var E=S.props,w=E.layout,T=E.syncMethod,k=S.state.updateId,O=x.dataStartIndex,P=x.dataEndIndex;if(x.dataStartIndex!==void 0||x.dataEndIndex!==void 0)S.setState(H({dataStartIndex:O,dataEndIndex:P},m({props:S.props,dataStartIndex:O,dataEndIndex:P,updateId:k},S.state)));else if(x.activeTooltipIndex!==void 0){var B=x.chartX,I=x.chartY,F=x.activeTooltipIndex,V=S.state,U=V.offset,M=V.tooltipTicks;if(!U)return;if(typeof T=="function")F=T(M,x);else if(T==="value"){F=-1;for(var L=0;L=0){var ae,Z;if(B.dataKey&&!B.allowDuplicatedCategory){var z=typeof B.dataKey=="function"?$:"payload.".concat(B.dataKey.toString());ae=tE(L,z,F),Z=N&&W&&tE(W,z,F)}else ae=L==null?void 0:L[I],Z=N&&W&&W[I];if(fe||ie){var be=x.props.activeIndex!==void 0?x.props.activeIndex:I;return[C.cloneElement(x,H(H(H({},T.props),de),{},{activeIndex:be})),null,null]}if(!We(ae))return[Ae].concat(fc(S.renderActivePoints({item:T,activePoint:ae,basePoint:Z,childIndex:I,isRange:N})))}else{var ve,oe=(ve=S.getItemByXY(S.state.activeCoordinate))!==null&&ve!==void 0?ve:{graphicalItem:Ae},xe=oe.graphicalItem,Te=xe.item,Ke=Te===void 0?x:Te,lr=xe.childIndex,Ce=H(H(H({},T.props),de),{},{activeIndex:lr});return[C.cloneElement(Ke,Ce),null,null]}return N?[Ae,null,null]:[Ae,null]}),ye(De(S),"renderCustomized",function(x,E,w){return C.cloneElement(x,H(H({key:"recharts-customized-".concat(w)},S.props),S.state))}),ye(De(S),"renderMap",{CartesianGrid:{handler:Tm,once:!0},ReferenceArea:{handler:S.renderReferenceElement},ReferenceLine:{handler:Tm},ReferenceDot:{handler:S.renderReferenceElement},XAxis:{handler:Tm},YAxis:{handler:Tm},Brush:{handler:S.renderBrush,once:!0},Bar:{handler:S.renderGraphicChild},Line:{handler:S.renderGraphicChild},Area:{handler:S.renderGraphicChild},Radar:{handler:S.renderGraphicChild},RadialBar:{handler:S.renderGraphicChild},Scatter:{handler:S.renderGraphicChild},Pie:{handler:S.renderGraphicChild},Funnel:{handler:S.renderGraphicChild},Tooltip:{handler:S.renderCursor,once:!0},PolarGrid:{handler:S.renderPolarGrid,once:!0},PolarAngleAxis:{handler:S.renderPolarAxis},PolarRadiusAxis:{handler:S.renderPolarAxis},Customized:{handler:S.renderCustomized}}),S.clipPathId="".concat((g=y.id)!==null&&g!==void 0?g:a1("recharts"),"-clip"),S.throttleTriggeredAfterMouseMove=wF(S.triggeredAfterMouseMove,(b=y.throttleDelay)!==null&&b!==void 0?b:1e3/60),S.state={},S}return jIe(v,[{key:"componentDidMount",value:function(){var g,b;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(g=this.props.margin.left)!==null&&g!==void 0?g:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var g=this.props,b=g.children,S=g.data,x=g.height,E=g.layout,w=bn(b,Ea);if(w){var T=w.props.defaultIndex;if(!(typeof T!="number"||T<0||T>this.state.tooltipTicks.length)){var k=this.state.tooltipTicks[T]&&this.state.tooltipTicks[T].value,O=cA(this.state,S,T,k),P=this.state.tooltipTicks[T].coordinate,B=(this.state.offset.top+x)/2,I=E==="horizontal",F=I?{x:P,y:B}:{y:P,x:B},V=this.state.formattedGraphicalItems.find(function(M){var L=M.item;return L.type.name==="Scatter"});V&&(F=H(H({},F),V.props.points[T].tooltipPosition),O=V.props.points[T].tooltipPayload);var U={activeTooltipIndex:T,isTooltipActive:!0,activeLabel:k,activePayload:O,activeCoordinate:F};this.setState(U),this.renderCursor(w),this.accessibilityManager.setIndex(T)}}}},{key:"getSnapshotBeforeUpdate",value:function(g,b){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==b.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==g.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==g.margin){var S,x;this.accessibilityManager.setDetails({offset:{left:(S=this.props.margin.left)!==null&&S!==void 0?S:0,top:(x=this.props.margin.top)!==null&&x!==void 0?x:0}})}return null}},{key:"componentDidUpdate",value:function(g){nE([bn(g.children,Ea)],[bn(this.props.children,Ea)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var g=bn(this.props.children,Ea);if(g&&typeof g.props.shared=="boolean"){var b=g.props.shared?"axis":"item";return u.indexOf(b)>=0?b:o}return o}},{key:"getMouseInfo",value:function(g){if(!this.container)return null;var b=this.container,S=b.getBoundingClientRect(),x=Fke(S),E={chartX:Math.round(g.pageX-x.left),chartY:Math.round(g.pageY-x.top)},w=S.width/b.offsetWidth||1,T=this.inRange(E.chartX,E.chartY,w);if(!T)return null;var k=this.state,O=k.xAxisMap,P=k.yAxisMap,B=this.getTooltipEventType();if(B!=="axis"&&O&&P){var I=Vu(O).scale,F=Vu(P).scale,V=I&&I.invert?I.invert(E.chartX):null,U=F&&F.invert?F.invert(E.chartY):null;return H(H({},E),{},{xValue:V,yValue:U})}var M=mL(this.state,this.props.data,this.props.layout,T);return M?H(H({},E),M):null}},{key:"inRange",value:function(g,b){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,x=this.props.layout,E=g/S,w=b/S;if(x==="horizontal"||x==="vertical"){var T=this.state.offset,k=E>=T.left&&E<=T.left+T.width&&w>=T.top&&w<=T.top+T.height;return k?{x:E,y:w}:null}var O=this.state,P=O.angleAxisMap,B=O.radiusAxisMap;if(P&&B){var I=Vu(P);return tR({x:E,y:w},I)}return null}},{key:"parseEventsOfWrapper",value:function(){var g=this.props.children,b=this.getTooltipEventType(),S=bn(g,Ea),x={};S&&b==="axis"&&(S.props.trigger==="click"?x={onClick:this.handleClick}:x={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var E=q0(this.props,this.handleOuterEvent);return H(H({},E),x)}},{key:"addListener",value:function(){Nb.on(Mb,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Nb.removeListener(Mb,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(g,b,S){for(var x=this.state.formattedGraphicalItems,E=0,w=x.length;E{if(Number(r)<=0)return null;const o=Number(a.x)+Number(e)/2,s=Number(a.y)+Number(t)/2;return A.jsxs(re.text,{name:i,fill:"chakra-body-text",className:"recharts-text recharts-label",x:o,y:s,offset:n,textAnchor:"middle",fontSize:"40%",children:[A.jsx("title",{children:i}),A.jsx("tspan",{x:o,dy:"0.355em",children:r})]})};function u7e({values:e,max:t}){const[r,n]=vN("colors",["colors.complete","colors.accent"]),i=C.useMemo(()=>[e.reduce((a,o,s)=>({...a,[s.toString()]:o.value}),{name:"progress bar"})],[e]);return A.jsx(Rke,{children:A.jsxs(o7e,{data:i,layout:"vertical",margin:{top:0,left:0,right:0,bottom:0},children:[A.jsx(T1,{type:"number",hide:!0,domain:[0,t]}),A.jsx(O1,{type:"category",dataKey:"name",hide:!0}),A.jsx("defs",{children:A.jsxs("pattern",{id:"partial",x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:[A.jsx(re.rect,{fill:"chakra-body-bg",x:"0",y:"0",width:"10",height:"10"}),A.jsx(re.rect,{fill:"partial",x:"0",width:"5px",height:"5px",y:"0"}),A.jsx(re.rect,{fill:"partial",x:"5",width:"5px",height:"5px",y:"5"})]})}),e.map((a,o)=>A.jsx(wu,{dataKey:o.toString(),stackId:"s",fill:a.color==="partial"?"url(#partial)":r,...o===0?{background:{fill:n}}:{},label:A.jsx(s7e,{title:a.name}),isAnimationActive:!1},o))]})})}function so({title:e,icon:t,loading:r=!1,values:n,max:i,children:a}){return A.jsxs(MI,{isDisabled:r,children:[A.jsxs(RI,{fontSize:"3xl",children:[A.jsxs(Ua,{direction:"row",flex:"1",textAlign:"left",children:[A.jsx(Oc,{src:t}),A.jsx(qs,{fontSize:["xl",null,"3xl"],fontWeight:"normal",children:e})]}),A.jsx(_n,{alignSelf:"stretch",flex:"1 1",children:A.jsx(u7e,{values:n,max:i})}),r?A.jsx(ST,{}):A.jsx(NI,{})]}),A.jsx(BI,{children:A.jsx(Ua,{spacing:4,children:a})})]})}const yL=[6423,6428,6429,6430,6431,6432],bL=[6495,6501,6504,6505,6508,6509,6510,6511,6545],SL=[6440,6441,6442,6443,6444,6445],xL=[6447,6448,6449,6450,6451,6452],EL=[6454,6455,6456,6457,6458,6459],AL=[6462,6463,6464,6465,6466,6467],wL=[6469,6470,6471,6472,6473,6474],CL=[6476,6477,6478,6479,6480,6481];function l7e(){const e=Ee(yT);return A.jsxs(so,{title:"Dreadsylvania",icon:"itemimages/dvtat.gif",loading:!1,values:[],max:1,children:[A.jsx(NCe,{}),A.jsx(Ye,{title:"The Terrified Eagle Inn",image:"itemimages/dv_krueggerand.gif",children:A.jsx(Dt,{items:yL,playerItems:yL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Other Untradables",image:"itemimages/dv_badge.gif",children:A.jsx(Dt,{items:bL,playerItems:bL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Falls-From-Sky",image:"itemimages/bb_speedo.gif",children:A.jsx(Dt,{items:SL,playerItems:SL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Great Wolf of the Air",image:"itemimages/ww_bazooka.gif",children:A.jsx(Dt,{items:xL,playerItems:xL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Zombie Homeowners' Association",image:"itemimages/zh_pad.gif",children:A.jsx(Dt,{items:EL,playerItems:EL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Mayor Ghost",image:"itemimages/mg_gavel.gif",children:A.jsx(Dt,{items:AL,playerItems:AL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Count Drunkula",image:"itemimages/dr_wineglass.gif",children:A.jsx(Dt,{items:wL,playerItems:wL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"The Unkillable Skeleton",image:"itemimages/sk_leg.gif",children:A.jsx(Dt,{items:CL,playerItems:CL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}const c7e=[38,39,40,41],f7e=[29,31,33,37,43],d7e=[28,30,32,36,42],TL=[3220,3328,3329,3330,3331,3332,3333,3140,3334,3335,3404],OL=[3310,3311,3312,3313,3314,3315],_L=[3260,3261,3262,3383,3384,3385],kL=[3251,3252,3253,3286,3389,3391],PL=[3246,3247,3248,3380,3381,3382],DL=[3254,3255,3256,3392,3393,3394],RL=[3257,3258,3259,3386,3387,3388],LL=[3395,3396,3397,3405,3406,3407,3408,3409,3410,3411];function p7e(){const e=Ee(yT);return A.jsxs(so,{title:"Hobopolis",icon:"otherimages/sigils/hobotat19.gif",loading:!1,values:[],max:1,children:[A.jsx(Ye,{title:"Hodgman's Journal Skills",image:"itemimages/blacknotebook.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:c7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Weak Elemental Skills",image:"itemimages/book3.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:f7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Strong Elemental Skills",image:"itemimages/book4.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:d7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Hobo Nickles",image:"itemimages/nickel.gif",children:A.jsx(Dt,{items:TL,playerItems:TL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Hobo Instruments",image:"itemimages/triangle.gif",children:A.jsx(Dt,{items:OL,playerItems:OL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Chester",image:"itemimages/chestache.gif",children:A.jsx(Dt,{items:_L,playerItems:_L.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Frosty",image:"itemimages/frostyhat.gif",children:A.jsx(Dt,{items:kL,playerItems:kL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Ol' Scratch",image:"itemimages/pitchfork2.gif",children:A.jsx(Dt,{items:PL,playerItems:PL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Oscus",image:"itemimages/oscuswand.gif",children:A.jsx(Dt,{items:DL,playerItems:DL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Zombo",image:"itemimages/zomboshield.gif",children:A.jsx(Dt,{items:RL,playerItems:RL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Hodgman",image:"itemimages/stuffhodg.gif",children:A.jsx(Dt,{items:LL,playerItems:LL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}const h7e=[46,47,48],NL=[4127,4128,4129],ML=[4021,4022,4023,4024,4025,4026,4027,4028,5760],IL=[4075,4076,4077,4078,4079,4080,4081,4082,5761];function m7e(){const e=Ee(yT);return A.jsxs(so,{title:"Slime Tube",icon:"itemimages/slimeling.gif",loading:!1,values:[],max:1,children:[A.jsx(Ye,{title:"Skills",image:"itemimages/slimehypo.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:h7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Slime-Covered",image:"itemimages/slimelantern.gif",children:A.jsx(Dt,{items:ML,playerItems:ML.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Caustic Slime",image:"itemimages/causticnodule.gif",children:A.jsx(Dt,{items:IL,playerItems:IL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Mother Slime",image:"itemimages/slimelarva.gif",children:A.jsx(Dt,{items:NL,playerItems:NL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}function g7e(){return A.jsxs(sC,{allowMultiple:!0,children:[A.jsx(p7e,{}),A.jsx(m7e,{}),A.jsx(l7e,{})]})}function s3({title:e}){return A.jsx(by,{src:"/medal.png",title:e,height:"20px",mt:1,mr:1})}function v7e(e){switch(e){case lu.TERRARIUM:return"complete";case lu.HATCHLING:return"partial";default:return null}}function y7e(e){switch(e){case lu.TERRARIUM:return"Have in terrarium";case lu.HATCHLING:return"Have as hatchling";default:return"Do not have"}}function b7e({familiar:e,status:t,hundredPercent:r}){return A.jsx(xu,{type:"familiar",name:e.name,image:`itemimages/${e.image}`,state:v7e(t),title:y7e(t),badges:r?A.jsx(s3,{title:"100% run"}):null})}function S7e({familiars:e}){return e.length===0?null:A.jsx(Ri,{spacingX:3,columns:3,width:"30%",templateColumns:"repeat(3, max-content)",children:e.map(t=>A.jsxs(C.Fragment,{children:[A.jsx(Ta,{children:t.name}),A.jsx(Oc,{src:`itemimages/${t.image}`,sourceWidth:30,width:"20px",height:"20px"}),A.jsx(s3,{title:"100% run"})]},t.id))})}const bh=e=>(t,r)=>{const n=t[e]||0,i=r[e]||0;return ni?1:0};function Sh({onChange:e,value:t,alphabeticalKey:r,chronologicalKey:n}){return A.jsx(b7,{size:"sm",onChange:e,value:t,children:A.jsxs(Ua,{direction:"row",justifyContent:"end",children:[A.jsx(px,{value:r,children:"Alphabetical"}),A.jsx(px,{value:n,children:"Chronological"})]})})}const x7e=is("familiars");function E7e(){const[e,t]=C.useState("id"),r=Ee(x7e),n=Ee(c=>c.familiars),i=C.useMemo(()=>n.filter(c=>la.isFamiliarOwnable(c)).toSorted(bh(e)),[n,e]),a=Ee(c=>c.loading.familiars||!1),o=C.useMemo(()=>r.filter(c=>c[1]===lu.TERRARIUM).length,[r]),s=C.useMemo(()=>r.filter(c=>c[1]===lu.HATCHLING).length,[r]),u=C.useMemo(()=>r.reduce((c,f)=>({...c,[f[0]]:f}),{}),[r]),l=C.useMemo(()=>n.filter(c=>!la.isFamiliarOwnable(c)).filter(c=>{var f;return((f=u[c.id])==null?void 0:f[2])??!1}),[n]);return A.jsxs(so,{title:"Familiars",icon:"itemimages/terrarium.gif",loading:a,values:[{color:"partial",value:s,name:`${s} / ${i.length} as hatching`},{color:"complete",value:o,name:`${o} / ${i.length} in terrarium`}],max:i.length,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),A.jsx(Ri,{columns:6,spacing:1,children:i.map(c=>{var f,d;return A.jsx(b7e,{familiar:c,status:((f=u[c.id])==null?void 0:f[1])??0,hundredPercent:((d=u[c.id])==null?void 0:d[2])??!1},c.id)})}),A.jsx(S7e,{familiars:l})]})}function A7e(e){switch(e){case Xl.BOUND:return"complete";case Xl.BOXED:return"partial";default:return null}}function w7e(e,t){switch(t){case Xl.BOUND:return e.type!=="vip"?"Have":"Have access if your clan owns one";case Xl.BOXED:return"Have store item";default:return"Do not have"}}function C7e({item:e,status:t,iotm:r}){return e?A.jsx(xu,{type:"item",name:e.name,image:`itemimages/${e.image}`,state:A7e(t),title:w7e(r,t)}):null}const T7e=is("iotms");function O7e(){const e=Ee(T7e),t=Ee(c=>c.iotms),r=Ee(c=>c.loading.iotms||!1),n=Ee(c=>c.items),i=C.useMemo(()=>t.filter(c=>c.type==="vip").map(c=>c.id),[t]),a=C.useMemo(()=>e.findIndex(c=>i.includes(c[0]))>-1,[e,i]),o=C.useMemo(()=>t.length-(i.length-1),[t]),s=C.useMemo(()=>e.filter(c=>c[1]==Xl.BOUND).map(c=>c[0]).length-(a?i.length-1:0),[e]),u=C.useMemo(()=>e.reduce((c,f)=>({...c,[f[0]]:f[1]}),{}),[e]),l=C.useMemo(()=>[...Array(9).map(c=>null),...t],[t]);return A.jsx(so,{title:"IotMs",icon:"itemimages/mracc.gif",loading:r,values:[{color:"complete",value:s,name:`${s} / ${o} IotMs bound`}],max:t.length,children:A.jsx(qU,{idToStatus:u,items:l,columns:12,getRowLabel:c=>2004+c,renderItem:c=>A.jsx(C7e,{item:n[c.id],iotm:c,status:u[c.id]??0},c.id)})})}function _7e(e,t,r){return t1(e)&&t==Gd.HAVE_OUTFIT?"partial":t>=r?"complete":t>0?"partial":null}function k7e(e,t,r){const n=r>1?` (level ${t} / ${r})`:"";return t1(e)&&t==Gd.HAVE_OUTFIT?"Have necessary outfit":t>=r?"Have"+n:t>0?"Partially have"+n:"Do not have"+n}function P7e({tattoo:e,level:t}){const r=uT(e),n=Hd(e.image)[Math.min(r,t>0?t:r)-1];return A.jsx(xu,{type:"tattoo",name:e.name,image:`otherimages/sigils/${n}.gif`,sourceWidth:50,state:_7e(e,t,r),title:k7e(e,t,r),link:D7e(e)})}function D7e(e){if(t1(e))return;if(sT(e))return"Tattoo#Miscellaneous_Tattoos";const t=Hd(e.image)[0];return t.startsWith("class")?t.endsWith("hc")?"Tattoo#Ascension_Tattoos":"Tattoo#Class_Tattoos":isNaN(parseFloat(t[t.length-1]))?"Tattoo":"Tattoo#Ascension_Tattoos"}function k1({tattoos:e,getLevel:t}){return A.jsx(Ri,{columns:[4,null,6],spacing:1,children:e.map((r,n)=>A.jsx(P7e,{tattoo:r,level:t(r,n)},r.name))})}const R7e={[uU]:e=>2015+e,[lU]:e=>e===0?null:2015+(e-1)};function L7e({path:e,points:t,items:r,equipment:n,tattoos:i}){return A.jsxs(Ye,{title:e.name,image:e.image,right:e.maxPoints>0&&A.jsx(_n,{alignSelf:"start",position:"relative",children:A.jsxs(xy,{title:`${t} points out of a possible ${e.maxPoints}`,position:"absolute",top:0,children:[t," / ",e.maxPoints]})}),children:[e.items.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Items"}),A.jsx(Dt,{items:e.items,playerItems:r})]}),e.equipment.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Equipment"}),A.jsx(Dt,{items:e.equipment,playerItems:n,getRowLabel:R7e[e.id]})]}),e.tattoos.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Tattoos"}),A.jsx(k1,{tattoos:e.tattoos,getLevel:(a,o)=>i[o]||0})]})]})}function N7e(){const[e,t]=C.useState("id"),r=Ee(vT),n=Ee(f=>f.paths),i=C.useMemo(()=>n.toSorted(bh(e)),[n,e]),a=Ee(f=>f.loading.paths||!1),o=C.useMemo(()=>i.reduce((f,d)=>({...f,[d.id]:d.tattoos.map(uT)}),{}),[i]),s=C.useMemo(()=>r.reduce((f,d)=>f+[...d[2],...d[3]].length+(o[d[0]]??[]).reduce((p,m)=>p+m,0),0),[r,o]),u=C.useMemo(()=>r.reduce((f,d)=>f+[...d[2],...d[3]].reduce((p,m)=>p+m,0)+d[4].reduce((p,m,h)=>p+m,0),0),[r]),l=C.useMemo(()=>r.reduce((f,d)=>f+d[4].reduce((p,m,h)=>{var v;return p+Math.max(0,(((v=o[d[0]])==null?void 0:v[h])??0)-(m+1))},0),0),[r,o]),c=C.useMemo(()=>r.reduce((f,d)=>({...f,[d[0]]:d}),{}),[r]);return A.jsxs(so,{title:"Paths",icon:"itemimages/map.gif",loading:a,values:[{color:"partial",value:l,name:`${l} / ${s} path rewards partially earned`},{color:"complete",value:u,name:`${u} / ${s} path rewards completely earned`}],max:s,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),i.map(f=>{var d,p,m,h;return A.jsx(L7e,{path:f,points:((d=c[f.id])==null?void 0:d[1])??0,items:((p=c[f.id])==null?void 0:p[2])??[],equipment:((m=c[f.id])==null?void 0:m[3])??[],tattoos:((h=c[f.id])==null?void 0:h[4])??[]},f.name)})]})}function M7e({titles:e,images:t,active:r,overlap:n=10}){return A.jsx(_n,{ml:`${n}px`,children:t.map((i,a)=>A.jsx(_n,{title:V0.decode(e[a]),ml:`-${n}px`,display:"inline-block",position:"relative",zIndex:a===r?2:1,filter:`brightness(${a===r?1:.8})`,children:A.jsx(Oc,{src:`itemimages/${i}`,sourceWidth:30})},i))})}function I7e({groupName:e,skills:t,statuses:r}){var i;const n=r.findIndex(a=>a>_i.NONE);return A.jsx(xu,{link:((i=t[n])==null?void 0:i.name)??t[0].name,type:"skill",name:e,image:A.jsx(M7e,{titles:t.map(a=>a.name),images:t.map(a=>a.image),active:n}),state:jU(r[n]),title:zU(r[n])})}function B7e({bucket:e,cls:t,medal:r,children:n}){const[i,a]=OCe(e,t);return A.jsx(Ye,{title:i,image:a,right:r&&t&&A.jsx(s3,{title:"100% marked hardcore permanent"}),children:n})}const U7e=cU.reduce((e,t)=>e+t.skillIds.length-1,0);function F7e(){const e=Ee(TU),t=Ee(OU),r=Ee(m=>m.skills),n=C.useMemo(()=>r.filter(m=>la.isSkillPermable(m)),[r]),i=Ee(m=>m.classes),a=Ee(m=>m.loading.skills||!1),o=C.useMemo(()=>e.filter(m=>m[1]===_i.HARDCORE).length,[e]),s=C.useMemo(()=>e.filter(m=>m[1]===_i.SOFTCORE).length,[e]),u=C.useMemo(()=>i.reduce((m,h)=>({...m,[h.id]:h}),{}),[i]),l=C.useMemo(()=>n.reduce((m,h)=>{const v=TCe(h);return{...m,[v]:[...m[v]||[],h]}},{}),[n]),c=C.useMemo(()=>Object.entries(l).map(([m,h])=>[Number(m),h]).sort((m,h)=>m[0]===0||m[0]<1&&h[0]>=1?1:h[0]===0||h[0]<1&&m[0]>=1?-1:m[0]-h[0]),[l]),f=n.length-U7e,d=[];function p(m){const h=cU.find(y=>y.skillIds.includes(m.id));if(!h)return!1;if(d.push(m),h.skillIds[h.skillIds.length-1]!==m.id)return null;const v=[...d];return d.length=0,A.jsx(I7e,{groupName:h.groupName,skills:v,statuses:v.map(y=>{var g;return((g=t[y.id])==null?void 0:g[1])??_i.NONE})},m.id)}return A.jsx(so,{title:"Skills",icon:"itemimages/book3.gif",loading:a,values:[{color:"partial",value:s,name:`${s} / ${f} softcore permed`},{color:"complete",value:o,name:`${o} / ${f} hardcore permed`}],max:f,children:c.map(([m,h])=>{const v=h.every(y=>{var g;return((g=t[y.id])==null?void 0:g[1])===_i.HARDCORE});return A.jsx(B7e,{bucket:Number(m),cls:u[Number(m)],medal:v,children:A.jsx(Ri,{columns:6,spacing:1,children:h.map(y=>{const g=p(y);return g!==!1?g:A.jsx(Nt,{id:y.id},y.id)})})},m)})})}function j7e(){const e=Ee(o=>o.tattoos),t=Ee(kU),[r,n]=C.useState("name"),i=C.useMemo(()=>e.filter(sT).toSorted(bh(r)),[e,r]),a=C.useMemo(()=>t.reduce((o,s)=>({...o,[s[0]]:s}),{}),[t]);return A.jsx(Ye,{title:"Miscellaneous",image:"itemimages/bgetat.gif",farRight:!0,right:A.jsx(Sh,{onChange:n,value:r,alphabeticalKey:"name",chronologicalKey:"misc"}),children:A.jsx(k1,{tattoos:i,getLevel:o=>{var s;return((s=a[o.misc])==null?void 0:s[1])??0}})})}function z7e(){const e=Ee(o=>o.tattoos),t=Ee(_U),[r,n]=C.useState("name"),i=C.useMemo(()=>e.filter(t1).toSorted(bh(r)),[e,r]),a=C.useMemo(()=>t.reduce((o,s)=>({...o,[s[0]]:s}),{}),[t]);return A.jsx(Ye,{title:"Outfits",image:"itemimages/palette.gif",farRight:!0,right:A.jsx(Sh,{onChange:n,value:r,alphabeticalKey:"name",chronologicalKey:"outfit"}),children:A.jsx(k1,{tattoos:i,getLevel:o=>{var s;return((s=a[o.outfit])==null?void 0:s[1])??0}})})}function V7e(){const e=Ee(a=>a.paths),t=Ee(vT),r=C.useMemo(()=>t.reduce((a,o)=>({...a,[o[0]]:o}),{}),[t]),[n,i]=C.useMemo(()=>_Ce(e.flatMap(a=>a.tattoos.map((o,s)=>{var u;return Wd([{...o,name:`${a.name} - ${o.name}`},(u=r[a.id])==null?void 0:u[4][s]])}))),[e,r]);return A.jsx(Ye,{title:"Ascension",image:"itemimages/rip.gif",children:A.jsx(k1,{tattoos:n,getLevel:(a,o)=>i[o]??0})})}function q7e(){const e=Ee(_U),t=Ee(kU),r=Ee(vT),n=Ee(d=>d.tattoos),i=Ee(d=>d.paths),a=Ee(d=>d.loading.tattoos??!1),o=i.flatMap(d=>d.tattoos).length,s=C.useMemo(()=>i.reduce((d,p)=>({...d,[p.id]:p}),{}),[i]),u=C.useMemo(()=>n.filter(sT).reduce((d,p)=>({...d,[p.misc]:uT(p)}),{}),[n]),l=C.useMemo(()=>e.filter(d=>d[1]===Gd.HAVE).length+t.filter(d=>d[1]>=u[d[0]]).length+r.flatMap(d=>{var p;return(p=s[d[0]])==null?void 0:p.tattoos.filter((m,h)=>d[4][h]>=Hd(m.image).length)}).length,[e,t]),c=C.useMemo(()=>e.filter(d=>d[1]===Gd.HAVE_OUTFIT).length+t.filter(d=>d[1]>0&&d[1]{var m;return(m=s[d])==null?void 0:m.tattoos.filter((h,v)=>p[v]>0&&p[v]u.trophies),i=C.useMemo(()=>n.toSorted(bh(e)),[n,e]),a=Ee(u=>u.loading.trophies||!1),o=C.useMemo(()=>r.filter(u=>u[1]==r1.HAVE).length,[r]),s=C.useMemo(()=>r.reduce((u,l)=>({...u,[l[0]]:l}),{}),[r]);return A.jsxs(so,{title:"Trophies",icon:"itemimages/trophy.gif",loading:a,values:[{color:"complete",value:o,name:`${o} / ${i.length} tattoos unlocked`}],max:i.length,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),A.jsx(Ri,{columns:[3,null,6],spacing:1,children:i.map(u=>{var l;return A.jsx(G7e,{trophy:u,status:((l=s[u.id])==null?void 0:l[1])??0},u.id)})})]})}function Y7e(){return A.jsxs(sC,{allowMultiple:!0,children:[A.jsx(O7e,{}),A.jsx(F7e,{}),A.jsx(N7e,{}),A.jsx(E7e,{}),A.jsx(q7e,{}),A.jsx($7e,{})]})}var X7e=sae({displayName:"QuestionOutlineIcon",path:A.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[A.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),A.jsx("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),A.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]})});function ir(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}const Om=43200,BL=1440;let Z7e={};function Q7e(){return Z7e}function UL(e){const t=ir(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function gg(e,t){const r=ir(e),n=ir(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}function J7e(e,t){const r=ir(e),n=ir(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function e9e(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return n===0?0:n}}function t9e(e,t){return+ir(e)-+ir(t)}function r9e(e){const t=ir(e);return t.setHours(23,59,59,999),t}function n9e(e){const t=ir(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function i9e(e){const t=ir(e);return+r9e(t)==+n9e(t)}function a9e(e,t){const r=ir(e),n=ir(t),i=gg(r,n),a=Math.abs(J7e(r,n));let o;if(a<1)o=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);let s=gg(r,n)===-i;i9e(ir(e))&&a===1&&gg(e,n)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function o9e(e,t,r){const n=t9e(e,t)/1e3;return e9e(r==null?void 0:r.roundingMethod)(n)}const s9e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},u9e=(e,t,r)=>{let n;const i=s9e[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Bb(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const l9e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c9e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f9e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},d9e={date:Bb({formats:l9e,defaultWidth:"full"}),time:Bb({formats:c9e,defaultWidth:"full"}),dateTime:Bb({formats:f9e,defaultWidth:"full"})},p9e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},h9e=(e,t,r,n)=>p9e[e];function ff(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let i;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const m9e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},g9e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v9e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},y9e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},b9e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},S9e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},x9e=(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},E9e={ordinalNumber:x9e,era:ff({values:m9e,defaultWidth:"wide"}),quarter:ff({values:g9e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ff({values:v9e,defaultWidth:"wide"}),day:ff({values:y9e,defaultWidth:"wide"}),dayPeriod:ff({values:b9e,defaultWidth:"wide",formattingValues:S9e,defaultFormattingWidth:"wide"})};function df(e){return(t,r={})=>{const n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?w9e(s,f=>f.test(o)):A9e(s,f=>f.test(o));let l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;const c=t.slice(o.length);return{value:l,rest:c}}}function A9e(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function w9e(e,t){for(let r=0;r{const n=t.match(e.matchPattern);if(!n)return null;const i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const T9e=/^(\d+)(th|st|nd|rd)?/i,O9e=/\d+/i,_9e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k9e={any:[/^b/i,/^(a|c)/i]},P9e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D9e={any:[/1/i,/2/i,/3/i,/4/i]},R9e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},L9e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},N9e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},M9e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},I9e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},B9e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},U9e={ordinalNumber:C9e({matchPattern:T9e,parsePattern:O9e,valueCallback:e=>parseInt(e,10)}),era:df({matchPatterns:_9e,defaultMatchWidth:"wide",parsePatterns:k9e,defaultParseWidth:"any"}),quarter:df({matchPatterns:P9e,defaultMatchWidth:"wide",parsePatterns:D9e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:df({matchPatterns:R9e,defaultMatchWidth:"wide",parsePatterns:L9e,defaultParseWidth:"any"}),day:df({matchPatterns:N9e,defaultMatchWidth:"wide",parsePatterns:M9e,defaultParseWidth:"any"}),dayPeriod:df({matchPatterns:I9e,defaultMatchWidth:"any",parsePatterns:B9e,defaultParseWidth:"any"})},F9e={code:"en-US",formatDistance:u9e,formatLong:d9e,formatRelative:h9e,localize:E9e,match:U9e,options:{weekStartsOn:0,firstWeekContainsDate:1}};function j9e(e,t,r){const n=Q7e(),i=(r==null?void 0:r.locale)??n.locale??F9e,a=2520,o=gg(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const s=Object.assign({},r,{addSuffix:r==null?void 0:r.addSuffix,comparison:o});let u,l;o>0?(u=ir(t),l=ir(e)):(u=ir(e),l=ir(t));const c=o9e(l,u),f=(UL(l)-UL(u))/1e3,d=Math.round((c-f)/60);let p;if(d<2)return r!=null&&r.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,s):c<10?i.formatDistance("lessThanXSeconds",10,s):c<20?i.formatDistance("lessThanXSeconds",20,s):c<40?i.formatDistance("halfAMinute",0,s):c<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):d===0?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",d,s);if(d<45)return i.formatDistance("xMinutes",d,s);if(d<90)return i.formatDistance("aboutXHours",1,s);if(ds.playerId),t=Ee(s=>s.favouritePlayerId),r=t===e,n=r?"star_full":"star",i=r?"Stop remembering this player":`Remember this player${t?` (currently your favourite is #${t})`:""}`,a=bT(),o=C.useCallback(s=>{s.preventDefault(),a(wU(r?null:e))},[a,r,e]);return A.jsx(lC,{size:"xs",onClick:o,"aria-label":i,title:i,icon:A.jsx(i1,{height:"60%",src:`/${n}.png`})})}function W9e({current:e,data:t}){return t>=e?null:A.jsx(EC,{p:2,label:`This snapshot was made with an older version of greenbox (v${t}) and some data may be rendered incorrectly.`,children:A.jsx(by,{height:"60%",src:"/warning.png"})})}function H9e({meta:e,direct:t}){const[r,n]=C.useState(new Date),i=C.useMemo(()=>new Date(e.timestamp),[e.timestamp]),a=C.useMemo(()=>z9e(i,{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),[i]);C.useEffect(()=>{const s=setInterval(()=>n(new Date),6e4);return()=>clearInterval(s)},[]);const o=C.useMemo(()=>j9e(i,r,{addSuffix:!0}),[r,i]);return A.jsxs(Sy,{fontSize:"large",spacing:"0.25em",wrap:"wrap",children:[A.jsx(Ta,{title:`r${e.revision}`,children:`${t?"Private s":"S"}napshot`})," ",A.jsx(Ta,{children:"by"})," ",A.jsx(Ta,{fontWeight:"bold",title:`Player #${e.id}`,children:e.name})," ",A.jsx(Ta,{children:"from"})," ",A.jsx(Ta,{title:a,children:o}),A.jsx(W9e,{current:twe,data:e.version}),!t&&A.jsx(q9e,{})]})}function G9e(){const{toggleColorMode:e}=Ip(),t=xg("dark","light"),r=xg("moon","sun"),n=`Switch to ${t} mode`,i=C.useCallback(a=>{a.preventDefault(),e()},[e]);return A.jsx(lC,{size:"xs",onClick:i,"aria-label":n,title:n,icon:A.jsx(i1,{height:"60%",src:`/${r}.png`})})}const K9e=` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pz(e,t){if(e){if(typeof e=="string")return lA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lA(e,t)}}function HIe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function GIe(e){if(Array.isArray(e))return lA(e)}function lA(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?o:t&&t.length&&J(i)&&J(a)?t.slice(i,a+1):[]};function gz(e){return e==="number"?[0,"auto"]:void 0}var cA=function(t,r,n,i){var a=t.graphicalItems,o=t.tooltipAxis,s=_1(r,t);return n<0||!a||!a.length||n>=s.length?null:a.reduce(function(u,l){var c,f=(c=l.props.data)!==null&&c!==void 0?c:r;f&&t.dataStartIndex+t.dataEndIndex!==0&&(f=f.slice(t.dataStartIndex,t.dataEndIndex+1));var d;if(o.dataKey&&!o.allowDuplicatedCategory){var p=f===void 0?s:f;d=tE(p,o.dataKey,i)}else d=f&&f[n]||s[n];return d?[].concat(fc(u),[Oj(l,d)]):u},[])},mL=function(t,r,n,i){var a=i||{x:t.chartX,y:t.chartY},o=XIe(a,n),s=t.orderedTooltipTicks,u=t.tooltipAxis,l=t.tooltipTicks,c=iRe(o,s,l,u);if(c>=0&&l){var f=l[c]&&l[c].value,d=cA(t,r,c,f),p=ZIe(n,s,c,a);return{activeTooltipIndex:c,activeLabel:f,activePayload:d,activeCoordinate:p}}return null},QIe=function(t,r){var n=r.axes,i=r.graphicalItems,a=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.layout,f=t.children,d=t.stackOffset,p=Cj(c,a);return n.reduce(function(m,h){var v,y=h.props,g=y.type,b=y.dataKey,S=y.allowDataOverflow,x=y.allowDuplicatedCategory,E=y.scale,w=y.ticks,T=y.includeHidden,k=h.props[o];if(m[k])return m;var O=_1(t.data,{graphicalItems:i.filter(function(K){return K.props[o]===k}),dataStartIndex:u,dataEndIndex:l}),P=O.length,B,I,F;CIe(h.props.domain,S,g)&&(B=ME(h.props.domain,null,S),p&&(g==="number"||E!=="auto")&&(F=id(O,b,"category")));var V=gz(g);if(!B||B.length===0){var U,M=(U=h.props.domain)!==null&&U!==void 0?U:V;if(b){if(B=id(O,b,g),g==="category"&&p){var L=JCe(B);x&&L?(I=B,B=Av(0,P)):x||(B=QD(M,B,h).reduce(function(K,X){return K.indexOf(X)>=0?K:[].concat(fc(K),[X])},[]))}else if(g==="category")x?B=B.filter(function(K){return K!==""&&!We(K)}):B=QD(M,B,h).reduce(function(K,X){return K.indexOf(X)>=0||X===""||We(X)?K:[].concat(fc(K),[X])},[]);else if(g==="number"){var N=lRe(O,i.filter(function(K){return K.props[o]===k&&(T||!K.props.hide)}),b,a,c);N&&(B=N)}p&&(g==="number"||E!=="auto")&&(F=id(O,b,"category"))}else p?B=Av(0,P):s&&s[k]&&s[k].hasStack&&g==="number"?B=d==="expand"?[0,1]:Tj(s[k].stackGroups,u,l):B=wj(O,i.filter(function(K){return K.props[o]===k&&(T||!K.props.hide)}),g,c,!0);if(g==="number")B=sA(f,B,k,a,w),M&&(B=ME(M,B,S));else if(g==="category"&&M){var W=M,G=B.every(function(K){return W.indexOf(K)>=0});G&&(B=W)}}return H(H({},m),{},ye({},k,H(H({},h.props),{},{axisType:a,domain:B,categoricalDomain:F,duplicateDomain:I,originalDomain:(v=h.props.domain)!==null&&v!==void 0?v:V,isCategorical:p,layout:c})))},{})},JIe=function(t,r){var n=r.graphicalItems,i=r.Axis,a=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.layout,f=t.children,d=_1(t.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:l}),p=d.length,m=Cj(c,a),h=-1;return n.reduce(function(v,y){var g=y.props[o],b=gz("number");if(!v[g]){h++;var S;return m?S=Av(0,p):s&&s[g]&&s[g].hasStack?(S=Tj(s[g].stackGroups,u,l),S=sA(f,S,g,a)):(S=ME(b,wj(d,n.filter(function(x){return x.props[o]===g&&!x.props.hide}),"number",c),i.defaultProps.allowDataOverflow),S=sA(f,S,g,a)),H(H({},v),{},ye({},g,H(H({axisType:a},i.defaultProps),{},{hide:!0,orientation:Jn($Ie,"".concat(a,".").concat(h%2),null),domain:S,originalDomain:b,isCategorical:m,layout:c})))}return v},{})},e7e=function(t,r){var n=r.axisType,i=n===void 0?"xAxis":n,a=r.AxisComp,o=r.graphicalItems,s=r.stackGroups,u=r.dataStartIndex,l=r.dataEndIndex,c=t.children,f="".concat(i,"Id"),d=Mi(c,a),p={};return d&&d.length?p=QIe(t,{axes:d,graphicalItems:o,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:u,dataEndIndex:l}):o&&o.length&&(p=JIe(t,{Axis:a,graphicalItems:o,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:u,dataEndIndex:l})),p},t7e=function(t){var r=Vu(t),n=Ms(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:kT(n,function(i){return i.coordinate}),tooltipAxis:r,tooltipAxisBandSize:hv(r,n)}},gL=function(t){var r=t.children,n=t.defaultShowTooltip,i=bn(r,sc),a=0,o=0;return t.data&&t.data.length!==0&&(o=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(a=i.props.startIndex),i.props.endIndex>=0&&(o=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:a,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},r7e=function(t){return!t||!t.length?!1:t.some(function(r){var n=Fa(r&&r.type);return n&&n.indexOf("Bar")>=0})},vL=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},n7e=function(t,r){var n=t.props,i=t.graphicalItems,a=t.xAxisMap,o=a===void 0?{}:a,s=t.yAxisMap,u=s===void 0?{}:s,l=n.width,c=n.height,f=n.children,d=n.margin||{},p=bn(f,sc),m=bn(f,Xd),h=Object.keys(u).reduce(function(x,E){var w=u[E],T=w.orientation;return!w.mirror&&!w.hide?H(H({},x),{},ye({},T,x[T]+w.width)):x},{left:d.left||0,right:d.right||0}),v=Object.keys(o).reduce(function(x,E){var w=o[E],T=w.orientation;return!w.mirror&&!w.hide?H(H({},x),{},ye({},T,Jn(x,"".concat(T))+w.height)):x},{top:d.top||0,bottom:d.bottom||0}),y=H(H({},v),h),g=y.bottom;p&&(y.bottom+=p.props.height||sc.defaultProps.height),m&&r&&(y=sRe(y,i,n,r));var b=l-y.left-y.right,S=c-y.top-y.bottom;return H(H({brushBottom:g},y),{},{width:Math.max(b,0),height:Math.max(S,0)})},i7e=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},a7e=function(t){var r,n=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,o=a===void 0?"axis":a,s=t.validateTooltipEventTypes,u=s===void 0?["axis"]:s,l=t.axisComponents,c=t.legendContent,f=t.formatAxisMap,d=t.defaultProps,p=function(v,y){var g=y.graphicalItems,b=y.stackGroups,S=y.offset,x=y.updateId,E=y.dataStartIndex,w=y.dataEndIndex,T=v.barSize,k=v.layout,O=v.barGap,P=v.barCategoryGap,B=v.maxBarSize,I=vL(k),F=I.numericAxisName,V=I.cateAxisName,U=r7e(g),M=[];return g.forEach(function(L,N){var W=_1(v.data,{graphicalItems:[L],dataStartIndex:E,dataEndIndex:w}),G=L.props,K=G.dataKey,X=G.maxBarSize,ie=L.props["".concat(F,"Id")],fe=L.props["".concat(V,"Id")],Se={},de=l.reduce(function(Ce,ht){var jt=y["".concat(ht.axisType,"Map")],Er=L.props["".concat(ht.axisType,"Id")];jt&&jt[Er]||ht.axisType==="zAxis"||Qs();var va=jt[Er];return H(H({},Ce),{},ye(ye({},ht.axisType,va),"".concat(ht.axisType,"Ticks"),Ms(va)))},Se),Ae=de[V],$=de["".concat(V,"Ticks")],ae=b&&b[ie]&&b[ie].hasStack&&xRe(L,b[ie].stackGroups),Z=Fa(L.type).indexOf("Bar")>=0,z=hv(Ae,$),be=[],ve=U&&aRe({barSize:T,stackGroups:b,totalSize:i7e(de,V)});if(Z){var oe,xe,Te=We(X)?B:X,Ke=(oe=(xe=hv(Ae,$,!0))!==null&&xe!==void 0?xe:Te)!==null&&oe!==void 0?oe:0;be=oRe({barGap:O,barCategoryGap:P,bandSize:Ke!==z?Ke:z,sizeList:ve[fe],maxBarSize:Te}),Ke!==z&&(be=be.map(function(Ce){return H(H({},Ce),{},{position:H(H({},Ce.position),{},{offset:Ce.position.offset-Ke/2})})}))}var lr=L&&L.type&&L.type.getComposedData;lr&&M.push({props:H(H({},lr(H(H({},de),{},{displayedData:W,props:v,dataKey:K,item:L,bandSize:z,barPosition:be,offset:S,stackedData:ae,layout:k,dataStartIndex:E,dataEndIndex:w}))),{},ye(ye(ye({key:L.key||"item-".concat(N)},F,de[F]),V,de[V]),"animationId",x)),childIndex:cTe(L,v.children),item:L})}),M},m=function(v,y){var g=v.props,b=v.dataStartIndex,S=v.dataEndIndex,x=v.updateId;if(!h4({props:g}))return null;var E=g.children,w=g.layout,T=g.stackOffset,k=g.data,O=g.reverseStackOrder,P=vL(w),B=P.numericAxisName,I=P.cateAxisName,F=Mi(E,i),V=yRe(k,F,"".concat(B,"Id"),"".concat(I,"Id"),T,O),U=l.reduce(function(G,K){var X="".concat(K.axisType,"Map");return H(H({},G),{},ye({},X,e7e(g,H(H({},K),{},{graphicalItems:F,stackGroups:K.axisType===B&&V,dataStartIndex:b,dataEndIndex:S}))))},{}),M=n7e(H(H({},U),{},{props:g,graphicalItems:F}),y==null?void 0:y.legendBBox);Object.keys(U).forEach(function(G){U[G]=f(g,U[G],M,G.replace("Map",""),n)});var L=U["".concat(I,"Map")],N=t7e(L),W=p(g,H(H({},U),{},{dataStartIndex:b,dataEndIndex:S,updateId:x,graphicalItems:F,stackGroups:V,offset:M}));return H(H({formattedGraphicalItems:W,graphicalItems:F,offset:M,stackGroups:V},N),U)};return r=function(h){qIe(v,h);function v(y){var g,b,S;return UIe(this,v),S=zIe(this,v,[y]),ye(De(S),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ye(De(S),"accessibilityManager",new wIe),ye(De(S),"handleLegendBBoxUpdate",function(x){if(x){var E=S.state,w=E.dataStartIndex,T=E.dataEndIndex,k=E.updateId;S.setState(H({legendBBox:x},m({props:S.props,dataStartIndex:w,dataEndIndex:T,updateId:k},H(H({},S.state),{},{legendBBox:x}))))}}),ye(De(S),"handleReceiveSyncEvent",function(x,E,w){if(S.props.syncId===x){if(w===S.eventEmitterSymbol&&typeof S.props.syncMethod!="function")return;S.applySyncEvent(E)}}),ye(De(S),"handleBrushChange",function(x){var E=x.startIndex,w=x.endIndex;if(E!==S.state.dataStartIndex||w!==S.state.dataEndIndex){var T=S.state.updateId;S.setState(function(){return H({dataStartIndex:E,dataEndIndex:w},m({props:S.props,dataStartIndex:E,dataEndIndex:w,updateId:T},S.state))}),S.triggerSyncEvent({dataStartIndex:E,dataEndIndex:w})}}),ye(De(S),"handleMouseEnter",function(x){var E=S.getMouseInfo(x);if(E){var w=H(H({},E),{},{isTooltipActive:!0});S.setState(w),S.triggerSyncEvent(w);var T=S.props.onMouseEnter;Re(T)&&T(w,x)}}),ye(De(S),"triggeredAfterMouseMove",function(x){var E=S.getMouseInfo(x),w=E?H(H({},E),{},{isTooltipActive:!0}):{isTooltipActive:!1};S.setState(w),S.triggerSyncEvent(w);var T=S.props.onMouseMove;Re(T)&&T(w,x)}),ye(De(S),"handleItemMouseEnter",function(x){S.setState(function(){return{isTooltipActive:!0,activeItem:x,activePayload:x.tooltipPayload,activeCoordinate:x.tooltipPosition||{x:x.cx,y:x.cy}}})}),ye(De(S),"handleItemMouseLeave",function(){S.setState(function(){return{isTooltipActive:!1}})}),ye(De(S),"handleMouseMove",function(x){x.persist(),S.throttleTriggeredAfterMouseMove(x)}),ye(De(S),"handleMouseLeave",function(x){S.throttleTriggeredAfterMouseMove.cancel();var E={isTooltipActive:!1};S.setState(E),S.triggerSyncEvent(E);var w=S.props.onMouseLeave;Re(w)&&w(E,x)}),ye(De(S),"handleOuterEvent",function(x){var E=lTe(x),w=Jn(S.props,"".concat(E));if(E&&Re(w)){var T,k;/.*touch.*/i.test(E)?k=S.getMouseInfo(x.changedTouches[0]):k=S.getMouseInfo(x),w((T=k)!==null&&T!==void 0?T:{},x)}}),ye(De(S),"handleClick",function(x){var E=S.getMouseInfo(x);if(E){var w=H(H({},E),{},{isTooltipActive:!0});S.setState(w),S.triggerSyncEvent(w);var T=S.props.onClick;Re(T)&&T(w,x)}}),ye(De(S),"handleMouseDown",function(x){var E=S.props.onMouseDown;if(Re(E)){var w=S.getMouseInfo(x);E(w,x)}}),ye(De(S),"handleMouseUp",function(x){var E=S.props.onMouseUp;if(Re(E)){var w=S.getMouseInfo(x);E(w,x)}}),ye(De(S),"handleTouchMove",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.throttleTriggeredAfterMouseMove(x.changedTouches[0])}),ye(De(S),"handleTouchStart",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.handleMouseDown(x.changedTouches[0])}),ye(De(S),"handleTouchEnd",function(x){x.changedTouches!=null&&x.changedTouches.length>0&&S.handleMouseUp(x.changedTouches[0])}),ye(De(S),"triggerSyncEvent",function(x){S.props.syncId!==void 0&&Nb.emit(Mb,S.props.syncId,x,S.eventEmitterSymbol)}),ye(De(S),"applySyncEvent",function(x){var E=S.props,w=E.layout,T=E.syncMethod,k=S.state.updateId,O=x.dataStartIndex,P=x.dataEndIndex;if(x.dataStartIndex!==void 0||x.dataEndIndex!==void 0)S.setState(H({dataStartIndex:O,dataEndIndex:P},m({props:S.props,dataStartIndex:O,dataEndIndex:P,updateId:k},S.state)));else if(x.activeTooltipIndex!==void 0){var B=x.chartX,I=x.chartY,F=x.activeTooltipIndex,V=S.state,U=V.offset,M=V.tooltipTicks;if(!U)return;if(typeof T=="function")F=T(M,x);else if(T==="value"){F=-1;for(var L=0;L=0){var ae,Z;if(B.dataKey&&!B.allowDuplicatedCategory){var z=typeof B.dataKey=="function"?$:"payload.".concat(B.dataKey.toString());ae=tE(L,z,F),Z=N&&W&&tE(W,z,F)}else ae=L==null?void 0:L[I],Z=N&&W&&W[I];if(fe||ie){var be=x.props.activeIndex!==void 0?x.props.activeIndex:I;return[C.cloneElement(x,H(H(H({},T.props),de),{},{activeIndex:be})),null,null]}if(!We(ae))return[Ae].concat(fc(S.renderActivePoints({item:T,activePoint:ae,basePoint:Z,childIndex:I,isRange:N})))}else{var ve,oe=(ve=S.getItemByXY(S.state.activeCoordinate))!==null&&ve!==void 0?ve:{graphicalItem:Ae},xe=oe.graphicalItem,Te=xe.item,Ke=Te===void 0?x:Te,lr=xe.childIndex,Ce=H(H(H({},T.props),de),{},{activeIndex:lr});return[C.cloneElement(Ke,Ce),null,null]}return N?[Ae,null,null]:[Ae,null]}),ye(De(S),"renderCustomized",function(x,E,w){return C.cloneElement(x,H(H({key:"recharts-customized-".concat(w)},S.props),S.state))}),ye(De(S),"renderMap",{CartesianGrid:{handler:Tm,once:!0},ReferenceArea:{handler:S.renderReferenceElement},ReferenceLine:{handler:Tm},ReferenceDot:{handler:S.renderReferenceElement},XAxis:{handler:Tm},YAxis:{handler:Tm},Brush:{handler:S.renderBrush,once:!0},Bar:{handler:S.renderGraphicChild},Line:{handler:S.renderGraphicChild},Area:{handler:S.renderGraphicChild},Radar:{handler:S.renderGraphicChild},RadialBar:{handler:S.renderGraphicChild},Scatter:{handler:S.renderGraphicChild},Pie:{handler:S.renderGraphicChild},Funnel:{handler:S.renderGraphicChild},Tooltip:{handler:S.renderCursor,once:!0},PolarGrid:{handler:S.renderPolarGrid,once:!0},PolarAngleAxis:{handler:S.renderPolarAxis},PolarRadiusAxis:{handler:S.renderPolarAxis},Customized:{handler:S.renderCustomized}}),S.clipPathId="".concat((g=y.id)!==null&&g!==void 0?g:a1("recharts"),"-clip"),S.throttleTriggeredAfterMouseMove=wF(S.triggeredAfterMouseMove,(b=y.throttleDelay)!==null&&b!==void 0?b:1e3/60),S.state={},S}return jIe(v,[{key:"componentDidMount",value:function(){var g,b;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(g=this.props.margin.left)!==null&&g!==void 0?g:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var g=this.props,b=g.children,S=g.data,x=g.height,E=g.layout,w=bn(b,Ea);if(w){var T=w.props.defaultIndex;if(!(typeof T!="number"||T<0||T>this.state.tooltipTicks.length)){var k=this.state.tooltipTicks[T]&&this.state.tooltipTicks[T].value,O=cA(this.state,S,T,k),P=this.state.tooltipTicks[T].coordinate,B=(this.state.offset.top+x)/2,I=E==="horizontal",F=I?{x:P,y:B}:{y:P,x:B},V=this.state.formattedGraphicalItems.find(function(M){var L=M.item;return L.type.name==="Scatter"});V&&(F=H(H({},F),V.props.points[T].tooltipPosition),O=V.props.points[T].tooltipPayload);var U={activeTooltipIndex:T,isTooltipActive:!0,activeLabel:k,activePayload:O,activeCoordinate:F};this.setState(U),this.renderCursor(w),this.accessibilityManager.setIndex(T)}}}},{key:"getSnapshotBeforeUpdate",value:function(g,b){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==b.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==g.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==g.margin){var S,x;this.accessibilityManager.setDetails({offset:{left:(S=this.props.margin.left)!==null&&S!==void 0?S:0,top:(x=this.props.margin.top)!==null&&x!==void 0?x:0}})}return null}},{key:"componentDidUpdate",value:function(g){nE([bn(g.children,Ea)],[bn(this.props.children,Ea)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var g=bn(this.props.children,Ea);if(g&&typeof g.props.shared=="boolean"){var b=g.props.shared?"axis":"item";return u.indexOf(b)>=0?b:o}return o}},{key:"getMouseInfo",value:function(g){if(!this.container)return null;var b=this.container,S=b.getBoundingClientRect(),x=Fke(S),E={chartX:Math.round(g.pageX-x.left),chartY:Math.round(g.pageY-x.top)},w=S.width/b.offsetWidth||1,T=this.inRange(E.chartX,E.chartY,w);if(!T)return null;var k=this.state,O=k.xAxisMap,P=k.yAxisMap,B=this.getTooltipEventType();if(B!=="axis"&&O&&P){var I=Vu(O).scale,F=Vu(P).scale,V=I&&I.invert?I.invert(E.chartX):null,U=F&&F.invert?F.invert(E.chartY):null;return H(H({},E),{},{xValue:V,yValue:U})}var M=mL(this.state,this.props.data,this.props.layout,T);return M?H(H({},E),M):null}},{key:"inRange",value:function(g,b){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,x=this.props.layout,E=g/S,w=b/S;if(x==="horizontal"||x==="vertical"){var T=this.state.offset,k=E>=T.left&&E<=T.left+T.width&&w>=T.top&&w<=T.top+T.height;return k?{x:E,y:w}:null}var O=this.state,P=O.angleAxisMap,B=O.radiusAxisMap;if(P&&B){var I=Vu(P);return tR({x:E,y:w},I)}return null}},{key:"parseEventsOfWrapper",value:function(){var g=this.props.children,b=this.getTooltipEventType(),S=bn(g,Ea),x={};S&&b==="axis"&&(S.props.trigger==="click"?x={onClick:this.handleClick}:x={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var E=q0(this.props,this.handleOuterEvent);return H(H({},E),x)}},{key:"addListener",value:function(){Nb.on(Mb,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Nb.removeListener(Mb,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(g,b,S){for(var x=this.state.formattedGraphicalItems,E=0,w=x.length;E{if(Number(r)<=0)return null;const o=Number(a.x)+Number(e)/2,s=Number(a.y)+Number(t)/2;return A.jsxs(re.text,{name:i,fill:"chakra-body-text",className:"recharts-text recharts-label",x:o,y:s,offset:n,textAnchor:"middle",fontSize:"40%",children:[A.jsx("title",{children:i}),A.jsx("tspan",{x:o,dy:"0.355em",children:r})]})};function u7e({values:e,max:t}){const[r,n]=vN("colors",["colors.complete","colors.accent"]),i=C.useMemo(()=>[e.reduce((a,o,s)=>({...a,[s.toString()]:o.value}),{name:"progress bar"})],[e]);return A.jsx(Rke,{children:A.jsxs(o7e,{data:i,layout:"vertical",margin:{top:0,left:0,right:0,bottom:0},children:[A.jsx(T1,{type:"number",hide:!0,domain:[0,t]}),A.jsx(O1,{type:"category",dataKey:"name",hide:!0}),A.jsx("defs",{children:A.jsxs("pattern",{id:"partial",x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:[A.jsx(re.rect,{fill:"chakra-body-bg",x:"0",y:"0",width:"10",height:"10"}),A.jsx(re.rect,{fill:"partial",x:"0",width:"5px",height:"5px",y:"0"}),A.jsx(re.rect,{fill:"partial",x:"5",width:"5px",height:"5px",y:"5"})]})}),e.map((a,o)=>A.jsx(wu,{dataKey:o.toString(),stackId:"s",fill:a.color==="partial"?"url(#partial)":r,...o===0?{background:{fill:n}}:{},label:A.jsx(s7e,{title:a.name}),isAnimationActive:!1},o))]})})}function so({title:e,icon:t,loading:r=!1,values:n,max:i,children:a}){return A.jsxs(MI,{isDisabled:r,children:[A.jsxs(RI,{fontSize:"3xl",children:[A.jsxs(Ua,{direction:"row",flex:"1",textAlign:"left",children:[A.jsx(Oc,{src:t}),A.jsx(qs,{fontSize:["xl",null,"3xl"],fontWeight:"normal",children:e})]}),A.jsx(_n,{alignSelf:"stretch",flex:"1 1",children:A.jsx(u7e,{values:n,max:i})}),r?A.jsx(ST,{}):A.jsx(NI,{})]}),A.jsx(BI,{children:A.jsx(Ua,{spacing:4,children:a})})]})}const yL=[6423,6428,6429,6430,6431,6432],bL=[6495,6501,6504,6505,6508,6509,6510,6511,6545],SL=[6440,6441,6442,6443,6444,6445],xL=[6447,6448,6449,6450,6451,6452],EL=[6454,6455,6456,6457,6458,6459],AL=[6462,6463,6464,6465,6466,6467],wL=[6469,6470,6471,6472,6473,6474],CL=[6476,6477,6478,6479,6480,6481];function l7e(){const e=Ee(yT);return A.jsxs(so,{title:"Dreadsylvania",icon:"itemimages/dvtat.gif",loading:!1,values:[],max:1,children:[A.jsx(NCe,{}),A.jsx(Ye,{title:"The Terrified Eagle Inn",image:"itemimages/dv_krueggerand.gif",children:A.jsx(Dt,{items:yL,playerItems:yL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Other Untradables",image:"itemimages/dv_badge.gif",children:A.jsx(Dt,{items:bL,playerItems:bL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Falls-From-Sky",image:"itemimages/bb_speedo.gif",children:A.jsx(Dt,{items:SL,playerItems:SL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Great Wolf of the Air",image:"itemimages/ww_bazooka.gif",children:A.jsx(Dt,{items:xL,playerItems:xL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Zombie Homeowners' Association",image:"itemimages/zh_pad.gif",children:A.jsx(Dt,{items:EL,playerItems:EL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Mayor Ghost",image:"itemimages/mg_gavel.gif",children:A.jsx(Dt,{items:AL,playerItems:AL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Count Drunkula",image:"itemimages/dr_wineglass.gif",children:A.jsx(Dt,{items:wL,playerItems:wL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"The Unkillable Skeleton",image:"itemimages/sk_leg.gif",children:A.jsx(Dt,{items:CL,playerItems:CL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}const c7e=[38,39,40,41],f7e=[29,31,33,37,43],d7e=[28,30,32,36,42],TL=[3220,3328,3329,3330,3331,3332,3333,3140,3334,3335,3404],OL=[3310,3311,3312,3313,3314,3315],_L=[3260,3261,3262,3383,3384,3385],kL=[3251,3252,3253,3286,3389,3391],PL=[3246,3247,3248,3380,3381,3382],DL=[3254,3255,3256,3392,3393,3394],RL=[3257,3258,3259,3386,3387,3388],LL=[3395,3396,3397,3405,3406,3407,3408,3409,3410,3411];function p7e(){const e=Ee(yT);return A.jsxs(so,{title:"Hobopolis",icon:"otherimages/sigils/hobotat19.gif",loading:!1,values:[],max:1,children:[A.jsx(Ye,{title:"Hodgman's Journal Skills",image:"itemimages/blacknotebook.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:c7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Weak Elemental Skills",image:"itemimages/book3.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:f7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Strong Elemental Skills",image:"itemimages/book4.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:d7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Hobo Nickles",image:"itemimages/nickel.gif",children:A.jsx(Dt,{items:TL,playerItems:TL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Hobo Instruments",image:"itemimages/triangle.gif",children:A.jsx(Dt,{items:OL,playerItems:OL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Chester",image:"itemimages/chestache.gif",children:A.jsx(Dt,{items:_L,playerItems:_L.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Frosty",image:"itemimages/frostyhat.gif",children:A.jsx(Dt,{items:kL,playerItems:kL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Ol' Scratch",image:"itemimages/pitchfork2.gif",children:A.jsx(Dt,{items:PL,playerItems:PL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Oscus",image:"itemimages/oscuswand.gif",children:A.jsx(Dt,{items:DL,playerItems:DL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Zombo",image:"itemimages/zomboshield.gif",children:A.jsx(Dt,{items:RL,playerItems:RL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Hodgman",image:"itemimages/stuffhodg.gif",children:A.jsx(Dt,{items:LL,playerItems:LL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}const h7e=[46,47,48],NL=[4127,4128,4129],ML=[4021,4022,4023,4024,4025,4026,4027,4028,5760],IL=[4075,4076,4077,4078,4079,4080,4081,4082,5761];function m7e(){const e=Ee(yT);return A.jsxs(so,{title:"Slime Tube",icon:"itemimages/slimeling.gif",loading:!1,values:[],max:1,children:[A.jsx(Ye,{title:"Skills",image:"itemimages/slimehypo.gif",children:A.jsx(Ri,{columns:6,spacing:1,children:h7e.map(t=>A.jsx(Nt,{id:t},t))})}),A.jsx(Ye,{title:"Slime-Covered",image:"itemimages/slimelantern.gif",children:A.jsx(Dt,{items:ML,playerItems:ML.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Caustic Slime",image:"itemimages/causticnodule.gif",children:A.jsx(Dt,{items:IL,playerItems:IL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})}),A.jsx(Ye,{title:"Mother Slime",image:"itemimages/slimelarva.gif",children:A.jsx(Dt,{items:NL,playerItems:NL.map(t=>{var r;return((r=e[t])==null?void 0:r[1])??0})})})]})}function g7e(){return A.jsxs(sC,{allowMultiple:!0,children:[A.jsx(p7e,{}),A.jsx(m7e,{}),A.jsx(l7e,{})]})}function s3({title:e}){return A.jsx(by,{src:"/medal.png",title:e,height:"20px",mt:1,mr:1})}function v7e(e){switch(e){case lu.TERRARIUM:return"complete";case lu.HATCHLING:return"partial";default:return null}}function y7e(e){switch(e){case lu.TERRARIUM:return"Have in terrarium";case lu.HATCHLING:return"Have as hatchling";default:return"Do not have"}}function b7e({familiar:e,status:t,hundredPercent:r}){return A.jsx(xu,{type:"familiar",name:e.name,image:`itemimages/${e.image}`,state:v7e(t),title:y7e(t),badges:r?A.jsx(s3,{title:"100% run"}):null})}function S7e({familiars:e}){return e.length===0?null:A.jsx(Ri,{spacingX:3,columns:3,width:"30%",templateColumns:"repeat(3, max-content)",children:e.map(t=>A.jsxs(C.Fragment,{children:[A.jsx(Ta,{children:t.name}),A.jsx(Oc,{src:`itemimages/${t.image}`,sourceWidth:30,width:"20px",height:"20px"}),A.jsx(s3,{title:"100% run"})]},t.id))})}const bh=e=>(t,r)=>{const n=t[e]||0,i=r[e]||0;return ni?1:0};function Sh({onChange:e,value:t,alphabeticalKey:r,chronologicalKey:n}){return A.jsx(b7,{size:"sm",onChange:e,value:t,children:A.jsxs(Ua,{direction:"row",justifyContent:"end",children:[A.jsx(px,{value:r,children:"Alphabetical"}),A.jsx(px,{value:n,children:"Chronological"})]})})}const x7e=is("familiars");function E7e(){const[e,t]=C.useState("id"),r=Ee(x7e),n=Ee(c=>c.familiars),i=C.useMemo(()=>n.filter(c=>la.isFamiliarOwnable(c)).toSorted(bh(e)),[n,e]),a=Ee(c=>c.loading.familiars||!1),o=C.useMemo(()=>r.filter(c=>c[1]===lu.TERRARIUM).length,[r]),s=C.useMemo(()=>r.filter(c=>c[1]===lu.HATCHLING).length,[r]),u=C.useMemo(()=>r.reduce((c,f)=>({...c,[f[0]]:f}),{}),[r]),l=C.useMemo(()=>n.filter(c=>!la.isFamiliarOwnable(c)).filter(c=>{var f;return((f=u[c.id])==null?void 0:f[2])??!1}),[n]);return A.jsxs(so,{title:"Familiars",icon:"itemimages/terrarium.gif",loading:a,values:[{color:"partial",value:s,name:`${s} / ${i.length} as hatching`},{color:"complete",value:o,name:`${o} / ${i.length} in terrarium`}],max:i.length,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),A.jsx(Ri,{columns:6,spacing:1,children:i.map(c=>{var f,d;return A.jsx(b7e,{familiar:c,status:((f=u[c.id])==null?void 0:f[1])??0,hundredPercent:((d=u[c.id])==null?void 0:d[2])??!1},c.id)})}),A.jsx(S7e,{familiars:l})]})}function A7e(e){switch(e){case Xl.BOUND:return"complete";case Xl.BOXED:return"partial";default:return null}}function w7e(e,t){switch(t){case Xl.BOUND:return e.type!=="vip"?"Have":"Have access if your clan owns one";case Xl.BOXED:return"Have store item";default:return"Do not have"}}function C7e({item:e,status:t,iotm:r}){return e?A.jsx(xu,{type:"item",name:e.name,image:`itemimages/${e.image}`,state:A7e(t),title:w7e(r,t)}):null}const T7e=is("iotms");function O7e(){const e=Ee(T7e),t=Ee(c=>c.iotms),r=Ee(c=>c.loading.iotms||!1),n=Ee(c=>c.items),i=C.useMemo(()=>t.filter(c=>c.type==="vip").map(c=>c.id),[t]),a=C.useMemo(()=>e.findIndex(c=>i.includes(c[0]))>-1,[e,i]),o=C.useMemo(()=>t.length-(i.length-1),[t]),s=C.useMemo(()=>e.filter(c=>c[1]==Xl.BOUND).map(c=>c[0]).length-(a?i.length-1:0),[e]),u=C.useMemo(()=>e.reduce((c,f)=>({...c,[f[0]]:f[1]}),{}),[e]),l=C.useMemo(()=>[...Array(9).map(c=>null),...t],[t]);return A.jsx(so,{title:"IotMs",icon:"itemimages/mracc.gif",loading:r,values:[{color:"complete",value:s,name:`${s} / ${o} IotMs bound`}],max:t.length,children:A.jsx(qU,{idToStatus:u,items:l,columns:12,getRowLabel:c=>2004+c,renderItem:c=>A.jsx(C7e,{item:n[c.id],iotm:c,status:u[c.id]??0},c.id)})})}function _7e(e,t,r){return t1(e)&&t==Gd.HAVE_OUTFIT?"partial":t>=r?"complete":t>0?"partial":null}function k7e(e,t,r){const n=r>1?` (level ${t} / ${r})`:"";return t1(e)&&t==Gd.HAVE_OUTFIT?"Have necessary outfit":t>=r?"Have"+n:t>0?"Partially have"+n:"Do not have"+n}function P7e({tattoo:e,level:t}){const r=uT(e),n=Hd(e.image)[Math.min(r,t>0?t:r)-1];return A.jsx(xu,{type:"tattoo",name:e.name,image:`otherimages/sigils/${n}.gif`,sourceWidth:50,state:_7e(e,t,r),title:k7e(e,t,r),link:D7e(e)})}function D7e(e){if(t1(e))return;if(sT(e))return"Tattoo#Miscellaneous_Tattoos";const t=Hd(e.image)[0];return t.startsWith("class")?t.endsWith("hc")?"Tattoo#Ascension_Tattoos":"Tattoo#Class_Tattoos":isNaN(parseFloat(t[t.length-1]))?"Tattoo":"Tattoo#Ascension_Tattoos"}function k1({tattoos:e,getLevel:t}){return A.jsx(Ri,{columns:[4,null,6],spacing:1,children:e.map((r,n)=>A.jsx(P7e,{tattoo:r,level:t(r,n)},r.name))})}const R7e={[uU]:e=>2015+e,[lU]:e=>e===0?null:2015+(e-1)};function L7e({path:e,points:t,items:r,equipment:n,tattoos:i}){return A.jsxs(Ye,{title:e.name,image:e.image,right:e.maxPoints>0&&A.jsx(_n,{alignSelf:"start",position:"relative",children:A.jsxs(xy,{title:`${t} points out of a possible ${e.maxPoints}`,position:"absolute",top:0,children:[t," / ",e.maxPoints]})}),children:[e.items.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Items"}),A.jsx(Dt,{items:e.items,playerItems:r})]}),e.equipment.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Equipment"}),A.jsx(Dt,{items:e.equipment,playerItems:n,getRowLabel:R7e[e.id]})]}),e.tattoos.length>0&&A.jsxs(A.Fragment,{children:[A.jsx(qs,{as:"h4",textTransform:"uppercase",fontSize:"xs",children:"Tattoos"}),A.jsx(k1,{tattoos:e.tattoos,getLevel:(a,o)=>i[o]||0})]})]})}function N7e(){const[e,t]=C.useState("id"),r=Ee(vT),n=Ee(f=>f.paths),i=C.useMemo(()=>n.toSorted(bh(e)),[n,e]),a=Ee(f=>f.loading.paths||!1),o=C.useMemo(()=>i.reduce((f,d)=>({...f,[d.id]:d.tattoos.map(uT)}),{}),[i]),s=C.useMemo(()=>r.reduce((f,d)=>f+[...d[2],...d[3]].length+(o[d[0]]??[]).reduce((p,m)=>p+m,0),0),[r,o]),u=C.useMemo(()=>r.reduce((f,d)=>f+[...d[2],...d[3]].reduce((p,m)=>p+m,0)+d[4].reduce((p,m,h)=>p+m,0),0),[r]),l=C.useMemo(()=>r.reduce((f,d)=>f+d[4].reduce((p,m,h)=>{var v;return p+Math.max(0,(((v=o[d[0]])==null?void 0:v[h])??0)-(m+1))},0),0),[r,o]),c=C.useMemo(()=>r.reduce((f,d)=>({...f,[d[0]]:d}),{}),[r]);return A.jsxs(so,{title:"Paths",icon:"itemimages/map.gif",loading:a,values:[{color:"partial",value:l,name:`${l} / ${s} path rewards partially earned`},{color:"complete",value:u,name:`${u} / ${s} path rewards completely earned`}],max:s,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),i.map(f=>{var d,p,m,h;return A.jsx(L7e,{path:f,points:((d=c[f.id])==null?void 0:d[1])??0,items:((p=c[f.id])==null?void 0:p[2])??[],equipment:((m=c[f.id])==null?void 0:m[3])??[],tattoos:((h=c[f.id])==null?void 0:h[4])??[]},f.name)})]})}function M7e({titles:e,images:t,active:r,overlap:n=10}){return A.jsx(_n,{ml:`${n}px`,children:t.map((i,a)=>A.jsx(_n,{title:V0.decode(e[a]),ml:`-${n}px`,display:"inline-block",position:"relative",zIndex:a===r?2:1,filter:`brightness(${a===r?1:.8})`,children:A.jsx(Oc,{src:`itemimages/${i}`,sourceWidth:30})},i))})}function I7e({groupName:e,skills:t,statuses:r}){var i;const n=r.findIndex(a=>a>_i.NONE);return A.jsx(xu,{link:((i=t[n])==null?void 0:i.name)??t[0].name,type:"skill",name:e,image:A.jsx(M7e,{titles:t.map(a=>a.name),images:t.map(a=>a.image),active:n}),state:jU(r[n]),title:zU(r[n])})}function B7e({bucket:e,cls:t,medal:r,children:n}){const[i,a]=OCe(e,t);return A.jsx(Ye,{title:i,image:a,right:r&&t&&A.jsx(s3,{title:"100% marked hardcore permanent"}),children:n})}const U7e=cU.reduce((e,t)=>e+t.skillIds.length-1,0);function F7e(){const e=Ee(TU),t=Ee(OU),r=Ee(m=>m.skills),n=C.useMemo(()=>r.filter(m=>la.isSkillPermable(m)),[r]),i=Ee(m=>m.classes),a=Ee(m=>m.loading.skills||!1),o=C.useMemo(()=>e.filter(m=>m[1]===_i.HARDCORE).length,[e]),s=C.useMemo(()=>e.filter(m=>m[1]===_i.SOFTCORE).length,[e]),u=C.useMemo(()=>i.reduce((m,h)=>({...m,[h.id]:h}),{}),[i]),l=C.useMemo(()=>n.reduce((m,h)=>{const v=TCe(h);return{...m,[v]:[...m[v]||[],h]}},{}),[n]),c=C.useMemo(()=>Object.entries(l).map(([m,h])=>[Number(m),h]).sort((m,h)=>m[0]===0||m[0]<1&&h[0]>=1?1:h[0]===0||h[0]<1&&m[0]>=1?-1:m[0]-h[0]),[l]),f=n.length-U7e,d=[];function p(m){const h=cU.find(y=>y.skillIds.includes(m.id));if(!h)return!1;if(d.push(m),h.skillIds[h.skillIds.length-1]!==m.id)return null;const v=[...d];return d.length=0,A.jsx(I7e,{groupName:h.groupName,skills:v,statuses:v.map(y=>{var g;return((g=t[y.id])==null?void 0:g[1])??_i.NONE})},m.id)}return A.jsx(so,{title:"Skills",icon:"itemimages/book3.gif",loading:a,values:[{color:"partial",value:s,name:`${s} / ${f} softcore permed`},{color:"complete",value:o,name:`${o} / ${f} hardcore permed`}],max:f,children:c.map(([m,h])=>{const v=h.every(y=>{var g;return((g=t[y.id])==null?void 0:g[1])===_i.HARDCORE});return A.jsx(B7e,{bucket:Number(m),cls:u[Number(m)],medal:v,children:A.jsx(Ri,{columns:6,spacing:1,children:h.map(y=>{const g=p(y);return g!==!1?g:A.jsx(Nt,{id:y.id},y.id)})})},m)})})}function j7e(){const e=Ee(o=>o.tattoos),t=Ee(kU),[r,n]=C.useState("name"),i=C.useMemo(()=>e.filter(sT).toSorted(bh(r)),[e,r]),a=C.useMemo(()=>t.reduce((o,s)=>({...o,[s[0]]:s}),{}),[t]);return A.jsx(Ye,{title:"Miscellaneous",image:"itemimages/bgetat.gif",farRight:!0,right:A.jsx(Sh,{onChange:n,value:r,alphabeticalKey:"name",chronologicalKey:"misc"}),children:A.jsx(k1,{tattoos:i,getLevel:o=>{var s;return((s=a[o.misc])==null?void 0:s[1])??0}})})}function z7e(){const e=Ee(o=>o.tattoos),t=Ee(_U),[r,n]=C.useState("name"),i=C.useMemo(()=>e.filter(t1).toSorted(bh(r)),[e,r]),a=C.useMemo(()=>t.reduce((o,s)=>({...o,[s[0]]:s}),{}),[t]);return A.jsx(Ye,{title:"Outfits",image:"itemimages/palette.gif",farRight:!0,right:A.jsx(Sh,{onChange:n,value:r,alphabeticalKey:"name",chronologicalKey:"outfit"}),children:A.jsx(k1,{tattoos:i,getLevel:o=>{var s;return((s=a[o.outfit])==null?void 0:s[1])??0}})})}function V7e(){const e=Ee(a=>a.paths),t=Ee(vT),r=C.useMemo(()=>t.reduce((a,o)=>({...a,[o[0]]:o}),{}),[t]),[n,i]=C.useMemo(()=>_Ce(e.flatMap(a=>a.tattoos.map((o,s)=>{var u;return Wd([{...o,name:`${a.name} - ${o.name}`},(u=r[a.id])==null?void 0:u[4][s]])}))),[e,r]);return A.jsx(Ye,{title:"Ascension",image:"itemimages/rip.gif",children:A.jsx(k1,{tattoos:n,getLevel:(a,o)=>i[o]??0})})}function q7e(){const e=Ee(_U),t=Ee(kU),r=Ee(vT),n=Ee(d=>d.tattoos),i=Ee(d=>d.paths),a=Ee(d=>d.loading.tattoos??!1),o=i.flatMap(d=>d.tattoos).length,s=C.useMemo(()=>i.reduce((d,p)=>({...d,[p.id]:p}),{}),[i]),u=C.useMemo(()=>n.filter(sT).reduce((d,p)=>({...d,[p.misc]:uT(p)}),{}),[n]),l=C.useMemo(()=>e.filter(d=>d[1]===Gd.HAVE).length+t.filter(d=>d[1]>=u[d[0]]).length+r.flatMap(d=>{var p;return(p=s[d[0]])==null?void 0:p.tattoos.filter((m,h)=>d[4][h]>=Hd(m.image).length)}).length,[e,t]),c=C.useMemo(()=>e.filter(d=>d[1]===Gd.HAVE_OUTFIT).length+t.filter(d=>d[1]>0&&d[1]{var m;return(m=s[d])==null?void 0:m.tattoos.filter((h,v)=>p[v]>0&&p[v]u.trophies),i=C.useMemo(()=>n.toSorted(bh(e)),[n,e]),a=Ee(u=>u.loading.trophies||!1),o=C.useMemo(()=>r.filter(u=>u[1]==r1.HAVE).length,[r]),s=C.useMemo(()=>r.reduce((u,l)=>({...u,[l[0]]:l}),{}),[r]);return A.jsxs(so,{title:"Trophies",icon:"itemimages/trophy.gif",loading:a,values:[{color:"complete",value:o,name:`${o} / ${i.length} tattoos unlocked`}],max:i.length,children:[A.jsx(Sh,{onChange:t,value:e,alphabeticalKey:"name",chronologicalKey:"id"}),A.jsx(Ri,{columns:[3,null,6],spacing:1,children:i.map(u=>{var l;return A.jsx(G7e,{trophy:u,status:((l=s[u.id])==null?void 0:l[1])??0},u.id)})})]})}function Y7e(){return A.jsxs(sC,{allowMultiple:!0,children:[A.jsx(O7e,{}),A.jsx(F7e,{}),A.jsx(N7e,{}),A.jsx(E7e,{}),A.jsx(q7e,{}),A.jsx($7e,{})]})}var X7e=sae({displayName:"QuestionOutlineIcon",path:A.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[A.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),A.jsx("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),A.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]})});function ir(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}const Om=43200,BL=1440;let Z7e={};function Q7e(){return Z7e}function UL(e){const t=ir(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function gg(e,t){const r=ir(e),n=ir(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}function J7e(e,t){const r=ir(e),n=ir(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function e9e(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return n===0?0:n}}function t9e(e,t){return+ir(e)-+ir(t)}function r9e(e){const t=ir(e);return t.setHours(23,59,59,999),t}function n9e(e){const t=ir(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function i9e(e){const t=ir(e);return+r9e(t)==+n9e(t)}function a9e(e,t){const r=ir(e),n=ir(t),i=gg(r,n),a=Math.abs(J7e(r,n));let o;if(a<1)o=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);let s=gg(r,n)===-i;i9e(ir(e))&&a===1&&gg(e,n)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function o9e(e,t,r){const n=t9e(e,t)/1e3;return e9e(r==null?void 0:r.roundingMethod)(n)}const s9e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},u9e=(e,t,r)=>{let n;const i=s9e[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Bb(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const l9e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c9e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f9e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},d9e={date:Bb({formats:l9e,defaultWidth:"full"}),time:Bb({formats:c9e,defaultWidth:"full"}),dateTime:Bb({formats:f9e,defaultWidth:"full"})},p9e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},h9e=(e,t,r,n)=>p9e[e];function ff(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let i;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const m9e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},g9e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v9e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},y9e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},b9e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},S9e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},x9e=(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},E9e={ordinalNumber:x9e,era:ff({values:m9e,defaultWidth:"wide"}),quarter:ff({values:g9e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ff({values:v9e,defaultWidth:"wide"}),day:ff({values:y9e,defaultWidth:"wide"}),dayPeriod:ff({values:b9e,defaultWidth:"wide",formattingValues:S9e,defaultFormattingWidth:"wide"})};function df(e){return(t,r={})=>{const n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?w9e(s,f=>f.test(o)):A9e(s,f=>f.test(o));let l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;const c=t.slice(o.length);return{value:l,rest:c}}}function A9e(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function w9e(e,t){for(let r=0;r{const n=t.match(e.matchPattern);if(!n)return null;const i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const T9e=/^(\d+)(th|st|nd|rd)?/i,O9e=/\d+/i,_9e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k9e={any:[/^b/i,/^(a|c)/i]},P9e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D9e={any:[/1/i,/2/i,/3/i,/4/i]},R9e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},L9e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},N9e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},M9e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},I9e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},B9e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},U9e={ordinalNumber:C9e({matchPattern:T9e,parsePattern:O9e,valueCallback:e=>parseInt(e,10)}),era:df({matchPatterns:_9e,defaultMatchWidth:"wide",parsePatterns:k9e,defaultParseWidth:"any"}),quarter:df({matchPatterns:P9e,defaultMatchWidth:"wide",parsePatterns:D9e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:df({matchPatterns:R9e,defaultMatchWidth:"wide",parsePatterns:L9e,defaultParseWidth:"any"}),day:df({matchPatterns:N9e,defaultMatchWidth:"wide",parsePatterns:M9e,defaultParseWidth:"any"}),dayPeriod:df({matchPatterns:I9e,defaultMatchWidth:"any",parsePatterns:B9e,defaultParseWidth:"any"})},F9e={code:"en-US",formatDistance:u9e,formatLong:d9e,formatRelative:h9e,localize:E9e,match:U9e,options:{weekStartsOn:0,firstWeekContainsDate:1}};function j9e(e,t,r){const n=Q7e(),i=(r==null?void 0:r.locale)??n.locale??F9e,a=2520,o=gg(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const s=Object.assign({},r,{addSuffix:r==null?void 0:r.addSuffix,comparison:o});let u,l;o>0?(u=ir(t),l=ir(e)):(u=ir(e),l=ir(t));const c=o9e(l,u),f=(UL(l)-UL(u))/1e3,d=Math.round((c-f)/60);let p;if(d<2)return r!=null&&r.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,s):c<10?i.formatDistance("lessThanXSeconds",10,s):c<20?i.formatDistance("lessThanXSeconds",20,s):c<40?i.formatDistance("halfAMinute",0,s):c<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):d===0?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",d,s);if(d<45)return i.formatDistance("xMinutes",d,s);if(d<90)return i.formatDistance("aboutXHours",1,s);if(ds.playerId),t=Ee(s=>s.favouritePlayerId),r=t===e,n=r?"star_full":"star",i=r?"Stop remembering this player":`Remember this player${t?` (currently your favourite is #${t})`:""}`,a=bT(),o=C.useCallback(s=>{s.preventDefault(),a(wU(r?null:e))},[a,r,e]);return A.jsx(lC,{size:"xs",onClick:o,"aria-label":i,title:i,icon:A.jsx(i1,{height:"60%",src:`/${n}.png`})})}function W9e({current:e,data:t}){return t>=e?null:A.jsx(EC,{p:2,label:`This snapshot was made with an older version of greenbox (v${t}) and some data may be rendered incorrectly.`,children:A.jsx(by,{height:"60%",src:"/warning.png"})})}function H9e({meta:e,direct:t}){const[r,n]=C.useState(new Date),i=C.useMemo(()=>new Date(e.timestamp),[e.timestamp]),a=C.useMemo(()=>z9e(i,{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),[i]);C.useEffect(()=>{const s=setInterval(()=>n(new Date),6e4);return()=>clearInterval(s)},[]);const o=C.useMemo(()=>j9e(i,r,{addSuffix:!0}),[r,i]);return A.jsxs(Sy,{fontSize:"large",spacing:"0.25em",wrap:"wrap",children:[A.jsx(Ta,{title:`r${e.revision}`,children:`${t?"Private s":"S"}napshot`})," ",A.jsx(Ta,{children:"by"})," ",A.jsx(Ta,{fontWeight:"bold",title:`Player #${e.id}`,children:e.name})," ",A.jsx(Ta,{children:"from"})," ",A.jsx(Ta,{title:a,children:o}),A.jsx(W9e,{current:twe,data:e.version}),!t&&A.jsx(q9e,{})]})}function G9e(){const{toggleColorMode:e}=Ip(),t=xg("dark","light"),r=xg("moon","sun"),n=`Switch to ${t} mode`,i=C.useCallback(a=>{a.preventDefault(),e()},[e]);return A.jsx(lC,{size:"xs",onClick:i,"aria-label":n,title:n,icon:A.jsx(i1,{height:"60%",src:`/${r}.png`})})}const K9e=` This reloads the general information Greenbox needs to know about the Kingdom of Loathing. Press it if some new content is not appearing at all. It will not collect any new information about you specifically - you still need to run the command in KoLmafia! diff --git a/index.html b/index.html index a91585e..eb713dc 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Greenbox - loathers.net - +