From af28568bd397855946478a14e401334731c9cc80 Mon Sep 17 00:00:00 2001 From: Morta1 Date: Sat, 13 Jan 2024 10:43:53 +0000 Subject: [PATCH] deploy: 91e87f23a59c9688fc57db2e80a287d35bcc2a5a --- 404.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 _next/static/chunks/4346-6b60710ab9225c9b.js | 1 - _next/static/chunks/4346-e873b2f54a8360cd.js | 1 + _next/static/chunks/6426-231d0b386c1fa61a.js | 1 - _next/static/chunks/6426-35cce96c30caa4a0.js | 1 + _next/static/chunks/pages/characters-0ceaae846717a68d.js | 1 + _next/static/chunks/pages/characters-f9a3948f4a73c972.js | 1 - ...{webpack-701ec5b979e567d1.js => webpack-3aae215dfe3f1487.js} | 2 +- account/misc/apocalypses.html | 2 +- account/misc/constellations.html | 2 +- account/misc/dungeons.html | 2 +- account/misc/general.html | 2 +- account/misc/guild.html | 2 +- account/misc/quests.html | 2 +- account/misc/random-events.html | 2 +- account/misc/slab.html | 2 +- account/misc/storage.html | 2 +- account/premium-currency/companions.html | 2 +- account/premium-currency/gem-shop.html | 2 +- account/task-board/achievements.html | 2 +- account/task-board/merits.html | 2 +- account/task-board/tasks.html | 2 +- account/world-1/anvil.html | 2 +- account/world-1/bribes.html | 2 +- account/world-1/forge.html | 2 +- account/world-1/stamps.html | 2 +- account/world-2/arcade-shop.html | 2 +- account/world-2/bubbles.html | 2 +- account/world-2/cauldrons.html | 2 +- account/world-2/islands.html | 2 +- account/world-2/sigils.html | 2 +- account/world-2/vials.html | 2 +- account/world-2/weekly-bosses.html | 2 +- account/world-3/atom-collider.html | 2 +- account/world-3/buildings.html | 2 +- account/world-3/construction.html | 2 +- account/world-3/death-note.html | 2 +- account/world-3/equinox.html | 2 +- account/world-3/prayers.html | 2 +- account/world-3/printer.html | 2 +- account/world-3/refinery.html | 2 +- account/world-3/salt-lick.html | 2 +- account/world-3/traps.html | 2 +- account/world-3/worship.html | 2 +- account/world-4/breeding.html | 2 +- account/world-4/cooking.html | 2 +- account/world-4/laboratory.html | 2 +- account/world-4/rift.html | 2 +- account/world-5/divinity.html | 2 +- account/world-5/gaming.html | 2 +- account/world-5/sailing.html | 2 +- account/world-6/farming.html | 2 +- account/world-6/sneaking.html | 2 +- characters.html | 2 +- dashboard.html | 2 +- data.html | 2 +- guilds.html | 2 +- index.html | 2 +- leaderboards.html | 2 +- patch-notes.html | 2 +- tools.html | 2 +- tools/active-exp-calculator.html | 2 +- tools/builds.html | 2 +- tools/card-search.html | 2 +- tools/god-planner.html | 2 +- tools/guaranteed-drop-calculator.html | 2 +- tools/item-browser.html | 2 +- tools/item-planner.html | 2 +- tools/material-tracker.html | 2 +- 71 files changed, 67 insertions(+), 67 deletions(-) rename _next/static/{cNq10QdbA-XbWSlvCb8fH => TvfhyAZiqJbLIfz7wwU76}/_buildManifest.js (94%) rename _next/static/{cNq10QdbA-XbWSlvCb8fH => TvfhyAZiqJbLIfz7wwU76}/_ssgManifest.js (100%) delete mode 100644 _next/static/chunks/4346-6b60710ab9225c9b.js create mode 100644 _next/static/chunks/4346-e873b2f54a8360cd.js delete mode 100644 _next/static/chunks/6426-231d0b386c1fa61a.js create mode 100644 _next/static/chunks/6426-35cce96c30caa4a0.js create mode 100644 _next/static/chunks/pages/characters-0ceaae846717a68d.js delete mode 100644 _next/static/chunks/pages/characters-f9a3948f4a73c972.js rename _next/static/chunks/{webpack-701ec5b979e567d1.js => webpack-3aae215dfe3f1487.js} (98%) diff --git a/404.html b/404.html index e3b31c77e..b36708f7b 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/_next/static/cNq10QdbA-XbWSlvCb8fH/_buildManifest.js b/_next/static/TvfhyAZiqJbLIfz7wwU76/_buildManifest.js similarity index 94% rename from _next/static/cNq10QdbA-XbWSlvCb8fH/_buildManifest.js rename to _next/static/TvfhyAZiqJbLIfz7wwU76/_buildManifest.js index e9fb8cfdb..310fdaf45 100644 --- a/_next/static/cNq10QdbA-XbWSlvCb8fH/_buildManifest.js +++ b/_next/static/TvfhyAZiqJbLIfz7wwU76/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(c,s,a,t,o,n,e,u,r,d,i,l){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[r,"static/chunks/3582-a78e507e3c2959cf.js",d,"static/chunks/pages/index-5e1d6e5dee842737.js"],"/_error":["static/chunks/pages/_error-83f70c7be3775587.js"],"/account/misc/apocalypses":["static/chunks/558-faaba39934b9f9d2.js",c,s,"static/chunks/pages/account/misc/apocalypses-2c865fc572186a62.js"],"/account/misc/constellations":[o,c,s,"static/chunks/pages/account/misc/constellations-f2276f683dbbd854.js"],"/account/misc/dungeons":[a,"static/chunks/8198-dc718d7cd0d62746.js",c,s,"static/chunks/pages/account/misc/dungeons-8786c6d358fc1f10.js"],"/account/misc/general":[a,e,c,s,i,"static/chunks/pages/account/misc/general-a240195eb4eef1ac.js"],"/account/misc/guild":[e,"static/chunks/pages/account/misc/guild-8bfb0aeb2fdcb2ac.js"],"/account/misc/quests":["static/chunks/294-d61b17fc315eb86e.js","static/chunks/pages/account/misc/quests-b6151771cc63c2a5.js"],"/account/misc/random-events":[c,s,"static/chunks/pages/account/misc/random-events-c2ef2a332f660d83.js"],"/account/misc/slab":[a,n,l,"static/chunks/pages/account/misc/slab-00681b748b5cfa3f.js"],"/account/misc/storage":[l,"static/chunks/pages/account/misc/storage-63e117244933dcbf.js"],"/account/premium-currency/companions":["static/chunks/pages/account/premium-currency/companions-1c70e60a11618120.js"],"/account/premium-currency/gem-shop":[a,"static/chunks/4069-67bce99f194c9cae.js","static/chunks/pages/account/premium-currency/gem-shop-29aeed8a6f468d3b.js"],"/account/task-board/achievements":["static/chunks/pages/account/task-board/achievements-e747d62315936877.js"],"/account/task-board/merits":[a,"static/chunks/pages/account/task-board/merits-b7aea62ca236e039.js"],"/account/task-board/tasks":["static/chunks/pages/account/task-board/tasks-c3885dfd5206f21d.js"],"/account/world-1/anvil":["static/chunks/1941-45f1e4828dee8cbe.js",c,s,"static/chunks/pages/account/world-1/anvil-fdd62bd91f05bcd9.js"],"/account/world-1/bribes":[o,"static/chunks/pages/account/world-1/bribes-7cd55118ade44c7e.js"],"/account/world-1/forge":[o,"static/chunks/pages/account/world-1/forge-8ab70f06b76ced5b.js"],"/account/world-1/stamps":[a,"static/chunks/8852-0cf985761caa273c.js",c,s,"static/chunks/pages/account/world-1/stamps-9409cff729be8e9b.js"],"/account/world-2/arcade-shop":[a,c,s,"static/chunks/pages/account/world-2/arcade-shop-a54cfac78afe8380.js"],"/account/world-2/bubbles":[a,"static/chunks/1871-e284aaaa71bb4715.js",c,s,"static/chunks/pages/account/world-2/bubbles-fa4a2dac01df3de3.js"],"/account/world-2/cauldrons":[a,"static/chunks/pages/account/world-2/cauldrons-56f61cf68428d9ff.js"],"/account/world-2/islands":[a,"static/chunks/pages/account/world-2/islands-ccb0cef24aff7058.js"],"/account/world-2/sigils":[a,c,s,"static/chunks/pages/account/world-2/sigils-aa5ca2cc42854915.js"],"/account/world-2/vials":[a,c,s,"static/chunks/pages/account/world-2/vials-6c11abf0e6d86d50.js"],"/account/world-2/weekly-bosses":[c,s,u,"static/chunks/pages/account/world-2/weekly-bosses-d1067175d5101a3a.js"],"/account/world-3/atom-collider":[a,c,s,"static/chunks/pages/account/world-3/atom-collider-48a1d148c80bd08d.js"],"/account/world-3/buildings":[a,"static/chunks/1195-55e89908b7ad3996.js",c,s,"static/chunks/pages/account/world-3/buildings-9cf6ebefa763de22.js"],"/account/world-3/construction":[a,n,"static/chunks/7975-e6cc07fead4c20f4.js",c,s,"static/chunks/pages/account/world-3/construction-259bdbf161b29a3b.js"],"/account/world-3/death-note":[c,"static/chunks/pages/account/world-3/death-note-8f12d2d9054352ff.js"],"/account/world-3/equinox":[a,"static/chunks/3815-e49cb56c05b7efa3.js","static/chunks/pages/account/world-3/equinox-68781bfcd7bf1c6e.js"],"/account/world-3/prayers":[c,s,"static/chunks/pages/account/world-3/prayers-9498f6dbe7ffbd96.js"],"/account/world-3/printer":[a,c,s,"static/chunks/pages/account/world-3/printer-7160d6cdf3d13efb.js"],"/account/world-3/refinery":[a,"static/chunks/22-7020f5f2cc5399c6.js",c,s,"static/chunks/pages/account/world-3/refinery-299eef80e96b9dae.js"],"/account/world-3/salt-lick":["static/chunks/pages/account/world-3/salt-lick-7cf6b2200c539211.js"],"/account/world-3/traps":[a,"static/chunks/pages/account/world-3/traps-a5ce6f69ff0f2336.js"],"/account/world-3/worship":["static/chunks/4301-e5074703e30994c8.js",c,s,"static/chunks/pages/account/world-3/worship-2ca94486c0b22c60.js"],"/account/world-4/breeding":[a,"static/chunks/6392-166d50be6adc7a9d.js",c,s,"static/chunks/pages/account/world-4/breeding-3a110f3a6d676388.js"],"/account/world-4/cooking":["static/chunks/8972-48f1aeca3127a125.js",c,s,"static/chunks/pages/account/world-4/cooking-ed92550de64ed734.js"],"/account/world-4/laboratory":[t,"static/chunks/4306-d87d2f71c06bc4d5.js",c,s,"static/chunks/pages/account/world-4/laboratory-e3a39427688d90d9.js"],"/account/world-4/rift":["static/chunks/3387-527b6cc992253a05.js",c,s,"static/chunks/pages/account/world-4/rift-57ae30e8cdda688f.js"],"/account/world-5/divinity":[a,c,s,"static/chunks/pages/account/world-5/divinity-682cb58608eebae5.js"],"/account/world-5/gaming":[a,c,s,"static/chunks/pages/account/world-5/gaming-69a13a9ad1cbbc23.js"],"/account/world-5/sailing":[a,"static/chunks/pages/account/world-5/sailing-857d963a20013d04.js"],"/account/world-6/farming":["static/chunks/pages/account/world-6/farming-1e0fa7958d028441.js"],"/account/world-6/sneaking":["static/chunks/pages/account/world-6/sneaking-5c00658ed92920c7.js"],"/characters":[a,o,"static/chunks/250-3cad0b36ff2b944f.js",c,s,u,i,"static/chunks/pages/characters-f9a3948f4a73c972.js"],"/dashboard":[a,"static/chunks/8548-9f5c5f80674544bd.js",c,s,u,"static/chunks/pages/dashboard-365b0e10c52ac07b.js"],"/data":["static/chunks/5265-199f14a436b783e7.js","static/chunks/pages/data-b3bbadb6a42d518c.js"],"/guilds":[e,"static/chunks/pages/guilds-ffdc556a22ac55bb.js"],"/leaderboards":[t,"static/chunks/9068-f5466d0ba1fbe36f.js","static/chunks/pages/leaderboards-9f7ce08508865934.js"],"/patch-notes":[r,d,"static/chunks/pages/patch-notes-e9554b231014ec5e.js"],"/tools":["static/chunks/pages/tools-5a3620cc37a62cd1.js"],"/tools/active-exp-calculator":["static/chunks/pages/tools/active-exp-calculator-7293728ac24291a5.js"],"/tools/builds":[o,"static/chunks/1034-399aa1a456fcd335.js","static/chunks/pages/tools/builds-c36993b575bf8229.js"],"/tools/card-search":[a,"static/chunks/pages/tools/card-search-0bd52a13438a1bea.js"],"/tools/god-planner":[a,c,s,"static/chunks/pages/tools/god-planner-5d2285cc4cc85769.js"],"/tools/guaranteed-drop-calculator":[t,"static/chunks/pages/tools/guaranteed-drop-calculator-aae5f800846a7a4f.js"],"/tools/item-browser":[a,t,n,"static/chunks/1999-5b31cee5429abda9.js",c,s,"static/chunks/pages/tools/item-browser-7a599c69f0fe24f0.js"],"/tools/item-planner":[t,n,"static/chunks/8165-18b049f6369e8ac7.js","static/chunks/pages/tools/item-planner-8f95b396a165aba1.js"],"/tools/material-tracker":[t,"static/chunks/pages/tools/material-tracker-ffaa60d74ea751ad.js"],sortedPages:["/","/_app","/_error","/account/misc/apocalypses","/account/misc/constellations","/account/misc/dungeons","/account/misc/general","/account/misc/guild","/account/misc/quests","/account/misc/random-events","/account/misc/slab","/account/misc/storage","/account/premium-currency/companions","/account/premium-currency/gem-shop","/account/task-board/achievements","/account/task-board/merits","/account/task-board/tasks","/account/world-1/anvil","/account/world-1/bribes","/account/world-1/forge","/account/world-1/stamps","/account/world-2/arcade-shop","/account/world-2/bubbles","/account/world-2/cauldrons","/account/world-2/islands","/account/world-2/sigils","/account/world-2/vials","/account/world-2/weekly-bosses","/account/world-3/atom-collider","/account/world-3/buildings","/account/world-3/construction","/account/world-3/death-note","/account/world-3/equinox","/account/world-3/prayers","/account/world-3/printer","/account/world-3/refinery","/account/world-3/salt-lick","/account/world-3/traps","/account/world-3/worship","/account/world-4/breeding","/account/world-4/cooking","/account/world-4/laboratory","/account/world-4/rift","/account/world-5/divinity","/account/world-5/gaming","/account/world-5/sailing","/account/world-6/farming","/account/world-6/sneaking","/characters","/dashboard","/data","/guilds","/leaderboards","/patch-notes","/tools","/tools/active-exp-calculator","/tools/builds","/tools/card-search","/tools/god-planner","/tools/guaranteed-drop-calculator","/tools/item-browser","/tools/item-planner","/tools/material-tracker"]}}("static/chunks/5039-1851d041ef78ddd9.js","static/chunks/6426-231d0b386c1fa61a.js","static/chunks/5127-95a607c2437bb16f.js","static/chunks/417-2991c9aea3ab1213.js","static/chunks/6886-8539d647a4233442.js","static/chunks/9584-7bf0617567aa04fa.js","static/chunks/2307-3b21367ff8ec8d96.js","static/chunks/176-f5de34d9c8d6f17d.js","static/chunks/1580-f12161829d903425.js","static/chunks/4346-6b60710ab9225c9b.js","static/chunks/4401-ee1d39ef1f4f696c.js","static/chunks/5675-6b30f22ac3cdd1d6.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(c,s,a,t,o,n,e,u,d,r,i,l){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[d,"static/chunks/3582-a78e507e3c2959cf.js",r,"static/chunks/pages/index-5e1d6e5dee842737.js"],"/_error":["static/chunks/pages/_error-83f70c7be3775587.js"],"/account/misc/apocalypses":["static/chunks/558-faaba39934b9f9d2.js",c,s,"static/chunks/pages/account/misc/apocalypses-2c865fc572186a62.js"],"/account/misc/constellations":[o,c,s,"static/chunks/pages/account/misc/constellations-f2276f683dbbd854.js"],"/account/misc/dungeons":[a,"static/chunks/8198-dc718d7cd0d62746.js",c,s,"static/chunks/pages/account/misc/dungeons-8786c6d358fc1f10.js"],"/account/misc/general":[a,e,c,s,i,"static/chunks/pages/account/misc/general-a240195eb4eef1ac.js"],"/account/misc/guild":[e,"static/chunks/pages/account/misc/guild-8bfb0aeb2fdcb2ac.js"],"/account/misc/quests":["static/chunks/294-d61b17fc315eb86e.js","static/chunks/pages/account/misc/quests-b6151771cc63c2a5.js"],"/account/misc/random-events":[c,s,"static/chunks/pages/account/misc/random-events-c2ef2a332f660d83.js"],"/account/misc/slab":[a,n,l,"static/chunks/pages/account/misc/slab-00681b748b5cfa3f.js"],"/account/misc/storage":[l,"static/chunks/pages/account/misc/storage-63e117244933dcbf.js"],"/account/premium-currency/companions":["static/chunks/pages/account/premium-currency/companions-1c70e60a11618120.js"],"/account/premium-currency/gem-shop":[a,"static/chunks/4069-67bce99f194c9cae.js","static/chunks/pages/account/premium-currency/gem-shop-29aeed8a6f468d3b.js"],"/account/task-board/achievements":["static/chunks/pages/account/task-board/achievements-e747d62315936877.js"],"/account/task-board/merits":[a,"static/chunks/pages/account/task-board/merits-b7aea62ca236e039.js"],"/account/task-board/tasks":["static/chunks/pages/account/task-board/tasks-c3885dfd5206f21d.js"],"/account/world-1/anvil":["static/chunks/1941-45f1e4828dee8cbe.js",c,s,"static/chunks/pages/account/world-1/anvil-fdd62bd91f05bcd9.js"],"/account/world-1/bribes":[o,"static/chunks/pages/account/world-1/bribes-7cd55118ade44c7e.js"],"/account/world-1/forge":[o,"static/chunks/pages/account/world-1/forge-8ab70f06b76ced5b.js"],"/account/world-1/stamps":[a,"static/chunks/8852-0cf985761caa273c.js",c,s,"static/chunks/pages/account/world-1/stamps-9409cff729be8e9b.js"],"/account/world-2/arcade-shop":[a,c,s,"static/chunks/pages/account/world-2/arcade-shop-a54cfac78afe8380.js"],"/account/world-2/bubbles":[a,"static/chunks/1871-e284aaaa71bb4715.js",c,s,"static/chunks/pages/account/world-2/bubbles-fa4a2dac01df3de3.js"],"/account/world-2/cauldrons":[a,"static/chunks/pages/account/world-2/cauldrons-56f61cf68428d9ff.js"],"/account/world-2/islands":[a,"static/chunks/pages/account/world-2/islands-ccb0cef24aff7058.js"],"/account/world-2/sigils":[a,c,s,"static/chunks/pages/account/world-2/sigils-aa5ca2cc42854915.js"],"/account/world-2/vials":[a,c,s,"static/chunks/pages/account/world-2/vials-6c11abf0e6d86d50.js"],"/account/world-2/weekly-bosses":[c,s,u,"static/chunks/pages/account/world-2/weekly-bosses-d1067175d5101a3a.js"],"/account/world-3/atom-collider":[a,c,s,"static/chunks/pages/account/world-3/atom-collider-48a1d148c80bd08d.js"],"/account/world-3/buildings":[a,"static/chunks/1195-55e89908b7ad3996.js",c,s,"static/chunks/pages/account/world-3/buildings-9cf6ebefa763de22.js"],"/account/world-3/construction":[a,n,"static/chunks/7975-e6cc07fead4c20f4.js",c,s,"static/chunks/pages/account/world-3/construction-259bdbf161b29a3b.js"],"/account/world-3/death-note":[c,"static/chunks/pages/account/world-3/death-note-8f12d2d9054352ff.js"],"/account/world-3/equinox":[a,"static/chunks/3815-e49cb56c05b7efa3.js","static/chunks/pages/account/world-3/equinox-68781bfcd7bf1c6e.js"],"/account/world-3/prayers":[c,s,"static/chunks/pages/account/world-3/prayers-9498f6dbe7ffbd96.js"],"/account/world-3/printer":[a,c,s,"static/chunks/pages/account/world-3/printer-7160d6cdf3d13efb.js"],"/account/world-3/refinery":[a,"static/chunks/22-7020f5f2cc5399c6.js",c,s,"static/chunks/pages/account/world-3/refinery-299eef80e96b9dae.js"],"/account/world-3/salt-lick":["static/chunks/pages/account/world-3/salt-lick-7cf6b2200c539211.js"],"/account/world-3/traps":[a,"static/chunks/pages/account/world-3/traps-a5ce6f69ff0f2336.js"],"/account/world-3/worship":["static/chunks/4301-e5074703e30994c8.js",c,s,"static/chunks/pages/account/world-3/worship-2ca94486c0b22c60.js"],"/account/world-4/breeding":[a,"static/chunks/6392-166d50be6adc7a9d.js",c,s,"static/chunks/pages/account/world-4/breeding-3a110f3a6d676388.js"],"/account/world-4/cooking":["static/chunks/8972-48f1aeca3127a125.js",c,s,"static/chunks/pages/account/world-4/cooking-ed92550de64ed734.js"],"/account/world-4/laboratory":[t,"static/chunks/4306-d87d2f71c06bc4d5.js",c,s,"static/chunks/pages/account/world-4/laboratory-e3a39427688d90d9.js"],"/account/world-4/rift":["static/chunks/3387-527b6cc992253a05.js",c,s,"static/chunks/pages/account/world-4/rift-57ae30e8cdda688f.js"],"/account/world-5/divinity":[a,c,s,"static/chunks/pages/account/world-5/divinity-682cb58608eebae5.js"],"/account/world-5/gaming":[a,c,s,"static/chunks/pages/account/world-5/gaming-69a13a9ad1cbbc23.js"],"/account/world-5/sailing":[a,"static/chunks/pages/account/world-5/sailing-857d963a20013d04.js"],"/account/world-6/farming":["static/chunks/pages/account/world-6/farming-1e0fa7958d028441.js"],"/account/world-6/sneaking":["static/chunks/pages/account/world-6/sneaking-5c00658ed92920c7.js"],"/characters":[a,o,"static/chunks/250-3cad0b36ff2b944f.js",c,s,u,i,"static/chunks/pages/characters-0ceaae846717a68d.js"],"/dashboard":[a,"static/chunks/8548-9f5c5f80674544bd.js",c,s,u,"static/chunks/pages/dashboard-365b0e10c52ac07b.js"],"/data":["static/chunks/5265-199f14a436b783e7.js","static/chunks/pages/data-b3bbadb6a42d518c.js"],"/guilds":[e,"static/chunks/pages/guilds-ffdc556a22ac55bb.js"],"/leaderboards":[t,"static/chunks/9068-f5466d0ba1fbe36f.js","static/chunks/pages/leaderboards-9f7ce08508865934.js"],"/patch-notes":[d,r,"static/chunks/pages/patch-notes-e9554b231014ec5e.js"],"/tools":["static/chunks/pages/tools-5a3620cc37a62cd1.js"],"/tools/active-exp-calculator":["static/chunks/pages/tools/active-exp-calculator-7293728ac24291a5.js"],"/tools/builds":[o,"static/chunks/1034-399aa1a456fcd335.js","static/chunks/pages/tools/builds-c36993b575bf8229.js"],"/tools/card-search":[a,"static/chunks/pages/tools/card-search-0bd52a13438a1bea.js"],"/tools/god-planner":[a,c,s,"static/chunks/pages/tools/god-planner-5d2285cc4cc85769.js"],"/tools/guaranteed-drop-calculator":[t,"static/chunks/pages/tools/guaranteed-drop-calculator-aae5f800846a7a4f.js"],"/tools/item-browser":[a,t,n,"static/chunks/1999-5b31cee5429abda9.js",c,s,"static/chunks/pages/tools/item-browser-7a599c69f0fe24f0.js"],"/tools/item-planner":[t,n,"static/chunks/8165-18b049f6369e8ac7.js","static/chunks/pages/tools/item-planner-8f95b396a165aba1.js"],"/tools/material-tracker":[t,"static/chunks/pages/tools/material-tracker-ffaa60d74ea751ad.js"],sortedPages:["/","/_app","/_error","/account/misc/apocalypses","/account/misc/constellations","/account/misc/dungeons","/account/misc/general","/account/misc/guild","/account/misc/quests","/account/misc/random-events","/account/misc/slab","/account/misc/storage","/account/premium-currency/companions","/account/premium-currency/gem-shop","/account/task-board/achievements","/account/task-board/merits","/account/task-board/tasks","/account/world-1/anvil","/account/world-1/bribes","/account/world-1/forge","/account/world-1/stamps","/account/world-2/arcade-shop","/account/world-2/bubbles","/account/world-2/cauldrons","/account/world-2/islands","/account/world-2/sigils","/account/world-2/vials","/account/world-2/weekly-bosses","/account/world-3/atom-collider","/account/world-3/buildings","/account/world-3/construction","/account/world-3/death-note","/account/world-3/equinox","/account/world-3/prayers","/account/world-3/printer","/account/world-3/refinery","/account/world-3/salt-lick","/account/world-3/traps","/account/world-3/worship","/account/world-4/breeding","/account/world-4/cooking","/account/world-4/laboratory","/account/world-4/rift","/account/world-5/divinity","/account/world-5/gaming","/account/world-5/sailing","/account/world-6/farming","/account/world-6/sneaking","/characters","/dashboard","/data","/guilds","/leaderboards","/patch-notes","/tools","/tools/active-exp-calculator","/tools/builds","/tools/card-search","/tools/god-planner","/tools/guaranteed-drop-calculator","/tools/item-browser","/tools/item-planner","/tools/material-tracker"]}}("static/chunks/5039-1851d041ef78ddd9.js","static/chunks/6426-35cce96c30caa4a0.js","static/chunks/5127-95a607c2437bb16f.js","static/chunks/417-2991c9aea3ab1213.js","static/chunks/6886-8539d647a4233442.js","static/chunks/9584-7bf0617567aa04fa.js","static/chunks/2307-3b21367ff8ec8d96.js","static/chunks/176-f5de34d9c8d6f17d.js","static/chunks/1580-f12161829d903425.js","static/chunks/4346-e873b2f54a8360cd.js","static/chunks/4401-ee1d39ef1f4f696c.js","static/chunks/5675-6b30f22ac3cdd1d6.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/cNq10QdbA-XbWSlvCb8fH/_ssgManifest.js b/_next/static/TvfhyAZiqJbLIfz7wwU76/_ssgManifest.js similarity index 100% rename from _next/static/cNq10QdbA-XbWSlvCb8fH/_ssgManifest.js rename to _next/static/TvfhyAZiqJbLIfz7wwU76/_ssgManifest.js diff --git a/_next/static/chunks/4346-6b60710ab9225c9b.js b/_next/static/chunks/4346-6b60710ab9225c9b.js deleted file mode 100644 index 780738060..000000000 --- a/_next/static/chunks/4346-6b60710ab9225c9b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4346],{8986:function(e,a,t){t.d(a,{O:function(){return o}});var d=t(85893),r=t(15861),i=t(23795);t(67294);let o=[{ver:"3.2.40",gameVer:"1.92",date:"12/01/2024",features:["Updated stamps page (might be a bit buggy)","Updated the Active Exp Calculator to be able to calculate a selected level","Added an alert for maximum capacity for sailing chests to the dashboard","Added missing items to material tracker","Added enemies to the Territories tab","Added distinction between the various types of Exp in the quests page"],fixes:["Fixed alerts for refinery salts","Fixed card search stars calculations"]},{ver:"3.2.39",gameVer:"1.92",date:"06/01/2024",features:["Added an option to material tracker in dashboard settings to apply threshold either from above or below","Added an option to the character dashboard settings to always see talents regardless of their cooldown","Added an estimated trash per day to the islands page","Added the following leaderboards: Bit, Total Cards, Total Vials, Colosseum and Minigames, Fractal hours, Dungeon credits and Flurbos, Afk time","Made RNG items display in dungeons page more concise"],fixes:["Fixed a bug with displaying crystal countdown progress while skill isn't specced","Fixed weekly bosses dashboard alert not disappearing when unchecked","Grammar :)"]},{ver:"3.2.38",gameVer:"1.92",date:"04/01/2024",features:["Added an option to search a player in the leaderboards","Added card set information on the cards page","Added eggs alert to the dashboard","Added an option to copy weekly bosses data to clipboard","Added penpals highscore to Account -> General page",'Updated the website\'s tab title in the browser to show the page name first (e.g. "Dungeons | Idleon Toolbox")'],fixes:["Fixed a bug in calculating foraging speed in breeding page","Fixed a visual bugs in gaming page","Fixed the issue with crushing pages (hopefully)"]},{ver:"3.2.37",gameVer:"1.92",date:"30/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/breeding",children:"Territory"})," tab to the breeding page"]}),"Added a toggle to Pets tabs in breeding page to group pets by worlds / stats","Added an option to see the whole raw json data in the data page"],fixes:["Fixed log book","Fixed a bug in guaranteed drop calculator page","Fixed drop rate calculations",'Fixed consistency of "Maxed" display across the site (and grammar :))']},{ver:"3.2.36",gameVer:"1.92",date:"29/12/2023",features:[(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/weekly-bosses",children:"weekly bosses"})," page is now much more detailed"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/guaranteed-drop-calculator",children:"guaranteed drop calculator"})," page"]}),"Added log book to gaming page","Added condense view to bubbles page"],fixes:[]},{ver:"3.2.35",gameVer:"1.92",date:"26/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/weekly-bosses",children:"weekly bosses"})," page and added them to the dashboard as well"]})],fixes:[]},{ver:"3.2.34",gameVer:"1.92",date:"24/12/2023",features:["Added condensed view for the stamps page","Added an alert for when a character has unspent anvil points"],fixes:[]},{ver:"3.2.33",gameVer:"1.92",date:"24/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/leaderboards",children:"leaderboards"})," page"]}),"To participate in the leaderboards, please upload your profile with leaderboard consent."],fixes:["Fixed small bug with player bubbles"]},{ver:"3.2.32",gameVer:"1.92",date:"22/12/2023",features:["Added unselected dungeon trait alert to the dashboard","Added an alert to notify when a character equips 'Blunder hill' and is at a level greater than 50."],fixes:["Fixed texts across to site to be more consistent"]},{ver:"3.2.31",gameVer:"1.92",date:"21/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Enhanced the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/dungeons",children:"dungeons"})," page - added rng items and stat boosts"]}),(0,d.jsxs)(r.Z,{children:["Added group by option to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/storage",children:"storage"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added exp per trap + total exp per character to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"traps"})," page"]})],fixes:["Fixed a bug in cooking page where recipe kitchens were calculated as cooking meals"]},{ver:"3.2.30",gameVer:"1.92",date:"20/12/2023",features:["Added the option to select multiple items to the material tracker page","Added a material tracker alert to the dashboard under Etc -> Material tracker (in case you don't see the error, clear the dashboard config in data page)"],fixes:['Fixed a bug with dashboard characters\' afk time not showing "Active" when it should']},{ver:"3.2.29",gameVer:"1.92",date:"19/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/material-tracker",children:"material tracker"})," page - Add a material, set your own threshold and keep track of your inventory."]})],fixes:[]},{ver:"3.2.28",gameVer:"1.92",date:"16/12/2023",features:["Added mutation tab to Gaming page including DNA and mutation cost","Added refinery speed breakdown to refinery page","Added the ability to see all challenges in Equinox page","Added killroy and weekly boss (daily) alerts to dashboard"],fixes:["Fixed some calculations in stamps page"]},{ver:"3.2.27",gameVer:"1.92",date:"12/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added the ability to upload and share your profile under ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"data"})," page"]}),"Removed pastebin support"],fixes:["Fixed the calculation of jewel and chips rotations"]},{ver:"3.2.26",gameVer:"1.92",date:"06/12/2023",features:["Account -> Guild page now support tracking of 3 days (let me know if the behavior is not as expected)","Characters -> Talents now showing all skills' level and max level","Added sigil speed to sigils page","Account -> Stamps show the chance for a gilded stamp"],fixes:["Fixed the calculation of jewel and chips rotations"]},{ver:"3.2.25",gameVer:"1.92",date:"30/11/2023",features:["Added cost calculations to divinity page","Added the ability to see zow/chow for all characters with a filter","In character page, added the ability to hide all maxed post office boxes","In character page, added a Chips filter"],fixes:[]},{ver:"3.2.25",gameVer:"1.92",date:"28/11/2023",features:["Added more information to shrines tooltip (affecting characters, exp/hr)"],fixes:[]},{ver:"3.2.25",gameVer:"1.92",date:"23/11/2023",features:['Added an option to optimize the construction board by "Player xp rate" - this is highly experimental and might not work as expected so use at your own risk',"Added cog stat calculator to construction page",'Added "Plants picked" stat to the totals list in general page'],fixes:["Fixed a bug with construction exp calculations","Fixed class icons on active exp calc"]},{ver:"3.2.24",gameVer:"1.92",date:"13/11/2023",features:["Added a checkbox to show/hide the cost of the next level of salts in refinery page"],fixes:["Fixed a bug with worship alerts for individual characters","Fixed sprouts growth speed calculation","Fixed stamp reducer tooltip display"]},{ver:"3.2.23",gameVer:"1.92",date:"11/11/2023",features:["Added the ability to set a threshold for stamp reducer in dashboard alert","Added BobJoePickle to the World 2 shop options for the daily purchases","Added a feature to indicate the printer sample rate exceeding 90%.","Added the ability to highlight bubbles that are above the configured efficiency threshold in the bubbles page","Added more information to the Gaming -> General page, including: # of envelopes, snail level, encouragement, success and reset rates and more","Added tasks and merits pages under the account page + dashboard alerts for tasks","Added cost to next level and cost to max for atoms in atom collider page","Added a timer for counting down until the forge is emptied.","Added a display for the material cost of the next rank of all salts","Added gem shop page under account page with some priority options","Added more collapsable sections to the account page to make the navigation bar more concise"],fixes:["Fixed a bug where optimizing construction board was taking locked slots into account","Fixed a bug with the atom collider atoms max level","Fixed some bugs that popped up from the latest update"]},{ver:"3.2.22",gameVer:"1.92",date:"08/11/2023",features:["Added a prototype for optimizing construction board (under construction tab) - use at your own risk :)"],fixes:[]},{ver:"3.2.22",gameVer:"1.92",date:"06/11/2023",features:["Added totems tab in the worship page to calculate Exp and Souls from each totem"],fixes:[]},{ver:"3.2.21",gameVer:"1.92",date:"03/11/2023",features:[],fixes:["Fixed construction calculations"]},{ver:"3.2.20",gameVer:"1.92",date:"29/10/2023",features:['Added a tooltip to the dungeon page "Next happy hour" to show the actual date and time',"Added breeding multipliers and chance for breeding page"],fixes:["Fixed a bug where shrines placed on World 1 town weren't showing up on the website","Fixed drop rate formula","Fixed a display bug where star talents were displayed incorrectly.","Fixed sailing speed calculation","Fixed a bug with statue calculating statue bonus for onyx statue"]},{ver:"3.2.19",gameVer:"1.92",date:"25/10/2023",features:[],fixes:["Updated the display of the equipment view in Characters page to represent the actual equipment slots","Fixed a small typing issue with meals sorting","Fixed a bug with calculating 10 Ad Tablet bonus","Added a tooltip to indicate quest status in Quests page"]},{ver:"3.2.18",gameVer:"1.92",date:"24/10/2023",features:["Updated the website with version 1.92 data and assets"],fixes:["Fixed a problem with the max level of equinox","Fixed alerts for equinox"]},{ver:"3.2.17",gameVer:"1.91",date:"20/10/2023",features:["Updated the website with version 1.91 data and assets",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/equinox",children:"Equinox"})," page under world 3"]})],fixes:[]},{ver:"3.2.16",gameVer:"1.90",date:"04/10/2023",features:["Added an option to export guild data to json format"],fixes:[]},{ver:"3.2.15",gameVer:"1.90",date:"02/10/2023",features:["Added an option to view rank 1 skills for across all characters","Hiding ranks for sailing and gaming"],fixes:[]},{ver:"3.2.14",gameVer:"1.90",date:"16/09/2023",features:[],fixes:["Updated the website with version 1.90 data and assets"]},{ver:"3.2.13",gameVer:"1.89",date:"14/09/2023",features:[],fixes:["Fixed logic for calculating buildings max level"]},{ver:"3.2.12",gameVer:"1.89",date:"10/09/2023",features:[],fixes:["Fixed calculation for meal speed from super chows"]},{ver:"3.2.11",gameVer:"1.89",date:"26/08/2023",features:[],fixes:["Added missing npcs to quests page","Fixed a bug with statue calculations"]},{ver:"3.2.10",gameVer:"1.89",date:"23/08/2023",features:[],fixes:["Fixed zow and chow logic"]},{ver:"3.2.9",gameVer:"1.89",date:"22/08/2023",features:["Updated the website with latest version's data and assets","Added world 4 new npcs","Added onyx display and calculations"],fixes:[]},{ver:"3.2.8",gameVer:"1.89",date:"09/08/2023",features:["Updated the website with version 1.89 data and assets"],fixes:[]},{ver:"3.2.7",gameVer:"1.88",date:"09/08/2023",features:["Added a timer for atom collider upgrades"],fixes:["Fixed a bug with captain comparison in dashboard"]},{ver:"3.2.6",gameVer:"1.88",date:"09/08/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-2/islands",children:"Islands"})," page under world 2"]}),"Added total stats line to the stats filter under character page"],fixes:["Added (the missing) Omar Da Ogar npc to quests page"]},{ver:"3.2.5",gameVer:"1.88",date:"04/08/2023",features:["Updated the website with version 1.88 data and assets"],fixes:[]},{ver:"3.2.4",gameVer:"1.87",date:"04/08/2023",features:["Added Blood Berserker and Beast Master builds"],fixes:["Better performance for guilds leaderboard","Fixed minor god bonus","Fixed equipped bubble calculation","Fixed calculation for afk gains formula","Fixed captain comparison logic and enhanced the display for it","Fixed a bug with displaying anvil related dashboard alerts"]},{ver:"3.2.3",gameVer:"1.87",date:"31/07/2023",features:[(0,d.jsxs)(r.Z,{children:["Added 2 guild related pages, ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/guild",children:"Guild"})," page and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/guilds",children:"Guilds"})," page"]})],fixes:["Fixed a bug with lab line width calculations","Fixed a bug with personal guild gp calculations","Fixed a bug with guild bonus calculations","Updated the guild leaderboard to be top 100"]},{ver:"3.2.2",gameVer:"1.87",date:"20/07/2023",features:["Added data and assets from version 1.87"],fixes:[]},{ver:"3.2.1",gameVer:"1.86",date:"14/07/2023",features:[(0,d.jsxs)(r.Z,{children:["Added chips and jewels rotations to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/laboratory",children:"Laboratory"})," page with the ability to filter specific jewels / chips "]}),"Added submitted builds for Blood berserker, Elemental Sorcerer and Bubonic Conjuror","Added the ability to select only one character to display in characters page","Added charge syphon timer to the dashboard ","Added meals breakpoint for level 40, 50 and 60"],fixes:["Fixed a bug with sorting buildings by time","Fixed a bug with wrong icon displayed in breeding page"]},{ver:"3.2.0",gameVer:"1.86",date:"01/07/2023",features:["Added data and assets from version 1.86","Updated design for Buildings page","Added world 4 and world 5 bosses keys to Account -> General page","Updated logic and design for upgradable bubbles from NLBL by lithium atom"],fixes:["Fixed a bug with trimmed slot","Fixed kitchen speed notation","Fixed a bug with lab and printer caused by doot doot","Fixed display for respawn time at Characters -> Stats","Fixed a display bug for very high damage numbers","Fixed an overflow bug with money values"]},{ver:"3.1.99",gameVer:"1.84",date:"19/06/2023",features:["Added total production per hour to the anvil page"],fixes:[]},{ver:"3.1.98",gameVer:"1.84",date:"18/06/2023",features:["Added 1.84 data and assets",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/companions",children:"Companions"})," page"]})],fixes:[]},{ver:"3.1.97",gameVer:"1.83",date:"17/06/2023",features:[],fixes:["Fixed a bug with apple login"]},{ver:"3.1.97",gameVer:"1.83",date:"16/06/2023",features:["Added Total daily charge, charge with syphon and time to full display for worship page"],fixes:["Fixed a bug with stamp calculations","Fixed worship max charge and rate calculations"]},{ver:"3.1.96",gameVer:"1.83",date:"15/06/2023",features:["Updated the login flow of the website \uD83C\uDF89",(0,d.jsxs)(r.Z,{component:"span",children:[(0,d.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:"Deprecated"})," the ability to paste data into the website (steam data extractor is no longer supported, please use one of the other 3 login methods [Email, Google, Apple])"]})],fixes:["Fixed a bug with max liquid calculation"]},{ver:"3.1.95",gameVer:"1.83",date:"13/06/2023",features:["Updated design for the homepage \uD83C\uDF89 \uD83C\uDF8A \uD83C\uDF89",(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(r.Z,{sx:{fontWeight:"bold"},component:"span",children:"*Experimental*"})," Added more stats to Stats filter under ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/characters",children:"Characters"})," page e.g crit chance and damage, kills per hour (works better when you have 100% survivability), defence [* MIGHT BE VERY INACCURATE]"]}),"Updated some components design in hope for better readability",(0,d.jsxs)(r.Z,{children:["Moved the utility buttons to a separate ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"Data"})," page"]}),(0,d.jsxs)(r.Z,{children:["Updated the structure of dashboard alerts (if you're encountering any issue try to clean localStorage from the new ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"Data"})," page)"]})],fixes:["Now displaying the correct effect for all stamps on the stamps page","Fixed an issue with 0 star cards","Fixed a bug with bags capacity","Bugs created on this release \uD83D\uDE05"]},{ver:"3.1.94",gameVer:"1.83",date:"09/06/2023",features:['Added "Subtract green stacks" to stamps page'],fixes:["Fixed printer calculation and breakdown"]},{ver:"3.1.93",gameVer:"1.83",date:"07/06/2023",features:["Added a God Planner to the tools section"],fixes:["Fixed a bug with bits display in gaming page","Fixed a bug with shinies alert in dashboard"]},{ver:"3.1.92",gameVer:"1.83",date:"06/06/2023",features:["Added a timer for construction buildings to Buildings page and a timer on dashboard for closest building to finish","Added a checkbox to filter by time to build in Buildings page"],fixes:["Fixed issues with login in iPhone"]},{ver:"3.1.92",gameVer:"1.83",date:"06/06/2023",features:["Added an overview of islands/captains to Boats And Captains tab in Sailing page","Added detailed information about statues in account page"],fixes:[]},{ver:"3.1.91",gameVer:"1.83",date:"03/06/2023",features:["Added data and assets from version 1.83"],fixes:[]},{ver:"3.1.90",gameVer:"1.82",date:"01/06/2023",features:["Added Void Trial Rerun, Arena Spirit, Taste Test to dashboard alerts","Added few submitted builds","Updated the view for refinery page (hopefully for the better) and now accounting for printed items from Printer"],fixes:["Fixed atom particles display","Fixed bubble calculations"]},{ver:"3.1.89",gameVer:"1.82",date:"31/05/2023",features:["Added Damage, Hp, Mp, Accuracy, Movement Speed info to Characters -> Stats filter (Might be inaccurate :) )","Added Construction calculations for Build rate, Player XP boost and flaggy rate","Added missing pet images in Breeding","Added happy hour timer to dashboard","Added an alert for finished flags on construction","Added a display of all fence pets in breeding page"],fixes:["Fixed postoffice, statues calculations","Possible fix for dashboard throwing exception randomly when update filters"]},{ver:"3.1.88",gameVer:"1.82",date:"27/05/2023",features:["Added dungeon items to item planner","Added inventory display in Characters page -> Inventory filter"],fixes:["Fixed a bug in item browser"]},{ver:"3.1.87",gameVer:"1.82",date:"26/05/2023",features:["Added shiny level alert to the dashboard","Added Random Event (when you haven't done an event) alert to the dashboard","Added capacity check for stamps upgrade, hovering the required item will show the recommended character with max capacity","Added capacity information to Characters page -> Bags filter (tooltip)"],fixes:["Fixed a display bug showing the wrong effect at the overflowing ladle tooltip","Fixed a bug with 6 cards not showing even when bonus is unlocked"]},{ver:"3.1.86",gameVer:"1.82",date:"25/05/2023",features:['Added a "Closest trap" timer to dashboard view','Added a "Next printer cycle" timer to dashboard view'],fixes:["Fixed cooking speed calc","Fixed shinies time calculations"]},{ver:"3.1.85",gameVer:"1.82",date:"24/05/2023",features:["Added concise character information to dashboard "],fixes:["Some small fixes all over the place :D"]},{ver:"3.1.84",gameVer:"1.82",date:"23/05/2023",features:["Added Import / Export to item planner (importing will override all of your sections)","Added afk gains breakdown (to help debug issues :D)","Added total kitchens speed to cooking page -> kitchens tab","Towers pages renamed to Buildings page"],fixes:["Fixed atom calculations in Printer page","Fixed max levels for all buildings"]},{ver:"3.1.83",gameVer:"1.82",date:"22/05/2023",features:["Added Afk Gains value under Characters page -> Stats filter (Might be inaccurate, let me know)"],fixes:["WIP: Anvil details under characters page is still kind of broken","Fixed logic for starsigns","Fixed a bug with added levels to talents","Fixed ccd calculations","Fixed cash multi calculations","Fixed printer sample calculations","Fixed a bug with displaying shovel at the dashboard","Fixed a bug with atom calculations"]},{ver:"3.1.82",gameVer:"1.82",date:"20/05/2023",features:["Added data and assets from version 1.82",(0,d.jsxs)(r.Z,{children:["Added Random Events predictor to dashboard and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/random-events",children:"Random Events"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added Sailing Trades predictor to dashboard and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page to Trades tab"]}),"Added cooking speed bonus by voidwalker enhancement","Added Statues multi by voidwalker skill (Voodoo Statusification)"],fixes:["Now also check if the printer output is higher than atom threshold (instead of checking storage only)",'Now showing the actual boat speed in "Boats And Captain" tab']},{ver:"3.1.81",gameVer:"1.81",date:"19/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added sailing trades to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page under Trades tab"]})],fixes:["Fixed boat speed calculation (it was missing the SB talent)"]},{ver:"3.1.80",gameVer:"1.81",date:"18/05/2023",features:["Added 'Totals' section to the printer page, showing atoms generated from printer and total items printed in an hour/day/printer go brrr (let me know if it's inaccurate)","Added shops alerts to the dashboard","Updated logic for showing an alert for refinery"],fixes:[]},{ver:"3.1.79",gameVer:"1.81",date:"17/05/2023",features:["Added Respawn Time value and breakdown under Characters page -> Stats filter","Added a threshold input for alchemy in dashboard options (for liquids capacity)"],fixes:["Fixed a bug with sigils not displaying in dashboard"]},{ver:"3.1.78",gameVer:"1.81",date:"16/05/2023",features:["Added countdown timer for sigils"],fixes:["Fixed calculation for atom collider's cost calculation"]},{ver:"3.1.77",gameVer:"1.81",date:"14/05/2023",features:["Added Cash Multi value and breakdown under Characters page -> Stats filter","Added Drop Rate value and breakdown under Characters page -> Stats filter","Added support for No more Praying superbit","Added the correct bonus of golden food in Characters page -> Equipment filter -> Food tab","Added an option for crystal cooldown on dashboard to see non maxed skills"],fixes:["Fixed some calculation with obols stats","Fixed a bug with shrine bonus","Now calculating star signs with Infinite stars bonus"]},{ver:"3.1.76",gameVer:"1.81",date:"11/05/2023",features:[],fixes:["Fixed card progress calculations and added 5th star bonus to card page","Fixed a bug with bubble required material calculation","Fixed a bug with bubble atom cost calculation"]},{ver:"3.1.75",gameVer:"1.81",date:"10/05/2023",features:["Added a dashboard alert for max capacity liquids in alchemy",(0,d.jsxs)(r.Z,{children:["Added liquids progress to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/orld-2/cauldrons",children:"cauldrons"})," page"]}),"Added 0 to 20 (static) timer to library "],fixes:["Fixed Library Checkouts superbit bonus","Fixed shiny pets level up timer"]},{ver:"3.1.74",gameVer:"1.81",date:"09/05/2023",features:["Added timers for egg and shiny levels"],fixes:[]},{ver:"3.1.73",gameVer:"1.81",date:"08/05/2023",features:['Added Boat Speed value and a timer to "Boats and Captains" tab (Sailing page)','Added shop captains to "Boats and Captains" tab (Sailing page)'],fixes:["Fixed meals actual values in Meals and Kitchen tabs","Fixed boat artifact chance","Fixed an issue with statues not showing the correct statue level","Fixed a bug in Skill Mastery with second bonus from Sailing, Gaming and divinity"]},{ver:"3.1.72",gameVer:"1.81",date:"06/05/2023",features:["Enhanced talents and post office dashboard configuration and changed the design a little bit"],fixes:[]},{ver:"3.1.71",gameVer:"1.81",date:"05/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added printer sample rate to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/printer",children:"Printer"})," page"]})],fixes:["Fixed a bug with bonuses from equipment"]},{ver:"3.1.70",gameVer:"1.81",date:"03/05/2023",features:["New Alert in dashboard that will appear when your character can equip a new tier of a tool (pickaxe, hatchet, etc)"],fixes:[]},{ver:"3.1.69",gameVer:"1.81",date:"01/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added superbit information to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/gaming",children:"Gaming"})," page"]}),"Added colored bits in gaming page"],fixes:[]},{ver:"3.1.68",gameVer:"1.81",date:"29/04/2023",features:["Added data and assets from version 1.81","Added support for 5* cards",(0,d.jsxs)(r.Z,{children:["Added Construct Mastery to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/rift",children:"Rift"})," page (if you've unlocked it)"]}),"Applied construct bonuses to Refinery page","Applied superbit bonus to cooking","Applied library bonus from superbit","Work in progress: superbits upgrades and their effect on everything"],fixes:["Fixed a bug with library causing the app to crash"]},{ver:"3.1.67",gameVer:"1.80b",date:"28/04/2023",features:["Added an option to see production alert 1 hour before its being full","Added threshold levels indication for skill mastery"],fixes:["More accurate bargain tag check for dashboard","Ready talents are now showing only when they are available for the character","Fixed a bug with gilded stamp","Library is only showing when world 3 is unlocked (dashboard)"]},{ver:"3.1.66",gameVer:"1.80b",date:"23/04/2023",features:[],fixes:["Alerts are now only showing if you've unlocked the relevant world!",(0,d.jsxs)(r.Z,{children:["Added indication for infinite stars on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/constellations",children:"Constellations"})," page - star sign tab"]}),"Added shiny bonuses to Refinery and Meals","Updated alerts logic"]},{ver:"3.1.65",gameVer:"1.80b",date:"22/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/rift",children:"Rift"})," page including Tasks, Bonuses and Skill Mastery page"]}),(0,d.jsxs)(r.Z,{children:["Added Pets tab to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/breeding",children:"Breeding"})," page to display information about pets including shiny level, passive and gene information"]}),"Applied rift Vial Mastery bonus to all vials","Applied rift Skill Mastery bonus to the Printer","Added eldritch artifacts support"],fixes:[]},{ver:"3.1.63",gameVer:"1.80",date:"20/04/2023",features:["Fixed Apple login"],fixes:[]},{ver:"3.1.62",gameVer:"1.80",date:"19/04/2023",features:["Added support for Apple login","Added data and assets from version 1.80"],fixes:[]},{ver:"3.1.61",gameVer:"1.79",date:"18/04/2023",features:[],fixes:["Fixed a bug with gaming alerts","Fixed a bug with refinery"]},{ver:"3.1.60",gameVer:"1.79",date:"15/04/2023",features:[],fixes:["Fixed a bug with Crystal Countdown calculation"]},{ver:"3.1.59",gameVer:"1.79",date:"14/04/2023",features:[],fixes:["Added missing rank up alert for salts in refinery"]},{ver:"3.1.58",gameVer:"1.79",date:"10/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Added the ability to create custom builds in ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/builds",children:"Builds"})," page"]})],fixes:["Fixed item planner bug","Fixed a bug with calculating additional talent levels for Elemental Sorcerer (again)"]},{ver:"3.1.57",gameVer:"1.79",date:"09/04/2023",features:["Added Defence tag to Card Search"],fixes:["Fixed material calculations for bubbles","Fixed a bug with calculating additional talent levels for Elemental Sorcerer"]},{ver:"3.1.57",gameVer:"1.79",date:"05/04/2023",features:["Added particle cost for bubbles (displayed when required material is higher than 100M)","Added indication of how many particle upgrade left to bubble page","Added Giant Mob Spawn Chance card to the dashboard (near library timer)"],fixes:["Fixed a bug on Item Planner when selecting 'Show Missing Items'","Updated required material for bubble to be capped at 1000M (1B)"]},{ver:"3.1.56",gameVer:"1.79",date:"04/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Updated some logic and display for ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/slab",children:"Slab"})," page"]})],fixes:["Fixed a bug with guild data when importing from steam-extractor"]},{ver:"3.1.55",gameVer:"1.79",date:"03/04/2023",features:["Added an ability to search by description in Item Browser","Added guild tasks alert to dashboard","Added crystal cooldown alert to dashboard (when reaching max reduction)","Added extra bubbles to 'No Bubble Left Behind' from W4 merit shop",(0,d.jsxs)(r.Z,{children:["Updated logic for ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/item-planner",children:"Item Planner"})," page!"]}),"Added names to sections and made them collapsable","Enabled Item Planner and Item Browser to logged out users as well"],fixes:["Fix bug with max traps in dashboard","Fixed a bug with 'Show Missing Item' in Item Planner"]},{ver:"3.1.54",gameVer:"1.79",date:"01/04/2023",features:["Added data and assets from version 1.79"],fixes:[]},{ver:"3.1.53",gameVer:"1.78c",date:"28/03/2023",features:[],fixes:["Fixed a bug where Traps option in also turned off Obols option in dashboard setting","Updated logic for max traps with CALL ME ASH bubble now working globally"]},{ver:"3.1.52",gameVer:"1.78c",date:"28/03/2023",features:["Added gaming dashboard alerts (Max sprouts and sprinkler drops, squirrel and shovel alerts if you haven't clicked for over an hour)","Added sprouts and sprinkler drops indication to gaming page"],fixes:[]},{ver:"3.1.51",gameVer:"1.78c",date:"27/03/2023",features:["Added data and assets from version 1.78c","Added indication for stamps that you can upgrade based on your stored materials and money"],fixes:[]},{ver:"3.1.50",gameVer:"1.78.0",date:"25/03/2023",features:["Added data and assets from version 1.78","Added 'Sort By' filter for meals (for next level ,lv. 11 and lv. 30)"],fixes:["Fixed the email and password login flow (didn't notice it wasn't working correctly)"]},{ver:"3.1.49",gameVer:"1.77.0",date:"24/03/2023",features:["Added 'Sort By' filter for meals (for next level ,lv. 11 and lv. 30)"],fixes:["Fixed library speed calculation"]},{ver:"3.1.48",gameVer:"1.77.0",date:"22/03/2023",features:["Added library timer to dashboard"],fixes:["Updated logic for post office dashboard notification (doesn't show up when maxed all boxes)"]},{ver:"3.1.47",gameVer:"1.77.0",date:"21/03/2023",features:[(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/dashboard",children:"Dashboard"})," page!"]}),(0,d.jsxs)(r.Z,{children:["Added a tooltip for boss keys + colo tickets on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/general",children:"General"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added Stamp Reducer indication on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/atom-collider",children:"Atom Collider"})," page"]}),"Added Subtract Green Stacks option for vials in dashboard (this will subtract 10M from your current amount to make sure you will still have green stack after upgrading)","Added a tooltip for exact quantity for items in storage"],fixes:["Fixed wizard towers max level (from atom collider)","Some bug fixes for low level accounts","Added missing W5 catching and chopping targets (ops)","Fixed a bug on Vials page"]},{ver:"3.1.46",gameVer:"1.77.0",date:"18/03/2023",features:[],fixes:["Update looty (hopefully it is more accurate)","Update W5 quest header (visual update)",'Updated atoms description with the correct "Total Bonus"','Fixed cooking speed to account for "Fluoride - Void Plate Chef" atom']},{ver:"3.1.45",gameVer:"1.77.0",date:"17/03/2023",features:[],fixes:["Added Elemental Sorcerer family bonus to talent levels"]},{ver:"3.1.44",gameVer:"1.77.0",date:"15/03/2023",features:["Added extra printer slots","Added calculation for 'Polytheism' talent of Elemental Sorcerer"],fixes:[]},{ver:"3.1.43",gameVer:"1.77.0",date:"04/03/2023",features:["Updated the website with 1.77.0 data and assets"],fixes:[]},{ver:"3.1.42",gameVer:"1.76.0",date:"24/02/2023",features:["Updated the website with 1.76.0 data and assets","Added new constellations"],fixes:["Carry bags order"]},{ver:"3.1.41",gameVer:"1.75.1",date:"10/02/2023",features:["Added materials per hour for refinery page"],fixes:[]},{ver:"3.1.40",gameVer:"1.75.1",date:"10/02/2023",features:["Updated the website with 1.75.1 data and assets"],fixes:[]},{ver:"3.1.39",gameVer:"1.75",date:"10/02/2023",features:["Updated the website with 1.75 data and assets"],fixes:[]},{ver:"3.1.38",gameVer:"1.74",date:"09/02/2023",features:[],fixes:["minor issue with captain exp requirement"]},{ver:"3.1.37",gameVer:"1.74",date:"31/01/2023",features:["Update the website with 1.74 data and assets",'Added "King of the remembrance" calculation to printer'],fixes:["Shrine bonus is now calculated correctly (hopefully)","Added extra levels from symbol talents and bear god","Fixed family bonuses to account for The Family Guy talent"]},{ver:"3.1.36",gameVer:"1.73",date:"23/01/2023",features:[],fixes:["Fixed atom collider bug when freshly opened"]},{ver:"3.1.35",gameVer:"1.73",date:"11/01/2023",features:["Added images and data from version 1.73"],fixes:["Fixed sigil bonuses"]},{ver:"3.1.34",gameVer:"1.72",date:"11/01/2023",features:["Added images and data from version 1.72",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/atom-collider",children:"Atom Collider"})," page"]})],fixes:[]},{ver:"3.1.33",gameVer:"1.71",date:"06/01/2023",features:["Added library checkouts counter with breakpoints for 16, 18, 20 on Account -> General page (let me know if the timers are off)","Added percentage completed of the boat trip to the island"],fixes:[]},{ver:"3.1.32",gameVer:"1.71",date:"31/12/2022",features:[],fixes:["Fixed a bug where accounts without world 5 data would crash"]},{ver:"3.1.31",gameVer:"1.71",date:"30/12/2022",features:["Added max possible nugget roll possible","Added the required resources for a boat upgrade"],fixes:["Fixed a bug with islands names in sailing"]},{ver:"3.1.30",gameVer:"1.71",date:"29/12/2022",features:["Added chests, boats and captains display","Added crystal chance breakdown","Added divinity style to the activity filter when character is afk in divinity"],fixes:["Added indication for lab by linking Goharut as a god"]},{ver:"3.1.29",gameVer:"1.71",date:"28/12/2022",features:["Added timer for acorns in gaming page"],fixes:["Fixed gaming upgrades bonus and cost"]},{ver:"3.1.28",gameVer:"1.71",date:"27/12/2022",features:["Added a timer for dirty shovel (+ nuggets break points)","Applied most artifacts bonuses all over the website","Added tooltip over printer items showing the boosted value from lab,artifacts,gods","Divinity - now correctly showing unlocked gods"],fixes:["Sigils not calculated with artifacts bonus"]},{ver:"3.1.27",gameVer:"1.70",date:"26/12/2022",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/divinity",children:"Divinity"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/gaming",children:"Gaming"})," page"]})],fixes:["Added refinery speed stamp to refinery calculations","Fixed minor bug with un-acquired stamps"]},{ver:"3.1.26",gameVer:"1.70",date:"23/12/2022",features:[],fixes:["Added missing meals (from world 5)","Added basic logic for deities to activate lab"]},{ver:"3.1.25",gameVer:"1.70",date:"22/12/2022",features:[],fixes:["Added world 5 quests npc","Added world 5 vials","Added world 5 cards","Added world 5 death note","Added world 5 bubbles"]},{ver:"3.1.24",gameVer:"1.70",date:"20/12/2022",features:[],fixes:["Fixed small calculation error in max worship"]},{ver:"3.1.23",gameVer:"1.70",date:"19/12/2022",features:["Added data and assets for world 5!"],fixes:['Fixed timer in "Stats" filter to count up instead of down (please let me know if there are any issue with timers)']},{ver:"3.1.22",gameVer:"1.60",date:"21/11/2022",features:[],fixes:["Fixed small calculation error in cooking page","Added missing Demon Genie icon","Added exp per hour to exp calculator"]},{ver:"3.1.21",gameVer:"1.60",date:"11/10/2022",features:[],fixes:["Fixed total mat printed fixed"]},{ver:"3.1.20",gameVer:"1.60",date:"09/10/2022",features:["Added boop to zow/chow view","Added total material printed to Account -> General"],fixes:[]},{ver:"3.1.19",gameVer:"1.60",date:"15/09/2022",features:["Added additional information to anvil, worship and trap pages"],fixes:[]},{ver:"3.1.18",gameVer:"1.60",date:"09/08/2022",features:["Added an option to hide capped meals","Added progress indicator for cards","Cards you haven't found will appear with low opacity"],fixes:[]},{ver:"3.1.17",gameVer:"1.60",date:"30/07/2022",features:[],fixes:["Fixed AFK time in stats","Fixed obols ordering"]},{ver:"3.1.16",gameVer:"1.60",date:"12/07/2022",features:["Updated data to patch 1.60"],fixes:[]},{ver:"3.1.15",gameVer:"1.59",date:"08/07/2022",features:["Added number of ladles needed for level up in meals page"],fixes:["Fixed meal speed calculations","Fixed overflowing ladle calculations"]},{ver:"3.1.14",gameVer:"1.59",date:"08/07/2022",features:[(0,d.jsxs)(r.Z,{children:["Added total critters calculations to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"Traps"})," page"]})],fixes:[]},{ver:"3.1.13",gameVer:"1.59",date:"08/07/2022",features:["Added an option to login with email and password (I'm still not saving anything anywhere so don't worry)"],fixes:["Fixed a bug in traps page caused when there's no trap box equipped"]},{ver:"3.1.12",gameVer:"1.59",date:"05/07/2022",features:[(0,d.jsxs)(r.Z,{children:["Added sections to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/item-planner",children:"item planner"})," page that allows you to track several items separately"]}),"Updated the website data with 1.59 patch"],fixes:[]},{ver:"3.1.11",gameVer:"1.58",date:"02/07/2022",features:[],fixes:["Cogstruction: fix for empties cog array"]},{ver:"3.1.10",gameVer:"1.58",date:"28/06/2022",features:[(0,d.jsxs)(r.Z,{children:["Added trap type, quantity and exp (by hovering the trap) to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"Traps"})," page"]})],fixes:[]},{ver:"3.1.8",gameVer:"1.58",date:"14/06/2022",features:["Added meal speed contribution view"],fixes:[]},{ver:"3.1.7",gameVer:"1.58",date:"01/06/2022",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-2/cauldrons",children:"Cauldrons"})," page to view all cauldrons and cauldrons upgrades from p2w tab"]})],fixes:[]},{ver:"3.1.6",gameVer:"1.58",date:"30/05/2022",features:["Updated to version 1.58"],fixes:[]},{ver:"3.1.5",gameVer:"1.57",date:"26/05/2022",features:[(0,d.jsxs)(r.Z,{children:["Added builds from idleon companion under Tools and can be accessed like this ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/builds?b=barbarian&c=1",children:"https://idleontoolbox.com/tools/builds?b=barbarian&c=1"})," (The new classes are still missing builds, let me know if you want to add some)"]}),(0,d.jsxs)(r.Z,{children:["Added forge upgrades tab to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-1/forge",children:"Forge"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added claims counter for spices under to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/cooking",children:"Cooking"})," page"]})],fixes:[]},{ver:"3.1.4",gameVer:"1.57",date:"26/05/2022",features:["Added coin cost to max calculation for anvil","Small refinery visual bug fix"],fixes:[]},{ver:"3.1.3",gameVer:"1.57",date:"24/05/2022",features:["Added an option to apply Overflowing ladle (Blood Berserker talent) to meals"],fixes:[]},{ver:"3.1.2",gameVer:"1.57",date:"24/05/2022",features:["Apocalypses page under Account tab"],fixes:[]},{ver:"3.1.1",gameVer:"1.57",date:"24/05/2022",features:[],fixes:["Hopefully fixed lab calculations"]},{ver:"3.1.0",gameVer:"1.57",date:"23/05/2022",features:["Updated all data to version 1.57","(Things might still be inaccurate, I'm still updating the formulas to account for all the new stuff)",'Added a light version of a "Public Profile" using pastebin to import your data, instructions can be found on the button above (let me know if you experience any kind of problems in any type of connection)'],fixes:[]},{ver:"3.0.10",gameVer:"1.56.1",date:"22/05/2022",features:[],fixes:["Fixed a bug with dungeons happy hour timer counting up","Fixed a bug with cogstruction data export"]},{ver:"3.0.9",gameVer:"1.56.1",date:"21/05/2022",features:[],fixes:["Fixed sorting meals logic","Fixed meals cost calculations"]},{ver:"3.0.8",gameVer:"1.56.1",date:"21/05/2022",features:["Added towers page under Account -> World 3"],fixes:[]},{ver:"3.0.7",gameVer:"1.56.1",date:"20/05/2022",features:["(Re-)Added the item browser which lets you find an item anywhere in your account"],fixes:[]},{ver:"3.0.6",gameVer:"1.56.1",date:"20/05/2022",features:["Added 'chance not to consume food' percentage in 'Stats' filter"],fixes:[]},{ver:"3.0.5",gameVer:"1.56.1",date:"19/05/2022",features:[],fixes:["Added doubling bonus chips to the calculations of cards and star signs","Fixed a small bug with displaying cards"]},{ver:"3.0.4",gameVer:"1.56.1",date:"19/05/2022",features:["Added minigame and library currency to Account -> General","Small visual update for dungeons"],fixes:[]},{ver:"3.0.3",gameVer:"1.56.1",date:"19/05/2022",features:["Quick and dirty storage page"],fixes:[]},{ver:"3.0.2",gameVer:"1.56.1",date:"18/05/2022",features:[],fixes:["Re-added points distribution in anvil details"]},{ver:"3.0.1",gameVer:"1.56.1",date:"18/05/2022",features:[],fixes:["Fixed a visual bug in construction page","Fixed calculation of anvil details"]},{ver:"3.0.0",gameVer:"1.56.1",date:"12/05/2022",features:["Reworked the website - the website is now responsive and can be used in mobile as well!","WIP: builds (from idleon companion)"],fixes:[]}]},44346:function(e,a,t){t.r(a);var d=t(85893),r=t(51233),i=t(67720),o=t(15861),s=t(67358),n=t(38895),l=t(22797),c=t(67294),u=t(87357),h=t(75716),g=t(23663),p=t(96540),f=t(27036),m=t(13486),x=t(70720),b=t(8986);let w=e=>{let{title:a,list:t,icon:i,topMargin:s=!0}=e;if(!t||0===t.length)return null;let n={add:(0,d.jsx)(p.Z,{sx:{color:m.Z[600]}}),fix:(0,d.jsx)(f.Z,{sx:{color:x.Z[300]}})};return(0,d.jsxs)(u.Z,{sx:{marginTop:s?"20px":0},children:[(0,d.jsxs)(r.Z,{direction:"row",alignItems:"center",gap:1,children:[n[i],(0,d.jsx)(o.Z,{sx:{color:"add"===i?m.Z[500]:x.Z[200]},variant:"h4",children:a})]}),(0,d.jsx)("ul",{style:{marginTop:20},children:t.map((e,t)=>(0,d.jsx)("li",{style:{marginTop:5},children:(0,d.jsx)(o.Z,{variant:"body1",component:"div",children:e})},"".concat(a,"-").concat(t)))})]})};a.default=e=>{var a;let{patchNotes:t}=e,[u,p]=(0,c.useState)(0),f=(0,g.a)();return t?null===(a=t||b.O)||void 0===a?void 0:a.map((e,a)=>(0,d.jsxs)(s.Z,{expanded:u===a,disableGutters:!0,sx:{"&:before":{display:"none"},border:"1px solid ".concat(f.palette.divider),"&:not(:last-child)":{borderBottom:0}},onChange:(e,t)=>p(t?a:null),children:[(0,d.jsxs)(n.Z,{sx:{flexDirection:"row-reverse",gap:2,"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"}},expandIcon:(0,d.jsx)(h.Z,{sx:{fontSize:"0.9rem"}}),children:["v",null==e?void 0:e.ver," - ",null==e?void 0:e.date]}),(0,d.jsx)(l.Z,{sx:{backgroundColor:"rgb(22, 22, 22)",p:3},children:(0,d.jsxs)(r.Z,{gap:3,children:[(0,d.jsx)(w,{icon:"add",topMargin:!1,title:"Features",list:null==e?void 0:e.features}),(0,d.jsx)(w,{icon:"fix",topMargin:!1,title:"Fixes",list:null==e?void 0:e.fixes})]})})]},"note"+a)):(0,d.jsx)(r.Z,{divider:(0,d.jsx)(i.Z,{}),gap:3,children:null===b.O||void 0===b.O?void 0:b.O.map((e,a)=>(0,d.jsxs)(r.Z,{gap:1,children:[(0,d.jsxs)(o.Z,{variant:"h3",children:["v",null==e?void 0:e.ver]}),(0,d.jsx)(w,{icon:"add",topMargin:!1,title:"Features",list:null==e?void 0:e.features}),(0,d.jsx)(w,{icon:"fix",topMargin:!1,title:"Fixes",list:null==e?void 0:e.fixes})]},"note"+a))})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/4346-e873b2f54a8360cd.js b/_next/static/chunks/4346-e873b2f54a8360cd.js new file mode 100644 index 000000000..2794c3974 --- /dev/null +++ b/_next/static/chunks/4346-e873b2f54a8360cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4346],{8986:function(e,a,t){t.d(a,{O:function(){return o}});var d=t(85893),r=t(15861),i=t(23795);t(67294);let o=[{ver:"3.2.41",gameVer:"1.92",date:"13/01/2024",features:["Added afk gains description for cooking"],fixes:["Fixed afk gains for fighting"]},{ver:"3.2.40",gameVer:"1.92",date:"12/01/2024",features:["Updated stamps page (might be a bit buggy)","Updated the Active Exp Calculator to be able to calculate a selected level","Added an alert for maximum capacity for sailing chests to the dashboard","Added missing items to material tracker","Added enemies to the Territories tab","Added distinction between the various types of Exp in the quests page"],fixes:["Fixed alerts for refinery salts","Fixed card search stars calculations"]},{ver:"3.2.39",gameVer:"1.92",date:"06/01/2024",features:["Added an option to material tracker in dashboard settings to apply threshold either from above or below","Added an option to the character dashboard settings to always see talents regardless of their cooldown","Added an estimated trash per day to the islands page","Added the following leaderboards: Bit, Total Cards, Total Vials, Colosseum and Minigames, Fractal hours, Dungeon credits and Flurbos, Afk time","Made RNG items display in dungeons page more concise"],fixes:["Fixed a bug with displaying crystal countdown progress while skill isn't specced","Fixed weekly bosses dashboard alert not disappearing when unchecked","Grammar :)"]},{ver:"3.2.38",gameVer:"1.92",date:"04/01/2024",features:["Added an option to search a player in the leaderboards","Added card set information on the cards page","Added eggs alert to the dashboard","Added an option to copy weekly bosses data to clipboard","Added penpals highscore to Account -> General page",'Updated the website\'s tab title in the browser to show the page name first (e.g. "Dungeons | Idleon Toolbox")'],fixes:["Fixed a bug in calculating foraging speed in breeding page","Fixed a visual bugs in gaming page","Fixed the issue with crushing pages (hopefully)"]},{ver:"3.2.37",gameVer:"1.92",date:"30/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/breeding",children:"Territory"})," tab to the breeding page"]}),"Added a toggle to Pets tabs in breeding page to group pets by worlds / stats","Added an option to see the whole raw json data in the data page"],fixes:["Fixed log book","Fixed a bug in guaranteed drop calculator page","Fixed drop rate calculations",'Fixed consistency of "Maxed" display across the site (and grammar :))']},{ver:"3.2.36",gameVer:"1.92",date:"29/12/2023",features:[(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/weekly-bosses",children:"weekly bosses"})," page is now much more detailed"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/guaranteed-drop-calculator",children:"guaranteed drop calculator"})," page"]}),"Added log book to gaming page","Added condense view to bubbles page"],fixes:[]},{ver:"3.2.35",gameVer:"1.92",date:"26/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/weekly-bosses",children:"weekly bosses"})," page and added them to the dashboard as well"]})],fixes:[]},{ver:"3.2.34",gameVer:"1.92",date:"24/12/2023",features:["Added condensed view for the stamps page","Added an alert for when a character has unspent anvil points"],fixes:[]},{ver:"3.2.33",gameVer:"1.92",date:"24/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/leaderboards",children:"leaderboards"})," page"]}),"To participate in the leaderboards, please upload your profile with leaderboard consent."],fixes:["Fixed small bug with player bubbles"]},{ver:"3.2.32",gameVer:"1.92",date:"22/12/2023",features:["Added unselected dungeon trait alert to the dashboard","Added an alert to notify when a character equips 'Blunder hill' and is at a level greater than 50."],fixes:["Fixed texts across to site to be more consistent"]},{ver:"3.2.31",gameVer:"1.92",date:"21/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Enhanced the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/dungeons",children:"dungeons"})," page - added rng items and stat boosts"]}),(0,d.jsxs)(r.Z,{children:["Added group by option to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/misc/storage",children:"storage"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added exp per trap + total exp per character to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"traps"})," page"]})],fixes:["Fixed a bug in cooking page where recipe kitchens were calculated as cooking meals"]},{ver:"3.2.30",gameVer:"1.92",date:"20/12/2023",features:["Added the option to select multiple items to the material tracker page","Added a material tracker alert to the dashboard under Etc -> Material tracker (in case you don't see the error, clear the dashboard config in data page)"],fixes:['Fixed a bug with dashboard characters\' afk time not showing "Active" when it should']},{ver:"3.2.29",gameVer:"1.92",date:"19/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/material-tracker",children:"material tracker"})," page - Add a material, set your own threshold and keep track of your inventory."]})],fixes:[]},{ver:"3.2.28",gameVer:"1.92",date:"16/12/2023",features:["Added mutation tab to Gaming page including DNA and mutation cost","Added refinery speed breakdown to refinery page","Added the ability to see all challenges in Equinox page","Added killroy and weekly boss (daily) alerts to dashboard"],fixes:["Fixed some calculations in stamps page"]},{ver:"3.2.27",gameVer:"1.92",date:"12/12/2023",features:[(0,d.jsxs)(r.Z,{children:["Added the ability to upload and share your profile under ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"data"})," page"]}),"Removed pastebin support"],fixes:["Fixed the calculation of jewel and chips rotations"]},{ver:"3.2.26",gameVer:"1.92",date:"06/12/2023",features:["Account -> Guild page now support tracking of 3 days (let me know if the behavior is not as expected)","Characters -> Talents now showing all skills' level and max level","Added sigil speed to sigils page","Account -> Stamps show the chance for a gilded stamp"],fixes:["Fixed the calculation of jewel and chips rotations"]},{ver:"3.2.25",gameVer:"1.92",date:"30/11/2023",features:["Added cost calculations to divinity page","Added the ability to see zow/chow for all characters with a filter","In character page, added the ability to hide all maxed post office boxes","In character page, added a Chips filter"],fixes:[]},{ver:"3.2.25",gameVer:"1.92",date:"28/11/2023",features:["Added more information to shrines tooltip (affecting characters, exp/hr)"],fixes:[]},{ver:"3.2.25",gameVer:"1.92",date:"23/11/2023",features:['Added an option to optimize the construction board by "Player xp rate" - this is highly experimental and might not work as expected so use at your own risk',"Added cog stat calculator to construction page",'Added "Plants picked" stat to the totals list in general page'],fixes:["Fixed a bug with construction exp calculations","Fixed class icons on active exp calc"]},{ver:"3.2.24",gameVer:"1.92",date:"13/11/2023",features:["Added a checkbox to show/hide the cost of the next level of salts in refinery page"],fixes:["Fixed a bug with worship alerts for individual characters","Fixed sprouts growth speed calculation","Fixed stamp reducer tooltip display"]},{ver:"3.2.23",gameVer:"1.92",date:"11/11/2023",features:["Added the ability to set a threshold for stamp reducer in dashboard alert","Added BobJoePickle to the World 2 shop options for the daily purchases","Added a feature to indicate the printer sample rate exceeding 90%.","Added the ability to highlight bubbles that are above the configured efficiency threshold in the bubbles page","Added more information to the Gaming -> General page, including: # of envelopes, snail level, encouragement, success and reset rates and more","Added tasks and merits pages under the account page + dashboard alerts for tasks","Added cost to next level and cost to max for atoms in atom collider page","Added a timer for counting down until the forge is emptied.","Added a display for the material cost of the next rank of all salts","Added gem shop page under account page with some priority options","Added more collapsable sections to the account page to make the navigation bar more concise"],fixes:["Fixed a bug where optimizing construction board was taking locked slots into account","Fixed a bug with the atom collider atoms max level","Fixed some bugs that popped up from the latest update"]},{ver:"3.2.22",gameVer:"1.92",date:"08/11/2023",features:["Added a prototype for optimizing construction board (under construction tab) - use at your own risk :)"],fixes:[]},{ver:"3.2.22",gameVer:"1.92",date:"06/11/2023",features:["Added totems tab in the worship page to calculate Exp and Souls from each totem"],fixes:[]},{ver:"3.2.21",gameVer:"1.92",date:"03/11/2023",features:[],fixes:["Fixed construction calculations"]},{ver:"3.2.20",gameVer:"1.92",date:"29/10/2023",features:['Added a tooltip to the dungeon page "Next happy hour" to show the actual date and time',"Added breeding multipliers and chance for breeding page"],fixes:["Fixed a bug where shrines placed on World 1 town weren't showing up on the website","Fixed drop rate formula","Fixed a display bug where star talents were displayed incorrectly.","Fixed sailing speed calculation","Fixed a bug with statue calculating statue bonus for onyx statue"]},{ver:"3.2.19",gameVer:"1.92",date:"25/10/2023",features:[],fixes:["Updated the display of the equipment view in Characters page to represent the actual equipment slots","Fixed a small typing issue with meals sorting","Fixed a bug with calculating 10 Ad Tablet bonus","Added a tooltip to indicate quest status in Quests page"]},{ver:"3.2.18",gameVer:"1.92",date:"24/10/2023",features:["Updated the website with version 1.92 data and assets"],fixes:["Fixed a problem with the max level of equinox","Fixed alerts for equinox"]},{ver:"3.2.17",gameVer:"1.91",date:"20/10/2023",features:["Updated the website with version 1.91 data and assets",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/equinox",children:"Equinox"})," page under world 3"]})],fixes:[]},{ver:"3.2.16",gameVer:"1.90",date:"04/10/2023",features:["Added an option to export guild data to json format"],fixes:[]},{ver:"3.2.15",gameVer:"1.90",date:"02/10/2023",features:["Added an option to view rank 1 skills for across all characters","Hiding ranks for sailing and gaming"],fixes:[]},{ver:"3.2.14",gameVer:"1.90",date:"16/09/2023",features:[],fixes:["Updated the website with version 1.90 data and assets"]},{ver:"3.2.13",gameVer:"1.89",date:"14/09/2023",features:[],fixes:["Fixed logic for calculating buildings max level"]},{ver:"3.2.12",gameVer:"1.89",date:"10/09/2023",features:[],fixes:["Fixed calculation for meal speed from super chows"]},{ver:"3.2.11",gameVer:"1.89",date:"26/08/2023",features:[],fixes:["Added missing npcs to quests page","Fixed a bug with statue calculations"]},{ver:"3.2.10",gameVer:"1.89",date:"23/08/2023",features:[],fixes:["Fixed zow and chow logic"]},{ver:"3.2.9",gameVer:"1.89",date:"22/08/2023",features:["Updated the website with latest version's data and assets","Added world 4 new npcs","Added onyx display and calculations"],fixes:[]},{ver:"3.2.8",gameVer:"1.89",date:"09/08/2023",features:["Updated the website with version 1.89 data and assets"],fixes:[]},{ver:"3.2.7",gameVer:"1.88",date:"09/08/2023",features:["Added a timer for atom collider upgrades"],fixes:["Fixed a bug with captain comparison in dashboard"]},{ver:"3.2.6",gameVer:"1.88",date:"09/08/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-2/islands",children:"Islands"})," page under world 2"]}),"Added total stats line to the stats filter under character page"],fixes:["Added (the missing) Omar Da Ogar npc to quests page"]},{ver:"3.2.5",gameVer:"1.88",date:"04/08/2023",features:["Updated the website with version 1.88 data and assets"],fixes:[]},{ver:"3.2.4",gameVer:"1.87",date:"04/08/2023",features:["Added Blood Berserker and Beast Master builds"],fixes:["Better performance for guilds leaderboard","Fixed minor god bonus","Fixed equipped bubble calculation","Fixed calculation for afk gains formula","Fixed captain comparison logic and enhanced the display for it","Fixed a bug with displaying anvil related dashboard alerts"]},{ver:"3.2.3",gameVer:"1.87",date:"31/07/2023",features:[(0,d.jsxs)(r.Z,{children:["Added 2 guild related pages, ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/guild",children:"Guild"})," page and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/guilds",children:"Guilds"})," page"]})],fixes:["Fixed a bug with lab line width calculations","Fixed a bug with personal guild gp calculations","Fixed a bug with guild bonus calculations","Updated the guild leaderboard to be top 100"]},{ver:"3.2.2",gameVer:"1.87",date:"20/07/2023",features:["Added data and assets from version 1.87"],fixes:[]},{ver:"3.2.1",gameVer:"1.86",date:"14/07/2023",features:[(0,d.jsxs)(r.Z,{children:["Added chips and jewels rotations to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/laboratory",children:"Laboratory"})," page with the ability to filter specific jewels / chips "]}),"Added submitted builds for Blood berserker, Elemental Sorcerer and Bubonic Conjuror","Added the ability to select only one character to display in characters page","Added charge syphon timer to the dashboard ","Added meals breakpoint for level 40, 50 and 60"],fixes:["Fixed a bug with sorting buildings by time","Fixed a bug with wrong icon displayed in breeding page"]},{ver:"3.2.0",gameVer:"1.86",date:"01/07/2023",features:["Added data and assets from version 1.86","Updated design for Buildings page","Added world 4 and world 5 bosses keys to Account -> General page","Updated logic and design for upgradable bubbles from NLBL by lithium atom"],fixes:["Fixed a bug with trimmed slot","Fixed kitchen speed notation","Fixed a bug with lab and printer caused by doot doot","Fixed display for respawn time at Characters -> Stats","Fixed a display bug for very high damage numbers","Fixed an overflow bug with money values"]},{ver:"3.1.99",gameVer:"1.84",date:"19/06/2023",features:["Added total production per hour to the anvil page"],fixes:[]},{ver:"3.1.98",gameVer:"1.84",date:"18/06/2023",features:["Added 1.84 data and assets",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/companions",children:"Companions"})," page"]})],fixes:[]},{ver:"3.1.97",gameVer:"1.83",date:"17/06/2023",features:[],fixes:["Fixed a bug with apple login"]},{ver:"3.1.97",gameVer:"1.83",date:"16/06/2023",features:["Added Total daily charge, charge with syphon and time to full display for worship page"],fixes:["Fixed a bug with stamp calculations","Fixed worship max charge and rate calculations"]},{ver:"3.1.96",gameVer:"1.83",date:"15/06/2023",features:["Updated the login flow of the website \uD83C\uDF89",(0,d.jsxs)(r.Z,{component:"span",children:[(0,d.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:"Deprecated"})," the ability to paste data into the website (steam data extractor is no longer supported, please use one of the other 3 login methods [Email, Google, Apple])"]})],fixes:["Fixed a bug with max liquid calculation"]},{ver:"3.1.95",gameVer:"1.83",date:"13/06/2023",features:["Updated design for the homepage \uD83C\uDF89 \uD83C\uDF8A \uD83C\uDF89",(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(r.Z,{sx:{fontWeight:"bold"},component:"span",children:"*Experimental*"})," Added more stats to Stats filter under ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/characters",children:"Characters"})," page e.g crit chance and damage, kills per hour (works better when you have 100% survivability), defence [* MIGHT BE VERY INACCURATE]"]}),"Updated some components design in hope for better readability",(0,d.jsxs)(r.Z,{children:["Moved the utility buttons to a separate ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"Data"})," page"]}),(0,d.jsxs)(r.Z,{children:["Updated the structure of dashboard alerts (if you're encountering any issue try to clean localStorage from the new ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/data",children:"Data"})," page)"]})],fixes:["Now displaying the correct effect for all stamps on the stamps page","Fixed an issue with 0 star cards","Fixed a bug with bags capacity","Bugs created on this release \uD83D\uDE05"]},{ver:"3.1.94",gameVer:"1.83",date:"09/06/2023",features:['Added "Subtract green stacks" to stamps page'],fixes:["Fixed printer calculation and breakdown"]},{ver:"3.1.93",gameVer:"1.83",date:"07/06/2023",features:["Added a God Planner to the tools section"],fixes:["Fixed a bug with bits display in gaming page","Fixed a bug with shinies alert in dashboard"]},{ver:"3.1.92",gameVer:"1.83",date:"06/06/2023",features:["Added a timer for construction buildings to Buildings page and a timer on dashboard for closest building to finish","Added a checkbox to filter by time to build in Buildings page"],fixes:["Fixed issues with login in iPhone"]},{ver:"3.1.92",gameVer:"1.83",date:"06/06/2023",features:["Added an overview of islands/captains to Boats And Captains tab in Sailing page","Added detailed information about statues in account page"],fixes:[]},{ver:"3.1.91",gameVer:"1.83",date:"03/06/2023",features:["Added data and assets from version 1.83"],fixes:[]},{ver:"3.1.90",gameVer:"1.82",date:"01/06/2023",features:["Added Void Trial Rerun, Arena Spirit, Taste Test to dashboard alerts","Added few submitted builds","Updated the view for refinery page (hopefully for the better) and now accounting for printed items from Printer"],fixes:["Fixed atom particles display","Fixed bubble calculations"]},{ver:"3.1.89",gameVer:"1.82",date:"31/05/2023",features:["Added Damage, Hp, Mp, Accuracy, Movement Speed info to Characters -> Stats filter (Might be inaccurate :) )","Added Construction calculations for Build rate, Player XP boost and flaggy rate","Added missing pet images in Breeding","Added happy hour timer to dashboard","Added an alert for finished flags on construction","Added a display of all fence pets in breeding page"],fixes:["Fixed postoffice, statues calculations","Possible fix for dashboard throwing exception randomly when update filters"]},{ver:"3.1.88",gameVer:"1.82",date:"27/05/2023",features:["Added dungeon items to item planner","Added inventory display in Characters page -> Inventory filter"],fixes:["Fixed a bug in item browser"]},{ver:"3.1.87",gameVer:"1.82",date:"26/05/2023",features:["Added shiny level alert to the dashboard","Added Random Event (when you haven't done an event) alert to the dashboard","Added capacity check for stamps upgrade, hovering the required item will show the recommended character with max capacity","Added capacity information to Characters page -> Bags filter (tooltip)"],fixes:["Fixed a display bug showing the wrong effect at the overflowing ladle tooltip","Fixed a bug with 6 cards not showing even when bonus is unlocked"]},{ver:"3.1.86",gameVer:"1.82",date:"25/05/2023",features:['Added a "Closest trap" timer to dashboard view','Added a "Next printer cycle" timer to dashboard view'],fixes:["Fixed cooking speed calc","Fixed shinies time calculations"]},{ver:"3.1.85",gameVer:"1.82",date:"24/05/2023",features:["Added concise character information to dashboard "],fixes:["Some small fixes all over the place :D"]},{ver:"3.1.84",gameVer:"1.82",date:"23/05/2023",features:["Added Import / Export to item planner (importing will override all of your sections)","Added afk gains breakdown (to help debug issues :D)","Added total kitchens speed to cooking page -> kitchens tab","Towers pages renamed to Buildings page"],fixes:["Fixed atom calculations in Printer page","Fixed max levels for all buildings"]},{ver:"3.1.83",gameVer:"1.82",date:"22/05/2023",features:["Added Afk Gains value under Characters page -> Stats filter (Might be inaccurate, let me know)"],fixes:["WIP: Anvil details under characters page is still kind of broken","Fixed logic for starsigns","Fixed a bug with added levels to talents","Fixed ccd calculations","Fixed cash multi calculations","Fixed printer sample calculations","Fixed a bug with displaying shovel at the dashboard","Fixed a bug with atom calculations"]},{ver:"3.1.82",gameVer:"1.82",date:"20/05/2023",features:["Added data and assets from version 1.82",(0,d.jsxs)(r.Z,{children:["Added Random Events predictor to dashboard and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/random-events",children:"Random Events"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added Sailing Trades predictor to dashboard and ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page to Trades tab"]}),"Added cooking speed bonus by voidwalker enhancement","Added Statues multi by voidwalker skill (Voodoo Statusification)"],fixes:["Now also check if the printer output is higher than atom threshold (instead of checking storage only)",'Now showing the actual boat speed in "Boats And Captain" tab']},{ver:"3.1.81",gameVer:"1.81",date:"19/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added sailing trades to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page under Trades tab"]})],fixes:["Fixed boat speed calculation (it was missing the SB talent)"]},{ver:"3.1.80",gameVer:"1.81",date:"18/05/2023",features:["Added 'Totals' section to the printer page, showing atoms generated from printer and total items printed in an hour/day/printer go brrr (let me know if it's inaccurate)","Added shops alerts to the dashboard","Updated logic for showing an alert for refinery"],fixes:[]},{ver:"3.1.79",gameVer:"1.81",date:"17/05/2023",features:["Added Respawn Time value and breakdown under Characters page -> Stats filter","Added a threshold input for alchemy in dashboard options (for liquids capacity)"],fixes:["Fixed a bug with sigils not displaying in dashboard"]},{ver:"3.1.78",gameVer:"1.81",date:"16/05/2023",features:["Added countdown timer for sigils"],fixes:["Fixed calculation for atom collider's cost calculation"]},{ver:"3.1.77",gameVer:"1.81",date:"14/05/2023",features:["Added Cash Multi value and breakdown under Characters page -> Stats filter","Added Drop Rate value and breakdown under Characters page -> Stats filter","Added support for No more Praying superbit","Added the correct bonus of golden food in Characters page -> Equipment filter -> Food tab","Added an option for crystal cooldown on dashboard to see non maxed skills"],fixes:["Fixed some calculation with obols stats","Fixed a bug with shrine bonus","Now calculating star signs with Infinite stars bonus"]},{ver:"3.1.76",gameVer:"1.81",date:"11/05/2023",features:[],fixes:["Fixed card progress calculations and added 5th star bonus to card page","Fixed a bug with bubble required material calculation","Fixed a bug with bubble atom cost calculation"]},{ver:"3.1.75",gameVer:"1.81",date:"10/05/2023",features:["Added a dashboard alert for max capacity liquids in alchemy",(0,d.jsxs)(r.Z,{children:["Added liquids progress to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/orld-2/cauldrons",children:"cauldrons"})," page"]}),"Added 0 to 20 (static) timer to library "],fixes:["Fixed Library Checkouts superbit bonus","Fixed shiny pets level up timer"]},{ver:"3.1.74",gameVer:"1.81",date:"09/05/2023",features:["Added timers for egg and shiny levels"],fixes:[]},{ver:"3.1.73",gameVer:"1.81",date:"08/05/2023",features:['Added Boat Speed value and a timer to "Boats and Captains" tab (Sailing page)','Added shop captains to "Boats and Captains" tab (Sailing page)'],fixes:["Fixed meals actual values in Meals and Kitchen tabs","Fixed boat artifact chance","Fixed an issue with statues not showing the correct statue level","Fixed a bug in Skill Mastery with second bonus from Sailing, Gaming and divinity"]},{ver:"3.1.72",gameVer:"1.81",date:"06/05/2023",features:["Enhanced talents and post office dashboard configuration and changed the design a little bit"],fixes:[]},{ver:"3.1.71",gameVer:"1.81",date:"05/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added printer sample rate to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/printer",children:"Printer"})," page"]})],fixes:["Fixed a bug with bonuses from equipment"]},{ver:"3.1.70",gameVer:"1.81",date:"03/05/2023",features:["New Alert in dashboard that will appear when your character can equip a new tier of a tool (pickaxe, hatchet, etc)"],fixes:[]},{ver:"3.1.69",gameVer:"1.81",date:"01/05/2023",features:[(0,d.jsxs)(r.Z,{children:["Added superbit information to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/gaming",children:"Gaming"})," page"]}),"Added colored bits in gaming page"],fixes:[]},{ver:"3.1.68",gameVer:"1.81",date:"29/04/2023",features:["Added data and assets from version 1.81","Added support for 5* cards",(0,d.jsxs)(r.Z,{children:["Added Construct Mastery to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/rift",children:"Rift"})," page (if you've unlocked it)"]}),"Applied construct bonuses to Refinery page","Applied superbit bonus to cooking","Applied library bonus from superbit","Work in progress: superbits upgrades and their effect on everything"],fixes:["Fixed a bug with library causing the app to crash"]},{ver:"3.1.67",gameVer:"1.80b",date:"28/04/2023",features:["Added an option to see production alert 1 hour before its being full","Added threshold levels indication for skill mastery"],fixes:["More accurate bargain tag check for dashboard","Ready talents are now showing only when they are available for the character","Fixed a bug with gilded stamp","Library is only showing when world 3 is unlocked (dashboard)"]},{ver:"3.1.66",gameVer:"1.80b",date:"23/04/2023",features:[],fixes:["Alerts are now only showing if you've unlocked the relevant world!",(0,d.jsxs)(r.Z,{children:["Added indication for infinite stars on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/constellations",children:"Constellations"})," page - star sign tab"]}),"Added shiny bonuses to Refinery and Meals","Updated alerts logic"]},{ver:"3.1.65",gameVer:"1.80b",date:"22/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/rift",children:"Rift"})," page including Tasks, Bonuses and Skill Mastery page"]}),(0,d.jsxs)(r.Z,{children:["Added Pets tab to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/breeding",children:"Breeding"})," page to display information about pets including shiny level, passive and gene information"]}),"Applied rift Vial Mastery bonus to all vials","Applied rift Skill Mastery bonus to the Printer","Added eldritch artifacts support"],fixes:[]},{ver:"3.1.63",gameVer:"1.80",date:"20/04/2023",features:["Fixed Apple login"],fixes:[]},{ver:"3.1.62",gameVer:"1.80",date:"19/04/2023",features:["Added support for Apple login","Added data and assets from version 1.80"],fixes:[]},{ver:"3.1.61",gameVer:"1.79",date:"18/04/2023",features:[],fixes:["Fixed a bug with gaming alerts","Fixed a bug with refinery"]},{ver:"3.1.60",gameVer:"1.79",date:"15/04/2023",features:[],fixes:["Fixed a bug with Crystal Countdown calculation"]},{ver:"3.1.59",gameVer:"1.79",date:"14/04/2023",features:[],fixes:["Added missing rank up alert for salts in refinery"]},{ver:"3.1.58",gameVer:"1.79",date:"10/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Added the ability to create custom builds in ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/builds",children:"Builds"})," page"]})],fixes:["Fixed item planner bug","Fixed a bug with calculating additional talent levels for Elemental Sorcerer (again)"]},{ver:"3.1.57",gameVer:"1.79",date:"09/04/2023",features:["Added Defence tag to Card Search"],fixes:["Fixed material calculations for bubbles","Fixed a bug with calculating additional talent levels for Elemental Sorcerer"]},{ver:"3.1.57",gameVer:"1.79",date:"05/04/2023",features:["Added particle cost for bubbles (displayed when required material is higher than 100M)","Added indication of how many particle upgrade left to bubble page","Added Giant Mob Spawn Chance card to the dashboard (near library timer)"],fixes:["Fixed a bug on Item Planner when selecting 'Show Missing Items'","Updated required material for bubble to be capped at 1000M (1B)"]},{ver:"3.1.56",gameVer:"1.79",date:"04/04/2023",features:[(0,d.jsxs)(r.Z,{children:["Updated some logic and display for ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/slab",children:"Slab"})," page"]})],fixes:["Fixed a bug with guild data when importing from steam-extractor"]},{ver:"3.1.55",gameVer:"1.79",date:"03/04/2023",features:["Added an ability to search by description in Item Browser","Added guild tasks alert to dashboard","Added crystal cooldown alert to dashboard (when reaching max reduction)","Added extra bubbles to 'No Bubble Left Behind' from W4 merit shop",(0,d.jsxs)(r.Z,{children:["Updated logic for ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/item-planner",children:"Item Planner"})," page!"]}),"Added names to sections and made them collapsable","Enabled Item Planner and Item Browser to logged out users as well"],fixes:["Fix bug with max traps in dashboard","Fixed a bug with 'Show Missing Item' in Item Planner"]},{ver:"3.1.54",gameVer:"1.79",date:"01/04/2023",features:["Added data and assets from version 1.79"],fixes:[]},{ver:"3.1.53",gameVer:"1.78c",date:"28/03/2023",features:[],fixes:["Fixed a bug where Traps option in also turned off Obols option in dashboard setting","Updated logic for max traps with CALL ME ASH bubble now working globally"]},{ver:"3.1.52",gameVer:"1.78c",date:"28/03/2023",features:["Added gaming dashboard alerts (Max sprouts and sprinkler drops, squirrel and shovel alerts if you haven't clicked for over an hour)","Added sprouts and sprinkler drops indication to gaming page"],fixes:[]},{ver:"3.1.51",gameVer:"1.78c",date:"27/03/2023",features:["Added data and assets from version 1.78c","Added indication for stamps that you can upgrade based on your stored materials and money"],fixes:[]},{ver:"3.1.50",gameVer:"1.78.0",date:"25/03/2023",features:["Added data and assets from version 1.78","Added 'Sort By' filter for meals (for next level ,lv. 11 and lv. 30)"],fixes:["Fixed the email and password login flow (didn't notice it wasn't working correctly)"]},{ver:"3.1.49",gameVer:"1.77.0",date:"24/03/2023",features:["Added 'Sort By' filter for meals (for next level ,lv. 11 and lv. 30)"],fixes:["Fixed library speed calculation"]},{ver:"3.1.48",gameVer:"1.77.0",date:"22/03/2023",features:["Added library timer to dashboard"],fixes:["Updated logic for post office dashboard notification (doesn't show up when maxed all boxes)"]},{ver:"3.1.47",gameVer:"1.77.0",date:"21/03/2023",features:[(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/dashboard",children:"Dashboard"})," page!"]}),(0,d.jsxs)(r.Z,{children:["Added a tooltip for boss keys + colo tickets on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/general",children:"General"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added Stamp Reducer indication on ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/atom-collider",children:"Atom Collider"})," page"]}),"Added Subtract Green Stacks option for vials in dashboard (this will subtract 10M from your current amount to make sure you will still have green stack after upgrading)","Added a tooltip for exact quantity for items in storage"],fixes:["Fixed wizard towers max level (from atom collider)","Some bug fixes for low level accounts","Added missing W5 catching and chopping targets (ops)","Fixed a bug on Vials page"]},{ver:"3.1.46",gameVer:"1.77.0",date:"18/03/2023",features:[],fixes:["Update looty (hopefully it is more accurate)","Update W5 quest header (visual update)",'Updated atoms description with the correct "Total Bonus"','Fixed cooking speed to account for "Fluoride - Void Plate Chef" atom']},{ver:"3.1.45",gameVer:"1.77.0",date:"17/03/2023",features:[],fixes:["Added Elemental Sorcerer family bonus to talent levels"]},{ver:"3.1.44",gameVer:"1.77.0",date:"15/03/2023",features:["Added extra printer slots","Added calculation for 'Polytheism' talent of Elemental Sorcerer"],fixes:[]},{ver:"3.1.43",gameVer:"1.77.0",date:"04/03/2023",features:["Updated the website with 1.77.0 data and assets"],fixes:[]},{ver:"3.1.42",gameVer:"1.76.0",date:"24/02/2023",features:["Updated the website with 1.76.0 data and assets","Added new constellations"],fixes:["Carry bags order"]},{ver:"3.1.41",gameVer:"1.75.1",date:"10/02/2023",features:["Added materials per hour for refinery page"],fixes:[]},{ver:"3.1.40",gameVer:"1.75.1",date:"10/02/2023",features:["Updated the website with 1.75.1 data and assets"],fixes:[]},{ver:"3.1.39",gameVer:"1.75",date:"10/02/2023",features:["Updated the website with 1.75 data and assets"],fixes:[]},{ver:"3.1.38",gameVer:"1.74",date:"09/02/2023",features:[],fixes:["minor issue with captain exp requirement"]},{ver:"3.1.37",gameVer:"1.74",date:"31/01/2023",features:["Update the website with 1.74 data and assets",'Added "King of the remembrance" calculation to printer'],fixes:["Shrine bonus is now calculated correctly (hopefully)","Added extra levels from symbol talents and bear god","Fixed family bonuses to account for The Family Guy talent"]},{ver:"3.1.36",gameVer:"1.73",date:"23/01/2023",features:[],fixes:["Fixed atom collider bug when freshly opened"]},{ver:"3.1.35",gameVer:"1.73",date:"11/01/2023",features:["Added images and data from version 1.73"],fixes:["Fixed sigil bonuses"]},{ver:"3.1.34",gameVer:"1.72",date:"11/01/2023",features:["Added images and data from version 1.72",(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/atom-collider",children:"Atom Collider"})," page"]})],fixes:[]},{ver:"3.1.33",gameVer:"1.71",date:"06/01/2023",features:["Added library checkouts counter with breakpoints for 16, 18, 20 on Account -> General page (let me know if the timers are off)","Added percentage completed of the boat trip to the island"],fixes:[]},{ver:"3.1.32",gameVer:"1.71",date:"31/12/2022",features:[],fixes:["Fixed a bug where accounts without world 5 data would crash"]},{ver:"3.1.31",gameVer:"1.71",date:"30/12/2022",features:["Added max possible nugget roll possible","Added the required resources for a boat upgrade"],fixes:["Fixed a bug with islands names in sailing"]},{ver:"3.1.30",gameVer:"1.71",date:"29/12/2022",features:["Added chests, boats and captains display","Added crystal chance breakdown","Added divinity style to the activity filter when character is afk in divinity"],fixes:["Added indication for lab by linking Goharut as a god"]},{ver:"3.1.29",gameVer:"1.71",date:"28/12/2022",features:["Added timer for acorns in gaming page"],fixes:["Fixed gaming upgrades bonus and cost"]},{ver:"3.1.28",gameVer:"1.71",date:"27/12/2022",features:["Added a timer for dirty shovel (+ nuggets break points)","Applied most artifacts bonuses all over the website","Added tooltip over printer items showing the boosted value from lab,artifacts,gods","Divinity - now correctly showing unlocked gods"],fixes:["Sigils not calculated with artifacts bonus"]},{ver:"3.1.27",gameVer:"1.70",date:"26/12/2022",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/sailing",children:"Sailing"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/divinity",children:"Divinity"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-5/gaming",children:"Gaming"})," page"]})],fixes:["Added refinery speed stamp to refinery calculations","Fixed minor bug with un-acquired stamps"]},{ver:"3.1.26",gameVer:"1.70",date:"23/12/2022",features:[],fixes:["Added missing meals (from world 5)","Added basic logic for deities to activate lab"]},{ver:"3.1.25",gameVer:"1.70",date:"22/12/2022",features:[],fixes:["Added world 5 quests npc","Added world 5 vials","Added world 5 cards","Added world 5 death note","Added world 5 bubbles"]},{ver:"3.1.24",gameVer:"1.70",date:"20/12/2022",features:[],fixes:["Fixed small calculation error in max worship"]},{ver:"3.1.23",gameVer:"1.70",date:"19/12/2022",features:["Added data and assets for world 5!"],fixes:['Fixed timer in "Stats" filter to count up instead of down (please let me know if there are any issue with timers)']},{ver:"3.1.22",gameVer:"1.60",date:"21/11/2022",features:[],fixes:["Fixed small calculation error in cooking page","Added missing Demon Genie icon","Added exp per hour to exp calculator"]},{ver:"3.1.21",gameVer:"1.60",date:"11/10/2022",features:[],fixes:["Fixed total mat printed fixed"]},{ver:"3.1.20",gameVer:"1.60",date:"09/10/2022",features:["Added boop to zow/chow view","Added total material printed to Account -> General"],fixes:[]},{ver:"3.1.19",gameVer:"1.60",date:"15/09/2022",features:["Added additional information to anvil, worship and trap pages"],fixes:[]},{ver:"3.1.18",gameVer:"1.60",date:"09/08/2022",features:["Added an option to hide capped meals","Added progress indicator for cards","Cards you haven't found will appear with low opacity"],fixes:[]},{ver:"3.1.17",gameVer:"1.60",date:"30/07/2022",features:[],fixes:["Fixed AFK time in stats","Fixed obols ordering"]},{ver:"3.1.16",gameVer:"1.60",date:"12/07/2022",features:["Updated data to patch 1.60"],fixes:[]},{ver:"3.1.15",gameVer:"1.59",date:"08/07/2022",features:["Added number of ladles needed for level up in meals page"],fixes:["Fixed meal speed calculations","Fixed overflowing ladle calculations"]},{ver:"3.1.14",gameVer:"1.59",date:"08/07/2022",features:[(0,d.jsxs)(r.Z,{children:["Added total critters calculations to ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"Traps"})," page"]})],fixes:[]},{ver:"3.1.13",gameVer:"1.59",date:"08/07/2022",features:["Added an option to login with email and password (I'm still not saving anything anywhere so don't worry)"],fixes:["Fixed a bug in traps page caused when there's no trap box equipped"]},{ver:"3.1.12",gameVer:"1.59",date:"05/07/2022",features:[(0,d.jsxs)(r.Z,{children:["Added sections to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/item-planner",children:"item planner"})," page that allows you to track several items separately"]}),"Updated the website data with 1.59 patch"],fixes:[]},{ver:"3.1.11",gameVer:"1.58",date:"02/07/2022",features:[],fixes:["Cogstruction: fix for empties cog array"]},{ver:"3.1.10",gameVer:"1.58",date:"28/06/2022",features:[(0,d.jsxs)(r.Z,{children:["Added trap type, quantity and exp (by hovering the trap) to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-3/traps",children:"Traps"})," page"]})],fixes:[]},{ver:"3.1.8",gameVer:"1.58",date:"14/06/2022",features:["Added meal speed contribution view"],fixes:[]},{ver:"3.1.7",gameVer:"1.58",date:"01/06/2022",features:[(0,d.jsxs)(r.Z,{children:["Added ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-2/cauldrons",children:"Cauldrons"})," page to view all cauldrons and cauldrons upgrades from p2w tab"]})],fixes:[]},{ver:"3.1.6",gameVer:"1.58",date:"30/05/2022",features:["Updated to version 1.58"],fixes:[]},{ver:"3.1.5",gameVer:"1.57",date:"26/05/2022",features:[(0,d.jsxs)(r.Z,{children:["Added builds from idleon companion under Tools and can be accessed like this ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/tools/builds?b=barbarian&c=1",children:"https://idleontoolbox.com/tools/builds?b=barbarian&c=1"})," (The new classes are still missing builds, let me know if you want to add some)"]}),(0,d.jsxs)(r.Z,{children:["Added forge upgrades tab to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-1/forge",children:"Forge"})," page"]}),(0,d.jsxs)(r.Z,{children:["Added claims counter for spices under to the ",(0,d.jsx)(i.Z,{href:"https://idleontoolbox.com/account/world-4/cooking",children:"Cooking"})," page"]})],fixes:[]},{ver:"3.1.4",gameVer:"1.57",date:"26/05/2022",features:["Added coin cost to max calculation for anvil","Small refinery visual bug fix"],fixes:[]},{ver:"3.1.3",gameVer:"1.57",date:"24/05/2022",features:["Added an option to apply Overflowing ladle (Blood Berserker talent) to meals"],fixes:[]},{ver:"3.1.2",gameVer:"1.57",date:"24/05/2022",features:["Apocalypses page under Account tab"],fixes:[]},{ver:"3.1.1",gameVer:"1.57",date:"24/05/2022",features:[],fixes:["Hopefully fixed lab calculations"]},{ver:"3.1.0",gameVer:"1.57",date:"23/05/2022",features:["Updated all data to version 1.57","(Things might still be inaccurate, I'm still updating the formulas to account for all the new stuff)",'Added a light version of a "Public Profile" using pastebin to import your data, instructions can be found on the button above (let me know if you experience any kind of problems in any type of connection)'],fixes:[]},{ver:"3.0.10",gameVer:"1.56.1",date:"22/05/2022",features:[],fixes:["Fixed a bug with dungeons happy hour timer counting up","Fixed a bug with cogstruction data export"]},{ver:"3.0.9",gameVer:"1.56.1",date:"21/05/2022",features:[],fixes:["Fixed sorting meals logic","Fixed meals cost calculations"]},{ver:"3.0.8",gameVer:"1.56.1",date:"21/05/2022",features:["Added towers page under Account -> World 3"],fixes:[]},{ver:"3.0.7",gameVer:"1.56.1",date:"20/05/2022",features:["(Re-)Added the item browser which lets you find an item anywhere in your account"],fixes:[]},{ver:"3.0.6",gameVer:"1.56.1",date:"20/05/2022",features:["Added 'chance not to consume food' percentage in 'Stats' filter"],fixes:[]},{ver:"3.0.5",gameVer:"1.56.1",date:"19/05/2022",features:[],fixes:["Added doubling bonus chips to the calculations of cards and star signs","Fixed a small bug with displaying cards"]},{ver:"3.0.4",gameVer:"1.56.1",date:"19/05/2022",features:["Added minigame and library currency to Account -> General","Small visual update for dungeons"],fixes:[]},{ver:"3.0.3",gameVer:"1.56.1",date:"19/05/2022",features:["Quick and dirty storage page"],fixes:[]},{ver:"3.0.2",gameVer:"1.56.1",date:"18/05/2022",features:[],fixes:["Re-added points distribution in anvil details"]},{ver:"3.0.1",gameVer:"1.56.1",date:"18/05/2022",features:[],fixes:["Fixed a visual bug in construction page","Fixed calculation of anvil details"]},{ver:"3.0.0",gameVer:"1.56.1",date:"12/05/2022",features:["Reworked the website - the website is now responsive and can be used in mobile as well!","WIP: builds (from idleon companion)"],fixes:[]}]},44346:function(e,a,t){t.r(a);var d=t(85893),r=t(51233),i=t(67720),o=t(15861),s=t(67358),n=t(38895),l=t(22797),c=t(67294),u=t(87357),h=t(75716),g=t(23663),p=t(96540),f=t(27036),m=t(13486),x=t(70720),b=t(8986);let w=e=>{let{title:a,list:t,icon:i,topMargin:s=!0}=e;if(!t||0===t.length)return null;let n={add:(0,d.jsx)(p.Z,{sx:{color:m.Z[600]}}),fix:(0,d.jsx)(f.Z,{sx:{color:x.Z[300]}})};return(0,d.jsxs)(u.Z,{sx:{marginTop:s?"20px":0},children:[(0,d.jsxs)(r.Z,{direction:"row",alignItems:"center",gap:1,children:[n[i],(0,d.jsx)(o.Z,{sx:{color:"add"===i?m.Z[500]:x.Z[200]},variant:"h4",children:a})]}),(0,d.jsx)("ul",{style:{marginTop:20},children:t.map((e,t)=>(0,d.jsx)("li",{style:{marginTop:5},children:(0,d.jsx)(o.Z,{variant:"body1",component:"div",children:e})},"".concat(a,"-").concat(t)))})]})};a.default=e=>{var a;let{patchNotes:t}=e,[u,p]=(0,c.useState)(0),f=(0,g.a)();return t?null===(a=t||b.O)||void 0===a?void 0:a.map((e,a)=>(0,d.jsxs)(s.Z,{expanded:u===a,disableGutters:!0,sx:{"&:before":{display:"none"},border:"1px solid ".concat(f.palette.divider),"&:not(:last-child)":{borderBottom:0}},onChange:(e,t)=>p(t?a:null),children:[(0,d.jsxs)(n.Z,{sx:{flexDirection:"row-reverse",gap:2,"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"}},expandIcon:(0,d.jsx)(h.Z,{sx:{fontSize:"0.9rem"}}),children:["v",null==e?void 0:e.ver," - ",null==e?void 0:e.date]}),(0,d.jsx)(l.Z,{sx:{backgroundColor:"rgb(22, 22, 22)",p:3},children:(0,d.jsxs)(r.Z,{gap:3,children:[(0,d.jsx)(w,{icon:"add",topMargin:!1,title:"Features",list:null==e?void 0:e.features}),(0,d.jsx)(w,{icon:"fix",topMargin:!1,title:"Fixes",list:null==e?void 0:e.fixes})]})})]},"note"+a)):(0,d.jsx)(r.Z,{divider:(0,d.jsx)(i.Z,{}),gap:3,children:null===b.O||void 0===b.O?void 0:b.O.map((e,a)=>(0,d.jsxs)(r.Z,{gap:1,children:[(0,d.jsxs)(o.Z,{variant:"h3",children:["v",null==e?void 0:e.ver]}),(0,d.jsx)(w,{icon:"add",topMargin:!1,title:"Features",list:null==e?void 0:e.features}),(0,d.jsx)(w,{icon:"fix",topMargin:!1,title:"Fixes",list:null==e?void 0:e.fixes})]},"note"+a))})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/6426-231d0b386c1fa61a.js b/_next/static/chunks/6426-231d0b386c1fa61a.js deleted file mode 100644 index 4814b9752..000000000 --- a/_next/static/chunks/6426-231d0b386c1fa61a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6426],{24579:function(l,i,n){n.d(i,{Z:function(){return A}});var o=n(82729),e=n(85893),d=n(67294),u=n(66242),t=n(44267),v=n(51233),r=n(15861),a=n(87357),s=n(61599),c=n(66092),m=n(44358),p=n(15984),h=n(55166),f=n(6426),g=n(5497),_=n(95039),b=n(67924),y=n(32113),M=n(82118),w=n(2127);let x=l=>{var i,n,o;let e=null==l?void 0:null===(i=l.currencies)||void 0===i?void 0:i.KeysAll,d=null==l?void 0:null===(o=l.currencies)||void 0===o?void 0:null===(n=o.ColosseumTickets)||void 0===n?void 0:n.allTickets;return[...(null==e?void 0:e.filter(l=>{let{daysSincePickup:i}=l;return i>=3}))||[],...(null==d?void 0:d.filter((i,n)=>{var o;let{daysSincePickup:e}=i;return(0===n||(null==l?void 0:null===(o=l.finishedWorlds)||void 0===o?void 0:o["World".concat(n)]))&&e>=3}))||[]]};var S=l=>{let{alertsMap:i,data:n,extraData:o,trackers:e}=l,[u,t]=(0,d.useState)();return(0,d.useEffect)(()=>{if(e&&Object.values(e).some(l=>l)){let l=Object.entries(e||{}).reduce((l,e)=>{let[d,u]=e;if((null==u?void 0:u.checked)&&(null==i?void 0:i[d])){var t,v;let e=null==u?void 0:null===(t=u.options)||void 0===t?void 0:t.reduce((l,i)=>({...l,[null==i?void 0:i.name]:i}),{});l[d]=(null==i?void 0:null===(v=i[d])||void 0===v?void 0:v.call(i,n,e,o))||{}}return l},{});t(Object.values(l).some(l=>Array.isArray(l)?l.length>0:l)?l:null)}else t(null)},[n,e]),u};function C(){let l=(0,o._)(["\n width: 15px;\n height: 15px;\n position: absolute;\n left: -5px;\n bottom: 30%;\n"]);return C=function(){return l},l}function k(){let l=(0,o._)(["\n width: ",";\n height: ",";\n object-fit: contain;\n ","\n position: ",";\n"]);return k=function(){return l},l}let B={atomCollider:(l,i)=>{var n,o,e,d,u,t,v;let r={};return(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2)&&(null==i?void 0:null===(o=i.stampReducer)||void 0===o?void 0:o.checked)&&(r.stampReducer=(null==l?void 0:null===(e=l.atoms)||void 0===e?void 0:e.stampReducer)>=(null==i?void 0:null===(u=i.stampReducer)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:d.value),r.stampReducerValue=null==i?void 0:null===(v=i.stampReducer)||void 0===v?void 0:null===(t=v.props)||void 0===t?void 0:t.value),r},arcade:(l,i)=>{var n,o,e,d,u,t;let v={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1))return v;if(null==i?void 0:null===(o=i.balls)||void 0===o?void 0:o.checked){let i=Math.floor(Math.min((null==l?void 0:null===(e=l.timeAway)||void 0===e?void 0:e.GlobalTime)-(null==l?void 0:null===(d=l.timeAway)||void 0===d?void 0:d.Arcade),(0,p.he)(null==l?void 0:l.stamps))/Math.max((0,p.gq)(l),1800)),n=5*(null==l?void 0:null===(u=l.arcade)||void 0===u?void 0:u.maxBalls)/100;v.balls=i>=(null==l?void 0:null===(t=l.arcade)||void 0===t?void 0:t.maxBalls)-n}return v},alchemy:(l,i)=>{var n,o,e,d,u,t,v,r,a,s,c,m,p,h,g,_,y;let M={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1))return M;if(null==i?void 0:null===(o=i.bargainTag)||void 0===o?void 0:o.checked){let{x1:i,x2:n,index:o}=(null===b.liquidsShop||void 0===b.liquidsShop?void 0:b.liquidsShop.find(l=>{let{name:i}=l;return"BARGAIN_TAG"===i}))||{},e=Math.round(i*Math.pow(n,null==l?void 0:null===(v=l.alchemy)||void 0===v?void 0:null===(t=v.multiplierArray)||void 0===t?void 0:t[o]));M.bargainTag=1===e}if(null==i?void 0:null===(e=i.liquids)||void 0===e?void 0:e.checked){let n=null==l?void 0:null===(r=l.alchemy)||void 0===r?void 0:r.liquids,o=(null==i?void 0:null===(s=i.liquids)||void 0===s?void 0:null===(a=s.props)||void 0===a?void 0:a.value)/100;M.liquids=null==l?void 0:null===(m=l.alchemy)||void 0===m?void 0:null===(c=m.liquidCauldrons)||void 0===c?void 0:c.map((l,i)=>({current:null==n?void 0:n[i],max:l,index:i})).filter(l=>{let{current:i,max:n}=l;return n&&i>=n*o-5})}if((null==i?void 0:null===(d=i.sigils)||void 0===d?void 0:d.checked)&&(M.sigils=null==l?void 0:null===(g=l.alchemy)||void 0===g?void 0:null===(h=g.p2w)||void 0===h?void 0:null===(p=h.sigils)||void 0===p?void 0:p.filter(l=>{let{characters:i,progress:n,boostCost:o}=l;return i.length>0&&n>=o})),null==i?void 0:null===(u=i.vials)||void 0===u?void 0:u.checked){let{subtractGreenStacks:n}=i||{};M.vials=null==l?void 0:null===(y=l.alchemy)||void 0===y?void 0:null===(_=y.vials)||void 0===_?void 0:_.filter(i=>{var o,e,d,u,t,v;let{level:r,itemReq:a}=i,s=null===f.ln||void 0===f.ln?void 0:f.ln[r],c=(null==l?void 0:null===(e=l.storage)||void 0===e?void 0:null===(o=e.find(l=>{var i;let{name:n}=l;return n===(null==a?void 0:null===(i=a[0])||void 0===i?void 0:i.name)}))||void 0===o?void 0:o.amount)||0;(null==n?void 0:n.checked)&&(c-=1e7);let m=parseInt((null==a?void 0:null===(u=a[1])||void 0===u?void 0:null===(d=u.name.split("d"))||void 0===d?void 0:d[1])||0),p=null==l?void 0:null===(v=l.alchemy)||void 0===v?void 0:null===(t=v.liquids)||void 0===t?void 0:t[m-1];return c>s&&p>3*r})}return M},gaming:(l,i)=>{var n,o,e,d,u,t,v,r,a,s,m,p,h,f,g,_,b,y,M,w,x;if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World4))return!1;let{sprouts:S,squirrel:C,shovel:k}=i,B={};(null==S?void 0:S.checked)&&(null==l?void 0:null===(o=l.gaming)||void 0===o?void 0:o.availableSprouts)>=(null==l?void 0:null===(e=l.gaming)||void 0===e?void 0:e.sproutsCapacity)&&(B.sprouts=null==l?void 0:null===(f=l.gaming)||void 0===f?void 0:f.availableSprouts),(null==S?void 0:S.checked)&&(null==l?void 0:null===(d=l.gaming)||void 0===d?void 0:d.availableDrops)>=(null==l?void 0:null===(u=l.gaming)||void 0===u?void 0:u.sproutsCapacity)&&(B.drops=null==l?void 0:null===(g=l.gaming)||void 0===g?void 0:g.availableDrops);let T=null==l?void 0:null===(v=l.gaming)||void 0===v?void 0:null===(t=v.imports)||void 0===t?void 0:t.find(l=>{let{name:i,acquired:n}=l;return"Dirty_Shovel"===i&&n});if((null==i?void 0:null===(r=i.shovel)||void 0===r?void 0:r.checked)&&T&&k&&(null==l?void 0:null===(a=l.gaming)||void 0===a?void 0:a.lastShovelClicked)>=0){let n=new Date().getTime()-(null==l?void 0:null===(_=l.gaming)||void 0===_?void 0:_.lastShovelClicked)*1e3,{hours:o}=(0,c.getDuration)(new Date().getTime(),n);o>=(null==i?void 0:null===(y=i.shovel)||void 0===y?void 0:null===(b=y.props)||void 0===b?void 0:b.value)&&(B.shovel=(0,c.getDuration)(new Date().getTime(),n))}let O=null==l?void 0:null===(m=l.gaming)||void 0===m?void 0:null===(s=m.imports)||void 0===s?void 0:s.find(l=>{let{name:i,acquired:n}=l;return"Autumn_Squirrel"===i&&n});if((null==i?void 0:null===(p=i.squirrel)||void 0===p?void 0:p.checked)&&O&&C&&(null==l?void 0:null===(h=l.gaming)||void 0===h?void 0:h.lastAcornClicked)>=0){let n=new Date().getTime()-(null==l?void 0:null===(M=l.gaming)||void 0===M?void 0:M.lastAcornClicked)*1e3,{hours:o}=(0,c.getDuration)(new Date().getTime(),n);o>=(null==i?void 0:null===(x=i.squirrel)||void 0===x?void 0:null===(w=x.props)||void 0===w?void 0:w.value)&&(B.squirrel=(0,c.getDuration)(new Date().getTime(),n))}return B},guild:(l,i)=>{var n,o,e,d,u,t,v,r,a;let s={};if(!(null==l?void 0:null===(n=l.accountOptions)||void 0===n?void 0:n[37]))return!1;let{daily:c,weekly:m}=i;return(null==c?void 0:c.checked)&&(s.daily=null==l?void 0:null===(u=l.guild)||void 0===u?void 0:null===(d=u.guildTasks)||void 0===d?void 0:null===(e=d.daily)||void 0===e?void 0:null===(o=e.filter(l=>{let{requirement:i,progress:n}=l;return n{let{requirement:i,progress:n}=l;return n{var n,o,e,d;let u={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World4))return u;let{captains:t,chests:v}=i;if(null==t?void 0:t.checked){let{captains:i,shopCaptains:n}=(null==l?void 0:l.sailing)||{};u.captains=null==n?void 0:n.reduce((l,n)=>{let{captainType:o,firstBonusIndex:e,secondBonusIndex:d,firstBonusValue:u,secondBonusValue:t,firstBonusDescription:v,secondBonusDescription:r}=n,a=null==i?void 0:i.filter(l=>{let i=(null==l?void 0:l.firstBonusIndex)===e&&(null==l?void 0:l.secondBonusIndex)===d,n=(null==l?void 0:l.secondBonusIndex)===e&&(null==l?void 0:l.firstBonusIndex)===d,o=(null==l?void 0:l.firstBonusIndex)===e||(null==l?void 0:l.firstBonusIndex)===d;if(i||n){if(e===d)return u+t>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue);{let i=u>(null==l?void 0:l.firstBonusValue)&&t>(null==l?void 0:l.secondBonusValue),n=u>(null==l?void 0:l.secondBonusValue)&&t>(null==l?void 0:l.firstBonusValue);return i||n}}if(o&&(null==l?void 0:l.firstBonusIndex)===(null==l?void 0:l.secondBonusIndex)){if(e===(null==l?void 0:l.firstBonusIndex))return u>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue);if(d===(null==l?void 0:l.firstBonusIndex))return t>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue)}return!1});if((null==a?void 0:a.length)>0&&-1!==o){var s;let i=e===d;return[...l,{captain:n,isSameValue:i,badCaptains:null===(s=a.map(l=>{let{captainIndex:n,firstBonusDescription:o,secondBonusDescription:e,firstBonusValue:d,secondBonusValue:u}=l;return{captainIndex:n,firstBonusValue:d,secondBonusValue:u,bonus:i?o.substring(o.indexOf("%")).replace("%",d+u+"%"):[o.substring(o.indexOf("%")).replace("%",d+"%"),e.substring(e.indexOf("%")).replace("%",u+"%")]}}))||void 0===s?void 0:s.sort((l,i)=>(null==i?void 0:i.firstBonusValue)+(null==i?void 0:i.secondBonusValue)-((null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue))),bonus:i?null==v?void 0:v.substring(null==v?void 0:v.indexOf("%")).replace("%",u+t+"%"):[null==v?void 0:v.substring(null==v?void 0:v.indexOf("%")).replace("%",u+"%"),null==r?void 0:r.substring(null==r?void 0:r.indexOf("%")).replace("%",t+"%")]}]}return l},[])}if(null==v?void 0:v.checked){let i=259200<(null==l?void 0:null===(o=l.accountOptions)||void 0===o?void 0:o[124])?Math.floor((null==l?void 0:null===(e=l.accountOptions)||void 0===e?void 0:e[124])/8640)/10:Math.floor((null==l?void 0:null===(d=l.accountOptions)||void 0===d?void 0:d[124])/3600),{maxChests:n,timeToFullChests:t}=null==l?void 0:l.sailing,{hours:v}=(0,c.getDuration)(new Date().getTime(),t);u.chests=i>v&&n>0}return u},breeding:(l,i)=>{var n,o,e,d,u,t,v,r;let a={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World3))return a;if(null==i?void 0:null===(o=i.shinies)||void 0===o?void 0:o.checked){let n=null==l?void 0:null===(u=l.breeding)||void 0===u?void 0:null===(d=u.pets)||void 0===d?void 0:d.reduce((n,o)=>[...n,...null==o?void 0:o.filter(n=>{var o,e,d,u;let{monsterRawName:t,shinyLevel:v}=n;return(null==l?void 0:null===(e=l.breeding)||void 0===e?void 0:null===(o=e.fencePetsObject)||void 0===o?void 0:o[t])&&v>=(null==i?void 0:null===(u=i.shinies)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:d.value)})],[]);a.shinies={pets:n,threshold:null==i?void 0:null===(v=i.shinies)||void 0===v?void 0:null===(t=v.props)||void 0===t?void 0:t.value}}return(null==i?void 0:null===(e=i.eggs)||void 0===e?void 0:e.checked)&&(a.eggs=null==l?void 0:null===(r=l.breeding)||void 0===r?void 0:r.eggs.slice(0,15).every(l=>l>0)),a},printer:(l,i)=>{var n;let o={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2))return o;let{includeOakAndCopper:e,showAlertWhenFull:d}=i,u=(0,M.J)(l,d),t=["atom",...(null==e?void 0:e.checked)?[]:["Copper","OakTree"]].toSimpleObject();return o.atoms=Object.entries(u||{}).filter(l=>{let[i,{atoms:n}]=l;return!(null==t?void 0:t[i])&&n}).map(l=>{var i;let[n,o]=l;return{name:null===b.items||void 0===b.items?void 0:null===(i=b.items[n])||void 0===i?void 0:i.displayName,rawName:n,...o}}),o},shops:(l,i)=>{var n;let o={};return o.items=null==l?void 0:null===(n=l.shopStock)||void 0===n?void 0:n.reduce((n,o,e)=>{var d,u,t,v;return(2!==e&&3!==e||(null==l?void 0:null===(d=l.finishedWorlds)||void 0===d?void 0:d.World1))&&(4!==e||(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World2))&&(5!==e||(null==l?void 0:null===(t=l.finishedWorlds)||void 0===t?void 0:t.World3))&&(6!==e||(null==l?void 0:null===(v=l.finishedWorlds)||void 0===v?void 0:v.World4))?[...n,null==o?void 0:o.filter(l=>{var n,o,e;let{rawName:d}=l;return null==i?void 0:null===(e=i.shops)||void 0===e?void 0:null===(o=e.props)||void 0===o?void 0:null===(n=o.value)||void 0===n?void 0:n[d]})]:[...n,[]]},[]),o},construction:(l,i)=>{var n,o,e,d,u,t,v,r,a;let s={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2))return s;let{materials:c,rankUp:m,flags:p,buildings:f}=i||{};return(null==p?void 0:p.checked)&&(s.flags=null==l?void 0:null===(e=l.construction)||void 0===e?void 0:null===(o=e.board)||void 0===o?void 0:o.filter(l=>{let{flagPlaced:i,currentAmount:n,requiredAmount:o}=l;return i&&n===o})),(null==f?void 0:f.checked)&&(s.buildings=null==l?void 0:null===(u=l.towers)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:d.filter(i=>{let n=(0,h.ZX)(null==l?void 0:l.towers,null==i?void 0:i.level,null==i?void 0:i.bonusInc,null==i?void 0:i.index);return(null==i?void 0:i.progress)>=n})),(null==c?void 0:c.checked)&&(s.materials=null==l?void 0:null===(v=l.refinery)||void 0===v?void 0:null===(t=v.salts)||void 0===t?void 0:t.reduce((i,n,o)=>{var e,d,u,t;let{rank:v,cost:r,rawName:a}=n,s=o>0?o-1:null,c=null==l?void 0:null===(d=l.refinery)||void 0===d?void 0:null===(e=d.salts)||void 0===e?void 0:e[s],m=(0,y.B4)(o,v,r,l),p=(0,y.B4)(s,null==c?void 0:c.rank,null==c?void 0:c.cost,l);return 1===m.length&&(null==m?void 0:null===(t=m[0])||void 0===t?void 0:null===(u=t.rawName)||void 0===u?void 0:u.includes("Refinery"))&&(null==c?void 0:c.autoRefinePercentage)>0||(null==c?void 0:c.active)&&(null==p?void 0:p.length)>0||m.length>0&&(i=[...i,{rawName:a,missingMats:m}]),i},[])),(null==m?void 0:m.checked)&&(s.rankUp=null==l?void 0:null===(a=l.refinery)||void 0===a?void 0:null===(r=a.salts)||void 0===r?void 0:r.filter(l=>{let{refined:i,powerCap:n}=l;return i>=n-.2*n/100})),s},postOffice:(l,i)=>{var n,o,e;let d={};return(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1)&&(null==i?void 0:null===(o=i.postOffice)||void 0===o?void 0:o.checked)&&(d.shipments=null==l?void 0:null===(e=l.postOfficeShipments)||void 0===e?void 0:e.filter((l,n)=>{var o,e,d;let{streak:u}=l;return(null==i?void 0:null===(d=i.postOffice)||void 0===d?void 0:null===(e=d.props)||void 0===e?void 0:null===(o=e.value)||void 0===o?void 0:o[n+1])&&u<=0})),d},equinox:(l,i)=>{var n;let o=null==l?void 0:l.equinox,e=null==o?void 0:o.upgrades[9],{bar:d,challenges:u,foodLust:t}=i,v={};return d&&(v.bar=(null==o?void 0:o.currentCharge)>=(null==o?void 0:o.chargeRequired)&&(null==o?void 0:o.upgrades.filter(l=>l.unlocked).some(l=>l.lvll.active&&l.current>=l.goal))||void 0===n?void 0:n.length),t&&(v.foodLust=(null==e?void 0:e.lvl)>0&&(null==e?void 0:e.bonus)>=(null==e?void 0:e.lvl)),v},materialTracker:(l,i,n)=>{let o={},e=(0,c.tryToParse)(localStorage.getItem("material-tracker"));if(Object.keys(e||{}).length>0){var d;let{applyThresholdFromBelow:u,applyThresholdFromAbove:t}=i||{},v=(0,w.Nx)(n,l);o.materialTracker=null===(d=Object.values(e||{}))||void 0===d?void 0:d.reduce((l,i)=>{let{item:n,threshold:o}=i,{amount:e}=(0,w.AN)(v,null==n?void 0:n.displayName),d,r=.02*o;return((null==u?void 0:u.checked)&&eo?d="above":((null==u?void 0:u.checked)&&e<=o+r||(null==t?void 0:t.checked)&&e>=o+r)&&(d="close to"),d)?[...l,{item:n,threshold:o,quantityOwned:e,text:d}]:l},[])}return o},etc:(l,i,n)=>{var o,e,d,u,t,v,r,a,s,c,m,p,h,f,g,b,y,M,w,S,C,k,B,T,O;let I={};if((null==i?void 0:null===(o=i.randomEvents)||void 0===o?void 0:o.checked)&&(I.randomEvents=(null==l?void 0:null===(m=l.accountOptions)||void 0===m?void 0:m[137])===0),null==i?void 0:null===(e=i.dungeonTraits)||void 0===e?void 0:e.checked){let i=null==l?void 0:null===(p=l.dungeons)||void 0===p?void 0:p.rank;I.dungeonTraits=null==l?void 0:null===(f=l.dungeons)||void 0===f?void 0:null===(h=f.statBoosts)||void 0===h?void 0:h.reduce((l,n)=>{let{section:o,levelReq:e,bonuses:d}=n,u=null==d?void 0:d.every(l=>{let{isActive:i}=l;return!i});return i>e&&u?[...l,o]:l},[])}if((null==i?void 0:null===(d=i.keys)||void 0===d?void 0:d.checked)&&(I.keys=x(l)),(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World1)&&(null==i?void 0:null===(t=i.weeklyBosses)||void 0===t?void 0:t.checked)&&(I.weeklyBosses=(null==l?void 0:null===(g=l.accountOptions)||void 0===g?void 0:g[190])===0),(null==l?void 0:null===(v=l.finishedWorlds)||void 0===v?void 0:v.World1)&&(null==i?void 0:null===(r=i.killRoy)||void 0===r?void 0:r.checked)&&(I.killRoy=null==l?void 0:null===(b=l.accountOptions)||void 0===b?void 0:b[113]),!(null==l?void 0:null===(a=l.finishedWorlds)||void 0===a?void 0:a.World3))return I;if((null==i?void 0:null===(s=i.gildedStamps)||void 0===s?void 0:s.checked)&&(0,_.RB)(null==l?void 0:l.rift,"Stamp_Mastery")&&(I.gildedStamps=null==l?void 0:null===(y=l.accountOptions)||void 0===y?void 0:y[154]),null==i?void 0:null===(c=i.miniBosses)||void 0===c?void 0:c.checked){let n=[],o=null==l?void 0:null===(M=l.accountOptions)||void 0===M?void 0:M[96],e=null==l?void 0:null===(w=l.accountOptions)||void 0===w?void 0:w[98];if(o>3&&(null==l?void 0:null===(S=l.finishedWorlds)||void 0===S?void 0:S.World3)){let l=Math.min(10,Math.floor(Math.pow(o-3,.55)));l>=(null==i?void 0:null===(B=i.miniBosses)||void 0===B?void 0:null===(k=B.props)||void 0===k?void 0:k.value)&&n.push({rawName:"mini3b",name:"Dilapidated_Slush",currentCount:l})}if(e>3&&(null==l?void 0:null===(C=l.finishedWorlds)||void 0===C?void 0:C.World2)){let l=Math.min(8,Math.floor(Math.pow(e-3,.5)));l>=(null==i?void 0:null===(O=i.miniBosses)||void 0===O?void 0:null===(T=O.props)||void 0===T?void 0:T.value)&&n.push({rawName:"mini4b",name:"Mutated_Mush",currentCount:l})}I.miniBosses=n.length>0?n:null}return I},cooking:(l,i)=>{var n,o,e,d;let u={};return null!=l&&null!==(n=l.finishedWorlds)&&void 0!==n&&!!n.World3&&((null==i?void 0:null===(o=i.spices)||void 0===o?void 0:o.checked)&&(u.spices=g.Cz-(null==l?void 0:null===(d=l.cooking)||void 0===d?void 0:null===(e=d.spices)||void 0===e?void 0:e.numberOfClaims)),u)},tasks:(l,i)=>{var n,o;let e=[];return(null==i?void 0:null===(n=i.tasks)||void 0===n?void 0:n.checked)&&(e=null==l?void 0:null===(o=l.tasksDescriptions)||void 0===o?void 0:o.reduce((l,n,o)=>{var e,d,u;let t=null==n?void 0:n[8];return(null==t?void 0:t.level)===0&&(null==i?void 0:null===(u=i.tasks)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:null===(e=d.value)||void 0===e?void 0:e[o+1])?[...l,o]:l},[])),e}},T=l=>{let{title:i,iconPath:n,vial:o,atom:d,imgStyle:u={}}=l;return(0,e.jsx)(m.Z,{title:i,children:(0,e.jsxs)(a.Z,{sx:{position:"relative"},children:[(0,e.jsx)(E,{style:{...u},vial:o,src:"".concat(c.prefix).concat(n,".png"),alt:""}),d?(0,e.jsx)(P,{vial:o,src:"".concat(c.prefix,"etc/Particle.png"),alt:""}):null,o?(0,e.jsx)("img",{onError:l=>{l.target.src="".concat(c.prefix,"data/aVials12.png"),l.target.style="opacity: 0;"},src:"".concat(c.prefix,"data/aVials").concat((null==o?void 0:o.level)===0?"1":null==o?void 0:o.level,".png"),style:{opacity:(null==o?void 0:o.level)===0?.5:1,width:35,height:40},alt:"vial image missing"},"".concat(null==o?void 0:o.name)):null]})})},O=l=>{let{missingMats:i}=l;return(0,e.jsxs)(v.Z,{alignItems:"center",children:["Missing materials",(0,e.jsx)(v.Z,{direction:"row",children:i.map(l=>{let{rawName:i}=l;return(0,e.jsx)(E,{src:"".concat(c.prefix,"data/").concat(i,".png"),alt:""},i)})})]})},I=l=>{let{shop:i}=l;return(0,e.jsx)(v.Z,{direction:"row",gap:2,flexWrap:"wrap",children:null==i?void 0:i.map((l,i)=>{let{amount:n,rawName:o}=l;return(0,e.jsxs)(v.Z,{alignItems:"center",children:[(0,e.jsx)(E,{src:"".concat(c.prefix,"data/").concat(o,".png")},"shop"+o),(0,e.jsx)(r.Z,{children:(0,c.notateNumber)(n)})]},o+i)})})},P=s.Z.img(C()),E=s.Z.img(k(),l=>{let{vial:i}=l;return i?"20px":"30px"},l=>{let{vial:i}=l;return i?"20px":"30px"},l=>{let{vial:i}=l;return i?"top: 50%;left: 50%;transform:translate(-60%, -70%);":""},l=>{let{vial:i}=l;return i?"absolute":"relative"});var A=l=>{var i,n,o,d,a,s,m,p,h,f,g,_,b,y,M,w,x,C,k,P,E,A,L,N,R,q,D,j,F,G,U,H,V,Y,W,X,K,z,Q,Z,J,$,ll,li,ln,lo,le,ld,lu,lt,lv,lr,la,ls,lc,lm,lp,lh,lf,lg,l_,lb,ly,lM,lw,lx,lS,lC,lk,lB,lT,lO,lI,lP,lE,lA,lL,lN,lR,lq,lD,lj,lF,lG,lU,lH,lV,lY,lW,lX,lK,lz,lQ,lZ,lJ,l$,l0,l1,l2,l5,l3,l6,l4,l9,l7;let{account:l8,characters:il,trackers:ii}=l,io=S({alertsMap:B,data:l8,extraData:il,trackers:ii});return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(u.Z,{sx:{width:"fit-content"},children:(0,e.jsx)(t.Z,{children:io?(0,e.jsxs)(v.Z,{direction:"row",gap:2,flexWrap:"wrap",children:[(null==ii?void 0:ii.atomCollider)&&(null==io?void 0:null===(i=io.atomCollider)||void 0===i?void 0:i.stampReducer)?(0,e.jsx)(T,{title:"Stamp reducer has reached your threshold (".concat(null==io?void 0:null===(n=io.atomCollider)||void 0===n?void 0:n.stampReducerValue,"%)"),iconPath:"data/Atom0"}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(d=io.construction)||void 0===d?void 0:null===(o=d.flags)||void 0===o?void 0:o.length)>0?(0,e.jsx)(T,{title:"There are ".concat(null==io?void 0:null===(s=io.construction)||void 0===s?void 0:null===(a=s.flags)||void 0===a?void 0:a.length," flags finished in construction board"),iconPath:"data/CogFLflag"}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(m=io.alchemy)||void 0===m?void 0:m.bargainTag)?(0,e.jsx)(T,{title:"You haven't use bargain tag even once today",iconPath:"data/aShopItems10"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(p=io.etc)||void 0===p?void 0:p.randomEvents)?(0,e.jsx)(T,{title:"You haven't done a random event today",iconPath:"etc/Mega_Grumblo"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(h=io.etc)||void 0===h?void 0:h.weeklyBosses)?(0,e.jsx)(T,{title:"You haven't done a weekly (W2) boss fight this week",iconPath:"data/Trophie"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(f=io.etc)||void 0===f?void 0:f.killRoy)<21?(0,e.jsx)(T,{title:(null==io?void 0:null===(g=io.etc)||void 0===g?void 0:g.killRoy)===0?"You haven't done a killroy this week":(null==io?void 0:null===(_=io.etc)||void 0===_?void 0:_.killRoy)>0&&(null==io?void 0:null===(b=io.etc)||void 0===b?void 0:b.killRoy)<21?"You haven't done a killroy this week (You have 1 killroy left)":"",iconPath:"etc/Killroy"}):null,(null==ii?void 0:ii.cooking)&&(null==io?void 0:null===(y=io.cooking)||void 0===y?void 0:y.spices)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(M=io.cooking)||void 0===M?void 0:M.spices," spice clicks left"),iconPath:"data/CookingSpice0"}):null,(null==ii?void 0:ii.arcade)&&(null==io?void 0:null===(w=io.arcade)||void 0===w?void 0:w.balls)?(0,e.jsx)(T,{title:"Max ball capacity has reached",iconPath:"data/PachiBall0"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(x=io.gaming)||void 0===x?void 0:x.sprouts)?(0,e.jsx)(T,{title:"Max sprouts capacity has reached (".concat(null==io?void 0:null===(C=io.gaming)||void 0===C?void 0:C.sprouts,")"),imgStyle:{objectFit:"none"},iconPath:"etc/Sprouts"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(k=io.gaming)||void 0===k?void 0:k.drops)?(0,e.jsx)(T,{title:"Sprinkler drops has reached it's capacity (".concat(null==io?void 0:null===(P=io.gaming)||void 0===P?void 0:P.drops,")"),iconPath:"data/GamingItem0b"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(A=io.gaming)||void 0===A?void 0:null===(E=A.squirrel)||void 0===E?void 0:E.hours)>=1?(0,e.jsx)(T,{title:"".concat(null==io?void 0:null===(N=io.gaming)||void 0===N?void 0:null===(L=N.squirrel)||void 0===L?void 0:L.hours," hours has passed since you've clicked the squirrel"),iconPath:"data/GamingItem2"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(q=io.gaming)||void 0===q?void 0:null===(R=q.shovel)||void 0===R?void 0:R.hours)>=1?(0,e.jsx)(T,{title:"".concat(null==io?void 0:null===(j=io.gaming)||void 0===j?void 0:null===(D=j.shovel)||void 0===D?void 0:D.hours," hours has passed since you've clicked the shovel"),iconPath:"data/GamingItem1"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(F=io.equinox)||void 0===F?void 0:F.bar)?(0,e.jsx)(T,{title:"Your Equinox bar is full",iconPath:"data/Quest78"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(G=io.equinox)||void 0===G?void 0:G.challenges)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(U=io.equinox)||void 0===U?void 0:U.challenges," challenges to validate"),iconPath:"data/Quest78"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(H=io.equinox)||void 0===H?void 0:H.foodLust)?(0,e.jsx)(T,{title:"Food Lust is maxed",iconPath:"etc/Dream_Upgrade_10"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(V=io.etc)||void 0===V?void 0:V.gildedStamps)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(Y=io.etc)||void 0===Y?void 0:Y.gildedStamps," available gilded stamps"),iconPath:"data/GildedStamp"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(X=io.etc)||void 0===X?void 0:null===(W=X.miniBosses)||void 0===W?void 0:W.length)>0?null==io?void 0:null===(z=io.etc)||void 0===z?void 0:null===(K=z.miniBosses)||void 0===K?void 0:K.map(l=>{let{rawName:i,name:n,currentCount:o}=l;return(0,e.jsx)(T,{title:"You can kill ".concat(o," ").concat((0,c.cleanUnderscore)(n),"s"),iconPath:"etc/".concat(i)},i)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(Z=io.alchemy)||void 0===Z?void 0:null===(Q=Z.sigils)||void 0===Q?void 0:Q.length)>0?null==io?void 0:null===($=io.alchemy)||void 0===$?void 0:null===(J=$.sigils)||void 0===J?void 0:J.map(l=>{let{name:i,index:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)((0,c.pascalCase)(i))," is already unlocked"),iconPath:"data/aSiga".concat(n)},i)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(li=io.alchemy)||void 0===li?void 0:null===(ll=li.liquids)||void 0===ll?void 0:ll.length)>0?null==io?void 0:null===(lo=io.alchemy)||void 0===lo?void 0:null===(ln=lo.liquids)||void 0===ln?void 0:ln.map(l=>{let{index:i}=l;return(0,e.jsx)(T,{title:"".concat((0,c.getNumberWithOrdinal)(i+1)," liquid is full"),iconPath:"data/Liquid".concat(i+1,"_x1")},"liq"+i)}):null,(null==ii?void 0:ii.tasks)&&(null==io?void 0:null===(le=io.tasks)||void 0===le?void 0:le.length)>0?null==io?void 0:null===(ld=io.tasks)||void 0===ld?void 0:ld.map(l=>(0,e.jsx)(T,{title:"Daily task in world ".concat(l+1," not done yet"),iconPath:"etc/Merit_".concat(l)},"task"+l)):null,(null==ii?void 0:ii.sailing)&&(null==io?void 0:null===(lu=io.sailing)||void 0===lu?void 0:lu.chests)>0?(0,e.jsx)(T,{title:"You've reached to maximum capacity of chests",iconPath:"npcs/Chesty"},"sailing-chest-alert"):null,(null==ii?void 0:ii.sailing)&&(null==io?void 0:null===(lv=io.sailing)||void 0===lv?void 0:null===(lt=lv.captains)||void 0===lt?void 0:lt.length)>0?null==io?void 0:null===(la=io.sailing)||void 0===la?void 0:null===(lr=la.captains)||void 0===lr?void 0:lr.map(l=>{let{captain:i,bonus:n,badCaptains:o}=l;return(0,e.jsx)(T,{title:(0,e.jsxs)(v.Z,{children:[(0,e.jsxs)(r.Z,{sx:{mb:1},children:["Captain ",(0,e.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:null==i?void 0:i.captainIndex})," with ",(0,c.cleanUnderscore)(n)," from the shop is better than ",o.length," of your captains"]}),(0,e.jsx)(v.Z,{children:null==o?void 0:o.map(l=>{let{captainIndex:i,bonus:n}=l;return(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:i}),": ",(0,c.cleanUnderscore)(n)]},"cap-".concat(i))})})]}),iconPath:"etc/Captain_".concat(null==i?void 0:i.captainType)},"captain"+(null==i?void 0:i.captainIndex))}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(lc=io.construction)||void 0===lc?void 0:null===(ls=lc.materials)||void 0===ls?void 0:ls.length)>0?null==io?void 0:null===(lp=io.construction)||void 0===lp?void 0:null===(lm=lp.materials)||void 0===lm?void 0:lm.map(l=>{let{rawName:i,missingMats:n}=l;return(0,e.jsx)(T,{title:(0,e.jsx)(O,{missingMats:n}),iconPath:"data/".concat(i)},i)}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(lf=io.construction)||void 0===lf?void 0:null===(lh=lf.rankUp)||void 0===lh?void 0:lh.length)>0?null==io?void 0:null===(l_=io.construction)||void 0===l_?void 0:null===(lg=l_.rankUp)||void 0===lg?void 0:lg.map(l=>{let{rawName:i,saltName:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)(n)," is ready to rank up"),iconPath:"data/".concat(i)},i)}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(ly=io.construction)||void 0===ly?void 0:null===(lb=ly.buildings)||void 0===lb?void 0:lb.length)>0?null==io?void 0:null===(lw=io.construction)||void 0===lw?void 0:null===(lM=lw.buildings)||void 0===lM?void 0:lM.map(l=>{let{name:i,index:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)((0,c.pascalCase)(i))," is ready to be built"),iconPath:"data/ConTower".concat(n)},i)}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(lS=io.etc)||void 0===lS?void 0:null===(lx=lS.keys)||void 0===lx?void 0:lx.length)>0?null==io?void 0:null===(lk=io.etc)||void 0===lk?void 0:null===(lC=lk.keys)||void 0===lC?void 0:lC.map((l,i)=>{let{rawName:n,totalAmount:o}=l;return(0,e.jsx)(T,{title:"".concat(o," of ").concat((0,c.cleanUnderscore)((0,c.pascalCase)(name))," keys are ready"),iconPath:"data/".concat(n)},n+""+i)}):null,(null==ii?void 0:ii.materialTracker)&&(null==io?void 0:null===(lT=io.materialTracker)||void 0===lT?void 0:null===(lB=lT.materialTracker)||void 0===lB?void 0:lB.length)>0?null==io?void 0:null===(lI=io.materialTracker)||void 0===lI?void 0:null===(lO=lI.materialTracker)||void 0===lO?void 0:lO.map((l,i)=>{let{item:n,threshold:o,quantityOwned:d,text:u}=l;return(0,e.jsx)(T,{title:"Your ".concat((0,c.cleanUnderscore)((0,c.pascalCase)(null==n?void 0:n.displayName))," is ").concat(u," the threshold (").concat((0,c.notateNumber)(d),"/").concat((0,c.notateNumber)(o),")"),iconPath:"data/".concat(null==n?void 0:n.rawName)},(null==n?void 0:n.rawName)+""+i)}):null,(null==ii?void 0:ii.postOffice)&&(null==io?void 0:null===(lE=io.postOffice)||void 0===lE?void 0:null===(lP=lE.shipments)||void 0===lP?void 0:lP.length)>0?null==io?void 0:null===(lL=io.postOffice)||void 0===lL?void 0:null===(lA=lL.shipments)||void 0===lA?void 0:lA.map(l=>{let{index:i}=l;return(0,e.jsx)(T,{title:"Order streak for shipment #".concat(i+1," is 0"),iconPath:"data/UIlilbox"},"shipment"+i)}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(lR=io.etc)||void 0===lR?void 0:null===(lN=lR.dungeonTraits)||void 0===lN?void 0:lN.length)>0?null==io?void 0:null===(lD=io.etc)||void 0===lD?void 0:null===(lq=lD.dungeonTraits)||void 0===lq?void 0:lq.map((l,i)=>(0,e.jsx)(T,{title:"You haven't selected a trait for ".concat(l),iconPath:"data/DungTraitB0"},"dungeonTraits"+i)):null,(null==ii?void 0:ii.breeding)&&(null==io?void 0:null===(lj=io.breeding)||void 0===lj?void 0:lj.eggs)?(0,e.jsx)(T,{title:"Eggs are at full capacity",iconPath:"data/PetEgg1"},"breeding-eggs"):null,(null==ii?void 0:ii.breeding)&&(null==io?void 0:null===(lU=io.breeding)||void 0===lU?void 0:null===(lG=lU.shinies)||void 0===lG?void 0:null===(lF=lG.pets)||void 0===lF?void 0:lF.length)>0?null==io?void 0:null===(lY=io.breeding)||void 0===lY?void 0:null===(lV=lY.shinies)||void 0===lV?void 0:null===(lH=lV.pets)||void 0===lH?void 0:lH.map((l,i)=>{var n,o;let{monsterName:d,monsterRawName:u,shinyLevel:t,icon:v}=l;return(0,e.jsx)(T,{imgStyle:{filter:"hue-rotate(".concat((0,c.randomFloatBetween)(45,180),"deg)")},title:"".concat((0,c.cleanUnderscore)(d)," has surpassed the shiny level threshold (").concat(null==io?void 0:null===(o=io.breeding)||void 0===o?void 0:null===(n=o.shinies)||void 0===n?void 0:n.threshold,")"),iconPath:"Mface23"===v&&"shovelR"!==u?"afk_targets/".concat(d):"data/".concat(v)},d+i)}):null,(null==ii?void 0:null===(lW=ii.printer)||void 0===lW?void 0:lW.checked)&&(null==io?void 0:null===(lK=io.printer)||void 0===lK?void 0:null===(lX=lK.atoms)||void 0===lX?void 0:lX.length)>0?null==io?void 0:null===(lQ=io.printer)||void 0===lQ?void 0:null===(lz=lQ.atoms)||void 0===lz?void 0:lz.map(l=>{let{name:i,rawName:n}=l;return(0,e.jsx)(T,{title:"Printing is at maximum (storage) capacity for ".concat((0,c.cleanUnderscore)(i)),atom:!0,iconPath:"data/".concat(n)},"printer-atoms-"+n)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(lJ=io.alchemy)||void 0===lJ?void 0:null===(lZ=lJ.vials)||void 0===lZ?void 0:lZ.length)>0?null==io?void 0:null===(l0=io.alchemy)||void 0===l0?void 0:null===(l$=l0.vials)||void 0===l$?void 0:l$.map(l=>(0,e.jsx)(T,{vial:l,title:"You have enough materials to upgrade ".concat((0,c.cleanUnderscore)(null==l?void 0:l.name)," vial"),iconPath:"data/".concat(null==l?void 0:l.mainItem)},null==l?void 0:l.mainItem)):null,(null==ii?void 0:ii.shops)&&(null==io?void 0:null===(l2=io.shops)||void 0===l2?void 0:null===(l1=l2.items)||void 0===l1?void 0:l1.length)>0?null==io?void 0:null===(l3=io.shops)||void 0===l3?void 0:null===(l5=l3.items)||void 0===l5?void 0:l5.map((l,i)=>{var n;return(null==l?void 0:l.length)>0?(0,e.jsx)(T,{title:(0,e.jsx)(I,{shop:l}),iconPath:"data/ShopEZ".concat(i)},"shop"+i+(null==l?void 0:null===(n=l[0])||void 0===n?void 0:n.rawName)):null}):null,(null==ii?void 0:ii.guild)&&(null==io?void 0:null===(l6=io.guild)||void 0===l6?void 0:l6.daily)?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(l4=io.guild)||void 0===l4?void 0:l4.daily," uncompleted daily tasks"),iconPath:"etc/GP",imgStyle:{filter:"sepia(1) hue-rotate(46deg) saturate(1)"}}):null,(null==ii?void 0:ii.guild)&&(null==io?void 0:null===(l9=io.guild)||void 0===l9?void 0:l9.weekly)?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(l7=io.guild)||void 0===l7?void 0:l7.weekly," uncompleted weekly tasks"),iconPath:"etc/GP",imgStyle:{filter:"sepia(1) hue-rotate(140deg) saturate(1)"}}):null]}):(0,e.jsx)(r.Z,{children:"There are no account alerts to display"})})})})}},69320:function(l,i,n){n.d(i,{j:function(){return d},k:function(){return t}});var o=n(66092),e=n(67924);let d=l=>u((0,o.tryToParse)(null==l?void 0:l.AchieveReg)||(null==l?void 0:l.AchieveReg),(0,o.tryToParse)(null==l?void 0:l.SteamAchieve)||(null==l?void 0:l.SteamAchieve)),u=(l,i)=>null===e.achievements||void 0===e.achievements?void 0:e.achievements.map((n,o)=>{let{steamIndex:e}=n,d=e?(null==i?void 0:i[e])===-1:(null==l?void 0:l[o])===-1,u=e?null==i?void 0:i[e]:null==l?void 0:l[o];return{...n,completed:d,...u>=0?{currentQuantity:u}:{}}}),t=(l,i)=>{if(!(null==l?void 0:l[i]))return 0;switch(i){case 27:case 37:case 44:case 107:case 109:case 117:return 5;case 108:return 10;case 99:case 104:return 20;default:var n;return(null==l?void 0:null===(n=l[i])||void 0===n?void 0:n.completed)?1:0}}},6426:function(l,i,n){n.d(i,{AK:function(){return I},RG:function(){return q},Tw:function(){return w},Vq:function(){return R},YG:function(){return k},a2:function(){return j},iu:function(){return B},jd:function(){return _},ln:function(){return D},nm:function(){return T},om:function(){return S},p4:function(){return f},y7:function(){return x}});var o=n(66092),e=n(67924),d=n(72810),u=n(97424),t=n(5497),v=n(79521),r=n(21351),a=n(42915),s=n(86722);let c={0:"power",1:"quicc",2:"high-iq",3:"kazam"},m={0:"water drops",1:"liquid n2",2:"trench h2o"},p={0:"O",1:"G",2:"P",3:"Y"},h={_:"power",a:"quicc",b:"high-iq",c:"kazam"},f=(l,i,n)=>{var e,d;let u=(0,o.createArrayOfArrays)(null==l?void 0:l.CauldronInfo)||(null==l?void 0:l.CauldronInfo),t=(0,o.tryToParse)(null==l?void 0:l.CauldronJobs1)||(null==l?void 0:null===(e=l.CauldronJobs)||void 0===e?void 0:e[1]),v=A(l);return(null==u?void 0:u[8])&&(null==u?void 0:null===(d=u[8])||void 0===d?void 0:d.length)===0&&(u[8]=v.slice(0,16)),g(l,u,t,v,n)},g=(l,i,n,o,e)=>{let d=null==n?void 0:n.map((l,i)=>({activity:l,index:i})),u=y(l,d,e),t=M(i),v=O(null==i?void 0:i[5],o.slice(0,16),u,t,d);return{p2w:u,bubbles:t,vials:C(null==i?void 0:i[4]),cauldrons:v,cauldronsInfo:o,multiplierArray:null==i?void 0:i[10],liquids:null==i?void 0:i[6]}},_=l=>{var i,n;let o=null==l?void 0:null===(i=l.alchemy)||void 0===i?void 0:i.liquids,e=null==l?void 0:null===(n=l.alchemy)||void 0===n?void 0:n.cauldronsInfo.slice(18);return o.map((i,n)=>{var o,d,c,m,p,h,f,g,_,y,M,w,x,C,B;let T=b(n+4,e[4*n][1]),O=null!==(B=null==l?void 0:null===(o=l.gemShopPurchases)||void 0===o?void 0:o.find((l,i)=>106===i))&&void 0!==B?B:0,I=(0,u.W)(null==l?void 0:l.saltLick,5),P=0;O>n&&(P=.5+I/100),(null==l?void 0:null===(d=l.accountOptions)||void 0===d?void 0:d[123])>n&&(P=0===P?1:I/100+2);let E=S(null==l?void 0:null===(c=l.alchemy)||void 0===c?void 0:c.bubbles,"kazam","DA_DAILY_DRIP",!1),A=k(null==l?void 0:null===(m=l.alchemy)||void 0===m?void 0:m.vials,null,"Liquid".concat(n+1,"Cap")),L=(0,v.c9)(null==l?void 0:l.lab.labBonuses,8),N=(0,v.pc)(null==l?void 0:l.lab.jewels,16,L),R=(0,t.F4)(l,null,"Liquid".concat(0===n||1===n?"12":"34"),N),q=(0,r.pA)(null==l?void 0:l.rift,null==l?void 0:null===(h=l.totalSkillsLevels)||void 0===h?void 0:null===(p=h.alchemy)||void 0===p?void 0:p.rank,4),D=(0,v.c9)(null==l?void 0:l.lab.labBonuses,6),j=null==l?void 0:null===(y=l.alchemy)||void 0===y?void 0:null===(_=y.p2w)||void 0===_?void 0:null===(g=_.liquids)||void 0===g?void 0:null===(f=g[n])||void 0===f?void 0:f.capacity,F=(0,a.mV)(null==l?void 0:l.stamps,"Cap_for_all_Liquids_in_Alchemy"),G=null===(M=(0,s.d)(null==l?void 0:null===(w=l.arcade)||void 0===w?void 0:w.shop,"Cap_for_all_Liquids"))||void 0===M?void 0:M.bonus;return Math.ceil(D*(10+(T+(A+(j+(E*Math.max(Math.pow((null==l?void 0:null===(C=l.totalSkillsLevels)||void 0===C?void 0:null===(x=C.alchemy)||void 0===x?void 0:x.level)/25,.3),0)+(F+Math.ceil(G)))))))*(1+(P+(R+5*q)/100)))})},b=(l,i)=>l<4?Math.round(10*(0,o.growth)("decay",90,100,i,0,0))/10:Math.round(i),y=(l,i,n)=>{let e={0:4,1:5,2:6},d=i.filter((l,i)=>{let{activity:o}=l;return o<100&&o>=4&&-1!==o&&i<(null==n?void 0:n.length)}),u={},[t,v,r,a]=(0,o.tryToParse)(null==l?void 0:l.CauldronP2W)||(null==l?void 0:l.CauldronP2W);return u.cauldrons=t.toChunks(3).map((l,i)=>{let[n,o,e]=l;return{name:c[i],speed:n,newBubble:o,boostReq:e}}),u.liquids=v.toChunks(2).map((l,i)=>{let[n,o]=l;return{name:m[i],regen:n,capacity:o,players:null==d?void 0:d.filter(l=>{let{activity:n}=l;return n===(null==e?void 0:e[i])})}}).filter(l=>{let{name:i}=l;return i}),u.vials={attempts:(null==r?void 0:r[0])||0,rng:(null==r?void 0:r[1])||0},u.player={speed:(null==a?void 0:a[0])||0,extraExp:(null==a?void 0:a[1])||0},u.sigils=L(l,i,n),u},M=l=>null==l?void 0:l.reduce((l,i,n)=>{var o;return n<=3?{...l,[null==c?void 0:c[n]]:null===(o=Object.keys(i))||void 0===o?void 0:o.reduce((l,o,d)=>"length"!==o?[...l,{level:parseInt(null==i?void 0:i[o])||0,index:d,rawName:"aUpgrades".concat(p[n]).concat(d),...e.cauldrons[null==c?void 0:c[n]][o]}]:l,[])}:l},{}),w=(l,i,n)=>{var e;let d=(0,o.tryToParse)(null==l?void 0:l.CauldronBubbles)||(null==l?void 0:l.CauldronBubbles);return null==d?void 0:null===(e=d.filter((l,i)=>i<(null==n?void 0:n.length)))||void 0===e?void 0:e.map(l=>null==l?void 0:l.reduce((l,n)=>{var o;let e=h[n[0]],d=e?null==n?void 0:n.substring(1):null;return[...l,d?null==i?void 0:null===(o=i[e])||void 0===o?void 0:o[d]:{}]},[])).filter(l=>l.length)},x=(l,i,n,e)=>{var d,u;let t=(0,r.fe)(e,4);if(t)return S(null==e?void 0:null===(d=e.alchemy)||void 0===d?void 0:d.bubbles,i,n,!1);let v=null==l?void 0:l.find(l=>{let{bubbleName:i}=l;return n===i});return(v||t)&&null!==(u=(0,o.growth)(null==v?void 0:v.func,null==v?void 0:v.level,null==v?void 0:v.x1,null==v?void 0:v.x2,!1))&&void 0!==u?u:0},S=(l,i,n,e,d)=>{var u,t,v,r,a;let s=null==l?void 0:null===(u=l[i])||void 0===u?void 0:u.findIndex(l=>{let{bubbleName:i}=l;return i===n});if(-1===s)return 0;let c={quicc:[0,6,9,12,14].toSimpleObject(),power:[0,2,4,7,14].toSimpleObject(),"high-iq":[0,2,6,12,14].toSimpleObject()},m=null==l?void 0:null===(t=l[i])||void 0===t?void 0:t[s],p=null==l?void 0:null===(v=l[i])||void 0===v?void 0:v[1],h=d?(0,o.growth)(null==p?void 0:p.func,null==p?void 0:p.level,null==p?void 0:p.x1,null==p?void 0:p.x2,e):1,f=null==l?void 0:null===(r=l[i])||void 0===r?void 0:r[16],g=(null==c?void 0:null===(a=c[i])||void 0===a?void 0:a[s])?(0,o.growth)(null==f?void 0:f.func,null==f?void 0:f.level,null==f?void 0:f.x1,null==f?void 0:f.x2,e):1;return(0,o.growth)(null==m?void 0:m.func,null==m?void 0:m.level,null==m?void 0:m.x1,null==m?void 0:m.x2,e)*h*g},C=l=>Object.keys(l).reduce((i,n,o)=>{let d=null===e.vials||void 0===e.vials?void 0:e.vials[o];return"length"!==n?[...i,{...d,level:parseInt(null==l?void 0:l[n])||0}]:i},[]).filter(l=>{let{name:i}=l;return i}),k=(l,i,n)=>null==l?void 0:l.reduce((l,e)=>{var d;let{func:u,level:t,x1:v,x2:r,desc:a,stat:s,multiplier:c=1}=e;return i&&!a.includes(i)||n&&!s.includes(n)?l:l+(null!==(d=(0,o.growth)(u,t,v,r))&&void 0!==d?d:0)*c},0),B=(l,i)=>null==l?void 0:l.reduce((l,n)=>{var e;let{func:d,level:u,x1:t,x2:v,multiplier:r=1,stat:a}=n;return i!==a?l:l+(null!==(e=(0,o.growth)(d,u,t,v))&&void 0!==e?e:0)*r},0),T=(l,i)=>null==l?void 0:l.map(l=>({...l,multiplier:i})),O=(l,i,n,o,e)=>{let d=e.filter(l=>{let{activity:i}=l;return i<100&&-1!==i}),u={0:"power",4:"quicc",8:"high-iq",12:"kazam"},t={};for(let e=0,r=i.length;e{let{activity:i}=l;return i===e/4});t[u[e]]={progress:null==l?void 0:l[e/4],req:I(null==o?void 0:null===(v=o[u[e]])||void 0===v?void 0:v.length),players:p},Object.entries(m).forEach(l=>{var i;let[o,d]=l,[v,r]=d;t[u[e]]={...t[u[e]],boosts:{...t[u[e]].boosts,[o]:{progress:v,level:parseInt(r),req:E(0,2,null===(i=n.cauldrons[e/4])||void 0===i?void 0:i.boostReq,parseInt(r))}}}})}return t},I=l=>3+Math.pow(3*l,2.2)*Math.pow(1.3,l),P=(l,i,n)=>{let[d,u,t]=e.p2w[l][i];return Math.max((100-Math.max(0,(0,o.growth)(t,n,d,u)))/100,.05)},E=(l,i,n,o)=>Math.floor(1+Math.pow(1.5*(o+1),1.6)*Math.pow(1.073,o+1)*2*P(0,2,n)),A=l=>{var i,n,o;return(null==l?void 0:l.CauldUpgLVs)&&(null==l?void 0:l.CauldUpgXPs)?null==l?void 0:null===(i=l.CauldUpgLVs)||void 0===i?void 0:i.map((i,n)=>{var o;return[null==l?void 0:null===(o=l.CauldUpgXPs)||void 0===o?void 0:o[n],i]}):null==l?void 0:null===(o=l.CauldronInfo)||void 0===o?void 0:null===(n=o[8])||void 0===n?void 0:n.reduce((l,i)=>[...l,...i],[])},L=(l,i,n)=>N((0,o.tryToParse)(null==l?void 0:l.CauldronP2W)||(null==l?void 0:l.CauldronP2W),i,n),N=(l,i,n)=>{let o=null==l?void 0:l[4],d=[];for(let l=0,u=o.length;l{let{activity:o,index:e}=i;return o>=100&&Math.floor(o-100)===l/2&&e<11&&e<(null==n?void 0:n.length)});v&&(d=[...d,{...v,unlocked:t,progress:u,bonus:1===t?null==v?void 0:v.boostBonus:0===t?null==v?void 0:v.unlockBonus:0,characters:r}])}return d.map((l,i)=>({...l,index:i}))},R=(l,i)=>l?null==l?void 0:l.reduce((l,n)=>(null==n?void 0:n.name)!==i?l:l+(null==n?void 0:n.bonus),0):0,q=(l,i)=>{let n=(0,d.YS)(i,"Chilled_Yarn");if(!n)return l;let o=1+(null==n?void 0:n.bonus);return null==l?void 0:l.map(l=>({...l,bonus:l.bonus*o}))},D=[0,100,1e3,2500,1e4,5e4,1e5,5e5,1000001,5e6,25e6,1e8,1e9,5e10],j=(l,i)=>Math.floor(i/1e9*(l+1)*Math.pow(1.04,l)*100)},65455:function(l,i,n){n.d(i,{J7:function(){return R},KC:function(){return E},MH:function(){return N},eW:function(){return A},uv:function(){return L}});var o=n(67924),e=n(21351),d=n(80257),u=n(6426),t=n(14802),v=n(64169),r=n(98118),a=n(2127),s=n(42915),c=n(94336),m=n(84664),p=n(2035),h=n(97424),f=n(15984),g=n(83524),_=n(6896),b=n(14581),y=n(70436),M=n(69320),w=n(54381),x=n(95299);let S=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,t=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,v=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;return(1+(n+2*i)/100)*(1+(o+u)/100)*(1+d/100)*(0,e.Yu)(l)*(1+(t+v)/100)},C=function(){let{costThreshold:l,startingIndex:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;if(!l)return 0;let e=0;for(let l=i;lMath.round((Math.pow(l+1,1.5)+l)*Math.max(.1,1-i/100)),B=l=>{var i;let n=o.anvilUpgradeCost.findIndex((i,n)=>{let{costThreshold:e}=i;return l{let n=0;for(let o=0;oMath.round((Math.pow(l,3)+50)*(1+l/100)*Math.max(.1,1-i/100)),I=(l,i)=>{let n=0;for(let o=l;o<600;o++)n+=O(o,i,!0);return null!=n?n:0},P=(l,i)=>{let n=(1+3*l/100)*i;return n<20?n:Math.min(20+(n-20)/(n-20+70)*50,75)},E=l=>{let i=null==l?void 0:l.AnvilPA,[n,o,e,d,u,t]=null==l?void 0:l.AnvilPAstats;return{anvilProduction:i,anvilStats:{availablePoints:n,pointsFromCoins:o,pointsFromMats:e,xpPoints:d,speedPoints:u,capPoints:t},anvilSelected:null==l?void 0:l.AnvilPAselect}},A=(l,i,n)=>{var P,E,A,L,N,R,q,D,j,F,G,U,H,V,Y,W,X,K,z,Q,Z,J,$,ll,li,ln,lo,le,ld;let{anvil:lu}=l,{anvilProduction:lt,anvilStats:lv,anvilSelected:lr}=lu||{},{availablePoints:la,pointsFromCoins:ls,pointsFromMats:lc,xpPoints:lm,speedPoints:lp,capPoints:lh}=lv||{};Array.isArray(lr)||(lr=[lr]);let lf=null==lt?void 0:lt.reduce((l,i,n)=>{var e;let[d,u,t,v]=i;return[...l,{currentAmount:d,currentXP:u,currentProgress:parseFloat(t),totalProduced:v,...o.anvilProducts[n]||{},hammers:null==lr?void 0:null===(e=lr.filter(l=>l===n))||void 0===e?void 0:e.length}]},[]),lg={availablePoints:la,pointsFromCoins:ls,pointsFromMats:lc,xpPoints:lm,speedPoints:lp,capPoints:lh},l_=(0,u.om)(null==n?void 0:null===(P=n.alchemy)||void 0===P?void 0:P.bubbles,"quicc","ANVILNOMICS")*((null===(E=t.pV[null==l?void 0:l.class])||void 0===E?void 0:E.includes("Archer"))?(0,u.om)(null==n?void 0:null===(A=n.alchemy)||void 0===A?void 0:A.bubbles,"quicc","ARCHER_OR_BUST"):1),lb=B(lc);lg.anvilCost={...lb,totalMats:C(lb,lc,l_),nextMatUpgrade:k(lc,l_),totalCoins:T(ls,l_),nextCoinUpgrade:O(ls,l_,!0),coinsToMax:I(ls,l_)};let ly=(0,v.o9)(l,n,"Skill_EXP_gain"),lM=(0,r.Xt)(null==l?void 0:l.cards,"Z7"),lw=(0,r.OK)(null==n?void 0:n.cards,"Skill_EXP_(Passive)"),lx=(0,e.tE)("Golden_Ham",l,n),lS=(null==l?void 0:null===(N=l.cards)||void 0===N?void 0:null===(L=N.cardSet)||void 0===L?void 0:L.rawName)==="CardSet3"?null==l?void 0:null===(q=l.cards)||void 0===q?void 0:null===(R=q.cardSet)||void 0===R?void 0:R.bonus:0,lC=(0,t.A5)(i,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),lk=(0,t.xI)(i,n,lC,536),lB=(0,t.xI)(i,n,lC,35,l),lT=(0,t.c4)(l,i,n),lO=(0,c.wt)(null==n?void 0:n.shrines,5,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(D=n.sailing)||void 0===D?void 0:D.artifacts),lI=(0,m.U6)(null==n?void 0:n.statues,"StatueG18",null==l?void 0:l.talents),lP=null===(j=(0,p.Y0)(null==l?void 0:l.activePrayers,"Unending_Energy",n))||void 0===j?void 0:j.bonus,lE=null===(F=(0,p.Y0)(null==l?void 0:l.activePrayers,"Balance_of_Proficiency",n))||void 0===F?void 0:F.bonus,lA=null===(G=(0,p.Y0)(null==l?void 0:l.activePrayers,"Skilled_Dimwit",n))||void 0===G?void 0:G.curse,lL=null===(U=(0,p.Y0)(null==l?void 0:l.activePrayers,"The_Royal_Sampler",n))||void 0===U?void 0:U.curse,lN=(0,a.zi)(l,27,n),lR=(0,t.eZ)(null==l?void 0:l.activeBuffs,"MAESTRO_TRANSFUSION"),lq=(0,h.W)(null==n?void 0:n.saltLick,3),lD=(0,f.U4)(null==n?void 0:null===(H=n.dungeons)||void 0===H?void 0:H.upgrades,"Class_Exp"),lj=(0,g.xV)(null==l?void 0:l.postOffice,"Myriad_Crate",2),lF=(0,M.k)(null==n?void 0:n.achievements,283),lG=(0,M.k)(null==n?void 0:n.achievements,284),lU=(0,M.k)(null==n?void 0:n.achievements,294),lH=(0,e.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,1),lV=(0,e.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,4),lY=(0,w.du)(null==n?void 0:null===(V=n.breeding)||void 0===V?void 0:V.pets,"Skill_EXP"),lW=null!==(ln=null===(Y=(0,x.Ob)(n,"MSA_Skill_EXP"))||void 0===Y?void 0:Y.bonus)&&void 0!==ln?ln:0,lX=0,lK=(0,y.s8)(n,i,7);(null==lK?void 0:lK[null==l?void 0:l.playerId])!==-1&&(lX=(0,y.zJ)(null==n?void 0:null===(lo=n.divinity)||void 0===lo?void 0:lo.linkedDeities,i,7)),lg.baseAnvilExp=ly+(lM+lx+lT*Math.min(1,lk?lT:0)+(lS+lw+(Math.min(150,100*lB)+lO)+lI+lP+lE-lA-lL+(lN+(lR+(lq+(lD+(lj+(lX+(10*lF+(25*lG+(10*lU+(lH+(lV+(lY+lW))))))))))))));let lz=(0,s.fE)(null==n?void 0:n.stamps,"skills","StampB3",l),lQ=(0,g.xV)(null==l?void 0:l.postOffice,"Blacksmith_Box",1),lZ=(0,u.y7)(null==l?void 0:l.equippedBubbles,"quicc","HAMMER_HAMMER",n),lJ=(0,m.U6)(null==n?void 0:n.statues,"StatueG12",null==l?void 0:l.talents),l$=(0,v.o9)(l,n,"Speed_in_Town"),l0=(0,t._X)(null==l?void 0:l.talents,0,"BROKEN_TIME");lg.anvilSpeed=3600*S(null==l?void 0:null===(W=l.stats)||void 0===W?void 0:W.agility,lp,lz,lQ,lZ,lJ,l$,l0);let l1=0,l2=null===(X=(0,p.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",n))||void 0===X?void 0:X.curse,l5=null===(K=(0,p.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",n))||void 0===K?void 0:K.bonus;(null==n?void 0:null===(Q=n.guild)||void 0===Q?void 0:null===(z=Q.guildBonuses)||void 0===z?void 0:z.length)>0&&(l1=(0,_._r)(null==n?void 0:null===(le=n.guild)||void 0===le?void 0:le.guildBonuses,2));let l3=(1+(l1+(0,t._X)(null==l?void 0:l.starTalents,null,"TELEKINETIC_STORAGE"))/100)*(1+(0,c.wt)(null==n?void 0:n.shrines,3,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(Z=n.sailing)||void 0===Z?void 0:Z.artifacts)/100)*Math.max(1-l2/100,.4)*(1+(l5+(0,d.k)(null==n?void 0:n.bribes,"Bottomless_Bags"))/100),l6=(0,s.fE)(null==n?void 0:n.stamps,"skills","StampB8",l),l4=(0,s.fE)(null==n?void 0:n.stamps,"misc","StampC2",l),l9=null!==(ld=null==n?void 0:null===(J=n.gemShopPurchases)||void 0===J?void 0:J.find((l,i)=>58===i))&&void 0!==ld?ld:0,l7=(0,t._X)(null==l?void 0:l.talents,0,"EXTRA_BAGS"),l8=(0,v.o9)(l,n,"Carry_Cap"),il=null==l?void 0:null===($=l.carryCapBags)||void 0===$?void 0:$.find(l=>{let{Class:i}=l;return"bCraft"===i}),ii=(0,b.nR)(il,{allCapacity:l3,mattyBagStampBonus:l6,masonJarStampBonus:l4,gemShopCarryBonus:l9,extraBagsTalentBonus:l7,starSignExtraCap:l8});lg.anvilCapacity=Math.round(ii*(2+.1*lh));let io=lr.sort((l,i)=>l-i).map(l=>o.anvilProducts[l]);return{guild:(null==n?void 0:null===(li=n.guild)||void 0===li?void 0:null===(ll=li.guildBonuses)||void 0===ll?void 0:ll.length)>0,stats:lg,production:lf,selected:io}},L=(l,i,n,o,d)=>{var u,v;let a=(0,t._X)(null==l?void 0:l.talents,1,"FOCUSED_SOUL"),c=(0,t._X)(null==l?void 0:l.talents,0,"HAPPY_DUDE"),m=(0,r.OK)(null==n?void 0:n.cards,"Smithing_EXP_(Passive)"),p=(0,g.xV)(null==l?void 0:l.postOffice,"Blacksmith_Box",0),h=(0,s.mV)(null==n?void 0:n.stamps,"SmithExp",l),f=(0,e.pA)(null==n?void 0:n.rift,null==n?void 0:null===(v=n.totalSkillsLevels)||void 0===v?void 0:null===(u=v.smithing)||void 0===u?void 0:u.rank,0),_=(0,t.A5)(i,2,"Maestro","LEFT_HAND_OF_LEARNING"),b=(0,t.A5)(i,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),y=(0,t.xI)(i,n,b,42);return(0,t.gW)(null==l?void 0:l.class,"Maestro")&&y&&(_*=2),100*(P(d,Math.max(.1,(1+(a+(h+(c+25*f)))/100)*(1+m/100)*(1+p/100)+(o+_)/100))-1)},N=l=>{let{hammers:i,currentAmount:n,currentProgress:o,requiredAmount:e,afkTime:d,stats:u}=l,t=Math.min(Math.round(n+(o+(new Date().getTime()-d)/1e3*(null==u?void 0:u.anvilSpeed)/3600)/e*(null!=i?i:0)),null==u?void 0:u.anvilCapacity);return((null==u?void 0:u.anvilCapacity)-t)/((null==u?void 0:u.anvilSpeed)/3600/e*(null!=i?i:0))},R=(l,i)=>{var n;return null==l?void 0:null===(n=l.anvil)||void 0===n?void 0:n.reduce((n,o,e)=>{let{stats:d,production:u}=A(null==i?void 0:i[e],i,l),t=null==u?void 0:u.filter(l=>{let{hammers:i}=l;return i>0});return null==t||t.forEach(l=>{let{hammers:i,rawName:o,requiredAmount:e}=l,u=Math.min((null==d?void 0:d.anvilSpeed)*i/e,null==d?void 0:d.anvilCapacity);(null==n?void 0:n[o])?n[o]+=u:n[o]=u}),n},{})}},86722:function(l,i,n){n.d(i,{d:function(){return v},z:function(){return u}});var o=n(66092),e=n(67924),d=n(15984);let u=(l,i,n)=>t((0,o.tryToParse)(null==l?void 0:l.ArcadeUpg)||(null==l?void 0:l.ArcadeUpg),i,n),t=(l,i,n)=>{var u,t;let v=null==i?void 0:null===(u=i.accountOptions)||void 0===u?void 0:u[74],r=null==i?void 0:null===(t=i.accountOptions)||void 0===t?void 0:t[75],a=Math.round((0,d.he)(null==i?void 0:i.stamps)/Math.max(1,(0,d.gq)(i)));return{shop:null===e.arcadeShop||void 0===e.arcadeShop?void 0:e.arcadeShop.map((i,e)=>{var d;let{x1:u,x2:t,func:v}=i,r=null==l?void 0:l[e];return{...i,level:r,active:null==n?void 0:null===(d=n.ArcadeBonuses)||void 0===d?void 0:d.includes(e),bonus:(0,o.growth)(v,r,u,t,!1),iconName:"PachiShopICON".concat(e)}}),balls:v,goldBalls:r,maxBalls:a}},v=(l,i)=>null==l?void 0:l.find(l=>{let{effect:n}=l;return n.includes(i)})},17844:function(l,i,n){n.d(i,{Xp:function(){return m},_m:function(){return c},nK:function(){return t}});var o=n(66092),e=n(67924),d=n(6426),u=n(95299);let t=(l,i)=>{let n=(0,o.tryToParse)(null==l?void 0:l.Atoms)||(null==l?void 0:l.Atoms);return v((0,o.tryToParse)(null==l?void 0:l.Divinity)||(null==l?void 0:l.Divinity),n,i)},v=(l,i,n)=>{var o,t;let v=null!=i?i:[],c=null==l?void 0:l[39],m=null===e.atomsInfo||void 0===e.atomsInfo?void 0:e.atomsInfo.map((l,o)=>{var t,c,m,p,h,f,g,_,b;let y=null==v?void 0:v[o],M=null!==(f=null==n?void 0:null===(m=n.towers)||void 0===m?void 0:null===(c=m.data)||void 0===c?void 0:null===(t=c[8])||void 0===t?void 0:t.level)&&void 0!==f?f:0,w=null!==(g=null==i?void 0:i[9])&&void 0!==g?g:0,x=(0,d.om)(null==n?void 0:null===(p=n.alchemy)||void 0===p?void 0:p.bubbles,"kazam","ATOM_SPLIT",!1),S=null!==(_=null===(h=(0,u.Ob)(n,"Atom_Redux"))||void 0===h?void 0:h.unlocked)&&void 0!==_?_:0,C=Math.round(20+10*+!!(null!==(b=(0,u.Ob)(n,"Isotope_Discovery"))&&void 0!==b?b:0)),k={account:n,atomReductionFromAtom:w,reduxSuperbit:S,bubbleBonus:x,atomColliderLevel:M,atomInfo:l,level:y},B=r(k),T=r({...k,level:y+1}),O=a({...k,maxLevel:C}),I=s(l,y,n);return{level:y,maxLevel:C,rawName:"Atom".concat(o),...(null===e.atomsInfo||void 0===e.atomsInfo?void 0:e.atomsInfo[o])||{},cost:Math.floor(B),nextLeveCost:Math.floor(T),costToMax:Math.floor(O),bonus:I}}),p=null==n?void 0:null===(o=n.accountOptions)||void 0===o?void 0:o[134],h=null==m?void 0:m.find(l=>{let{name:i}=l;return"Hydrogen_-_Stamp_Decreaser"===i});return{particles:c,atoms:m,stampReducer:Math.min(90,(null!==(t=null==h?void 0:h.level)&&void 0!==t?t:0)*p)}},r=l=>{var i;let{account:n,atomReductionFromAtom:o,reduxSuperbit:e,bubbleBonus:d,atomColliderLevel:u,atomInfo:t,level:v}=l;return 1/(1+(o+10*(e?1:0)+d+u/10+7*(null==n?void 0:null===(i=n.tasks)||void 0===i?void 0:i[2][4][6]))/100)*((null==t?void 0:t.x3)+(null==t?void 0:t.x1)*v)*Math.pow(null==t?void 0:t.x2,v)},a=l=>{let i=0;for(let n=null==l?void 0:l.level;n<(null==l?void 0:l.maxLevel);n++)i+=r({...l,level:n});return i},s=(l,i,n)=>{var o,e,d;if((null==l?void 0:l.name)==="Fluoride_-_Void_Plate_Chef"){let d=null==n?void 0:null===(e=n.cooking)||void 0===e?void 0:null===(o=e.meals)||void 0===o?void 0:o.reduce((l,i)=>{let{level:n}=i;return n>=30?l+1:l},0);return 100*(Math.pow(1+(null==l?void 0:l.baseBonus)*i/100,d)-1)}if((null==l?void 0:l.name)==="Carbon_-_Wizard_Maximizer")return(null==l?void 0:l.baseBonus)*(null==n?void 0:null===(d=n.towers)||void 0===d?void 0:d.wizardOverLevels)},c=(l,i)=>{var n,o;let e=null==l?void 0:null===(n=l.atoms)||void 0===n?void 0:n.atoms;return null==e?void 0:null===(o=e.filter(l=>(null==l?void 0:l.name)===i).map(n=>{var o;return"Fluoride_-_Void_Plate_Chef"===i?null==n?void 0:n.bonus:"Carbon_-_Wizard_Maximizer"!==i?(null==n?void 0:n.level)*(null==n?void 0:n.baseBonus):(null==n?void 0:n.baseBonus)*(null==l?void 0:null===(o=l.towers)||void 0===o?void 0:o.wizardOverLevels)}))||void 0===o?void 0:o[0]},m=l=>0===l?15e6:1===l?25e6:2===l?1e8:3===l?25e7:105e7},54381:function(l,i,n){n.d(i,{N5:function(){return a},XM:function(){return c},cg:function(){return f},du:function(){return h},eJ:function(){return g}});var o=n(67924),e=n(66092),d=n(6426),u=n(42915),t=n(79521),v=n(5497),r=n(69320);let a=(l,i)=>{let n=(0,e.tryToParse)(null==l?void 0:l.Breeding)||(null==l?void 0:l.Breeding),o=(0,e.tryToParse)(null==l?void 0:l.Pets)||(null==l?void 0:l.Pets),d=(0,e.tryToParse)(null==l?void 0:l.PetsStored)||(null==l?void 0:l.PetsStored);return s(n,(0,e.tryToParse)(null==l?void 0:l.Territory)||(null==l?void 0:l.Territory),o,d,(0,e.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking),i)},s=(l,i,n,e,d,u)=>{var t,v,r,a,s,c,m,p,h,f,g,y,M;let w=null==l?void 0:l[0],x=null==l?void 0:null===(t=l[3])||void 0===t?void 0:t[8],S=null==l?void 0:l[1],C=null==l?void 0:null===(v=l[2])||void 0===v?void 0:v.map((l,i)=>({...o.petUpgrades[i]||[],level:l})),k={second:(null==C?void 0:null===(r=C[2])||void 0===r?void 0:r.level)>0,third:(null==C?void 0:null===(a=C[4])||void 0===a?void 0:a.level)>0,fourth:(null==C?void 0:null===(s=C[6])||void 0===s?void 0:s.level)>0,fifth:(null==C?void 0:null===(c=C[9])||void 0===c?void 0:c.level)>0},B=null==e?void 0:e.map(l=>{let[i,n,o]=l;return{name:i,level:n,power:o}}),T=null==l?void 0:l.slice(4,8),O=null==l?void 0:l.slice(22,26),I=Math.round(5+(null==l?void 0:null===(m=l[2])||void 0===m?void 0:m[4])+2*(null!==(M=null==u?void 0:null===(p=u.gemShopPurchases)||void 0===p?void 0:p.find((l,i)=>125===i))&&void 0!==M?M:0)),P=null==n?void 0:n.slice(0,I),E=null==P?void 0:P.reduce((l,i)=>{let[n,,,o]=i;return 0===o?l:{...l,[n]:(null==l?void 0:l[n])?(null==l?void 0:l[n])+1:1}},{}),A=null==i?void 0:i.map(l=>{let[,i]=l;return i}),L=null==i?void 0:i.map(l=>{let[i]=l;return i}),N=null==n?void 0:null===(f=n.slice(27))||void 0===f?void 0:null===(h=f.map(l=>{var i;let[n,e,d,u]=l,t=null===o.petGenes||void 0===o.petGenes?void 0:o.petGenes[e],v=null===o.monsters||void 0===o.monsters?void 0:null===(i=o.monsters[n])||void 0===i?void 0:i.Name;return{name:n,realName:v,x1:e,power:d,x3:u,gene:t}}))||void 0===h?void 0:h.toChunks(4),R=null===o.territory||void 0===o.territory?void 0:o.territory.map((l,i)=>{var n,o,e,d,u,t;let v=N[i],r=N[i-1]||[],a=N[i+1]||[],s=null==v?void 0:v.reduce((l,i,n)=>l+_({team:v,previousTeam:r,teamMember:i,position:n}),0),c=null==v?void 0:v.reduce((l,i)=>l+b(i),0),m=(null==v?void 0:v.some(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.abilityType)===0}))?0:null==v?void 0:null===(n=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Flashy"}))||void 0===n?void 0:n.length,p=null==v?void 0:null===(o=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Fleeter"}))||void 0===o?void 0:o.length,h=null==v?void 0:null===(e=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Fasidious"}))||void 0===e?void 0:e.length,f=null==v?void 0:v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Miasma"});f&&(f=(null==v?void 0:null===(t=v.map(l=>{let{gene:i}=l;return null==i?void 0:i.name}))||void 0===t?void 0:t.every((l,i,n)=>n.indexOf(i)===l))?1:4);let g=[...v,...r,...a],y=null==g?void 0:null===(d=g.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Badumdum"}))||void 0===d?void 0:d.length,M=null==g?void 0:null===(u=g.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Tsar"}))||void 0===u?void 0:u.length,w=s*Math.pow(1.3,p)*Math.pow(1.2,y)*Math.pow(1.5,m)*Math.pow(1.5,h)*f,x=(c+s*i)*Math.pow(1.5,M){var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Monolithic"}).length/5+1),C=((null==l?void 0:l.powerReq)+(null==A?void 0:A[i]))*Math.pow(S,null==A?void 0:A[i]);return{...l,team:v,forageSpeed:x,reqProgress:C,currentProgress:null==L?void 0:L[i]}}),q=[],D={},j=null===o.petStats||void 0===o.petStats?void 0:o.petStats.map((l,i)=>{let n=null==S?void 0:S[i];return null==l?void 0:l.map((l,o)=>{var e,d,u,t,v;let r=null===(e=Array(19).fill(1))||void 0===e?void 0:e.reduce((l,n,e)=>{var d;return(null==O?void 0:null===(d=O[i])||void 0===d?void 0:d[o])>Math.floor((1+Math.pow(e+1,1.6))*Math.pow(1.7,e+1))?e+2:l},0),a=Math.floor((1+Math.pow(r=(null==O?void 0:null===(d=O[i])||void 0===d?void 0:d[o])===0?0:0===r?1:r,1.6))*Math.pow(1.7,r)),s=Math.round((null==l?void 0:l.baseValue)*r),c={...l,world:"World"+(i+1),level:null==T?void 0:null===(u=T[i])||void 0===u?void 0:u[o],shinyLevel:r,progress:null==O?void 0:null===(t=O[i])||void 0===t?void 0:t[o],goal:a,rawPassive:null==l?void 0:l.passive,passive:null==l?void 0:null===(v=l.passive)||void 0===v?void 0:v.replace("{",s),passiveValue:s,unlocked:o0&&(D[null==l?void 0:l.passive]=s),(null==E?void 0:E[null==l?void 0:l.monsterRawName])&&q.push(c),c})});return{passivesTotals:D,storedPets:B,eggs:w,deadCells:x,speciesUnlocks:S,fencePets:q,fencePetsObject:E,maxArenaLevel:null==u?void 0:null===(g=u.accountOptions)||void 0===g?void 0:g[89],timeToNextEgg:(null==u?void 0:null===(y=u.accountOptions)||void 0===y?void 0:y[87])*1e3,petUpgrades:C,arenaBonuses:o.arenaBonuses,unlockedBreedingMulti:k,pets:j,territories:R,foragingRounds:A,currentProgress:L}},c=(l,i)=>{var n,o;let d=(0,e.tryToParse)(null==l?void 0:l.Breeding)||(null==l?void 0:l.Breeding),u=null==i?void 0:null===(o=i.breeding)||void 0===o?void 0:null===(n=o.pets)||void 0===n?void 0:n.map((l,n)=>null==l?void 0:l.map((l,o)=>{var e,u;let t=(0,v.eA)(null==i?void 0:null===(e=i.cooking)||void 0===e?void 0:e.kitchens),r=p(i,d,n,o,null==i?void 0:null===(u=i.breeding)||void 0===u?void 0:u.unlockedBreedingMulti,t);return{...l,breedingMultipliers:r}}));return{...null==i?void 0:i.breeding,pets:u}},m=(l,i,n)=>{let e=o.randomList[54].split(" ");return n+2>l[1][i]?1/Math.max(1,e[o.petStats[i][n].passiveIndex]):1},p=(l,i,n,e,r,a)=>{var s,c,p,h,f,_,b,y,M,w;let x=1+Math.ceil(100*Math.pow(i[4+n|0][e]/10,1.9))/100,S=(null==r?void 0:r.second)?1+Math.log(Math.max(1,Math.pow(i[n+13|0][e]+1,.725))):1,C=(null==r?void 0:r.third)?1+(.25*Math.pow(i[0][0],1.4)+Math.pow(i[0][0]/3,6)):1,k=(null==r?void 0:r.fourth)?0===n?1:1+.1*n+Math.max(1,Math.min(3,1+.15*i[2][7]))*Math.pow(i[1][n-1|0]/(o.petStats[n-1].length-o.petStats[n-1].length/2),3):1,B=(null==r?void 0:r.fifth)?Math.max(1,Math.pow((null==l?void 0:null===(s=l.accountOptions)||void 0===s?void 0:s[86])+1,.3)):1,T=m(i,n,e),O=null!==(w=null==l?void 0:null===(c=l.gemShopPurchases)||void 0===c?void 0:c.find((l,i)=>119===i))&&void 0!==w?w:0,I=(0,d.YG)(null==l?void 0:null===(p=l.alchemy)||void 0===p?void 0:p.vials,null,"NewPet"),P=(0,d.om)(null==l?void 0:null===(h=l.alchemy)||void 0===h?void 0:h.bubbles,"kazam","PETTING_THE_RIFT",!1),E=(0,u.mV)(null==l?void 0:l.stamps,"New_Pet_Chance"),A=(0,t.c9)(null==l?void 0:null===(f=l.lab)||void 0===f?void 0:f.labBonuses,8),L=(0,t.pc)(null==l?void 0:null===(_=l.lab)||void 0===_?void 0:_.jewels,16,A),N=(0,v.F4)(l,null,"Npet",L),R=g(null==l?void 0:null===(y=l.breeding)||void 0===y?void 0:null===(b=y.petUpgrades)||void 0===b?void 0:b[9],9,l),q=(1+10*O/100)*(1+(I+P*(null==l?void 0:null===(M=l.rift)||void 0===M?void 0:M.currentRift))/100)*(1+E/100)*(1+N/100)*Math.pow(Math.max(1,R),a/100)*T*x*S*C*k*B;return{first:x,second:S,third:C,fourth:k,fifth:B,totalChance:q}},h=(l,i)=>null==l?void 0:l.reduce((l,n)=>l+(null==n?void 0:n.reduce((l,n)=>{let{passive:o,passiveValue:e}=n;return l+(o.includes(i)&&e)},0)),0),f=(l,i,n,o)=>{if((null==l?void 0:l.shinyLevel)===o)return 0;let e=0;for(let i=null==l?void 0:l.shinyLevel;i0===i||2===i||4===i?null==l?void 0:l.level:1===i?4*(null==l?void 0:l.level):3===i?25*(null==l?void 0:l.level):5===i?(1+.25*(null==l?void 0:l.level))*Math.min(2,Math.max(1,1+.1*(0,r.k)(null==n?void 0:n.achievements,221))):6===i?6*(null==l?void 0:l.level):7===i?1+.15*(null==l?void 0:l.level):8===i?1+2*(null==l?void 0:l.level):9===i?1+.02*(null==l?void 0:l.level):10===i?10*(null==l?void 0:l.level):11===i?Math.ceil(12*Math.pow(null==l?void 0:l.level,.698)):0,_=l=>{var i,n,o,e;let{team:d,previousTeam:u,teamMember:t,position:v}=l;if((null==t?void 0:null===(i=t.gene)||void 0===i?void 0:i.abilityType)===1){switch(null==t?void 0:null===(n=t.gene)||void 0===n?void 0:n.name){case"Forager":return 2*(null==t?void 0:t.power);case"Targeter":if((null==u?void 0:null===(e=u[v])||void 0===e?void 0:null===(o=e.gene)||void 0===o?void 0:o.name)==="Targeter")return 5*(null==t?void 0:t.power);break;case"Opticular":if(null==d?void 0:d.every(l=>l.power<=t.power))return 3*(null==t?void 0:t.power);break;case"Borger":if(u.some(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Forager"}))return 10*(null==t?void 0:t.power)}return null==t?void 0:t.power}return 0},b=l=>{var i,n;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.abilityType)===0?(null==l?void 0:null===(n=l.gene)||void 0===n?void 0:n.name)==="Mercenary"?2*l.power:l.power:0}},80257:function(l,i,n){n.d(i,{k:function(){return t},t:function(){return d}});var o=n(66092),e=n(67924);let d=l=>u((null==l?void 0:l.BribeStatus)||(0,o.tryToParse)(null==l?void 0:l.BribeStatus)),u=l=>null==l?void 0:l.reduce((l,i,n)=>-1!==i?[...l,{...(null===e.bribes||void 0===e.bribes?void 0:e.bribes[n])||[],done:1===i}]:l,[]),t=(l,i)=>{var n,o;return null!==(o=null==l?void 0:null===(n=l.find(l=>{let{name:n,done:o}=l;return n===i&&o}))||void 0===n?void 0:n.value)&&void 0!==o?o:0}},98118:function(l,i,n){n.d(i,{BZ:function(){return c},OK:function(){return s},V3:function(){return m},Xt:function(){return a},vm:function(){return d}});var o=n(67924),e=n(66092);let d=(l,i)=>{var n;return v((null==l?void 0:null===(n=l.Cards)||void 0===n?void 0:n[0])||(0,e.tryToParse)(null==l?void 0:l.Cards0),(0,e.tryToParse)(null==l?void 0:l.Rift)||(null==l?void 0:l.Rift),i)},u=(l,i,n,o)=>{let e=0;for(let d=0;d<4+ +o;d++)"Boss3B"===n?i>1.5*Math.pow(d+1+Math.floor(d/3),2)&&(e=d+2):i>l*Math.pow(d+1+(Math.floor(d/3)+16*Math.floor(d/4)),2)&&(e=d+2);return e>0?e-1:e},t=(l,i,n)=>i>=5?0:l*Math.pow(i+1+(Math.floor((i+1)/4)+16*Math.floor((i+1)/5)),2)-n+1,v=(l,i,n)=>{let[e]=i||[],d=e>=45;return Object.entries(l).reduce((l,i)=>{var e,v;let[r,a]=i,s=null===o.cards||void 0===o.cards?void 0:o.cards[r],c=(null==n?void 0:null===(e=n.accountOptions)||void 0===e?void 0:e[155])||"",m=(null==c?void 0:null===(v=c.toString())||void 0===v?void 0:v.split(","))||[],p=(null==m?void 0:m.includes(r))?5:u(null==s?void 0:s.perTier,a,r,d);return s?{...l,[null==s?void 0:s.displayName]:{...s,amount:a,stars:p,nextLevelReq:a+t(null==s?void 0:s.perTier,p,a)}}:l},{})},r=(l,i)=>l&&i?i/(null==l?void 0:l.bonus)-1:null,a=(l,i)=>{var n;let o=null==l?void 0:null===(n=l.equippedCards)||void 0===n?void 0:n.find(l=>{let{cardIndex:n}=l;return n===i});return o?c(o):0},s=(l,i)=>{var n;return null===(n=Object.values(l||{}))||void 0===n?void 0:n.reduce((l,n)=>{var o;return(null==n?void 0:null===(o=n.effect)||void 0===o?void 0:o.includes(i))?l+c(n):l},0)},c=l=>{var i,n,o;return l?(null==l?void 0:l.bonus)*((null!==(i=null==l?void 0:l.stars)&&void 0!==i?i:-1)+1)*(null!==(n=null==l?void 0:l.chipBoost)&&void 0!==n?n:1):0},m=(l,i)=>{var n,e,d,u;if(!(null==l?void 0:l.CSetEq)&&!(null==l?void 0:l.CardEquip))return{};let t=null==l?void 0:l.CSetEq,v=null==l?void 0:null===(n=l.CardEquip)||void 0===n?void 0:n.map(l=>{var n,e,d;return{cardName:null===o.cards||void 0===o.cards?void 0:null===(n=o.cards[l])||void 0===n?void 0:n.displayName,...(null==i?void 0:null===(d=i.cards)||void 0===d?void 0:d[null===o.cards||void 0===o.cards?void 0:null===(e=o.cards[l])||void 0===e?void 0:e.displayName])||{}}}).filter((l,i)=>i<8),a=o.cardSets[null===(e=Object.keys(t))||void 0===e?void 0:e[0]]||{};return{cardSet:{...a,bonus:null===(d=Object.values(t))||void 0===d?void 0:d[0],stars:r(a,null===(u=Object.values(t))||void 0===u?void 0:u[0])},equippedCards:v}}},14581:function(l,i,n){n.d(i,{NA:function(){return $},P9:function(){return G},SD:function(){return F},VK:function(){return U},WU:function(){return z},Yp:function(){return K},bv:function(){return H},nR:function(){return Q},ql:function(){return j},wJ:function(){return X},x6:function(){return J}});var o=n(67924),e=n(21351),d=n(2127),u=n(51603),t=n(45819),v=n(14802),r=n(98118),a=n(42915),s=n(83524),c=n(6426),m=n(84664),p=n(64169),h=n(65455),f=n(2035),g=n(6896),_=n(94336),b=n(34010),y=n(97424),M=n(15984),w=n(5497),x=n(70715),S=n(15719),C=n(56657),k=n(79521),B=n(69320),T=n(66092),O=n(86722),I=n(72810),P=n(54381),E=n(70436),A=n(83672),L=n(95039),N=n(17844);let{tryToParse:R,createIndexedArray:q,createArrayOfArrays:D}=n(66092),j=(l,i)=>{let n=i||[0,1,2,3,4,5,6,7,8];return null==n?void 0:n.map((i,n)=>{var o;let e=null===(o=Object.entries(l))||void 0===o?void 0:o.reduce((l,i)=>{let[o,e]=i;if(RegExp("_".concat(n),"g").test(o)){let i=R(e),n=o,u=[];switch(!0){case o.includes("EquipOrder"):n="EquipmentOrder",e=D(e);break;case o.includes("EquipQTY"):n="EquipmentQuantity",e=D(e);break;case o.includes("AnvilPA_"):n="AnvilPA",i=D(e);break;case o.includes("EMm0"):{n="EquipmentMap",u=null==l?void 0:l[n];let o=q(i);u?u.splice(0,0,o):u=[o];break}case o.includes("IMm_"):n="InventoryMap",i=R(e);break;case o.includes("EMm1"):{n="EquipmentMap",u=null==l?void 0:l[n];let o=q(i);u?u.splice(1,0,o):u=[o];break}case o.includes("BuffsActive"):n="BuffsActive",u=D(i);break;case o.includes("ItemQTY"):n="ItemQuantity";break;case o.includes("PVStatList"):n="PersonalValuesMap",i={...(null==l?void 0:l[n])||{},StatList:R(e)};break;case o.includes("PVtStarSign"):n="PersonalValuesMap",i={...(null==l?void 0:l[n])||{},StarSign:R(e)};break;case o.includes("ObolEqO0"):n="ObolEquippedOrder";break;case o.includes("ObolEqMAP"):n="ObolEquippedMap";break;case o.includes("SL_"):n="SkillLevels";break;case o.includes("SM_"):n="SkillLevelsMAX";break;case o.includes("KLA_"):n="KillsLeft2Advance";break;case o.includes("AtkCD_"):n="AttackCooldowns";break;case o.includes("POu_"):n="PostOfficeInfo";break;case o.includes("PTimeAway"):n="PlayerAwayTime",i*=1e3;break;default:var d;n=null==o?void 0:null===(d=o.split("_"))||void 0===d?void 0:d[0]}return{...l,[n]:(null==u?void 0:u.length)?u:i}}return{...l}},{});return{name:i,playerId:n,...e}})},F=(l,i,n,a)=>{var m,p,f,g,_,y,M,w,B,T,O,I,P,A,L,N,R,q,D,j,F,G,U,H,X,K,z,Q,J,$,ll,li,ln,lo,le,ld,lu,lt,lv,lr,la,ls,lc,lm,lp,lh,lf;let lg;let l_={};if(l_.playerId=l.playerId,l_.name=l.name,!(null==l?void 0:l.CharacterClass))return l_;l_.classIndex=null==l?void 0:l.CharacterClass,l_.class=null===o.classes||void 0===o.classes?void 0:o.classes[null==l?void 0:l.CharacterClass],l_.afkTime=(0,e.XQ)(null==l?void 0:l.PlayerAwayTime,null==n?void 0:null===(m=n.timeAway)||void 0===m?void 0:m.GlobalTime),l_.afkTarget=null===o.monsters||void 0===o.monsters?void 0:null===(p=o.monsters[null==l?void 0:l.AFKtarget])||void 0===p?void 0:p.Name,l_.targetMonster=null==l?void 0:l.AFKtarget;let lb=null==l?void 0:l.CurrentMap;l_.mapIndex=lb,l_.currentMap=null===o.mapNames||void 0===o.mapNames?void 0:o.mapNames[lb],l_.money=parseFloat(null==l?void 0:l.Money),l_.cooldowns=null==l?void 0:l.AttackCooldowns;let ly={0:"strength",1:"agility",2:"wisdom",3:"luck",4:"level"};l_.stats=null==l?void 0:null===(g=l.PersonalValuesMap)||void 0===g?void 0:null===(f=g.StatList)||void 0===f?void 0:f.reduce((l,i,n)=>ly[n]?{...l,[ly[n]]:i}:l,{}),l_.level=(null==l_?void 0:null===(_=l_.stats)||void 0===_?void 0:_.level)||0;let lM=Object.keys(null==l?void 0:l.InvBagsUsed);l_.invBagsUsed=Object.entries(o.invBags).map(l=>{let[i,n]=l,o=i.match(/[0-9]+/g)[0];return(o=100>parseInt(o)?o-1:o,lM.includes(String(o)))?{...n,rawName:i,acquired:!0}:{...n,rawName:i}});let lw=(null==l?void 0:l.MaxCarryCap)||[];l_.maxCarryCap=lw,l_.carryCapBags=Object.keys(lw).sort(function(l,i){return l.localeCompare(i)}).map(l=>{var i;if("Quests"!==l&&"fillerz"!==l&&"Statues"!==l)return(null===o.carryBags||void 0===o.carryBags?void 0:null===(i=o.carryBags[l])||void 0===i?void 0:i[lw[l]])||{rawName:"MaxCapBagNone",displayName:l,Class:l,capacity:lw[l],Type:"CARRY"}}).filter(l=>l),l_.statues=null==l?void 0:l.StatueLevels;let lx={0:"armor",1:"tools",2:"food"},lS=null==l?void 0:null===(y=l.EquipmentOrder)||void 0===y?void 0:y.reduce((l,i,n)=>({...l,[null==lx?void 0:lx[n]]:i}),{}),lC=null===(M=l.EquipmentQuantity)||void 0===M?void 0:M.reduce((l,i,n)=>({...l,[null==lx?void 0:lx[n]]:i}),{}),lk=null===(w=l.EquipmentMap)||void 0===w?void 0:w[0];l_.equipment=(0,d.tT)(lS.armor,lk,l_.name);let lB=null===(B=l.EquipmentMap)||void 0===B?void 0:B[1];l_.tools=(0,d.tT)(lS.tools,lB,l_.name),l_.food=Array.from(Object.values(lS.food)).reduce((l,i,n)=>{var e;return i?[...l,{name:null===o.items||void 0===o.items?void 0:null===(e=o.items[i])||void 0===e?void 0:e.displayName,rawName:i,owner:l_.name,amount:parseInt(lC.food[n]||lC.food[n]),...(null===o.items||void 0===o.items?void 0:o.items[i])||{}}]:l},[]);let lT=l.InventoryOrder,lO=l.ItemQuantity,lI=l.InventoryMap;l_.inventory=(0,u.$v)(lT,lO,l_.name,lI),l_.inventorySlots=null==lT?void 0:lT.reduce((l,i)=>l+("LockedInvSpace"!==i?1:0),0);let lP=(null==l?void 0:null===(T=l.PersonalValuesMap)||void 0===T?void 0:T.StarSign)||"";l_.starSigns=lP.split(",").map(l=>l&&"_"!==l?null===o.starSignByIndexMap||void 0===o.starSignByIndexMap?void 0:o.starSignByIndexMap[l]:null).filter(l=>l),l_.equippedBubbles=null==n?void 0:null===(O=n.equippedBubbles)||void 0===O?void 0:O[null==l?void 0:l.playerId];let lE=null==l?void 0:l.Exp0,lA=null==l?void 0:l.ExpReq0,lL=(null==l?void 0:l.Lv0)||[];l_.skillsInfo=lL.reduce((l,i,n)=>{var o,e;return n<16?{...l,[null===(o=t.Pe[n])||void 0===o?void 0:o.name]:{level:-1!==i?i:0,exp:parseFloat(lE[n]),expReq:parseFloat(lA[n]),icon:null===(e=t.Pe[n])||void 0===e?void 0:e.icon,index:n}}:l},{}),l_.skillsInfoArray=Object.entries(l_.skillsInfo||{}).reduce((l,i)=>{let[n,o]=i;return[...l,{...o,skillName:n}]},[]).sort((l,i)=>l.index-i.index);let lN=null==l?void 0:l.SkillLevels,lR=null==l?void 0:l.SkillLevelsMAX,lq=null===v.pV||void 0===v.pV?void 0:v.pV[null==l_?void 0:l_.class],{flat:lD,talents:lj}=(0,v.o1)(null==l_?void 0:l_.class,lq,lN,lR);l_.talents=lj,l_.flatTalents=lD;let{flat:lF,talents:lG}=(0,v.o1)(null==l_?void 0:l_.class,["Special Talent 1","Special Talent 2","Special Talent 3","Special Talent 4","Special Talent 5"],lN,lR,!0);l_.starTalents=lG,l_.flatStarTalents=lF;let lU=null==l?void 0:l.BuffsActive;l_.activeBuffs=(0,v.ju)(lU,[...lD||[],...lF||[]]),l_.activePrayers=null==l?void 0:null===(P=l.Prayers)||void 0===P?void 0:null===(I=P.filter(l=>-1!==l).map(l=>{var i;return null==n?void 0:null===(i=n.prayers)||void 0===i?void 0:i[l]}))||void 0===I?void 0:I.filter(l=>l),l_.postOffice=(0,s.dQ)(null==l?void 0:l.PostOfficeInfo,n),l_.cards=(0,r.V3)(l,n);let lH=null==n?void 0:null===(N=n.lab)||void 0===N?void 0:null===(L=N.playersChips)||void 0===L?void 0:null===(A=L[null==l?void 0:l.playerId])||void 0===A?void 0:A.find(l=>20===l.index),lV=null==n?void 0:null===(D=n.lab)||void 0===D?void 0:null===(q=D.playersChips)||void 0===q?void 0:null===(R=q[null==l?void 0:l.playerId])||void 0===R?void 0:R.find(l=>21===l.index);l_.cards.equippedCards=null==l_?void 0:null===(F=l_.cards)||void 0===F?void 0:null===(j=F.equippedCards)||void 0===j?void 0:j.map((l,i)=>0===i&&lH||7===i&&lV?{...l,chipBoost:2}:l),l_.anvil=(0,h.KC)(l);let lY=(0,x.dR)(l,!1);l_.obols={...lY,stats:(0,x.eX)(lY,n.obols)},l_.worship=(0,S.T8)(l_,lq,n,null==l?void 0:null===(G=l.PlayerStuff)||void 0===G?void 0:G[0]),l_.quests=(0,C.GU)(null==l?void 0:l.QuestComplete),l_.crystalSpawnChance=W(l_,n,a),l_.nonConsumeChance=Z(l_,n);let lW=null==l?void 0:l.KillsLeft2Advance;l_.kills=null==lW?void 0:lW.reduce((l,i,n)=>{var e;return[...l,parseFloat(null===o.mapPortals||void 0===o.mapPortals?void 0:null===(e=o.mapPortals[n])||void 0===e?void 0:e[0])-parseFloat(null==i?void 0:i[0])]},[]);let lX=null===(U=t.du.mining)||void 0===U?void 0:U[lb],lK=null===(H=t.du.fishing)||void 0===H?void 0:H[lb],lz=0,lQ;lX?(lz=null===(lr=l_.skillsInfo)||void 0===lr?void 0:null===(lv=lr.mining)||void 0===lv?void 0:lv.level,lQ="ClassIconsM"):lK?(lz=null===(ls=l_.skillsInfo)||void 0===ls?void 0:null===(la=ls.fishing)||void 0===la?void 0:la.level,lQ="ClassIcons45"):(lz=parseFloat(null===o.mapPortals||void 0===o.mapPortals?void 0:null===(lc=o.mapPortals[lb])||void 0===lc?void 0:lc[0])-parseFloat(null==lW?void 0:lW[lb]),lQ="ClassIconsF"),l_.nextPortal={goal:null!==(lp=null===o.mapPortals||void 0===o.mapPortals?void 0:null===(X=o.mapPortals[lb])||void 0===X?void 0:X[0])&&void 0!==lp?lp:0,current:lz,currentIcon:lQ},l_.zow=Y(lW,[1e5]),l_.chow=Y(lW,[1e6,1e8]);let lZ=(0,c.y7)(l_.equippedBubbles,"kazam","BIG_P",n),lJ=null===(z=l_.skillsInfo)||void 0===z?void 0:null===(K=z.divinity)||void 0===K?void 0:K.level,l$=null==n?void 0:null===(J=n.divinity)||void 0===J?void 0:null===(Q=J.linkedDeities)||void 0===Q?void 0:Q[l_.playerId];if(l_.linkedDeity=l$,-1!==l$&&(l_.deityMinorBonus=(0,E.kI)(l_,n)),(null==l_?void 0:l_.class)==="Elemental_Sorcerer"){let i=(null==l?void 0:null===(lh=l.SkillLevels)||void 0===lh?void 0:lh[505])%10,n=null===o.gods||void 0===o.gods?void 0:o.gods[i];if(n&&(null==n?void 0:n.godIndex)!==l$){lg=null==n?void 0:n.godIndex;let l=null===o.gods||void 0===o.gods?void 0:null===(lf=o.gods[lg])||void 0===lf?void 0:lf.minorBonusMultiplier;l_.secondLinkedDeityIndex=i,l_.secondDeityMinorBonus=lJ/(60+lJ)*Math.max(1,lZ)*l}}let l0=null==n?void 0:null===(ll=n.divinity)||void 0===ll?void 0:null===($=ll.linkedStyles)||void 0===$?void 0:$[null==l_?void 0:l_.playerId];l_.divStyle={...null===o.divStyles||void 0===o.divStyles?void 0:o.divStyles[l0],index:l0},l_.isDivinityConnected=(null==n?void 0:null===(ln=n.divinity)||void 0===ln?void 0:null===(li=ln.linkedDeities)||void 0===li?void 0:li[null==l_?void 0:l_.playerId])===4||(0,k.Rp)(l_,4);let l1=(0,e.Hx)(i,"Elemental_Sorcerer"),l2=(0,b.D)(o.classFamilyBonuses,"LV_FOR_ALL_TALENTS_ABOVE_LV_1",l1);if((null==l_?void 0:l_.class)==="Elemental_Sorcerer"){l2*=1+(0,v._X)(null==l_?void 0:l_.talents,3,"THE_FAMILY_GUY")/100;let l=(0,b.q)(o.classFamilyBonuses,"LV_FOR_ALL_TALENTS_ABOVE_LV_1");l2=(0,v.VG)(l2,null==l?void 0:l.func,null==l?void 0:l.x1,null==l?void 0:l.x2)}return l_.addedLevels=(0,v.J0)(lj,null,l$,l_.secondLinkedDeityIndex,l_.deityMinorBonus,l_.secondDeityMinorBonus,l2,n,l_),l_.talents=(0,v.Nb)(lj,null,l_.addedLevels),l_.flatTalents=(0,v.Nb)(lj,lD,l_.addedLevels),l_.activeBuffs=null===(lo=l_.activeBuffs)||void 0===lo?void 0:lo.map(l=>{var i;let{name:n}=l;return null===(i=l_.flatTalents)||void 0===i?void 0:i.find(l=>{let{name:i}=l;return i===n})}),l_.talentsLoadout=null==l?void 0:null===(lu=l.AttackLoadout)||void 0===lu?void 0:null===(ld=lu.flat())||void 0===ld?void 0:null===(le=ld.filter(l=>"Null"!==l))||void 0===le?void 0:le.map(l=>{var i,n;return(null===(i=l_.flatTalents)||void 0===i?void 0:i.find(i=>{let{skillIndex:n}=i;return l===n}))||(null===(n=l_.flatStarTalents)||void 0===n?void 0:n.find(i=>{let{skillIndex:n}=i;return l===n}))}),l_.npcDialog=null==l?void 0:l.NPCdialogue,l_.questComplete=null==l?void 0:l.QuestComplete,l_.questCompleted=null===(lt=Object.entries(null==l?void 0:l.QuestComplete))||void 0===lt?void 0:lt.reduce((l,i)=>{let[n,o]=i;return l+(1===o?1:0)},0),l_.printerSample=V(l_,n,i),l_},G=(l,i)=>{var n,e,u,t,v,r,a,s,c,m,h,f,g,b,y,M,w,S,C,T,O,I,P,E,A,L,N,R,q,D,j,F;let{targetMonster:G}=l,U=null===o.monsters||void 0===o.monsters?void 0:o.monsters[G];if(!U||(null==U?void 0:U.AFKtype)==="Nothing")return{respawnRate:0,breakdown:[{name:"Not fighting",value:"TOWN"}]};let H="riftAll"===G,{RespawnTime:V,worldIndex:Y}=U,W=(0,_.wt)(null==i?void 0:i.shrines,7,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(n=i.sailing)||void 0===n?void 0:n.artifacts),X=(0,k.gw)(l,i,10),K=(0,d.zi)(l,47,i),z=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(e=o.bonuses.etcBonuses)||void 0===e?void 0:e[47]),Q=(0,p.o9)(l,i,"Mob_Respawn_rate"),Z=(0,B.k)(null==i?void 0:i.achievements,44),J=null==i?void 0:null===(v=i.tasks)||void 0===v?void 0:null===(t=v[2])||void 0===t?void 0:null===(u=t[0])||void 0===u?void 0:u[1],$=null==i?void 0:null===(s=i.meritsDescriptions)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:null===(r=a[1])||void 0===r?void 0:r.bonusPerLevel,ll=(0,B.k)(null==i?void 0:i.achievements,109),li=null==i?void 0:null===(h=i.tasks)||void 0===h?void 0:null===(m=h[2])||void 0===m?void 0:null===(c=m[1])||void 0===c?void 0:c[1],ln=null==i?void 0:null===(b=i.meritsDescriptions)||void 0===b?void 0:null===(g=b[1])||void 0===g?void 0:null===(f=g[1])||void 0===f?void 0:f.bonusPerLevel,lo=null==i?void 0:null===(w=i.tasks)||void 0===w?void 0:null===(M=w[2])||void 0===M?void 0:null===(y=M[1])||void 0===y?void 0:y[1],le=null==i?void 0:null===(T=i.meritsDescriptions)||void 0===T?void 0:null===(C=T[1])||void 0===C?void 0:null===(S=C[1])||void 0===S?void 0:S.bonusPerLevel,ld=null==i?void 0:null===(P=i.tasks)||void 0===P?void 0:null===(I=P[2])||void 0===I?void 0:null===(O=I[3])||void 0===O?void 0:O[1],lu=null==i?void 0:null===(L=i.meritsDescriptions)||void 0===L?void 0:null===(A=L[3])||void 0===A?void 0:null===(E=A[1])||void 0===E?void 0:E.bonusPerLevel,lt=(0,B.k)(null==i?void 0:i.achievements,308),lv=null==i?void 0:null===(q=i.tasks)||void 0===q?void 0:null===(R=q[2])||void 0===R?void 0:null===(N=R[4])||void 0===N?void 0:N[1],lr=null==i?void 0:null===(F=i.meritsDescriptions)||void 0===F?void 0:null===(j=F[4])||void 0===j?void 0:null===(D=j[1])||void 0===D?void 0:D.bonusPerLevel,la=1===Y||H?J*$:2===Y?li*ln:3===Y?lo*le:4===Y?ld*lu:5===Y?lv*lr:0,ls=1===Y||H?Z:2===Y?ll:5===Y?2*lt:0,lc=[{name:"Shrine",value:W/100},{name:"Equipment",value:K/100},{name:"Achievement",value:ls/100},{name:"Chip",value:X/100},{name:"Starsigns",value:Q/100},{name:"Merit",value:la/100}];return lc.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{respawnRate:(H?45:V)/(1+(W+X+(K+z)+ls+Q+la)/100),breakdown:lc}},U=(l,i,n)=>{var u,t,m,h,b,y,M,w,S,C,B,I,E,L,N,R,q,D,j,F,G,U,H;let V;let{luck:Y}=(null==l?void 0:l.stats)||{};V=Y<1e3?(Math.pow(Y+1,.37)-1)/40:(Y-1e3)/(Y+2500)*.5+.297;let W=(0,s.xV)(null==l?void 0:l.postOffice,"Non_Predatory_Loot_Box",0),X=(0,v._X)(null==l?void 0:l.talents,1,"ROBBINGHOOD"),K=(0,v._X)(null==l?void 0:l.talents,1,"CURSE_OF_MR_LOOTY_BOOTY"),z=(0,v._X)(null==l?void 0:l.starTalents,null,"BOSS_BATTLE_SPILLOVER"),Q=(0,d.zi)(l,2,i),Z=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(u=o.bonuses.etcBonuses)||void 0===u?void 0:u[2]),J=(0,c.om)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.bubbles,"kazam","DROPPIN_LOADS",!1),$=(0,r.OK)(null==l?void 0:null===(m=l.cards)||void 0===m?void 0:m.equippedCards,"Total_Drop_Rate"),ll=(0,g._r)(null==i?void 0:null===(h=i.guild)||void 0===h?void 0:h.guildBonuses,10),li=(null==l?void 0:null===(y=l.cards)||void 0===y?void 0:null===(b=y.cardSet)||void 0===b?void 0:b.rawName)==="CardSet26"||(null==l?void 0:null===(w=l.cards)||void 0===w?void 0:null===(M=w.cardSet)||void 0===M?void 0:M.rawName)==="CardSet25"?null==l?void 0:null===(C=l.cards)||void 0===C?void 0:null===(S=C.cardSet)||void 0===S?void 0:S.bonus:0,ln=(0,_.wt)(null==i?void 0:i.shrines,4,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(B=i.sailing)||void 0===B?void 0:B.artifacts),lo=null===(I=(0,f.Y0)(null==l?void 0:l.activePrayers,"Midas_Minded",i))||void 0===I?void 0:I.bonus,le=(0,c.Vq)(null==i?void 0:null===(L=i.alchemy)||void 0===L?void 0:null===(E=L.p2w)||void 0===E?void 0:E.sigils,"TROVE"),ld=(0,P.du)(null==i?void 0:null===(N=i.breeding)||void 0===N?void 0:N.pets,"Drop_Rate"),lu=(0,p.o9)(l,i,"Drop_Rate"),lt=(0,a.mV)(null==i?void 0:i.stamps,"+{%_Drop_Rate"),lv=1+(0,v.A5)(n,3,"Siege_Breaker","ARCHLORD_OF_THE_PIRATES",null,!0)*(0,T.lavaLog)(null==i?void 0:null===(R=i.accountOptions)||void 0===R?void 0:R[139])/100,lr=(0,e.fe)(i,3)?null==i?void 0:null===(j=i.companions)||void 0===j?void 0:null===(D=j.list)||void 0===D?void 0:null===(q=D.at(3))||void 0===q?void 0:q.bonus:0,la=null===(F=(0,O.d)(null==i?void 0:null===(G=i.arcade)||void 0===G?void 0:G.shop,"Drop_Rate"))||void 0===F?void 0:F.bonus,ls=(0,A.z)(null==i?void 0:null===(U=i.equinox)||void 0===U?void 0:U.upgrades,"Faux_Jewels"),lc=(0,k.gw)(l,i,3),lm=1.4*V+(X+W+(Q+Z)+J+$+K+lu+ll+li+ln+lo+le+ld+la+lr+lt+(z*(null==i?void 0:null===(H=i.accountOptions)||void 0===H?void 0:H[189])+ls))/100+1;lm<5&&lc>0&&(lm=Math.min(5,lm+lc/100));let lp=lm*lv,lh=(0,e.U7)(null==i?void 0:i.bundles,"bun_p");lh&&(lp*=1.2);let lf=[{name:"Luck",value:1.4*V},{name:"Talents",value:(X+K)/100},{name:"Post Office",value:W/100},{name:"Equipment",value:Q/100},{name:"Obols",value:Z/100},{name:"Bubble",value:J/100},{name:"Cards",value:($+li)/100},{name:"Shrine",value:ln/100},{name:"Prayers",value:lo/100},{name:"Sigil",value:le/100},{name:"Shiny",value:ld/100},{name:"Arcade",value:la/100},{name:"Starsign",value:lu/100},{name:"Guild",value:ll/100},{name:"Siege Breaker",value:lv},{name:"Companion",value:lr/100},{name:"Equinox",value:5*ls/100},{name:"Gem Bundle",value:lh?1.2:0},{name:"Base",value:1}];return lf.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{dropRate:lp,breakdown:lf}},H=(l,i,n)=>{var u,t,a,p,h,_,b,y,S,C,T,O,P,A,L,N,R,q,D,j,F;let{strength:G,agility:H,wisdom:V}=(null==l?void 0:l.stats)||{},Y=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"power","PENNY_OF_STRENGTH",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="strength"),W=(0,c.om)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.bubbles,"quicc","DOLLAR_OF_AGILITY",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="agility"),X=(0,c.om)(null==i?void 0:null===(a=i.alchemy)||void 0===a?void 0:a.bubbles,"high-iq","NICKEL_OF_WISDOM",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="wisdom"),K=(0,k.c9)(null==i?void 0:i.lab.labBonuses,8),z=(0,k.pc)(null==i?void 0:i.lab.jewels,16,K),Q=(0,w.F4)(i,null,"Cash",z),Z=null!==(F=null===(p=(0,I.YS)(null==i?void 0:null===(h=i.sailing)||void 0===h?void 0:h.artifacts,"Maneki_Kat"))||void 0===p?void 0:p.bonus)&&void 0!==F?F:0,J=null==i?void 0:null===(_=i.accountOptions)||void 0===_?void 0:_[89],$=null===o.randomList||void 0===o.randomList?void 0:o.randomList[53],ll=+(0,e.bV)(J,$,5),li=+(0,e.bV)(J,$,14),ln=(0,m.U6)(null==i?void 0:i.statues,"StatueG20"),lo=(0,k.c9)(null==i?void 0:i.lab.labBonuses,9),le=null===(b=(0,f.Y0)(null==l?void 0:l.activePrayers,"Jawbreaker",i))||void 0===b?void 0:b.bonus,ld=null==n?void 0:n.reduce((l,o)=>(0,e.fe)(i,3)?l+(0,E.kI)(o,i,3,n):(null==o?void 0:o.linkedDeity)===3?l+(null==o?void 0:o.deityMinorBonus):l,0),lu=(0,c.YG)(null==i?void 0:null===(y=i.alchemy)||void 0===y?void 0:y.vials,null,"MonsterCash"),lt=(0,d.zi)(l,3,i),lv=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(S=o.bonuses.etcBonuses)||void 0===S?void 0:S[3]),lr=(0,r.OK)(null==i?void 0:i.cards,"Money_from_mobs_(Passive)"),la=(0,r.OK)(null==l?void 0:null===(C=l.cards)||void 0===C?void 0:C.equippedCards,"Money_from_Monsters"),ls=(0,v._X)(null==l?void 0:l.talents,1,"CHACHING!"),lc=(0,M.Qo)(null==i?void 0:null===(T=i.dungeons)||void 0===T?void 0:T.upgrades,"Monster_Cash"),lm=(null==i?void 0:null===(A=i.arcade)||void 0===A?void 0:null===(P=A.shop)||void 0===P?void 0:null===(O=P[10])||void 0===O?void 0:O.bonus)+(null==i?void 0:null===(R=i.arcade)||void 0===R?void 0:null===(N=R.shop)||void 0===N?void 0:null===(L=N[11])||void 0===L?void 0:L.bonus),lp=(0,s.xV)(null==l?void 0:l.postOffice,"Utilitarian_Capsule",2),lh=(0,g._r)(null==i?void 0:null===(q=i.guild)||void 0===q?void 0:q.guildBonuses,8),lf=1*(0,v._X)(null==l?void 0:l.starTalents,null,"COINS_FOR_CHARON"),lg=(null==l?void 0:null===(j=l.skillsInfo)||void 0===j?void 0:null===(D=j.cooking)||void 0===D?void 0:D.level)/10*(0,v._X)(null==l?void 0:l.starTalents,null,"AMERICAN_TIPPER"),l_=(0,e.tE)("Golden_Bread",l,i),lb=(0,B.k)(null==i?void 0:i.achievements,235),{dropRate:ly}=U(l,i,n),lM=Y*Math.floor(G/250)+(W*Math.floor(H/250)+X*Math.floor(V/250)),lw=(1+lM/100)*(1+(Q+Z)/100)*(1+(.5*ll+(li+ln/100)))*(1+lo/100)*(1+le/100)*(1+ld/100)*(1+(lu+(lt+lv+(la+lr+(ls+(lc+lm+(lp+(lh*(1+Math.floor((null==l?void 0:l.mapIndex)/50))+(lf+(lg+(1+l_/100+5*lb))))))))))/100),lx=[{name:"Bubbles*",value:lM},{name:"Meal*",value:Q},{name:"Artifact*",value:Z},{name:"Pet Arena*",value:100*(.5*ll+li)},{name:"Statues",value:ln},{name:"Lab*",value:lo},{name:"Prayers*",value:le},{name:"Divinity*",value:ld},{name:"Vials",value:lu},{name:"Equipment",value:lt},{name:"Obols",value:lv},{name:"Cards",value:la+lr},{name:"Guild",value:lh*(1+Math.floor((null==l?void 0:l.mapIndex)/50))},{name:"Talents",value:lf+lg},{name:"Golden Food",value:l_},{name:"Achievements",value:5*lb},{name:"Dungeons",value:lc},{name:"Arcade",value:lm},{name:"Post Office",value:lp},{name:"Drop Rate*",value:(ly<2?ly:Math.floor(ly<5?ly:ly+1))*100}];return lx.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{cashMulti:lw,breakdown:lx}},V=(l,i,n)=>{var u,t,r,m,p,h,g,_;let M=(0,v._X)(null==l?void 0:l.starTalents,null,"PRINTER_SAMPLING"),w=(0,y.W)(null==i?void 0:i.saltLick,0),x=(0,d.zi)(l,60,i),S=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"kazam","SAMPLE_IT",!1),C=(0,v._X)(null==l?void 0:l.talents,null,"SUPER_SAMPLES"),k=(0,B.k)(null==i?void 0:i.achievements,158),T=(0,c.YG)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.vials,"Printer_sample"),I=null===(r=(0,f.Y0)(null==l?void 0:l.activePrayers,"The_Royal_Sampler",i))||void 0===r?void 0:r.bonus,P=(0,a.mV)(null==i?void 0:i.stamps,"3D_Printer_Sampling_Size"),E=null==i?void 0:null===(h=i.tasks)||void 0===h?void 0:null===(p=h[2])||void 0===p?void 0:null===(m=p[2])||void 0===m?void 0:m[4],A=(0,e.Hx)(n,"Voidwalker"),L=(0,b.D)(o.classFamilyBonuses,"PRINTER_SAMPLE_SIZE",A)||0;return Math.floor((M+(w+x)+(S+(C+Math.min(1,k)))+T+I+P+Math.min(5,.5*E)+Math.min(5,L)+((null===(g=(0,O.d)(null==i?void 0:null===(_=i.arcade)||void 0===_?void 0:_.shop,"Sample_Size"))||void 0===g?void 0:g.bonus)+(0,s.xV)(null==l?void 0:l.postOffice,"Utilitarian_Capsule",0)))/100*1e3)/10},Y=(l,i)=>{let n=["Nothing","Z","Copper","Iron","Starfire","Plat","Void","Filler","JungleZ","Grandfrog's_Gazebo","Grandfrog's_Backyard","Gravel_Tomb","Heaty_Hole","Igloo's_Basement","Inside_the_Igloo","End_Of_The_Road","Efaunt's_Tomb","Eycicles's_Nest","Enclave_a_la_Troll","Chizoar's_Cavern"].toSimpleObject(),e=Object.values(o.mapNames).map((n,e)=>{var d,u,t;let v=null===o.mapEnemiesArray||void 0===o.mapEnemiesArray?void 0:o.mapEnemiesArray[e],{MonsterFace:r,Name:a,AFKtype:s}=(null===o.monsters||void 0===o.monsters?void 0:o.monsters[v])||{},c=Math.abs((null==l?void 0:null===(d=l[e])||void 0===d?void 0:d[0])-(null===o.mapDetails||void 0===o.mapDetails?void 0:null===(t=o.mapDetails[e])||void 0===t?void 0:null===(u=t[0])||void 0===u?void 0:u[0]));return{mapName:n,afkTarget:v,kills:c,monsterFace:r,name:a,afkType:s,done:null==i?void 0:i.map(l=>c>=l)}}).filter(l=>{let{mapName:i,afkTarget:o,name:e,afkType:d,kills:u,mapThreshold:t}=l;return"FIGHTING"===d&&!n[i]&&!d.includes("Fish")&&!d.includes("Bug")&&!i.includes("Colosseum")});return{finished:null==e?void 0:e.reduce((l,i)=>{let{done:n}=i;return[(null==n?void 0:n[0])?(null==l?void 0:l[0])+1:null==l?void 0:l[0],(null==n?void 0:n[1])?(null==l?void 0:l[1])+1:null==l?void 0:l[1]]},[0,0]),list:e}},W=(l,i,n)=>{var o,e,d,u;let t=R(null==n?void 0:n.Sailing)||(null==n?void 0:n.Sailing),c=null==t?void 0:t[3],m=(null==c?void 0:c[0])>0,p=(0,_.wt)(null==i?void 0:i.shrines,6,l.mapIndex,i.cards,m),h=(0,a.fE)(null==i?void 0:i.stamps,"misc","StampC3",l),f=null==l?void 0:null===(e=l.cards)||void 0===e?void 0:null===(o=e.equippedCards)||void 0===o?void 0:o.find(l=>{let{cardIndex:i}=l;return"A10"===i}),g=f?(0,r.BZ)(f):0,b=null==l?void 0:null===(u=l.cards)||void 0===u?void 0:null===(d=u.equippedCards)||void 0===d?void 0:d.find(l=>{let{cardIndex:i}=l;return"G4"===i}),y=b?(0,r.BZ)(b):0,M=(0,v._X)(null==l?void 0:l.starTalents,null,"CRYSTALS_4_DAYYS"),w=(0,v._X)(null==l?void 0:l.talents,1,"CMON_OUT_CRYSTALS"),x=(0,s.xV)(null==l?void 0:l.postOffice,"Non_Predatory_Loot_Box",2),S=[{name:"Cmon Out Crystals",value:w},{name:"Crystal Shrine Bonus",value:p},{name:"Post Office",value:x},{name:"Crystals 4 Days",value:M},{name:"Crystallin Stamp",value:h},{name:"Poop Card",value:g},{name:"Demon Genie Card",value:y}];return S.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{value:5e-4*(1+w/100)*(1+(x+p)/100)*(1+M/100)*(1+h/100)*(1+(g+y)/100),breakdown:S}},X=(l,i,n)=>{var o,e,u,t;let c=(0,s.xV)(null==l?void 0:l.postOffice,"Carepack_From_Mum",2),h=(0,m.U6)(null==i?void 0:i.statues,"StatueG4",null==l?void 0:l.talents),f=(0,d.zi)(l,9,i),g=(0,a.mV)(null==i?void 0:i.stamps,"Effect_from_Boost_Food",l),_=(0,p.o9)(l,i,"All_Food_Effect"),b=(0,r.Xt)(null==l?void 0:l.cards,"Y5"),y=(null==l?void 0:null===(e=l.cards)||void 0===e?void 0:null===(o=e.cardSet)||void 0===o?void 0:o.rawName)==="CardSet1"?null==l?void 0:null===(t=l.cards)||void 0===t?void 0:null===(u=t.cardSet)||void 0===u?void 0:u.bonus:0,M=(0,v._X)(null==l?void 0:l.starTalents,null,"FROTHY_MALK");return n?1+((0,s.xV)(null==l?void 0:l.postOffice,"Carepack_From_Mum",1)+(h+(f+((0,a.mV)(null==i?void 0:i.stamps,"Boost_Health_Effect",l)+(_+y)))))/100:1+(c+(h+(f+(g+(_+(b+(y+M)))))))/100},K=(l,i,n)=>{var o,u,t,s,h,f,g,_,b,M,w,x;let S,C;let k=(0,v._X)(null==l?void 0:l.talents,0,"FEATHERWEIGHT"),B=(0,v._X)(null==l?void 0:l.talents,0,"FEATHER_FLIGHT"),T=(0,a.mV)(null==n?void 0:n.stamps,"Movement_Speed",l),O=(0,v.eZ)(null==l?void 0:l.activeBuffs,"STRAFE"),I=(0,e.sU)(l,n,"MoveSpdBoosts");C=(null===(o=l.stats)||void 0===o?void 0:o.agility)<1e3?(Math.pow((null===(t=l.stats)||void 0===t?void 0:t.agility)+1,.4)-1)/40:((null===(s=l.stats)||void 0===s?void 0:s.agility)-1e3)/((null===(h=l.stats)||void 0===h?void 0:h.agility)+2500)*.5+.371;let P=(0,m.U6)(null==n?void 0:n.statues,"StatueG2",null==l?void 0:l.talents);S=1+((S=(I+k+T+O+(P+((0,p.o9)(l,n,"Movement_Speed")+((0,d.zi)(l,1,n)+((0,r.OK)(null==l?void 0:null===(u=l.cards)||void 0===u?void 0:u.equippedCards,"Move_Spd")+B)))))/100)+C/2.2);let E=(0,v._X)(null==l?void 0:l.starTalents,null,"TIPTOE_QUICKNESS");return Math.round(100*(S=S>2?Math.floor(100*S)/100:S>1.75?Math.min(2,Math.floor(100*(S+E/100))/100):Math.min(1.75,Math.floor(100*(S+((0,y.W)(null==n?void 0:n.saltLick,7)+(null!==(x=null==n?void 0:null===(b=n.lab)||void 0===b?void 0:null===(_=b.playersChips)||void 0===_?void 0:null===(g=_[null==l?void 0:l.playerId])||void 0===g?void 0:null===(f=g.find(l=>15===l.index))||void 0===f?void 0:f.baseVal)&&void 0!==x?x:0)+(E+(0,c.Vq)(null==n?void 0:null===(w=n.alchemy)||void 0===w?void 0:null===(M=w.p2w)||void 0===M?void 0:M.sigils,"TUFT_OF_HAIR")))/100))/100)))},z=(l,i,n)=>{var u,t,a,c,m,h,y,w,S,C,k,B,T,I,P,A,L,N,R,q,D,j,F,G,U;let{targetMonster:H}=l,{lab:V,guild:Y,dungeons:W,accountOptions:X,bribes:K,shrines:z,charactersLevels:Q,tasks:Z}=n,J=(null==Z?void 0:null===(t=Z[2])||void 0===t?void 0:null===(u=t[1])||void 0===u?void 0:u[2])>(null==l?void 0:l.playerId)?2:0,$=null===o.monsters||void 0===o.monsters?void 0:o.monsters[H];(null==K?void 0:null===(a=K[24])||void 0===a?void 0:a.done)&&(null==K||null===(c=K[24])||void 0===c||c.value);let ll=(0,_.wt)(z,8,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(m=n.sailing)||void 0===m?void 0:m.artifacts);if((null==$?void 0:$.Name)!=="_"){let u=(0,e.Hx)(Q,"Voidwalker"),t=(0,b.D)(o.classFamilyBonuses,"FIGHTING_AFK_GAINS",u),a=(0,s.xV)(null==l?void 0:l.postOffice,"Civil_War_Memory_Box",1),c=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_BRAWLING"),m=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_CASTING"),_=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_SHOOTING"),H=(0,v._X)(null==l?void 0:l.talents,0,"SLEEPIN'_ON_THE_JOB"),V=(0,v._X)(null==l?void 0:l.starTalents,null,"TICK_TOCK"),W=(null==K?void 0:null===(h=K[3])||void 0===h?void 0:h.done)?null==K?void 0:null===(y=K[3])||void 0===y?void 0:y.value:0,X=(null==l?void 0:null===(S=l.cards)||void 0===S?void 0:null===(w=S.cardSet)||void 0===w?void 0:w.rawName)==="CardSet8"?null==l?void 0:null===(k=l.cards)||void 0===k?void 0:null===(C=k.cardSet)||void 0===C?void 0:C.bonus:0,z=(0,r.OK)(null==l?void 0:null===(B=l.cards)||void 0===B?void 0:B.equippedCards,"Fighting_AFK_gain_rate"),Z=(0,d.zi)(l,20,n),$=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(T=o.bonuses.etcBonuses)||void 0===T?void 0:T[20]),li=(0,d.zi)(l,59,n),ln=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(I=o.bonuses.etcBonuses)||void 0===I?void 0:I[59]),lo=(0,p.o9)(l,n,"Fight_AFK_Gain"),le=0;(null==Y?void 0:null===(P=Y.guildBonuses)||void 0===P?void 0:P.length)>0&&(le=(0,g._r)(null==Y?void 0:Y.guildBonuses,4));let ld=null===(A=(0,f.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",n))||void 0===A?void 0:A.bonus,lu=null===(L=(0,f.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",n))||void 0===L?void 0:L.curse,lt=null!==(U=null==n?void 0:null===(D=n.lab)||void 0===D?void 0:null===(q=D.playersChips)||void 0===q?void 0:null===(R=q[null==l?void 0:l.playerId])||void 0===R?void 0:null===(N=R.find(l=>7===l.index))||void 0===N?void 0:N.baseVal)&&void 0!==U?U:0,lv=null===(j=(0,O.d)(null==n?void 0:null===(F=n.arcade)||void 0===F?void 0:F.shop,"AFK_Gains_Rate"))||void 0===j?void 0:j.bonus,lr=(0,M.Qo)(null==n?void 0:null===(G=n.dungeons)||void 0===G?void 0:G.upgrades,"AFK_Gains"),la=(0,e.fe)(n,0)||(null==l?void 0:l.linkedDeity)===0||(null==l?void 0:l.secondLinkedDeityIndex)===0?1:0,ls=null==i?void 0:i.reduce((l,o)=>(0,e.fe)(n,0)?l+(0,E.kI)(o,n,4,i):(null==o?void 0:o.linkedDeity)===4?(null==o?void 0:o.deityMinorBonus)>l?null==o?void 0:o.deityMinorBonus:l:(null==o?void 0:o.secondLinkedDeityIndex)===4&&(null==o?void 0:o.secondDeityMinorBonus)>l?null==o?void 0:o.secondDeityMinorBonus:l,0),lc=.2+(t+a+c+W+(_+X+(m+(V+(J+(lv+(lr+(30*la+ls+((0,e.fe)(n,6)&&5))))+(z+(H+(Z+$+(li+ln)+(lo+(le+(ld-lu+lt)))))))))))/100,lm=lc;return lc<1.5&&(lm=Math.min(1.5,lc+ll/100)),{afkGains:Math.max(.01,lm),breakdown:[{name:"Tasks",value:J},{name:"Arcade Shop",value:lv},{name:"Flurbo",value:lr},{name:"Major God",value:30*la},{name:"Minor God",value:ls},{name:"Family",value:t},{name:"Post Office",value:a},{name:"Talents",value:c+m+_+H},{name:"Bribe",value:W},{name:"Card Set",value:X},{name:"Cards",value:z},{name:"Equipment",value:Z+li},{name:"Obols",value:$+ln},{name:"Prayers",value:ld-lu},{name:"Chips",value:lt},{name:"Guild",value:le},{name:"Starsign",value:lo},{name:"Shrine (< 150)",value:lc<1.5?ll:0}]}}return{afkGains:0,breakdown:[]}},Q=(l,i)=>l?(0,e.UR)(l,i):50,Z=(l,i)=>{let{starSigns:n,cards:o,postOffice:e,talents:d,equippedBubbles:u}=l,{lab:t}=i,a=(0,k.c9)(null==t?void 0:t.labBonuses,8),m=(0,k.pc)(null==t?void 0:t.jewels,8,a),h=(0,c.y7)(u,"power","BITE_BUT_NOT_CHEW",i),f=(0,v._X)(d,1,"FREE_MEAL");return Math.min(Math.min(90+5*m,98+Math.min(h,1)),Math.max(1,m)*(f+((0,s.xV)(e,"Carepack_From_Mum",0)+((0,r.Xt)(null==o?void 0:o.equippedCards,"B3")+(0,p.Wv)(n,i,"chance_to_not")+h))))},J=(l,i)=>{var n,e,u,t,r,m,p,h;let f=null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(n=e.construction)||void 0===n?void 0:n.level,_=null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class],b=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"power","CARPENTER",!1,"strength"===_),y=(0,a.mV)(null==i?void 0:i.stamps,"Building_Speed",l),M=(0,s.wO)(null==l?void 0:l.postOffice,"Construction_Container"),w=(0,g._r)(null==i?void 0:null===(t=i.guild)||void 0===t?void 0:t.guildBonuses,5),S=(0,d.zi)(l,30,i),C=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(r=o.bonuses.etcBonuses)||void 0===r?void 0:r[30]),k=(0,B.k)(null==i?void 0:i.achievements,153),O=(0,L.lC)(null==i?void 0:null===(m=i.towers)||void 0===m?void 0:m.totalLevels,"Build Spd"),I=(0,c.YG)(null==i?void 0:null===(p=i.alchemy)||void 0===p?void 0:p.vials,null,"Contspd"),P=(0,v._X)(null==l?void 0:l.talents,2,"REDOX_RATES",!1,!0),E=(0,N._m)(i,"Helium_-_Talent_Power_Stacker"),A=(0,d.ju)([...null==i?void 0:i.storage,...null==i?void 0:null===(h=i.refinery)||void 0===h?void 0:h.refineryStorage],"Refinery1",!0,!0);return Math.floor(3*Math.pow(f/2+.7,1.6)*(1+f*b/100)*(1+(y+.25*M+(w+(S+C)+Math.min(5,5*k)+O+I))/100)*(1+P*(E+(0,T.lavaLog)(A))/100))},$=(l,i)=>{var n,o,e;let d=null==l?void 0:l.constructionSpeed,u=(0,c.y7)(l.equippedBubbles,"power","CALL_ME_BOB",i),t=(0,v._X)(null==l?void 0:l.talents,2,"SHARPER_SAWS"),r=(0,v._X)(null==l?void 0:l.talents,1,"TEMPESTUOUS_EMOTIONS"),h=(0,c.YG)(null==i?void 0:null===(n=i.alchemy)||void 0===n?void 0:n.vials,null,"ConsExp"),f=(0,m.U6)(null==i?void 0:i.statues,"StatueG19",null==l?void 0:l.talents),g=(0,a.mV)(null==i?void 0:i.stamps,"+{%_Construction_Exp_Gain",l),_=(0,p.o9)(l,i,"Construct_Exp"),b=(0,s.wO)(null==l?void 0:l.postOffice,"Construction_Container");return Math.ceil((Math.pow(d,.7)/2+(2+6*(null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(o=e.construction)||void 0===o?void 0:o.level)))*(1+(u+(t+r+(h+(f+(g+(_+Math.max(0,.5*(b-100))))))))/100))}},5497:function(l,i,n){n.d(i,{Cz:function(){return P},F4:function(){return x},GF:function(){return E},Kn:function(){return O},Qo:function(){return B},Tt:function(){return g},eA:function(){return I},sV:function(){return T},vu:function(){return S},wR:function(){return M},zp:function(){return f}});var o=n(67924),e=n(42915);n(2127);var d=n(66092);n(83524);var u=n(79521),t=n(6426),v=n(21351),r=n(69320),a=n(72810),s=n(54381),c=n(95299),m=n(14802),p=n(83672),h=n(84127);n(24579),n(30278);let f=["Grasslands","Jungle","Encroaching Forest","Tree Interior","Stinky Sewers","Desert Oasis","Beach Docks","Coarse Mountains","Twilight Desert","The Crypt","Frosty Peaks","Tundra Outback","Crystal Caverns","Pristalle Lake","Nebulon Mantle","Starfield Skies","Shores of Eternity","Molten Bay","Smokey Lake","Wurm Catacombs"],g=(l,i)=>{let n=(0,d.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking);return _((0,d.tryToParse)(null==l?void 0:l.Meals)||(null==l?void 0:l.Meals),(0,d.tryToParse)(null==l?void 0:l.Territory)||(null==l?void 0:l.Territory),n,i)},_=(l,i,n,o)=>({meals:y(l,o),spices:b(l,i,o)}),b=(l,i,n)=>{var o,e;let d=null==i?void 0:i.reduce((l,i,n)=>{let[o,,,e,d]=i;return[...l,{progress:o,amount:d,rawName:e,name:f[n]}]},[]),u=null==l?void 0:null===(o=l[3])||void 0===o?void 0:o.filter(l=>l>0).map((l,i)=>{var n;return{amount:l,toClaim:null==d?void 0:null===(n=d[i])||void 0===n?void 0:n.amount,rawName:"CookingSpice".concat(i),name:f[i]}});return{toClaim:d,available:u,numberOfClaims:null==n?void 0:null===(e=n.accountOptions)||void 0===e?void 0:e[100]}},y=(l,i)=>{var n;let e=null==l?void 0:l[0],d=null==l?void 0:l[2],u=(0,s.du)(null==i?void 0:null===(n=i.breeding)||void 0===n?void 0:n.pets,"Bonuses_from_All_Meals");return null==e?void 0:e.map((l,i)=>i>56?null:{level:l,amount:null==d?void 0:d[i],shinyMulti:u,...(null===o.cookingMenu||void 0===o.cookingMenu?void 0:o.cookingMenu[i])||{}}).filter(l=>l)},M=(l,i)=>null==l?void 0:l.map(l=>({...l,multiplier:1+i/100})),w=(l,i)=>{let n=i+1+Math.floor(Math.max(0,i-10)/2);return Math.ceil(1+l*(n+=Math.pow(Math.max(0,i-30),1.2))*Math.pow(1.02,Math.max(0,i-60)))},x=function(l,i,n){var o,e,d;let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,t=(0,s.du)(null==l?void 0:null===(o=l.breeding)||void 0===o?void 0:o.pets,"Bonuses_from_All_Meals");return null==l?void 0:null===(d=l.cooking)||void 0===d?void 0:null===(e=d.meals)||void 0===e?void 0:e.reduce((l,o)=>{let{level:e,baseStat:d,effect:v,stat:r}=o;if(i){if(!v.includes(i))return l}else if(r!==n)return l;return"PxLine"===n?l+e*d:l+(1+(u+t)/100)*e*d},0)},S=(l,i,n)=>C((0,d.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking),(0,d.tryToParse)(null==l?void 0:l.Atoms)||(null==l?void 0:l.Atoms),i,n),C=(l,i,n,d)=>{var s,p,h,f,g,_,b;let y=null==d?void 0:null===(s=d.accountOptions)||void 0===s?void 0:s[89],M=null===o.randomList||void 0===o.randomList?void 0:o.randomList[53],S=null==l?void 0:l.reduce((l,i)=>{let[n,o,e]=i.slice(6,9);return l+n+o+e},0),C=null==d?void 0:null===(h=d.cooking)||void 0===h?void 0:null===(p=h.meals)||void 0===p?void 0:p.reduce((l,i)=>{let{level:n}=i;return n>=11?l+1:l},0),B=null==d?void 0:null===(g=d.cooking)||void 0===g?void 0:null===(f=g.meals)||void 0===f?void 0:f.reduce((l,i)=>{let{level:n}=i;return n>=30?l+1:l},0),T=null==d?void 0:null===(b=d.cooking)||void 0===b?void 0:null===(_=b.meals)||void 0===_?void 0:_.reduce((l,i)=>{let{level:n}=i;return l+n},0);return null==l?void 0:l.map((l,s)=>{var p,h,f,g,_,b,O,I,P,E,A,L,N,R,q;let[D,j,F,G,U,H,V,Y,W,,X]=l;if(D<=0)return null;let K=(0,u.c9)(d.lab.labBonuses,8),z=(0,u.pc)(d.lab.jewels,16,K),Q=(0,u.pc)(d.lab.jewels,14,K),Z=(0,e.mV)(null==d?void 0:d.stamps,"Meal_Cooking_Speed"),J=(0,t.iu)(null==d?void 0:null===(p=d.alchemy)||void 0===p?void 0:p.vials,"MealCook"),$=x(d,"Meal_Cooking_Speed",null,z),ll=(0,t.om)(null==d?void 0:null===(h=d.alchemy)||void 0===h?void 0:h.bubbles,"kazam","DIAMOND_CHEF",!1),li=x(d,null,"KitchenEff",z),ln=null==d?void 0:null===(f=d.cards)||void 0===f?void 0:f.Massive_Troll,lo=null!==(N=null==ln?void 0:ln.stars)&&void 0!==N?N:0,le=0===lo?0:lo+1,ld=(null===(_=d.lab.jewels)||void 0===_?void 0:null===(g=_.slice(0,3))||void 0===g?void 0:g.every(l=>{let{active:i}=l;return i}))?2:1,lu=(0,u.pc)(d.lab.jewels,0,K)*ld,lt=s<(null==d?void 0:null===(b=d.gemShopPurchases)||void 0===b?void 0:b.find((l,i)=>120===i)),lv=null!==(R=null===(O=(0,a.YS)(null==d?void 0:null===(I=d.sailing)||void 0===I?void 0:I.artifacts,"Triagulon"))||void 0===O?void 0:O.bonus)&&void 0!==R?R:0,lr=Math.pow(ll,C),la=(0,r.k)(null==d?void 0:d.achievements,225),ls=(0,r.k)(null==d?void 0:d.achievements,224),lc=(0,c.Ob)(d,"MSA_Mealing"),lm=0;lc&&(lm=null==lc?void 0:lc.bonus);let lp=(0,m.A5)(n,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),lh=(0,m.A5)(n,3,"Voidwalker","BLOOD_MARROW"),lf=(0,m.xI)(n,d,lp,146),lg=o.atomsInfo.findIndex(l=>{let{name:i}=l;return"Fluoride_-_Void_Plate_Chef"===i}),l_=0,lb=null==i?void 0:i[lg];lb&&(l_=Math.pow(1+(null===o.atomsInfo||void 0===o.atomsInfo?void 0:null===(q=o.atomsInfo[lg])||void 0===q?void 0:q.baseBonus)*lb/100,B));let ly=10*(1+Math.pow(Math.min(1.012,1+lh/100),T)/100)*Math.max(1,Math.max(1,lf))*(1+(lt?2:0))*Math.max(1,lr)*Math.max(1,l_)*(1+lm/100)*(1+V/10)*(1+lv/100)*(1+J/100)*(1+(Z+Math.max(0,Math.floor(S/25)*(Q||0)))/100)*(1+$/100)*Math.max(1,lu)*(1+Math.min(6*le+(20*la+10*ls),100)/100)*(1+li*Math.floor((V+(Y+W))/10)/100),lM=5*(1+(lt?1:0))*Math.max(1,lr)*Math.max(1,l_)*(1+lm/100)*(1+Y/10)*(1+(0,t.YG)(null==d?void 0:null===(P=d.alchemy)||void 0===P?void 0:P.vials,"Recipe_Cooking_Speed")/100)*(1+(0,e.mV)(null==d?void 0:d.stamps,"New_Recipe_Cooking_Speed")/100)*(1+x(d,null,"Rcook",z)/100)*(1+Math.min(6*le,50)/100)*(1+li*Math.floor((V+(Y+W))/10)/100),lw=1+Math.pow(5*W,.85)/100,lx=1/((1+(0,t.YG)(null==d?void 0:null===(E=d.alchemy)||void 0===E?void 0:E.vials,"Kitchen_Upgrading_Cost")/100)*(1+x(d,null,"KitchC",z)/100)*(1+(lt?40:0)/100)*(1+.5*((0,v.bV)(y,M,7)?1:0))),lS=w(lx,V),lC=w(lx,Y),lk=w(lx,W),lB=[F,G,U,H].filter(l=>-1!==l),lT=lB.map(l=>{var i;return parseInt(null===(i=o.randomList[49])||void 0===i?void 0:i.split(" ")[l])}),lO=k(o.randomList[49],lT).filter(l=>l>0).map(l=>{var i,n;return{index:l,rawName:null===o.cookingMenu||void 0===o.cookingMenu?void 0:null===(i=o.cookingMenu[l])||void 0===i?void 0:i.rawName,cookReq:null===o.cookingMenu||void 0===o.cookingMenu?void 0:null===(n=o.cookingMenu[l])||void 0===n?void 0:n.cookReq}});return{status:D,meal:{...(null===o.cookingMenu||void 0===o.cookingMenu?void 0:o.cookingMenu[j])||{},...(null==d?void 0:null===(L=d.cooking)||void 0===L?void 0:null===(A=L.meals)||void 0===A?void 0:A[j])||{}},luckLv:W,fireLv:Y,speedLv:V,currentProgress:X,mealSpeed:ly,mealLuck:lw,fireSpeed:lM,speedCost:lS,fireCost:lC,luckCost:lk,...3===D?{spices:lB}:{},...3===D?{possibleMeals:lO}:{}}}).filter(l=>l)},k=(l,i)=>{let n=[];i.forEach(l=>{n.includes(l)||n.push(l)});let o=l.split(" ").map(l=>parseFloat(l)),e=i.reduce((l,i)=>l+o.indexOf(i),0);return l.includes(e)||n.push(e),!(i.length>2)||n.includes(e-1)||o.includes(e-1)||n.push(e-1),!(i.length>1)||n.includes(e+1)||o.includes(e+1)||n.push(e+1),n.sort((l,i)=>l{let{amount:d,level:u,cookReq:t}=i;if(u>=l)return 0;let v=0;for(let i=u;i1/Math.min(5,Math.max(1,1+10*(0,r.k)(i,233)/100))*(10+(l+Math.pow(l,2)))*Math.pow(1.2+.05*l,l)*Math.max(.01,Math.pow(.8,(0,p.z)(n,"Food_Lust"))),O=(l,i,n)=>l*i/n,I=l=>null==l?void 0:l.reduce((l,i)=>{let{speedLv:n,luckLv:o,fireLv:e}=i;return l+n+o+e},0),P=100,E=function(l){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!l)return[];let{serverVars:n,timeAway:o,lab:e}=l||{},d=null==e?void 0:e.chips,u=null==e?void 0:e.jewels,t=Math.floor((null==o?void 0:o.GlobalTime)/604800),v=[];for(let l=0;l{let o=u(null==l?void 0:l.Divinity)||(null==l?void 0:l.Divinity);return o?r(o,i,n):null},r=(l,i,n)=>{let o=null==i?void 0:i.length,e=null==l?void 0:l.slice(12,12+o),d=null==l?void 0:l.slice(28,28+(null==t?void 0:t.length)+1),u=null==l?void 0:l.slice(0,(null==i?void 0:i.length)+1),v=null==l?void 0:l[25];return{linkedDeities:e,linkedStyles:u,deities:null==t?void 0:t.map((l,i)=>{let n=null==d?void 0:d[i],o=n*(null==l?void 0:l.blessingMultiplier);return 2===i&&(o=Math.min(o,500)),{...l,rawName:"DivGod".concat(i),level:n,blessingBonus:o}}),blessingLevels:d,unlockedDeities:v}},a=l=>{var i,n;return null==l?void 0:null===(n=l.divinity)||void 0===n?void 0:null===(i=n.deities)||void 0===i?void 0:i.map((i,n)=>({...i,cost:c(i,n,l)}))},s=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,e=0;for(let d=l;d0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,d=arguments.length>2?arguments[2]:void 0;if(i<100){var u,t,v,r,a;let l=n*Math.pow(o,i),c=n*Math.pow(o,i+1),m=s(i,n,o);return 0===e||8===e||4===e||2===e?{type:"bits",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(u=d.gaming)||void 0===u?void 0:u.bits}:1===e?{type:"sailingGold",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(v=d.sailing)||void 0===v?void 0:null===(t=v.lootPile)||void 0===t?void 0:t[0]}:3===e||6===e?{type:"coins",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(r=d.currencies)||void 0===r?void 0:r.rawMoney}:{type:"particles",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(a=d.atomCollider)||void 0===a?void 0:a.particles}}return{cost:"MAX"}},m=(l,i)=>{var n,o;return null!==(o=null==l?void 0:null===(n=l.find(l=>{let{name:n}=l;return n===i}))||void 0===n?void 0:n.blessingBonus)&&void 0!==o?o:0},p=(l,i,n)=>{let o=null==i?void 0:i.find((i,o)=>(null==l?void 0:l[o])===n);return null==o?void 0:o.deityMinorBonus},h=(l,i,n)=>{var d,u;let t=null==l?void 0:null===(u=l.divinity)||void 0===u?void 0:null===(d=u.linkedDeities)||void 0===d?void 0:d.map((i,o)=>{var d;return n===i||(0,e.fe)(l,0)&&(null==l?void 0:null===(d=l.finishedWorlds)||void 0===d?void 0:d.World4)?o:-1}),v=i.map((i,d)=>{var u;return(0,o.Rp)(i,n)||(0,e.fe)(l,0)&&(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World4)?d:-1});return(null==t?void 0:t.map((l,i)=>-1===l&&(null==v?void 0:v[i])!==-1?null==v?void 0:v[i]:l))||[]},f=(l,i,n,o)=>{var e,u,v,r,a,s,c,m;let p=null==o?void 0:o.find(l=>{var i;return null===(i=l.equippedBubbles)||void 0===i?void 0:i.find(l=>{let{bubbleName:i}=l;return"BIG_P"===i})}),h=(0,d.y7)(null===(e=p||l||(null==o?void 0:o[0]))||void 0===e?void 0:e.equippedBubbles,"kazam","BIG_P",i),f=null===(r=l||p||(null==o?void 0:o[0]))||void 0===r?void 0:null===(v=r.skillsInfo)||void 0===v?void 0:null===(u=v.divinity)||void 0===u?void 0:u.level,g=null!=n?n:null==i?void 0:null===(s=i.divinity)||void 0===s?void 0:null===(a=s.linkedDeities)||void 0===a?void 0:a[l.playerId],_=null==t?void 0:null===(c=t[g])||void 0===c?void 0:c.godIndex;return f/(60+f)*Math.max(1,h)*(null==t?void 0:null===(m=t[_])||void 0===m?void 0:m.minorBonusMultiplier)}},15984:function(l,i,n){n.d(i,{IS:function(){return w},MR:function(){return p},Qo:function(){return g},U4:function(){return f},gq:function(){return b},he:function(){return _}});var o=n(66092),e=n(67924),d=n(42915),u=n(80257),t=n(6426),v=n(69320),r=n(49352),a=n(28366),s=n(23284),c=n(33913),m=n(85148);let p=(l,i)=>h((0,o.tryToParse)(null==l?void 0:l.DungUpg)||(null==l?void 0:l.DungUpg),i),h=(l,i)=>{let n=null===e.dungeonCreditShop||void 0===e.dungeonCreditShop?void 0:e.dungeonCreditShop.map((i,n)=>{var o;return{...i,level:null==l?void 0:null===(o=l[0])||void 0===o?void 0:o[n]}}),o=null==l?void 0:l[1],d=null==l?void 0:l[2],u=0,t=null===e.dungeonTraits||void 0===e.dungeonTraits?void 0:e.dungeonTraits.map(l=>{var i;return{...l,bonuses:null==l?void 0:null===(i=l.bonuses)||void 0===i?void 0:i.map(l=>{let i=null==d?void 0:d.includes(u),n=u;return u++,{bonus:l,isActive:i,bonusIndex:n}})}}),v=null==l?void 0:l[5],r=null==o?void 0:o.map((l,i)=>({...e.dungeonStats[i],level:l})),a=null==v?void 0:v.map((l,i)=>({...e.dungeonFlurboStats[i],level:l})),s=(null==i?void 0:i[72])||0,c=(null==i?void 0:i[73])||0,m=(null==i?void 0:i[76])||0,p=null===e.randomList||void 0===e.randomList?void 0:e.randomList[29].split(" "),h=i[71],f=Number(p.reduce((l,n,o,e)=>(i[71]>Number(n)&&(l=o.toString()),l),"0"))+1;return{upgrades:a,insideUpgrades:r,credits:s,flurbos:c,boostedRuns:m,progress:h,rankReq:null==p?void 0:p[f],rank:f,rngItems:n,statBoosts:t}},f=(l,i)=>{var n;let e=null==l?void 0:l.find(l=>{let{effect:n}=l;return n===i});return e&&null!==(n=(0,o.growth)(null==e?void 0:e.func,null==e?void 0:e.level,null==e?void 0:e.x1,null==e?void 0:e.x2,!1))&&void 0!==n?n:0},g=(l,i)=>{var n;let e=null==l?void 0:l.find(l=>{let{effect:n}=l;return n===i});return e&&null!==(n=(0,o.growth)(null==e?void 0:e.func,null==e?void 0:e.level,null==e?void 0:e.x1,null==e?void 0:e.x2,!1))&&void 0!==n?n:0},_=l=>Math.ceil(3600*(48+Math.min(10,(0,d.mV)(l,"hr_Arcade_Ball_claim_max_time")))),b=l=>4e3/(1+(y(l)+(0,u.k)(null==l?void 0:l.bribes,"Weighted_Marbles"))/100),y=l=>{var i,n,o,u;let r=0;for(let i=0;inull==l?void 0:l.map(l=>l+Math.round(i/1e3)-3600),w=l=>{let i;let n=M(l,i=(0,r.Z)((0,a.Z)())?(0,a.Z)():(i=(0,s.Z)((0,a.Z)())).getTime()-6e4*i.getTimezoneOffset()),o=null==n?void 0:n.filter(l=>!(0,c.Z)(1e3*l)).map(l=>1e3*l);if((null==o?void 0:o.length)!==0)return o;{let i=(0,m.Z)((0,a.Z)());return M(l,i=i.getTime()-6e4*i.getTimezoneOffset())}}},30278:function(l,i,n){n.d(i,{x4:function(){return B}});var o=n(6426),e=n(64169),d=n(5497),u=n(83524),t=n(14802),v=n(21351),r=n(34010),a=n(67924),s=n(2127),c=n(79521),m=n(98118),p=n(2035),h=n(6896),f=n(56365),g=n(84664),_=n(42915),b=n(54381),y=n(70715),M=n(72810),w=n(17844),x=n(66092);let S=(l,i,n,e)=>{var d,u,v,r;let a=null===t.nl||void 0===t.nl?void 0:t.nl[null==l?void 0:l.class],{strength:s,wisdom:c,agility:m}=(null==l?void 0:l.stats)||{},p=(0,o.om)(null==i?void 0:null===(d=i.alchemy)||void 0===d?void 0:d.bubbles,"power","HEARTY_DIGGY",!1,a),h=(0,o.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"high-iq","HOCUS_CHOPPUS",!1,a),f=Math.max(1,k(l,n,i)+Math.pow((p*(0,x.lavaLog)(null==e?void 0:e.maxHp)+h*(0,x.lavaLog)(null==e?void 0:e.maxMp))/100,2)+Math.pow((s+(c+m))/3,.5)/7),g=null==i?void 0:null===(r=i.divinity)||void 0===r?void 0:null===(v=r.deities)||void 0===v?void 0:v[2];return(null==g?void 0:g.level)*(null==g?void 0:g.blessingMultiplier)*Math.min(1.8,Math.max(.1,4*Math.pow((f+1e4)/Math.max(10*f+10,1)*.01,2)))},C=(l,i,n,o)=>{var e,d,v,r,a,s,m,p;let h=(0,b.du)(null==i?void 0:null===(e=i.breeding)||void 0===e?void 0:e.pets,"Base_Efficiency_for_All_Skills"),f=(0,_.mV)(null==i?void 0:i.stamps,"All_Skill_Efficiency",l),g=S(l,i,n,o),y=(0,u.xV)(null==l?void 0:l.postOffice,"Myriad_Crate",1),M=null!==(p=null==i?void 0:null===(r=i.lab)||void 0===r?void 0:null===(v=r.playersChips)||void 0===v?void 0:null===(d=v[null==l?void 0:l.playerId].find(l=>11===l.index))||void 0===d?void 0:d.baseVal)&&void 0!==p?p:0,w=(0,t._X)(null==l?void 0:l.starTalents,null,"SUPERSOURCE"),x=(0,c.c9)(null==i?void 0:null===(a=i.lab)||void 0===a?void 0:a.labBonuses,8);return h+f+g+y+M+(w+(0,c.pc)(null==i?void 0:i.lab.jewels,12,x)*((null===(m=i.lab.jewels)||void 0===m?void 0:null===(s=m.slice(11,16))||void 0===s?void 0:s.every(l=>{let{active:i}=l;return i}))?2:1))},k=(l,i,n)=>{var o,e,u,f,g,_,b,w,x,S,C,k,B,T,O,I,P,E,A,L,N,R,q;let D=(0,v.Hx)(null==n?void 0:n.charactersLevels,"Hunter"),j=(0,r.D)(a.classFamilyBonuses,"EFFICIENCY_FOR_ALL_SKILLS",D),F=(0,s.zi)(l,48,n),G=(0,y.gY)(null==l?void 0:l.obols,null===a.bonuses||void 0===a.bonuses?void 0:null===(o=a.bonuses.etcBonuses)||void 0===o?void 0:o[48]),U=null!==(L=null===(e=(0,M.YS)(null==n?void 0:null===(u=n.sailing)||void 0===u?void 0:u.artifacts,"Frost_Relic"))||void 0===e?void 0:e.bonus)&&void 0!==L?L:0,H=(0,t._X)(null==l?void 0:l.starTalents,null,"STUDIOUS_QUESTER"),V=(0,c.c9)(null==n?void 0:null===(f=n.lab)||void 0===f?void 0:f.labBonuses,8),Y=(0,c.pc)(null==n?void 0:n.lab.jewels,16,V),W=(0,d.F4)(n,null,"Seff",Y),X=null!==(N=null==n?void 0:null===(w=n.lab)||void 0===w?void 0:null===(b=w.playersChips)||void 0===b?void 0:null===(_=b[null==l?void 0:l.playerId])||void 0===_?void 0:null===(g=_.find(l=>11===l.index))||void 0===g?void 0:g.baseVal)&&void 0!==N?N:0,K=null!==(R=(null==n?void 0:null===(S=n.cards)||void 0===S?void 0:null===(x=S.Crystal_Capybara)||void 0===x?void 0:x.stars)+1)&&void 0!==R?R:0,z=(0,v.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,2),Q=(0,m.Xt)(null==l?void 0:l.cards,"Boss4B"),Z=(0,v.fe)(n,5)?5:0,J=(null==l?void 0:null===(k=l.cards)||void 0===k?void 0:null===(C=k.cardSet)||void 0===C?void 0:C.rawName)==="CardSet2"?null==l?void 0:null===(T=l.cards)||void 0===T?void 0:null===(B=T.cardSet)||void 0===B?void 0:B.bonus:0,$=null===(O=(0,p.Y0)(null==l?void 0:l.activePrayers,"Skilled_Dimwit",n))||void 0===O?void 0:O.bonus,ll=null===(I=(0,p.Y0)(null==l?void 0:l.activePrayers,"Balance_of_Proficiency",n))||void 0===I?void 0:I.curse,li=(0,t.eZ)(null==l?void 0:l.activeBuffs,"MAESTRO_TRANSFUSION"),ln=0;return(null==n?void 0:null===(E=n.guild)||void 0===E?void 0:null===(P=E.guildBonuses)||void 0===P?void 0:P.length)>0&&(ln=(0,h._r)(null==n?void 0:null===(q=n.guild)||void 0===q?void 0:q.guildBonuses,6)),(1+(j+(F+G+(U+Math.min(.1*(null==l?void 0:l.questCompleted),H))))/100)*(1+(W+(X+3*K)+(z+(null==n?void 0:null===(A=n.accountOptions)||void 0===A?void 0:A[180])))/100)*(1+(Q+Z)/100)*(1+(ln+(J+$))/100)*Math.max(1-(li+ll)/100,.01)},B=(l,i,n,d)=>{var r,c,p,h,b,M,S,B,O,I,P,E,A,L,N,R,q;let D=null===t.nl||void 0===t.nl?void 0:t.nl[null==l?void 0:l.class],j=(null==l?void 0:null===(c=l.tools)||void 0===c?void 0:null===(r=c[f.T.PICKAXE])||void 0===r?void 0:r.Weapon_Power)||0,F=j,G=(0,t._X)(null==l?void 0:l.talents,1,"TOOL_PROFICIENCY"),U=(0,o.om)(null==n?void 0:null===(p=n.alchemy)||void 0===p?void 0:p.bubbles,"power","STRONK_TOOLS",!1,D),H=null==l?void 0:null===(b=l.skillsInfo)||void 0===b?void 0:null===(h=b.mining)||void 0===h?void 0:h.level;F=F*(1+(null==l?void 0:null===(S=l.skillsInfo)||void 0===S?void 0:null===(M=S.mining)||void 0===M?void 0:M.level)/10*G/100)*(1+U/100)+4,F+=j+(0,g.U6)(null==n?void 0:n.statues,"StatueG3",null==l?void 0:l.talents)+(0,o.om)(null==n?void 0:null===(B=n.alchemy)||void 0===B?void 0:B.bubbles,"power","SLABI_OREFISH",!1,D)*Math.floor((null==n?void 0:null===(O=n.looty)||void 0===O?void 0:O.rawLootedItems)/100);let V=(0,t._X)(null==l?void 0:l.talents,3,"SKILL_STRENGTHEN"),Y=(0,_.mV)(null==n?void 0:n.stamps,"Base_Mining",l),W=C(l,n,i,d),X=(0,u.xV)(null==l?void 0:l.postOffice,"Dwarven_Supplies",0),K=T(l,"mining",i),z=(0,v.tE)("Golden_Peanut",l,n)||1,Q=(0,t._X)(null==l?void 0:l.talents,0,"BRUTE_EFFICIENCY"),Z=(0,s.zi)(l,10,n,!0),J=(0,y.gY)(null==l?void 0:l.obols,null===a.bonuses||void 0===a.bonuses?void 0:null===(I=a.bonuses.etcBonuses)||void 0===I?void 0:I[10]),$=(0,v.pA)(null==n?void 0:n.rift,null==n?void 0:null===(E=n.totalSkillsLevels)||void 0===E?void 0:null===(P=E.mining)||void 0===P?void 0:P.rank,1),ll=(0,m.OK)(null==l?void 0:null===(A=l.cards)||void 0===A?void 0:A.equippedCards,"Total_Mining_Efficiency"),li=(0,e.o9)(l,n,"Mining_Efficency"),ln=(0,o.iu)(null==n?void 0:null===(L=n.alchemy)||void 0===L?void 0:L.vials,"MinEff"),lo=(0,o.om)(null==n?void 0:null===(N=n.alchemy)||void 0===N?void 0:N.bubbles,"power","HEARTY_DIGGY",!1,D),le=(0,t._X)(null==l?void 0:l.talents,1,"COPPER_COLLECTOR"),ld=(0,w._m)(n,"Helium_-_Talent_Power_Stacker"),lu=(0,s.ju)(null==n?void 0:n.storage,"Copper_Ore",!0),lt=k(l,i,n);return 12+(Math.pow(F,1.3)+(Math.pow((null==l?void 0:null===(R=l.stats)||void 0===R?void 0:R.strength)+1,.6)*(1+V/100)+(Y+W)))*(1+H/200)*(1+(X+K)/100)*(1+Math.pow((null==l?void 0:null===(q=l.stats)||void 0===q?void 0:q.strength)/100,.35)*(1+V/100))*z*(1+(Q+(Z+J+10*$))/100)*(1+(ll+(li+ln))/100)*(1+F/100)*1*(1+lo*(0,x.lavaLog)(null==d?void 0:d.maxHp)/100)*(1+le*(ld+(0,x.lavaLog)(lu))/100)*lt},T=(l,i,n)=>{var o,e,d,u;let v=(0,t.A5)(n,2,"Maestro","RIGHT_HAND_OF_ACTION",null,!0),r=(0,t.L1)(n,2,"Maestro","RIGHT_HAND_OF_ACTION",null,!0);return(null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(o=e[i])||void 0===o?void 0:o.level)<(null==r?void 0:null===(u=r.skillsInfo)||void 0===u?void 0:null===(d=u[i])||void 0===d?void 0:d.level)?v:0}},83672:function(l,i,n){n.d(i,{B:function(){return t},z:function(){return a}});var o=n(67924),e=n(66092),d=n(6426),u=n(21351);let t=(l,i)=>{let n=(0,e.tryToParse)(null==l?void 0:l.WeeklyBoss)||(null==l?void 0:l.WeeklyBoss),o=(0,e.tryToParse)(null==l?void 0:l.Dream)||(null==l?void 0:l.Dream);return n&&o?v(n,o,i):null},v=(l,i,n)=>{var e;let t=i.slice(2,13).reduce((l,i)=>l+i,0),v=Object.keys(l).filter(l=>l.startsWith("d_")).reduce((i,n)=>(i[n.substring(2)]=l[n],i),{}),a=i[2],s=o.equinoxChallenges.map((l,i)=>{let{label:n,goal:o,reward:e}=l;return{label:n,goal:o,reward:e,current:v[i]||0,active:-1!==v[i]&&0{let e=l.filter(l=>-1===l.current&&l.reward.includes("Max_LV")).map(l=>l.reward),d=l.filter(l=>-1===l.current&&"Unlock_next_Equinox_upgrade"===l.reward).length;return o.equinoxUpgrades.map((l,o)=>{let{name:u,description:t,maxLevel:v,bonus:r}=l,a="Hmm..."===u?0:"Food_Lust"===u?Math.min(parseInt(i[o]),null==n?void 0:n[193]):r*i[o]||0;return{name:u,bonus:a,desc:null==t?void 0:t.replace("{}",r*i[o]||0).replace("{","").replace("}",i[o]||0).split("_@_"),lvl:i[o]||0,maxLvl:v+e.filter(l=>l.includes(u)).reduce((l,i)=>l+parseInt(i.match(/\d+/)[0],10),0),unlocked:o<=d}})},a=(l,i)=>{var n,o;return(null==l?void 0:null===(o=l.filter(l=>l.name===i))||void 0===o?void 0:null===(n=o[0])||void 0===n?void 0:n.bonus)||0}},34010:function(l,i,n){n.d(i,{D:function(){return e},q:function(){return d}});var o=n(66092);let e=(l,i,n)=>{let e=null==l?void 0:l.find(l=>{let{name:n}=l;return null==n?void 0:n.includes(i)});return e?(0,o.growth)(null==e?void 0:e.func,Math.max(0,Math.round(n-(null==e?void 0:e.x3))),null==e?void 0:e.x1,null==e?void 0:e.x2,!1):0},d=(l,i)=>null==l?void 0:l.find(l=>{let{name:n}=l;return null==n?void 0:n.includes(i)})},95299:function(l,i,n){n.d(i,{Ob:function(){return k},gm:function(){return r},h$:function(){return B}});var o=n(67924),e=n(66092),d=n(70436),u=n(21351),t=n(83672);let{tryToParse:v}=n(66092),r=(l,i,n,o)=>{let e=v(null==l?void 0:l.Gaming)||(null==l?void 0:l.Gaming),d=v(null==l?void 0:l.GamingSprout)||(null==l?void 0:l.GamingSprout);return e&&d?a(e,d,i,n,o):null},a=(l,i,n,d,u)=>{var v,r,a,x,k,B,T,O,I,P,E;let A=[];if(null==l?void 0:l[11])for(let i=0;i<9;i++){let n=0;for(let o=e.number2letter.indexOf(null===(I=null==l?void 0:l[11])||void 0===I?void 0:I.charAt(i));n(null==i?void 0:i[1])>0?l+1:l,0),D=null==l?void 0:l[0],j=null==l?void 0:l[8],F=null==i?void 0:null===(v=i[26])||void 0===v?void 0:v[1],G=g(F),U=null==i?void 0:null===(r=i[27])||void 0===r?void 0:r[1],H=null==i?void 0:null===(a=i[27])||void 0===a?void 0:a[0],V=_(U,H),Y=f("nugget"),W=f("acorn",H),X=C(i),K=null==i?void 0:i.slice(25,25+(null===o.gamingImports||void 0===o.gamingImports?void 0:o.gamingImports.length)+1),z=null!==(P=null==d?void 0:null===(x=d.gemShopPurchases)||void 0===x?void 0:x.find((l,i)=>131===i))&&void 0!==P?P:0,Q=b(null!==(E=null==d?void 0:null===(k=d.gemShopPurchases)||void 0===k?void 0:k.find((l,i)=>131===i))&&void 0!==E?E:0),Z=null===o.gamingImports||void 0===o.gamingImports?void 0:o.gamingImports.map((l,i)=>{var n,o,e,u;let v=y(i,null==l?void 0:l.minorBonus,K);return{...l,level:null==K?void 0:null===(n=K[i])||void 0===n?void 0:n[0],rawName:3===i?"GamingItem".concat(i,"_0"):0===i&&z>0?"GamingItem".concat(i,"b"):"GamingItem".concat(i),minorBonus:null==v?void 0:v.description,cost:M(i,K),acquired:(null==K?void 0:null===(o=K[i])||void 0===o?void 0:o[0])>0,...0===i?{saveSprinklerChance:100*Q}:{},...1===i?{maxNuggetValue:h(null==v?void 0:v.result,(0,t.z)(null==d?void 0:null===(e=d.equinox)||void 0===e?void 0:e.upgrades,"Metal_Detector"),null==d?void 0:null===(u=d.accountOptions)||void 0===u?void 0:u[192])}:{},...2===i?{acornShop:X}:{}}}).filter((l,i)=>i<8),J=null==l?void 0:null===(B=l.slice(1,(null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:o.gamingUpgrades.length)+1))||void 0===B?void 0:B.map((e,t)=>{var v;let r=w(t,l,i,n,d,X,Z);return{...null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:o.gamingUpgrades[t],level:e,bonus:r,description:null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:null===(v=o.gamingUpgrades[t])||void 0===v?void 0:v.description.replace(/{/,r),cost:S(t,l,u)}}),$=p(null==i?void 0:null===(T=i[25])||void 0===T?void 0:T[1],Z),ll=(null==l?void 0:l[12])||[],li=null===o.superbitsUpgrades||void 0===o.superbitsUpgrades?void 0:o.superbitsUpgrades.map((l,i)=>({...l,unlocked:(null==ll?void 0:ll.indexOf(null===e.number2letter||void 0===e.number2letter?void 0:e.number2letter[i]))!==-1,...m(n,d,i)})),ln=null==l?void 0:l[5],lo=null==l?void 0:l[4],le=null==l?void 0:l[7],ld=c(),lu=s(lo,ln),lt=[100,200,300,400,500].map(l=>({value:l,chance:s(lo,l)}));return{bestNugget:j,bits:D,envelopes:R,snailLevel:L,snailEncouragement:N,fertilizerUpgrades:J,availableSprouts:q,availableDrops:$,sproutsCapacity:null==J?void 0:null===(O=J[2])||void 0===O?void 0:O.bonus,imports:Z,lastShovelClicked:F,goldNuggets:G,lastAcornClicked:U,acorns:V,nuggetsBreakpoints:Y,acornsBreakpoints:W,superbitsUpgrades:li,mutations:ld,unlockedMutations:lo,mutationCost:(25+(10*(le+1)+Math.pow(le+1,2)))*Math.pow(1.3,le),dna:ln,newMutationChance:lu,mutationChanceBreakpoints:lt,logBook:A}},s=(l,i)=>Math.floor(1e3*(0===l?Math.min(.8,7*i/(100+i)):Math.min(.99,42*i/(100+i)*Math.pow(.31,l))))/10,c=()=>{var l;let i=null===o.randomList2||void 0===o.randomList2?void 0:null===(l=o.randomList2[0])||void 0===l?void 0:l.split(" ");return["FunGi","Bonsai","Cactus","Blossom","Voraci","Berri Bush","EverGreen","Chemical"].map((l,n)=>{var o;return{name:l,index:n,description:null==i?void 0:null===(o=i[n])||void 0===o?void 0:o.replace(/â‚£/g,"bits")}})},m=(l,i,n)=>{var o,e,d,t,v,r,a,s,c,m,p;let h,f,g;return 0===n?f=Math.pow(1.03,h=null!==(d=null==i?void 0:null===(e=i.achievements)||void 0===e?void 0:null===(o=e.filter(l=>{let{completed:i}=l;return i}))||void 0===o?void 0:o.length)&&void 0!==d?d:0):3===n||11===n||16===n?(h=Math.floor((null==i?void 0:null===(t=i.towers)||void 0===t?void 0:t.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(v=i.towers)||void 0===v?void 0:v.totalWaves," waves)")):13===n?(h=10*Math.floor((null==i?void 0:null===(r=i.towers)||void 0===r?void 0:r.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(a=i.towers)||void 0===a?void 0:a.totalWaves," waves)")):7===n?(h=Math.floor((null==i?void 0:null===(s=i.towers)||void 0===s?void 0:s.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(c=i.towers)||void 0===c?void 0:c.totalWaves," waves)")):20===n?(h=50*Math.floor((null==i?void 0:null===(m=i.towers)||void 0===m?void 0:m.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(p=i.towers)||void 0===p?void 0:p.totalWaves," waves)")):12===n&&(f=Math.floor((0,u.fx)(l,"gaming"))),{bonus:h,totalBonus:f,additionalInfo:g}},p=(l,i)=>{var n;return Math.floor(Math.pow(l*(1+(null==i?void 0:null===(n=i[0])||void 0===n?void 0:n.level)/100)/3600,.75))},h=(l,i,n)=>1584.8931924611136*l*(1+i*n/100),f=(l,i)=>{let n=[1,2,3,4,5,6].reduce((n,o,e)=>{var d,u;let{breakpoints:t,lastClicked:v}=n,r=3600*Math.floor(v)+v%1*6e3,a="nugget"===l?g(r):_(r,i);if(0===t.length)return{breakpoints:[...t,{time:r,amount:a}],lastClicked:v+.1};for(;a<=(null==t?void 0:null===(d=t[e-1])||void 0===d?void 0:d.amount)&&v%1!=0;)(a="nugget"===l?g(r):_(r,i))<=(null==t?void 0:null===(u=t[e-1])||void 0===u?void 0:u.amount)&&(v+=.1,r=3600*Math.floor(v)+v%1*6e3);return{breakpoints:[...t,{time:r,amount:a}],lastClicked:v}},{breakpoints:[],lastClicked:1});return null==n?void 0:n.breakpoints},g=l=>Math.floor(Math.pow(l/3600,.44)),_=(l,i)=>Math.floor(Math.pow(l*(1+i/100)/3600,.85)),b=l=>1===l?.3:2===l?.43:3===l?.53:4===l?.6:0,y=(l,i,n)=>{var o;let e=null==n?void 0:null===(o=n[l])||void 0===o?void 0:o[0];if(1===l){let l=Math.floor(10*(1+Math.pow(60*e/(250+e),1.7)))/10;return{description:i.replace(/{/,l),result:l}}if(2===l){let l=Math.round(5*e);return{description:i.replace(/{/,l),result:l}}if(5===l){let l=Math.floor(60*e/(100+e)*10)/10;return{description:i.replace(/{/,l),result:l}}return{description:i.replace(/{/,Math.round(e)),value:Math.round(e)}},M=(l,i)=>{var n,e,d;return(null===o.gamingImports||void 0===o.gamingImports?void 0:null===(n=o.gamingImports[l])||void 0===n?void 0:n.x1)*Math.pow(10,null===o.gamingImports||void 0===o.gamingImports?void 0:null===(e=o.gamingImports[l])||void 0===e?void 0:e.x2)/4*Math.pow(1.4,null==i?void 0:null===(d=i[l])||void 0===d?void 0:d[0])},w=(l,i,n,o,u,t,v)=>{var r,a,s,c,m,p;if(0===l){let l=null==i?void 0:i[1];return(0,e.notateNumber)((1+4*l)*Math.pow(1.065,l),"bits")}if(1===l){let l=null==i?void 0:i[2],e=null==o?void 0:o.find(l=>{let{linkedDeity:i}=l;return 6===i}),m=null!==(c=(0,d.kI)(e,u,6,o))&&void 0!==c?c:0,p=1+((null==t?void 0:null===(r=t[1])||void 0===r?void 0:r.bonus)+m)/100,h=3+(null==v?void 0:null===(a=v[4])||void 0===a?void 0:a.level)/100,f=Math.floor(5e3/((1+2*l/100)*p*(1+h*(null==n?void 0:null===(s=n[29])||void 0===s?void 0:s[1])))*(1/x(i))/60*100)/100;return f>60?"".concat(Math.floor(100*f/60)/100," Hr"):"".concat(Math.floor(10*f)/10," Min")}if(2===l){let l=null==i?void 0:i[3],n=null!==(p=null==u?void 0:null===(m=u.gemShopPurchases)||void 0===m?void 0:m.find((l,i)=>133===i))&&void 0!==p?p:0;return(0,e.notateNumber)(Math.round(Math.min(24,3+l+n)))}},x=l=>{let i=null==l?void 0:l[7];return .13+.11*i/(150+i)},S=(l,i,n)=>{if(0===l){let l=null==i?void 0:i[1];return(1+(3*l+Math.pow(l,2)))*Math.pow(Math.min(1.25,Math.max(1.13,1+(null==n?void 0:n.GamingFertCostExpA)/1e3))+Math.max(0,Math.min(.15,.18*(l-50)/(l+100))),l)}if(1===l){let l=null==i?void 0:i[2];return(2+(5*l+Math.pow(l,2)))*Math.pow(1.22,l)}if(2===l){let l=null==i?void 0:i[3];return 11>l?(25*(l+1)+Math.pow(l+1,3))*Math.pow(5+3.7*l,l):9999*1e63}},C=l=>{let i=["All plants give x{ bits","All plants grow {% faster"],[,,n,o]=null==l?void 0:l[27];return[n,o].map((l,n)=>{let o=0===n?1+8*l/(250+l):Math.pow(3*l,.8);return{cost:1+l+2*Math.max(0,l-5),description:null==i?void 0:i[n].replace(/{/,"".concat(o.toFixed(2))),bonus:o}})},k=(l,i)=>{var n,o;return null==l?void 0:null===(o=l.gaming)||void 0===o?void 0:null===(n=o.superbitsUpgrades)||void 0===n?void 0:n.find(l=>{let{name:n,unlocked:o}=l;return n===i&&o})},B=(l,i)=>{let n=0,o=1e3;for(;o-n>1;){let e=Math.floor((n+o)/2);(1-.1*Math.pow(l,.72))*(1+100*e/(25+e)/100){var n;return l&&i?null===(n=Object.keys(i))||void 0===n?void 0:n.reduce((n,o)=>{if("UQ1txt"===o||"UQ2txt"===o)return{...n,[o]:(null==l?void 0:l[o])||(null==i?void 0:i[o])};let e=null==l?void 0:l[o],d=null==i?void 0:i[o],u=e;return isNaN(d)||d<0?{...n,[o]:d}:(u=(e||0)+((null==i?void 0:i.UQ1txt)&&(null==l?void 0:l.Type)!=="KEYCHAIN"&&(null==l?void 0:l.UQ1txt)!==(null==i?void 0:i.UQ1txt)?0:d),{...n,[o]:parseFloat(u)})},{}):{}},d=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return null==l?void 0:l.reduce((l,e)=>{if(n)i===(o?null==e?void 0:e.rawName:null==e?void 0:e.name)&&(l+=null==e?void 0:e.amount);else{var d,u;(o?null==e?void 0:null===(d=e.rawName)||void 0===d?void 0:d.includes(i):null==e?void 0:null===(u=e.name)||void 0===u?void 0:u.includes(i))&&(l+=null==e?void 0:e.amount)}return l},0)},u=function(l,i,n){var e,d,u,v,r,a,s,c,m,p,h,f;let g=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{equipment:_,tools:b}=l||{},y=null!==(p=null==n?void 0:null===(u=n.lab)||void 0===u?void 0:null===(d=u.playersChips)||void 0===d?void 0:null===(e=d[null==l?void 0:l.playerId])||void 0===e?void 0:e.find(l=>16===l.index))&&void 0!==p?p:0,M=null!==(h=null==n?void 0:null===(a=n.lab)||void 0===a?void 0:null===(r=a.playersChips)||void 0===r?void 0:null===(v=r[null==l?void 0:l.playerId])||void 0===v?void 0:v.find(l=>17===l.index))&&void 0!==h?h:0,w=null!==(f=null==n?void 0:null===(m=n.lab)||void 0===m?void 0:null===(c=m.playersChips)||void 0===c?void 0:null===(s=c[null==l?void 0:l.playerId])||void 0===s?void 0:s.find(l=>18===l.index))&&void 0!==f?f:0,x=g?b:_;return isNaN(i)?null==x?void 0:x.reduce((l,n)=>l+t(n,i),0):null==x?void 0:x.reduce((l,n,e)=>{var d;return l+t(n,null===o.bonuses||void 0===o.bonuses?void 0:null===(d=o.bonuses.etcBonuses)||void 0===d?void 0:d[i])*(3===e&&w||10===e&&y||9===e&&M?2:1)},0)},t=(l,i)=>{let n=(null==l?void 0:l.UQ1txt)===i?null==l?void 0:l.UQ1val:0,o=(null==l?void 0:l.UQ2txt)===i?null==l?void 0:l.UQ2val:0;return(null==l?void 0:l[i])?null==l?void 0:l[i]:n+o},v=(l,i,n)=>Array.from(Object.values(l)).reduce((l,d,u)=>{var t;let v=e(null===o.items||void 0===o.items?void 0:o.items[d],null==i?void 0:i[u]),r="",a={...null===o.items||void 0===o.items?void 0:o.items[d],...v};return(null==a?void 0:a.UQ1txt)&&(r+=null==a?void 0:a.UQ1txt),(null==a?void 0:a.UQ2txt)&&(r+=" ".concat(null==a?void 0:a.UQ2txt)),d?[...l,{name:null===o.items||void 0===o.items?void 0:null===(t=o.items[d])||void 0===t?void 0:t.displayName,rawName:d,owner:n,..."Blank"===d?{}:{...null===o.items||void 0===o.items?void 0:o.items[d],...v},misc:r}]:l},[]),r=(l,i)=>i?l.reduce((l,n)=>{let{name:o,owner:e,amount:d}=n;if(o===i){var u;return null!=l&&l[e]?{...l,[e]:{amount:(null==l?void 0:null===(u=l[e])||void 0===u?void 0:u.amount)+1}}:{...l,[e]:{amount:d}}}return l},{}):{},a=(l,i)=>{if(!i)return{};let n=l.filter(l=>{var n,o;let{misc:e,description:d}=l;return(null==d?void 0:null===(n=d.toLowerCase())||void 0===n?void 0:n.includes(null==i?void 0:i.toLowerCase()))||(null==e?void 0:null===(o=e.toLowerCase())||void 0===o?void 0:o.includes(null==i?void 0:i.toLowerCase()))},[]);return null==n?void 0:n.reduce((l,i)=>{let n=null==l?void 0:l.findIndex(l=>(null==l?void 0:l.rawName)===(null==i?void 0:i.rawName)),o=null==l?void 0:l[n];if(o){var e;let d=(null==o?void 0:null===(e=o.owners)||void 0===e?void 0:e.includes(null==i?void 0:i.owner))?null==o?void 0:o.owners:[...null==o?void 0:o.owners,null==i?void 0:i.owner];(null==o?void 0:o.misc)===(null==i?void 0:i.misc)&&(null==l||l.splice(n,1)),l=[...l,{...i,owners:d}]}else l=[...l,{...i,owners:[null==i?void 0:i.owner]}];return l},[])},s=l=>{if(!l)return[];let i={},n=JSON.parse(JSON.stringify(l)),o=(l,n)=>null==l?void 0:l.reduce((l,e)=>(l.push(e),e.materials&&(l=l.concat(o(null==e?void 0:e.materials,n)),e.materials=[]),i[null==e?void 0:e.itemName]?i[null==e?void 0:e.itemName].itemQuantity+=null==e?void 0:e.itemQuantity:i[null==e?void 0:e.itemName]=e,l),[]);return o(null==n?void 0:n.materials,i),Object.values(i)},c=(l,i)=>{var n;return null===(n=Object.entries(r(l,i)))||void 0===n?void 0:n.reduce((l,i)=>{let[n,{amount:o}]=i;return{amount:(null==l?void 0:l.amount)+o,owner:[...null==l?void 0:l.owner,n]}},{amount:0,owner:[]})},m=(l,i)=>i?null==l?void 0:l.reduce((l,i)=>{let{tools:n,equipment:o,food:e}=i;return[...l,...n,...o,...e]},[]).filter(l=>{let{rawName:i}=l;return"Blank"!==i}).map(l=>(null==l?void 0:l.amount)?l:{...l,amount:1}):[],p=(l,i)=>[...(null==l?void 0:l.reduce((l,i)=>{let{inventory:n=[]}=i;return[...l,...n]},[]))||[],...(null==i?void 0:i.storage)||[]],h=()=>{var l,i,n,e,d;let u=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(l=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/EquipmentTools[0-9]+/)}))||void 0===l?void 0:l.filter(l=>{let{rawName:i}=l;return"EquipmentTools13"!==i&&"EquipmentTools10"!==i}),t=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(i=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/EquipmentToolsHatchet[0-9]+/)}))||void 0===i?void 0:i.filter(l=>{let{rawName:i}=l;return"EquipmentToolsHatchet0"!==i&&"EquipmentToolsHatchet3"!==i&&"EquipmentToolsHatchet11"!==i&&"EquipmentToolsHatchet10"!==i}),v=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(n=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/FishingRod[0-9]+/)}))||void 0===n?void 0:n.filter(l=>{let{rawName:i}=l;return"FishingRod1"!==i});return[u,t,v,null===o.itemsArray||void 0===o.itemsArray?void 0:null===(e=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/CatchingNet[0-9]+/)}))||void 0===e?void 0:e.filter(l=>{let{rawName:i}=l;return"CatchingNet1"!==i}),null===o.itemsArray||void 0===o.itemsArray?void 0:o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/TrapBoxSet[0-9]+/)}),null===o.itemsArray||void 0===o.itemsArray?void 0:null===(d=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/WorshipSkull[0-9]+/)}))||void 0===d?void 0:d.filter(l=>{let{rawName:i}=l;return"WorshipSkull8"!==i})]}},79521:function(l,i,n){n.d(i,{Cs:function(){return s},Rp:function(){return p},c9:function(){return g},gw:function(){return C},p8:function(){return m},pc:function(){return f},ww:function(){return h}});var o=n(66092),e=n(67924),d=n(5497),u=n(98118),t=n(21351),v=n(54381),r=n(14802),a=n(83672);let s=(l,i,n,e)=>c((0,o.tryToParse)(null==l?void 0:l.Lab)||(null==l?void 0:l.Lab),i,n,e),c=(l,i,n,o)=>{var d,u,v,r,s,c,p,_,b,M,C,k,B,T,O,I,P;if(!l)return{};let E=null==n?void 0:null===(d=n.accountOptions)||void 0===d?void 0:d[89],A=null===e.randomList||void 0===e.randomList?void 0:e.randomList[53],[L]=l,N=l[15],R=l[14],q=l[13],D=null==l?void 0:l.slice(1,(null==i?void 0:i.length)+1),j=[];for(let l=0;lnull==l?void 0:l.playerName);let F=null==R?void 0:R.map((l,i)=>({...(null===e.jewels||void 0===e.jewels?void 0:e.jewels[i])||{},acquired:1===l,rawName:"ConsoleJwl".concat(i)})).filter(l=>{let{name:i}=l;return i}),G=null==D?void 0:D.map(l=>l.map(l=>(null===e.chips||void 0===e.chips?void 0:e.chips[l])?{...null===e.chips||void 0===e.chips?void 0:e.chips[l],chipIndex:l}:l)),U=(null!==(T=null==n?void 0:null===(u=n.gemShopPurchases)||void 0===u?void 0:u.find((l,i)=>123===i))&&void 0!==T?T:0)*2,H=[...i].filter((l,i)=>{var o,e;return(0,t.fe)(n,0)||(null==l?void 0:l.AFKtarget)==="Laboratory"||m(l,1)||(null==n?void 0:null===(e=n.divinity)||void 0===e?void 0:null===(o=e.linkedDeities)||void 0===o?void 0:o[i])===1}).map((l,i)=>{var n,o;return{...l,x:null==j?void 0:null===(n=j[null==l?void 0:l.playerId])||void 0===n?void 0:n.x,y:null==j?void 0:null===(o=j[null==l?void 0:l.playerId])||void 0===o?void 0:o.y}}),V=JSON.parse(JSON.stringify(e.chips));null==N||N.map((l,i)=>{if(il).reduce((l,n)=>l+(n.index===V[i].index?1:0),0);V[i].repoAmount=l-n,V[i].amount=n}});let Y=(null!==(O=null==n?void 0:null===(s=n.tasks)||void 0===s?void 0:null===(r=s[2])||void 0===r?void 0:null===(v=r[3])||void 0===v?void 0:v[4])&&void 0!==O?O:0)*(null===e.merits||void 0===e.merits?void 0:null===(p=e.merits[3])||void 0===p?void 0:null===(c=p[4])||void 0===c?void 0:c.bonusPerLevel),W=i.find(l=>{let{CharacterClass:i}=l;return 36===i});W&&(W={...W,...null==j?void 0:j[null==W?void 0:W.playerId]});let X=(0,a.z)(null==n?void 0:null===(_=n.equinox)||void 0===_?void 0:_.upgrades,"Laboratory_Fuse"),K=!0,z=JSON.parse(JSON.stringify(e.labBonuses)),Q=[];for(;K;){if(K=!1,(H=y(H,z,F,G,n,null==n?void 0:n.cards,null==n?void 0:n.gemShopPurchases,E,A,W,i,o)).length>0&&0===Q.length){let l=w(H);l&&Q.push(l)}for(let l=0;ll.playerId===e.playerId)&&(d=!0,Q=[...Q,e]);let u=f(F,9,g(z,8)),t=g(z,13),v=S(z,u,t,Y,X,null==Q?void 0:Q[l],!1);z=v.resArr;let r=S(F,u,t,Y,X,null==Q?void 0:Q[l],!0);(null==(F=r.resArr)?void 0:null===(I=F[16])||void 0===I?void 0:I.acquired)&&!(null==F?void 0:null===(P=F[16])||void 0===P?void 0:P.active)&&(F[16].active=!0,H=y(H,z,F,G,n,null==n?void 0:n.cards,null==n?void 0:n.gemShopPurchases,E,A,W,i,o),F[16].active=!1),z=(v=S(z,u,t,Y,X,null==Q?void 0:Q[l],!1)).resArr,F=(r=S(F,u,t,Y,X,null==Q?void 0:Q[l],!0)).resArr,K=K||d||(null==r?void 0:r.newConnection)||(null==v?void 0:v.newConnection)}}}let Z=g(z,8);F=F.map(l=>({...l,multiplier:Z}));let J=null==n?void 0:n.breeding.speciesUnlocks.reduce((l,i)=>l+i,0),$=null==F?void 0:null===(b=F[1])||void 0===b?void 0:b.active;z=h(z,J*($?1.75:1),0,$?1.75:1);let ll=null==n?void 0:null===(M=n.storage)||void 0===M?void 0:M.filter(l=>l.amount>=1e7).length,li=(null==F?void 0:null===(C=F[17])||void 0===C?void 0:C.active)?1.5:0;return z=h(z,ll*(2+li),11,2+li),{playersCords:j=null==j?void 0:j.map((l,i)=>{let n=null==H?void 0:H.find(l=>{let{playerId:n}=l;return n===i});return{...l,lineWidth:(null==n?void 0:n.lineWidth)||(null==l?void 0:l.lineWidth)||0,soupedUp:i{if((null===e.classes||void 0===e.classes?void 0:e.classes[null==l?void 0:l.CharacterClass])==="Elemental_Sorcerer"){var n;return(null==l?void 0:null===(n=l.SkillLevels)||void 0===n?void 0:n[505])%10===i}},p=(l,i)=>{if((null==l?void 0:l.class)==="Elemental_Sorcerer"){var n;let o=null===(n=l.flatTalents)||void 0===n?void 0:n.find(l=>{let{talentId:i}=l;return 505===i});return(null==o?void 0:o.level)%10===i}},h=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return null==l?void 0:l.map((l,e)=>e===n?{...l,bonusOn:i,extraData:o,bonusDesc:i}:l)},f=function(l,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=(null==l?void 0:l.find(l=>l.index===i))||{};return(null==o?void 0:o.active)?(null==o?void 0:o.bonus)*((null==o?void 0:o.multiplier)||n):0},g=(l,i)=>{let n=(null==l?void 0:l.find(l=>l.index===i))||{};return(null==n?void 0:n.active)?null==n?void 0:n.bonusOn:null==n?void 0:n.bonusOff},_=(l,i,n,o)=>.9604339*Math.max(Math.abs(l-n),Math.abs(i-o))+.397824735*Math.min(Math.abs(l-n),Math.abs(i-o)),b=(l,i,n,o,e,d)=>!d&&(13===e||8===e)||9===e&&d?80:80*(1+(l+i)/100)+n+o,y=(l,i,n,o,e,d,u,v,r,a,s,c)=>null==l?void 0:l.map(l=>{var m,p,h;let f=(null!==(h=null==u?void 0:u.find((l,i)=>123===i))&&void 0!==h?h:0)*2,g=(0,t.bV)(v,r,13)?20:0,_=null==s?void 0:null===(m=s.find(i=>{let{name:n}=i;return n===(null==l?void 0:l.name)}))||void 0===m?void 0:m.playerId,b=M(l,null==l?void 0:null===(p=l.Lv0)||void 0===p?void 0:p[12],f>0&&_<=f,i,n,null==o?void 0:o[null==l?void 0:l.playerId],e,d,g,a,c);return{...l,lineWidth:b}}),M=(l,i,n,t,a,s,c,m,p,h,b)=>{var y,M,w;let x=g(t,8),S=50+2*(null!=i?i:0),{acquired:C,x:k,y:B}=a[5];C&&150>_(k,B,l.x,l.y)&&(S*=1.25);let T=null==s?void 0:s.reduce((l,i)=>6===i.index?l+i.baseVal:l,0),O=f(a,16,x),I=(0,d.F4)(c,null,"PxLine",O),P=(0,d.F4)(c,null,"LinePct",O),E=(0,u.OK)(m,"Line_Width_(Passive)"),A=(0,v.du)(null==c?void 0:null===(y=c.breeding)||void 0===y?void 0:y.pets,"Line_Width_in_Lab"),L=0;if((null==l?void 0:l.x)>=(null==h?void 0:h.x)){let l=h.SkillLevels[536]||0,i=(null===e.talents||void 0===e.talents?void 0:null===(M=e.talents.Bubonic_Conjuror)||void 0===M?void 0:M.PURPLE_TUBE)||{};L=b?(0,r.A5)(b,3,"Bubonic_Conjuror","PURPLE_TUBE"):null!==(w=(0,o.growth)(null==i?void 0:i.funcX,l,null==i?void 0:i.x1,null==i?void 0:i.x2,!1))&&void 0!==w?w:0}return Math.floor((S+I+Math.min(E,50))*(1+(L+P+(T+20*p+A+(n?30:0)))/100))},w=l=>{for(let i=0;i{for(let o=0;oi.playerId===l[o].playerId)&&t)return l[o]}return null},S=(l,i,n,o,e,d,u)=>null==l?void 0:l.reduce((l,t,v)=>{let r=!1,a=b(i,n,o,e,v,u);return _(d.x,d.y,t.x,t.y){var o,e,d;return null==i?void 0:null===(d=i.lab)||void 0===d?void 0:null===(e=d.playersChips)||void 0===e?void 0:null===(o=e[null==l?void 0:l.playerId])||void 0===o?void 0:o.reduce((l,i)=>(null==i?void 0:i.index)===n?l+(null==i?void 0:i.baseVal):l,0)}},21351:function(l,i,n){n.d(i,{B4:function(){return Y},DE:function(){return T},HA:function(){return lt},Hx:function(){return F},Ix:function(){return P},KB:function(){return ll},NQ:function(){return B},Nh:function(){return G},O4:function(){return Z},QV:function(){return U},Rf:function(){return ls},U7:function(){return L},UR:function(){return q},W9:function(){return x},Wk:function(){return la},XQ:function(){return R},Yu:function(){return D},Zf:function(){return lr},ai:function(){return J},bV:function(){return N},cg:function(){return O},fe:function(){return lc},fi:function(){return Q},fx:function(){return H},jU:function(){return j},kU:function(){return A},pA:function(){return K},qP:function(){return W},sU:function(){return lv},tE:function(){return $},tS:function(){return V},tc:function(){return le},z3:function(){return lu}});var o=n(66092),e=n(45819),d=n(67924),u=n(14802),t=n(5497),v=n(6426),r=n(42915),a=n(69320),s=n(79521),c=n(17844),m=n(2035),p=n(94336),h=n(95299),f=n(34010),g=n(2127),_=n(84127),b=n(33913),y=n(6896),M=n(64169),w=n(14581);let x=(l,i,n)=>{let{bookCount:o,libTime:e}=S(n,i,l),d=null==n?void 0:n.timeAway,u=[16,18,20].map(e=>({breakpoint:e,time:C(o,e,n,i,l)-(null==d?void 0:d.BookLib)}));return u=[...u,{breakpoint:0,time:C(0,20,n,i,l)}],{bookCount:o,next:k(o,n,i,l)-e,breakpoints:u}},S=(l,i,n)=>{var o;let e=null==l?void 0:null===(o=l.accountOptions)||void 0===o?void 0:o[55],d=null==l?void 0:l.timeAway,u=null==d?void 0:d.BookLib,t=(new Date).getTime()/1e3-d.GlobalTime,v=e;for(t>300&&(u+=t);u>k(v,l,i,n);)u-=k(v,l,i,n),v+=1;return{bookCount:v,libTime:u}},C=(l,i,n,o,e)=>{let d=0;for(let u=l;u{var d,u,m;let p=(0,o.tryToParse)(null==e?void 0:e.Tower)||(null==e?void 0:e.Tower),f=(0,s.c9)(null==i?void 0:i.lab.labBonuses,8),g=(0,s.pc)(null==i?void 0:null===(d=i.lab)||void 0===d?void 0:d.jewels,16,f),_=1+(0,t.F4)(i,"Library_checkout_Speed",null,g)/100,b=(0,v.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"kazam","IGNORE_OVERDUES",!1),y=(0,v.YG)(null==i?void 0:null===(m=i.alchemy)||void 0===m?void 0:m.vials,"Talent_Book_Library"),M=(0,r.mV)(null==i?void 0:i.stamps,"Talent_Book_Library_Refresh_Speed"),w=null==p?void 0:p[1],x=(0,c._m)(i,"Oxygen_-_Library_Booker"),S=(0,h.Ob)(i,"Library_Checkouts"),C=0;return S&&(C=null==S?void 0:S.totalBonus),Math.round(3600/(_*(1+x/100)*(1+(5*w+b+(y+(M+C+Math.min(30,Math.max(0,30*(0,a.k)(null==i?void 0:i.achievements,145))))))/100))*4*(1+10*Math.pow(l,1.4)/100))},B=l=>{var i,n,u;let t=(null==l?void 0:null===(i=l.Cards)||void 0===i?void 0:i[1])||(0,o.tryToParse)(null==l?void 0:l.Cards1),v=null===d.randomList||void 0===d.randomList?void 0:null===(n=d.randomList[17])||void 0===n?void 0:n.split(" ");null==t||t.filter(l=>!v.includes(l));let r=JSON.parse(JSON.stringify(d.items)),a=null===d.slab||void 0===d.slab?void 0:d.slab.map(l=>{var i;return{name:null==r?void 0:null===(i=r[l])||void 0===i?void 0:i.displayName,rawName:l,obtained:null==t?void 0:t.includes(l),onRotation:null===e.Ns||void 0===e.Ns?void 0:e.Ns[l]}}),s=null==a?void 0:null===(u=a.filter(l=>{let{obtained:i,rawName:n}=l;return!i&&!(null===e.oA||void 0===e.oA?void 0:e.oA[n])}))||void 0===u?void 0:u.length;return{slabItems:a,lootedItems:null==t?void 0:t.length,missingItems:s,totalItems:null===d.slab||void 0===d.slab?void 0:d.slab.length,rawLootedItems:null==t?void 0:t.length}},T=l=>{var i;let n=(null==l?void 0:null===(i=l.CurrenciesOwned)||void 0===i?void 0:i.KeysAll)||(null==l?void 0:l.CYKeysAll);return(null==l?void 0:l.CurrenciesOwned)?{...null==l?void 0:l.CurrenciesOwned,KeysAll:I(n)}:{WorldTeleports:null==l?void 0:l.CYWorldTeleports,KeysAll:I(n),ColosseumTickets:null==l?void 0:l.CYColosseumTickets,ObolFragments:null==l?void 0:l.CYObolFragments,SilverPens:null==l?void 0:l.CYSilverPens,GoldPens:null==l?void 0:l.CYGoldPens,DeliveryBoxComplete:null==l?void 0:l.CYDeliveryBoxComplete,DeliveryBoxStreak:null==l?void 0:l.CYDeliveryBoxStreak,DeliveryBoxMisc:null==l?void 0:l.CYDeliveryBoxMisc,minigamePlays:null==l?void 0:l.PVMinigamePlays_1}},O=(l,i,n)=>({allTickets:Object.entries({0:{name:"Typhoon",dialogThreshold:3,daysSinceIndex:15},1:{name:"Centurion",dialogThreshold:4,daysSinceIndex:35},2:{name:"Lonely_Hunter",dialogThreshold:6,daysSinceIndex:56}}).reduce((i,o,e)=>{var d;let[,u]=o,t=null==n?void 0:null===(d=n.accountOptions)||void 0===d?void 0:d[null==u?void 0:u.daysSinceIndex];return[...i,{rawName:"TixEZ".concat(e),amountPerDay:1,daysSincePickup:t,amount:l,totalAmount:Math.min(t,3)}]},[]),totalAmount:l}),I=l=>l.reduce((l,i,n)=>n<5?[...l,{amount:i,...e.Aw[n]}]:l,[]),P=(l,i,n)=>{let o={0:{name:"Dog_Bone",dialogThreshold:5,daysSinceIndex:16},1:{name:"Djonnut",dialogThreshold:6,daysSinceIndex:31},2:{name:"Bellows",dialogThreshold:8.5,daysSinceIndex:80},3:{}};return l.map((l,e)=>{var d,u;let t=E(null==o?void 0:o[e],i),v=null==n?void 0:null===(u=n.accountOptions)||void 0===u?void 0:u[null==o?void 0:null===(d=o[e])||void 0===d?void 0:d.daysSinceIndex];return{...l,amountPerDay:t,daysSincePickup:v,totalAmount:Math.min(v,3)*t}})},E=function(){let{name:l,dialogThreshold:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return n.reduce((n,o)=>{let{npcDialog:e}=o;return void 0===i?n:(null==e?void 0:e[l])>i?n+1:n},0)},A=l=>{var i;let n=(0,o.tryToParse)(null==l?void 0:l.BundlesReceived)||(null==l?void 0:l.BundlesReceived);return n?null===(i=Object.entries(n))||void 0===i?void 0:i.reduce((l,i)=>{let[n,o]=i;return o?[...l,{name:n,owned:!!o}]:l},[]).sort((l,i)=>{var n,o,e,d;return null==l?void 0:null===(d=l.name)||void 0===d?void 0:null===(e=d.match(/_[a-z]/i))||void 0===e?void 0:e[0].localeCompare(null==i?void 0:null===(o=i.name)||void 0===o?void 0:null===(n=o.match(/_[a-z]/i))||void 0===n?void 0:n[0])}):[]},L=(l,i)=>null==l?void 0:l.find(l=>{let{name:n}=l;return n===i}),N=(l,i,n)=>{let o=i.split(" ");return!(n>o.length)&&l>=o[n]},R=l=>1e3*parseFloat(l),q=(l,i)=>{let{allCapacity:n,mattyBagStampBonus:o,gemShopCarryBonus:e,masonJarStampBonus:d,extraBagsTalentBonus:u,starSignExtraCap:t}=i;return Math.floor((null==l?void 0:l.capacity)*(1+o/100)*(1+25*e/100)*(1+(d+t)/100)*(1+u/100)*n)},D=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=(Math.pow(l+1,.37)-1)/40;return l>1e3&&(i=(l-1e3)/(l+2500)*.5+.297),2*i+1},j=(l,i)=>{let n=null==l?void 0:l.filter(l=>(0,u.gW)(null==l?void 0:l.class,i));return null==n?void 0:n.reduce((l,i)=>{let{level:n}=i;return n>l?n:l},0)},F=(l,i)=>{let n=null==l?void 0:l.reduce((l,i)=>{let{level:n,class:o}=i;return(null==l?void 0:l[o])?l[o]=Math.max(null==l?void 0:l[o],n):l[o]=n,l},{}),o=null===u.pV||void 0===u.pV?void 0:u.pV[i],e=null==o?void 0:o.find(l=>null==n?void 0:n[l]);return null==n?void 0:n[e]},G=(l,i,n)=>{let o=null===u.pV||void 0===u.pV?void 0:u.pV[i],e=l.filter(l=>o.includes(l.class));return e.reduce((l,i)=>{var o,e,d,u;return(null==i?void 0:null===(e=i.skillsInfo)||void 0===e?void 0:null===(o=e[n])||void 0===o?void 0:o.level)>(null==l?void 0:null===(u=l.skillsInfo)||void 0===u?void 0:null===(d=u[n])||void 0===d?void 0:d.level)?i:l},e[0])},U=l=>Math.max(...null==l?void 0:l.map(l=>{let{level:i}=l;return i})),H=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return Math.max(...null==l?void 0:l.map(l=>{var n,o;let{skillsInfo:e}=l;return null!==(o=null==e?void 0:null===(n=e[i])||void 0===n?void 0:n.level)&&void 0!==o?o:0}))},V=l=>{var i;return null===(i=Object.entries(l.reduce((l,i)=>{let{name:n,skillsInfo:o}=i;if(!o)return l;for(let[i,e]of Object.entries(o))if(l[i]){let o={...l[i],[n]:e},d=Object.keys(o).length;l[i]=Object.entries(o).sort((l,i)=>{let[n,{level:o}]=l,[e,{level:d}]=i;return d-o}).reduceRight((l,i)=>{let[n,o]=i;return{...l,[n]:{...o,rank:d--}}},{})}else l[i]={...l[i],[n]:e};return l},{})))||void 0===i?void 0:i.reduce((l,i)=>{let[n,o]=i;return Object.entries(Object.entries(o).reduce((l,i)=>{let[o,e]=i;return{...l,[o]:{[n]:e}}},{})).reduce((i,n)=>{let[o,e]=n;return{...i,[o]:{...l[o]||{},...e}}},{})},{})},Y=l=>{var i;let n=null==l?void 0:l.reduce((l,i)=>{let{skillsInfo:n}=i;if(!n)return l;for(let[i,e]of Object.entries(n))if(null==l?void 0:l[i]){var o;l[i]={...l[i],level:null!==(o=l[i].level+(null==e?void 0:e.level))&&void 0!==o?o:0}}else l[i]={level:null==e?void 0:e.level,index:(null==e?void 0:e.index)-1,icon:null==e?void 0:e.icon};return l},{});return null===(i=Object.entries(n))||void 0===i?void 0:i.reduce((l,i)=>{let[n,{level:o}]=i,e=X(o);return{...l,[n]:{...null==l?void 0:l[n],rank:e,color:W(o)}}},n)},W=l=>l<300?"white":l>=300&&l<400?"#ffc277":l>=400&&l<600?"#cadadb":l>=600&&l<1e3?"gold":"#56ccff",X=l=>150>l?0:200>l?1:300>l?2:400>l?3:500>l?4:750>l?5:1e3>l?6:7,K=(l,i,n)=>(null==l?void 0:l.currentRift)<15?0:i>n?1:0,z=(l,i)=>{for(let[,n]of Object.entries(l))if((null==n?void 0:n.level)>0&&(null==n?void 0:n.index)===i)return null==n?void 0:n.rank;return null},Q=(l,i,n)=>{let o=Array(15).fill(1);return null==o?void 0:o.reduce((o,e,d)=>{let u=z(l,d);return 1===n?o+=10*K(i,u,Math.round(n+2)):3===n?o+=K(i,u,Math.round(n+2)):4===n?o+=25*K(i,u,Math.round(n+2)):0!==d&&2!==d&&3!==d&&5!==d&&6!==d&&8!==d&&8!==d&&(o+=5*K(i,u,Math.round(n+2))),o},7)},Z=(l,i)=>0===l?(15+Math.pow(i,1.9)+11*i)*Math.pow(1.208-Math.min(.164,.215*i/(i+100)),i)-15:2===l?(15+Math.pow(i,2)+13*i)*Math.pow(1.225-Math.min(.114,.135*i/(i+50)),i)-26:8===l?71>i?((10+Math.pow(i,2.81)+4*i)*Math.pow(1.117-.135*i/(i+5),i)-6)*(1+Math.pow(i,1.72)/300):((10+Math.pow(i,2.81)+4*i)*Math.pow(1.003,i)-6)/2.35*(1+Math.pow(i,1.72)/300):9===l?(15+Math.pow(i,1.3)+6*i)*Math.pow(1.17-Math.min(.07,.135*i/(i+50)),i)-26:(15+Math.pow(i,2)+15*i)*Math.pow(1.225-Math.min(.18,.135*i/(i+50)),i)-30,J=(l,i)=>{var n,o,e,d;let u=null==i?void 0:null===(n=i.accountOptions)||void 0===n?void 0:n[57],t=null===(o=(0,m.Y0)(null==l?void 0:l.activePrayers,"Glitterbug",i))||void 0===o?void 0:o.curse,r=(0,p.wt)(null==i?void 0:i.shrines,6,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(e=i.sailing)||void 0===e?void 0:e.artifacts),a=(0,v.iu)(null==i?void 0:null===(d=i.alchemy)||void 0===d?void 0:d.vials,"GiantMob");return{chance:u<5?1/((100+50*Math.pow(u+1,2))*(1+t/100))*(1+(r+a)/100):1/(2*Math.pow(u+1,1.95)*(1+t/100)*Math.pow(u+1,1.5+u/15))*(1+(r+a)/100),crescentShrineBonus:r,giantMobVial:a,glitterbugPrayer:t}},$=(l,i,n)=>{var e,t,s,c,m,p,h;let _=null==i?void 0:null===(e=i.food)||void 0===e?void 0:e.find(i=>{let{name:n}=i;return n===l}),b=null!==(h=null!==(p=F(null==n?void 0:n.charactersLevels,"Bubonic_Conjuror"))&&void 0!==p?p:F(null==n?void 0:n.charactersLevels,"Shaman"))&&void 0!==h?h:0,y=(0,u._X)(null==i?void 0:i.talents,3,"THE_FAMILY_GUY"),M=(0,f.D)(d.classFamilyBonuses,"GOLDEN_FOODS",b),w=null===(t=u.pV[null==i?void 0:i.class])||void 0===t?void 0:t.includes("Shaman"),x=(0,g.zi)(i,8,n),S=(0,u._X)(null==i?void 0:i.talents,1,"HAUNGRY_FOR_GOLD"),C=(0,r.mV)(null==n?void 0:n.stamps,"Effect_from_Golden_Food._Sparkle_sparkle!"),k=(0,a.k)(null==n?void 0:n.achievements,37),B=(0,v.om)(null==n?void 0:null===(s=n.alchemy)||void 0===s?void 0:s.bubbles,"power","SHIMMERON",!1,(null===u.nl||void 0===u.nl?void 0:u.nl[null==i?void 0:i.class])==="strength"),T=(0,v.Vq)(null==n?void 0:null===(m=n.alchemy)||void 0===m?void 0:null===(c=m.p2w)||void 0===c?void 0:c.sigils,"EMOJI_VEGGIE");return(null==_?void 0:_.Amount)&&(null==_?void 0:_.amount)?(null==_?void 0:_.Amount)*(Math.max(w?M*(y>0?1+y/100:1)||0:M,1)+(x+(S+(C+(k+(B+T)))))/100)*.05*(0,o.lavaLog)(1+(null==_?void 0:_.amount))*(1+(0,o.lavaLog)(1+(null==_?void 0:_.amount))/2.14):0},ll=l=>{if(!l)return[];let{serverVars:i,timeAway:n}=l||{},o=[],e=Math.round(Math.floor((null==n?void 0:n.GlobalTime)/3600));for(let l=0;l<100;l++){let n=e+l+(null==i?void 0:i.RandEvntHr),u=lo(new _.Z(n).rand()),t=new _.Z(n+1).rand(),v=li(u);if(0===v.length)continue;let r=Math.min(Math.floor(t*v.length),v.length-1),a=null===d.rawMapNames||void 0===d.rawMapNames?void 0:d.rawMapNames.indexOf(null==v?void 0:v[r]);if(-1===a)continue;let s=null===d.mapNames||void 0===d.mapNames?void 0:d.mapNames[a],c=ln(u),m=(e+l+1)*36e5;(0,b.Z)(m)||(new Date(m).isDstObserved()&&(m-=36e5),o.push({mapName:s,eventName:c,date:m}))}return o},li=l=>{let[i,n,o]=d.randomList.slice(68,71),e=[];return(0===l||1===l||3===l||4===l)&&(e=e.concat(i.split(" "))),(0===l||1===l||3===l)&&(e=e.concat(n.split(" "))),(0===l||2===l)&&(e=e.concat(o.split(" "))),e},ln=l=>{var i;let n={0:"Meteorite",1:"Mega_Grumblo",2:"Glacial_Guild",3:"Snake_Swarm",4:"Angry_Frogs"};return null!==(i=null==n?void 0:n[l])&&void 0!==i?i:""},lo=l=>.045>l?0:.087>l?1:.129>l?2:.171>l?3:.213>l?4:-1,le=(l,i,n)=>null==i?void 0:i.reduce((i,o)=>{let e=(null==l?void 0:l.itemType)==="Equip"?1:lu(null==l?void 0:l.typeGen,o,n),d=(null==o?void 0:o.inventorySlots)*e;return d>(null==i?void 0:i.maxCapacity)&&(i={capacityPerSlot:e,maxCapacity:d,character:null==o?void 0:o.name}),i},{capacityPerSlot:0,maxCapacity:0,character:""}),ld=(l,i)=>{var n,o,e,d,t,v,r,a;let s=(0,y._r)(null==i?void 0:null===(n=i.guild)||void 0===n?void 0:n.guildBonuses,2),c=(0,u._X)(null==l?void 0:l.starTalents,null,"TELEKINETIC_STORAGE"),h=(0,p.wt)(null==i?void 0:i.shrines,3,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(o=i.sailing)||void 0===o?void 0:o.artifacts);return(1+(s+c)/100)*(1+h/100)*Math.max(1-(null===(e=(0,m.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",i))||void 0===e?void 0:e.curse)/100,.4)*(1+((null===(d=(0,m.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",i))||void 0===d?void 0:d.bonus)+((null==i?void 0:null===(v=i.bribes)||void 0===v?void 0:null===(t=v[23])||void 0===t?void 0:t.done)?null==i?void 0:null===(a=i.bribes)||void 0===a?void 0:null===(r=a[23])||void 0===r?void 0:r.value:0))/100)},lu=function(){var l,i,n,o,e,d,t,v,a,s;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",m=arguments.length>1?arguments[1]:void 0,p=arguments.length>2?arguments[2]:void 0,h=null==p?void 0:null===(l=p.gemShopPurchases)||void 0===l?void 0:l.find((l,i)=>58===i),f=(0,M.o9)(m,p,"Carry_Cap"),g=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Mining_Items",m),_=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Choppin'_Items",m),b=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_Fishing_Items",m),y=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_Catching_Items",m),w=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Material_Items",m),x=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_ALL_item_types!"),S=(0,u._X)(null==m?void 0:m.talents,0,"EXTRA_BAGS"),C=ld(m,p);return"bOre"===c||"bBar"===c||"cOil"===c?Math.floor((null==m?void 0:null===(i=m.maxCarryCap)||void 0===i?void 0:i.Mining)*(1+g/100)*(1+25*h/100)*(1+(x+f)/100)*C):"dFish"===c?Math.floor((null==m?void 0:null===(n=m.maxCarryCap)||void 0===n?void 0:n.Fishing)*(1+25*h/100)*(1+b/100)*(1+(x+f)/100)*C):"dBugs"===c?Math.floor((null==m?void 0:null===(o=m.maxCarryCap)||void 0===o?void 0:o.Bugs)*(1+25*h/100)*(1+y/100)*(1+(x+f)/100)*C):"bLog"===c||"bLeaf"===c?Math.floor((null==m?void 0:null===(e=m.maxCarryCap)||void 0===e?void 0:e.Chopping)*(1+_/100)*(1+25*h/100)*(1+(x+f)/100)*C):"cFood"===c?Math.floor((null==m?void 0:null===(d=m.maxCarryCap)||void 0===d?void 0:d.Foods)*(1+25*h/100)*(1+(x+f)/100)*C):"dCritters"===c?Math.floor((null==m?void 0:null===(t=m.maxCarryCap)||void 0===t?void 0:t.Critters)*(1+25*h/100)*(1+(x+f)/100)*C):"dSouls"===c?Math.floor((null==m?void 0:null===(v=m.maxCarryCap)||void 0===v?void 0:v.Souls)*(1+25*h/100)*(1+(x+f)/100)*C):"dCurrency"===c||"dQuest"===c||"dStatueStone"===c?999999:"bCraft"===c?Math.floor((null==m?void 0:null===(a=m.maxCarryCap)||void 0===a?void 0:a.bCraft)*(1+w/100)*(1+25*h/100)*(1+(x+f)/100)*(1+S/100)*C):"dExpOrb"===c||"dStone"===c||"dFishToolkit"===c?999999:"fillerz"===c?null==m?void 0:null===(s=m.maxCarryCap)||void 0===s?void 0:s.fillerz:"d"===c.charAt(0)?999999:2},lt=l=>{let i={bCraft:"bCraft",Foods:"cFood",Mining:"bOre",Quests:"dQuest",Statues:"dStatueStone",Chopping:"bLog",Fishing:"dFish",Bugs:"dBugs",Critters:"dCritters",Souls:"dSouls"};return null==i?void 0:i[l]},lv=(l,i,n)=>{var o;let e=(0,w.wJ)(l,i);return null==l?void 0:null===(o=l.food)||void 0===o?void 0:o.reduce((l,i)=>{let{Amount:o,Effect:d}=i;return l+(d===n?o*e:0)},0)},lr=(l,i,n)=>{var o;let e=(0,w.wJ)(l,i,!0);return null==l?void 0:null===(o=l.food)||void 0===o?void 0:o.reduce((l,i)=>{let{Trigger:o,Amount:d,Cooldown:u,Effect:t}=i;return l+(o>0&&t===n?d*e/Math.max(u,1)*3600:0)},0)},la=(l,i)=>{var n,o,e;return(null==l?void 0:null===(e=l.highscores)||void 0===e?void 0:null===(o=e.minigameHighscores)||void 0===o?void 0:null===(n=o.find(l=>{let{minigame:n}=l;return n===i}))||void 0===n?void 0:n.score)||0},ls=function(){var l,i;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[o]=(null==n?void 0:null===(l=n.e)||void 0===l?void 0:l.split(","))||[],e=null===d.companions||void 0===d.companions?void 0:d.companions[o],u=null==n?void 0:null===(i=n.l)||void 0===i?void 0:i.reduce((l,i)=>{let[n]=null==i?void 0:i.split(",");return{...l,[n]:!0}},{}),t=null===d.companions||void 0===d.companions?void 0:d.companions.map((l,i)=>({...l,acquired:!!(null==u?void 0:u[i])}));return{totalBoxesOpened:null==n?void 0:n.x,currentCompanion:e,list:t,lastFreeClaim:null==n?void 0:n.t,petCrystals:null==n?void 0:n.s,maxStorage:40}},lc=(l,i)=>{var n,o,e;return null==l?void 0:null===(e=l.companions)||void 0===e?void 0:null===(o=e.list)||void 0===o?void 0:null===(n=o.at(i))||void 0===n?void 0:n.acquired}},70715:function(l,i,n){n.d(i,{dR:function(){return t},eX:function(){return s},gY:function(){return m}});var o=n(66092),e=n(67924),d=n(2127);let u=["STR","AGI","WIS","LUK","Weapon_Power","Defence","UQ1txt","UQ2txt"],t=function(l){var i,n;let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return v((0,o.tryToParse)(null==l?void 0:l.ObolEqO1)||(e?null==l?void 0:null===(i=l.ObolEquippedOrder)||void 0===i?void 0:i[1]:null==l?void 0:l.ObolEquippedOrder),(0,o.tryToParse)(null==l?void 0:l.ObolEqMAPz1)||(e?null==l?void 0:null===(n=l.ObolEquippedMap)||void 0===n?void 0:n[1]:null==l?void 0:l.ObolEquippedMap),e)},v=(l,i,n)=>{let o=n?e.obols.family:e.obols.character,d=r(null==l?void 0:l.map((l,i)=>{var d;return{displayName:null===e.items||void 0===e.items?void 0:null===(d=e.items[l])||void 0===d?void 0:d.displayName,rawName:l,...n?{}:{index:c(i)},...(null==o?void 0:o[i])?o[i]:{}}}),i);d.sort((l,i)=>l.index-i.index);let u=a(d,n);return{list:d,stats:u}},r=(l,i)=>l.reduce((l,n,o)=>{let{rawName:u}=n;if("Blank"===u)return[...l,n];let t=(0,d.t8)(null===e.items||void 0===e.items?void 0:e.items[u],i[o]);return u?[...l,{..."Blank"===u?{}:{...n,...null===e.items||void 0===e.items?void 0:e.items[u],...t}}]:l},[]),a=(l,i)=>{let n=i?"familyBonus":"personalBonus";return null==l?void 0:l.reduce((l,i)=>(Object.entries(i).forEach(o=>{var e,d,t,v,r,a,s,c,m,p;let[h,f]=o;if(u.includes(h)){if((null===(e=l[h])||void 0===e?void 0:e[n])||(null===(d=l[f])||void 0===d?void 0:d[n])){if("UQ1txt"===h||"UQ2txt"===h){if(0===f)return;let o=null===(t=h.match(/\d/g))||void 0===t?void 0:t[0];l[f]={[n]:(null!==(r=null==l?void 0:null===(v=l[f])||void 0===v?void 0:v[n])&&void 0!==r?r:0)+(null==i?void 0:i["UQ".concat(o,"val")])||0}}else l[h]={[n]:(null!==(s=null==l?void 0:null===(a=l[h])||void 0===a?void 0:a[n])&&void 0!==s?s:0)+f}}else if("UQ1txt"===h||"UQ2txt"===h){if(0===f)return;let o=null===(c=h.match(/\d/g))||void 0===c?void 0:c[0];l[f]={[n]:(null!==(p=null==l?void 0:null===(m=l[f])||void 0===m?void 0:m[n])&&void 0!==p?p:0)+(null==i?void 0:i["UQ".concat(o,"val")])||0}}else l[h]={[n]:f}}}),l),{})},s=(l,i)=>Array.from(new Set([...Object.keys(l.stats),...Object.keys(i.stats)])).reduce((n,o)=>{var e,d,u,t;let{personalBonus:v}=null!==(u=null===(e=l.stats)||void 0===e?void 0:e[o])&&void 0!==u?u:0,{familyBonus:r}=null!==(t=null===(d=i.stats)||void 0===d?void 0:d[o])&&void 0!==t?t:0;return n[o]={personalBonus:v,familyBonus:r},n},{}),c=l=>{switch(l){case 12:return 13;case 13:return 14;case 14:return 12;case 17:return 15;case 15:return 17;case 16:return 19;case 18:return 16;case 19:return 18;default:return l}},m=(l,i)=>{var n;let{personalBonus:o=0,familyBonus:e=0}=(null==l?void 0:null===(n=l.stats)||void 0===n?void 0:n[i])||{};return o||e?(null!=o?o:0)+(null!=e?e:0):0}},45819:function(l,i,n){n.d(i,{Aw:function(){return d},Ns:function(){return u},Pe:function(){return e},SS:function(){return o},du:function(){return v},oA:function(){return t}});let o={The_Book_Worm:"1",The_Buff_Guy:"1a",The_Fuzzy_Dice:"1b",Flexo_Bendo:"2",Dwarfo_Beardus:"3",Hipster_Logger:"4",Pie_Seas:"4a",Miniature_Game:"4b",Shoe_Fly:"4c",Pack_Mule:"5",Pirate_Booty:"6",All_Rounder:"7",Muscle_Man:"7a",Fast_Frog:"7b",Smart_Stooge:"7c",Lucky_Larry:"7d",Fatty_Doodoo:"8",Robinhood:"9",Blue_Hedgehog:"9a",Ned_Kelly:"10",The_Fallen_Titan:"10a",Chronus_Cosmos:"CR",Activelius:"11",Gum_Drop:"11a",Mount_Eaterest:"12",Bob_Build_Guy:"13",The_Big_Comatose:"14",Sir_Savvy:"14a",Silly_Snoozer:"15",The_Big_Brain:"15a",Grim_Reaper:"16",The_Forsaken:"16a",The_OG_Skiller:"17",Mr_No_Sleep:"18",All_Rounderi:"1",Centaurii:"2",Murmollio:"3",Strandissi:"4",Agitagi:"4B",Wispommo:"5",Lukiris:"5B",Pokaminni:"6",Gor_Bowzor:"7",Hydron_Cosmos:"8",Trapezoidburg:"8B",Sawsaw_Salala:"9",Preys_Bea:"9B",Cullingo:"10",Gum_Drop_Major:"10B",Grim_Reaper_Major:"11",Sir_Savvy_Major:"12",The_Bulwark:"13",Big_Brain_Major:"14",The_Fiesty:"15",The_Overachiever:"15B",Comatose_Major:"16","S._Snoozer_Major":"17"},e={0:{name:"character",icon:""},1:{name:"mining",icon:"ClassIcons42"},2:{name:"smithing",icon:"ClassIcons43"},3:{name:"chopping",icon:"ClassIcons44"},4:{name:"fishing",icon:"ClassIcons45"},5:{name:"alchemy",icon:"ClassIcons46"},6:{name:"catching",icon:"ClassIcons47"},7:{name:"trapping",icon:"ClassIcons48"},8:{name:"construction",icon:"ClassIcons49"},9:{name:"worship",icon:"ClassIcons50"},10:{name:"cooking",icon:"ClassIcons51"},11:{name:"breeding",icon:"ClassIcons52"},12:{name:"laboratory",icon:"ClassIcons53"},13:{name:"sailing",icon:"ClassIcons54"},14:{name:"divinity",icon:"ClassIcons55"},15:{name:"gaming",icon:"ClassIcons56"}},d={0:{name:"Forest_Villa_Key",rawName:"Key1"},1:{name:"Efaunt's_Tomb_Key",rawName:"Key2"},2:{name:"Chizoar's_Cavern_Key",rawName:"Key3"},3:{name:"Troll's_Enclave_Key",rawName:"Key4"},4:{name:"Kruk's_Volcano_Key",rawName:"Key5"}},u=["EquipmentCape0","EquipmentCape2","EquipmentPendant28","EquipmentRings31","EquipmentRings32","EquipmentRings33","EquipmentHats80","EquipmentHats34"].toSimpleObject(),t={Quest30:!0,Quest42:!0,Quest49:!0,Quest50:!0,Quest64:!0,PalmTreeD:!0,EquipmentShoes2:!0,EquipmentPendant18:!0,TestObj4:!0,TestObj5:!0,TestObj8:!0,TestObj14:!0,TestObj15:!0,TestObj16:!0,EquipmentPants11:!0,EquipmentSmithingTabs6:!0,EquipmentSmithingTabs7:!0,EquipmentSmithingTabs8:!0,EquipmentToolsHatchet10:!0,Quest8:!0,ClassSwap:!0,ResetBox:!0,Ht:!0,SmithingRecipes3:!0,SmithingRecipes4:!0,Godshard:!0,GodshardBar:!0,Quest28:!0,StampB28:!0,StampB29:!0,StampB32:!0,StampB33:!0,StampB35:!0,StampC10:!0,StampC11:!0,StampC12:!0,CardsC13:!0,CardsC14:!0,CardsC15:!0,CardsD12:!0,CardsD13:!0,Trophy4:!0,Trophy7:!0,Line8:!0,Line9:!0,Line11:!0,Line12:!0,Line13:!0,Line14:!0,Weight4:!0,Weight7:!0,Weight9:!0,Weight13:!0,Weight14:!0,StampsA22:!0,StampsA25:!0,DoubleAFKtix:!0,ObolFrag:!0,DeliveryBox:!0,StampC17:!0,FishingRod1:!0,CatchingNet1:!0,FoodHealth8:!0,EquipmentCape1:!0,EquipmentHats72:!0,EquipmentHats55:!0,EquipmentHats42:!0,EquipmentHats63:!0,EquipmentHats66:!0,MaxCapBagFi0:!0,MaxCapBagB0:!0,MaxCapBagTr0:!0,MaxCapBagTr2:!0,MaxCapBagS0:!0,MaxCapBagS2:!0,Spice0:!0,Spice6:!0,Spice9:!0,EquipmentHats75:!0,Quest71:!0,StampC13:!0,TalentPoint5:!0},v={mining:[6,7,9,10,11].toSimpleObject(),fishing:[54,55,61].toSimpleObject()}},83524:function(l,i,n){n.d(i,{NU:function(){return v},dQ:function(){return d},wO:function(){return t},xV:function(){return u}});var o=n(66092),e=n(67924);let d=(l,i)=>{var n,o,d;let u=0,t=null===e.postOffice||void 0===e.postOffice?void 0:e.postOffice.map((i,n)=>{var o,e;let d=null!==(e=null==l?void 0:null===(o=l[n])||void 0===o?void 0:o[0])&&void 0!==e?e:null==l?void 0:l[n];return u+=d,{...i,level:d||0}}),v=(null==i?void 0:null===(n=i.currencies)||void 0===n?void 0:n.DeliveryBoxComplete)+(null==i?void 0:null===(o=i.currencies)||void 0===o?void 0:o.DeliveryBoxStreak)+(null==i?void 0:null===(d=i.currencies)||void 0===d?void 0:d.DeliveryBoxMisc);return{boxes:t,totalOrders:v,totalPointsSpent:u,unspentPoints:v-u||0}},u=(l,i,n)=>{var e,d,u,t,v;let r=null==l?void 0:null===(e=l.boxes)||void 0===e?void 0:e.find(l=>{let{name:n}=l;return n===i});if(!r)return 0;let a=Math.round(0===n?null==r?void 0:r.level:1===n?(null==r?void 0:r.level)-(null==r?void 0:null===(d=r.upgradeLevels)||void 0===d?void 0:d[0]):(null==r?void 0:r.level)-(null==r?void 0:null===(u=r.upgradeLevels)||void 0===u?void 0:u[1])),s=null==r?void 0:null===(t=r.upgrades)||void 0===t?void 0:t[n];return null!==(v=(0,o.growth)(null==s?void 0:s.func,a>0?a:0,null==s?void 0:s.x1,null==s?void 0:s.x2,!1))&&void 0!==v?v:0},t=(l,i)=>{var n;let o=null==l?void 0:null===(n=l.boxes)||void 0===n?void 0:n.find(l=>{let{name:n}=l;return n===i});return o?null==o?void 0:o.level:0},v=l=>{let i=(0,o.tryToParse)(null==l?void 0:l.PostOfficeInfo1)||(null==l?void 0:l.PostOfficeInfo1),n=(0,o.createArrayOfArrays)(i);return null==n?void 0:n.map((l,i)=>{let[n,o]=l;return{index:i,totalShipments:n,streak:o}})}},2035:function(l,i,n){n.d(i,{Y0:function(){return r},hn:function(){return t},il:function(){return a}});var o=n(66092),e=n(2127),d=n(67924),u=n(95299);let t=(l,i)=>v((null==l?void 0:l.PrayersUnlocked)||(0,o.tryToParse)(null==l?void 0:l.PrayOwned),i),v=(l,i)=>null==l?void 0:l.reduce((l,n,o)=>{var u,t;let v=null===d.prayers||void 0===d.prayers?void 0:null===(u=d.prayers[o])||void 0===u?void 0:u.soul,r=(0,e.ju)(i,null===d.items||void 0===d.items?void 0:null===(t=d.items[v])||void 0===t?void 0:t.displayName,!0);return o<19?[...l,{...null===d.prayers||void 0===d.prayers?void 0:d.prayers[o],prayerIndex:o,totalAmount:r,level:n}]:l},[]),r=(l,i,n)=>{let o;let e=(0,u.Ob)(n,"No_more_Praying")&&(!l||(null==l?void 0:l.length)===0);if(e){var d;o=null==n?void 0:null===(d=n.prayers)||void 0===d?void 0:d.find(l=>{let{name:n}=l;return n===i})}else o=null==l?void 0:l.find(l=>{let{name:n}=l;return n===i});if(!o)return{bonus:0,curse:0};let t=o.x1+o.x1*(o.level-1)/10,v=o.x2+o.x2*(o.level-1)/10;return{bonus:Math.round(e?t/5:t),curse:Math.round(e?0:v)}},a=l=>{let{level:i,costMulti:n,prayerIndex:o}=l;return i<6?Math.round(n*(1+(4+o/25)*i)):Math.round(Math.min(2e9,n*(1+(1+o/20)*i)*Math.pow(9===o?1.3:1.12,i-5)))}},82118:function(l,i,n){n.d(i,{J:function(){return c},h:function(){return a}});var o=n(66092),e=n(70436),d=n(72810),u=n(14802),t=n(21351),v=n(2127),r=n(17844);let a=(l,i,n)=>s((0,o.tryToParse)(null==l?void 0:l.Print)||(null==l?void 0:l.Printer),(0,o.tryToParse)(null==l?void 0:l.PrinterXtra)||(null==l?void 0:l.PrinterXtra),i,n),s=(l,i,n,v)=>{var r,a,s,c,m,p,h;let f=(0,e.s8)(v,n,3),g=(0,d.YS)(null==v?void 0:null===(r=v.sailing)||void 0===r?void 0:r.artifacts,"Gold_Relic"),_=(null==g?void 0:g.acquired)===3?null==g?void 0:g.eldritchMultiplier:(null==g?void 0:g.acquired)===2?null==g?void 0:g.ancientMultiplier:0,b=null==v?void 0:null===(c=v.lab)||void 0===c?void 0:null===(s=c.labBonuses)||void 0===s?void 0:null===(a=s.find(l=>"Wired_In"===l.name))||void 0===a?void 0:a.active,y=null==v?void 0:null===(m=v.lab)||void 0===m?void 0:m.connectedPlayers,M=null==v?void 0:null===(p=v.accountOptions)||void 0===p?void 0:p[125],w=null==v?void 0:null===(h=v.accountOptions)||void 0===h?void 0:h[138],x=null==n?void 0:n.filter(l=>(null==l?void 0:l.class)==="Divine_Knight"),S=null==x?void 0:x.reduce((l,i)=>{let{talents:n}=i,o=(0,u._X)(n,3,"KING_OF_THE_REMEMBERED",!1,!0);return o>l?o:l},0),C=(0,t.fi)(null==v?void 0:v.totalSkillsLevels,null==v?void 0:v.rift,3),k=l.slice(5,l.length);return n.map((l,n)=>{let e=k.slice(14*n,14*n+14);if(i){let l=null==i?void 0:i.slice(10*n,10*n+10);e.splice(-4,0,l),e=e.flat()}return e.reduce((l,i,d,u)=>{if(d%2==0){let i=u.slice(d,d+2).map((l,i)=>l),t=i[1],v=null==y?void 0:y.find(l=>{let{playerId:i}=l;return i===n}),r=(1+M*(2+_)/100)*(1+S*(0,o.lavaLog)(w)/100)*(1+C/100);t*=b&&v?f.includes(n)?6*r:2*r:f.includes(n)?3*r:r;let a=[{name:"Lab",value:v&&b?2:0},{name:"Harriep God",value:f.includes(n)?3:0},{name:"Skill Mastery",value:1+C/100},{name:"Divine Knight",value:1+S*(0,o.lavaLog)(w)/100},{name:"Gold Relic",value:1+M*(2+_)/100}];return[...l,{item:i[0],value:i[1],active:d>=e.length-4,boostedValue:t,breakdown:a}]}return l},[])})},c=(l,i)=>{var n,o;let{printer:e,storage:d}=l||{},u=(0,r.Xp)(null==l?void 0:null===(n=l.accountOptions)||void 0===n?void 0:n[133]),t=null==e?void 0:e.reduce((l,i)=>(i.forEach(i=>{let{boostedValue:n,item:o,active:e}=i;if("Blank"!==o&&e){if(null==l?void 0:l[o]){var t;l[o]={...l[o],boostedValue:n+(null===(t=l[o])||void 0===t?void 0:t.boostedValue)}}else{let i=(0,v.ju)(d,o,!0,!0);l[o]={boostedValue:n,atomable:i>=u-.01*u,storageItem:i}}}}),l),{}),a=null===(o=Object.entries(t=m(t,u,i)))||void 0===o?void 0:o.reduce((l,i)=>{var n;let[,o]=i;return l+(null!==(n=null==o?void 0:o.atoms)&&void 0!==n?n:0)},0);return{...t,atom:{boostedValue:a,atoms:a}}},m=function(){var l;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return null===(l=Object.entries(i))||void 0===l?void 0:l.reduce((l,i)=>{let[e,d]=i,{boostedValue:u,atomable:t,storageItem:v}=d,r=u,a;if(null==o?void 0:o.checked)a=t;else{let l=u>=n&&!t,i=u>n-v&&!t;r=l?u-n:i?u-(n-v):u,a=l||i||t}return l[e]={...d,...a?{atoms:r/1e7}:{}},l},{})}},56657:function(l,i,n){n.d(i,{GU:function(){return t},jZ:function(){return d},zz:function(){return u}});var o=n(67924),e=n(66092);let d=(l,i)=>{let n={1:"Builder_Bird",2:"Constructor_Crow",3:"Carpenter_Cardinal",4:"Muhmuguh"};return null==l?void 0:l.some(l=>{let{npcDialog:o}=l;return 4===i?null==o?void 0:o[null==n?void 0:n[i]]:(null==o?void 0:o[null==n?void 0:n[i]])===9999})},u=l=>{let i=Object.keys(o.quests),n=null==i?void 0:i.reduce((i,n)=>{var d,u,t,r,a,s,c,m,p;let h=(0,e.cloneObject)(o.quests[n]),f=null==v?void 0:null===(d=v[n])||void 0===d?void 0:d.world,g=null==v?void 0:null===(u=v[n])||void 0===u?void 0:u.index;if(!f)return i;for(let i=0;i<(null==l?void 0:l.length);i++){let o=(0,e.cloneObject)(null==l?void 0:null===(r=l[i])||void 0===r?void 0:null===(t=r.quests)||void 0===t?void 0:t[n])||{},d=Object.keys(o),u=!1;for(let l=0;l<(null==d?void 0:d.length);l++){let n=d[l],e=o[n];h[n]&&((null==h?void 0:h[n-1])&&(!u&&(0===e||-1===e)||1===e)&&(h[n-1].progress=null===(s=h[n-1])||void 0===s?void 0:null===(a=s.progress)||void 0===a?void 0:a.filter(l=>{let{charIndex:n}=l;return n!==i})),1===e?(h[n].completed=[...(null===(c=h[n])||void 0===c?void 0:c.completed)||[],{charIndex:i,status:e}],h[n].progress=[...(null===(m=h[n])||void 0===m?void 0:m.progress)||[],{charIndex:i,status:e}]):u||0!==e&&-1!==e||(h[n].progress=[...(null===(p=h[n])||void 0===p?void 0:p.progress)||[],{charIndex:i,status:e}],u=!0))}}return{...i,[f]:[...(null==i?void 0:i[f])||[],{name:n,index:g,npcQuests:Object.values(h)}]}},{});for(let l in n){let i=n[l];null==i||i.sort((l,i)=>(null==l?void 0:l.index)-(null==i?void 0:i.index))}return n},t=l=>Object.keys(l).reduce((i,n)=>{let[o,e]=n.split(/([0-9]+)/);return n.includes("Fishpaste")&&(o="Fishpaste97"),{...i,[o]:{...(null==i?void 0:i[o])||{},[e]:l[n]}}},{}),v={Scripticus:{world:"Blunder_Hills",index:0},Glumlee:{world:"Blunder_Hills",index:1},Krunk:{world:"Blunder_Hills",index:2},Mutton:{world:"Blunder_Hills",index:3},Woodsman:{world:"Blunder_Hills",index:4},Hamish:{world:"Blunder_Hills",index:5},Toadstall:{world:"Blunder_Hills",index:5},Picnic_Stowaway:{world:"Blunder_Hills",index:6},Promotheus:{world:"Blunder_Hills",index:6},Typhoon:{world:"Blunder_Hills",index:7},Sprout:{world:"Blunder_Hills",index:8},Dazey:{world:"Blunder_Hills",index:9},Telescope:{world:"Blunder_Hills",index:10},Stiltzcho:{world:"Blunder_Hills",index:11},Funguy:{world:"Blunder_Hills",index:12},Tiki_Chief:{world:"Blunder_Hills",index:13},Dog_Bone:{world:"Blunder_Hills",index:14},Papua_Piggea:{world:"Blunder_Hills",index:15},TP_Pete:{world:"Blunder_Hills",index:16},Meel:{world:"Blunder_Hills",index:17},Town_Marble:{world:""},Mr_Pigibank:{world:""},Secretkeeper:{world:""},Bushlyte:{world:""},Rocklyte:{world:""},Cowbo_Jones:{world:"Yum-Yum_Desert",index:0},Fishpaste97:{world:"Yum-Yum_Desert",index:1},Scubidew:{world:"Yum-Yum_Desert",index:2},Whattso:{world:"Yum-Yum_Desert",index:3},Bandit_Bob:{world:"Yum-Yum_Desert",index:4},Carpetiem:{world:"Yum-Yum_Desert",index:5},Centurion:{world:"Yum-Yum_Desert",index:6},Goldric:{world:"Yum-Yum_Desert",index:7},Snake_Jar:{world:"Yum-Yum_Desert",index:8},Speccius:{world:"Yum-Yum_Desert",index:9},XxX_Cattleprod_XxX:{world:"Yum-Yum_Desert",index:10},Loominadi:{world:"Yum-Yum_Desert",index:11},Wellington:{world:"Yum-Yum_Desert",index:12},Djonnut:{world:"Yum-Yum_Desert",index:13},Walupiggy:{world:"Yum-Yum_Desert",index:14},Gangster_Gus:{world:"Yum-Yum_Desert",index:15},Omar_Da_Ogar:{world:"Yum-Yum_Desert",index:16},Builder_Bird:{world:""},Postboy_Pablob:{world:""},Desert_Davey:{world:""},Giftmas_Blobulyte:{world:""},Loveulyte:{world:""},Constructor_Crow:{world:""},Iceland_Irwin:{world:""},Egggulyte:{world:""},Hoggindaz:{world:"Frostbite_Tundra",index:0},Worldo:{world:"Frostbite_Tundra",index:0},Lord_of_the_Hunt:{world:"Frostbite_Tundra",index:1},Lonely_Hunter:{world:"Frostbite_Tundra",index:2},Snouts:{world:"Frostbite_Tundra",index:3},Shuvelle:{world:"Frostbite_Tundra",index:4},Yondergreen:{world:"Frostbite_Tundra",index:5},Crystalswine:{world:"Frostbite_Tundra",index:6},Bill_Brr:{world:"Frostbite_Tundra",index:7},Bellows:{world:"Frostbite_Tundra",index:8},Cactolyte:{world:""},Coastiolyte:{world:""},Gobo:{world:"Hyperion_Nebula",index:0},Oinkin:{world:"Hyperion_Nebula",index:1},Eliteus:{world:"Hyperion_Nebula",index:2},Capital_P:{world:"Hyperion_Nebula",index:3},Blobbo:{world:"Hyperion_Nebula",index:4},Royal_Worm:{world:"Hyperion_Nebula",index:5},Monolith:{world:"Hyperion_Nebula",index:6},Rift_Ripper:{world:"Hyperion_Nebula",index:7},Muhmuguh:{world:"Smolderin'_Plateau",index:1},Slargon:{world:"Smolderin'_Plateau",index:2},Pirate_Porkchop:{world:"Smolderin'_Plateau",index:3},Poigu:{world:"Smolderin'_Plateau",index:4},Tired_Mole:{world:"Smolderin'_Plateau",index:5}}},32113:function(l,i,n){n.d(i,{B4:function(){return r},wt:function(){return u}});var o=n(66092),e=n(67924),d=n(2127);let u=(l,i,n)=>t((0,o.tryToParse)(null==l?void 0:l.Refinery)||(null==l?void 0:l.Refinery),i,n),t=(l,i,n)=>{var o,u,t,r,a;let s=null==l?void 0:l[1],c=null==l?void 0:l[2],m=null==s?void 0:s.reduce((l,i,n)=>{var o;return"Blank"!==i?[...l,{rawName:i,name:null===(o=e.items[i])||void 0===o?void 0:o.displayName,amount:null==c?void 0:c[n],owner:"refinery"}]:l},[]),p=[...i,...m],h=null==n?void 0:null===(u=n[2])||void 0===u?void 0:null===(o=u[2])||void 0===o?void 0:o[6],f=null==l?void 0:l.slice(3,3+(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t[0])),g=null==f?void 0:f.reduce((l,i,n)=>{let o="Refinery".concat(n+1),[u,t,,r,a]=i,{saltName:s,cost:c}=null===e.refinery||void 0===e.refinery?void 0:e.refinery[o];return[...l,{saltName:s,cost:null==c?void 0:c.map(l=>{let i=(0,d.ju)(p,null==l?void 0:l.name,!0);return{...l,totalAmount:i}}),rawName:o,powerCap:v(t),refined:u,rank:t,active:r,autoRefinePercentage:a}]},[]);return{salts:g,refinerySaltTaskLevel:h,timePastCombustion:null==l?void 0:null===(r=l[0])||void 0===r?void 0:r[1],timePastSynthesis:null==l?void 0:null===(a=l[0])||void 0===a?void 0:a[2],totalLevels:null==g?void 0:g.reduce((l,i)=>{let{rank:n}=i;return l+n},0),refineryStorage:m}},v=l=>{var i;let n=null===(i=e.randomList[18])||void 0===i?void 0:i.split(" ");return parseFloat(Math.max(null==n?void 0:n[Math.min(l,(null==n?void 0:n.length)-2)],25))},r=(l,i,n,o)=>null==n?void 0:n.filter(n=>{var e;let{rawName:d,quantity:u,totalAmount:t}=n;return t{let t=(0,o.tryToParse)(null==l?void 0:l.Sailing)||(null==l?void 0:l.Sailing),v=(0,o.tryToParse)(null==l?void 0:l.Captains)||(null==l?void 0:l.Captains),r=(0,o.tryToParse)(null==l?void 0:l.Boats)||(null==l?void 0:l.Boats),a=(0,o.tryToParse)(null==l?void 0:l.SailChests)||(null==l?void 0:l.SailChests);return t&&v&&r&&a?y(i,t,v,r,a,n,e,d,u):null},y=(l,i,n,o,e,d,u,t,v)=>{var r,a,s,c,m,p,h;let f=null==i?void 0:i[1],g=null!==(h=null===(r=I(l,"Dreamcatcher"))||void 0===r?void 0:r.bonus)&&void 0!==h?h:0,b=null==u?void 0:null===(a=u.gemShopPurchases)||void 0===a?void 0:a.find((l,i)=>129===i),y=(0,_.k)(null==u?void 0:u.achievements,287)+(0,_.k)(null==u?void 0:u.achievements,290),x=Math.min(Math.round(5+b+(Math.min(4,g)+(null==u?void 0:null===(m=u.tasks)||void 0===m?void 0:null===(c=m[2])||void 0===c?void 0:null===(s=c[4])||void 0===s?void 0:s[2])+y)),30),S=k(e,l,t),C=P(),B=W(f),T=E(i,n,o,u,d,v,l,B),O=M(null==T?void 0:null===(p=T.boats)||void 0===p?void 0:p.map(l=>{let{maxTime:i}=l;return i}),x-((null==S?void 0:S.length)||0)),A=w(T,null==i?void 0:i[0],B,l,u);return{maxChests:x,artifacts:l,lootPile:B,chests:S,rareTreasureChance:C,trades:A,timeToFullChests:O,...T}},M=(l,i)=>{let n=i/Math.min(...l),o=0,e=0;for(let d of l)if(o+=d,(e+=n*(o-d))>=i)break;return o},w=function(){var l,i,n,o;let{boats:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0,t=arguments.length>3?arguments[3]:void 0,v=arguments.length>4?arguments[4]:void 0,r=null!==(o=null==e?void 0:null===(i=e[0])||void 0===i?void 0:null===(l=i.loot)||void 0===l?void 0:l.value)&&void 0!==o?o:0,a=I(t,"Emerald_Relic"),s=null==d?void 0:d.reduce((l,i)=>-1===i?l+1:l,0),c=Math.floor((null==v?void 0:null===(n=v.timeAway)||void 0===n?void 0:n.GlobalTime)/21600),m=[];for(let l=0;l<40;l++){let i=Math.min(30,Math.ceil(2*new g.Z(c+l).rand()*s)),n=x(null==u?void 0:u[i],r),o=new Date(Math.floor((c+l)*216e5));m.push({...null==u?void 0:u[i],date:o,moneyValue:S(n,i,a),lootItemCost:n})}return m},x=(l,i)=>Math.max(.2*(null==l?void 0:l.amount),i),S=(l,i,n)=>{var o;let e=null!==(o=null==n?void 0:n.acquired)&&void 0!==o?o:0;return 1.5*Math.pow(1.6,Math.floor(i/2))*(1+((i+1)%2*150+(30*Math.floor(e/2)+30*Math.floor(e/3)))/100)*l},C=(l,i,n)=>{let d=(0,o.tryToParse)(null==l?void 0:l.Sailing)||(null==l?void 0:l.Sailing),u=null==d?void 0:d[3],t=null==d?void 0:d[1];return null===e.artifacts||void 0===e.artifacts?void 0:e.artifacts.map((l,o)=>X(l,null==u?void 0:u[o],t,o,i,n))},k=(l,i,n)=>null==l?void 0:l.map(l=>({...B(l,i,n),rawName:"SailChest".concat(null==l?void 0:l[3])})),B=(l,i,n)=>{let[o,d,u]=l,t=null===e.islands||void 0===e.islands?void 0:e.islands[d],v=0;for(let l=0;l{let{acquired:i}=l;return i<3});return{artifactChance:s>.01?Math.round(100*s)/100:.01,ancientChance:(u/T(d,n)).toFixed(5),eldritchChance:(u/O(d,n)).toFixed(5),island:t,islandIndex:d,treasure:o,possibleArtifacts:c}},T=(l,i)=>3>l?850:(1e3+(l-3)*(null==i?void 0:i.AncientOddPerIsland))/(1+(null==i?void 0:i.AncientArtiPCT)/100),O=(l,i)=>3>l?900+250*l:(1e3+(l-3)*(null==i?void 0:i.AncientOddPerIsland))/(1+(null==i?void 0:i.AncientArtiPCT)/100)*4,I=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return null==l?void 0:l.find(l=>{let{name:n,acquired:o}=l;return n===i&&o})},P=()=>.05,E=(l,i,n,o,u,t,v,r)=>{var a,s,c,m;let p=(null==l?void 0:null===(a=l[2])||void 0===a?void 0:a[0])||0,g=(null==l?void 0:null===(s=l[2])||void 0===s?void 0:s[1])||0,_=null!==(m=(0,d.Hx)(t,"Siege_Breaker"))&&void 0!==m?m:0,b=Math.round(120/(1+((0,f.D)(e.classFamilyBonuses,"FASTER_MINIMUM_BOAT_TRAVEL_TIME",_)+(0,h.du)(null==o?void 0:null===(c=o.breeding)||void 0===c?void 0:c.pets,"Lower_Minimum_Travel_Time_for_Sailing"))/100)),y=L(o,u,v),M=null==i?void 0:i.slice(30,34);M=M.map((l,i)=>N(l,i,!0));let w=null==i?void 0:i.slice(0,p+1),x=null==w?void 0:w.map((l,i)=>N(l,i)),S=null==n?void 0:n.slice(0,g+1),C=null==S?void 0:S.map((l,i)=>A(l,i,r,x,v,u,o,y,b)),k=null==C?void 0:C.reduce((l,i,n)=>{let{captainMappedIndex:o}=i;return{...l,[o]:n}},{});return{captains:x,boats:C,shopCaptains:M,captainsOnBoats:k}},A=function(l,i,n,o,d,u,t,v){var r,a;let s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:120,[c,m,,p,h,f]=l,g=null==o?void 0:o[c],_=null===e.islands||void 0===e.islands?void 0:e.islands[m],b={rawName:"Boat_Frame_".concat(Y(p+f)),level:p+f,artifactChance:H(d,o[c],t),captainIndex:c,captainMappedIndex:null==g?void 0:g.captainIndex,lootLevel:p,speedLevel:f,boatIndex:i,island:_,islandIndex:m,distanceTraveled:h};return b.resources=R(b,n),b.loot=F(u,t,d,b,g),b.speed=j(g,_,f,v,s),b.maxTime=(null==_?void 0:_.distance)/(null===(r=b.speed)||void 0===r?void 0:r.value)*36e5,b.timeLeft=((null==_?void 0:_.distance)-h)/(null===(a=b.speed)||void 0===a?void 0:a.value)*36e5,b},L=(l,i,n)=>{var o,e,u,h,f,g,_,b,y,M,w,x;let S=null==i?void 0:i.find(l=>{let{linkedDeity:i}=l;return 6===i}),C=(0,s.kI)(S,l,6,i),k=(0,v.OK)(null==l?void 0:l.cards,"Sailing_Speed_(Passive)"),B=(0,r.mV)(null==l?void 0:l.stamps,"Sailing_Speed"),T=(0,p.c9)(null==l?void 0:l.lab.labBonuses,8),O=(0,p.pc)(null==l?void 0:null===(o=l.lab)||void 0===o?void 0:o.jewels,16,T),P=(0,a.F4)(l,null,"Sailing",O),E=(0,t.om)(null==l?void 0:null===(e=l.alchemy)||void 0===e?void 0:e.bubbles,"kazam","BOATY_BUBBLE",!1),A=(0,s.HQ)(null==l?void 0:null===(u=l.divinity)||void 0===u?void 0:u.deities,"Goharut"),L=(0,s.HQ)(null==l?void 0:null===(h=l.divinity)||void 0===h?void 0:h.deities,"Bagur"),N=(0,s.HQ)(null==l?void 0:null===(f=l.divinity)||void 0===f?void 0:f.deities,"Purrmep"),R=null!==(w=null===(g=I(n,"10_AD_Tablet"))||void 0===g?void 0:g.bonus)&&void 0!==w?w:0,q=(0,t.iu)(null==l?void 0:null===(_=l.alchemy)||void 0===_?void 0:_.vials,"SailSpd"),D=null!==(x=null===(b=(0,m.Ob)(l,"MSA_Sailing"))||void 0===b?void 0:b.bonus)&&void 0!==x?x:0,j=(0,d.pA)(null==l?void 0:l.rift,null==l?void 0:null===(M=l.totalSkillsLevels)||void 0===M?void 0:null===(y=M.sailing)||void 0===y?void 0:y.rank,1);return(1+(C+k+E)/125)*(1+A/100)*(1+N/100)*(1+(L+R+B+(0,c.U6)(null==l?void 0:l.statues,"StatueG25")+P+q+(17*j+D))/125)},N=(l,i,n)=>{var d,u,t,v;let r=String.fromCharCode(65+i),[a,s,c,m,p,h,f]=l,g={captainIndex:r,captainType:a,level:m,firstBonusIndex:s,secondBonusIndex:c,firstBonusDescription:null===e.captainsBonuses||void 0===e.captainsBonuses?void 0:null===(d=e.captainsBonuses[s])||void 0===d?void 0:d.bonus,secondBonusDescription:null===e.captainsBonuses||void 0===e.captainsBonuses?void 0:null===(u=e.captainsBonuses[c])||void 0===u?void 0:u.bonus,firstBonusValue:h,secondBonusValue:f,exp:(0,o.notateNumber)(Math.floor(p),"Big")},_=U(g,h),b=U(g,f);if(g.firstBonus=_,g.secondBonus=b,g.firstBonusDescription=null==g?void 0:null===(t=g.firstBonusDescription)||void 0===t?void 0:t.replace("{",_),g.secondBonusDescription=null==g?void 0:null===(v=g.secondBonusDescription)||void 0===v?void 0:v.replace("{",b),g.expReq=(0,o.notateNumber)(G(g),"Big"),n){let l=2*s+2*c+h+f;g.cost=Math.pow(8,1+a)*(1+Math.pow(l,2)/100)}return g},R=(l,i)=>[0,1].map(n=>{let o=q(null==l?void 0:l.boatIndex,n);return{required:D(l,n),...(null==i?void 0:i[o])||{}}}),q=(l,i)=>0===i?4>l?0:Math.min(30,1+2*(l-4)):2>l?l:5>l?1+2*(l-2):Math.min(30,2*(l-4)),D=(l,i)=>{let n=q(null==l?void 0:l.boatIndex,i),o=0===i?null==l?void 0:l.lootLevel:null==l?void 0:l.speedLevel;return 0===n?Math.round((5+4*o)*Math.pow(1.17-.12*o/(o+200),o)):n%2==1?Math.round((5+2*o)*Math.pow(1.15-.1*o/(o+200),o)):Math.round((2+o)*Math.pow(1.12-.07*o/(o+200),o))},j=(l,i,n,o,e)=>{var d,u;let t=0;(null==l?void 0:null===(d=l.firstBonusDescription)||void 0===d?void 0:d.includes("Boat_Speed"))&&(t+=null==l?void 0:l.firstBonus),(null==l?void 0:null===(u=l.secondBonusDescription)||void 0===u?void 0:u.includes("Boat_Speed"))&&(t+=null==l?void 0:l.secondBonus);let v=(10+(5+Math.pow(Math.floor(n/7),2))*n)*(1+t/100)*o,r=(10+(5+Math.pow(Math.floor((n+1)/7),2))*(n+1))*(1+t/100)*o;return{raw:v,value:i?Math.min(v,(null==i?void 0:i.distance)*60/e):v,nextLevelValue:r}},F=(l,i,n,o,e)=>{var d,v,r,a;let s=1+(0,u.A5)(l,3,"Siege_Breaker","UNENDING_LOOT_SEARCH")/100,c=2+Math.pow(Math.floor(((null==o?void 0:o.lootLevel)+1)/8),2),m=2+Math.pow(Math.floor((null==o?void 0:o.lootLevel)/8),2),p=(0,t.Vq)(null==i?void 0:null===(v=i.alchemy)||void 0===v?void 0:null===(d=v.p2w)||void 0===d?void 0:d.sigils,"LOOT_PILE"),h=V(1,e,null==e?void 0:e.firstBonusIndex),f=V(1,e,null==e?void 0:e.secondBonusIndex),g=null!==(a=null===(r=I(n,"Genie_Lamp"))||void 0===r?void 0:r.bonus)&&void 0!==a?a:0,_=(5+c*((null==o?void 0:o.lootLevel)+1))*(1+(p+(h+f+g))/100)*s;return{value:(5+m*(null==o?void 0:o.lootLevel))*(1+(p+(h+f+g))/100)*s,nextLevelValue:_}},G=l=>(9+Math.pow(null==l?void 0:l.level,3))*Math.pow(1.5,null==l?void 0:l.level)*Math.pow(1.5,Math.max((null==l?void 0:l.level)-10,0)),U=(l,i)=>Math.round((null==l?void 0:l.level)*i*10)/10,H=(l,i,n)=>{var e,d,u;let t=null!==(u=null===(e=I(l,"Fauxory_Tusk"))||void 0===e?void 0:e.bonus)&&void 0!==u?u:0,v=(0,h.du)(null==n?void 0:null===(d=n.breeding)||void 0===d?void 0:d.pets,"Higher_Artifact_Find_Chance"),r=V(3,i,null==i?void 0:i.firstBonusIndex),a=V(3,i,null==i?void 0:i.secondBonusIndex);return(0,o.notateNumber)(Math.max(1,1+(t+(r+a)+v)/100),"MultiplierInfo")},V=(l,i,n)=>n>0?0:n===l?(null==i?void 0:i.level)*(null==i?void 0:i.firstBonusValue):n===l?(null==i?void 0:i.level)*(null==i?void 0:i.secondBonusValue):0,Y=l=>l<25?0:l<50?1:l<100?2:l<200?3:l<300?4:5,W=l=>null==l?void 0:l.map((l,i)=>({amount:l>0?l:0,rawName:"SailT".concat(i)})),X=(l,i,n,e,t,v)=>{var r,a,s,c,m,p,h,f;let g,_=null==l?void 0:l.baseBonus,b=null==l?void 0:l.baseBonus,y=2===i||3===i,M=2===i?"ancientMultiplier":3===i?"eldritchMultiplier":"baseBonus",w=null==l?void 0:l.description;if((null==l?void 0:l.name)==="Maneki_Kat"||(null==l?void 0:l.name)==="Ashen_Urn"){let n=(0,d.QV)(t);g="Highest level: ".concat(n),_=n*(null==l?void 0:l.baseBonus),(null==l?void 0:l.name)==="Ashen_Urn"&&(_=n>(null==l?void 0:l[M])?(null==l?void 0:l[M])*(null==l?void 0:l.baseBonus):n*(null==l?void 0:l.baseBonus),w="".concat(w," Total Bonus: ").concat(y?_*i:_))}else if((null==l?void 0:l.name)==="Ruble_Cuble"||(null==l?void 0:l.name)==="10_AD_Tablet"||(null==l?void 0:l.name)==="Jade_Rock"||(null==l?void 0:l.name)==="Gummy_Orb"){let i=null==v?void 0:null===(r=v.looty)||void 0===r?void 0:r.rawLootedItems,n=(null==l?void 0:l.name)==="10_AD_Tablet"||(null==l?void 0:l.name)==="Gummy_Orb";g="Looted items: ".concat(i);let o=(null==l?void 0:l[M])*Math.floor(Math.max(0,i-500)/10);_=n&&"baseBonus"!==M?(null==l?void 0:l.baseBonus)*o:o}else if((null==l?void 0:l.name)==="Fauxory_Tusk"||(null==l?void 0:l.name)==="Genie_Lamp"){let i=(null==l?void 0:l.name)==="Genie_Lamp",n=(0,d.fx)(t,"sailing");_=i?n*(null==l?void 0:l.baseBonus):n,g="Sailing level: ".concat(n)}else if((null==l?void 0:l.name)==="Weatherbook"){let i=(0,d.fx)(t,"gaming");g="Gaming level: ".concat(i),_=i*(null==l?void 0:l.baseBonus)}else if((null==l?void 0:l.name)==="Triagulon"){let i=null==v?void 0:null===(c=v.cooking)||void 0===c?void 0:null===(s=c.meals)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:a.amount;_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(i)}else if((null==l?void 0:l.name)==="Opera_Mask"){let i=null==n?void 0:n[0];_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(i)}else if((null==l?void 0:l.name)==="Fun_Hippoete")_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(null==v?void 0:null===(m=v.construction)||void 0===m?void 0:m.playersBuildRate);else if((null==l?void 0:l.name)==="The_True_Lantern")_=(null==l?void 0:l.baseBonus)*(null!==(h=(0,o.lavaLog)(null==v?void 0:null===(p=v.atoms)||void 0===p?void 0:p.particles))&&void 0!==h?h:0);else if((null==l?void 0:l.name)==="Gold_Relic"){let i=null==v?void 0:null===(f=v.accountOptions)||void 0===f?void 0:f[125],n=y?null==l?void 0:l[M]:0;g="Days passed: ".concat(i,". Bonus: ").concat((0,o.notateNumber)(1+i*(1+n)/100,"MultiplierInfo").replace("#",""),"x")}else if((null==l?void 0:l.name)==="Crystal_Steak"){let l=null==t?void 0:t.map(l=>{let{name:i,class:n,stats:o}=l,e=null===u.nl||void 0===u.nl?void 0:u.nl[n];return{name:i,stat:null==o?void 0:o[e]}});w=w.replace("_Total_Bonus:_+}%_dmg",""),g=l.map(l=>{let{name:n,stat:o}=l;return{name:n,bonus:(y?_*i:_)*Math.floor(o/100)}})}else(null==l?void 0:l.name)==="Socrates"&&(g=(null==t?void 0:t.map(l=>{var i,n,o,e;let{name:d,stats:u}=l;return{name:d,strength:null!==(i=null==u?void 0:u.strength)&&void 0!==i?i:0,agility:null!==(n=null==u?void 0:u.agility)&&void 0!==n?n:0,wisdom:null!==(o=null==u?void 0:u.wisdom)&&void 0!==o?o:0,luck:null!==(e=null==u?void 0:u.luck)&&void 0!==e?e:0}})).map(n=>{let{name:o,strength:e,agility:d,wisdom:u,luck:t}=n,v=1+(y?(null==l?void 0:l.baseBonus)*i:null==l?void 0:l.baseBonus)/100;return{name:o,strength:Math.floor(v*e),agility:Math.floor(v*d),wisdom:Math.floor(v*u),luck:Math.floor(v*t)}}));return 2===i&&(null==l?void 0:l.ancientFormDescription)==="The_artifact's_main_bonus_is_doubled!"?_*=2:3===i&&(null==l?void 0:l.eldritchFormDescription)==="The_artifact's_main_bonus_is_tripled!"&&(_*=3),w=w.replace(/{/,b).replace(/}/,(0,o.kFormatter)(_,2)).replace(/@/,""),{...l,description:w,additionalData:g,bonus:_,acquired:i,rawName:"Arti".concat(e)}}},97424:function(l,i,n){n.d(i,{U:function(){return u},W:function(){return t}});var o=n(2127),e=n(67924),d=n(66092);let u=(l,i)=>{let n=(0,d.tryToParse)(null==l?void 0:l.SaltLick)||(null==l?void 0:l.SaltLick);return null==n?void 0:n.map((l,n)=>{let d=e.saltLicks[n],u=(0,o.ju)(i,null==d?void 0:d.name,!0);return{...d,totalAmount:u,level:l}}).filter(l=>{let{level:i}=l;return i>0})},t=function(l,i){var n,o,e;let d=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=null==l?void 0:l[i];if(!u||0===u)return 0;let t=u.baseBonus*(null!==(n=u.level)&&void 0!==n?n:0);return d?null!==(e=round(t))&&void 0!==e?e:0:t}},94336:function(l,i,n){n.d(i,{Xz:function(){return c},n:function(){return p},wt:function(){return h}});var o=n(66092),e=n(67924),d=n(98118),u=n(72810),t=n(95299),v=n(21351),r=n(83524),a=n(14802),s=n(6426);let c=(l,i)=>m((null==l?void 0:l.ShrineInfo)||(0,o.tryToParse)(null==l?void 0:l.Shrine),(null==l?void 0:l.TowerInfo)||(0,o.tryToParse)(null==l?void 0:l.Tower),i),m=(l,i,n)=>{var o,u,t;let v=null==n?void 0:null===(t=n.lab)||void 0===t?void 0:null===(u=t.labBonuses)||void 0===u?void 0:null===(o=u.find(l=>"Shrine_World_Tour"===l.name))||void 0===o?void 0:o.active,r=null==l?void 0:l.map((l,i)=>{let[,,,o]=l,{baseBonus:u,bonusPerLevel:t}=e.shrines[18+i];return(1+(0,d.OK)(null==n?void 0:n.cards,"Shrine_Effects_(Passive)")/100)*((o-1)*t+u)});return null==l?void 0:l.reduce((l,n,o)=>{let d=18+o,[u,,,t,a]=n,{shrineName:s,desc:c,baseBonus:m,bonusPerLevel:p}=e.shrines[d];return"Unknown"!==s?[...l,{mapId:u,shrineLevel:t,name:s,rawName:"ConTowerB".concat(d),bonus:m+(t-1)*p,progress:a,desc:c,worldTour:v,shrineFactor:null==r?void 0:r[2],shrineTowerValue:null==i?void 0:i[18+o]}]:l},[])},p=(l,i)=>{let n=Array(9).fill(0),o={};return null==l||l.forEach(l=>{var e,d,c,m,p;let h=null==l?void 0:l.mapIndex,f=(0,t.Ob)(i,"Shrine_Speed")?1:0,g=(0,u.YS)(null==i?void 0:null===(e=i.sailing)||void 0===e?void 0:e.artifacts,"Moai_Head"),_=0;g&&(_+=(null==g?void 0:g.acquired)===3?null==g?void 0:g.eldritchMultiplier:(null==g?void 0:g.acquired)===2?(null==g?void 0:g.ancientMultiplier)*2:null==g?void 0:g.baseBonus);let b=(0,v.pA)(null==i?void 0:i.rift,null==i?void 0:null===(c=i.totalSkillsLevels)||void 0===c?void 0:null===(d=c.construction)||void 0===d?void 0:d.rank,1)||0,y=(0,r.xV)(null==l?void 0:l.postOffice,"Construction_Container",1),M=(0,v.tE)("Golden_Cheese",l,i),w=(0,a._X)(null==l?void 0:l.starTalents,null,"SHRINE_ARCHITECT"),x=(0,s.YG)(null==i?void 0:null===(m=i.alchemy)||void 0===m?void 0:m.vials,null,"ShrineSpd");null==i||null===(p=i.shrines)||void 0===p||p.forEach((i,e)=>{let{shrineTowerValue:d,shrineFactor:u,mapId:t,worldTour:v}=i,r={name:null==l?void 0:l.name,value:0};if(!v&&h!==t||v&&Math.floor(h/50)!==Math.floor(t/50))return r;let a=(1+50*f/100)*(1+(_+15*b)/100)*(1+10*d/100)*(1+(u+(y+(M+(w+x))))/100);n[e]+=a,o={...o,[e]:[...(null==o?void 0:o[e])||[],{name:null==l?void 0:l.name,value:a}]}})}),{total:n,breakdown:o}},h=(l,i,n,o,e)=>{var t;let v=!0===e||Array.isArray(e)&&(0,u.YS)(e,"Moai_Head"),r=null==l?void 0:l[i];if(!r)return 0;let a=Math.floor((null==r?void 0:r.mapId)/50),s=(null==r?void 0:r.mapId)%50==0,c=n!==(null==r?void 0:r.mapId),m=(null==r?void 0:r.worldTour)&&s&&Math.floor(n/50)===a||v;if((null==r?void 0:r.level)===0||c&&!m)return 0;let p=null==o?void 0:o.Chaotic_Chizoar,h=null!==(t=(0,d.BZ)(p))&&void 0!==t?t:0;return(null==r?void 0:r.bonus)*(1+h/100)}},42915:function(l,i,n){n.d(i,{MH:function(){return S},Md:function(){return w},bL:function(){return x},bW:function(){return m},fE:function(){return M},mV:function(){return y},t2:function(){return s}});var o=n(66092),e=n(67924),d=n(14802),u=n(2127),t=n(21351),v=n(6426),r=n(95039);let a={0:"combat",1:"skills",2:"misc"},s=(l,i)=>c((0,o.tryToParse)(null==l?void 0:l.StampLv)||(null==l?void 0:l.StampLevel),(0,o.tryToParse)(null==l?void 0:l.StampLvM)||(null==l?void 0:l.StampLevelMAX),i),c=(l,i,n)=>{var o;return null===(o=Object.entries(null==l?void 0:l.reduce((l,n,o)=>({...l,[null==a?void 0:a[o]]:Object.keys(n).reduce((l,e,d)=>{var u;return"length"!==e?[...l,{level:parseFloat(n[e]),maxLevel:null==i?void 0:null===(u=i[o])||void 0===u?void 0:u[d]}]:l},[])}),{})))||void 0===o?void 0:o.reduce((l,i)=>{let[o,d]=i,t=null==d?void 0:d.map((l,i)=>{var d,t,v;let r=e.stamps[o][i],a=null==r?void 0:null===(d=r.itemReq)||void 0===d?void 0:d[0],s=(0,u.F6)(e.crafts[null==a?void 0:a.name]),c=(null==n?void 0:null===(v=n.storage)||void 0===v?void 0:null===(t=v.find(l=>{let{rawName:i}=l;return i===(null==a?void 0:a.rawName)}))||void 0===t?void 0:t.amount)||0;return{...r,...l,materials:s,ownedMats:c,greenStackOwnedMats:Math.max(0,c-1e7),itemReq:a,category:o}});return{...l,[o]:t}},{})},m=(l,i)=>{var n;let d=null==l?void 0:null===(n=l.atoms)||void 0===n?void 0:n.stampReducer,u=Object.values(null==l?void 0:l.stamps).flat().map(n=>{var o,u,v;let r,a;let s=(0,t.tc)(null===e.items||void 0===e.items?void 0:e.items[null==n?void 0:null===(o=n.itemReq)||void 0===o?void 0:o.rawName],i,l),c=g(null==n?void 0:n.level,n,l),m=(null==l?void 0:null===(u=l.currencies)||void 0===u?void 0:u.rawMoney)>=c,f=b(null==n?void 0:n.level,n,l,d);(null==n?void 0:null===(v=n.materials)||void 0===v?void 0:v.length)>0?(r=p(null==n?void 0:n.materials,f,l),a=p(null==n?void 0:n.materials,f,l,!0)):(r=(null==n?void 0:n.ownedMats)>=f,a=Math.max(0,(null==n?void 0:n.ownedMats)-1e7)>=f);let _=(null==s?void 0:s.maxCapacity)>=f,y={...n,bestCharacter:s,goldCost:c,materialCost:f,enoughPlayerStorage:_,greenStackHasMaterials:a,hasMaterials:r,hasMoney:m},M=h(y,l,d);return{...y,futureCosts:M}});return(0,o.groupByKey)(u,l=>{let{category:i}=l;return i})},p=(l,i,n,o)=>null==l?void 0:l.every(l=>{let{itemName:e,type:d,itemQuantity:t}=l;if("Equip"===d)return!0;let v=(0,u.ju)(null==n?void 0:n.storage,e,!0);return o?Math.max(0,v-1e7):v>=t*i}),h=(l,i,n)=>{var o,e,d,u,t,v,r,a,s;let c=null==l?void 0:l.maxLevel;for(;b(c,l,i,n)<(null==l?void 0:null===(o=l.bestCharacter)||void 0===o?void 0:o.maxCapacity);)c+=null==l?void 0:l.reqItemMultiplicationLevel;let m=(null==i?void 0:null===(u=i.atoms)||void 0===u?void 0:null===(d=u.atoms)||void 0===d?void 0:null===(e=d[0])||void 0===e?void 0:e.baseBonus)*(null==i?void 0:null===(r=i.atoms)||void 0===r?void 0:null===(v=r.atoms)||void 0===v?void 0:null===(t=v[0])||void 0===t?void 0:t.level),p=(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel)*3,h=[];for(let o=(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel);o<=p;o+=null==l?void 0:l.reqItemMultiplicationLevel)for(let e=o===(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel)?n:0;e<=90;e=Math.min(90,e+m)){let n,d;let u=b(o-(null==l?void 0:l.reqItemMultiplicationLevel),l,i,e);if(90===e){u<(null==l?void 0:null===(s=l.bestCharacter)||void 0===s?void 0:s.maxCapacity)&&(n=o-(null==l?void 0:l.reqItemMultiplicationLevel)===(null==l?void 0:l.level)?u:_(null==l?void 0:l.level,o,l,i,e),d=f(null==l?void 0:l.level,o,l,i),h.push({...null==l?void 0:l.itemReq,level:o,goldCost:d,materialCost:n,reduction:e}));break}if(u<(null==l?void 0:null===(a=l.bestCharacter)||void 0===a?void 0:a.maxCapacity)){n=o-(null==l?void 0:l.reqItemMultiplicationLevel)===(null==l?void 0:l.level)?u:_(null==l?void 0:l.level,o,l,i,e),d=f(null==l?void 0:l.level,o,l,i),h.push({...null==l?void 0:l.itemReq,level:o,goldCost:d,materialCost:n,reduction:e});break}if(0===m)break}if(0===h.length){let o=b(c,l,i,n),e=g(c,l,i);h.push({...null==l?void 0:l.itemReq,level:c,goldCost:e,materialCost:o,reduction:n})}return h},f=(l,i,n,o)=>{let e=g(l,n,o);for(let d=l;d{var o,e;let d=(0,v.YG)(null==n?void 0:null===(o=n.alchemy)||void 0===o?void 0:o.vials,"material_cost_for_stamps"),u=null==n?void 0:null===(e=n.bribes)||void 0===e?void 0:e[0];return Math.floor(((null==u?void 0:u.done)?(null==i?void 0:i.baseCoinCost)*(1-(null==u?void 0:u.value)/100):null==i?void 0:i.baseCoinCost)*Math.pow((null==i?void 0:i.powCoinBase)-l/(l+5*(null==i?void 0:i.reqItemMultiplicationLevel))*.25,10/(null==i?void 0:i.reqItemMultiplicationLevel)*l)*Math.max(.1,1-d/100))},_=function(l,i,n,o){let e=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,d=0;for(let u=l;u3&&void 0!==arguments[3]?arguments[3]:0,s=(0,r.RB)(null==n?void 0:n.rift,"Stamp_Mastery")?null==n?void 0:null===(o=n.accountOptions)||void 0===o?void 0:o[154]:0,c=(0,v.YG)(null==n?void 0:null===(e=n.alchemy)||void 0===e?void 0:e.vials,"material_cost_for_stamps"),m=1/(1+(0,v.Vq)(null==n?void 0:null===(u=n.alchemy)||void 0===u?void 0:null===(d=u.p2w)||void 0===d?void 0:d.sigils,"ENVELOPE_PILE")/100);return Math.max(1,(null==i?void 0:i.baseMatCost)*(s>0?.05:1)*Math.max(.1,1-a/100)*m*Math.pow(null==i?void 0:i.powMatBase,Math.pow(Math.round(l/(null==i?void 0:i.reqItemMultiplicationLevel))-1,.8))*Math.max(.1,1-c/100))},y=(l,i,n)=>{var o;return l&&(null===(o=Object.entries(l))||void 0===o?void 0:o.reduce((o,e)=>{let[d,u]=e,t=null==u?void 0:u.filter(l=>{let{effect:n}=l;return null==n?void 0:n.includes(i)});return o+(null==t?void 0:t.reduce((i,o)=>{let{rawName:e}=o;return i+M(l,d,e,n)},0))},0))},M=(l,i,n,e)=>{var u,t,v,r,a,s,c,m;let p=null==l?void 0:null===(u=l[i])||void 0===u?void 0:u.find(l=>{let{rawName:i}=l;return i===n});if(!p)return 0;let h=1;if((null==p?void 0:null===(t=p.stat)||void 0===t?void 0:t.includes("Eff"))&&(h=(0,d._X)(null==e?void 0:e.starTalents,null,"TOILET_PAPER_POSTAGE")),(null==p?void 0:p.skillIndex)>0&&(null==p?void 0:p.reqItemMultiplicationLevel)>1){let l=(null==p?void 0:p.level)*(200/(20*(null==p?void 0:p.reqItemMultiplicationLevel)));if(l>3){let i=3+(l-3)*Math.pow((null==e?void 0:null===(r=e.skillsInfoArray)||void 0===r?void 0:null===(v=r[null==p?void 0:p.skillIndex])||void 0===v?void 0:v.level)/(l-3),.75),n=Math.min(Math.floor(Math.min(i*=20*(null==p?void 0:p.reqItemMultiplicationLevel)/200,l)),null==p?void 0:p.level);return(null!==(a=(0,o.growth)(null==p?void 0:p.func,n,null==p?void 0:p.x1,null==p?void 0:p.x2,!1))&&void 0!==a?a:0)*(null!==(s=null==p?void 0:p.multiplier)&&void 0!==s?s:1)*h}}return(null!==(c=(0,o.growth)(null==p?void 0:p.func,null==p?void 0:p.level,null==p?void 0:p.x1,null==p?void 0:p.x2,!1))&&void 0!==c?c:0)*(null!==(m=null==p?void 0:p.multiplier)&&void 0!==m?m:1)*h},w=(l,i)=>Object.entries(l).reduce((l,n)=>{let[o,e]=n,d=e;return"misc"!==o&&(d=null==e?void 0:e.map(l=>({...l,multiplier:i}))),{...l,[o]:d}},{}),x=l=>{var i;return l?null===(i=Object.values(l))||void 0===i?void 0:i.reduce((l,i)=>l+(null==i?void 0:i.reduce((l,i)=>{let{level:n}=i;return l+n},0)),0):0},S=l=>{var i;return l?null===(i=Object.values(l))||void 0===i?void 0:i.reduce((l,i)=>l+(null==i?void 0:i.reduce((l,i)=>{let{level:n}=i;return l+(n>0?1:0)},0)),0):0}},64169:function(l,i,n){n.d(i,{Wv:function(){return c},kz:function(){return v},o9:function(){return m},tp:function(){return r}});var o=n(66092),e=n(67924),d=n(45819),u=n(95039),t=n(54381);let v=l=>a((0,o.tryToParse)(null==l?void 0:l.StarSg)||(null==l?void 0:l.StarSignsUnlocked)),r=l=>s((0,o.tryToParse)(null==l?void 0:l.SSprog)||(null==l?void 0:l.StarSignProg)),a=l=>null===e.starSigns||void 0===e.starSigns?void 0:e.starSigns.map(i=>{let{starName:n}=i;return{...i,indexedStarName:"".concat(null===d.SS||void 0===d.SS?void 0:d.SS[n]," - ").concat(n),starName:n,unlocked:!!(null==l?void 0:l[n])}},[]),s=l=>null==l?void 0:l.reduce((l,i,n)=>{let o=e.constellations[n],[d,u]=i,t=null==o?void 0:o.mapIndex;return null!==t?[...l,{...o,location:e.mapNames[t],completedChars:d,done:!!u}]:l},[]),c=(l,i)=>{if((null==l?void 0:l.length)===0)return 0;let n=null==l?void 0:l.flatMap(l=>{let{bonuses:i}=l;return i}).filter(l=>l);return null==n?void 0:n.reduce((l,n)=>{let{effect:o,bonus:e}=n;return o===i?l+e:l},0)},m=(l,i,n)=>{var o,e;let d=(0,u.RB)(null==i?void 0:i.rift,"Infinite_Stars")?5+(0,t.du)(null==i?void 0:null===(o=i.breeding)||void 0===o?void 0:o.pets,"Infinite_Star_Signs"):0,v=p(null==i?void 0:null===(e=i.starSigns)||void 0===e?void 0:e.map((n,o)=>{var e,u,t,v,r,a,s;let c=null==l?void 0:null===(e=l.starSigns)||void 0===e?void 0:e.find(l=>{let{starName:i}=l;return i===(null==n?void 0:n.starName)}),m=o15===l.index))&&void 0!==a?a:0)?2:1;c={...c,bonuses:null==c?void 0:null===(r=c.bonuses)||void 0===r?void 0:r.map(l=>({...l,bonus:(null==l?void 0:l.bonus)>0?(null==l?void 0:l.bonus)*n:null==l?void 0:l.bonus,active:!0,isInfiniteStar:m}))}}return d&&!c&&(n={...n,bonuses:null==n?void 0:null===(s=n.bonuses)||void 0===s?void 0:s.map(l=>({...l,isInfiniteStar:m}))}),c||n}));return null==v?void 0:v.reduce((l,i)=>{let{effect:o,bonus:e,active:d,isInfiniteStar:u}=i;return o.includes(n)&&(d||u)?l+(u&&e<0?0:e):l},0)},p=l=>null==l?void 0:l.map(l=>{let{bonuses:i}=l;return i}).flatMap(l=>l).filter(l=>l)},84664:function(l,i,n){n.d(i,{U6:function(){return a},Xl:function(){return u},hE:function(){return r}});var o=n(66092),e=n(67924),d=n(14802);let u=(l,i)=>t((0,o.tryToParse)(null==l?void 0:l.StuG)||(null==l?void 0:l.StatueG),i),t=(l,i)=>null==l?void 0:l.reduce((l,n,o)=>{var d;let u=2===n,t=null===(d=v(i,o))||void 0===d?void 0:d.StatueLevels,[r,a]=(null==t?void 0:t[o])||[];return(null==t?void 0:t[o])?[...l,{...(null===e.statues||void 0===e.statues?void 0:e.statues[o])||{},rawName:"Statue".concat(u?"O":1===n?"G":"").concat(parseInt(o)+1),level:r,progress:a,onyxStatue:u}]:l},[]).filter(function(){let{name:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l}),v=(l,i)=>l.reduce((l,n)=>{var o,e,d,u;return(null==l?void 0:null===(e=l.StatueLevels)||void 0===e?void 0:null===(o=e[i])||void 0===o?void 0:o[0])>(null==n?void 0:null===(u=n.StatueLevels)||void 0===u?void 0:null===(d=u[i])||void 0===d?void 0:d[0])?l:n}),r=(l,i)=>{let n=1+(0,d.A5)(i,3,"Voidwalker","VOODOO_STATUFICATION")/100;return null==l?void 0:l.map(l=>({...l,bonus:null==l?void 0:l.bonus,talentMulti:n}))},a=(l,i,n)=>{let o=null==l?void 0:l.find(l=>{let{rawName:n}=l;return n===i||n===i.replace("G","O")});if(!o)return 0;let e=1;switch(null==o?void 0:o.name){case"POWER":case"MINING":case"DEFENCE":case"THICC_SKIN":e+=((0,d._X)(n,2,"SHIELDIEST_STATUES")||(0,d._X)(n,2,"STRONGEST_STATUES"))/100;break;case"SPEED":case"ANVIL":case"BULLSEYE":case"OL_RELIABLE":e+=((0,d._X)(n,2,"STRAIGHTSHOT_STATUES")||(0,d._X)(n,2,"SHWIFTY_STATUES"))/100;break;case"EXP":case"LUMBERBOB":case"BEHOLDER":case"CAULDRON":e+=((0,d._X)(n,2,"STARING_STATUES")||(0,d._X)(n,2,"STUPENDOUS_STATUES"))/100;break;case"EHEXPEE":case"KACHOW":case"FEASTY":e+=(0,d._X)(n,2,"SKILLIEST_STATUE")/100;break;default:e=1}return(null==o?void 0:o.level)*(null==o?void 0:o.bonus)*e*(null==o?void 0:o.talentMulti)*((null==o?void 0:o.onyxStatue)?2:1)}},51603:function(l,i,n){n.d(i,{$v:function(){return v},cF:function(){return u}});var o=n(66092),e=n(67924),d=n(2127);let u=function(l){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"storage";return t((null==l?void 0:l.ChestOrder)||(0,o.tryToParse)(null==l?void 0:l.ChestOrder),(null==l?void 0:l.ChestQuantity)||(0,o.tryToParse)(null==l?void 0:l.ChestQuantity),i,(0,o.tryToParse)(null==l?void 0:l.CMm)||(null==l?void 0:l.CMm))},t=(l,i,n,o)=>v(l,i,n,o),v=(l,i,n,u)=>l.reduce((l,t,v)=>{let r=(0,d.t8)(null===e.items||void 0===e.items?void 0:e.items[t],null==u?void 0:u[v]),a=[1,2,3,4,5,6,7,8].reduce((l,i)=>{var n,o;return(null===e.items||void 0===e.items?void 0:null===(n=e.items[t])||void 0===n?void 0:n["desc_line".concat(i)])?l+"".concat(null===e.items||void 0===e.items?void 0:null===(o=e.items[t])||void 0===o?void 0:o["desc_line".concat(i)]," "):l},""),s={...null===e.items||void 0===e.items?void 0:e.items[t],...r},c="";return(null==s?void 0:s.UQ1txt)&&(c+=null==s?void 0:s.UQ1txt),(null==s?void 0:s.UQ2txt)&&(c+=" ".concat(null==s?void 0:s.UQ2txt)),"LockedInvSpace"!==t&&"Blank"!==t?[...l,{...s,owner:n,name:null==s?void 0:s.displayName,type:null==s?void 0:s.itemType,subType:null==s?void 0:s.Type,rawName:t,amount:parseInt(null==i?void 0:i[v]),misc:(0,o.cleanUnderscore)(c.trim()),description:(0,o.cleanUnderscore)(a.trim())}]:l},[])},14802:function(l,i,n){n.d(i,{A5:function(){return h},J0:function(){return _},L1:function(){return f},Nb:function(){return b},RL:function(){return C},VG:function(){return M},_X:function(){return r},c4:function(){return S},eZ:function(){return a},gW:function(){return x},iR:function(){return g},ju:function(){return p},nl:function(){return c},o1:function(){return m},pV:function(){return s},xI:function(){return w}});var o=n(66092),e=n(67924),d=n(69320),u=n(21351),t=n(70436),v=n(83672);let r=(l,i,n,e,d,u,t)=>{var v,r,a;let s=null!==i?null==l?void 0:null===(v=l[i])||void 0===v?void 0:v.orderedTalents:null==l?void 0:l.orderedTalents,c=null==s?void 0:s.find(l=>{let{name:i}=l;return i===n});if(!c)return 0;let m=d?null==c?void 0:c.maxLevel:null==c?void 0:c.level;return(m=t?(null==c?void 0:c.maxLevel)+u:u?m-u:m,e)?null!==(r=(0,o.growth)(null==c?void 0:c.funcY,m,null==c?void 0:c.y1,null==c?void 0:c.y2,!1))&&void 0!==r?r:0:null!==(a=(0,o.growth)(null==c?void 0:c.funcX,m,null==c?void 0:c.x1,null==c?void 0:c.x2,!1))&&void 0!==a?a:0},a=function(l,i){var n;let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x";return null!==(n=null==l?void 0:l.reduce(function(l){let{name:n,funcX:d,level:u,x1:t,x2:v,funcY:r,y1:a,y2:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n===i?"x"===e?(0,o.growth)(d,u,t,v,!1):(0,o.growth)(r,u,a,s,!1):l},0))&&void 0!==n?n:0},s={Beginner:["Beginner"],Journeyman:["Beginner","Journeyman"],Maestro:["Beginner","Journeyman","Maestro"],Voidwalker:["Beginner","Journeyman","Maestro","Voidwalker"],Warrior:["Rage_Basics","Warrior"],Barbarian:["Rage_Basics","Warrior","Barbarian"],Blood_Berserker:["Rage_Basics","Warrior","Barbarian","Blood_Berserker"],Squire:["Rage_Basics","Warrior","Squire"],Divine_Knight:["Rage_Basics","Warrior","Squire","Divine_Knight"],Archer:["Calm_Basics","Archer"],Bowman:["Calm_Basics","Archer","Bowman"],Siege_Breaker:["Calm_Basics","Archer","Bowman","Siege_Breaker"],Hunter:["Calm_Basics","Archer","Hunter","Beast_Master"],Beast_Master:["Calm_Basics","Archer","Hunter","Beast_Master"],Mage:["Savvy_Basics","Mage"],Shaman:["Savvy_Basics","Mage","Shaman"],Bubonic_Conjuror:["Savvy_Basics","Mage","Shaman","Bubonic_Conjuror"],Wizard:["Savvy_Basics","Mage","Wizard"],Elemental_Sorcerer:["Savvy_Basics","Mage","Wizard","Elemental_Sorcerer"]},c={Beginner:"luck",Journeyman:"luck",Maestro:"luck",Voidwalker:"luck",Warrior:"strength",Barbarian:"strength",Blood_Berserker:"strength",Squire:"strength",Divine_Knight:"strength",Archer:"agility",Bowman:"agility",Siege_Breaker:"agility",Hunter:"agility",Beast_Master:"agility",Mage:"wisdom",Shaman:"wisdom",Bubonic_Conjuror:"wisdom",Wizard:"wisdom",Elemental_Sorcerer:"wisdom"},m=(l,i,n,o,d)=>i.reduce((l,i,u)=>{var t,v;let r=null===(t=Object.entries((null===e.talents||void 0===e.talents?void 0:e.talents[i])||{}))||void 0===t?void 0:t.map(l=>{let[,i]=l;return{talentId:i.skillIndex,...i,level:n[i.skillIndex]||0,maxLevel:o[i.skillIndex]||-1}});return d?{...l,talents:{...null==l?void 0:l.talents,orderedTalents:[...(null==l?void 0:null===(v=l.talents)||void 0===v?void 0:v.orderedTalents)||[],...r]},flat:[...(null==l?void 0:l.flat)||[],...r]}:{...l,flat:[...(null==l?void 0:l.flat)||[],...r],talents:{...null==l?void 0:l.talents,[u]:{name:i,id:null===e.classes||void 0===e.classes?void 0:e.classes.indexOf(i),orderedTalents:r}}}},{flat:[],talents:{}}),p=(l,i)=>{var n;return null==l?void 0:null===(n=l.map(l=>{let[n]=l;return null==i?void 0:i.find(l=>{let{talentId:i}=l;return n===i})}))||void 0===n?void 0:n.filter(l=>l)},h=function(l,i,n,o,e,d){let u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],t=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==t?void 0:t.reduce((l,n)=>{let{talents:t,addedLevels:v}=n,a=r(t,i,o,e,d,!!u&&v+1);return a>l?a:l},0)},f=(l,i,n,o,e,d)=>{let u=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==u?void 0:u.reduce((l,n)=>{let{talents:u}=n;return r(u,i,o,e,d)>l?n:l},0)},g=(l,i,n,o)=>{let e=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==e?void 0:e.reduce((l,n)=>{var e;let{talents:d}=n,u=null!==i?null==d?void 0:null===(e=d[i])||void 0===e?void 0:e.orderedTalents:null==d?void 0:d.orderedTalents,t=null==u?void 0:u.find(l=>{let{name:i}=l;return i===o});return(null==t?void 0:t.maxLevel)>(null==l?void 0:l.maxLevel)?t:l},{maxLevel:0})},_=(l,i,n,e,r,a,s,c,m)=>{var p,h,f,g,_,b,y;let M=0;(0,u.fe)(c,0)?M+=Math.ceil((0,t.kI)(m,c,1)):1===n?M+=Math.ceil(r):1===e&&(M+=Math.ceil(a));let w=null==l?void 0:null===(h=l[3])||void 0===h?void 0:null===(p=h.orderedTalents)||void 0===p?void 0:p.find(l=>{let{name:i}=l;return i.includes("SYMBOLS_OF_BEYOND_")});return w&&(M+=null!==(g=(0,o.growth)(null==w?void 0:w.funcX,null==w?void 0:w.level,null==w?void 0:w.x1,null==w?void 0:w.x2,!1))&&void 0!==g?g:0),s&&(M+=Math.floor(s)),(0,d.k)(null==c?void 0:c.achievements,291)&&(M+=1),(0,u.fe)(c,1)&&(M+=null==c?void 0:null===(y=c.companions)||void 0===y?void 0:null===(b=y.list)||void 0===b?void 0:null===(_=b.at(1))||void 0===_?void 0:_.bonus),M+=(0,v.z)(null==c?void 0:null===(f=c.equinox)||void 0===f?void 0:f.upgrades,"Equinox_Symbols")},b=(l,i,n)=>i?i.map(l=>({...l,level:l.level>=1&&!y(null==l?void 0:l.skillIndex)?Math.floor(l.level+n):l.level,baseLevel:l.level})):Object.entries(l).reduce((l,i)=>{let[o,e]=i,{orderedTalents:d}=e,u=null==d?void 0:d.map(l=>({...l,level:l.level>=1&&!y(null==l?void 0:l.skillIndex)?Math.floor(l.level+n):l.level,baseLevel:l.level}));return{...l,[o]:{...e,orderedTalents:u}}},{}),y=l=>49<=l&&59>=l||149===l||374===l||539===l||505===l||614l&&-1!==i.indexOf("decay")?Math.round(100*l)/100:1>l||"add"===i&&1>o&&100>l||25>l&&"decay"===i?Math.round(10*l)/10:Math.round(l)},w=(l,i,n,o,e)=>{let d=[];if(n>=25&&d.push(42),n>=50&&d.push(318),n>=75&&d.push(497),n>=100&&d.push(79),n>=125&&d.push(146),n>=150&&d.push(362),n>=175&&d.push(43),n>=200&&d.push(536),n>=225&&d.push(165),n>=250&&d.push(35),-1!==d.indexOf(o)){if(42===o)return!0;if(146===o){var u;let i=(null==l?void 0:l.filter(l=>(null==l?void 0:l.class)==="Blood_Berserker")).at(-1);if(!i)return 1;let n=null==i?void 0:null===(u=i.chow.finished)||void 0===u?void 0:u[1];return Math.pow(1.1,null!=n?n:0)}if(536===o)return 1;if(35===o){let{stats:l}=e||{};return((null==l?void 0:l.luck)<1e3?(Math.pow((null==l?void 0:l.luck)+1,.37)-1)/30:((null==l?void 0:l.luck)-1e3)/((null==l?void 0:l.luck)+2500)*.8+.3963)*(1+r(null==e?void 0:e.talents,3,"LUCKY_CHARMS")/100)/1.8}}return 0},x=(l,i)=>{var n;return null===(n=s[l])||void 0===n?void 0:n.includes(i)},S=(l,i,n)=>{var o,e,d,u;let t=null==n?void 0:null===(e=n.lab)||void 0===e?void 0:null===(o=e.playersCords)||void 0===o?void 0:o[null==l?void 0:l.playerId],v=null==n?void 0:null===(u=n.lab)||void 0===u?void 0:null===(d=u.playersCords)||void 0===d?void 0:d.filter(l=>{let{class:i}=l;return x(i,"Bubonic_Conjuror")});return t&&(null==v?void 0:v.length)!==0&&(null==v?void 0:v.some(l=>{let{x:i}=l;return i>(null==t?void 0:t.x)}))?h(i,3,"Bubonic_Conjuror","GREEN_TUBE"):0},C={32:!0,130:!0,490:!0,25:!0,45:!0,370:!0,145:!0}},15719:function(l,i,n){n.d(i,{Ew:function(){return a},Qq:function(){return f},T8:function(){return p},kV:function(){return h},w:function(){return s}});var o=n(42915),e=n(66092),d=n(98118),u=n(14802),t=n(83524),v=n(6426),r=n(67924);let a=l=>{var i;let n=(0,e.tryToParse)(null==l?void 0:l.TotemInfo)||(null==l?void 0:l.TotemInfo),o=null===r.randomList||void 0===r.randomList?void 0:null===(i=r.randomList[10])||void 0===i?void 0:i.split(" "),d=[26,63,30,107,155,208];return null==o?void 0:o.map((l,i)=>{var o;let e=null==n?void 0:null===(o=n[0])||void 0===o?void 0:o[i],u=0===e?0:Math.pow((5+e)/10,2.6),t=null===r.mapNames||void 0===r.mapNames?void 0:r.mapNames[null==d?void 0:d[i]];return{...null===r.totems||void 0===r.totems?void 0:r.totems[i],name:l,maxWave:e,waveMulti:u,expReward:Math.floor(15*Math.pow(i+1,2)*Math.pow(u,.9)),map:t}})},s=l=>{let{waveMulti:i,minEfficiency:n,efficiency:o,foodEffect:e}=l;return Math.floor(5*(1+(o>=n?Math.floor(100*Math.pow(o/(10*n),.25)):0)/100)*i*(1+e/100))},c=(l,i)=>{var n,e,r,a,s,c,m;let p=null===u.nl||void 0===u.nl?void 0:u.nl[null==l?void 0:l.class],h=(0,d.OK)(null==i?void 0:i.cards,"Max_Charge"),f=(0,t.xV)(null==l?void 0:l.postOffice,"Crate_of_the_Creator",1),g=(0,u.eZ)(null==l?void 0:l.activeBuffs,"CHARGE_SYPHON","y"),_=(0,o.mV)(null==i?void 0:i.stamps,"Max_Charge",l),b=(0,v.om)(null==i?void 0:null===(n=i.alchemy)||void 0===n?void 0:n.bubbles,"high-iq","GOSPEL_LEADER",!1,"wisdom"===p),y=(0,v.y7)(null==l?void 0:l.equippedBubbles,"high-iq","CALL_ME_POPE",i),M=(null==l?void 0:null===(r=l.tools)||void 0===r?void 0:null===(e=r[5])||void 0===e?void 0:e.rawName)!=="Blank"?null==l?void 0:null===(s=l.tools)||void 0===s?void 0:null===(a=s[5])||void 0===a?void 0:a.lvReqToCraft:0;return Math.floor(Math.max(50,h+f+(g+(_+b*Math.floor((null==l?void 0:null===(m=l.skillsInfo)||void 0===m?void 0:null===(c=m.worship)||void 0===c?void 0:c.level)/10))+Math.round(M)*Math.max(y,1))))},m=(l,i)=>{var n,e,t,r,a,s,c,m,p,h,f,g,_,b,y,M,w,x,S,C;let k=(null==l?void 0:null===(e=l.tools)||void 0===e?void 0:null===(n=e[5])||void 0===n?void 0:n.rawName)!=="Blank"?null==l?void 0:null===(r=l.tools)||void 0===r?void 0:null===(t=r[5])||void 0===t?void 0:t.Speed:0,B=(0,d.OK)(null==i?void 0:i.cards,"Charge_Rate"),T=(0,o.mV)(null==i?void 0:i.stamps,"Charge_Rate_per_Hour",l),O=(0,u.eZ)(null==l?void 0:l.activeBuffs,"CHARGE_SYPHON","y"),I=(0,v.y7)(null==l?void 0:l.equippedBubbles,"high-iq","CALL_ME_POPE",i);return k<3?6/Math.max(5.7+Math.pow(4-k,2.2)-(.9*Math.pow(null==l?void 0:null===(s=l.skillsInfo)||void 0===s?void 0:null===(a=s.worship)||void 0===a?void 0:a.level,.5)/(Math.pow(null==l?void 0:null===(m=l.skillsInfo)||void 0===m?void 0:null===(c=m.worship)||void 0===c?void 0:c.level,.5)+250)+.6*(null==l?void 0:null===(h=l.skillsInfo)||void 0===h?void 0:null===(p=h.worship)||void 0===p?void 0:p.level)/((null==l?void 0:null===(g=l.skillsInfo)||void 0===g?void 0:null===(f=g.worship)||void 0===f?void 0:f.level)+40)),.57)*Math.max(I,1)*(1+(B+T)/100)*Math.max(O,1):6/Math.max(5.7-(.2*Math.pow(k,1.3)+(.9*Math.pow(null==l?void 0:null===(b=l.skillsInfo)||void 0===b?void 0:null===(_=b.worship)||void 0===_?void 0:_.level,.5)/(Math.pow(null==l?void 0:null===(M=l.skillsInfo)||void 0===M?void 0:null===(y=M.worship)||void 0===y?void 0:y.level,.5)+250)+.6*(null==l?void 0:null===(x=l.skillsInfo)||void 0===x?void 0:null===(w=x.worship)||void 0===w?void 0:w.level)/((null==l?void 0:null===(C=l.skillsInfo)||void 0===C?void 0:null===(S=C.worship)||void 0===S?void 0:S.level)+40))),.57)*Math.max(I,1)*(1+(B+T)/100)*Math.max(O,1)},p=(l,i,n,o)=>{let d=c(l,n),u=m(l,n),t=new Date().getTime()-l.afkTime,v=Math.min(parseInt(o)+t/1e3/3600*u,d);return{maxCharge:(0,e.round)(d),chargeRate:(0,e.round)(u),currentCharge:(0,e.round)(v)}},h=l=>null==l?void 0:l.reduce((l,i)=>{var n,o,e;let d=((null==i?void 0:null===(n=i.worship)||void 0===n?void 0:n.maxCharge)-(null==i?void 0:null===(o=i.worship)||void 0===o?void 0:o.currentCharge))/(null==i?void 0:null===(e=i.worship)||void 0===e?void 0:e.chargeRate)*36e5;return 0!==d&&d<(null==l?void 0:l.timeLeft)?{character:null==i?void 0:i.name,timeLeft:d}:l},{character:null,timeLeft:1/0}),f=l=>{var i;let n=null==l?void 0:l.reduce((l,i)=>{let{worship:n}=i;return l+((null==n?void 0:n.currentCharge)||0)},0),o=null==l?void 0:l.reduce((l,i)=>{let{worship:n}=i;return l+((null==n?void 0:n.chargeRate)||0)},0),e=(0,u.A5)(l,2,"Wizard","CHARGE_SYPHON","y")||0,d=(0,u.L1)(l,2,"Wizard","CHARGE_SYPHON","y");return{bestWizard:d,totalCharge:n,bestChargeSyphon:e,totalChargeRate:o,timeToOverCharge:new Date().getTime()+(((null==d?void 0:null===(i=d.worship)||void 0===i?void 0:i.maxCharge)||0)+e-n)/o*36e5}}},56365:function(l,i,n){n.d(i,{T:function(){return e},s:function(){return o}});let o="85%",e={PICKAXE:0,HATCHET:1,ROD:2,NET:3,TRAP:4,SKULL:5}},84127:function(l,i){let n={};n._mul=Math.imul;var o=function(l){this.init(l)};o.__name__="Rand",o.hash=function(l,i){return null==i&&(i=5381),l=n._mul(l,-862048943),i^=l=n._mul(l<<15|l>>>17,461845907),i=n._mul(i<<13|i>>>19,5)+-430675100|0,i=n._mul(i^i>>16,-2048144789),(i=n._mul(i^i>>13,-1028477387))^i>>16},o.inlineHash=function(l,i){return l=n._mul(l,-862048943),i^=l=n._mul(l<<15|l>>>17,461845907),i=n._mul(i<<13|i>>>19,5)+-430675100|0,i=n._mul(i^i>>16,-2048144789),(i=n._mul(i^i>>13,-1028477387))^i>>16},o.prototype={seed:null,seed2:null,init:function(l){this.seed=l,this.seed2=o.hash(l),0==this.seed&&(this.seed=1),0==this.seed2&&(this.seed2=1)},random:function(l){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(1073741823&((this.seed<<16)+this.seed2|0))%l},shuffle:function(l){for(var i=l.length,n=0;n>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16);var o=(1073741823&((this.seed<<16)+this.seed2|0))%i;this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16);var e=(1073741823&((this.seed<<16)+this.seed2|0))%i,d=l[o];l[o]=l[e],l[e]=d}},rand:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(1073741823&((this.seed<<16)+this.seed2|0))%10007/10007},srand:function(l){return null==l&&(l=1),this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),((this.seed<<16)+this.seed2|0)%10007/10007*l},int:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(this.seed<<16)+this.seed2|0},uint:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),1073741823&((this.seed<<16)+this.seed2|0)},__class__:o},i.Z=o}}]); \ No newline at end of file diff --git a/_next/static/chunks/6426-35cce96c30caa4a0.js b/_next/static/chunks/6426-35cce96c30caa4a0.js new file mode 100644 index 000000000..ec7936127 --- /dev/null +++ b/_next/static/chunks/6426-35cce96c30caa4a0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6426],{24579:function(l,i,n){n.d(i,{Z:function(){return A}});var o=n(82729),e=n(85893),d=n(67294),u=n(66242),t=n(44267),v=n(51233),r=n(15861),a=n(87357),s=n(61599),c=n(66092),m=n(44358),p=n(15984),h=n(55166),f=n(6426),g=n(5497),_=n(95039),b=n(67924),y=n(32113),M=n(82118),w=n(2127);let x=l=>{var i,n,o;let e=null==l?void 0:null===(i=l.currencies)||void 0===i?void 0:i.KeysAll,d=null==l?void 0:null===(o=l.currencies)||void 0===o?void 0:null===(n=o.ColosseumTickets)||void 0===n?void 0:n.allTickets;return[...(null==e?void 0:e.filter(l=>{let{daysSincePickup:i}=l;return i>=3}))||[],...(null==d?void 0:d.filter((i,n)=>{var o;let{daysSincePickup:e}=i;return(0===n||(null==l?void 0:null===(o=l.finishedWorlds)||void 0===o?void 0:o["World".concat(n)]))&&e>=3}))||[]]};var S=l=>{let{alertsMap:i,data:n,extraData:o,trackers:e}=l,[u,t]=(0,d.useState)();return(0,d.useEffect)(()=>{if(e&&Object.values(e).some(l=>l)){let l=Object.entries(e||{}).reduce((l,e)=>{let[d,u]=e;if((null==u?void 0:u.checked)&&(null==i?void 0:i[d])){var t,v;let e=null==u?void 0:null===(t=u.options)||void 0===t?void 0:t.reduce((l,i)=>({...l,[null==i?void 0:i.name]:i}),{});l[d]=(null==i?void 0:null===(v=i[d])||void 0===v?void 0:v.call(i,n,e,o))||{}}return l},{});t(Object.values(l).some(l=>Array.isArray(l)?l.length>0:l)?l:null)}else t(null)},[n,e]),u};function C(){let l=(0,o._)(["\n width: 15px;\n height: 15px;\n position: absolute;\n left: -5px;\n bottom: 30%;\n"]);return C=function(){return l},l}function k(){let l=(0,o._)(["\n width: ",";\n height: ",";\n object-fit: contain;\n ","\n position: ",";\n"]);return k=function(){return l},l}let B={atomCollider:(l,i)=>{var n,o,e,d,u,t,v;let r={};return(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2)&&(null==i?void 0:null===(o=i.stampReducer)||void 0===o?void 0:o.checked)&&(r.stampReducer=(null==l?void 0:null===(e=l.atoms)||void 0===e?void 0:e.stampReducer)>=(null==i?void 0:null===(u=i.stampReducer)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:d.value),r.stampReducerValue=null==i?void 0:null===(v=i.stampReducer)||void 0===v?void 0:null===(t=v.props)||void 0===t?void 0:t.value),r},arcade:(l,i)=>{var n,o,e,d,u,t;let v={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1))return v;if(null==i?void 0:null===(o=i.balls)||void 0===o?void 0:o.checked){let i=Math.floor(Math.min((null==l?void 0:null===(e=l.timeAway)||void 0===e?void 0:e.GlobalTime)-(null==l?void 0:null===(d=l.timeAway)||void 0===d?void 0:d.Arcade),(0,p.he)(null==l?void 0:l.stamps))/Math.max((0,p.gq)(l),1800)),n=5*(null==l?void 0:null===(u=l.arcade)||void 0===u?void 0:u.maxBalls)/100;v.balls=i>=(null==l?void 0:null===(t=l.arcade)||void 0===t?void 0:t.maxBalls)-n}return v},alchemy:(l,i)=>{var n,o,e,d,u,t,v,r,a,s,c,m,p,h,g,_,y;let M={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1))return M;if(null==i?void 0:null===(o=i.bargainTag)||void 0===o?void 0:o.checked){let{x1:i,x2:n,index:o}=(null===b.liquidsShop||void 0===b.liquidsShop?void 0:b.liquidsShop.find(l=>{let{name:i}=l;return"BARGAIN_TAG"===i}))||{},e=Math.round(i*Math.pow(n,null==l?void 0:null===(v=l.alchemy)||void 0===v?void 0:null===(t=v.multiplierArray)||void 0===t?void 0:t[o]));M.bargainTag=1===e}if(null==i?void 0:null===(e=i.liquids)||void 0===e?void 0:e.checked){let n=null==l?void 0:null===(r=l.alchemy)||void 0===r?void 0:r.liquids,o=(null==i?void 0:null===(s=i.liquids)||void 0===s?void 0:null===(a=s.props)||void 0===a?void 0:a.value)/100;M.liquids=null==l?void 0:null===(m=l.alchemy)||void 0===m?void 0:null===(c=m.liquidCauldrons)||void 0===c?void 0:c.map((l,i)=>({current:null==n?void 0:n[i],max:l,index:i})).filter(l=>{let{current:i,max:n}=l;return n&&i>=n*o-5})}if((null==i?void 0:null===(d=i.sigils)||void 0===d?void 0:d.checked)&&(M.sigils=null==l?void 0:null===(g=l.alchemy)||void 0===g?void 0:null===(h=g.p2w)||void 0===h?void 0:null===(p=h.sigils)||void 0===p?void 0:p.filter(l=>{let{characters:i,progress:n,boostCost:o}=l;return i.length>0&&n>=o})),null==i?void 0:null===(u=i.vials)||void 0===u?void 0:u.checked){let{subtractGreenStacks:n}=i||{};M.vials=null==l?void 0:null===(y=l.alchemy)||void 0===y?void 0:null===(_=y.vials)||void 0===_?void 0:_.filter(i=>{var o,e,d,u,t,v;let{level:r,itemReq:a}=i,s=null===f.ln||void 0===f.ln?void 0:f.ln[r],c=(null==l?void 0:null===(e=l.storage)||void 0===e?void 0:null===(o=e.find(l=>{var i;let{name:n}=l;return n===(null==a?void 0:null===(i=a[0])||void 0===i?void 0:i.name)}))||void 0===o?void 0:o.amount)||0;(null==n?void 0:n.checked)&&(c-=1e7);let m=parseInt((null==a?void 0:null===(u=a[1])||void 0===u?void 0:null===(d=u.name.split("d"))||void 0===d?void 0:d[1])||0),p=null==l?void 0:null===(v=l.alchemy)||void 0===v?void 0:null===(t=v.liquids)||void 0===t?void 0:t[m-1];return c>s&&p>3*r})}return M},gaming:(l,i)=>{var n,o,e,d,u,t,v,r,a,s,m,p,h,f,g,_,b,y,M,w,x;if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World4))return!1;let{sprouts:S,squirrel:C,shovel:k}=i,B={};(null==S?void 0:S.checked)&&(null==l?void 0:null===(o=l.gaming)||void 0===o?void 0:o.availableSprouts)>=(null==l?void 0:null===(e=l.gaming)||void 0===e?void 0:e.sproutsCapacity)&&(B.sprouts=null==l?void 0:null===(f=l.gaming)||void 0===f?void 0:f.availableSprouts),(null==S?void 0:S.checked)&&(null==l?void 0:null===(d=l.gaming)||void 0===d?void 0:d.availableDrops)>=(null==l?void 0:null===(u=l.gaming)||void 0===u?void 0:u.sproutsCapacity)&&(B.drops=null==l?void 0:null===(g=l.gaming)||void 0===g?void 0:g.availableDrops);let T=null==l?void 0:null===(v=l.gaming)||void 0===v?void 0:null===(t=v.imports)||void 0===t?void 0:t.find(l=>{let{name:i,acquired:n}=l;return"Dirty_Shovel"===i&&n});if((null==i?void 0:null===(r=i.shovel)||void 0===r?void 0:r.checked)&&T&&k&&(null==l?void 0:null===(a=l.gaming)||void 0===a?void 0:a.lastShovelClicked)>=0){let n=new Date().getTime()-(null==l?void 0:null===(_=l.gaming)||void 0===_?void 0:_.lastShovelClicked)*1e3,{hours:o}=(0,c.getDuration)(new Date().getTime(),n);o>=(null==i?void 0:null===(y=i.shovel)||void 0===y?void 0:null===(b=y.props)||void 0===b?void 0:b.value)&&(B.shovel=(0,c.getDuration)(new Date().getTime(),n))}let O=null==l?void 0:null===(m=l.gaming)||void 0===m?void 0:null===(s=m.imports)||void 0===s?void 0:s.find(l=>{let{name:i,acquired:n}=l;return"Autumn_Squirrel"===i&&n});if((null==i?void 0:null===(p=i.squirrel)||void 0===p?void 0:p.checked)&&O&&C&&(null==l?void 0:null===(h=l.gaming)||void 0===h?void 0:h.lastAcornClicked)>=0){let n=new Date().getTime()-(null==l?void 0:null===(M=l.gaming)||void 0===M?void 0:M.lastAcornClicked)*1e3,{hours:o}=(0,c.getDuration)(new Date().getTime(),n);o>=(null==i?void 0:null===(x=i.squirrel)||void 0===x?void 0:null===(w=x.props)||void 0===w?void 0:w.value)&&(B.squirrel=(0,c.getDuration)(new Date().getTime(),n))}return B},guild:(l,i)=>{var n,o,e,d,u,t,v,r,a;let s={};if(!(null==l?void 0:null===(n=l.accountOptions)||void 0===n?void 0:n[37]))return!1;let{daily:c,weekly:m}=i;return(null==c?void 0:c.checked)&&(s.daily=null==l?void 0:null===(u=l.guild)||void 0===u?void 0:null===(d=u.guildTasks)||void 0===d?void 0:null===(e=d.daily)||void 0===e?void 0:null===(o=e.filter(l=>{let{requirement:i,progress:n}=l;return n{let{requirement:i,progress:n}=l;return n{var n,o,e,d;let u={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World4))return u;let{captains:t,chests:v}=i;if(null==t?void 0:t.checked){let{captains:i,shopCaptains:n}=(null==l?void 0:l.sailing)||{};u.captains=null==n?void 0:n.reduce((l,n)=>{let{captainType:o,firstBonusIndex:e,secondBonusIndex:d,firstBonusValue:u,secondBonusValue:t,firstBonusDescription:v,secondBonusDescription:r}=n,a=null==i?void 0:i.filter(l=>{let i=(null==l?void 0:l.firstBonusIndex)===e&&(null==l?void 0:l.secondBonusIndex)===d,n=(null==l?void 0:l.secondBonusIndex)===e&&(null==l?void 0:l.firstBonusIndex)===d,o=(null==l?void 0:l.firstBonusIndex)===e||(null==l?void 0:l.firstBonusIndex)===d;if(i||n){if(e===d)return u+t>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue);{let i=u>(null==l?void 0:l.firstBonusValue)&&t>(null==l?void 0:l.secondBonusValue),n=u>(null==l?void 0:l.secondBonusValue)&&t>(null==l?void 0:l.firstBonusValue);return i||n}}if(o&&(null==l?void 0:l.firstBonusIndex)===(null==l?void 0:l.secondBonusIndex)){if(e===(null==l?void 0:l.firstBonusIndex))return u>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue);if(d===(null==l?void 0:l.firstBonusIndex))return t>(null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue)}return!1});if((null==a?void 0:a.length)>0&&-1!==o){var s;let i=e===d;return[...l,{captain:n,isSameValue:i,badCaptains:null===(s=a.map(l=>{let{captainIndex:n,firstBonusDescription:o,secondBonusDescription:e,firstBonusValue:d,secondBonusValue:u}=l;return{captainIndex:n,firstBonusValue:d,secondBonusValue:u,bonus:i?o.substring(o.indexOf("%")).replace("%",d+u+"%"):[o.substring(o.indexOf("%")).replace("%",d+"%"),e.substring(e.indexOf("%")).replace("%",u+"%")]}}))||void 0===s?void 0:s.sort((l,i)=>(null==i?void 0:i.firstBonusValue)+(null==i?void 0:i.secondBonusValue)-((null==l?void 0:l.firstBonusValue)+(null==l?void 0:l.secondBonusValue))),bonus:i?null==v?void 0:v.substring(null==v?void 0:v.indexOf("%")).replace("%",u+t+"%"):[null==v?void 0:v.substring(null==v?void 0:v.indexOf("%")).replace("%",u+"%"),null==r?void 0:r.substring(null==r?void 0:r.indexOf("%")).replace("%",t+"%")]}]}return l},[])}if(null==v?void 0:v.checked){let i=259200<(null==l?void 0:null===(o=l.accountOptions)||void 0===o?void 0:o[124])?Math.floor((null==l?void 0:null===(e=l.accountOptions)||void 0===e?void 0:e[124])/8640)/10:Math.floor((null==l?void 0:null===(d=l.accountOptions)||void 0===d?void 0:d[124])/3600),{maxChests:n,timeToFullChests:t}=null==l?void 0:l.sailing,{hours:v}=(0,c.getDuration)(new Date().getTime(),t);u.chests=i>v&&n>0}return u},breeding:(l,i)=>{var n,o,e,d,u,t,v,r;let a={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World3))return a;if(null==i?void 0:null===(o=i.shinies)||void 0===o?void 0:o.checked){let n=null==l?void 0:null===(u=l.breeding)||void 0===u?void 0:null===(d=u.pets)||void 0===d?void 0:d.reduce((n,o)=>[...n,...null==o?void 0:o.filter(n=>{var o,e,d,u;let{monsterRawName:t,shinyLevel:v}=n;return(null==l?void 0:null===(e=l.breeding)||void 0===e?void 0:null===(o=e.fencePetsObject)||void 0===o?void 0:o[t])&&v>=(null==i?void 0:null===(u=i.shinies)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:d.value)})],[]);a.shinies={pets:n,threshold:null==i?void 0:null===(v=i.shinies)||void 0===v?void 0:null===(t=v.props)||void 0===t?void 0:t.value}}return(null==i?void 0:null===(e=i.eggs)||void 0===e?void 0:e.checked)&&(a.eggs=null==l?void 0:null===(r=l.breeding)||void 0===r?void 0:r.eggs.slice(0,15).every(l=>l>0)),a},printer:(l,i)=>{var n;let o={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2))return o;let{includeOakAndCopper:e,showAlertWhenFull:d}=i,u=(0,M.J)(l,d),t=["atom",...(null==e?void 0:e.checked)?[]:["Copper","OakTree"]].toSimpleObject();return o.atoms=Object.entries(u||{}).filter(l=>{let[i,{atoms:n}]=l;return!(null==t?void 0:t[i])&&n}).map(l=>{var i;let[n,o]=l;return{name:null===b.items||void 0===b.items?void 0:null===(i=b.items[n])||void 0===i?void 0:i.displayName,rawName:n,...o}}),o},shops:(l,i)=>{var n;let o={};return o.items=null==l?void 0:null===(n=l.shopStock)||void 0===n?void 0:n.reduce((n,o,e)=>{var d,u,t,v;return(2!==e&&3!==e||(null==l?void 0:null===(d=l.finishedWorlds)||void 0===d?void 0:d.World1))&&(4!==e||(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World2))&&(5!==e||(null==l?void 0:null===(t=l.finishedWorlds)||void 0===t?void 0:t.World3))&&(6!==e||(null==l?void 0:null===(v=l.finishedWorlds)||void 0===v?void 0:v.World4))?[...n,null==o?void 0:o.filter(l=>{var n,o,e;let{rawName:d}=l;return null==i?void 0:null===(e=i.shops)||void 0===e?void 0:null===(o=e.props)||void 0===o?void 0:null===(n=o.value)||void 0===n?void 0:n[d]})]:[...n,[]]},[]),o},construction:(l,i)=>{var n,o,e,d,u,t,v,r,a;let s={};if(!(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World2))return s;let{materials:c,rankUp:m,flags:p,buildings:f}=i||{};return(null==p?void 0:p.checked)&&(s.flags=null==l?void 0:null===(e=l.construction)||void 0===e?void 0:null===(o=e.board)||void 0===o?void 0:o.filter(l=>{let{flagPlaced:i,currentAmount:n,requiredAmount:o}=l;return i&&n===o})),(null==f?void 0:f.checked)&&(s.buildings=null==l?void 0:null===(u=l.towers)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:d.filter(i=>{let n=(0,h.ZX)(null==l?void 0:l.towers,null==i?void 0:i.level,null==i?void 0:i.bonusInc,null==i?void 0:i.index);return(null==i?void 0:i.progress)>=n})),(null==c?void 0:c.checked)&&(s.materials=null==l?void 0:null===(v=l.refinery)||void 0===v?void 0:null===(t=v.salts)||void 0===t?void 0:t.reduce((i,n,o)=>{var e,d,u,t;let{rank:v,cost:r,rawName:a}=n,s=o>0?o-1:null,c=null==l?void 0:null===(d=l.refinery)||void 0===d?void 0:null===(e=d.salts)||void 0===e?void 0:e[s],m=(0,y.B4)(o,v,r,l),p=(0,y.B4)(s,null==c?void 0:c.rank,null==c?void 0:c.cost,l);return 1===m.length&&(null==m?void 0:null===(t=m[0])||void 0===t?void 0:null===(u=t.rawName)||void 0===u?void 0:u.includes("Refinery"))&&(null==c?void 0:c.autoRefinePercentage)>0||(null==c?void 0:c.active)&&(null==p?void 0:p.length)>0||m.length>0&&(i=[...i,{rawName:a,missingMats:m}]),i},[])),(null==m?void 0:m.checked)&&(s.rankUp=null==l?void 0:null===(a=l.refinery)||void 0===a?void 0:null===(r=a.salts)||void 0===r?void 0:r.filter(l=>{let{refined:i,powerCap:n}=l;return i>=n-.2*n/100})),s},postOffice:(l,i)=>{var n,o,e;let d={};return(null==l?void 0:null===(n=l.finishedWorlds)||void 0===n?void 0:n.World1)&&(null==i?void 0:null===(o=i.postOffice)||void 0===o?void 0:o.checked)&&(d.shipments=null==l?void 0:null===(e=l.postOfficeShipments)||void 0===e?void 0:e.filter((l,n)=>{var o,e,d;let{streak:u}=l;return(null==i?void 0:null===(d=i.postOffice)||void 0===d?void 0:null===(e=d.props)||void 0===e?void 0:null===(o=e.value)||void 0===o?void 0:o[n+1])&&u<=0})),d},equinox:(l,i)=>{var n;let o=null==l?void 0:l.equinox,e=null==o?void 0:o.upgrades[9],{bar:d,challenges:u,foodLust:t}=i,v={};return d&&(v.bar=(null==o?void 0:o.currentCharge)>=(null==o?void 0:o.chargeRequired)&&(null==o?void 0:o.upgrades.filter(l=>l.unlocked).some(l=>l.lvll.active&&l.current>=l.goal))||void 0===n?void 0:n.length),t&&(v.foodLust=(null==e?void 0:e.lvl)>0&&(null==e?void 0:e.bonus)>=(null==e?void 0:e.lvl)),v},materialTracker:(l,i,n)=>{let o={},e=(0,c.tryToParse)(localStorage.getItem("material-tracker"));if(Object.keys(e||{}).length>0){var d;let{applyThresholdFromBelow:u,applyThresholdFromAbove:t}=i||{},v=(0,w.Nx)(n,l);o.materialTracker=null===(d=Object.values(e||{}))||void 0===d?void 0:d.reduce((l,i)=>{let{item:n,threshold:o}=i,{amount:e}=(0,w.AN)(v,null==n?void 0:n.displayName),d,r=.02*o;return((null==u?void 0:u.checked)&&eo?d="above":((null==u?void 0:u.checked)&&e<=o+r||(null==t?void 0:t.checked)&&e>=o+r)&&(d="close to"),d)?[...l,{item:n,threshold:o,quantityOwned:e,text:d}]:l},[])}return o},etc:(l,i,n)=>{var o,e,d,u,t,v,r,a,s,c,m,p,h,f,g,b,y,M,w,S,C,k,B,T,O;let I={};if((null==i?void 0:null===(o=i.randomEvents)||void 0===o?void 0:o.checked)&&(I.randomEvents=(null==l?void 0:null===(m=l.accountOptions)||void 0===m?void 0:m[137])===0),null==i?void 0:null===(e=i.dungeonTraits)||void 0===e?void 0:e.checked){let i=null==l?void 0:null===(p=l.dungeons)||void 0===p?void 0:p.rank;I.dungeonTraits=null==l?void 0:null===(f=l.dungeons)||void 0===f?void 0:null===(h=f.statBoosts)||void 0===h?void 0:h.reduce((l,n)=>{let{section:o,levelReq:e,bonuses:d}=n,u=null==d?void 0:d.every(l=>{let{isActive:i}=l;return!i});return i>e&&u?[...l,o]:l},[])}if((null==i?void 0:null===(d=i.keys)||void 0===d?void 0:d.checked)&&(I.keys=x(l)),(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World1)&&(null==i?void 0:null===(t=i.weeklyBosses)||void 0===t?void 0:t.checked)&&(I.weeklyBosses=(null==l?void 0:null===(g=l.accountOptions)||void 0===g?void 0:g[190])===0),(null==l?void 0:null===(v=l.finishedWorlds)||void 0===v?void 0:v.World1)&&(null==i?void 0:null===(r=i.killRoy)||void 0===r?void 0:r.checked)&&(I.killRoy=null==l?void 0:null===(b=l.accountOptions)||void 0===b?void 0:b[113]),!(null==l?void 0:null===(a=l.finishedWorlds)||void 0===a?void 0:a.World3))return I;if((null==i?void 0:null===(s=i.gildedStamps)||void 0===s?void 0:s.checked)&&(0,_.RB)(null==l?void 0:l.rift,"Stamp_Mastery")&&(I.gildedStamps=null==l?void 0:null===(y=l.accountOptions)||void 0===y?void 0:y[154]),null==i?void 0:null===(c=i.miniBosses)||void 0===c?void 0:c.checked){let n=[],o=null==l?void 0:null===(M=l.accountOptions)||void 0===M?void 0:M[96],e=null==l?void 0:null===(w=l.accountOptions)||void 0===w?void 0:w[98];if(o>3&&(null==l?void 0:null===(S=l.finishedWorlds)||void 0===S?void 0:S.World3)){let l=Math.min(10,Math.floor(Math.pow(o-3,.55)));l>=(null==i?void 0:null===(B=i.miniBosses)||void 0===B?void 0:null===(k=B.props)||void 0===k?void 0:k.value)&&n.push({rawName:"mini3b",name:"Dilapidated_Slush",currentCount:l})}if(e>3&&(null==l?void 0:null===(C=l.finishedWorlds)||void 0===C?void 0:C.World2)){let l=Math.min(8,Math.floor(Math.pow(e-3,.5)));l>=(null==i?void 0:null===(O=i.miniBosses)||void 0===O?void 0:null===(T=O.props)||void 0===T?void 0:T.value)&&n.push({rawName:"mini4b",name:"Mutated_Mush",currentCount:l})}I.miniBosses=n.length>0?n:null}return I},cooking:(l,i)=>{var n,o,e,d;let u={};return null!=l&&null!==(n=l.finishedWorlds)&&void 0!==n&&!!n.World3&&((null==i?void 0:null===(o=i.spices)||void 0===o?void 0:o.checked)&&(u.spices=g.Cz-(null==l?void 0:null===(d=l.cooking)||void 0===d?void 0:null===(e=d.spices)||void 0===e?void 0:e.numberOfClaims)),u)},tasks:(l,i)=>{var n,o;let e=[];return(null==i?void 0:null===(n=i.tasks)||void 0===n?void 0:n.checked)&&(e=null==l?void 0:null===(o=l.tasksDescriptions)||void 0===o?void 0:o.reduce((l,n,o)=>{var e,d,u;let t=null==n?void 0:n[8];return(null==t?void 0:t.level)===0&&(null==i?void 0:null===(u=i.tasks)||void 0===u?void 0:null===(d=u.props)||void 0===d?void 0:null===(e=d.value)||void 0===e?void 0:e[o+1])?[...l,o]:l},[])),e}},T=l=>{let{title:i,iconPath:n,vial:o,atom:d,imgStyle:u={}}=l;return(0,e.jsx)(m.Z,{title:i,children:(0,e.jsxs)(a.Z,{sx:{position:"relative"},children:[(0,e.jsx)(P,{style:{...u},vial:o,src:"".concat(c.prefix).concat(n,".png"),alt:""}),d?(0,e.jsx)(E,{vial:o,src:"".concat(c.prefix,"etc/Particle.png"),alt:""}):null,o?(0,e.jsx)("img",{onError:l=>{l.target.src="".concat(c.prefix,"data/aVials12.png"),l.target.style="opacity: 0;"},src:"".concat(c.prefix,"data/aVials").concat((null==o?void 0:o.level)===0?"1":null==o?void 0:o.level,".png"),style:{opacity:(null==o?void 0:o.level)===0?.5:1,width:35,height:40},alt:"vial image missing"},"".concat(null==o?void 0:o.name)):null]})})},O=l=>{let{missingMats:i}=l;return(0,e.jsxs)(v.Z,{alignItems:"center",children:["Missing materials",(0,e.jsx)(v.Z,{direction:"row",children:i.map(l=>{let{rawName:i}=l;return(0,e.jsx)(P,{src:"".concat(c.prefix,"data/").concat(i,".png"),alt:""},i)})})]})},I=l=>{let{shop:i}=l;return(0,e.jsx)(v.Z,{direction:"row",gap:2,flexWrap:"wrap",children:null==i?void 0:i.map((l,i)=>{let{amount:n,rawName:o}=l;return(0,e.jsxs)(v.Z,{alignItems:"center",children:[(0,e.jsx)(P,{src:"".concat(c.prefix,"data/").concat(o,".png")},"shop"+o),(0,e.jsx)(r.Z,{children:(0,c.notateNumber)(n)})]},o+i)})})},E=s.Z.img(C()),P=s.Z.img(k(),l=>{let{vial:i}=l;return i?"20px":"30px"},l=>{let{vial:i}=l;return i?"20px":"30px"},l=>{let{vial:i}=l;return i?"top: 50%;left: 50%;transform:translate(-60%, -70%);":""},l=>{let{vial:i}=l;return i?"absolute":"relative"});var A=l=>{var i,n,o,d,a,s,m,p,h,f,g,_,b,y,M,w,x,C,k,E,P,A,L,N,R,q,D,F,j,G,U,H,V,Y,W,X,K,z,Q,Z,J,$,ll,li,ln,lo,le,ld,lu,lt,lv,lr,la,ls,lc,lm,lp,lh,lf,lg,l_,lb,ly,lM,lw,lx,lS,lC,lk,lB,lT,lO,lI,lE,lP,lA,lL,lN,lR,lq,lD,lF,lj,lG,lU,lH,lV,lY,lW,lX,lK,lz,lQ,lZ,lJ,l$,l0,l1,l2,l5,l3,l6,l4,l9,l7;let{account:l8,characters:il,trackers:ii}=l,io=S({alertsMap:B,data:l8,extraData:il,trackers:ii});return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(u.Z,{sx:{width:"fit-content"},children:(0,e.jsx)(t.Z,{children:io?(0,e.jsxs)(v.Z,{direction:"row",gap:2,flexWrap:"wrap",children:[(null==ii?void 0:ii.atomCollider)&&(null==io?void 0:null===(i=io.atomCollider)||void 0===i?void 0:i.stampReducer)?(0,e.jsx)(T,{title:"Stamp reducer has reached your threshold (".concat(null==io?void 0:null===(n=io.atomCollider)||void 0===n?void 0:n.stampReducerValue,"%)"),iconPath:"data/Atom0"}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(d=io.construction)||void 0===d?void 0:null===(o=d.flags)||void 0===o?void 0:o.length)>0?(0,e.jsx)(T,{title:"There are ".concat(null==io?void 0:null===(s=io.construction)||void 0===s?void 0:null===(a=s.flags)||void 0===a?void 0:a.length," flags finished in construction board"),iconPath:"data/CogFLflag"}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(m=io.alchemy)||void 0===m?void 0:m.bargainTag)?(0,e.jsx)(T,{title:"You haven't use bargain tag even once today",iconPath:"data/aShopItems10"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(p=io.etc)||void 0===p?void 0:p.randomEvents)?(0,e.jsx)(T,{title:"You haven't done a random event today",iconPath:"etc/Mega_Grumblo"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(h=io.etc)||void 0===h?void 0:h.weeklyBosses)?(0,e.jsx)(T,{title:"You haven't done a weekly (W2) boss fight this week",iconPath:"data/Trophie"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(f=io.etc)||void 0===f?void 0:f.killRoy)<21?(0,e.jsx)(T,{title:(null==io?void 0:null===(g=io.etc)||void 0===g?void 0:g.killRoy)===0?"You haven't done a killroy this week":(null==io?void 0:null===(_=io.etc)||void 0===_?void 0:_.killRoy)>0&&(null==io?void 0:null===(b=io.etc)||void 0===b?void 0:b.killRoy)<21?"You haven't done a killroy this week (You have 1 killroy left)":"",iconPath:"etc/Killroy"}):null,(null==ii?void 0:ii.cooking)&&(null==io?void 0:null===(y=io.cooking)||void 0===y?void 0:y.spices)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(M=io.cooking)||void 0===M?void 0:M.spices," spice clicks left"),iconPath:"data/CookingSpice0"}):null,(null==ii?void 0:ii.arcade)&&(null==io?void 0:null===(w=io.arcade)||void 0===w?void 0:w.balls)?(0,e.jsx)(T,{title:"Max ball capacity has reached",iconPath:"data/PachiBall0"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(x=io.gaming)||void 0===x?void 0:x.sprouts)?(0,e.jsx)(T,{title:"Max sprouts capacity has reached (".concat(null==io?void 0:null===(C=io.gaming)||void 0===C?void 0:C.sprouts,")"),imgStyle:{objectFit:"none"},iconPath:"etc/Sprouts"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(k=io.gaming)||void 0===k?void 0:k.drops)?(0,e.jsx)(T,{title:"Sprinkler drops has reached it's capacity (".concat(null==io?void 0:null===(E=io.gaming)||void 0===E?void 0:E.drops,")"),iconPath:"data/GamingItem0b"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(A=io.gaming)||void 0===A?void 0:null===(P=A.squirrel)||void 0===P?void 0:P.hours)>=1?(0,e.jsx)(T,{title:"".concat(null==io?void 0:null===(N=io.gaming)||void 0===N?void 0:null===(L=N.squirrel)||void 0===L?void 0:L.hours," hours has passed since you've clicked the squirrel"),iconPath:"data/GamingItem2"}):null,(null==ii?void 0:ii.gaming)&&(null==io?void 0:null===(q=io.gaming)||void 0===q?void 0:null===(R=q.shovel)||void 0===R?void 0:R.hours)>=1?(0,e.jsx)(T,{title:"".concat(null==io?void 0:null===(F=io.gaming)||void 0===F?void 0:null===(D=F.shovel)||void 0===D?void 0:D.hours," hours has passed since you've clicked the shovel"),iconPath:"data/GamingItem1"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(j=io.equinox)||void 0===j?void 0:j.bar)?(0,e.jsx)(T,{title:"Your Equinox bar is full",iconPath:"data/Quest78"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(G=io.equinox)||void 0===G?void 0:G.challenges)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(U=io.equinox)||void 0===U?void 0:U.challenges," challenges to validate"),iconPath:"data/Quest78"}):null,(null==ii?void 0:ii.equinox)&&(null==io?void 0:null===(H=io.equinox)||void 0===H?void 0:H.foodLust)?(0,e.jsx)(T,{title:"Food Lust is maxed",iconPath:"etc/Dream_Upgrade_10"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(V=io.etc)||void 0===V?void 0:V.gildedStamps)>0?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(Y=io.etc)||void 0===Y?void 0:Y.gildedStamps," available gilded stamps"),iconPath:"data/GildedStamp"}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(X=io.etc)||void 0===X?void 0:null===(W=X.miniBosses)||void 0===W?void 0:W.length)>0?null==io?void 0:null===(z=io.etc)||void 0===z?void 0:null===(K=z.miniBosses)||void 0===K?void 0:K.map(l=>{let{rawName:i,name:n,currentCount:o}=l;return(0,e.jsx)(T,{title:"You can kill ".concat(o," ").concat((0,c.cleanUnderscore)(n),"s"),iconPath:"etc/".concat(i)},i)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(Z=io.alchemy)||void 0===Z?void 0:null===(Q=Z.sigils)||void 0===Q?void 0:Q.length)>0?null==io?void 0:null===($=io.alchemy)||void 0===$?void 0:null===(J=$.sigils)||void 0===J?void 0:J.map(l=>{let{name:i,index:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)((0,c.pascalCase)(i))," is already unlocked"),iconPath:"data/aSiga".concat(n)},i)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(li=io.alchemy)||void 0===li?void 0:null===(ll=li.liquids)||void 0===ll?void 0:ll.length)>0?null==io?void 0:null===(lo=io.alchemy)||void 0===lo?void 0:null===(ln=lo.liquids)||void 0===ln?void 0:ln.map(l=>{let{index:i}=l;return(0,e.jsx)(T,{title:"".concat((0,c.getNumberWithOrdinal)(i+1)," liquid is full"),iconPath:"data/Liquid".concat(i+1,"_x1")},"liq"+i)}):null,(null==ii?void 0:ii.tasks)&&(null==io?void 0:null===(le=io.tasks)||void 0===le?void 0:le.length)>0?null==io?void 0:null===(ld=io.tasks)||void 0===ld?void 0:ld.map(l=>(0,e.jsx)(T,{title:"Daily task in world ".concat(l+1," not done yet"),iconPath:"etc/Merit_".concat(l)},"task"+l)):null,(null==ii?void 0:ii.sailing)&&(null==io?void 0:null===(lu=io.sailing)||void 0===lu?void 0:lu.chests)>0?(0,e.jsx)(T,{title:"You've reached to maximum capacity of chests",iconPath:"npcs/Chesty"},"sailing-chest-alert"):null,(null==ii?void 0:ii.sailing)&&(null==io?void 0:null===(lv=io.sailing)||void 0===lv?void 0:null===(lt=lv.captains)||void 0===lt?void 0:lt.length)>0?null==io?void 0:null===(la=io.sailing)||void 0===la?void 0:null===(lr=la.captains)||void 0===lr?void 0:lr.map(l=>{let{captain:i,bonus:n,badCaptains:o}=l;return(0,e.jsx)(T,{title:(0,e.jsxs)(v.Z,{children:[(0,e.jsxs)(r.Z,{sx:{mb:1},children:["Captain ",(0,e.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:null==i?void 0:i.captainIndex})," with ",(0,c.cleanUnderscore)(n)," from the shop is better than ",o.length," of your captains"]}),(0,e.jsx)(v.Z,{children:null==o?void 0:o.map(l=>{let{captainIndex:i,bonus:n}=l;return(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(r.Z,{component:"span",sx:{fontWeight:"bold"},children:i}),": ",(0,c.cleanUnderscore)(n)]},"cap-".concat(i))})})]}),iconPath:"etc/Captain_".concat(null==i?void 0:i.captainType)},"captain"+(null==i?void 0:i.captainIndex))}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(lc=io.construction)||void 0===lc?void 0:null===(ls=lc.materials)||void 0===ls?void 0:ls.length)>0?null==io?void 0:null===(lp=io.construction)||void 0===lp?void 0:null===(lm=lp.materials)||void 0===lm?void 0:lm.map(l=>{let{rawName:i,missingMats:n}=l;return(0,e.jsx)(T,{title:(0,e.jsx)(O,{missingMats:n}),iconPath:"data/".concat(i)},i)}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(lf=io.construction)||void 0===lf?void 0:null===(lh=lf.rankUp)||void 0===lh?void 0:lh.length)>0?null==io?void 0:null===(l_=io.construction)||void 0===l_?void 0:null===(lg=l_.rankUp)||void 0===lg?void 0:lg.map(l=>{let{rawName:i,saltName:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)(n)," is ready to rank up"),iconPath:"data/".concat(i)},i)}):null,(null==ii?void 0:ii.construction)&&(null==io?void 0:null===(ly=io.construction)||void 0===ly?void 0:null===(lb=ly.buildings)||void 0===lb?void 0:lb.length)>0?null==io?void 0:null===(lw=io.construction)||void 0===lw?void 0:null===(lM=lw.buildings)||void 0===lM?void 0:lM.map(l=>{let{name:i,index:n}=l;return(0,e.jsx)(T,{title:"".concat((0,c.cleanUnderscore)((0,c.pascalCase)(i))," is ready to be built"),iconPath:"data/ConTower".concat(n)},i)}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(lS=io.etc)||void 0===lS?void 0:null===(lx=lS.keys)||void 0===lx?void 0:lx.length)>0?null==io?void 0:null===(lk=io.etc)||void 0===lk?void 0:null===(lC=lk.keys)||void 0===lC?void 0:lC.map((l,i)=>{let{rawName:n,totalAmount:o}=l;return(0,e.jsx)(T,{title:"".concat(o," of ").concat((0,c.cleanUnderscore)((0,c.pascalCase)(name))," keys are ready"),iconPath:"data/".concat(n)},n+""+i)}):null,(null==ii?void 0:ii.materialTracker)&&(null==io?void 0:null===(lT=io.materialTracker)||void 0===lT?void 0:null===(lB=lT.materialTracker)||void 0===lB?void 0:lB.length)>0?null==io?void 0:null===(lI=io.materialTracker)||void 0===lI?void 0:null===(lO=lI.materialTracker)||void 0===lO?void 0:lO.map((l,i)=>{let{item:n,threshold:o,quantityOwned:d,text:u}=l;return(0,e.jsx)(T,{title:"Your ".concat((0,c.cleanUnderscore)((0,c.pascalCase)(null==n?void 0:n.displayName))," is ").concat(u," the threshold (").concat((0,c.notateNumber)(d),"/").concat((0,c.notateNumber)(o),")"),iconPath:"data/".concat(null==n?void 0:n.rawName)},(null==n?void 0:n.rawName)+""+i)}):null,(null==ii?void 0:ii.postOffice)&&(null==io?void 0:null===(lP=io.postOffice)||void 0===lP?void 0:null===(lE=lP.shipments)||void 0===lE?void 0:lE.length)>0?null==io?void 0:null===(lL=io.postOffice)||void 0===lL?void 0:null===(lA=lL.shipments)||void 0===lA?void 0:lA.map(l=>{let{index:i}=l;return(0,e.jsx)(T,{title:"Order streak for shipment #".concat(i+1," is 0"),iconPath:"data/UIlilbox"},"shipment"+i)}):null,(null==ii?void 0:ii.etc)&&(null==io?void 0:null===(lR=io.etc)||void 0===lR?void 0:null===(lN=lR.dungeonTraits)||void 0===lN?void 0:lN.length)>0?null==io?void 0:null===(lD=io.etc)||void 0===lD?void 0:null===(lq=lD.dungeonTraits)||void 0===lq?void 0:lq.map((l,i)=>(0,e.jsx)(T,{title:"You haven't selected a trait for ".concat(l),iconPath:"data/DungTraitB0"},"dungeonTraits"+i)):null,(null==ii?void 0:ii.breeding)&&(null==io?void 0:null===(lF=io.breeding)||void 0===lF?void 0:lF.eggs)?(0,e.jsx)(T,{title:"Eggs are at full capacity",iconPath:"data/PetEgg1"},"breeding-eggs"):null,(null==ii?void 0:ii.breeding)&&(null==io?void 0:null===(lU=io.breeding)||void 0===lU?void 0:null===(lG=lU.shinies)||void 0===lG?void 0:null===(lj=lG.pets)||void 0===lj?void 0:lj.length)>0?null==io?void 0:null===(lY=io.breeding)||void 0===lY?void 0:null===(lV=lY.shinies)||void 0===lV?void 0:null===(lH=lV.pets)||void 0===lH?void 0:lH.map((l,i)=>{var n,o;let{monsterName:d,monsterRawName:u,shinyLevel:t,icon:v}=l;return(0,e.jsx)(T,{imgStyle:{filter:"hue-rotate(".concat((0,c.randomFloatBetween)(45,180),"deg)")},title:"".concat((0,c.cleanUnderscore)(d)," has surpassed the shiny level threshold (").concat(null==io?void 0:null===(o=io.breeding)||void 0===o?void 0:null===(n=o.shinies)||void 0===n?void 0:n.threshold,")"),iconPath:"Mface23"===v&&"shovelR"!==u?"afk_targets/".concat(d):"data/".concat(v)},d+i)}):null,(null==ii?void 0:null===(lW=ii.printer)||void 0===lW?void 0:lW.checked)&&(null==io?void 0:null===(lK=io.printer)||void 0===lK?void 0:null===(lX=lK.atoms)||void 0===lX?void 0:lX.length)>0?null==io?void 0:null===(lQ=io.printer)||void 0===lQ?void 0:null===(lz=lQ.atoms)||void 0===lz?void 0:lz.map(l=>{let{name:i,rawName:n}=l;return(0,e.jsx)(T,{title:"Printing is at maximum (storage) capacity for ".concat((0,c.cleanUnderscore)(i)),atom:!0,iconPath:"data/".concat(n)},"printer-atoms-"+n)}):null,(null==ii?void 0:ii.alchemy)&&(null==io?void 0:null===(lJ=io.alchemy)||void 0===lJ?void 0:null===(lZ=lJ.vials)||void 0===lZ?void 0:lZ.length)>0?null==io?void 0:null===(l0=io.alchemy)||void 0===l0?void 0:null===(l$=l0.vials)||void 0===l$?void 0:l$.map(l=>(0,e.jsx)(T,{vial:l,title:"You have enough materials to upgrade ".concat((0,c.cleanUnderscore)(null==l?void 0:l.name)," vial"),iconPath:"data/".concat(null==l?void 0:l.mainItem)},null==l?void 0:l.mainItem)):null,(null==ii?void 0:ii.shops)&&(null==io?void 0:null===(l2=io.shops)||void 0===l2?void 0:null===(l1=l2.items)||void 0===l1?void 0:l1.length)>0?null==io?void 0:null===(l3=io.shops)||void 0===l3?void 0:null===(l5=l3.items)||void 0===l5?void 0:l5.map((l,i)=>{var n;return(null==l?void 0:l.length)>0?(0,e.jsx)(T,{title:(0,e.jsx)(I,{shop:l}),iconPath:"data/ShopEZ".concat(i)},"shop"+i+(null==l?void 0:null===(n=l[0])||void 0===n?void 0:n.rawName)):null}):null,(null==ii?void 0:ii.guild)&&(null==io?void 0:null===(l6=io.guild)||void 0===l6?void 0:l6.daily)?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(l4=io.guild)||void 0===l4?void 0:l4.daily," uncompleted daily tasks"),iconPath:"etc/GP",imgStyle:{filter:"sepia(1) hue-rotate(46deg) saturate(1)"}}):null,(null==ii?void 0:ii.guild)&&(null==io?void 0:null===(l9=io.guild)||void 0===l9?void 0:l9.weekly)?(0,e.jsx)(T,{title:"You have ".concat(null==io?void 0:null===(l7=io.guild)||void 0===l7?void 0:l7.weekly," uncompleted weekly tasks"),iconPath:"etc/GP",imgStyle:{filter:"sepia(1) hue-rotate(140deg) saturate(1)"}}):null]}):(0,e.jsx)(r.Z,{children:"There are no account alerts to display"})})})})}},69320:function(l,i,n){n.d(i,{j:function(){return d},k:function(){return t}});var o=n(66092),e=n(67924);let d=l=>u((0,o.tryToParse)(null==l?void 0:l.AchieveReg)||(null==l?void 0:l.AchieveReg),(0,o.tryToParse)(null==l?void 0:l.SteamAchieve)||(null==l?void 0:l.SteamAchieve)),u=(l,i)=>null===e.achievements||void 0===e.achievements?void 0:e.achievements.map((n,o)=>{let{steamIndex:e}=n,d=e?(null==i?void 0:i[e])===-1:(null==l?void 0:l[o])===-1,u=e?null==i?void 0:i[e]:null==l?void 0:l[o];return{...n,completed:d,...u>=0?{currentQuantity:u}:{}}}),t=(l,i)=>{if(!(null==l?void 0:l[i]))return 0;switch(i){case 27:case 37:case 44:case 107:case 109:case 117:return 5;case 108:return 10;case 99:case 104:return 20;default:var n;return(null==l?void 0:null===(n=l[i])||void 0===n?void 0:n.completed)?1:0}}},6426:function(l,i,n){n.d(i,{AK:function(){return I},RG:function(){return q},Tw:function(){return w},Vq:function(){return R},YG:function(){return k},a2:function(){return F},iu:function(){return B},jd:function(){return _},ln:function(){return D},nm:function(){return T},om:function(){return S},p4:function(){return f},y7:function(){return x}});var o=n(66092),e=n(67924),d=n(72810),u=n(97424),t=n(5497),v=n(79521),r=n(21351),a=n(42915),s=n(86722);let c={0:"power",1:"quicc",2:"high-iq",3:"kazam"},m={0:"water drops",1:"liquid n2",2:"trench h2o"},p={0:"O",1:"G",2:"P",3:"Y"},h={_:"power",a:"quicc",b:"high-iq",c:"kazam"},f=(l,i,n)=>{var e,d;let u=(0,o.createArrayOfArrays)(null==l?void 0:l.CauldronInfo)||(null==l?void 0:l.CauldronInfo),t=(0,o.tryToParse)(null==l?void 0:l.CauldronJobs1)||(null==l?void 0:null===(e=l.CauldronJobs)||void 0===e?void 0:e[1]),v=A(l);return(null==u?void 0:u[8])&&(null==u?void 0:null===(d=u[8])||void 0===d?void 0:d.length)===0&&(u[8]=v.slice(0,16)),g(l,u,t,v,n)},g=(l,i,n,o,e)=>{let d=null==n?void 0:n.map((l,i)=>({activity:l,index:i})),u=y(l,d,e),t=M(i),v=O(null==i?void 0:i[5],o.slice(0,16),u,t,d);return{p2w:u,bubbles:t,vials:C(null==i?void 0:i[4]),cauldrons:v,cauldronsInfo:o,multiplierArray:null==i?void 0:i[10],liquids:null==i?void 0:i[6]}},_=l=>{var i,n;let o=null==l?void 0:null===(i=l.alchemy)||void 0===i?void 0:i.liquids,e=null==l?void 0:null===(n=l.alchemy)||void 0===n?void 0:n.cauldronsInfo.slice(18);return o.map((i,n)=>{var o,d,c,m,p,h,f,g,_,y,M,w,x,C,B;let T=b(n+4,e[4*n][1]),O=null!==(B=null==l?void 0:null===(o=l.gemShopPurchases)||void 0===o?void 0:o.find((l,i)=>106===i))&&void 0!==B?B:0,I=(0,u.W)(null==l?void 0:l.saltLick,5),E=0;O>n&&(E=.5+I/100),(null==l?void 0:null===(d=l.accountOptions)||void 0===d?void 0:d[123])>n&&(E=0===E?1:I/100+2);let P=S(null==l?void 0:null===(c=l.alchemy)||void 0===c?void 0:c.bubbles,"kazam","DA_DAILY_DRIP",!1),A=k(null==l?void 0:null===(m=l.alchemy)||void 0===m?void 0:m.vials,null,"Liquid".concat(n+1,"Cap")),L=(0,v.c9)(null==l?void 0:l.lab.labBonuses,8),N=(0,v.pc)(null==l?void 0:l.lab.jewels,16,L),R=(0,t.F4)(l,null,"Liquid".concat(0===n||1===n?"12":"34"),N),q=(0,r.pA)(null==l?void 0:l.rift,null==l?void 0:null===(h=l.totalSkillsLevels)||void 0===h?void 0:null===(p=h.alchemy)||void 0===p?void 0:p.rank,4),D=(0,v.c9)(null==l?void 0:l.lab.labBonuses,6),F=null==l?void 0:null===(y=l.alchemy)||void 0===y?void 0:null===(_=y.p2w)||void 0===_?void 0:null===(g=_.liquids)||void 0===g?void 0:null===(f=g[n])||void 0===f?void 0:f.capacity,j=(0,a.mV)(null==l?void 0:l.stamps,"Cap_for_all_Liquids_in_Alchemy"),G=null===(M=(0,s.d)(null==l?void 0:null===(w=l.arcade)||void 0===w?void 0:w.shop,"Cap_for_all_Liquids"))||void 0===M?void 0:M.bonus;return Math.ceil(D*(10+(T+(A+(F+(P*Math.max(Math.pow((null==l?void 0:null===(C=l.totalSkillsLevels)||void 0===C?void 0:null===(x=C.alchemy)||void 0===x?void 0:x.level)/25,.3),0)+(j+Math.ceil(G)))))))*(1+(E+(R+5*q)/100)))})},b=(l,i)=>l<4?Math.round(10*(0,o.growth)("decay",90,100,i,0,0))/10:Math.round(i),y=(l,i,n)=>{let e={0:4,1:5,2:6},d=i.filter((l,i)=>{let{activity:o}=l;return o<100&&o>=4&&-1!==o&&i<(null==n?void 0:n.length)}),u={},[t,v,r,a]=(0,o.tryToParse)(null==l?void 0:l.CauldronP2W)||(null==l?void 0:l.CauldronP2W);return u.cauldrons=t.toChunks(3).map((l,i)=>{let[n,o,e]=l;return{name:c[i],speed:n,newBubble:o,boostReq:e}}),u.liquids=v.toChunks(2).map((l,i)=>{let[n,o]=l;return{name:m[i],regen:n,capacity:o,players:null==d?void 0:d.filter(l=>{let{activity:n}=l;return n===(null==e?void 0:e[i])})}}).filter(l=>{let{name:i}=l;return i}),u.vials={attempts:(null==r?void 0:r[0])||0,rng:(null==r?void 0:r[1])||0},u.player={speed:(null==a?void 0:a[0])||0,extraExp:(null==a?void 0:a[1])||0},u.sigils=L(l,i,n),u},M=l=>null==l?void 0:l.reduce((l,i,n)=>{var o;return n<=3?{...l,[null==c?void 0:c[n]]:null===(o=Object.keys(i))||void 0===o?void 0:o.reduce((l,o,d)=>"length"!==o?[...l,{level:parseInt(null==i?void 0:i[o])||0,index:d,rawName:"aUpgrades".concat(p[n]).concat(d),...e.cauldrons[null==c?void 0:c[n]][o]}]:l,[])}:l},{}),w=(l,i,n)=>{var e;let d=(0,o.tryToParse)(null==l?void 0:l.CauldronBubbles)||(null==l?void 0:l.CauldronBubbles);return null==d?void 0:null===(e=d.filter((l,i)=>i<(null==n?void 0:n.length)))||void 0===e?void 0:e.map(l=>null==l?void 0:l.reduce((l,n)=>{var o;let e=h[n[0]],d=e?null==n?void 0:n.substring(1):null;return[...l,d?null==i?void 0:null===(o=i[e])||void 0===o?void 0:o[d]:{}]},[])).filter(l=>l.length)},x=(l,i,n,e)=>{var d,u;let t=(0,r.fe)(e,4);if(t)return S(null==e?void 0:null===(d=e.alchemy)||void 0===d?void 0:d.bubbles,i,n,!1);let v=null==l?void 0:l.find(l=>{let{bubbleName:i}=l;return n===i});return(v||t)&&null!==(u=(0,o.growth)(null==v?void 0:v.func,null==v?void 0:v.level,null==v?void 0:v.x1,null==v?void 0:v.x2,!1))&&void 0!==u?u:0},S=(l,i,n,e,d)=>{var u,t,v,r,a;let s=null==l?void 0:null===(u=l[i])||void 0===u?void 0:u.findIndex(l=>{let{bubbleName:i}=l;return i===n});if(-1===s)return 0;let c={quicc:[0,6,9,12,14].toSimpleObject(),power:[0,2,4,7,14].toSimpleObject(),"high-iq":[0,2,6,12,14].toSimpleObject()},m=null==l?void 0:null===(t=l[i])||void 0===t?void 0:t[s],p=null==l?void 0:null===(v=l[i])||void 0===v?void 0:v[1],h=d?(0,o.growth)(null==p?void 0:p.func,null==p?void 0:p.level,null==p?void 0:p.x1,null==p?void 0:p.x2,e):1,f=null==l?void 0:null===(r=l[i])||void 0===r?void 0:r[16],g=(null==c?void 0:null===(a=c[i])||void 0===a?void 0:a[s])?(0,o.growth)(null==f?void 0:f.func,null==f?void 0:f.level,null==f?void 0:f.x1,null==f?void 0:f.x2,e):1;return(0,o.growth)(null==m?void 0:m.func,null==m?void 0:m.level,null==m?void 0:m.x1,null==m?void 0:m.x2,e)*h*g},C=l=>Object.keys(l).reduce((i,n,o)=>{let d=null===e.vials||void 0===e.vials?void 0:e.vials[o];return"length"!==n?[...i,{...d,level:parseInt(null==l?void 0:l[n])||0}]:i},[]).filter(l=>{let{name:i}=l;return i}),k=(l,i,n)=>null==l?void 0:l.reduce((l,e)=>{var d;let{func:u,level:t,x1:v,x2:r,desc:a,stat:s,multiplier:c=1}=e;return i&&!a.includes(i)||n&&!s.includes(n)?l:l+(null!==(d=(0,o.growth)(u,t,v,r))&&void 0!==d?d:0)*c},0),B=(l,i)=>null==l?void 0:l.reduce((l,n)=>{var e;let{func:d,level:u,x1:t,x2:v,multiplier:r=1,stat:a}=n;return i!==a?l:l+(null!==(e=(0,o.growth)(d,u,t,v))&&void 0!==e?e:0)*r},0),T=(l,i)=>null==l?void 0:l.map(l=>({...l,multiplier:i})),O=(l,i,n,o,e)=>{let d=e.filter(l=>{let{activity:i}=l;return i<100&&-1!==i}),u={0:"power",4:"quicc",8:"high-iq",12:"kazam"},t={};for(let e=0,r=i.length;e{let{activity:i}=l;return i===e/4});t[u[e]]={progress:null==l?void 0:l[e/4],req:I(null==o?void 0:null===(v=o[u[e]])||void 0===v?void 0:v.length),players:p},Object.entries(m).forEach(l=>{var i;let[o,d]=l,[v,r]=d;t[u[e]]={...t[u[e]],boosts:{...t[u[e]].boosts,[o]:{progress:v,level:parseInt(r),req:P(0,2,null===(i=n.cauldrons[e/4])||void 0===i?void 0:i.boostReq,parseInt(r))}}}})}return t},I=l=>3+Math.pow(3*l,2.2)*Math.pow(1.3,l),E=(l,i,n)=>{let[d,u,t]=e.p2w[l][i];return Math.max((100-Math.max(0,(0,o.growth)(t,n,d,u)))/100,.05)},P=(l,i,n,o)=>Math.floor(1+Math.pow(1.5*(o+1),1.6)*Math.pow(1.073,o+1)*2*E(0,2,n)),A=l=>{var i,n,o;return(null==l?void 0:l.CauldUpgLVs)&&(null==l?void 0:l.CauldUpgXPs)?null==l?void 0:null===(i=l.CauldUpgLVs)||void 0===i?void 0:i.map((i,n)=>{var o;return[null==l?void 0:null===(o=l.CauldUpgXPs)||void 0===o?void 0:o[n],i]}):null==l?void 0:null===(o=l.CauldronInfo)||void 0===o?void 0:null===(n=o[8])||void 0===n?void 0:n.reduce((l,i)=>[...l,...i],[])},L=(l,i,n)=>N((0,o.tryToParse)(null==l?void 0:l.CauldronP2W)||(null==l?void 0:l.CauldronP2W),i,n),N=(l,i,n)=>{let o=null==l?void 0:l[4],d=[];for(let l=0,u=o.length;l{let{activity:o,index:e}=i;return o>=100&&Math.floor(o-100)===l/2&&e<11&&e<(null==n?void 0:n.length)});v&&(d=[...d,{...v,unlocked:t,progress:u,bonus:1===t?null==v?void 0:v.boostBonus:0===t?null==v?void 0:v.unlockBonus:0,characters:r}])}return d.map((l,i)=>({...l,index:i}))},R=(l,i)=>l?null==l?void 0:l.reduce((l,n)=>(null==n?void 0:n.name)!==i?l:l+(null==n?void 0:n.bonus),0):0,q=(l,i)=>{let n=(0,d.YS)(i,"Chilled_Yarn");if(!n)return l;let o=1+(null==n?void 0:n.bonus);return null==l?void 0:l.map(l=>({...l,bonus:l.bonus*o}))},D=[0,100,1e3,2500,1e4,5e4,1e5,5e5,1000001,5e6,25e6,1e8,1e9,5e10],F=(l,i)=>Math.floor(i/1e9*(l+1)*Math.pow(1.04,l)*100)},65455:function(l,i,n){n.d(i,{J7:function(){return R},KC:function(){return P},MH:function(){return N},eW:function(){return A},uv:function(){return L}});var o=n(67924),e=n(21351),d=n(80257),u=n(6426),t=n(14802),v=n(64169),r=n(98118),a=n(2127),s=n(42915),c=n(94336),m=n(84664),p=n(2035),h=n(97424),f=n(15984),g=n(83524),_=n(6896),b=n(14581),y=n(70436),M=n(69320),w=n(54381),x=n(95299);let S=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,t=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,v=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;return(1+(n+2*i)/100)*(1+(o+u)/100)*(1+d/100)*(0,e.Yu)(l)*(1+(t+v)/100)},C=function(){let{costThreshold:l,startingIndex:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;if(!l)return 0;let e=0;for(let l=i;lMath.round((Math.pow(l+1,1.5)+l)*Math.max(.1,1-i/100)),B=l=>{var i;let n=o.anvilUpgradeCost.findIndex((i,n)=>{let{costThreshold:e}=i;return l{let n=0;for(let o=0;oMath.round((Math.pow(l,3)+50)*(1+l/100)*Math.max(.1,1-i/100)),I=(l,i)=>{let n=0;for(let o=l;o<600;o++)n+=O(o,i,!0);return null!=n?n:0},E=(l,i)=>{let n=(1+3*l/100)*i;return n<20?n:Math.min(20+(n-20)/(n-20+70)*50,75)},P=l=>{let i=null==l?void 0:l.AnvilPA,[n,o,e,d,u,t]=null==l?void 0:l.AnvilPAstats;return{anvilProduction:i,anvilStats:{availablePoints:n,pointsFromCoins:o,pointsFromMats:e,xpPoints:d,speedPoints:u,capPoints:t},anvilSelected:null==l?void 0:l.AnvilPAselect}},A=(l,i,n)=>{var E,P,A,L,N,R,q,D,F,j,G,U,H,V,Y,W,X,K,z,Q,Z,J,$,ll,li,ln,lo,le,ld;let{anvil:lu}=l,{anvilProduction:lt,anvilStats:lv,anvilSelected:lr}=lu||{},{availablePoints:la,pointsFromCoins:ls,pointsFromMats:lc,xpPoints:lm,speedPoints:lp,capPoints:lh}=lv||{};Array.isArray(lr)||(lr=[lr]);let lf=null==lt?void 0:lt.reduce((l,i,n)=>{var e;let[d,u,t,v]=i;return[...l,{currentAmount:d,currentXP:u,currentProgress:parseFloat(t),totalProduced:v,...o.anvilProducts[n]||{},hammers:null==lr?void 0:null===(e=lr.filter(l=>l===n))||void 0===e?void 0:e.length}]},[]),lg={availablePoints:la,pointsFromCoins:ls,pointsFromMats:lc,xpPoints:lm,speedPoints:lp,capPoints:lh},l_=(0,u.om)(null==n?void 0:null===(E=n.alchemy)||void 0===E?void 0:E.bubbles,"quicc","ANVILNOMICS")*((null===(P=t.pV[null==l?void 0:l.class])||void 0===P?void 0:P.includes("Archer"))?(0,u.om)(null==n?void 0:null===(A=n.alchemy)||void 0===A?void 0:A.bubbles,"quicc","ARCHER_OR_BUST"):1),lb=B(lc);lg.anvilCost={...lb,totalMats:C(lb,lc,l_),nextMatUpgrade:k(lc,l_),totalCoins:T(ls,l_),nextCoinUpgrade:O(ls,l_,!0),coinsToMax:I(ls,l_)};let ly=(0,v.o9)(l,n,"Skill_EXP_gain"),lM=(0,r.Xt)(null==l?void 0:l.cards,"Z7"),lw=(0,r.OK)(null==n?void 0:n.cards,"Skill_EXP_(Passive)"),lx=(0,e.tE)("Golden_Ham",l,n),lS=(null==l?void 0:null===(N=l.cards)||void 0===N?void 0:null===(L=N.cardSet)||void 0===L?void 0:L.rawName)==="CardSet3"?null==l?void 0:null===(q=l.cards)||void 0===q?void 0:null===(R=q.cardSet)||void 0===R?void 0:R.bonus:0,lC=(0,t.A5)(i,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),lk=(0,t.xI)(i,n,lC,536),lB=(0,t.xI)(i,n,lC,35,l),lT=(0,t.c4)(l,i,n),lO=(0,c.wt)(null==n?void 0:n.shrines,5,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(D=n.sailing)||void 0===D?void 0:D.artifacts),lI=(0,m.U6)(null==n?void 0:n.statues,"StatueG18",null==l?void 0:l.talents),lE=null===(F=(0,p.Y0)(null==l?void 0:l.activePrayers,"Unending_Energy",n))||void 0===F?void 0:F.bonus,lP=null===(j=(0,p.Y0)(null==l?void 0:l.activePrayers,"Balance_of_Proficiency",n))||void 0===j?void 0:j.bonus,lA=null===(G=(0,p.Y0)(null==l?void 0:l.activePrayers,"Skilled_Dimwit",n))||void 0===G?void 0:G.curse,lL=null===(U=(0,p.Y0)(null==l?void 0:l.activePrayers,"The_Royal_Sampler",n))||void 0===U?void 0:U.curse,lN=(0,a.zi)(l,27,n),lR=(0,t.eZ)(null==l?void 0:l.activeBuffs,"MAESTRO_TRANSFUSION"),lq=(0,h.W)(null==n?void 0:n.saltLick,3),lD=(0,f.U4)(null==n?void 0:null===(H=n.dungeons)||void 0===H?void 0:H.upgrades,"Class_Exp"),lF=(0,g.xV)(null==l?void 0:l.postOffice,"Myriad_Crate",2),lj=(0,M.k)(null==n?void 0:n.achievements,283),lG=(0,M.k)(null==n?void 0:n.achievements,284),lU=(0,M.k)(null==n?void 0:n.achievements,294),lH=(0,e.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,1),lV=(0,e.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,4),lY=(0,w.du)(null==n?void 0:null===(V=n.breeding)||void 0===V?void 0:V.pets,"Skill_EXP"),lW=null!==(ln=null===(Y=(0,x.Ob)(n,"MSA_Skill_EXP"))||void 0===Y?void 0:Y.bonus)&&void 0!==ln?ln:0,lX=0,lK=(0,y.s8)(n,i,7);(null==lK?void 0:lK[null==l?void 0:l.playerId])!==-1&&(lX=(0,y.zJ)(null==n?void 0:null===(lo=n.divinity)||void 0===lo?void 0:lo.linkedDeities,i,7)),lg.baseAnvilExp=ly+(lM+lx+lT*Math.min(1,lk?lT:0)+(lS+lw+(Math.min(150,100*lB)+lO)+lI+lE+lP-lA-lL+(lN+(lR+(lq+(lD+(lF+(lX+(10*lj+(25*lG+(10*lU+(lH+(lV+(lY+lW))))))))))))));let lz=(0,s.fE)(null==n?void 0:n.stamps,"skills","StampB3",l),lQ=(0,g.xV)(null==l?void 0:l.postOffice,"Blacksmith_Box",1),lZ=(0,u.y7)(null==l?void 0:l.equippedBubbles,"quicc","HAMMER_HAMMER",n),lJ=(0,m.U6)(null==n?void 0:n.statues,"StatueG12",null==l?void 0:l.talents),l$=(0,v.o9)(l,n,"Speed_in_Town"),l0=(0,t._X)(null==l?void 0:l.talents,0,"BROKEN_TIME");lg.anvilSpeed=3600*S(null==l?void 0:null===(W=l.stats)||void 0===W?void 0:W.agility,lp,lz,lQ,lZ,lJ,l$,l0);let l1=0,l2=null===(X=(0,p.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",n))||void 0===X?void 0:X.curse,l5=null===(K=(0,p.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",n))||void 0===K?void 0:K.bonus;(null==n?void 0:null===(Q=n.guild)||void 0===Q?void 0:null===(z=Q.guildBonuses)||void 0===z?void 0:z.length)>0&&(l1=(0,_._r)(null==n?void 0:null===(le=n.guild)||void 0===le?void 0:le.guildBonuses,2));let l3=(1+(l1+(0,t._X)(null==l?void 0:l.starTalents,null,"TELEKINETIC_STORAGE"))/100)*(1+(0,c.wt)(null==n?void 0:n.shrines,3,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(Z=n.sailing)||void 0===Z?void 0:Z.artifacts)/100)*Math.max(1-l2/100,.4)*(1+(l5+(0,d.k)(null==n?void 0:n.bribes,"Bottomless_Bags"))/100),l6=(0,s.fE)(null==n?void 0:n.stamps,"skills","StampB8",l),l4=(0,s.fE)(null==n?void 0:n.stamps,"misc","StampC2",l),l9=null!==(ld=null==n?void 0:null===(J=n.gemShopPurchases)||void 0===J?void 0:J.find((l,i)=>58===i))&&void 0!==ld?ld:0,l7=(0,t._X)(null==l?void 0:l.talents,0,"EXTRA_BAGS"),l8=(0,v.o9)(l,n,"Carry_Cap"),il=null==l?void 0:null===($=l.carryCapBags)||void 0===$?void 0:$.find(l=>{let{Class:i}=l;return"bCraft"===i}),ii=(0,b.nR)(il,{allCapacity:l3,mattyBagStampBonus:l6,masonJarStampBonus:l4,gemShopCarryBonus:l9,extraBagsTalentBonus:l7,starSignExtraCap:l8});lg.anvilCapacity=Math.round(ii*(2+.1*lh));let io=lr.sort((l,i)=>l-i).map(l=>o.anvilProducts[l]);return{guild:(null==n?void 0:null===(li=n.guild)||void 0===li?void 0:null===(ll=li.guildBonuses)||void 0===ll?void 0:ll.length)>0,stats:lg,production:lf,selected:io}},L=(l,i,n,o,d)=>{var u,v;let a=(0,t._X)(null==l?void 0:l.talents,1,"FOCUSED_SOUL"),c=(0,t._X)(null==l?void 0:l.talents,0,"HAPPY_DUDE"),m=(0,r.OK)(null==n?void 0:n.cards,"Smithing_EXP_(Passive)"),p=(0,g.xV)(null==l?void 0:l.postOffice,"Blacksmith_Box",0),h=(0,s.mV)(null==n?void 0:n.stamps,"SmithExp",l),f=(0,e.pA)(null==n?void 0:n.rift,null==n?void 0:null===(v=n.totalSkillsLevels)||void 0===v?void 0:null===(u=v.smithing)||void 0===u?void 0:u.rank,0),_=(0,t.A5)(i,2,"Maestro","LEFT_HAND_OF_LEARNING"),b=(0,t.A5)(i,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),y=(0,t.xI)(i,n,b,42);return(0,t.gW)(null==l?void 0:l.class,"Maestro")&&y&&(_*=2),100*(E(d,Math.max(.1,(1+(a+(h+(c+25*f)))/100)*(1+m/100)*(1+p/100)+(o+_)/100))-1)},N=l=>{let{hammers:i,currentAmount:n,currentProgress:o,requiredAmount:e,afkTime:d,stats:u}=l,t=Math.min(Math.round(n+(o+(new Date().getTime()-d)/1e3*(null==u?void 0:u.anvilSpeed)/3600)/e*(null!=i?i:0)),null==u?void 0:u.anvilCapacity);return((null==u?void 0:u.anvilCapacity)-t)/((null==u?void 0:u.anvilSpeed)/3600/e*(null!=i?i:0))},R=(l,i)=>{var n;return null==l?void 0:null===(n=l.anvil)||void 0===n?void 0:n.reduce((n,o,e)=>{let{stats:d,production:u}=A(null==i?void 0:i[e],i,l),t=null==u?void 0:u.filter(l=>{let{hammers:i}=l;return i>0});return null==t||t.forEach(l=>{let{hammers:i,rawName:o,requiredAmount:e}=l,u=Math.min((null==d?void 0:d.anvilSpeed)*i/e,null==d?void 0:d.anvilCapacity);(null==n?void 0:n[o])?n[o]+=u:n[o]=u}),n},{})}},86722:function(l,i,n){n.d(i,{d:function(){return v},z:function(){return u}});var o=n(66092),e=n(67924),d=n(15984);let u=(l,i,n)=>t((0,o.tryToParse)(null==l?void 0:l.ArcadeUpg)||(null==l?void 0:l.ArcadeUpg),i,n),t=(l,i,n)=>{var u,t;let v=null==i?void 0:null===(u=i.accountOptions)||void 0===u?void 0:u[74],r=null==i?void 0:null===(t=i.accountOptions)||void 0===t?void 0:t[75],a=Math.round((0,d.he)(null==i?void 0:i.stamps)/Math.max(1,(0,d.gq)(i)));return{shop:null===e.arcadeShop||void 0===e.arcadeShop?void 0:e.arcadeShop.map((i,e)=>{var d;let{x1:u,x2:t,func:v}=i,r=null==l?void 0:l[e];return{...i,level:r,active:null==n?void 0:null===(d=n.ArcadeBonuses)||void 0===d?void 0:d.includes(e),bonus:(0,o.growth)(v,r,u,t,!1),iconName:"PachiShopICON".concat(e)}}),balls:v,goldBalls:r,maxBalls:a}},v=(l,i)=>null==l?void 0:l.find(l=>{let{effect:n}=l;return n.includes(i)})},17844:function(l,i,n){n.d(i,{Xp:function(){return m},_m:function(){return c},nK:function(){return t}});var o=n(66092),e=n(67924),d=n(6426),u=n(95299);let t=(l,i)=>{let n=(0,o.tryToParse)(null==l?void 0:l.Atoms)||(null==l?void 0:l.Atoms);return v((0,o.tryToParse)(null==l?void 0:l.Divinity)||(null==l?void 0:l.Divinity),n,i)},v=(l,i,n)=>{var o,t;let v=null!=i?i:[],c=null==l?void 0:l[39],m=null===e.atomsInfo||void 0===e.atomsInfo?void 0:e.atomsInfo.map((l,o)=>{var t,c,m,p,h,f,g,_,b;let y=null==v?void 0:v[o],M=null!==(f=null==n?void 0:null===(m=n.towers)||void 0===m?void 0:null===(c=m.data)||void 0===c?void 0:null===(t=c[8])||void 0===t?void 0:t.level)&&void 0!==f?f:0,w=null!==(g=null==i?void 0:i[9])&&void 0!==g?g:0,x=(0,d.om)(null==n?void 0:null===(p=n.alchemy)||void 0===p?void 0:p.bubbles,"kazam","ATOM_SPLIT",!1),S=null!==(_=null===(h=(0,u.Ob)(n,"Atom_Redux"))||void 0===h?void 0:h.unlocked)&&void 0!==_?_:0,C=Math.round(20+10*+!!(null!==(b=(0,u.Ob)(n,"Isotope_Discovery"))&&void 0!==b?b:0)),k={account:n,atomReductionFromAtom:w,reduxSuperbit:S,bubbleBonus:x,atomColliderLevel:M,atomInfo:l,level:y},B=r(k),T=r({...k,level:y+1}),O=a({...k,maxLevel:C}),I=s(l,y,n);return{level:y,maxLevel:C,rawName:"Atom".concat(o),...(null===e.atomsInfo||void 0===e.atomsInfo?void 0:e.atomsInfo[o])||{},cost:Math.floor(B),nextLeveCost:Math.floor(T),costToMax:Math.floor(O),bonus:I}}),p=null==n?void 0:null===(o=n.accountOptions)||void 0===o?void 0:o[134],h=null==m?void 0:m.find(l=>{let{name:i}=l;return"Hydrogen_-_Stamp_Decreaser"===i});return{particles:c,atoms:m,stampReducer:Math.min(90,(null!==(t=null==h?void 0:h.level)&&void 0!==t?t:0)*p)}},r=l=>{var i;let{account:n,atomReductionFromAtom:o,reduxSuperbit:e,bubbleBonus:d,atomColliderLevel:u,atomInfo:t,level:v}=l;return 1/(1+(o+10*(e?1:0)+d+u/10+7*(null==n?void 0:null===(i=n.tasks)||void 0===i?void 0:i[2][4][6]))/100)*((null==t?void 0:t.x3)+(null==t?void 0:t.x1)*v)*Math.pow(null==t?void 0:t.x2,v)},a=l=>{let i=0;for(let n=null==l?void 0:l.level;n<(null==l?void 0:l.maxLevel);n++)i+=r({...l,level:n});return i},s=(l,i,n)=>{var o,e,d;if((null==l?void 0:l.name)==="Fluoride_-_Void_Plate_Chef"){let d=null==n?void 0:null===(e=n.cooking)||void 0===e?void 0:null===(o=e.meals)||void 0===o?void 0:o.reduce((l,i)=>{let{level:n}=i;return n>=30?l+1:l},0);return 100*(Math.pow(1+(null==l?void 0:l.baseBonus)*i/100,d)-1)}if((null==l?void 0:l.name)==="Carbon_-_Wizard_Maximizer")return(null==l?void 0:l.baseBonus)*(null==n?void 0:null===(d=n.towers)||void 0===d?void 0:d.wizardOverLevels)},c=(l,i)=>{var n,o;let e=null==l?void 0:null===(n=l.atoms)||void 0===n?void 0:n.atoms;return null==e?void 0:null===(o=e.filter(l=>(null==l?void 0:l.name)===i).map(n=>{var o;return"Fluoride_-_Void_Plate_Chef"===i?null==n?void 0:n.bonus:"Carbon_-_Wizard_Maximizer"!==i?(null==n?void 0:n.level)*(null==n?void 0:n.baseBonus):(null==n?void 0:n.baseBonus)*(null==l?void 0:null===(o=l.towers)||void 0===o?void 0:o.wizardOverLevels)}))||void 0===o?void 0:o[0]},m=l=>0===l?15e6:1===l?25e6:2===l?1e8:3===l?25e7:105e7},54381:function(l,i,n){n.d(i,{N5:function(){return a},XM:function(){return c},cg:function(){return f},du:function(){return h},eJ:function(){return g}});var o=n(67924),e=n(66092),d=n(6426),u=n(42915),t=n(79521),v=n(5497),r=n(69320);let a=(l,i)=>{let n=(0,e.tryToParse)(null==l?void 0:l.Breeding)||(null==l?void 0:l.Breeding),o=(0,e.tryToParse)(null==l?void 0:l.Pets)||(null==l?void 0:l.Pets),d=(0,e.tryToParse)(null==l?void 0:l.PetsStored)||(null==l?void 0:l.PetsStored);return s(n,(0,e.tryToParse)(null==l?void 0:l.Territory)||(null==l?void 0:l.Territory),o,d,(0,e.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking),i)},s=(l,i,n,e,d,u)=>{var t,v,r,a,s,c,m,p,h,f,g,y,M;let w=null==l?void 0:l[0],x=null==l?void 0:null===(t=l[3])||void 0===t?void 0:t[8],S=null==l?void 0:l[1],C=null==l?void 0:null===(v=l[2])||void 0===v?void 0:v.map((l,i)=>({...o.petUpgrades[i]||[],level:l})),k={second:(null==C?void 0:null===(r=C[2])||void 0===r?void 0:r.level)>0,third:(null==C?void 0:null===(a=C[4])||void 0===a?void 0:a.level)>0,fourth:(null==C?void 0:null===(s=C[6])||void 0===s?void 0:s.level)>0,fifth:(null==C?void 0:null===(c=C[9])||void 0===c?void 0:c.level)>0},B=null==e?void 0:e.map(l=>{let[i,n,o]=l;return{name:i,level:n,power:o}}),T=null==l?void 0:l.slice(4,8),O=null==l?void 0:l.slice(22,26),I=Math.round(5+(null==l?void 0:null===(m=l[2])||void 0===m?void 0:m[4])+2*(null!==(M=null==u?void 0:null===(p=u.gemShopPurchases)||void 0===p?void 0:p.find((l,i)=>125===i))&&void 0!==M?M:0)),E=null==n?void 0:n.slice(0,I),P=null==E?void 0:E.reduce((l,i)=>{let[n,,,o]=i;return 0===o?l:{...l,[n]:(null==l?void 0:l[n])?(null==l?void 0:l[n])+1:1}},{}),A=null==i?void 0:i.map(l=>{let[,i]=l;return i}),L=null==i?void 0:i.map(l=>{let[i]=l;return i}),N=null==n?void 0:null===(f=n.slice(27))||void 0===f?void 0:null===(h=f.map(l=>{var i;let[n,e,d,u]=l,t=null===o.petGenes||void 0===o.petGenes?void 0:o.petGenes[e],v=null===o.monsters||void 0===o.monsters?void 0:null===(i=o.monsters[n])||void 0===i?void 0:i.Name;return{name:n,realName:v,x1:e,power:d,x3:u,gene:t}}))||void 0===h?void 0:h.toChunks(4),R=null===o.territory||void 0===o.territory?void 0:o.territory.map((l,i)=>{var n,o,e,d,u,t;let v=N[i],r=N[i-1]||[],a=N[i+1]||[],s=null==v?void 0:v.reduce((l,i,n)=>l+_({team:v,previousTeam:r,teamMember:i,position:n}),0),c=null==v?void 0:v.reduce((l,i)=>l+b(i),0),m=(null==v?void 0:v.some(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.abilityType)===0}))?0:null==v?void 0:null===(n=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Flashy"}))||void 0===n?void 0:n.length,p=null==v?void 0:null===(o=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Fleeter"}))||void 0===o?void 0:o.length,h=null==v?void 0:null===(e=v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Fasidious"}))||void 0===e?void 0:e.length,f=null==v?void 0:v.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Miasma"});f&&(f=(null==v?void 0:null===(t=v.map(l=>{let{gene:i}=l;return null==i?void 0:i.name}))||void 0===t?void 0:t.every((l,i,n)=>n.indexOf(i)===l))?1:4);let g=[...v,...r,...a],y=null==g?void 0:null===(d=g.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Badumdum"}))||void 0===d?void 0:d.length,M=null==g?void 0:null===(u=g.filter(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Tsar"}))||void 0===u?void 0:u.length,w=s*Math.pow(1.3,p)*Math.pow(1.2,y)*Math.pow(1.5,m)*Math.pow(1.5,h)*f,x=(c+s*i)*Math.pow(1.5,M){var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Monolithic"}).length/5+1),C=((null==l?void 0:l.powerReq)+(null==A?void 0:A[i]))*Math.pow(S,null==A?void 0:A[i]);return{...l,team:v,forageSpeed:x,reqProgress:C,currentProgress:null==L?void 0:L[i]}}),q=[],D={},F=null===o.petStats||void 0===o.petStats?void 0:o.petStats.map((l,i)=>{let n=null==S?void 0:S[i];return null==l?void 0:l.map((l,o)=>{var e,d,u,t,v;let r=null===(e=Array(19).fill(1))||void 0===e?void 0:e.reduce((l,n,e)=>{var d;return(null==O?void 0:null===(d=O[i])||void 0===d?void 0:d[o])>Math.floor((1+Math.pow(e+1,1.6))*Math.pow(1.7,e+1))?e+2:l},0),a=Math.floor((1+Math.pow(r=(null==O?void 0:null===(d=O[i])||void 0===d?void 0:d[o])===0?0:0===r?1:r,1.6))*Math.pow(1.7,r)),s=Math.round((null==l?void 0:l.baseValue)*r),c={...l,world:"World"+(i+1),level:null==T?void 0:null===(u=T[i])||void 0===u?void 0:u[o],shinyLevel:r,progress:null==O?void 0:null===(t=O[i])||void 0===t?void 0:t[o],goal:a,rawPassive:null==l?void 0:l.passive,passive:null==l?void 0:null===(v=l.passive)||void 0===v?void 0:v.replace("{",s),passiveValue:s,unlocked:o0&&(D[null==l?void 0:l.passive]=s),(null==P?void 0:P[null==l?void 0:l.monsterRawName])&&q.push(c),c})});return{passivesTotals:D,storedPets:B,eggs:w,deadCells:x,speciesUnlocks:S,fencePets:q,fencePetsObject:P,maxArenaLevel:null==u?void 0:null===(g=u.accountOptions)||void 0===g?void 0:g[89],timeToNextEgg:(null==u?void 0:null===(y=u.accountOptions)||void 0===y?void 0:y[87])*1e3,petUpgrades:C,arenaBonuses:o.arenaBonuses,unlockedBreedingMulti:k,pets:F,territories:R,foragingRounds:A,currentProgress:L}},c=(l,i)=>{var n,o;let d=(0,e.tryToParse)(null==l?void 0:l.Breeding)||(null==l?void 0:l.Breeding),u=null==i?void 0:null===(o=i.breeding)||void 0===o?void 0:null===(n=o.pets)||void 0===n?void 0:n.map((l,n)=>null==l?void 0:l.map((l,o)=>{var e,u;let t=(0,v.eA)(null==i?void 0:null===(e=i.cooking)||void 0===e?void 0:e.kitchens),r=p(i,d,n,o,null==i?void 0:null===(u=i.breeding)||void 0===u?void 0:u.unlockedBreedingMulti,t);return{...l,breedingMultipliers:r}}));return{...null==i?void 0:i.breeding,pets:u}},m=(l,i,n)=>{let e=o.randomList[54].split(" ");return n+2>l[1][i]?1/Math.max(1,e[o.petStats[i][n].passiveIndex]):1},p=(l,i,n,e,r,a)=>{var s,c,p,h,f,_,b,y,M,w;let x=1+Math.ceil(100*Math.pow(i[4+n|0][e]/10,1.9))/100,S=(null==r?void 0:r.second)?1+Math.log(Math.max(1,Math.pow(i[n+13|0][e]+1,.725))):1,C=(null==r?void 0:r.third)?1+(.25*Math.pow(i[0][0],1.4)+Math.pow(i[0][0]/3,6)):1,k=(null==r?void 0:r.fourth)?0===n?1:1+.1*n+Math.max(1,Math.min(3,1+.15*i[2][7]))*Math.pow(i[1][n-1|0]/(o.petStats[n-1].length-o.petStats[n-1].length/2),3):1,B=(null==r?void 0:r.fifth)?Math.max(1,Math.pow((null==l?void 0:null===(s=l.accountOptions)||void 0===s?void 0:s[86])+1,.3)):1,T=m(i,n,e),O=null!==(w=null==l?void 0:null===(c=l.gemShopPurchases)||void 0===c?void 0:c.find((l,i)=>119===i))&&void 0!==w?w:0,I=(0,d.YG)(null==l?void 0:null===(p=l.alchemy)||void 0===p?void 0:p.vials,null,"NewPet"),E=(0,d.om)(null==l?void 0:null===(h=l.alchemy)||void 0===h?void 0:h.bubbles,"kazam","PETTING_THE_RIFT",!1),P=(0,u.mV)(null==l?void 0:l.stamps,"New_Pet_Chance"),A=(0,t.c9)(null==l?void 0:null===(f=l.lab)||void 0===f?void 0:f.labBonuses,8),L=(0,t.pc)(null==l?void 0:null===(_=l.lab)||void 0===_?void 0:_.jewels,16,A),N=(0,v.F4)(l,null,"Npet",L),R=g(null==l?void 0:null===(y=l.breeding)||void 0===y?void 0:null===(b=y.petUpgrades)||void 0===b?void 0:b[9],9,l),q=(1+10*O/100)*(1+(I+E*(null==l?void 0:null===(M=l.rift)||void 0===M?void 0:M.currentRift))/100)*(1+P/100)*(1+N/100)*Math.pow(Math.max(1,R),a/100)*T*x*S*C*k*B;return{first:x,second:S,third:C,fourth:k,fifth:B,totalChance:q}},h=(l,i)=>null==l?void 0:l.reduce((l,n)=>l+(null==n?void 0:n.reduce((l,n)=>{let{passive:o,passiveValue:e}=n;return l+(o.includes(i)&&e)},0)),0),f=(l,i,n,o)=>{if((null==l?void 0:l.shinyLevel)===o)return 0;let e=0;for(let i=null==l?void 0:l.shinyLevel;i0===i||2===i||4===i?null==l?void 0:l.level:1===i?4*(null==l?void 0:l.level):3===i?25*(null==l?void 0:l.level):5===i?(1+.25*(null==l?void 0:l.level))*Math.min(2,Math.max(1,1+.1*(0,r.k)(null==n?void 0:n.achievements,221))):6===i?6*(null==l?void 0:l.level):7===i?1+.15*(null==l?void 0:l.level):8===i?1+2*(null==l?void 0:l.level):9===i?1+.02*(null==l?void 0:l.level):10===i?10*(null==l?void 0:l.level):11===i?Math.ceil(12*Math.pow(null==l?void 0:l.level,.698)):0,_=l=>{var i,n,o,e;let{team:d,previousTeam:u,teamMember:t,position:v}=l;if((null==t?void 0:null===(i=t.gene)||void 0===i?void 0:i.abilityType)===1){switch(null==t?void 0:null===(n=t.gene)||void 0===n?void 0:n.name){case"Forager":return 2*(null==t?void 0:t.power);case"Targeter":if((null==u?void 0:null===(e=u[v])||void 0===e?void 0:null===(o=e.gene)||void 0===o?void 0:o.name)==="Targeter")return 5*(null==t?void 0:t.power);break;case"Opticular":if(null==d?void 0:d.every(l=>l.power<=t.power))return 3*(null==t?void 0:t.power);break;case"Borger":if(u.some(l=>{var i;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.name)==="Forager"}))return 10*(null==t?void 0:t.power)}return null==t?void 0:t.power}return 0},b=l=>{var i,n;return(null==l?void 0:null===(i=l.gene)||void 0===i?void 0:i.abilityType)===0?(null==l?void 0:null===(n=l.gene)||void 0===n?void 0:n.name)==="Mercenary"?2*l.power:l.power:0}},80257:function(l,i,n){n.d(i,{k:function(){return t},t:function(){return d}});var o=n(66092),e=n(67924);let d=l=>u((null==l?void 0:l.BribeStatus)||(0,o.tryToParse)(null==l?void 0:l.BribeStatus)),u=l=>null==l?void 0:l.reduce((l,i,n)=>-1!==i?[...l,{...(null===e.bribes||void 0===e.bribes?void 0:e.bribes[n])||[],done:1===i}]:l,[]),t=(l,i)=>{var n,o;return null!==(o=null==l?void 0:null===(n=l.find(l=>{let{name:n,done:o}=l;return n===i&&o}))||void 0===n?void 0:n.value)&&void 0!==o?o:0}},98118:function(l,i,n){n.d(i,{BZ:function(){return c},OK:function(){return s},V3:function(){return m},Xt:function(){return a},vm:function(){return d}});var o=n(67924),e=n(66092);let d=(l,i)=>{var n;return v((null==l?void 0:null===(n=l.Cards)||void 0===n?void 0:n[0])||(0,e.tryToParse)(null==l?void 0:l.Cards0),(0,e.tryToParse)(null==l?void 0:l.Rift)||(null==l?void 0:l.Rift),i)},u=(l,i,n,o)=>{let e=0;for(let d=0;d<4+ +o;d++)"Boss3B"===n?i>1.5*Math.pow(d+1+Math.floor(d/3),2)&&(e=d+2):i>l*Math.pow(d+1+(Math.floor(d/3)+16*Math.floor(d/4)),2)&&(e=d+2);return e>0?e-1:e},t=(l,i,n)=>i>=5?0:l*Math.pow(i+1+(Math.floor((i+1)/4)+16*Math.floor((i+1)/5)),2)-n+1,v=(l,i,n)=>{let[e]=i||[],d=e>=45;return Object.entries(l).reduce((l,i)=>{var e,v;let[r,a]=i,s=null===o.cards||void 0===o.cards?void 0:o.cards[r],c=(null==n?void 0:null===(e=n.accountOptions)||void 0===e?void 0:e[155])||"",m=(null==c?void 0:null===(v=c.toString())||void 0===v?void 0:v.split(","))||[],p=(null==m?void 0:m.includes(r))?5:u(null==s?void 0:s.perTier,a,r,d);return s?{...l,[null==s?void 0:s.displayName]:{...s,amount:a,stars:p,nextLevelReq:a+t(null==s?void 0:s.perTier,p,a)}}:l},{})},r=(l,i)=>l&&i?i/(null==l?void 0:l.bonus)-1:null,a=(l,i)=>{var n;let o=null==l?void 0:null===(n=l.equippedCards)||void 0===n?void 0:n.find(l=>{let{cardIndex:n}=l;return n===i});return o?c(o):0},s=(l,i)=>{var n;return null===(n=Object.values(l||{}))||void 0===n?void 0:n.reduce((l,n)=>{var o;return(null==n?void 0:null===(o=n.effect)||void 0===o?void 0:o.includes(i))?l+c(n):l},0)},c=l=>{var i,n,o;return l?(null==l?void 0:l.bonus)*((null!==(i=null==l?void 0:l.stars)&&void 0!==i?i:-1)+1)*(null!==(n=null==l?void 0:l.chipBoost)&&void 0!==n?n:1):0},m=(l,i)=>{var n,e,d,u;if(!(null==l?void 0:l.CSetEq)&&!(null==l?void 0:l.CardEquip))return{};let t=null==l?void 0:l.CSetEq,v=null==l?void 0:null===(n=l.CardEquip)||void 0===n?void 0:n.map(l=>{var n,e,d;return{cardName:null===o.cards||void 0===o.cards?void 0:null===(n=o.cards[l])||void 0===n?void 0:n.displayName,...(null==i?void 0:null===(d=i.cards)||void 0===d?void 0:d[null===o.cards||void 0===o.cards?void 0:null===(e=o.cards[l])||void 0===e?void 0:e.displayName])||{}}}).filter((l,i)=>i<8),a=o.cardSets[null===(e=Object.keys(t))||void 0===e?void 0:e[0]]||{};return{cardSet:{...a,bonus:null===(d=Object.values(t))||void 0===d?void 0:d[0],stars:r(a,null===(u=Object.values(t))||void 0===u?void 0:u[0])},equippedCards:v}}},14581:function(l,i,n){n.d(i,{NA:function(){return ll},P9:function(){return G},SD:function(){return j},VK:function(){return U},WU:function(){return z},Yp:function(){return K},bv:function(){return H},nR:function(){return Z},ql:function(){return F},wJ:function(){return X},x6:function(){return $}});var o=n(67924),e=n(21351),d=n(2127),u=n(51603),t=n(45819),v=n(14802),r=n(98118),a=n(42915),s=n(83524),c=n(6426),m=n(84664),p=n(64169),h=n(65455),f=n(2035),g=n(6896),_=n(94336),b=n(34010),y=n(97424),M=n(15984),w=n(5497),x=n(70715),S=n(15719),C=n(56657),k=n(79521),B=n(69320),T=n(66092),O=n(86722),I=n(72810),E=n(54381),P=n(70436),A=n(83672),L=n(95039),N=n(17844);let{tryToParse:R,createIndexedArray:q,createArrayOfArrays:D}=n(66092),F=(l,i)=>{let n=i||[0,1,2,3,4,5,6,7,8];return null==n?void 0:n.map((i,n)=>{var o;let e=null===(o=Object.entries(l))||void 0===o?void 0:o.reduce((l,i)=>{let[o,e]=i;if(RegExp("_".concat(n),"g").test(o)){let i=R(e),n=o,u=[];switch(!0){case o.includes("EquipOrder"):n="EquipmentOrder",e=D(e);break;case o.includes("EquipQTY"):n="EquipmentQuantity",e=D(e);break;case o.includes("AnvilPA_"):n="AnvilPA",i=D(e);break;case o.includes("EMm0"):{n="EquipmentMap",u=null==l?void 0:l[n];let o=q(i);u?u.splice(0,0,o):u=[o];break}case o.includes("IMm_"):n="InventoryMap",i=R(e);break;case o.includes("EMm1"):{n="EquipmentMap",u=null==l?void 0:l[n];let o=q(i);u?u.splice(1,0,o):u=[o];break}case o.includes("BuffsActive"):n="BuffsActive",u=D(i);break;case o.includes("ItemQTY"):n="ItemQuantity";break;case o.includes("PVStatList"):n="PersonalValuesMap",i={...(null==l?void 0:l[n])||{},StatList:R(e)};break;case o.includes("PVtStarSign"):n="PersonalValuesMap",i={...(null==l?void 0:l[n])||{},StarSign:R(e)};break;case o.includes("ObolEqO0"):n="ObolEquippedOrder";break;case o.includes("ObolEqMAP"):n="ObolEquippedMap";break;case o.includes("SL_"):n="SkillLevels";break;case o.includes("SM_"):n="SkillLevelsMAX";break;case o.includes("KLA_"):n="KillsLeft2Advance";break;case o.includes("AtkCD_"):n="AttackCooldowns";break;case o.includes("POu_"):n="PostOfficeInfo";break;case o.includes("PTimeAway"):n="PlayerAwayTime",i*=1e3;break;default:var d;n=null==o?void 0:null===(d=o.split("_"))||void 0===d?void 0:d[0]}return{...l,[n]:(null==u?void 0:u.length)?u:i}}return{...l}},{});return{name:i,playerId:n,...e}})},j=(l,i,n,a)=>{var m,p,f,g,_,y,M,w,B,T,O,I,E,A,L,N,R,q,D,F,j,G,U,H,X,K,z,Q,Z,$,ll,li,ln,lo,le,ld,lu,lt,lv,lr,la,ls,lc,lm,lp,lh,lf,lg;let l_;let lb={};if(lb.playerId=l.playerId,lb.name=l.name,!(null==l?void 0:l.CharacterClass))return lb;lb.classIndex=null==l?void 0:l.CharacterClass,lb.class=null===o.classes||void 0===o.classes?void 0:o.classes[null==l?void 0:l.CharacterClass],lb.afkTime=(0,e.XQ)(null==l?void 0:l.PlayerAwayTime,null==n?void 0:null===(m=n.timeAway)||void 0===m?void 0:m.GlobalTime),lb.afkTarget=null===o.monsters||void 0===o.monsters?void 0:null===(p=o.monsters[null==l?void 0:l.AFKtarget])||void 0===p?void 0:p.Name,lb.afkType=null===o.monsters||void 0===o.monsters?void 0:null===(f=o.monsters[null==l?void 0:l.AFKtarget])||void 0===f?void 0:f.AFKtype,lb.targetMonster=null==l?void 0:l.AFKtarget;let ly=null==l?void 0:l.CurrentMap;lb.mapIndex=ly,lb.currentMap=null===o.mapNames||void 0===o.mapNames?void 0:o.mapNames[ly],lb.money=parseFloat(null==l?void 0:l.Money),lb.cooldowns=null==l?void 0:l.AttackCooldowns;let lM={0:"strength",1:"agility",2:"wisdom",3:"luck",4:"level"};lb.stats=null==l?void 0:null===(_=l.PersonalValuesMap)||void 0===_?void 0:null===(g=_.StatList)||void 0===g?void 0:g.reduce((l,i,n)=>lM[n]?{...l,[lM[n]]:i}:l,{}),lb.level=(null==lb?void 0:null===(y=lb.stats)||void 0===y?void 0:y.level)||0;let lw=Object.keys(null==l?void 0:l.InvBagsUsed);lb.invBagsUsed=Object.entries(o.invBags).map(l=>{let[i,n]=l,o=i.match(/[0-9]+/g)[0];return(o=100>parseInt(o)?o-1:o,lw.includes(String(o)))?{...n,rawName:i,acquired:!0}:{...n,rawName:i}});let lx=(null==l?void 0:l.MaxCarryCap)||[];lb.maxCarryCap=lx,lb.carryCapBags=Object.keys(lx).sort(function(l,i){return l.localeCompare(i)}).map(l=>{var i;if("Quests"!==l&&"fillerz"!==l&&"Statues"!==l)return(null===o.carryBags||void 0===o.carryBags?void 0:null===(i=o.carryBags[l])||void 0===i?void 0:i[lx[l]])||{rawName:"MaxCapBagNone",displayName:l,Class:l,capacity:lx[l],Type:"CARRY"}}).filter(l=>l),lb.statues=null==l?void 0:l.StatueLevels;let lS={0:"armor",1:"tools",2:"food"},lC=null==l?void 0:null===(M=l.EquipmentOrder)||void 0===M?void 0:M.reduce((l,i,n)=>({...l,[null==lS?void 0:lS[n]]:i}),{}),lk=null===(w=l.EquipmentQuantity)||void 0===w?void 0:w.reduce((l,i,n)=>({...l,[null==lS?void 0:lS[n]]:i}),{}),lB=null===(B=l.EquipmentMap)||void 0===B?void 0:B[0];lb.equipment=(0,d.tT)(lC.armor,lB,lb.name);let lT=null===(T=l.EquipmentMap)||void 0===T?void 0:T[1];lb.tools=(0,d.tT)(lC.tools,lT,lb.name),lb.food=Array.from(Object.values(lC.food)).reduce((l,i,n)=>{var e;return i?[...l,{name:null===o.items||void 0===o.items?void 0:null===(e=o.items[i])||void 0===e?void 0:e.displayName,rawName:i,owner:lb.name,amount:parseInt(lk.food[n]||lk.food[n]),...(null===o.items||void 0===o.items?void 0:o.items[i])||{}}]:l},[]);let lO=l.InventoryOrder,lI=l.ItemQuantity,lE=l.InventoryMap;lb.inventory=(0,u.$v)(lO,lI,lb.name,lE),lb.inventorySlots=null==lO?void 0:lO.reduce((l,i)=>l+("LockedInvSpace"!==i?1:0),0);let lP=(null==l?void 0:null===(O=l.PersonalValuesMap)||void 0===O?void 0:O.StarSign)||"";lb.starSigns=lP.split(",").map(l=>l&&"_"!==l?null===o.starSignByIndexMap||void 0===o.starSignByIndexMap?void 0:o.starSignByIndexMap[l]:null).filter(l=>l),lb.equippedBubbles=null==n?void 0:null===(I=n.equippedBubbles)||void 0===I?void 0:I[null==l?void 0:l.playerId];let lA=null==l?void 0:l.Exp0,lL=null==l?void 0:l.ExpReq0,lN=(null==l?void 0:l.Lv0)||[];lb.skillsInfo=lN.reduce((l,i,n)=>{var o,e;return n<16?{...l,[null===(o=t.Pe[n])||void 0===o?void 0:o.name]:{level:-1!==i?i:0,exp:parseFloat(lA[n]),expReq:parseFloat(lL[n]),icon:null===(e=t.Pe[n])||void 0===e?void 0:e.icon,index:n}}:l},{}),lb.skillsInfoArray=Object.entries(lb.skillsInfo||{}).reduce((l,i)=>{let[n,o]=i;return[...l,{...o,skillName:n}]},[]).sort((l,i)=>l.index-i.index);let lR=null==l?void 0:l.SkillLevels,lq=null==l?void 0:l.SkillLevelsMAX,lD=null===v.pV||void 0===v.pV?void 0:v.pV[null==lb?void 0:lb.class],{flat:lF,talents:lj}=(0,v.o1)(null==lb?void 0:lb.class,lD,lR,lq);lb.talents=lj,lb.flatTalents=lF;let{flat:lG,talents:lU}=(0,v.o1)(null==lb?void 0:lb.class,["Special Talent 1","Special Talent 2","Special Talent 3","Special Talent 4","Special Talent 5"],lR,lq,!0);lb.starTalents=lU,lb.flatStarTalents=lG;let lH=null==l?void 0:l.BuffsActive;lb.activeBuffs=(0,v.ju)(lH,[...lF||[],...lG||[]]),lb.activePrayers=null==l?void 0:null===(A=l.Prayers)||void 0===A?void 0:null===(E=A.filter(l=>-1!==l).map(l=>{var i;return null==n?void 0:null===(i=n.prayers)||void 0===i?void 0:i[l]}))||void 0===E?void 0:E.filter(l=>l),lb.postOffice=(0,s.dQ)(null==l?void 0:l.PostOfficeInfo,n),lb.cards=(0,r.V3)(l,n);let lV=null==n?void 0:null===(R=n.lab)||void 0===R?void 0:null===(N=R.playersChips)||void 0===N?void 0:null===(L=N[null==l?void 0:l.playerId])||void 0===L?void 0:L.find(l=>20===l.index),lY=null==n?void 0:null===(F=n.lab)||void 0===F?void 0:null===(D=F.playersChips)||void 0===D?void 0:null===(q=D[null==l?void 0:l.playerId])||void 0===q?void 0:q.find(l=>21===l.index);lb.cards.equippedCards=null==lb?void 0:null===(G=lb.cards)||void 0===G?void 0:null===(j=G.equippedCards)||void 0===j?void 0:j.map((l,i)=>0===i&&lV||7===i&&lY?{...l,chipBoost:2}:l),lb.anvil=(0,h.KC)(l);let lW=(0,x.dR)(l,!1);lb.obols={...lW,stats:(0,x.eX)(lW,n.obols)},lb.worship=(0,S.T8)(lb,lD,n,null==l?void 0:null===(U=l.PlayerStuff)||void 0===U?void 0:U[0]),lb.quests=(0,C.GU)(null==l?void 0:l.QuestComplete),lb.crystalSpawnChance=W(lb,n,a),lb.nonConsumeChance=J(lb,n);let lX=null==l?void 0:l.KillsLeft2Advance;lb.kills=null==lX?void 0:lX.reduce((l,i,n)=>{var e;return[...l,parseFloat(null===o.mapPortals||void 0===o.mapPortals?void 0:null===(e=o.mapPortals[n])||void 0===e?void 0:e[0])-parseFloat(null==i?void 0:i[0])]},[]);let lK=null===(H=t.du.mining)||void 0===H?void 0:H[ly],lz=null===(X=t.du.fishing)||void 0===X?void 0:X[ly],lQ=0,lZ;lK?(lQ=null===(la=lb.skillsInfo)||void 0===la?void 0:null===(lr=la.mining)||void 0===lr?void 0:lr.level,lZ="ClassIconsM"):lz?(lQ=null===(lc=lb.skillsInfo)||void 0===lc?void 0:null===(ls=lc.fishing)||void 0===ls?void 0:ls.level,lZ="ClassIcons45"):(lQ=parseFloat(null===o.mapPortals||void 0===o.mapPortals?void 0:null===(lm=o.mapPortals[ly])||void 0===lm?void 0:lm[0])-parseFloat(null==lX?void 0:lX[ly]),lZ="ClassIconsF"),lb.nextPortal={goal:null!==(lh=null===o.mapPortals||void 0===o.mapPortals?void 0:null===(K=o.mapPortals[ly])||void 0===K?void 0:K[0])&&void 0!==lh?lh:0,current:lQ,currentIcon:lZ},lb.zow=Y(lX,[1e5]),lb.chow=Y(lX,[1e6,1e8]);let lJ=(0,c.y7)(lb.equippedBubbles,"kazam","BIG_P",n),l$=null===(Q=lb.skillsInfo)||void 0===Q?void 0:null===(z=Q.divinity)||void 0===z?void 0:z.level,l0=null==n?void 0:null===($=n.divinity)||void 0===$?void 0:null===(Z=$.linkedDeities)||void 0===Z?void 0:Z[lb.playerId];if(lb.linkedDeity=l0,-1!==l0&&(lb.deityMinorBonus=(0,P.kI)(lb,n)),(null==lb?void 0:lb.class)==="Elemental_Sorcerer"){let i=(null==l?void 0:null===(lf=l.SkillLevels)||void 0===lf?void 0:lf[505])%10,n=null===o.gods||void 0===o.gods?void 0:o.gods[i];if(n&&(null==n?void 0:n.godIndex)!==l0){l_=null==n?void 0:n.godIndex;let l=null===o.gods||void 0===o.gods?void 0:null===(lg=o.gods[l_])||void 0===lg?void 0:lg.minorBonusMultiplier;lb.secondLinkedDeityIndex=i,lb.secondDeityMinorBonus=l$/(60+l$)*Math.max(1,lJ)*l}}let l1=null==n?void 0:null===(li=n.divinity)||void 0===li?void 0:null===(ll=li.linkedStyles)||void 0===ll?void 0:ll[null==lb?void 0:lb.playerId];lb.divStyle={...null===o.divStyles||void 0===o.divStyles?void 0:o.divStyles[l1],index:l1},lb.isDivinityConnected=(null==n?void 0:null===(lo=n.divinity)||void 0===lo?void 0:null===(ln=lo.linkedDeities)||void 0===ln?void 0:ln[null==lb?void 0:lb.playerId])===4||(0,k.Rp)(lb,4);let l2=(0,e.Hx)(i,"Elemental_Sorcerer"),l5=(0,b.D)(o.classFamilyBonuses,"LV_FOR_ALL_TALENTS_ABOVE_LV_1",l2);if((null==lb?void 0:lb.class)==="Elemental_Sorcerer"){l5*=1+(0,v._X)(null==lb?void 0:lb.talents,3,"THE_FAMILY_GUY")/100;let l=(0,b.q)(o.classFamilyBonuses,"LV_FOR_ALL_TALENTS_ABOVE_LV_1");l5=(0,v.VG)(l5,null==l?void 0:l.func,null==l?void 0:l.x1,null==l?void 0:l.x2)}return lb.addedLevels=(0,v.J0)(lj,null,l0,lb.secondLinkedDeityIndex,lb.deityMinorBonus,lb.secondDeityMinorBonus,l5,n,lb),lb.talents=(0,v.Nb)(lj,null,lb.addedLevels),lb.flatTalents=(0,v.Nb)(lj,lF,lb.addedLevels),lb.activeBuffs=null===(le=lb.activeBuffs)||void 0===le?void 0:le.map(l=>{var i;let{name:n}=l;return null===(i=lb.flatTalents)||void 0===i?void 0:i.find(l=>{let{name:i}=l;return i===n})}),lb.talentsLoadout=null==l?void 0:null===(lt=l.AttackLoadout)||void 0===lt?void 0:null===(lu=lt.flat())||void 0===lu?void 0:null===(ld=lu.filter(l=>"Null"!==l))||void 0===ld?void 0:ld.map(l=>{var i,n;return(null===(i=lb.flatTalents)||void 0===i?void 0:i.find(i=>{let{skillIndex:n}=i;return l===n}))||(null===(n=lb.flatStarTalents)||void 0===n?void 0:n.find(i=>{let{skillIndex:n}=i;return l===n}))}),lb.npcDialog=null==l?void 0:l.NPCdialogue,lb.questComplete=null==l?void 0:l.QuestComplete,lb.questCompleted=null===(lv=Object.entries(null==l?void 0:l.QuestComplete))||void 0===lv?void 0:lv.reduce((l,i)=>{let[n,o]=i;return l+(1===o?1:0)},0),lb.printerSample=V(lb,n,i),lb},G=(l,i)=>{var n,e,u,t,v,r,a,s,c,m,h,f,g,b,y,M,w,S,C,T,O,I,E,P,A,L,N,R,q,D,F,j;let{targetMonster:G}=l,U=null===o.monsters||void 0===o.monsters?void 0:o.monsters[G];if(!U||(null==U?void 0:U.AFKtype)==="Nothing")return{respawnRate:0,breakdown:[{name:"Not fighting",value:"TOWN"}]};let H="riftAll"===G,{RespawnTime:V,worldIndex:Y}=U,W=(0,_.wt)(null==i?void 0:i.shrines,7,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(n=i.sailing)||void 0===n?void 0:n.artifacts),X=(0,k.gw)(l,i,10),K=(0,d.zi)(l,47,i),z=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(e=o.bonuses.etcBonuses)||void 0===e?void 0:e[47]),Q=(0,p.o9)(l,i,"Mob_Respawn_rate"),Z=(0,B.k)(null==i?void 0:i.achievements,44),J=null==i?void 0:null===(v=i.tasks)||void 0===v?void 0:null===(t=v[2])||void 0===t?void 0:null===(u=t[0])||void 0===u?void 0:u[1],$=null==i?void 0:null===(s=i.meritsDescriptions)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:null===(r=a[1])||void 0===r?void 0:r.bonusPerLevel,ll=(0,B.k)(null==i?void 0:i.achievements,109),li=null==i?void 0:null===(h=i.tasks)||void 0===h?void 0:null===(m=h[2])||void 0===m?void 0:null===(c=m[1])||void 0===c?void 0:c[1],ln=null==i?void 0:null===(b=i.meritsDescriptions)||void 0===b?void 0:null===(g=b[1])||void 0===g?void 0:null===(f=g[1])||void 0===f?void 0:f.bonusPerLevel,lo=null==i?void 0:null===(w=i.tasks)||void 0===w?void 0:null===(M=w[2])||void 0===M?void 0:null===(y=M[1])||void 0===y?void 0:y[1],le=null==i?void 0:null===(T=i.meritsDescriptions)||void 0===T?void 0:null===(C=T[1])||void 0===C?void 0:null===(S=C[1])||void 0===S?void 0:S.bonusPerLevel,ld=null==i?void 0:null===(E=i.tasks)||void 0===E?void 0:null===(I=E[2])||void 0===I?void 0:null===(O=I[3])||void 0===O?void 0:O[1],lu=null==i?void 0:null===(L=i.meritsDescriptions)||void 0===L?void 0:null===(A=L[3])||void 0===A?void 0:null===(P=A[1])||void 0===P?void 0:P.bonusPerLevel,lt=(0,B.k)(null==i?void 0:i.achievements,308),lv=null==i?void 0:null===(q=i.tasks)||void 0===q?void 0:null===(R=q[2])||void 0===R?void 0:null===(N=R[4])||void 0===N?void 0:N[1],lr=null==i?void 0:null===(j=i.meritsDescriptions)||void 0===j?void 0:null===(F=j[4])||void 0===F?void 0:null===(D=F[1])||void 0===D?void 0:D.bonusPerLevel,la=1===Y||H?J*$:2===Y?li*ln:3===Y?lo*le:4===Y?ld*lu:5===Y?lv*lr:0,ls=1===Y||H?Z:2===Y?ll:5===Y?2*lt:0,lc=[{name:"Shrine",value:W/100},{name:"Equipment",value:K/100},{name:"Achievement",value:ls/100},{name:"Chip",value:X/100},{name:"Starsigns",value:Q/100},{name:"Merit",value:la/100}];return lc.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{respawnRate:(H?45:V)/(1+(W+X+(K+z)+ls+Q+la)/100),breakdown:lc}},U=(l,i,n)=>{var u,t,m,h,b,y,M,w,S,C,B,I,P,L,N,R,q,D,F,j,G,U,H;let V;let{luck:Y}=(null==l?void 0:l.stats)||{};V=Y<1e3?(Math.pow(Y+1,.37)-1)/40:(Y-1e3)/(Y+2500)*.5+.297;let W=(0,s.xV)(null==l?void 0:l.postOffice,"Non_Predatory_Loot_Box",0),X=(0,v._X)(null==l?void 0:l.talents,1,"ROBBINGHOOD"),K=(0,v._X)(null==l?void 0:l.talents,1,"CURSE_OF_MR_LOOTY_BOOTY"),z=(0,v._X)(null==l?void 0:l.starTalents,null,"BOSS_BATTLE_SPILLOVER"),Q=(0,d.zi)(l,2,i),Z=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(u=o.bonuses.etcBonuses)||void 0===u?void 0:u[2]),J=(0,c.om)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.bubbles,"kazam","DROPPIN_LOADS",!1),$=(0,r.OK)(null==l?void 0:null===(m=l.cards)||void 0===m?void 0:m.equippedCards,"Total_Drop_Rate"),ll=(0,g._r)(null==i?void 0:null===(h=i.guild)||void 0===h?void 0:h.guildBonuses,10),li=(null==l?void 0:null===(y=l.cards)||void 0===y?void 0:null===(b=y.cardSet)||void 0===b?void 0:b.rawName)==="CardSet26"||(null==l?void 0:null===(w=l.cards)||void 0===w?void 0:null===(M=w.cardSet)||void 0===M?void 0:M.rawName)==="CardSet25"?null==l?void 0:null===(C=l.cards)||void 0===C?void 0:null===(S=C.cardSet)||void 0===S?void 0:S.bonus:0,ln=(0,_.wt)(null==i?void 0:i.shrines,4,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(B=i.sailing)||void 0===B?void 0:B.artifacts),lo=null===(I=(0,f.Y0)(null==l?void 0:l.activePrayers,"Midas_Minded",i))||void 0===I?void 0:I.bonus,le=(0,c.Vq)(null==i?void 0:null===(L=i.alchemy)||void 0===L?void 0:null===(P=L.p2w)||void 0===P?void 0:P.sigils,"TROVE"),ld=(0,E.du)(null==i?void 0:null===(N=i.breeding)||void 0===N?void 0:N.pets,"Drop_Rate"),lu=(0,p.o9)(l,i,"Drop_Rate"),lt=(0,a.mV)(null==i?void 0:i.stamps,"+{%_Drop_Rate"),lv=1+(0,v.A5)(n,3,"Siege_Breaker","ARCHLORD_OF_THE_PIRATES",null,!0)*(0,T.lavaLog)(null==i?void 0:null===(R=i.accountOptions)||void 0===R?void 0:R[139])/100,lr=(0,e.fe)(i,3)?null==i?void 0:null===(F=i.companions)||void 0===F?void 0:null===(D=F.list)||void 0===D?void 0:null===(q=D.at(3))||void 0===q?void 0:q.bonus:0,la=null===(j=(0,O.d)(null==i?void 0:null===(G=i.arcade)||void 0===G?void 0:G.shop,"Drop_Rate"))||void 0===j?void 0:j.bonus,ls=(0,A.z)(null==i?void 0:null===(U=i.equinox)||void 0===U?void 0:U.upgrades,"Faux_Jewels"),lc=(0,k.gw)(l,i,3),lm=1.4*V+(X+W+(Q+Z)+J+$+K+lu+ll+li+ln+lo+le+ld+la+lr+lt+(z*(null==i?void 0:null===(H=i.accountOptions)||void 0===H?void 0:H[189])+ls))/100+1;lm<5&&lc>0&&(lm=Math.min(5,lm+lc/100));let lp=lm*lv,lh=(0,e.U7)(null==i?void 0:i.bundles,"bun_p");lh&&(lp*=1.2);let lf=[{name:"Luck",value:1.4*V},{name:"Talents",value:(X+K)/100},{name:"Post Office",value:W/100},{name:"Equipment",value:Q/100},{name:"Obols",value:Z/100},{name:"Bubble",value:J/100},{name:"Cards",value:($+li)/100},{name:"Shrine",value:ln/100},{name:"Prayers",value:lo/100},{name:"Sigil",value:le/100},{name:"Shiny",value:ld/100},{name:"Arcade",value:la/100},{name:"Starsign",value:lu/100},{name:"Guild",value:ll/100},{name:"Siege Breaker",value:lv},{name:"Companion",value:lr/100},{name:"Equinox",value:5*ls/100},{name:"Gem Bundle",value:lh?1.2:0},{name:"Base",value:1}];return lf.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{dropRate:lp,breakdown:lf}},H=(l,i,n)=>{var u,t,a,p,h,_,b,y,S,C,T,O,E,A,L,N,R,q,D,F,j;let{strength:G,agility:H,wisdom:V}=(null==l?void 0:l.stats)||{},Y=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"power","PENNY_OF_STRENGTH",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="strength"),W=(0,c.om)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.bubbles,"quicc","DOLLAR_OF_AGILITY",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="agility"),X=(0,c.om)(null==i?void 0:null===(a=i.alchemy)||void 0===a?void 0:a.bubbles,"high-iq","NICKEL_OF_WISDOM",!1,(null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class])==="wisdom"),K=(0,k.c9)(null==i?void 0:i.lab.labBonuses,8),z=(0,k.pc)(null==i?void 0:i.lab.jewels,16,K),Q=(0,w.F4)(i,null,"Cash",z),Z=null!==(j=null===(p=(0,I.YS)(null==i?void 0:null===(h=i.sailing)||void 0===h?void 0:h.artifacts,"Maneki_Kat"))||void 0===p?void 0:p.bonus)&&void 0!==j?j:0,J=null==i?void 0:null===(_=i.accountOptions)||void 0===_?void 0:_[89],$=null===o.randomList||void 0===o.randomList?void 0:o.randomList[53],ll=+(0,e.bV)(J,$,5),li=+(0,e.bV)(J,$,14),ln=(0,m.U6)(null==i?void 0:i.statues,"StatueG20"),lo=(0,k.c9)(null==i?void 0:i.lab.labBonuses,9),le=null===(b=(0,f.Y0)(null==l?void 0:l.activePrayers,"Jawbreaker",i))||void 0===b?void 0:b.bonus,ld=null==n?void 0:n.reduce((l,o)=>(0,e.fe)(i,3)?l+(0,P.kI)(o,i,3,n):(null==o?void 0:o.linkedDeity)===3?l+(null==o?void 0:o.deityMinorBonus):l,0),lu=(0,c.YG)(null==i?void 0:null===(y=i.alchemy)||void 0===y?void 0:y.vials,null,"MonsterCash"),lt=(0,d.zi)(l,3,i),lv=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(S=o.bonuses.etcBonuses)||void 0===S?void 0:S[3]),lr=(0,r.OK)(null==i?void 0:i.cards,"Money_from_mobs_(Passive)"),la=(0,r.OK)(null==l?void 0:null===(C=l.cards)||void 0===C?void 0:C.equippedCards,"Money_from_Monsters"),ls=(0,v._X)(null==l?void 0:l.talents,1,"CHACHING!"),lc=(0,M.Qo)(null==i?void 0:null===(T=i.dungeons)||void 0===T?void 0:T.upgrades,"Monster_Cash"),lm=(null==i?void 0:null===(A=i.arcade)||void 0===A?void 0:null===(E=A.shop)||void 0===E?void 0:null===(O=E[10])||void 0===O?void 0:O.bonus)+(null==i?void 0:null===(R=i.arcade)||void 0===R?void 0:null===(N=R.shop)||void 0===N?void 0:null===(L=N[11])||void 0===L?void 0:L.bonus),lp=(0,s.xV)(null==l?void 0:l.postOffice,"Utilitarian_Capsule",2),lh=(0,g._r)(null==i?void 0:null===(q=i.guild)||void 0===q?void 0:q.guildBonuses,8),lf=1*(0,v._X)(null==l?void 0:l.starTalents,null,"COINS_FOR_CHARON"),lg=(null==l?void 0:null===(F=l.skillsInfo)||void 0===F?void 0:null===(D=F.cooking)||void 0===D?void 0:D.level)/10*(0,v._X)(null==l?void 0:l.starTalents,null,"AMERICAN_TIPPER"),l_=(0,e.tE)("Golden_Bread",l,i),lb=(0,B.k)(null==i?void 0:i.achievements,235),{dropRate:ly}=U(l,i,n),lM=Y*Math.floor(G/250)+(W*Math.floor(H/250)+X*Math.floor(V/250)),lw=(1+lM/100)*(1+(Q+Z)/100)*(1+(.5*ll+(li+ln/100)))*(1+lo/100)*(1+le/100)*(1+ld/100)*(1+(lu+(lt+lv+(la+lr+(ls+(lc+lm+(lp+(lh*(1+Math.floor((null==l?void 0:l.mapIndex)/50))+(lf+(lg+(1+l_/100+5*lb))))))))))/100),lx=[{name:"Bubbles*",value:lM},{name:"Meal*",value:Q},{name:"Artifact*",value:Z},{name:"Pet Arena*",value:100*(.5*ll+li)},{name:"Statues",value:ln},{name:"Lab*",value:lo},{name:"Prayers*",value:le},{name:"Divinity*",value:ld},{name:"Vials",value:lu},{name:"Equipment",value:lt},{name:"Obols",value:lv},{name:"Cards",value:la+lr},{name:"Guild",value:lh*(1+Math.floor((null==l?void 0:l.mapIndex)/50))},{name:"Talents",value:lf+lg},{name:"Golden Food",value:l_},{name:"Achievements",value:5*lb},{name:"Dungeons",value:lc},{name:"Arcade",value:lm},{name:"Post Office",value:lp},{name:"Drop Rate*",value:(ly<2?ly:Math.floor(ly<5?ly:ly+1))*100}];return lx.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{cashMulti:lw,breakdown:lx}},V=(l,i,n)=>{var u,t,r,m,p,h,g,_;let M=(0,v._X)(null==l?void 0:l.starTalents,null,"PRINTER_SAMPLING"),w=(0,y.W)(null==i?void 0:i.saltLick,0),x=(0,d.zi)(l,60,i),S=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"kazam","SAMPLE_IT",!1),C=(0,v._X)(null==l?void 0:l.talents,null,"SUPER_SAMPLES"),k=(0,B.k)(null==i?void 0:i.achievements,158),T=(0,c.YG)(null==i?void 0:null===(t=i.alchemy)||void 0===t?void 0:t.vials,"Printer_sample"),I=null===(r=(0,f.Y0)(null==l?void 0:l.activePrayers,"The_Royal_Sampler",i))||void 0===r?void 0:r.bonus,E=(0,a.mV)(null==i?void 0:i.stamps,"3D_Printer_Sampling_Size"),P=null==i?void 0:null===(h=i.tasks)||void 0===h?void 0:null===(p=h[2])||void 0===p?void 0:null===(m=p[2])||void 0===m?void 0:m[4],A=(0,e.Hx)(n,"Voidwalker"),L=(0,b.D)(o.classFamilyBonuses,"PRINTER_SAMPLE_SIZE",A)||0;return Math.floor((M+(w+x)+(S+(C+Math.min(1,k)))+T+I+E+Math.min(5,.5*P)+Math.min(5,L)+((null===(g=(0,O.d)(null==i?void 0:null===(_=i.arcade)||void 0===_?void 0:_.shop,"Sample_Size"))||void 0===g?void 0:g.bonus)+(0,s.xV)(null==l?void 0:l.postOffice,"Utilitarian_Capsule",0)))/100*1e3)/10},Y=(l,i)=>{let n=["Nothing","Z","Copper","Iron","Starfire","Plat","Void","Filler","JungleZ","Grandfrog's_Gazebo","Grandfrog's_Backyard","Gravel_Tomb","Heaty_Hole","Igloo's_Basement","Inside_the_Igloo","End_Of_The_Road","Efaunt's_Tomb","Eycicles's_Nest","Enclave_a_la_Troll","Chizoar's_Cavern"].toSimpleObject(),e=Object.values(o.mapNames).map((n,e)=>{var d,u,t;let v=null===o.mapEnemiesArray||void 0===o.mapEnemiesArray?void 0:o.mapEnemiesArray[e],{MonsterFace:r,Name:a,AFKtype:s}=(null===o.monsters||void 0===o.monsters?void 0:o.monsters[v])||{},c=Math.abs((null==l?void 0:null===(d=l[e])||void 0===d?void 0:d[0])-(null===o.mapDetails||void 0===o.mapDetails?void 0:null===(t=o.mapDetails[e])||void 0===t?void 0:null===(u=t[0])||void 0===u?void 0:u[0]));return{mapName:n,afkTarget:v,kills:c,monsterFace:r,name:a,afkType:s,done:null==i?void 0:i.map(l=>c>=l)}}).filter(l=>{let{mapName:i,afkTarget:o,name:e,afkType:d,kills:u,mapThreshold:t}=l;return"FIGHTING"===d&&!n[i]&&!d.includes("Fish")&&!d.includes("Bug")&&!i.includes("Colosseum")});return{finished:null==e?void 0:e.reduce((l,i)=>{let{done:n}=i;return[(null==n?void 0:n[0])?(null==l?void 0:l[0])+1:null==l?void 0:l[0],(null==n?void 0:n[1])?(null==l?void 0:l[1])+1:null==l?void 0:l[1]]},[0,0]),list:e}},W=(l,i,n)=>{var o,e,d,u;let t=R(null==n?void 0:n.Sailing)||(null==n?void 0:n.Sailing),c=null==t?void 0:t[3],m=(null==c?void 0:c[0])>0,p=(0,_.wt)(null==i?void 0:i.shrines,6,l.mapIndex,i.cards,m),h=(0,a.fE)(null==i?void 0:i.stamps,"misc","StampC3",l),f=null==l?void 0:null===(e=l.cards)||void 0===e?void 0:null===(o=e.equippedCards)||void 0===o?void 0:o.find(l=>{let{cardIndex:i}=l;return"A10"===i}),g=f?(0,r.BZ)(f):0,b=null==l?void 0:null===(u=l.cards)||void 0===u?void 0:null===(d=u.equippedCards)||void 0===d?void 0:d.find(l=>{let{cardIndex:i}=l;return"G4"===i}),y=b?(0,r.BZ)(b):0,M=(0,v._X)(null==l?void 0:l.starTalents,null,"CRYSTALS_4_DAYYS"),w=(0,v._X)(null==l?void 0:l.talents,1,"CMON_OUT_CRYSTALS"),x=(0,s.xV)(null==l?void 0:l.postOffice,"Non_Predatory_Loot_Box",2),S=[{name:"Cmon Out Crystals",value:w},{name:"Crystal Shrine Bonus",value:p},{name:"Post Office",value:x},{name:"Crystals 4 Days",value:M},{name:"Crystallin Stamp",value:h},{name:"Poop Card",value:g},{name:"Demon Genie Card",value:y}];return S.sort((l,i)=>null==l?void 0:l.name.localeCompare(null==i?void 0:i.name,"en")),{value:5e-4*(1+w/100)*(1+(x+p)/100)*(1+M/100)*(1+h/100)*(1+(g+y)/100),breakdown:S}},X=(l,i,n)=>{var o,e,u,t;let c=(0,s.xV)(null==l?void 0:l.postOffice,"Carepack_From_Mum",2),h=(0,m.U6)(null==i?void 0:i.statues,"StatueG4",null==l?void 0:l.talents),f=(0,d.zi)(l,9,i),g=(0,a.mV)(null==i?void 0:i.stamps,"Effect_from_Boost_Food",l),_=(0,p.o9)(l,i,"All_Food_Effect"),b=(0,r.Xt)(null==l?void 0:l.cards,"Y5"),y=(null==l?void 0:null===(e=l.cards)||void 0===e?void 0:null===(o=e.cardSet)||void 0===o?void 0:o.rawName)==="CardSet1"?null==l?void 0:null===(t=l.cards)||void 0===t?void 0:null===(u=t.cardSet)||void 0===u?void 0:u.bonus:0,M=(0,v._X)(null==l?void 0:l.starTalents,null,"FROTHY_MALK");return n?1+((0,s.xV)(null==l?void 0:l.postOffice,"Carepack_From_Mum",1)+(h+(f+((0,a.mV)(null==i?void 0:i.stamps,"Boost_Health_Effect",l)+(_+y)))))/100:1+(c+(h+(f+(g+(_+(b+(y+M)))))))/100},K=(l,i,n)=>{var o,u,t,s,h,f,g,_,b,M,w,x;let S,C;let k=(0,v._X)(null==l?void 0:l.talents,0,"FEATHERWEIGHT"),B=(0,v._X)(null==l?void 0:l.talents,0,"FEATHER_FLIGHT"),T=(0,a.mV)(null==n?void 0:n.stamps,"Movement_Speed",l),O=(0,v.eZ)(null==l?void 0:l.activeBuffs,"STRAFE"),I=(0,e.sU)(l,n,"MoveSpdBoosts");C=(null===(o=l.stats)||void 0===o?void 0:o.agility)<1e3?(Math.pow((null===(t=l.stats)||void 0===t?void 0:t.agility)+1,.4)-1)/40:((null===(s=l.stats)||void 0===s?void 0:s.agility)-1e3)/((null===(h=l.stats)||void 0===h?void 0:h.agility)+2500)*.5+.371;let E=(0,m.U6)(null==n?void 0:n.statues,"StatueG2",null==l?void 0:l.talents);S=1+((S=(I+k+T+O+(E+((0,p.o9)(l,n,"Movement_Speed")+((0,d.zi)(l,1,n)+((0,r.OK)(null==l?void 0:null===(u=l.cards)||void 0===u?void 0:u.equippedCards,"Move_Spd")+B)))))/100)+C/2.2);let P=(0,v._X)(null==l?void 0:l.starTalents,null,"TIPTOE_QUICKNESS");return Math.round(100*(S=S>2?Math.floor(100*S)/100:S>1.75?Math.min(2,Math.floor(100*(S+P/100))/100):Math.min(1.75,Math.floor(100*(S+((0,y.W)(null==n?void 0:n.saltLick,7)+(null!==(x=null==n?void 0:null===(b=n.lab)||void 0===b?void 0:null===(_=b.playersChips)||void 0===_?void 0:null===(g=_[null==l?void 0:l.playerId])||void 0===g?void 0:null===(f=g.find(l=>15===l.index))||void 0===f?void 0:f.baseVal)&&void 0!==x?x:0)+(P+(0,c.Vq)(null==n?void 0:null===(w=n.alchemy)||void 0===w?void 0:null===(M=w.p2w)||void 0===M?void 0:M.sigils,"TUFT_OF_HAIR")))/100))/100)))},z=(l,i,n)=>{var u,t,a,m,h,y,w,S,C,B,T,I,E,A,L,N,R,q,D,F,j,G,U,H,V,Y,W,X,K,z,Z,J,$,ll;let li=[],ln=0,{afkType:lo}=l,{lab:le,guild:ld,dungeons:lu,accountOptions:lt,bribes:lv,shrines:lr,charactersLevels:la,tasks:ls}=n,lc=(null==ls?void 0:null===(t=ls[2])||void 0===t?void 0:null===(u=t[1])||void 0===u?void 0:u[2])>(null==l?void 0:l.playerId)?2:0,lm=(0,e.jU)(i,"Beast_Master"),lp=(0,b.D)(o.classFamilyBonuses,"ALL_SKILL_AFK_GAINS",lm),lh=(0,r.OK)(null==l?void 0:null===(a=l.cards)||void 0===a?void 0:a.equippedCards,"Skill_AFK_gain_rate"),lf=0;(null==ld?void 0:null===(m=ld.guildBonuses)||void 0===m?void 0:m.length)>0&&(lf=(0,g._r)(null==ld?void 0:ld.guildBonuses,7));let lg=(null==l?void 0:null===(y=l.cards)||void 0===y?void 0:null===(h=y.cardSet)||void 0===h?void 0:h.rawName)==="CardSet5"?null==l?void 0:null===(S=l.cards)||void 0===S?void 0:null===(w=S.cardSet)||void 0===w?void 0:w.bonus:0,l_=(0,v.A5)(i,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),lb=(0,v.xI)(i,n,l_,79)?(0,v._X)(null==l?void 0:l.talents,0,"SLEEPIN'_ON_THE_JOB"):0,ly=(0,c.Vq)(null==n?void 0:null===(B=n.alchemy)||void 0===B?void 0:null===(C=B.p2w)||void 0===C?void 0:C.sigils,"DREAM_CATCHER"),lM=(0,k.gw)(l,n,8),lw=(0,d.zi)(l,59,n),lx=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(T=o.bonuses.etcBonuses)||void 0===T?void 0:T[59]),lS=(0,d.zi)(l,24,n),lC=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(I=o.bonuses.etcBonuses)||void 0===I?void 0:I[24]),lk=null===(E=(0,f.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",n))||void 0===E?void 0:E.bonus,lB=null===(A=(0,f.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",n))||void 0===A?void 0:A.curse,lT=lc+(lp+(2+lh)+(lf+lg+(lb+(ly+lM)+(lS+lC+(lw+lx)+(lk-lB))))),lO=null===(L=(0,O.d)(null==n?void 0:null===(N=n.arcade)||void 0===N?void 0:N.shop,"AFK_Gains_Rate"))||void 0===L?void 0:L.bonus,lI=(0,M.Qo)(null==n?void 0:null===(R=n.dungeons)||void 0===R?void 0:R.upgrades,"AFK_Gains"),lE=(0,e.fe)(n,0)||(null==l?void 0:l.linkedDeity)===0||(null==l?void 0:l.secondLinkedDeityIndex)===0?1:0,lP=null==i?void 0:i.reduce((l,o)=>(0,e.fe)(n,0)?l+(0,P.kI)(o,n,4,i):(null==o?void 0:o.linkedDeity)===4?(null==o?void 0:o.deityMinorBonus)>l?null==o?void 0:o.deityMinorBonus:l:(null==o?void 0:o.secondLinkedDeityIndex)===4&&(null==o?void 0:o.secondDeityMinorBonus)>l?null==o?void 0:o.secondDeityMinorBonus:l,0),lA=(0,e.fe)(n,6)&&5,lL=(0,e.f6)(n),lN=(0,v._X)(null==l?void 0:l.starTalents,null,"RANDO_EVENT_LOOTY"),lR=+(lO+(lI+(30*lE+(lP+(lA+lN*lL)))));li=[{title:"Base"},{name:""},{name:"Tasks",value:lc},{name:"Family",value:lp},{name:"Cards",value:lh},{name:"Guild",value:lf},{name:"Card Set",value:lg},{name:"Sleepin On The Job (VW Eclipse)",value:lb},{name:"Sigil",value:ly},{name:"Chips",value:lM},{name:"Equipment",value:lw+lS},{name:"Obols",value:lx+lC},{name:"Prayers",value:lk-lB},{name:"Arcade",value:lO},{name:"Dungeons",value:lI},{name:"Divinity Major",value:30*lE},{name:"Divinity Minor",value:lP},{name:"Companion",value:lA},{name:"Rando Event Looty",value:lN*lL},{name:""}];let lq=(null==lv?void 0:null===(q=lv[24])||void 0===q?void 0:q.done)?null==lv?void 0:null===(D=lv[24])||void 0===D?void 0:D.value:0,lD=(0,_.wt)(lr,8,null==l?void 0:l.mapIndex,n.cards,null==n?void 0:null===(F=n.sailing)||void 0===F?void 0:F.artifacts),lF=(0,v._X)(null==l?void 0:l.starTalents,null,"TICK_TOCK");if("FIGHTING"===lo){let i=(0,e.Hx)(la,"Voidwalker"),u=(0,b.D)(o.classFamilyBonuses,"FIGHTING_AFK_GAINS",i),t=(0,s.xV)(null==l?void 0:l.postOffice,"Civil_War_Memory_Box",1),a=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_BRAWLING"),c=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_CASTING"),m=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_SHOOTING"),h=(0,v._X)(null==l?void 0:l.talents,0,"SLEEPIN'_ON_THE_JOB"),f=(null==lv?void 0:null===(j=lv[3])||void 0===j?void 0:j.done)?null==lv?void 0:null===(G=lv[3])||void 0===G?void 0:G.value:0,_=(null==l?void 0:null===(H=l.cards)||void 0===H?void 0:null===(U=H.cardSet)||void 0===U?void 0:U.rawName)==="CardSet8"?null==l?void 0:null===(Y=l.cards)||void 0===Y?void 0:null===(V=Y.cardSet)||void 0===V?void 0:V.bonus:0,y=(0,r.OK)(null==l?void 0:null===(W=l.cards)||void 0===W?void 0:W.equippedCards,"Fighting_AFK_gain_rate"),M=(0,d.zi)(l,20,n),w=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(X=o.bonuses.etcBonuses)||void 0===X?void 0:X[20]),S=(0,p.o9)(l,n,"Fight_AFK_Gain"),C=0;(null==ld?void 0:null===(K=ld.guildBonuses)||void 0===K?void 0:K.length)>0&&(C=(0,g._r)(null==ld?void 0:ld.guildBonuses,4));let k=null!==(ll=null==n?void 0:null===($=n.lab)||void 0===$?void 0:null===(J=$.playersChips)||void 0===J?void 0:null===(Z=J[null==l?void 0:l.playerId])||void 0===Z?void 0:null===(z=Z.find(l=>7===l.index))||void 0===z?void 0:z.baseVal)&&void 0!==ll?ll:0;ln=.2+(u+t+a+f+(m+_+(c+(lF+(lR+(y+(h+(M+w+(lw+lx)+(S+(C+(lk-lB+k)))))))))))/100,li=[...li,{title:"Fighting"},{name:""},{name:"Family",value:u},{name:"Post Office",value:t},{name:"Talents",value:a+c+m+h},{name:"Bribe",value:f},{name:"Card Set",value:_},{name:"Cards",value:y},{name:"Equipment",value:M+lw},{name:"Obols",value:w+lx},{name:"Prayers",value:lk-lB},{name:"Chips",value:k},{name:"Guild",value:C},{name:"Starsign",value:S}]}else if("COOKING"===lo){let i=(0,v._X)(null==l?void 0:l.talents,0,"IDLE_SKILLING"),o=Q("TrapMGbonus",8,n),e=(0,p.o9)(l,n,"Skill_AFK_Gain"),d=(0,v._X)(null==l?void 0:l.talents,3,"WAITING_TO_COOL");ln=.25+(i+lF+(lT+lR+(o+(e+(lq+d)))))/100,li=[...li,{title:"Cooking"},{name:""},{name:"Talents",value:i+d+lF},{name:"Starsign",value:e},{name:"Trapping Bonus",value:o},{name:"Bribe",value:lq}]}let lj=ln;return ln<1.5&&(lj=Math.min(1.5,ln+lD/100)),{afkGains:Math.max(.01,lj),breakdown:li=[...li,{name:"Shrine (< 150)",value:ln<1.5?lD:0}]}},Q=(l,i,n)=>{if("TrapMGbonus"===l){var e,d,u;if((null==n?void 0:null===(e=n.accountOptions)||void 0===e?void 0:e[99])>=25*(i+1)){let l=null===o.randomList||void 0===o.randomList?void 0:null===(u=o.randomList[59])||void 0===u?void 0:null===(d=u.split(" "))||void 0===d?void 0:d.map(l=>parseFloat(l));return null==l?void 0:l[i]}return 0}return 1},Z=(l,i)=>l?(0,e.UR)(l,i):50,J=(l,i)=>{let{starSigns:n,cards:o,postOffice:e,talents:d,equippedBubbles:u}=l,{lab:t}=i,a=(0,k.c9)(null==t?void 0:t.labBonuses,8),m=(0,k.pc)(null==t?void 0:t.jewels,8,a),h=(0,c.y7)(u,"power","BITE_BUT_NOT_CHEW",i),f=(0,v._X)(d,1,"FREE_MEAL");return Math.min(Math.min(90+5*m,98+Math.min(h,1)),Math.max(1,m)*(f+((0,s.xV)(e,"Carepack_From_Mum",0)+((0,r.Xt)(null==o?void 0:o.equippedCards,"B3")+(0,p.Wv)(n,i,"chance_to_not")+h))))},$=(l,i)=>{var n,e,u,t,r,m,p,h;let f=null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(n=e.construction)||void 0===n?void 0:n.level,_=null===v.nl||void 0===v.nl?void 0:v.nl[null==l?void 0:l.class],b=(0,c.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"power","CARPENTER",!1,"strength"===_),y=(0,a.mV)(null==i?void 0:i.stamps,"Building_Speed",l),M=(0,s.wO)(null==l?void 0:l.postOffice,"Construction_Container"),w=(0,g._r)(null==i?void 0:null===(t=i.guild)||void 0===t?void 0:t.guildBonuses,5),S=(0,d.zi)(l,30,i),C=(0,x.gY)(null==l?void 0:l.obols,null===o.bonuses||void 0===o.bonuses?void 0:null===(r=o.bonuses.etcBonuses)||void 0===r?void 0:r[30]),k=(0,B.k)(null==i?void 0:i.achievements,153),O=(0,L.lC)(null==i?void 0:null===(m=i.towers)||void 0===m?void 0:m.totalLevels,"Build Spd"),I=(0,c.YG)(null==i?void 0:null===(p=i.alchemy)||void 0===p?void 0:p.vials,null,"Contspd"),E=(0,v._X)(null==l?void 0:l.talents,2,"REDOX_RATES",!1,!0),P=(0,N._m)(i,"Helium_-_Talent_Power_Stacker"),A=(0,d.ju)([...null==i?void 0:i.storage,...null==i?void 0:null===(h=i.refinery)||void 0===h?void 0:h.refineryStorage],"Refinery1",!0,!0);return Math.floor(3*Math.pow(f/2+.7,1.6)*(1+f*b/100)*(1+(y+.25*M+(w+(S+C)+Math.min(5,5*k)+O+I))/100)*(1+E*(P+(0,T.lavaLog)(A))/100))},ll=(l,i)=>{var n,o,e;let d=null==l?void 0:l.constructionSpeed,u=(0,c.y7)(l.equippedBubbles,"power","CALL_ME_BOB",i),t=(0,v._X)(null==l?void 0:l.talents,2,"SHARPER_SAWS"),r=(0,v._X)(null==l?void 0:l.talents,1,"TEMPESTUOUS_EMOTIONS"),h=(0,c.YG)(null==i?void 0:null===(n=i.alchemy)||void 0===n?void 0:n.vials,null,"ConsExp"),f=(0,m.U6)(null==i?void 0:i.statues,"StatueG19",null==l?void 0:l.talents),g=(0,a.mV)(null==i?void 0:i.stamps,"+{%_Construction_Exp_Gain",l),_=(0,p.o9)(l,i,"Construct_Exp"),b=(0,s.wO)(null==l?void 0:l.postOffice,"Construction_Container");return Math.ceil((Math.pow(d,.7)/2+(2+6*(null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(o=e.construction)||void 0===o?void 0:o.level)))*(1+(u+(t+r+(h+(f+(g+(_+Math.max(0,.5*(b-100))))))))/100))}},5497:function(l,i,n){n.d(i,{Cz:function(){return E},F4:function(){return x},GF:function(){return P},Kn:function(){return O},Qo:function(){return B},Tt:function(){return g},eA:function(){return I},sV:function(){return T},vu:function(){return S},wR:function(){return M},zp:function(){return f}});var o=n(67924),e=n(42915);n(2127);var d=n(66092);n(83524);var u=n(79521),t=n(6426),v=n(21351),r=n(69320),a=n(72810),s=n(54381),c=n(95299),m=n(14802),p=n(83672),h=n(84127);n(24579),n(30278);let f=["Grasslands","Jungle","Encroaching Forest","Tree Interior","Stinky Sewers","Desert Oasis","Beach Docks","Coarse Mountains","Twilight Desert","The Crypt","Frosty Peaks","Tundra Outback","Crystal Caverns","Pristalle Lake","Nebulon Mantle","Starfield Skies","Shores of Eternity","Molten Bay","Smokey Lake","Wurm Catacombs"],g=(l,i)=>{let n=(0,d.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking);return _((0,d.tryToParse)(null==l?void 0:l.Meals)||(null==l?void 0:l.Meals),(0,d.tryToParse)(null==l?void 0:l.Territory)||(null==l?void 0:l.Territory),n,i)},_=(l,i,n,o)=>({meals:y(l,o),spices:b(l,i,o)}),b=(l,i,n)=>{var o,e;let d=null==i?void 0:i.reduce((l,i,n)=>{let[o,,,e,d]=i;return[...l,{progress:o,amount:d,rawName:e,name:f[n]}]},[]),u=null==l?void 0:null===(o=l[3])||void 0===o?void 0:o.filter(l=>l>0).map((l,i)=>{var n;return{amount:l,toClaim:null==d?void 0:null===(n=d[i])||void 0===n?void 0:n.amount,rawName:"CookingSpice".concat(i),name:f[i]}});return{toClaim:d,available:u,numberOfClaims:null==n?void 0:null===(e=n.accountOptions)||void 0===e?void 0:e[100]}},y=(l,i)=>{var n;let e=null==l?void 0:l[0],d=null==l?void 0:l[2],u=(0,s.du)(null==i?void 0:null===(n=i.breeding)||void 0===n?void 0:n.pets,"Bonuses_from_All_Meals");return null==e?void 0:e.map((l,i)=>i>56?null:{level:l,amount:null==d?void 0:d[i],shinyMulti:u,...(null===o.cookingMenu||void 0===o.cookingMenu?void 0:o.cookingMenu[i])||{}}).filter(l=>l)},M=(l,i)=>null==l?void 0:l.map(l=>({...l,multiplier:1+i/100})),w=(l,i)=>{let n=i+1+Math.floor(Math.max(0,i-10)/2);return Math.ceil(1+l*(n+=Math.pow(Math.max(0,i-30),1.2))*Math.pow(1.02,Math.max(0,i-60)))},x=function(l,i,n){var o,e,d;let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,t=(0,s.du)(null==l?void 0:null===(o=l.breeding)||void 0===o?void 0:o.pets,"Bonuses_from_All_Meals");return null==l?void 0:null===(d=l.cooking)||void 0===d?void 0:null===(e=d.meals)||void 0===e?void 0:e.reduce((l,o)=>{let{level:e,baseStat:d,effect:v,stat:r}=o;if(i){if(!v.includes(i))return l}else if(r!==n)return l;return"PxLine"===n?l+e*d:l+(1+(u+t)/100)*e*d},0)},S=(l,i,n)=>C((0,d.tryToParse)(null==l?void 0:l.Cooking)||(null==l?void 0:l.Cooking),(0,d.tryToParse)(null==l?void 0:l.Atoms)||(null==l?void 0:l.Atoms),i,n),C=(l,i,n,d)=>{var s,p,h,f,g,_,b;let y=null==d?void 0:null===(s=d.accountOptions)||void 0===s?void 0:s[89],M=null===o.randomList||void 0===o.randomList?void 0:o.randomList[53],S=null==l?void 0:l.reduce((l,i)=>{let[n,o,e]=i.slice(6,9);return l+n+o+e},0),C=null==d?void 0:null===(h=d.cooking)||void 0===h?void 0:null===(p=h.meals)||void 0===p?void 0:p.reduce((l,i)=>{let{level:n}=i;return n>=11?l+1:l},0),B=null==d?void 0:null===(g=d.cooking)||void 0===g?void 0:null===(f=g.meals)||void 0===f?void 0:f.reduce((l,i)=>{let{level:n}=i;return n>=30?l+1:l},0),T=null==d?void 0:null===(b=d.cooking)||void 0===b?void 0:null===(_=b.meals)||void 0===_?void 0:_.reduce((l,i)=>{let{level:n}=i;return l+n},0);return null==l?void 0:l.map((l,s)=>{var p,h,f,g,_,b,O,I,E,P,A,L,N,R,q;let[D,F,j,G,U,H,V,Y,W,,X]=l;if(D<=0)return null;let K=(0,u.c9)(d.lab.labBonuses,8),z=(0,u.pc)(d.lab.jewels,16,K),Q=(0,u.pc)(d.lab.jewels,14,K),Z=(0,e.mV)(null==d?void 0:d.stamps,"Meal_Cooking_Speed"),J=(0,t.iu)(null==d?void 0:null===(p=d.alchemy)||void 0===p?void 0:p.vials,"MealCook"),$=x(d,"Meal_Cooking_Speed",null,z),ll=(0,t.om)(null==d?void 0:null===(h=d.alchemy)||void 0===h?void 0:h.bubbles,"kazam","DIAMOND_CHEF",!1),li=x(d,null,"KitchenEff",z),ln=null==d?void 0:null===(f=d.cards)||void 0===f?void 0:f.Massive_Troll,lo=null!==(N=null==ln?void 0:ln.stars)&&void 0!==N?N:0,le=0===lo?0:lo+1,ld=(null===(_=d.lab.jewels)||void 0===_?void 0:null===(g=_.slice(0,3))||void 0===g?void 0:g.every(l=>{let{active:i}=l;return i}))?2:1,lu=(0,u.pc)(d.lab.jewels,0,K)*ld,lt=s<(null==d?void 0:null===(b=d.gemShopPurchases)||void 0===b?void 0:b.find((l,i)=>120===i)),lv=null!==(R=null===(O=(0,a.YS)(null==d?void 0:null===(I=d.sailing)||void 0===I?void 0:I.artifacts,"Triagulon"))||void 0===O?void 0:O.bonus)&&void 0!==R?R:0,lr=Math.pow(ll,C),la=(0,r.k)(null==d?void 0:d.achievements,225),ls=(0,r.k)(null==d?void 0:d.achievements,224),lc=(0,c.Ob)(d,"MSA_Mealing"),lm=0;lc&&(lm=null==lc?void 0:lc.bonus);let lp=(0,m.A5)(n,3,"Voidwalker","ENHANCEMENT_ECLIPSE"),lh=(0,m.A5)(n,3,"Voidwalker","BLOOD_MARROW"),lf=(0,m.xI)(n,d,lp,146),lg=o.atomsInfo.findIndex(l=>{let{name:i}=l;return"Fluoride_-_Void_Plate_Chef"===i}),l_=0,lb=null==i?void 0:i[lg];lb&&(l_=Math.pow(1+(null===o.atomsInfo||void 0===o.atomsInfo?void 0:null===(q=o.atomsInfo[lg])||void 0===q?void 0:q.baseBonus)*lb/100,B));let ly=10*(1+Math.pow(Math.min(1.012,1+lh/100),T)/100)*Math.max(1,Math.max(1,lf))*(1+(lt?2:0))*Math.max(1,lr)*Math.max(1,l_)*(1+lm/100)*(1+V/10)*(1+lv/100)*(1+J/100)*(1+(Z+Math.max(0,Math.floor(S/25)*(Q||0)))/100)*(1+$/100)*Math.max(1,lu)*(1+Math.min(6*le+(20*la+10*ls),100)/100)*(1+li*Math.floor((V+(Y+W))/10)/100),lM=5*(1+(lt?1:0))*Math.max(1,lr)*Math.max(1,l_)*(1+lm/100)*(1+Y/10)*(1+(0,t.YG)(null==d?void 0:null===(E=d.alchemy)||void 0===E?void 0:E.vials,"Recipe_Cooking_Speed")/100)*(1+(0,e.mV)(null==d?void 0:d.stamps,"New_Recipe_Cooking_Speed")/100)*(1+x(d,null,"Rcook",z)/100)*(1+Math.min(6*le,50)/100)*(1+li*Math.floor((V+(Y+W))/10)/100),lw=1+Math.pow(5*W,.85)/100,lx=1/((1+(0,t.YG)(null==d?void 0:null===(P=d.alchemy)||void 0===P?void 0:P.vials,"Kitchen_Upgrading_Cost")/100)*(1+x(d,null,"KitchC",z)/100)*(1+(lt?40:0)/100)*(1+.5*((0,v.bV)(y,M,7)?1:0))),lS=w(lx,V),lC=w(lx,Y),lk=w(lx,W),lB=[j,G,U,H].filter(l=>-1!==l),lT=lB.map(l=>{var i;return parseInt(null===(i=o.randomList[49])||void 0===i?void 0:i.split(" ")[l])}),lO=k(o.randomList[49],lT).filter(l=>l>0).map(l=>{var i,n;return{index:l,rawName:null===o.cookingMenu||void 0===o.cookingMenu?void 0:null===(i=o.cookingMenu[l])||void 0===i?void 0:i.rawName,cookReq:null===o.cookingMenu||void 0===o.cookingMenu?void 0:null===(n=o.cookingMenu[l])||void 0===n?void 0:n.cookReq}});return{status:D,meal:{...(null===o.cookingMenu||void 0===o.cookingMenu?void 0:o.cookingMenu[F])||{},...(null==d?void 0:null===(L=d.cooking)||void 0===L?void 0:null===(A=L.meals)||void 0===A?void 0:A[F])||{}},luckLv:W,fireLv:Y,speedLv:V,currentProgress:X,mealSpeed:ly,mealLuck:lw,fireSpeed:lM,speedCost:lS,fireCost:lC,luckCost:lk,...3===D?{spices:lB}:{},...3===D?{possibleMeals:lO}:{}}}).filter(l=>l)},k=(l,i)=>{let n=[];i.forEach(l=>{n.includes(l)||n.push(l)});let o=l.split(" ").map(l=>parseFloat(l)),e=i.reduce((l,i)=>l+o.indexOf(i),0);return l.includes(e)||n.push(e),!(i.length>2)||n.includes(e-1)||o.includes(e-1)||n.push(e-1),!(i.length>1)||n.includes(e+1)||o.includes(e+1)||n.push(e+1),n.sort((l,i)=>l{let{amount:d,level:u,cookReq:t}=i;if(u>=l)return 0;let v=0;for(let i=u;i1/Math.min(5,Math.max(1,1+10*(0,r.k)(i,233)/100))*(10+(l+Math.pow(l,2)))*Math.pow(1.2+.05*l,l)*Math.max(.01,Math.pow(.8,(0,p.z)(n,"Food_Lust"))),O=(l,i,n)=>l*i/n,I=l=>null==l?void 0:l.reduce((l,i)=>{let{speedLv:n,luckLv:o,fireLv:e}=i;return l+n+o+e},0),E=100,P=function(l){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!l)return[];let{serverVars:n,timeAway:o,lab:e}=l||{},d=null==e?void 0:e.chips,u=null==e?void 0:e.jewels,t=Math.floor((null==o?void 0:o.GlobalTime)/604800),v=[];for(let l=0;l{let o=u(null==l?void 0:l.Divinity)||(null==l?void 0:l.Divinity);return o?r(o,i,n):null},r=(l,i,n)=>{let o=null==i?void 0:i.length,e=null==l?void 0:l.slice(12,12+o),d=null==l?void 0:l.slice(28,28+(null==t?void 0:t.length)+1),u=null==l?void 0:l.slice(0,(null==i?void 0:i.length)+1),v=null==l?void 0:l[25];return{linkedDeities:e,linkedStyles:u,deities:null==t?void 0:t.map((l,i)=>{let n=null==d?void 0:d[i],o=n*(null==l?void 0:l.blessingMultiplier);return 2===i&&(o=Math.min(o,500)),{...l,rawName:"DivGod".concat(i),level:n,blessingBonus:o}}),blessingLevels:d,unlockedDeities:v}},a=l=>{var i,n;return null==l?void 0:null===(n=l.divinity)||void 0===n?void 0:null===(i=n.deities)||void 0===i?void 0:i.map((i,n)=>({...i,cost:c(i,n,l)}))},s=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,e=0;for(let d=l;d0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,d=arguments.length>2?arguments[2]:void 0;if(i<100){var u,t,v,r,a;let l=n*Math.pow(o,i),c=n*Math.pow(o,i+1),m=s(i,n,o);return 0===e||8===e||4===e||2===e?{type:"bits",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(u=d.gaming)||void 0===u?void 0:u.bits}:1===e?{type:"sailingGold",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(v=d.sailing)||void 0===v?void 0:null===(t=v.lootPile)||void 0===t?void 0:t[0]}:3===e||6===e?{type:"coins",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(r=d.currencies)||void 0===r?void 0:r.rawMoney}:{type:"particles",cost:l,nextLevelCost:c,costToMax:m,currency:null==d?void 0:null===(a=d.atomCollider)||void 0===a?void 0:a.particles}}return{cost:"MAX"}},m=(l,i)=>{var n,o;return null!==(o=null==l?void 0:null===(n=l.find(l=>{let{name:n}=l;return n===i}))||void 0===n?void 0:n.blessingBonus)&&void 0!==o?o:0},p=(l,i,n)=>{let o=null==i?void 0:i.find((i,o)=>(null==l?void 0:l[o])===n);return null==o?void 0:o.deityMinorBonus},h=(l,i,n)=>{var d,u;let t=null==l?void 0:null===(u=l.divinity)||void 0===u?void 0:null===(d=u.linkedDeities)||void 0===d?void 0:d.map((i,o)=>{var d;return n===i||(0,e.fe)(l,0)&&(null==l?void 0:null===(d=l.finishedWorlds)||void 0===d?void 0:d.World4)?o:-1}),v=i.map((i,d)=>{var u;return(0,o.Rp)(i,n)||(0,e.fe)(l,0)&&(null==l?void 0:null===(u=l.finishedWorlds)||void 0===u?void 0:u.World4)?d:-1});return(null==t?void 0:t.map((l,i)=>-1===l&&(null==v?void 0:v[i])!==-1?null==v?void 0:v[i]:l))||[]},f=(l,i,n,o)=>{var e,u,v,r,a,s,c,m;let p=null==o?void 0:o.find(l=>{var i;return null===(i=l.equippedBubbles)||void 0===i?void 0:i.find(l=>{let{bubbleName:i}=l;return"BIG_P"===i})}),h=(0,d.y7)(null===(e=p||l||(null==o?void 0:o[0]))||void 0===e?void 0:e.equippedBubbles,"kazam","BIG_P",i),f=null===(r=l||p||(null==o?void 0:o[0]))||void 0===r?void 0:null===(v=r.skillsInfo)||void 0===v?void 0:null===(u=v.divinity)||void 0===u?void 0:u.level,g=null!=n?n:null==i?void 0:null===(s=i.divinity)||void 0===s?void 0:null===(a=s.linkedDeities)||void 0===a?void 0:a[l.playerId],_=null==t?void 0:null===(c=t[g])||void 0===c?void 0:c.godIndex;return f/(60+f)*Math.max(1,h)*(null==t?void 0:null===(m=t[_])||void 0===m?void 0:m.minorBonusMultiplier)}},15984:function(l,i,n){n.d(i,{IS:function(){return w},MR:function(){return p},Qo:function(){return g},U4:function(){return f},gq:function(){return b},he:function(){return _}});var o=n(66092),e=n(67924),d=n(42915),u=n(80257),t=n(6426),v=n(69320),r=n(49352),a=n(28366),s=n(23284),c=n(33913),m=n(85148);let p=(l,i)=>h((0,o.tryToParse)(null==l?void 0:l.DungUpg)||(null==l?void 0:l.DungUpg),i),h=(l,i)=>{let n=null===e.dungeonCreditShop||void 0===e.dungeonCreditShop?void 0:e.dungeonCreditShop.map((i,n)=>{var o;return{...i,level:null==l?void 0:null===(o=l[0])||void 0===o?void 0:o[n]}}),o=null==l?void 0:l[1],d=null==l?void 0:l[2],u=0,t=null===e.dungeonTraits||void 0===e.dungeonTraits?void 0:e.dungeonTraits.map(l=>{var i;return{...l,bonuses:null==l?void 0:null===(i=l.bonuses)||void 0===i?void 0:i.map(l=>{let i=null==d?void 0:d.includes(u),n=u;return u++,{bonus:l,isActive:i,bonusIndex:n}})}}),v=null==l?void 0:l[5],r=null==o?void 0:o.map((l,i)=>({...e.dungeonStats[i],level:l})),a=null==v?void 0:v.map((l,i)=>({...e.dungeonFlurboStats[i],level:l})),s=(null==i?void 0:i[72])||0,c=(null==i?void 0:i[73])||0,m=(null==i?void 0:i[76])||0,p=null===e.randomList||void 0===e.randomList?void 0:e.randomList[29].split(" "),h=i[71],f=Number(p.reduce((l,n,o,e)=>(i[71]>Number(n)&&(l=o.toString()),l),"0"))+1;return{upgrades:a,insideUpgrades:r,credits:s,flurbos:c,boostedRuns:m,progress:h,rankReq:null==p?void 0:p[f],rank:f,rngItems:n,statBoosts:t}},f=(l,i)=>{var n;let e=null==l?void 0:l.find(l=>{let{effect:n}=l;return n===i});return e&&null!==(n=(0,o.growth)(null==e?void 0:e.func,null==e?void 0:e.level,null==e?void 0:e.x1,null==e?void 0:e.x2,!1))&&void 0!==n?n:0},g=(l,i)=>{var n;let e=null==l?void 0:l.find(l=>{let{effect:n}=l;return n===i});return e&&null!==(n=(0,o.growth)(null==e?void 0:e.func,null==e?void 0:e.level,null==e?void 0:e.x1,null==e?void 0:e.x2,!1))&&void 0!==n?n:0},_=l=>Math.ceil(3600*(48+Math.min(10,(0,d.mV)(l,"hr_Arcade_Ball_claim_max_time")))),b=l=>4e3/(1+(y(l)+(0,u.k)(null==l?void 0:l.bribes,"Weighted_Marbles"))/100),y=l=>{var i,n,o,u;let r=0;for(let i=0;inull==l?void 0:l.map(l=>l+Math.round(i/1e3)-3600),w=l=>{let i;let n=M(l,i=(0,r.Z)((0,a.Z)())?(0,a.Z)():(i=(0,s.Z)((0,a.Z)())).getTime()-6e4*i.getTimezoneOffset()),o=null==n?void 0:n.filter(l=>!(0,c.Z)(1e3*l)).map(l=>1e3*l);if((null==o?void 0:o.length)!==0)return o;{let i=(0,m.Z)((0,a.Z)());return M(l,i=i.getTime()-6e4*i.getTimezoneOffset())}}},30278:function(l,i,n){n.d(i,{x4:function(){return B}});var o=n(6426),e=n(64169),d=n(5497),u=n(83524),t=n(14802),v=n(21351),r=n(34010),a=n(67924),s=n(2127),c=n(79521),m=n(98118),p=n(2035),h=n(6896),f=n(56365),g=n(84664),_=n(42915),b=n(54381),y=n(70715),M=n(72810),w=n(17844),x=n(66092);let S=(l,i,n,e)=>{var d,u,v,r;let a=null===t.nl||void 0===t.nl?void 0:t.nl[null==l?void 0:l.class],{strength:s,wisdom:c,agility:m}=(null==l?void 0:l.stats)||{},p=(0,o.om)(null==i?void 0:null===(d=i.alchemy)||void 0===d?void 0:d.bubbles,"power","HEARTY_DIGGY",!1,a),h=(0,o.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"high-iq","HOCUS_CHOPPUS",!1,a),f=Math.max(1,k(l,n,i)+Math.pow((p*(0,x.lavaLog)(null==e?void 0:e.maxHp)+h*(0,x.lavaLog)(null==e?void 0:e.maxMp))/100,2)+Math.pow((s+(c+m))/3,.5)/7),g=null==i?void 0:null===(r=i.divinity)||void 0===r?void 0:null===(v=r.deities)||void 0===v?void 0:v[2];return(null==g?void 0:g.level)*(null==g?void 0:g.blessingMultiplier)*Math.min(1.8,Math.max(.1,4*Math.pow((f+1e4)/Math.max(10*f+10,1)*.01,2)))},C=(l,i,n,o)=>{var e,d,v,r,a,s,m,p;let h=(0,b.du)(null==i?void 0:null===(e=i.breeding)||void 0===e?void 0:e.pets,"Base_Efficiency_for_All_Skills"),f=(0,_.mV)(null==i?void 0:i.stamps,"All_Skill_Efficiency",l),g=S(l,i,n,o),y=(0,u.xV)(null==l?void 0:l.postOffice,"Myriad_Crate",1),M=null!==(p=null==i?void 0:null===(r=i.lab)||void 0===r?void 0:null===(v=r.playersChips)||void 0===v?void 0:null===(d=v[null==l?void 0:l.playerId].find(l=>11===l.index))||void 0===d?void 0:d.baseVal)&&void 0!==p?p:0,w=(0,t._X)(null==l?void 0:l.starTalents,null,"SUPERSOURCE"),x=(0,c.c9)(null==i?void 0:null===(a=i.lab)||void 0===a?void 0:a.labBonuses,8);return h+f+g+y+M+(w+(0,c.pc)(null==i?void 0:i.lab.jewels,12,x)*((null===(m=i.lab.jewels)||void 0===m?void 0:null===(s=m.slice(11,16))||void 0===s?void 0:s.every(l=>{let{active:i}=l;return i}))?2:1))},k=(l,i,n)=>{var o,e,u,f,g,_,b,w,x,S,C,k,B,T,O,I,E,P,A,L,N,R,q;let D=(0,v.Hx)(null==n?void 0:n.charactersLevels,"Hunter"),F=(0,r.D)(a.classFamilyBonuses,"EFFICIENCY_FOR_ALL_SKILLS",D),j=(0,s.zi)(l,48,n),G=(0,y.gY)(null==l?void 0:l.obols,null===a.bonuses||void 0===a.bonuses?void 0:null===(o=a.bonuses.etcBonuses)||void 0===o?void 0:o[48]),U=null!==(L=null===(e=(0,M.YS)(null==n?void 0:null===(u=n.sailing)||void 0===u?void 0:u.artifacts,"Frost_Relic"))||void 0===e?void 0:e.bonus)&&void 0!==L?L:0,H=(0,t._X)(null==l?void 0:l.starTalents,null,"STUDIOUS_QUESTER"),V=(0,c.c9)(null==n?void 0:null===(f=n.lab)||void 0===f?void 0:f.labBonuses,8),Y=(0,c.pc)(null==n?void 0:n.lab.jewels,16,V),W=(0,d.F4)(n,null,"Seff",Y),X=null!==(N=null==n?void 0:null===(w=n.lab)||void 0===w?void 0:null===(b=w.playersChips)||void 0===b?void 0:null===(_=b[null==l?void 0:l.playerId])||void 0===_?void 0:null===(g=_.find(l=>11===l.index))||void 0===g?void 0:g.baseVal)&&void 0!==N?N:0,K=null!==(R=(null==n?void 0:null===(S=n.cards)||void 0===S?void 0:null===(x=S.Crystal_Capybara)||void 0===x?void 0:x.stars)+1)&&void 0!==R?R:0,z=(0,v.fi)(null==n?void 0:n.totalSkillsLevels,null==n?void 0:n.rift,2),Q=(0,m.Xt)(null==l?void 0:l.cards,"Boss4B"),Z=(0,v.fe)(n,5)?5:0,J=(null==l?void 0:null===(k=l.cards)||void 0===k?void 0:null===(C=k.cardSet)||void 0===C?void 0:C.rawName)==="CardSet2"?null==l?void 0:null===(T=l.cards)||void 0===T?void 0:null===(B=T.cardSet)||void 0===B?void 0:B.bonus:0,$=null===(O=(0,p.Y0)(null==l?void 0:l.activePrayers,"Skilled_Dimwit",n))||void 0===O?void 0:O.bonus,ll=null===(I=(0,p.Y0)(null==l?void 0:l.activePrayers,"Balance_of_Proficiency",n))||void 0===I?void 0:I.curse,li=(0,t.eZ)(null==l?void 0:l.activeBuffs,"MAESTRO_TRANSFUSION"),ln=0;return(null==n?void 0:null===(P=n.guild)||void 0===P?void 0:null===(E=P.guildBonuses)||void 0===E?void 0:E.length)>0&&(ln=(0,h._r)(null==n?void 0:null===(q=n.guild)||void 0===q?void 0:q.guildBonuses,6)),(1+(F+(j+G+(U+Math.min(.1*(null==l?void 0:l.questCompleted),H))))/100)*(1+(W+(X+3*K)+(z+(null==n?void 0:null===(A=n.accountOptions)||void 0===A?void 0:A[180])))/100)*(1+(Q+Z)/100)*(1+(ln+(J+$))/100)*Math.max(1-(li+ll)/100,.01)},B=(l,i,n,d)=>{var r,c,p,h,b,M,S,B,O,I,E,P,A,L,N,R,q;let D=null===t.nl||void 0===t.nl?void 0:t.nl[null==l?void 0:l.class],F=(null==l?void 0:null===(c=l.tools)||void 0===c?void 0:null===(r=c[f.T.PICKAXE])||void 0===r?void 0:r.Weapon_Power)||0,j=F,G=(0,t._X)(null==l?void 0:l.talents,1,"TOOL_PROFICIENCY"),U=(0,o.om)(null==n?void 0:null===(p=n.alchemy)||void 0===p?void 0:p.bubbles,"power","STRONK_TOOLS",!1,D),H=null==l?void 0:null===(b=l.skillsInfo)||void 0===b?void 0:null===(h=b.mining)||void 0===h?void 0:h.level;j=j*(1+(null==l?void 0:null===(S=l.skillsInfo)||void 0===S?void 0:null===(M=S.mining)||void 0===M?void 0:M.level)/10*G/100)*(1+U/100)+4,j+=F+(0,g.U6)(null==n?void 0:n.statues,"StatueG3",null==l?void 0:l.talents)+(0,o.om)(null==n?void 0:null===(B=n.alchemy)||void 0===B?void 0:B.bubbles,"power","SLABI_OREFISH",!1,D)*Math.floor((null==n?void 0:null===(O=n.looty)||void 0===O?void 0:O.rawLootedItems)/100);let V=(0,t._X)(null==l?void 0:l.talents,3,"SKILL_STRENGTHEN"),Y=(0,_.mV)(null==n?void 0:n.stamps,"Base_Mining",l),W=C(l,n,i,d),X=(0,u.xV)(null==l?void 0:l.postOffice,"Dwarven_Supplies",0),K=T(l,"mining",i),z=(0,v.tE)("Golden_Peanut",l,n)||1,Q=(0,t._X)(null==l?void 0:l.talents,0,"BRUTE_EFFICIENCY"),Z=(0,s.zi)(l,10,n,!0),J=(0,y.gY)(null==l?void 0:l.obols,null===a.bonuses||void 0===a.bonuses?void 0:null===(I=a.bonuses.etcBonuses)||void 0===I?void 0:I[10]),$=(0,v.pA)(null==n?void 0:n.rift,null==n?void 0:null===(P=n.totalSkillsLevels)||void 0===P?void 0:null===(E=P.mining)||void 0===E?void 0:E.rank,1),ll=(0,m.OK)(null==l?void 0:null===(A=l.cards)||void 0===A?void 0:A.equippedCards,"Total_Mining_Efficiency"),li=(0,e.o9)(l,n,"Mining_Efficency"),ln=(0,o.iu)(null==n?void 0:null===(L=n.alchemy)||void 0===L?void 0:L.vials,"MinEff"),lo=(0,o.om)(null==n?void 0:null===(N=n.alchemy)||void 0===N?void 0:N.bubbles,"power","HEARTY_DIGGY",!1,D),le=(0,t._X)(null==l?void 0:l.talents,1,"COPPER_COLLECTOR"),ld=(0,w._m)(n,"Helium_-_Talent_Power_Stacker"),lu=(0,s.ju)(null==n?void 0:n.storage,"Copper_Ore",!0),lt=k(l,i,n);return 12+(Math.pow(j,1.3)+(Math.pow((null==l?void 0:null===(R=l.stats)||void 0===R?void 0:R.strength)+1,.6)*(1+V/100)+(Y+W)))*(1+H/200)*(1+(X+K)/100)*(1+Math.pow((null==l?void 0:null===(q=l.stats)||void 0===q?void 0:q.strength)/100,.35)*(1+V/100))*z*(1+(Q+(Z+J+10*$))/100)*(1+(ll+(li+ln))/100)*(1+j/100)*1*(1+lo*(0,x.lavaLog)(null==d?void 0:d.maxHp)/100)*(1+le*(ld+(0,x.lavaLog)(lu))/100)*lt},T=(l,i,n)=>{var o,e,d,u;let v=(0,t.A5)(n,2,"Maestro","RIGHT_HAND_OF_ACTION",null,!0),r=(0,t.L1)(n,2,"Maestro","RIGHT_HAND_OF_ACTION",null,!0);return(null==l?void 0:null===(e=l.skillsInfo)||void 0===e?void 0:null===(o=e[i])||void 0===o?void 0:o.level)<(null==r?void 0:null===(u=r.skillsInfo)||void 0===u?void 0:null===(d=u[i])||void 0===d?void 0:d.level)?v:0}},83672:function(l,i,n){n.d(i,{B:function(){return t},z:function(){return a}});var o=n(67924),e=n(66092),d=n(6426),u=n(21351);let t=(l,i)=>{let n=(0,e.tryToParse)(null==l?void 0:l.WeeklyBoss)||(null==l?void 0:l.WeeklyBoss),o=(0,e.tryToParse)(null==l?void 0:l.Dream)||(null==l?void 0:l.Dream);return n&&o?v(n,o,i):null},v=(l,i,n)=>{var e;let t=i.slice(2,13).reduce((l,i)=>l+i,0),v=Object.keys(l).filter(l=>l.startsWith("d_")).reduce((i,n)=>(i[n.substring(2)]=l[n],i),{}),a=i[2],s=o.equinoxChallenges.map((l,i)=>{let{label:n,goal:o,reward:e}=l;return{label:n,goal:o,reward:e,current:v[i]||0,active:-1!==v[i]&&0{let e=l.filter(l=>-1===l.current&&l.reward.includes("Max_LV")).map(l=>l.reward),d=l.filter(l=>-1===l.current&&"Unlock_next_Equinox_upgrade"===l.reward).length;return o.equinoxUpgrades.map((l,o)=>{let{name:u,description:t,maxLevel:v,bonus:r}=l,a="Hmm..."===u?0:"Food_Lust"===u?Math.min(parseInt(i[o]),null==n?void 0:n[193]):r*i[o]||0;return{name:u,bonus:a,desc:null==t?void 0:t.replace("{}",r*i[o]||0).replace("{","").replace("}",i[o]||0).split("_@_"),lvl:i[o]||0,maxLvl:v+e.filter(l=>l.includes(u)).reduce((l,i)=>l+parseInt(i.match(/\d+/)[0],10),0),unlocked:o<=d}})},a=(l,i)=>{var n,o;return(null==l?void 0:null===(o=l.filter(l=>l.name===i))||void 0===o?void 0:null===(n=o[0])||void 0===n?void 0:n.bonus)||0}},34010:function(l,i,n){n.d(i,{D:function(){return e},q:function(){return d}});var o=n(66092);let e=(l,i,n)=>{let e=null==l?void 0:l.find(l=>{let{name:n}=l;return null==n?void 0:n.includes(i)});return e?(0,o.growth)(null==e?void 0:e.func,Math.max(0,Math.round(n-(null==e?void 0:e.x3))),null==e?void 0:e.x1,null==e?void 0:e.x2,!1):0},d=(l,i)=>null==l?void 0:l.find(l=>{let{name:n}=l;return null==n?void 0:n.includes(i)})},95299:function(l,i,n){n.d(i,{Ob:function(){return k},gm:function(){return r},h$:function(){return B}});var o=n(67924),e=n(66092),d=n(70436),u=n(21351),t=n(83672);let{tryToParse:v}=n(66092),r=(l,i,n,o)=>{let e=v(null==l?void 0:l.Gaming)||(null==l?void 0:l.Gaming),d=v(null==l?void 0:l.GamingSprout)||(null==l?void 0:l.GamingSprout);return e&&d?a(e,d,i,n,o):null},a=(l,i,n,d,u)=>{var v,r,a,x,k,B,T,O,I,E,P;let A=[];if(null==l?void 0:l[11])for(let i=0;i<9;i++){let n=0;for(let o=e.number2letter.indexOf(null===(I=null==l?void 0:l[11])||void 0===I?void 0:I.charAt(i));n(null==i?void 0:i[1])>0?l+1:l,0),D=null==l?void 0:l[0],F=null==l?void 0:l[8],j=null==i?void 0:null===(v=i[26])||void 0===v?void 0:v[1],G=g(j),U=null==i?void 0:null===(r=i[27])||void 0===r?void 0:r[1],H=null==i?void 0:null===(a=i[27])||void 0===a?void 0:a[0],V=_(U,H),Y=f("nugget"),W=f("acorn",H),X=C(i),K=null==i?void 0:i.slice(25,25+(null===o.gamingImports||void 0===o.gamingImports?void 0:o.gamingImports.length)+1),z=null!==(E=null==d?void 0:null===(x=d.gemShopPurchases)||void 0===x?void 0:x.find((l,i)=>131===i))&&void 0!==E?E:0,Q=b(null!==(P=null==d?void 0:null===(k=d.gemShopPurchases)||void 0===k?void 0:k.find((l,i)=>131===i))&&void 0!==P?P:0),Z=null===o.gamingImports||void 0===o.gamingImports?void 0:o.gamingImports.map((l,i)=>{var n,o,e,u;let v=y(i,null==l?void 0:l.minorBonus,K);return{...l,level:null==K?void 0:null===(n=K[i])||void 0===n?void 0:n[0],rawName:3===i?"GamingItem".concat(i,"_0"):0===i&&z>0?"GamingItem".concat(i,"b"):"GamingItem".concat(i),minorBonus:null==v?void 0:v.description,cost:M(i,K),acquired:(null==K?void 0:null===(o=K[i])||void 0===o?void 0:o[0])>0,...0===i?{saveSprinklerChance:100*Q}:{},...1===i?{maxNuggetValue:h(null==v?void 0:v.result,(0,t.z)(null==d?void 0:null===(e=d.equinox)||void 0===e?void 0:e.upgrades,"Metal_Detector"),null==d?void 0:null===(u=d.accountOptions)||void 0===u?void 0:u[192])}:{},...2===i?{acornShop:X}:{}}}).filter((l,i)=>i<8),J=null==l?void 0:null===(B=l.slice(1,(null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:o.gamingUpgrades.length)+1))||void 0===B?void 0:B.map((e,t)=>{var v;let r=w(t,l,i,n,d,X,Z);return{...null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:o.gamingUpgrades[t],level:e,bonus:r,description:null===o.gamingUpgrades||void 0===o.gamingUpgrades?void 0:null===(v=o.gamingUpgrades[t])||void 0===v?void 0:v.description.replace(/{/,r),cost:S(t,l,u)}}),$=p(null==i?void 0:null===(T=i[25])||void 0===T?void 0:T[1],Z),ll=(null==l?void 0:l[12])||[],li=null===o.superbitsUpgrades||void 0===o.superbitsUpgrades?void 0:o.superbitsUpgrades.map((l,i)=>({...l,unlocked:(null==ll?void 0:ll.indexOf(null===e.number2letter||void 0===e.number2letter?void 0:e.number2letter[i]))!==-1,...m(n,d,i)})),ln=null==l?void 0:l[5],lo=null==l?void 0:l[4],le=null==l?void 0:l[7],ld=c(),lu=s(lo,ln),lt=[100,200,300,400,500].map(l=>({value:l,chance:s(lo,l)}));return{bestNugget:F,bits:D,envelopes:R,snailLevel:L,snailEncouragement:N,fertilizerUpgrades:J,availableSprouts:q,availableDrops:$,sproutsCapacity:null==J?void 0:null===(O=J[2])||void 0===O?void 0:O.bonus,imports:Z,lastShovelClicked:j,goldNuggets:G,lastAcornClicked:U,acorns:V,nuggetsBreakpoints:Y,acornsBreakpoints:W,superbitsUpgrades:li,mutations:ld,unlockedMutations:lo,mutationCost:(25+(10*(le+1)+Math.pow(le+1,2)))*Math.pow(1.3,le),dna:ln,newMutationChance:lu,mutationChanceBreakpoints:lt,logBook:A}},s=(l,i)=>Math.floor(1e3*(0===l?Math.min(.8,7*i/(100+i)):Math.min(.99,42*i/(100+i)*Math.pow(.31,l))))/10,c=()=>{var l;let i=null===o.randomList2||void 0===o.randomList2?void 0:null===(l=o.randomList2[0])||void 0===l?void 0:l.split(" ");return["FunGi","Bonsai","Cactus","Blossom","Voraci","Berri Bush","EverGreen","Chemical"].map((l,n)=>{var o;return{name:l,index:n,description:null==i?void 0:null===(o=i[n])||void 0===o?void 0:o.replace(/â‚£/g,"bits")}})},m=(l,i,n)=>{var o,e,d,t,v,r,a,s,c,m,p;let h,f,g;return 0===n?f=Math.pow(1.03,h=null!==(d=null==i?void 0:null===(e=i.achievements)||void 0===e?void 0:null===(o=e.filter(l=>{let{completed:i}=l;return i}))||void 0===o?void 0:o.length)&&void 0!==d?d:0):3===n||11===n||16===n?(h=Math.floor((null==i?void 0:null===(t=i.towers)||void 0===t?void 0:t.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(v=i.towers)||void 0===v?void 0:v.totalWaves," waves)")):13===n?(h=10*Math.floor((null==i?void 0:null===(r=i.towers)||void 0===r?void 0:r.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(a=i.towers)||void 0===a?void 0:a.totalWaves," waves)")):7===n?(h=Math.floor((null==i?void 0:null===(s=i.towers)||void 0===s?void 0:s.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(c=i.towers)||void 0===c?void 0:c.totalWaves," waves)")):20===n?(h=50*Math.floor((null==i?void 0:null===(m=i.towers)||void 0===m?void 0:m.totalWaves)/10),g="Total Bonus: ".concat(h,"% (").concat(null==i?void 0:null===(p=i.towers)||void 0===p?void 0:p.totalWaves," waves)")):12===n&&(f=Math.floor((0,u.fx)(l,"gaming"))),{bonus:h,totalBonus:f,additionalInfo:g}},p=(l,i)=>{var n;return Math.floor(Math.pow(l*(1+(null==i?void 0:null===(n=i[0])||void 0===n?void 0:n.level)/100)/3600,.75))},h=(l,i,n)=>1584.8931924611136*l*(1+i*n/100),f=(l,i)=>{let n=[1,2,3,4,5,6].reduce((n,o,e)=>{var d,u;let{breakpoints:t,lastClicked:v}=n,r=3600*Math.floor(v)+v%1*6e3,a="nugget"===l?g(r):_(r,i);if(0===t.length)return{breakpoints:[...t,{time:r,amount:a}],lastClicked:v+.1};for(;a<=(null==t?void 0:null===(d=t[e-1])||void 0===d?void 0:d.amount)&&v%1!=0;)(a="nugget"===l?g(r):_(r,i))<=(null==t?void 0:null===(u=t[e-1])||void 0===u?void 0:u.amount)&&(v+=.1,r=3600*Math.floor(v)+v%1*6e3);return{breakpoints:[...t,{time:r,amount:a}],lastClicked:v}},{breakpoints:[],lastClicked:1});return null==n?void 0:n.breakpoints},g=l=>Math.floor(Math.pow(l/3600,.44)),_=(l,i)=>Math.floor(Math.pow(l*(1+i/100)/3600,.85)),b=l=>1===l?.3:2===l?.43:3===l?.53:4===l?.6:0,y=(l,i,n)=>{var o;let e=null==n?void 0:null===(o=n[l])||void 0===o?void 0:o[0];if(1===l){let l=Math.floor(10*(1+Math.pow(60*e/(250+e),1.7)))/10;return{description:i.replace(/{/,l),result:l}}if(2===l){let l=Math.round(5*e);return{description:i.replace(/{/,l),result:l}}if(5===l){let l=Math.floor(60*e/(100+e)*10)/10;return{description:i.replace(/{/,l),result:l}}return{description:i.replace(/{/,Math.round(e)),value:Math.round(e)}},M=(l,i)=>{var n,e,d;return(null===o.gamingImports||void 0===o.gamingImports?void 0:null===(n=o.gamingImports[l])||void 0===n?void 0:n.x1)*Math.pow(10,null===o.gamingImports||void 0===o.gamingImports?void 0:null===(e=o.gamingImports[l])||void 0===e?void 0:e.x2)/4*Math.pow(1.4,null==i?void 0:null===(d=i[l])||void 0===d?void 0:d[0])},w=(l,i,n,o,u,t,v)=>{var r,a,s,c,m,p;if(0===l){let l=null==i?void 0:i[1];return(0,e.notateNumber)((1+4*l)*Math.pow(1.065,l),"bits")}if(1===l){let l=null==i?void 0:i[2],e=null==o?void 0:o.find(l=>{let{linkedDeity:i}=l;return 6===i}),m=null!==(c=(0,d.kI)(e,u,6,o))&&void 0!==c?c:0,p=1+((null==t?void 0:null===(r=t[1])||void 0===r?void 0:r.bonus)+m)/100,h=3+(null==v?void 0:null===(a=v[4])||void 0===a?void 0:a.level)/100,f=Math.floor(5e3/((1+2*l/100)*p*(1+h*(null==n?void 0:null===(s=n[29])||void 0===s?void 0:s[1])))*(1/x(i))/60*100)/100;return f>60?"".concat(Math.floor(100*f/60)/100," Hr"):"".concat(Math.floor(10*f)/10," Min")}if(2===l){let l=null==i?void 0:i[3],n=null!==(p=null==u?void 0:null===(m=u.gemShopPurchases)||void 0===m?void 0:m.find((l,i)=>133===i))&&void 0!==p?p:0;return(0,e.notateNumber)(Math.round(Math.min(24,3+l+n)))}},x=l=>{let i=null==l?void 0:l[7];return .13+.11*i/(150+i)},S=(l,i,n)=>{if(0===l){let l=null==i?void 0:i[1];return(1+(3*l+Math.pow(l,2)))*Math.pow(Math.min(1.25,Math.max(1.13,1+(null==n?void 0:n.GamingFertCostExpA)/1e3))+Math.max(0,Math.min(.15,.18*(l-50)/(l+100))),l)}if(1===l){let l=null==i?void 0:i[2];return(2+(5*l+Math.pow(l,2)))*Math.pow(1.22,l)}if(2===l){let l=null==i?void 0:i[3];return 11>l?(25*(l+1)+Math.pow(l+1,3))*Math.pow(5+3.7*l,l):9999*1e63}},C=l=>{let i=["All plants give x{ bits","All plants grow {% faster"],[,,n,o]=null==l?void 0:l[27];return[n,o].map((l,n)=>{let o=0===n?1+8*l/(250+l):Math.pow(3*l,.8);return{cost:1+l+2*Math.max(0,l-5),description:null==i?void 0:i[n].replace(/{/,"".concat(o.toFixed(2))),bonus:o}})},k=(l,i)=>{var n,o;return null==l?void 0:null===(o=l.gaming)||void 0===o?void 0:null===(n=o.superbitsUpgrades)||void 0===n?void 0:n.find(l=>{let{name:n,unlocked:o}=l;return n===i&&o})},B=(l,i)=>{let n=0,o=1e3;for(;o-n>1;){let e=Math.floor((n+o)/2);(1-.1*Math.pow(l,.72))*(1+100*e/(25+e)/100){var n;return l&&i?null===(n=Object.keys(i))||void 0===n?void 0:n.reduce((n,o)=>{if("UQ1txt"===o||"UQ2txt"===o)return{...n,[o]:(null==l?void 0:l[o])||(null==i?void 0:i[o])};let e=null==l?void 0:l[o],d=null==i?void 0:i[o],u=e;return isNaN(d)||d<0?{...n,[o]:d}:(u=(e||0)+((null==i?void 0:i.UQ1txt)&&(null==l?void 0:l.Type)!=="KEYCHAIN"&&(null==l?void 0:l.UQ1txt)!==(null==i?void 0:i.UQ1txt)?0:d),{...n,[o]:parseFloat(u)})},{}):{}},d=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return null==l?void 0:l.reduce((l,e)=>{if(n)i===(o?null==e?void 0:e.rawName:null==e?void 0:e.name)&&(l+=null==e?void 0:e.amount);else{var d,u;(o?null==e?void 0:null===(d=e.rawName)||void 0===d?void 0:d.includes(i):null==e?void 0:null===(u=e.name)||void 0===u?void 0:u.includes(i))&&(l+=null==e?void 0:e.amount)}return l},0)},u=function(l,i,n){var e,d,u,v,r,a,s,c,m,p,h,f;let g=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{equipment:_,tools:b}=l||{},y=null!==(p=null==n?void 0:null===(u=n.lab)||void 0===u?void 0:null===(d=u.playersChips)||void 0===d?void 0:null===(e=d[null==l?void 0:l.playerId])||void 0===e?void 0:e.find(l=>16===l.index))&&void 0!==p?p:0,M=null!==(h=null==n?void 0:null===(a=n.lab)||void 0===a?void 0:null===(r=a.playersChips)||void 0===r?void 0:null===(v=r[null==l?void 0:l.playerId])||void 0===v?void 0:v.find(l=>17===l.index))&&void 0!==h?h:0,w=null!==(f=null==n?void 0:null===(m=n.lab)||void 0===m?void 0:null===(c=m.playersChips)||void 0===c?void 0:null===(s=c[null==l?void 0:l.playerId])||void 0===s?void 0:s.find(l=>18===l.index))&&void 0!==f?f:0,x=g?b:_;return isNaN(i)?null==x?void 0:x.reduce((l,n)=>l+t(n,i),0):null==x?void 0:x.reduce((l,n,e)=>{var d;return l+t(n,null===o.bonuses||void 0===o.bonuses?void 0:null===(d=o.bonuses.etcBonuses)||void 0===d?void 0:d[i])*(3===e&&w||10===e&&y||9===e&&M?2:1)},0)},t=(l,i)=>{let n=(null==l?void 0:l.UQ1txt)===i?null==l?void 0:l.UQ1val:0,o=(null==l?void 0:l.UQ2txt)===i?null==l?void 0:l.UQ2val:0;return(null==l?void 0:l[i])?null==l?void 0:l[i]:n+o},v=(l,i,n)=>Array.from(Object.values(l)).reduce((l,d,u)=>{var t;let v=e(null===o.items||void 0===o.items?void 0:o.items[d],null==i?void 0:i[u]),r="",a={...null===o.items||void 0===o.items?void 0:o.items[d],...v};return(null==a?void 0:a.UQ1txt)&&(r+=null==a?void 0:a.UQ1txt),(null==a?void 0:a.UQ2txt)&&(r+=" ".concat(null==a?void 0:a.UQ2txt)),d?[...l,{name:null===o.items||void 0===o.items?void 0:null===(t=o.items[d])||void 0===t?void 0:t.displayName,rawName:d,owner:n,..."Blank"===d?{}:{...null===o.items||void 0===o.items?void 0:o.items[d],...v},misc:r}]:l},[]),r=(l,i)=>i?l.reduce((l,n)=>{let{name:o,owner:e,amount:d}=n;if(o===i){var u;return null!=l&&l[e]?{...l,[e]:{amount:(null==l?void 0:null===(u=l[e])||void 0===u?void 0:u.amount)+1}}:{...l,[e]:{amount:d}}}return l},{}):{},a=(l,i)=>{if(!i)return{};let n=l.filter(l=>{var n,o;let{misc:e,description:d}=l;return(null==d?void 0:null===(n=d.toLowerCase())||void 0===n?void 0:n.includes(null==i?void 0:i.toLowerCase()))||(null==e?void 0:null===(o=e.toLowerCase())||void 0===o?void 0:o.includes(null==i?void 0:i.toLowerCase()))},[]);return null==n?void 0:n.reduce((l,i)=>{let n=null==l?void 0:l.findIndex(l=>(null==l?void 0:l.rawName)===(null==i?void 0:i.rawName)),o=null==l?void 0:l[n];if(o){var e;let d=(null==o?void 0:null===(e=o.owners)||void 0===e?void 0:e.includes(null==i?void 0:i.owner))?null==o?void 0:o.owners:[...null==o?void 0:o.owners,null==i?void 0:i.owner];(null==o?void 0:o.misc)===(null==i?void 0:i.misc)&&(null==l||l.splice(n,1)),l=[...l,{...i,owners:d}]}else l=[...l,{...i,owners:[null==i?void 0:i.owner]}];return l},[])},s=l=>{if(!l)return[];let i={},n=JSON.parse(JSON.stringify(l)),o=(l,n)=>null==l?void 0:l.reduce((l,e)=>(l.push(e),e.materials&&(l=l.concat(o(null==e?void 0:e.materials,n)),e.materials=[]),i[null==e?void 0:e.itemName]?i[null==e?void 0:e.itemName].itemQuantity+=null==e?void 0:e.itemQuantity:i[null==e?void 0:e.itemName]=e,l),[]);return o(null==n?void 0:n.materials,i),Object.values(i)},c=(l,i)=>{var n;return null===(n=Object.entries(r(l,i)))||void 0===n?void 0:n.reduce((l,i)=>{let[n,{amount:o}]=i;return{amount:(null==l?void 0:l.amount)+o,owner:[...null==l?void 0:l.owner,n]}},{amount:0,owner:[]})},m=(l,i)=>i?null==l?void 0:l.reduce((l,i)=>{let{tools:n,equipment:o,food:e}=i;return[...l,...n,...o,...e]},[]).filter(l=>{let{rawName:i}=l;return"Blank"!==i}).map(l=>(null==l?void 0:l.amount)?l:{...l,amount:1}):[],p=(l,i)=>[...(null==l?void 0:l.reduce((l,i)=>{let{inventory:n=[]}=i;return[...l,...n]},[]))||[],...(null==i?void 0:i.storage)||[]],h=()=>{var l,i,n,e,d;let u=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(l=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/EquipmentTools[0-9]+/)}))||void 0===l?void 0:l.filter(l=>{let{rawName:i}=l;return"EquipmentTools13"!==i&&"EquipmentTools10"!==i}),t=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(i=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/EquipmentToolsHatchet[0-9]+/)}))||void 0===i?void 0:i.filter(l=>{let{rawName:i}=l;return"EquipmentToolsHatchet0"!==i&&"EquipmentToolsHatchet3"!==i&&"EquipmentToolsHatchet11"!==i&&"EquipmentToolsHatchet10"!==i}),v=null===o.itemsArray||void 0===o.itemsArray?void 0:null===(n=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/FishingRod[0-9]+/)}))||void 0===n?void 0:n.filter(l=>{let{rawName:i}=l;return"FishingRod1"!==i});return[u,t,v,null===o.itemsArray||void 0===o.itemsArray?void 0:null===(e=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/CatchingNet[0-9]+/)}))||void 0===e?void 0:e.filter(l=>{let{rawName:i}=l;return"CatchingNet1"!==i}),null===o.itemsArray||void 0===o.itemsArray?void 0:o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/TrapBoxSet[0-9]+/)}),null===o.itemsArray||void 0===o.itemsArray?void 0:null===(d=o.itemsArray.filter(l=>{let{rawName:i}=l;return null==i?void 0:i.match(/WorshipSkull[0-9]+/)}))||void 0===d?void 0:d.filter(l=>{let{rawName:i}=l;return"WorshipSkull8"!==i})]}},79521:function(l,i,n){n.d(i,{Cs:function(){return s},Rp:function(){return p},c9:function(){return g},gw:function(){return C},p8:function(){return m},pc:function(){return f},ww:function(){return h}});var o=n(66092),e=n(67924),d=n(5497),u=n(98118),t=n(21351),v=n(54381),r=n(14802),a=n(83672);let s=(l,i,n,e)=>c((0,o.tryToParse)(null==l?void 0:l.Lab)||(null==l?void 0:l.Lab),i,n,e),c=(l,i,n,o)=>{var d,u,v,r,s,c,p,_,b,M,C,k,B,T,O,I,E;if(!l)return{};let P=null==n?void 0:null===(d=n.accountOptions)||void 0===d?void 0:d[89],A=null===e.randomList||void 0===e.randomList?void 0:e.randomList[53],[L]=l,N=l[15],R=l[14],q=l[13],D=null==l?void 0:l.slice(1,(null==i?void 0:i.length)+1),F=[];for(let l=0;lnull==l?void 0:l.playerName);let j=null==R?void 0:R.map((l,i)=>({...(null===e.jewels||void 0===e.jewels?void 0:e.jewels[i])||{},acquired:1===l,rawName:"ConsoleJwl".concat(i)})).filter(l=>{let{name:i}=l;return i}),G=null==D?void 0:D.map(l=>l.map(l=>(null===e.chips||void 0===e.chips?void 0:e.chips[l])?{...null===e.chips||void 0===e.chips?void 0:e.chips[l],chipIndex:l}:l)),U=(null!==(T=null==n?void 0:null===(u=n.gemShopPurchases)||void 0===u?void 0:u.find((l,i)=>123===i))&&void 0!==T?T:0)*2,H=[...i].filter((l,i)=>{var o,e;return(0,t.fe)(n,0)||(null==l?void 0:l.AFKtarget)==="Laboratory"||m(l,1)||(null==n?void 0:null===(e=n.divinity)||void 0===e?void 0:null===(o=e.linkedDeities)||void 0===o?void 0:o[i])===1}).map((l,i)=>{var n,o;return{...l,x:null==F?void 0:null===(n=F[null==l?void 0:l.playerId])||void 0===n?void 0:n.x,y:null==F?void 0:null===(o=F[null==l?void 0:l.playerId])||void 0===o?void 0:o.y}}),V=JSON.parse(JSON.stringify(e.chips));null==N||N.map((l,i)=>{if(il).reduce((l,n)=>l+(n.index===V[i].index?1:0),0);V[i].repoAmount=l-n,V[i].amount=n}});let Y=(null!==(O=null==n?void 0:null===(s=n.tasks)||void 0===s?void 0:null===(r=s[2])||void 0===r?void 0:null===(v=r[3])||void 0===v?void 0:v[4])&&void 0!==O?O:0)*(null===e.merits||void 0===e.merits?void 0:null===(p=e.merits[3])||void 0===p?void 0:null===(c=p[4])||void 0===c?void 0:c.bonusPerLevel),W=i.find(l=>{let{CharacterClass:i}=l;return 36===i});W&&(W={...W,...null==F?void 0:F[null==W?void 0:W.playerId]});let X=(0,a.z)(null==n?void 0:null===(_=n.equinox)||void 0===_?void 0:_.upgrades,"Laboratory_Fuse"),K=!0,z=JSON.parse(JSON.stringify(e.labBonuses)),Q=[];for(;K;){if(K=!1,(H=y(H,z,j,G,n,null==n?void 0:n.cards,null==n?void 0:n.gemShopPurchases,P,A,W,i,o)).length>0&&0===Q.length){let l=w(H);l&&Q.push(l)}for(let l=0;ll.playerId===e.playerId)&&(d=!0,Q=[...Q,e]);let u=f(j,9,g(z,8)),t=g(z,13),v=S(z,u,t,Y,X,null==Q?void 0:Q[l],!1);z=v.resArr;let r=S(j,u,t,Y,X,null==Q?void 0:Q[l],!0);(null==(j=r.resArr)?void 0:null===(I=j[16])||void 0===I?void 0:I.acquired)&&!(null==j?void 0:null===(E=j[16])||void 0===E?void 0:E.active)&&(j[16].active=!0,H=y(H,z,j,G,n,null==n?void 0:n.cards,null==n?void 0:n.gemShopPurchases,P,A,W,i,o),j[16].active=!1),z=(v=S(z,u,t,Y,X,null==Q?void 0:Q[l],!1)).resArr,j=(r=S(j,u,t,Y,X,null==Q?void 0:Q[l],!0)).resArr,K=K||d||(null==r?void 0:r.newConnection)||(null==v?void 0:v.newConnection)}}}let Z=g(z,8);j=j.map(l=>({...l,multiplier:Z}));let J=null==n?void 0:n.breeding.speciesUnlocks.reduce((l,i)=>l+i,0),$=null==j?void 0:null===(b=j[1])||void 0===b?void 0:b.active;z=h(z,J*($?1.75:1),0,$?1.75:1);let ll=null==n?void 0:null===(M=n.storage)||void 0===M?void 0:M.filter(l=>l.amount>=1e7).length,li=(null==j?void 0:null===(C=j[17])||void 0===C?void 0:C.active)?1.5:0;return z=h(z,ll*(2+li),11,2+li),{playersCords:F=null==F?void 0:F.map((l,i)=>{let n=null==H?void 0:H.find(l=>{let{playerId:n}=l;return n===i});return{...l,lineWidth:(null==n?void 0:n.lineWidth)||(null==l?void 0:l.lineWidth)||0,soupedUp:i{if((null===e.classes||void 0===e.classes?void 0:e.classes[null==l?void 0:l.CharacterClass])==="Elemental_Sorcerer"){var n;return(null==l?void 0:null===(n=l.SkillLevels)||void 0===n?void 0:n[505])%10===i}},p=(l,i)=>{if((null==l?void 0:l.class)==="Elemental_Sorcerer"){var n;let o=null===(n=l.flatTalents)||void 0===n?void 0:n.find(l=>{let{talentId:i}=l;return 505===i});return(null==o?void 0:o.level)%10===i}},h=function(l,i,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return null==l?void 0:l.map((l,e)=>e===n?{...l,bonusOn:i,extraData:o,bonusDesc:i}:l)},f=function(l,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=(null==l?void 0:l.find(l=>l.index===i))||{};return(null==o?void 0:o.active)?(null==o?void 0:o.bonus)*((null==o?void 0:o.multiplier)||n):0},g=(l,i)=>{let n=(null==l?void 0:l.find(l=>l.index===i))||{};return(null==n?void 0:n.active)?null==n?void 0:n.bonusOn:null==n?void 0:n.bonusOff},_=(l,i,n,o)=>.9604339*Math.max(Math.abs(l-n),Math.abs(i-o))+.397824735*Math.min(Math.abs(l-n),Math.abs(i-o)),b=(l,i,n,o,e,d)=>!d&&(13===e||8===e)||9===e&&d?80:80*(1+(l+i)/100)+n+o,y=(l,i,n,o,e,d,u,v,r,a,s,c)=>null==l?void 0:l.map(l=>{var m,p,h;let f=(null!==(h=null==u?void 0:u.find((l,i)=>123===i))&&void 0!==h?h:0)*2,g=(0,t.bV)(v,r,13)?20:0,_=null==s?void 0:null===(m=s.find(i=>{let{name:n}=i;return n===(null==l?void 0:l.name)}))||void 0===m?void 0:m.playerId,b=M(l,null==l?void 0:null===(p=l.Lv0)||void 0===p?void 0:p[12],f>0&&_<=f,i,n,null==o?void 0:o[null==l?void 0:l.playerId],e,d,g,a,c);return{...l,lineWidth:b}}),M=(l,i,n,t,a,s,c,m,p,h,b)=>{var y,M,w;let x=g(t,8),S=50+2*(null!=i?i:0),{acquired:C,x:k,y:B}=a[5];C&&150>_(k,B,l.x,l.y)&&(S*=1.25);let T=null==s?void 0:s.reduce((l,i)=>6===i.index?l+i.baseVal:l,0),O=f(a,16,x),I=(0,d.F4)(c,null,"PxLine",O),E=(0,d.F4)(c,null,"LinePct",O),P=(0,u.OK)(m,"Line_Width_(Passive)"),A=(0,v.du)(null==c?void 0:null===(y=c.breeding)||void 0===y?void 0:y.pets,"Line_Width_in_Lab"),L=0;if((null==l?void 0:l.x)>=(null==h?void 0:h.x)){let l=h.SkillLevels[536]||0,i=(null===e.talents||void 0===e.talents?void 0:null===(M=e.talents.Bubonic_Conjuror)||void 0===M?void 0:M.PURPLE_TUBE)||{};L=b?(0,r.A5)(b,3,"Bubonic_Conjuror","PURPLE_TUBE"):null!==(w=(0,o.growth)(null==i?void 0:i.funcX,l,null==i?void 0:i.x1,null==i?void 0:i.x2,!1))&&void 0!==w?w:0}return Math.floor((S+I+Math.min(P,50))*(1+(L+E+(T+20*p+A+(n?30:0)))/100))},w=l=>{for(let i=0;i{for(let o=0;oi.playerId===l[o].playerId)&&t)return l[o]}return null},S=(l,i,n,o,e,d,u)=>null==l?void 0:l.reduce((l,t,v)=>{let r=!1,a=b(i,n,o,e,v,u);return _(d.x,d.y,t.x,t.y){var o,e,d;return null==i?void 0:null===(d=i.lab)||void 0===d?void 0:null===(e=d.playersChips)||void 0===e?void 0:null===(o=e[null==l?void 0:l.playerId])||void 0===o?void 0:o.reduce((l,i)=>(null==i?void 0:i.index)===n?l+(null==i?void 0:i.baseVal):l,0)}},21351:function(l,i,n){n.d(i,{B4:function(){return Y},DE:function(){return T},HA:function(){return lt},Hx:function(){return j},Ix:function(){return E},KB:function(){return ll},NQ:function(){return B},Nh:function(){return G},O4:function(){return Z},QV:function(){return U},Rf:function(){return ls},U7:function(){return L},UR:function(){return q},W9:function(){return x},Wk:function(){return la},XQ:function(){return R},Yu:function(){return D},Zf:function(){return lr},ai:function(){return J},bV:function(){return N},cg:function(){return O},f6:function(){return lm},fe:function(){return lc},fi:function(){return Q},fx:function(){return H},jU:function(){return F},kU:function(){return A},pA:function(){return K},qP:function(){return W},sU:function(){return lv},tE:function(){return $},tS:function(){return V},tc:function(){return le},z3:function(){return lu}});var o=n(66092),e=n(45819),d=n(67924),u=n(14802),t=n(5497),v=n(6426),r=n(42915),a=n(69320),s=n(79521),c=n(17844),m=n(2035),p=n(94336),h=n(95299),f=n(34010),g=n(2127),_=n(84127),b=n(33913),y=n(6896),M=n(64169),w=n(14581);let x=(l,i,n)=>{let{bookCount:o,libTime:e}=S(n,i,l),d=null==n?void 0:n.timeAway,u=[16,18,20].map(e=>({breakpoint:e,time:C(o,e,n,i,l)-(null==d?void 0:d.BookLib)}));return u=[...u,{breakpoint:0,time:C(0,20,n,i,l)}],{bookCount:o,next:k(o,n,i,l)-e,breakpoints:u}},S=(l,i,n)=>{var o;let e=null==l?void 0:null===(o=l.accountOptions)||void 0===o?void 0:o[55],d=null==l?void 0:l.timeAway,u=null==d?void 0:d.BookLib,t=(new Date).getTime()/1e3-d.GlobalTime,v=e;for(t>300&&(u+=t);u>k(v,l,i,n);)u-=k(v,l,i,n),v+=1;return{bookCount:v,libTime:u}},C=(l,i,n,o,e)=>{let d=0;for(let u=l;u{var d,u,m;let p=(0,o.tryToParse)(null==e?void 0:e.Tower)||(null==e?void 0:e.Tower),f=(0,s.c9)(null==i?void 0:i.lab.labBonuses,8),g=(0,s.pc)(null==i?void 0:null===(d=i.lab)||void 0===d?void 0:d.jewels,16,f),_=1+(0,t.F4)(i,"Library_checkout_Speed",null,g)/100,b=(0,v.om)(null==i?void 0:null===(u=i.alchemy)||void 0===u?void 0:u.bubbles,"kazam","IGNORE_OVERDUES",!1),y=(0,v.YG)(null==i?void 0:null===(m=i.alchemy)||void 0===m?void 0:m.vials,"Talent_Book_Library"),M=(0,r.mV)(null==i?void 0:i.stamps,"Talent_Book_Library_Refresh_Speed"),w=null==p?void 0:p[1],x=(0,c._m)(i,"Oxygen_-_Library_Booker"),S=(0,h.Ob)(i,"Library_Checkouts"),C=0;return S&&(C=null==S?void 0:S.totalBonus),Math.round(3600/(_*(1+x/100)*(1+(5*w+b+(y+(M+C+Math.min(30,Math.max(0,30*(0,a.k)(null==i?void 0:i.achievements,145))))))/100))*4*(1+10*Math.pow(l,1.4)/100))},B=l=>{var i,n;let u=(null==l?void 0:null===(i=l.Cards)||void 0===i?void 0:i[1])||(0,o.tryToParse)(null==l?void 0:l.Cards1),t=JSON.parse(JSON.stringify(d.items)),v=null===d.slab||void 0===d.slab?void 0:d.slab.map(l=>{var i;return{name:null==t?void 0:null===(i=t[l])||void 0===i?void 0:i.displayName,rawName:l,obtained:null==u?void 0:u.includes(l),onRotation:null===e.Ns||void 0===e.Ns?void 0:e.Ns[l]}}),r=null==v?void 0:null===(n=v.filter(l=>{let{obtained:i,rawName:n}=l;return!i&&!(null===e.oA||void 0===e.oA?void 0:e.oA[n])}))||void 0===n?void 0:n.length;return{slabItems:v,lootyRaw:u,lootedItems:null==u?void 0:u.length,missingItems:r,totalItems:null===d.slab||void 0===d.slab?void 0:d.slab.length,rawLootedItems:null==u?void 0:u.length}},T=l=>{var i;let n=(null==l?void 0:null===(i=l.CurrenciesOwned)||void 0===i?void 0:i.KeysAll)||(null==l?void 0:l.CYKeysAll);return(null==l?void 0:l.CurrenciesOwned)?{...null==l?void 0:l.CurrenciesOwned,KeysAll:I(n)}:{WorldTeleports:null==l?void 0:l.CYWorldTeleports,KeysAll:I(n),ColosseumTickets:null==l?void 0:l.CYColosseumTickets,ObolFragments:null==l?void 0:l.CYObolFragments,SilverPens:null==l?void 0:l.CYSilverPens,GoldPens:null==l?void 0:l.CYGoldPens,DeliveryBoxComplete:null==l?void 0:l.CYDeliveryBoxComplete,DeliveryBoxStreak:null==l?void 0:l.CYDeliveryBoxStreak,DeliveryBoxMisc:null==l?void 0:l.CYDeliveryBoxMisc,minigamePlays:null==l?void 0:l.PVMinigamePlays_1}},O=(l,i,n)=>({allTickets:Object.entries({0:{name:"Typhoon",dialogThreshold:3,daysSinceIndex:15},1:{name:"Centurion",dialogThreshold:4,daysSinceIndex:35},2:{name:"Lonely_Hunter",dialogThreshold:6,daysSinceIndex:56}}).reduce((i,o,e)=>{var d;let[,u]=o,t=null==n?void 0:null===(d=n.accountOptions)||void 0===d?void 0:d[null==u?void 0:u.daysSinceIndex];return[...i,{rawName:"TixEZ".concat(e),amountPerDay:1,daysSincePickup:t,amount:l,totalAmount:Math.min(t,3)}]},[]),totalAmount:l}),I=l=>l.reduce((l,i,n)=>n<5?[...l,{amount:i,...e.Aw[n]}]:l,[]),E=(l,i,n)=>{let o={0:{name:"Dog_Bone",dialogThreshold:5,daysSinceIndex:16},1:{name:"Djonnut",dialogThreshold:6,daysSinceIndex:31},2:{name:"Bellows",dialogThreshold:8.5,daysSinceIndex:80},3:{}};return l.map((l,e)=>{var d,u;let t=P(null==o?void 0:o[e],i),v=null==n?void 0:null===(u=n.accountOptions)||void 0===u?void 0:u[null==o?void 0:null===(d=o[e])||void 0===d?void 0:d.daysSinceIndex];return{...l,amountPerDay:t,daysSincePickup:v,totalAmount:Math.min(v,3)*t}})},P=function(){let{name:l,dialogThreshold:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return n.reduce((n,o)=>{let{npcDialog:e}=o;return void 0===i?n:(null==e?void 0:e[l])>i?n+1:n},0)},A=l=>{var i;let n=(0,o.tryToParse)(null==l?void 0:l.BundlesReceived)||(null==l?void 0:l.BundlesReceived);return n?null===(i=Object.entries(n))||void 0===i?void 0:i.reduce((l,i)=>{let[n,o]=i;return o?[...l,{name:n,owned:!!o}]:l},[]).sort((l,i)=>{var n,o,e,d;return null==l?void 0:null===(d=l.name)||void 0===d?void 0:null===(e=d.match(/_[a-z]/i))||void 0===e?void 0:e[0].localeCompare(null==i?void 0:null===(o=i.name)||void 0===o?void 0:null===(n=o.match(/_[a-z]/i))||void 0===n?void 0:n[0])}):[]},L=(l,i)=>null==l?void 0:l.find(l=>{let{name:n}=l;return n===i}),N=(l,i,n)=>{let o=i.split(" ");return!(n>o.length)&&l>=o[n]},R=l=>1e3*parseFloat(l),q=(l,i)=>{let{allCapacity:n,mattyBagStampBonus:o,gemShopCarryBonus:e,masonJarStampBonus:d,extraBagsTalentBonus:u,starSignExtraCap:t}=i;return Math.floor((null==l?void 0:l.capacity)*(1+o/100)*(1+25*e/100)*(1+(d+t)/100)*(1+u/100)*n)},D=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=(Math.pow(l+1,.37)-1)/40;return l>1e3&&(i=(l-1e3)/(l+2500)*.5+.297),2*i+1},F=(l,i)=>{let n=null==l?void 0:l.filter(l=>(0,u.gW)(null==l?void 0:l.class,i));return null==n?void 0:n.reduce((l,i)=>{let{level:n}=i;return n>l?n:l},0)},j=(l,i)=>{let n=null==l?void 0:l.reduce((l,i)=>{let{level:n,class:o}=i;return(null==l?void 0:l[o])?l[o]=Math.max(null==l?void 0:l[o],n):l[o]=n,l},{}),o=null===u.pV||void 0===u.pV?void 0:u.pV[i],e=null==o?void 0:o.find(l=>null==n?void 0:n[l]);return null==n?void 0:n[e]},G=(l,i,n)=>{let o=null===u.pV||void 0===u.pV?void 0:u.pV[i],e=l.filter(l=>o.includes(l.class));return e.reduce((l,i)=>{var o,e,d,u;return(null==i?void 0:null===(e=i.skillsInfo)||void 0===e?void 0:null===(o=e[n])||void 0===o?void 0:o.level)>(null==l?void 0:null===(u=l.skillsInfo)||void 0===u?void 0:null===(d=u[n])||void 0===d?void 0:d.level)?i:l},e[0])},U=l=>Math.max(...null==l?void 0:l.map(l=>{let{level:i}=l;return i})),H=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return Math.max(...null==l?void 0:l.map(l=>{var n,o;let{skillsInfo:e}=l;return null!==(o=null==e?void 0:null===(n=e[i])||void 0===n?void 0:n.level)&&void 0!==o?o:0}))},V=l=>{var i;return null===(i=Object.entries(l.reduce((l,i)=>{let{name:n,skillsInfo:o}=i;if(!o)return l;for(let[i,e]of Object.entries(o))if(l[i]){let o={...l[i],[n]:e},d=Object.keys(o).length;l[i]=Object.entries(o).sort((l,i)=>{let[n,{level:o}]=l,[e,{level:d}]=i;return d-o}).reduceRight((l,i)=>{let[n,o]=i;return{...l,[n]:{...o,rank:d--}}},{})}else l[i]={...l[i],[n]:e};return l},{})))||void 0===i?void 0:i.reduce((l,i)=>{let[n,o]=i;return Object.entries(Object.entries(o).reduce((l,i)=>{let[o,e]=i;return{...l,[o]:{[n]:e}}},{})).reduce((i,n)=>{let[o,e]=n;return{...i,[o]:{...l[o]||{},...e}}},{})},{})},Y=l=>{var i;let n=null==l?void 0:l.reduce((l,i)=>{let{skillsInfo:n}=i;if(!n)return l;for(let[i,e]of Object.entries(n))if(null==l?void 0:l[i]){var o;l[i]={...l[i],level:null!==(o=l[i].level+(null==e?void 0:e.level))&&void 0!==o?o:0}}else l[i]={level:null==e?void 0:e.level,index:(null==e?void 0:e.index)-1,icon:null==e?void 0:e.icon};return l},{});return null===(i=Object.entries(n))||void 0===i?void 0:i.reduce((l,i)=>{let[n,{level:o}]=i,e=X(o);return{...l,[n]:{...null==l?void 0:l[n],rank:e,color:W(o)}}},n)},W=l=>l<300?"white":l>=300&&l<400?"#ffc277":l>=400&&l<600?"#cadadb":l>=600&&l<1e3?"gold":"#56ccff",X=l=>150>l?0:200>l?1:300>l?2:400>l?3:500>l?4:750>l?5:1e3>l?6:7,K=(l,i,n)=>(null==l?void 0:l.currentRift)<15?0:i>n?1:0,z=(l,i)=>{for(let[,n]of Object.entries(l))if((null==n?void 0:n.level)>0&&(null==n?void 0:n.index)===i)return null==n?void 0:n.rank;return null},Q=(l,i,n)=>{let o=Array(15).fill(1);return null==o?void 0:o.reduce((o,e,d)=>{let u=z(l,d);return 1===n?o+=10*K(i,u,Math.round(n+2)):3===n?o+=K(i,u,Math.round(n+2)):4===n?o+=25*K(i,u,Math.round(n+2)):0!==d&&2!==d&&3!==d&&5!==d&&6!==d&&8!==d&&8!==d&&(o+=5*K(i,u,Math.round(n+2))),o},7)},Z=(l,i)=>0===l?(15+Math.pow(i,1.9)+11*i)*Math.pow(1.208-Math.min(.164,.215*i/(i+100)),i)-15:2===l?(15+Math.pow(i,2)+13*i)*Math.pow(1.225-Math.min(.114,.135*i/(i+50)),i)-26:8===l?71>i?((10+Math.pow(i,2.81)+4*i)*Math.pow(1.117-.135*i/(i+5),i)-6)*(1+Math.pow(i,1.72)/300):((10+Math.pow(i,2.81)+4*i)*Math.pow(1.003,i)-6)/2.35*(1+Math.pow(i,1.72)/300):9===l?(15+Math.pow(i,1.3)+6*i)*Math.pow(1.17-Math.min(.07,.135*i/(i+50)),i)-26:(15+Math.pow(i,2)+15*i)*Math.pow(1.225-Math.min(.18,.135*i/(i+50)),i)-30,J=(l,i)=>{var n,o,e,d;let u=null==i?void 0:null===(n=i.accountOptions)||void 0===n?void 0:n[57],t=null===(o=(0,m.Y0)(null==l?void 0:l.activePrayers,"Glitterbug",i))||void 0===o?void 0:o.curse,r=(0,p.wt)(null==i?void 0:i.shrines,6,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(e=i.sailing)||void 0===e?void 0:e.artifacts),a=(0,v.iu)(null==i?void 0:null===(d=i.alchemy)||void 0===d?void 0:d.vials,"GiantMob");return{chance:u<5?1/((100+50*Math.pow(u+1,2))*(1+t/100))*(1+(r+a)/100):1/(2*Math.pow(u+1,1.95)*(1+t/100)*Math.pow(u+1,1.5+u/15))*(1+(r+a)/100),crescentShrineBonus:r,giantMobVial:a,glitterbugPrayer:t}},$=(l,i,n)=>{var e,t,s,c,m,p,h;let _=null==i?void 0:null===(e=i.food)||void 0===e?void 0:e.find(i=>{let{name:n}=i;return n===l}),b=null!==(h=null!==(p=j(null==n?void 0:n.charactersLevels,"Bubonic_Conjuror"))&&void 0!==p?p:j(null==n?void 0:n.charactersLevels,"Shaman"))&&void 0!==h?h:0,y=(0,u._X)(null==i?void 0:i.talents,3,"THE_FAMILY_GUY"),M=(0,f.D)(d.classFamilyBonuses,"GOLDEN_FOODS",b),w=null===(t=u.pV[null==i?void 0:i.class])||void 0===t?void 0:t.includes("Shaman"),x=(0,g.zi)(i,8,n),S=(0,u._X)(null==i?void 0:i.talents,1,"HAUNGRY_FOR_GOLD"),C=(0,r.mV)(null==n?void 0:n.stamps,"Effect_from_Golden_Food._Sparkle_sparkle!"),k=(0,a.k)(null==n?void 0:n.achievements,37),B=(0,v.om)(null==n?void 0:null===(s=n.alchemy)||void 0===s?void 0:s.bubbles,"power","SHIMMERON",!1,(null===u.nl||void 0===u.nl?void 0:u.nl[null==i?void 0:i.class])==="strength"),T=(0,v.Vq)(null==n?void 0:null===(m=n.alchemy)||void 0===m?void 0:null===(c=m.p2w)||void 0===c?void 0:c.sigils,"EMOJI_VEGGIE");return(null==_?void 0:_.Amount)&&(null==_?void 0:_.amount)?(null==_?void 0:_.Amount)*(Math.max(w?M*(y>0?1+y/100:1)||0:M,1)+(x+(S+(C+(k+(B+T)))))/100)*.05*(0,o.lavaLog)(1+(null==_?void 0:_.amount))*(1+(0,o.lavaLog)(1+(null==_?void 0:_.amount))/2.14):0},ll=l=>{if(!l)return[];let{serverVars:i,timeAway:n}=l||{},o=[],e=Math.round(Math.floor((null==n?void 0:n.GlobalTime)/3600));for(let l=0;l<100;l++){let n=e+l+(null==i?void 0:i.RandEvntHr),u=lo(new _.Z(n).rand()),t=new _.Z(n+1).rand(),v=li(u);if(0===v.length)continue;let r=Math.min(Math.floor(t*v.length),v.length-1),a=null===d.rawMapNames||void 0===d.rawMapNames?void 0:d.rawMapNames.indexOf(null==v?void 0:v[r]);if(-1===a)continue;let s=null===d.mapNames||void 0===d.mapNames?void 0:d.mapNames[a],c=ln(u),m=(e+l+1)*36e5;(0,b.Z)(m)||(new Date(m).isDstObserved()&&(m-=36e5),o.push({mapName:s,eventName:c,date:m}))}return o},li=l=>{let[i,n,o]=d.randomList.slice(68,71),e=[];return(0===l||1===l||3===l||4===l)&&(e=e.concat(i.split(" "))),(0===l||1===l||3===l)&&(e=e.concat(n.split(" "))),(0===l||2===l)&&(e=e.concat(o.split(" "))),e},ln=l=>{var i;let n={0:"Meteorite",1:"Mega_Grumblo",2:"Glacial_Guild",3:"Snake_Swarm",4:"Angry_Frogs"};return null!==(i=null==n?void 0:n[l])&&void 0!==i?i:""},lo=l=>.045>l?0:.087>l?1:.129>l?2:.171>l?3:.213>l?4:-1,le=(l,i,n)=>null==i?void 0:i.reduce((i,o)=>{let e=(null==l?void 0:l.itemType)==="Equip"?1:lu(null==l?void 0:l.typeGen,o,n),d=(null==o?void 0:o.inventorySlots)*e;return d>(null==i?void 0:i.maxCapacity)&&(i={capacityPerSlot:e,maxCapacity:d,character:null==o?void 0:o.name}),i},{capacityPerSlot:0,maxCapacity:0,character:""}),ld=(l,i)=>{var n,o,e,d,t,v,r,a;let s=(0,y._r)(null==i?void 0:null===(n=i.guild)||void 0===n?void 0:n.guildBonuses,2),c=(0,u._X)(null==l?void 0:l.starTalents,null,"TELEKINETIC_STORAGE"),h=(0,p.wt)(null==i?void 0:i.shrines,3,null==l?void 0:l.mapIndex,null==i?void 0:i.cards,null==i?void 0:null===(o=i.sailing)||void 0===o?void 0:o.artifacts);return(1+(s+c)/100)*(1+h/100)*Math.max(1-(null===(e=(0,m.Y0)(null==l?void 0:l.activePrayers,"Zerg_Rushogen",i))||void 0===e?void 0:e.curse)/100,.4)*(1+((null===(d=(0,m.Y0)(null==l?void 0:l.activePrayers,"Ruck_Sack",i))||void 0===d?void 0:d.bonus)+((null==i?void 0:null===(v=i.bribes)||void 0===v?void 0:null===(t=v[23])||void 0===t?void 0:t.done)?null==i?void 0:null===(a=i.bribes)||void 0===a?void 0:null===(r=a[23])||void 0===r?void 0:r.value:0))/100)},lu=function(){var l,i,n,o,e,d,t,v,a,s;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",m=arguments.length>1?arguments[1]:void 0,p=arguments.length>2?arguments[2]:void 0,h=null==p?void 0:null===(l=p.gemShopPurchases)||void 0===l?void 0:l.find((l,i)=>58===i),f=(0,M.o9)(m,p,"Carry_Cap"),g=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Mining_Items",m),_=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Choppin'_Items",m),b=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_Fishing_Items",m),y=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_Catching_Items",m),w=(0,r.mV)(null==p?void 0:p.stamps,"Carrying_Capacity_for_Material_Items",m),x=(0,r.mV)(null==p?void 0:p.stamps,"Carry_Capacity_for_ALL_item_types!"),S=(0,u._X)(null==m?void 0:m.talents,0,"EXTRA_BAGS"),C=ld(m,p);return"bOre"===c||"bBar"===c||"cOil"===c?Math.floor((null==m?void 0:null===(i=m.maxCarryCap)||void 0===i?void 0:i.Mining)*(1+g/100)*(1+25*h/100)*(1+(x+f)/100)*C):"dFish"===c?Math.floor((null==m?void 0:null===(n=m.maxCarryCap)||void 0===n?void 0:n.Fishing)*(1+25*h/100)*(1+b/100)*(1+(x+f)/100)*C):"dBugs"===c?Math.floor((null==m?void 0:null===(o=m.maxCarryCap)||void 0===o?void 0:o.Bugs)*(1+25*h/100)*(1+y/100)*(1+(x+f)/100)*C):"bLog"===c||"bLeaf"===c?Math.floor((null==m?void 0:null===(e=m.maxCarryCap)||void 0===e?void 0:e.Chopping)*(1+_/100)*(1+25*h/100)*(1+(x+f)/100)*C):"cFood"===c?Math.floor((null==m?void 0:null===(d=m.maxCarryCap)||void 0===d?void 0:d.Foods)*(1+25*h/100)*(1+(x+f)/100)*C):"dCritters"===c?Math.floor((null==m?void 0:null===(t=m.maxCarryCap)||void 0===t?void 0:t.Critters)*(1+25*h/100)*(1+(x+f)/100)*C):"dSouls"===c?Math.floor((null==m?void 0:null===(v=m.maxCarryCap)||void 0===v?void 0:v.Souls)*(1+25*h/100)*(1+(x+f)/100)*C):"dCurrency"===c||"dQuest"===c||"dStatueStone"===c?999999:"bCraft"===c?Math.floor((null==m?void 0:null===(a=m.maxCarryCap)||void 0===a?void 0:a.bCraft)*(1+w/100)*(1+25*h/100)*(1+(x+f)/100)*(1+S/100)*C):"dExpOrb"===c||"dStone"===c||"dFishToolkit"===c?999999:"fillerz"===c?null==m?void 0:null===(s=m.maxCarryCap)||void 0===s?void 0:s.fillerz:"d"===c.charAt(0)?999999:2},lt=l=>{let i={bCraft:"bCraft",Foods:"cFood",Mining:"bOre",Quests:"dQuest",Statues:"dStatueStone",Chopping:"bLog",Fishing:"dFish",Bugs:"dBugs",Critters:"dCritters",Souls:"dSouls"};return null==i?void 0:i[l]},lv=(l,i,n)=>{var o;let e=(0,w.wJ)(l,i);return null==l?void 0:null===(o=l.food)||void 0===o?void 0:o.reduce((l,i)=>{let{Amount:o,Effect:d}=i;return l+(d===n?o*e:0)},0)},lr=(l,i,n)=>{var o;let e=(0,w.wJ)(l,i,!0);return null==l?void 0:null===(o=l.food)||void 0===o?void 0:o.reduce((l,i)=>{let{Trigger:o,Amount:d,Cooldown:u,Effect:t}=i;return l+(o>0&&t===n?d*e/Math.max(u,1)*3600:0)},0)},la=(l,i)=>{var n,o,e;return(null==l?void 0:null===(e=l.highscores)||void 0===e?void 0:null===(o=e.minigameHighscores)||void 0===o?void 0:null===(n=o.find(l=>{let{minigame:n}=l;return n===i}))||void 0===n?void 0:n.score)||0},ls=function(){var l,i;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[o]=(null==n?void 0:null===(l=n.e)||void 0===l?void 0:l.split(","))||[],e=null===d.companions||void 0===d.companions?void 0:d.companions[o],u=null==n?void 0:null===(i=n.l)||void 0===i?void 0:i.reduce((l,i)=>{let[n]=null==i?void 0:i.split(",");return{...l,[n]:!0}},{}),t=null===d.companions||void 0===d.companions?void 0:d.companions.map((l,i)=>({...l,acquired:!!(null==u?void 0:u[i])}));return{totalBoxesOpened:null==n?void 0:n.x,currentCompanion:e,list:t,lastFreeClaim:null==n?void 0:n.t,petCrystals:null==n?void 0:n.s,maxStorage:40}},lc=(l,i)=>{var n,o,e;return null==l?void 0:null===(e=l.companions)||void 0===e?void 0:null===(o=e.list)||void 0===o?void 0:null===(n=o.at(i))||void 0===n?void 0:n.acquired},lm=l=>{var i;let n=d.randomList.slice(82,87).flat(),o=new Set(null==l?void 0:null===(i=l.looty)||void 0===i?void 0:i.lootyRaw);return n.reduce((l,i)=>o.has(i)?l+1:l,0)}},70715:function(l,i,n){n.d(i,{dR:function(){return t},eX:function(){return s},gY:function(){return m}});var o=n(66092),e=n(67924),d=n(2127);let u=["STR","AGI","WIS","LUK","Weapon_Power","Defence","UQ1txt","UQ2txt"],t=function(l){var i,n;let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return v((0,o.tryToParse)(null==l?void 0:l.ObolEqO1)||(e?null==l?void 0:null===(i=l.ObolEquippedOrder)||void 0===i?void 0:i[1]:null==l?void 0:l.ObolEquippedOrder),(0,o.tryToParse)(null==l?void 0:l.ObolEqMAPz1)||(e?null==l?void 0:null===(n=l.ObolEquippedMap)||void 0===n?void 0:n[1]:null==l?void 0:l.ObolEquippedMap),e)},v=(l,i,n)=>{let o=n?e.obols.family:e.obols.character,d=r(null==l?void 0:l.map((l,i)=>{var d;return{displayName:null===e.items||void 0===e.items?void 0:null===(d=e.items[l])||void 0===d?void 0:d.displayName,rawName:l,...n?{}:{index:c(i)},...(null==o?void 0:o[i])?o[i]:{}}}),i);d.sort((l,i)=>l.index-i.index);let u=a(d,n);return{list:d,stats:u}},r=(l,i)=>l.reduce((l,n,o)=>{let{rawName:u}=n;if("Blank"===u)return[...l,n];let t=(0,d.t8)(null===e.items||void 0===e.items?void 0:e.items[u],i[o]);return u?[...l,{..."Blank"===u?{}:{...n,...null===e.items||void 0===e.items?void 0:e.items[u],...t}}]:l},[]),a=(l,i)=>{let n=i?"familyBonus":"personalBonus";return null==l?void 0:l.reduce((l,i)=>(Object.entries(i).forEach(o=>{var e,d,t,v,r,a,s,c,m,p;let[h,f]=o;if(u.includes(h)){if((null===(e=l[h])||void 0===e?void 0:e[n])||(null===(d=l[f])||void 0===d?void 0:d[n])){if("UQ1txt"===h||"UQ2txt"===h){if(0===f)return;let o=null===(t=h.match(/\d/g))||void 0===t?void 0:t[0];l[f]={[n]:(null!==(r=null==l?void 0:null===(v=l[f])||void 0===v?void 0:v[n])&&void 0!==r?r:0)+(null==i?void 0:i["UQ".concat(o,"val")])||0}}else l[h]={[n]:(null!==(s=null==l?void 0:null===(a=l[h])||void 0===a?void 0:a[n])&&void 0!==s?s:0)+f}}else if("UQ1txt"===h||"UQ2txt"===h){if(0===f)return;let o=null===(c=h.match(/\d/g))||void 0===c?void 0:c[0];l[f]={[n]:(null!==(p=null==l?void 0:null===(m=l[f])||void 0===m?void 0:m[n])&&void 0!==p?p:0)+(null==i?void 0:i["UQ".concat(o,"val")])||0}}else l[h]={[n]:f}}}),l),{})},s=(l,i)=>Array.from(new Set([...Object.keys(l.stats),...Object.keys(i.stats)])).reduce((n,o)=>{var e,d,u,t;let{personalBonus:v}=null!==(u=null===(e=l.stats)||void 0===e?void 0:e[o])&&void 0!==u?u:0,{familyBonus:r}=null!==(t=null===(d=i.stats)||void 0===d?void 0:d[o])&&void 0!==t?t:0;return n[o]={personalBonus:v,familyBonus:r},n},{}),c=l=>{switch(l){case 12:return 13;case 13:return 14;case 14:return 12;case 17:return 15;case 15:return 17;case 16:return 19;case 18:return 16;case 19:return 18;default:return l}},m=(l,i)=>{var n;let{personalBonus:o=0,familyBonus:e=0}=(null==l?void 0:null===(n=l.stats)||void 0===n?void 0:n[i])||{};return o||e?(null!=o?o:0)+(null!=e?e:0):0}},45819:function(l,i,n){n.d(i,{Aw:function(){return d},Ns:function(){return u},Pe:function(){return e},SS:function(){return o},du:function(){return v},oA:function(){return t}});let o={The_Book_Worm:"1",The_Buff_Guy:"1a",The_Fuzzy_Dice:"1b",Flexo_Bendo:"2",Dwarfo_Beardus:"3",Hipster_Logger:"4",Pie_Seas:"4a",Miniature_Game:"4b",Shoe_Fly:"4c",Pack_Mule:"5",Pirate_Booty:"6",All_Rounder:"7",Muscle_Man:"7a",Fast_Frog:"7b",Smart_Stooge:"7c",Lucky_Larry:"7d",Fatty_Doodoo:"8",Robinhood:"9",Blue_Hedgehog:"9a",Ned_Kelly:"10",The_Fallen_Titan:"10a",Chronus_Cosmos:"CR",Activelius:"11",Gum_Drop:"11a",Mount_Eaterest:"12",Bob_Build_Guy:"13",The_Big_Comatose:"14",Sir_Savvy:"14a",Silly_Snoozer:"15",The_Big_Brain:"15a",Grim_Reaper:"16",The_Forsaken:"16a",The_OG_Skiller:"17",Mr_No_Sleep:"18",All_Rounderi:"1",Centaurii:"2",Murmollio:"3",Strandissi:"4",Agitagi:"4B",Wispommo:"5",Lukiris:"5B",Pokaminni:"6",Gor_Bowzor:"7",Hydron_Cosmos:"8",Trapezoidburg:"8B",Sawsaw_Salala:"9",Preys_Bea:"9B",Cullingo:"10",Gum_Drop_Major:"10B",Grim_Reaper_Major:"11",Sir_Savvy_Major:"12",The_Bulwark:"13",Big_Brain_Major:"14",The_Fiesty:"15",The_Overachiever:"15B",Comatose_Major:"16","S._Snoozer_Major":"17"},e={0:{name:"character",icon:""},1:{name:"mining",icon:"ClassIcons42"},2:{name:"smithing",icon:"ClassIcons43"},3:{name:"chopping",icon:"ClassIcons44"},4:{name:"fishing",icon:"ClassIcons45"},5:{name:"alchemy",icon:"ClassIcons46"},6:{name:"catching",icon:"ClassIcons47"},7:{name:"trapping",icon:"ClassIcons48"},8:{name:"construction",icon:"ClassIcons49"},9:{name:"worship",icon:"ClassIcons50"},10:{name:"cooking",icon:"ClassIcons51"},11:{name:"breeding",icon:"ClassIcons52"},12:{name:"laboratory",icon:"ClassIcons53"},13:{name:"sailing",icon:"ClassIcons54"},14:{name:"divinity",icon:"ClassIcons55"},15:{name:"gaming",icon:"ClassIcons56"}},d={0:{name:"Forest_Villa_Key",rawName:"Key1"},1:{name:"Efaunt's_Tomb_Key",rawName:"Key2"},2:{name:"Chizoar's_Cavern_Key",rawName:"Key3"},3:{name:"Troll's_Enclave_Key",rawName:"Key4"},4:{name:"Kruk's_Volcano_Key",rawName:"Key5"}},u=["EquipmentCape0","EquipmentCape2","EquipmentPendant28","EquipmentRings31","EquipmentRings32","EquipmentRings33","EquipmentHats80","EquipmentHats34"].toSimpleObject(),t={Quest30:!0,Quest42:!0,Quest49:!0,Quest50:!0,Quest64:!0,PalmTreeD:!0,EquipmentShoes2:!0,EquipmentPendant18:!0,TestObj4:!0,TestObj5:!0,TestObj8:!0,TestObj14:!0,TestObj15:!0,TestObj16:!0,EquipmentPants11:!0,EquipmentSmithingTabs6:!0,EquipmentSmithingTabs7:!0,EquipmentSmithingTabs8:!0,EquipmentToolsHatchet10:!0,Quest8:!0,ClassSwap:!0,ResetBox:!0,Ht:!0,SmithingRecipes3:!0,SmithingRecipes4:!0,Godshard:!0,GodshardBar:!0,Quest28:!0,StampB28:!0,StampB29:!0,StampB32:!0,StampB33:!0,StampB35:!0,StampC10:!0,StampC11:!0,StampC12:!0,CardsC13:!0,CardsC14:!0,CardsC15:!0,CardsD12:!0,CardsD13:!0,Trophy4:!0,Trophy7:!0,Line8:!0,Line9:!0,Line11:!0,Line12:!0,Line13:!0,Line14:!0,Weight4:!0,Weight7:!0,Weight9:!0,Weight13:!0,Weight14:!0,StampsA22:!0,StampsA25:!0,DoubleAFKtix:!0,ObolFrag:!0,DeliveryBox:!0,StampC17:!0,FishingRod1:!0,CatchingNet1:!0,FoodHealth8:!0,EquipmentCape1:!0,EquipmentHats72:!0,EquipmentHats55:!0,EquipmentHats42:!0,EquipmentHats63:!0,EquipmentHats66:!0,MaxCapBagFi0:!0,MaxCapBagB0:!0,MaxCapBagTr0:!0,MaxCapBagTr2:!0,MaxCapBagS0:!0,MaxCapBagS2:!0,Spice0:!0,Spice6:!0,Spice9:!0,EquipmentHats75:!0,Quest71:!0,StampC13:!0,TalentPoint5:!0},v={mining:[6,7,9,10,11].toSimpleObject(),fishing:[54,55,61].toSimpleObject()}},83524:function(l,i,n){n.d(i,{NU:function(){return v},dQ:function(){return d},wO:function(){return t},xV:function(){return u}});var o=n(66092),e=n(67924);let d=(l,i)=>{var n,o,d;let u=0,t=null===e.postOffice||void 0===e.postOffice?void 0:e.postOffice.map((i,n)=>{var o,e;let d=null!==(e=null==l?void 0:null===(o=l[n])||void 0===o?void 0:o[0])&&void 0!==e?e:null==l?void 0:l[n];return u+=d,{...i,level:d||0}}),v=(null==i?void 0:null===(n=i.currencies)||void 0===n?void 0:n.DeliveryBoxComplete)+(null==i?void 0:null===(o=i.currencies)||void 0===o?void 0:o.DeliveryBoxStreak)+(null==i?void 0:null===(d=i.currencies)||void 0===d?void 0:d.DeliveryBoxMisc);return{boxes:t,totalOrders:v,totalPointsSpent:u,unspentPoints:v-u||0}},u=(l,i,n)=>{var e,d,u,t,v;let r=null==l?void 0:null===(e=l.boxes)||void 0===e?void 0:e.find(l=>{let{name:n}=l;return n===i});if(!r)return 0;let a=Math.round(0===n?null==r?void 0:r.level:1===n?(null==r?void 0:r.level)-(null==r?void 0:null===(d=r.upgradeLevels)||void 0===d?void 0:d[0]):(null==r?void 0:r.level)-(null==r?void 0:null===(u=r.upgradeLevels)||void 0===u?void 0:u[1])),s=null==r?void 0:null===(t=r.upgrades)||void 0===t?void 0:t[n];return null!==(v=(0,o.growth)(null==s?void 0:s.func,a>0?a:0,null==s?void 0:s.x1,null==s?void 0:s.x2,!1))&&void 0!==v?v:0},t=(l,i)=>{var n;let o=null==l?void 0:null===(n=l.boxes)||void 0===n?void 0:n.find(l=>{let{name:n}=l;return n===i});return o?null==o?void 0:o.level:0},v=l=>{let i=(0,o.tryToParse)(null==l?void 0:l.PostOfficeInfo1)||(null==l?void 0:l.PostOfficeInfo1),n=(0,o.createArrayOfArrays)(i);return null==n?void 0:n.map((l,i)=>{let[n,o]=l;return{index:i,totalShipments:n,streak:o}})}},2035:function(l,i,n){n.d(i,{Y0:function(){return r},hn:function(){return t},il:function(){return a}});var o=n(66092),e=n(2127),d=n(67924),u=n(95299);let t=(l,i)=>v((null==l?void 0:l.PrayersUnlocked)||(0,o.tryToParse)(null==l?void 0:l.PrayOwned),i),v=(l,i)=>null==l?void 0:l.reduce((l,n,o)=>{var u,t;let v=null===d.prayers||void 0===d.prayers?void 0:null===(u=d.prayers[o])||void 0===u?void 0:u.soul,r=(0,e.ju)(i,null===d.items||void 0===d.items?void 0:null===(t=d.items[v])||void 0===t?void 0:t.displayName,!0);return o<19?[...l,{...null===d.prayers||void 0===d.prayers?void 0:d.prayers[o],prayerIndex:o,totalAmount:r,level:n}]:l},[]),r=(l,i,n)=>{let o;let e=(0,u.Ob)(n,"No_more_Praying")&&(!l||(null==l?void 0:l.length)===0);if(e){var d;o=null==n?void 0:null===(d=n.prayers)||void 0===d?void 0:d.find(l=>{let{name:n}=l;return n===i})}else o=null==l?void 0:l.find(l=>{let{name:n}=l;return n===i});if(!o)return{bonus:0,curse:0};let t=o.x1+o.x1*(o.level-1)/10,v=o.x2+o.x2*(o.level-1)/10;return{bonus:Math.round(e?t/5:t),curse:Math.round(e?0:v)}},a=l=>{let{level:i,costMulti:n,prayerIndex:o}=l;return i<6?Math.round(n*(1+(4+o/25)*i)):Math.round(Math.min(2e9,n*(1+(1+o/20)*i)*Math.pow(9===o?1.3:1.12,i-5)))}},82118:function(l,i,n){n.d(i,{J:function(){return c},h:function(){return a}});var o=n(66092),e=n(70436),d=n(72810),u=n(14802),t=n(21351),v=n(2127),r=n(17844);let a=(l,i,n)=>s((0,o.tryToParse)(null==l?void 0:l.Print)||(null==l?void 0:l.Printer),(0,o.tryToParse)(null==l?void 0:l.PrinterXtra)||(null==l?void 0:l.PrinterXtra),i,n),s=(l,i,n,v)=>{var r,a,s,c,m,p,h;let f=(0,e.s8)(v,n,3),g=(0,d.YS)(null==v?void 0:null===(r=v.sailing)||void 0===r?void 0:r.artifacts,"Gold_Relic"),_=(null==g?void 0:g.acquired)===3?null==g?void 0:g.eldritchMultiplier:(null==g?void 0:g.acquired)===2?null==g?void 0:g.ancientMultiplier:0,b=null==v?void 0:null===(c=v.lab)||void 0===c?void 0:null===(s=c.labBonuses)||void 0===s?void 0:null===(a=s.find(l=>"Wired_In"===l.name))||void 0===a?void 0:a.active,y=null==v?void 0:null===(m=v.lab)||void 0===m?void 0:m.connectedPlayers,M=null==v?void 0:null===(p=v.accountOptions)||void 0===p?void 0:p[125],w=null==v?void 0:null===(h=v.accountOptions)||void 0===h?void 0:h[138],x=null==n?void 0:n.filter(l=>(null==l?void 0:l.class)==="Divine_Knight"),S=null==x?void 0:x.reduce((l,i)=>{let{talents:n}=i,o=(0,u._X)(n,3,"KING_OF_THE_REMEMBERED",!1,!0);return o>l?o:l},0),C=(0,t.fi)(null==v?void 0:v.totalSkillsLevels,null==v?void 0:v.rift,3),k=l.slice(5,l.length);return n.map((l,n)=>{let e=k.slice(14*n,14*n+14);if(i){let l=null==i?void 0:i.slice(10*n,10*n+10);e.splice(-4,0,l),e=e.flat()}return e.reduce((l,i,d,u)=>{if(d%2==0){let i=u.slice(d,d+2).map((l,i)=>l),t=i[1],v=null==y?void 0:y.find(l=>{let{playerId:i}=l;return i===n}),r=(1+M*(2+_)/100)*(1+S*(0,o.lavaLog)(w)/100)*(1+C/100);t*=b&&v?f.includes(n)?6*r:2*r:f.includes(n)?3*r:r;let a=[{name:"Lab",value:v&&b?2:0},{name:"Harriep God",value:f.includes(n)?3:0},{name:"Skill Mastery",value:1+C/100},{name:"Divine Knight",value:1+S*(0,o.lavaLog)(w)/100},{name:"Gold Relic",value:1+M*(2+_)/100}];return[...l,{item:i[0],value:i[1],active:d>=e.length-4,boostedValue:t,breakdown:a}]}return l},[])})},c=(l,i)=>{var n,o;let{printer:e,storage:d}=l||{},u=(0,r.Xp)(null==l?void 0:null===(n=l.accountOptions)||void 0===n?void 0:n[133]),t=null==e?void 0:e.reduce((l,i)=>(i.forEach(i=>{let{boostedValue:n,item:o,active:e}=i;if("Blank"!==o&&e){if(null==l?void 0:l[o]){var t;l[o]={...l[o],boostedValue:n+(null===(t=l[o])||void 0===t?void 0:t.boostedValue)}}else{let i=(0,v.ju)(d,o,!0,!0);l[o]={boostedValue:n,atomable:i>=u-.01*u,storageItem:i}}}}),l),{}),a=null===(o=Object.entries(t=m(t,u,i)))||void 0===o?void 0:o.reduce((l,i)=>{var n;let[,o]=i;return l+(null!==(n=null==o?void 0:o.atoms)&&void 0!==n?n:0)},0);return{...t,atom:{boostedValue:a,atoms:a}}},m=function(){var l;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return null===(l=Object.entries(i))||void 0===l?void 0:l.reduce((l,i)=>{let[e,d]=i,{boostedValue:u,atomable:t,storageItem:v}=d,r=u,a;if(null==o?void 0:o.checked)a=t;else{let l=u>=n&&!t,i=u>n-v&&!t;r=l?u-n:i?u-(n-v):u,a=l||i||t}return l[e]={...d,...a?{atoms:r/1e7}:{}},l},{})}},56657:function(l,i,n){n.d(i,{GU:function(){return t},jZ:function(){return d},zz:function(){return u}});var o=n(67924),e=n(66092);let d=(l,i)=>{let n={1:"Builder_Bird",2:"Constructor_Crow",3:"Carpenter_Cardinal",4:"Muhmuguh"};return null==l?void 0:l.some(l=>{let{npcDialog:o}=l;return 4===i?null==o?void 0:o[null==n?void 0:n[i]]:(null==o?void 0:o[null==n?void 0:n[i]])===9999})},u=l=>{let i=Object.keys(o.quests),n=null==i?void 0:i.reduce((i,n)=>{var d,u,t,r,a,s,c,m,p;let h=(0,e.cloneObject)(o.quests[n]),f=null==v?void 0:null===(d=v[n])||void 0===d?void 0:d.world,g=null==v?void 0:null===(u=v[n])||void 0===u?void 0:u.index;if(!f)return i;for(let i=0;i<(null==l?void 0:l.length);i++){let o=(0,e.cloneObject)(null==l?void 0:null===(r=l[i])||void 0===r?void 0:null===(t=r.quests)||void 0===t?void 0:t[n])||{},d=Object.keys(o),u=!1;for(let l=0;l<(null==d?void 0:d.length);l++){let n=d[l],e=o[n];h[n]&&((null==h?void 0:h[n-1])&&(!u&&(0===e||-1===e)||1===e)&&(h[n-1].progress=null===(s=h[n-1])||void 0===s?void 0:null===(a=s.progress)||void 0===a?void 0:a.filter(l=>{let{charIndex:n}=l;return n!==i})),1===e?(h[n].completed=[...(null===(c=h[n])||void 0===c?void 0:c.completed)||[],{charIndex:i,status:e}],h[n].progress=[...(null===(m=h[n])||void 0===m?void 0:m.progress)||[],{charIndex:i,status:e}]):u||0!==e&&-1!==e||(h[n].progress=[...(null===(p=h[n])||void 0===p?void 0:p.progress)||[],{charIndex:i,status:e}],u=!0))}}return{...i,[f]:[...(null==i?void 0:i[f])||[],{name:n,index:g,npcQuests:Object.values(h)}]}},{});for(let l in n){let i=n[l];null==i||i.sort((l,i)=>(null==l?void 0:l.index)-(null==i?void 0:i.index))}return n},t=l=>Object.keys(l).reduce((i,n)=>{let[o,e]=n.split(/([0-9]+)/);return n.includes("Fishpaste")&&(o="Fishpaste97"),{...i,[o]:{...(null==i?void 0:i[o])||{},[e]:l[n]}}},{}),v={Scripticus:{world:"Blunder_Hills",index:0},Glumlee:{world:"Blunder_Hills",index:1},Krunk:{world:"Blunder_Hills",index:2},Mutton:{world:"Blunder_Hills",index:3},Woodsman:{world:"Blunder_Hills",index:4},Hamish:{world:"Blunder_Hills",index:5},Toadstall:{world:"Blunder_Hills",index:5},Picnic_Stowaway:{world:"Blunder_Hills",index:6},Promotheus:{world:"Blunder_Hills",index:6},Typhoon:{world:"Blunder_Hills",index:7},Sprout:{world:"Blunder_Hills",index:8},Dazey:{world:"Blunder_Hills",index:9},Telescope:{world:"Blunder_Hills",index:10},Stiltzcho:{world:"Blunder_Hills",index:11},Funguy:{world:"Blunder_Hills",index:12},Tiki_Chief:{world:"Blunder_Hills",index:13},Dog_Bone:{world:"Blunder_Hills",index:14},Papua_Piggea:{world:"Blunder_Hills",index:15},TP_Pete:{world:"Blunder_Hills",index:16},Meel:{world:"Blunder_Hills",index:17},Town_Marble:{world:""},Mr_Pigibank:{world:""},Secretkeeper:{world:""},Bushlyte:{world:""},Rocklyte:{world:""},Cowbo_Jones:{world:"Yum-Yum_Desert",index:0},Fishpaste97:{world:"Yum-Yum_Desert",index:1},Scubidew:{world:"Yum-Yum_Desert",index:2},Whattso:{world:"Yum-Yum_Desert",index:3},Bandit_Bob:{world:"Yum-Yum_Desert",index:4},Carpetiem:{world:"Yum-Yum_Desert",index:5},Centurion:{world:"Yum-Yum_Desert",index:6},Goldric:{world:"Yum-Yum_Desert",index:7},Snake_Jar:{world:"Yum-Yum_Desert",index:8},Speccius:{world:"Yum-Yum_Desert",index:9},XxX_Cattleprod_XxX:{world:"Yum-Yum_Desert",index:10},Loominadi:{world:"Yum-Yum_Desert",index:11},Wellington:{world:"Yum-Yum_Desert",index:12},Djonnut:{world:"Yum-Yum_Desert",index:13},Walupiggy:{world:"Yum-Yum_Desert",index:14},Gangster_Gus:{world:"Yum-Yum_Desert",index:15},Omar_Da_Ogar:{world:"Yum-Yum_Desert",index:16},Builder_Bird:{world:""},Postboy_Pablob:{world:""},Desert_Davey:{world:""},Giftmas_Blobulyte:{world:""},Loveulyte:{world:""},Constructor_Crow:{world:""},Iceland_Irwin:{world:""},Egggulyte:{world:""},Hoggindaz:{world:"Frostbite_Tundra",index:0},Worldo:{world:"Frostbite_Tundra",index:0},Lord_of_the_Hunt:{world:"Frostbite_Tundra",index:1},Lonely_Hunter:{world:"Frostbite_Tundra",index:2},Snouts:{world:"Frostbite_Tundra",index:3},Shuvelle:{world:"Frostbite_Tundra",index:4},Yondergreen:{world:"Frostbite_Tundra",index:5},Crystalswine:{world:"Frostbite_Tundra",index:6},Bill_Brr:{world:"Frostbite_Tundra",index:7},Bellows:{world:"Frostbite_Tundra",index:8},Cactolyte:{world:""},Coastiolyte:{world:""},Gobo:{world:"Hyperion_Nebula",index:0},Oinkin:{world:"Hyperion_Nebula",index:1},Eliteus:{world:"Hyperion_Nebula",index:2},Capital_P:{world:"Hyperion_Nebula",index:3},Blobbo:{world:"Hyperion_Nebula",index:4},Royal_Worm:{world:"Hyperion_Nebula",index:5},Monolith:{world:"Hyperion_Nebula",index:6},Rift_Ripper:{world:"Hyperion_Nebula",index:7},Muhmuguh:{world:"Smolderin'_Plateau",index:1},Slargon:{world:"Smolderin'_Plateau",index:2},Pirate_Porkchop:{world:"Smolderin'_Plateau",index:3},Poigu:{world:"Smolderin'_Plateau",index:4},Tired_Mole:{world:"Smolderin'_Plateau",index:5}}},32113:function(l,i,n){n.d(i,{B4:function(){return r},wt:function(){return u}});var o=n(66092),e=n(67924),d=n(2127);let u=(l,i,n)=>t((0,o.tryToParse)(null==l?void 0:l.Refinery)||(null==l?void 0:l.Refinery),i,n),t=(l,i,n)=>{var o,u,t,r,a;let s=null==l?void 0:l[1],c=null==l?void 0:l[2],m=null==s?void 0:s.reduce((l,i,n)=>{var o;return"Blank"!==i?[...l,{rawName:i,name:null===(o=e.items[i])||void 0===o?void 0:o.displayName,amount:null==c?void 0:c[n],owner:"refinery"}]:l},[]),p=[...i,...m],h=null==n?void 0:null===(u=n[2])||void 0===u?void 0:null===(o=u[2])||void 0===o?void 0:o[6],f=null==l?void 0:l.slice(3,3+(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t[0])),g=null==f?void 0:f.reduce((l,i,n)=>{let o="Refinery".concat(n+1),[u,t,,r,a]=i,{saltName:s,cost:c}=null===e.refinery||void 0===e.refinery?void 0:e.refinery[o];return[...l,{saltName:s,cost:null==c?void 0:c.map(l=>{let i=(0,d.ju)(p,null==l?void 0:l.name,!0);return{...l,totalAmount:i}}),rawName:o,powerCap:v(t),refined:u,rank:t,active:r,autoRefinePercentage:a}]},[]);return{salts:g,refinerySaltTaskLevel:h,timePastCombustion:null==l?void 0:null===(r=l[0])||void 0===r?void 0:r[1],timePastSynthesis:null==l?void 0:null===(a=l[0])||void 0===a?void 0:a[2],totalLevels:null==g?void 0:g.reduce((l,i)=>{let{rank:n}=i;return l+n},0),refineryStorage:m}},v=l=>{var i;let n=null===(i=e.randomList[18])||void 0===i?void 0:i.split(" ");return parseFloat(Math.max(null==n?void 0:n[Math.min(l,(null==n?void 0:n.length)-2)],25))},r=(l,i,n,o)=>null==n?void 0:n.filter(n=>{var e;let{rawName:d,quantity:u,totalAmount:t}=n;return t{let t=(0,o.tryToParse)(null==l?void 0:l.Sailing)||(null==l?void 0:l.Sailing),v=(0,o.tryToParse)(null==l?void 0:l.Captains)||(null==l?void 0:l.Captains),r=(0,o.tryToParse)(null==l?void 0:l.Boats)||(null==l?void 0:l.Boats),a=(0,o.tryToParse)(null==l?void 0:l.SailChests)||(null==l?void 0:l.SailChests);return t&&v&&r&&a?y(i,t,v,r,a,n,e,d,u):null},y=(l,i,n,o,e,d,u,t,v)=>{var r,a,s,c,m,p,h;let f=null==i?void 0:i[1],g=null!==(h=null===(r=I(l,"Dreamcatcher"))||void 0===r?void 0:r.bonus)&&void 0!==h?h:0,b=null==u?void 0:null===(a=u.gemShopPurchases)||void 0===a?void 0:a.find((l,i)=>129===i),y=(0,_.k)(null==u?void 0:u.achievements,287)+(0,_.k)(null==u?void 0:u.achievements,290),x=Math.min(Math.round(5+b+(Math.min(4,g)+(null==u?void 0:null===(m=u.tasks)||void 0===m?void 0:null===(c=m[2])||void 0===c?void 0:null===(s=c[4])||void 0===s?void 0:s[2])+y)),30),S=k(e,l,t),C=E(),B=W(f),T=P(i,n,o,u,d,v,l,B),O=M(null==T?void 0:null===(p=T.boats)||void 0===p?void 0:p.map(l=>{let{maxTime:i}=l;return i}),x-((null==S?void 0:S.length)||0)),A=w(T,null==i?void 0:i[0],B,l,u);return{maxChests:x,artifacts:l,lootPile:B,chests:S,rareTreasureChance:C,trades:A,timeToFullChests:O,...T}},M=(l,i)=>{let n=i/Math.min(...l),o=0,e=0;for(let d of l)if(o+=d,(e+=n*(o-d))>=i)break;return o},w=function(){var l,i,n,o;let{boats:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0,t=arguments.length>3?arguments[3]:void 0,v=arguments.length>4?arguments[4]:void 0,r=null!==(o=null==e?void 0:null===(i=e[0])||void 0===i?void 0:null===(l=i.loot)||void 0===l?void 0:l.value)&&void 0!==o?o:0,a=I(t,"Emerald_Relic"),s=null==d?void 0:d.reduce((l,i)=>-1===i?l+1:l,0),c=Math.floor((null==v?void 0:null===(n=v.timeAway)||void 0===n?void 0:n.GlobalTime)/21600),m=[];for(let l=0;l<40;l++){let i=Math.min(30,Math.ceil(2*new g.Z(c+l).rand()*s)),n=x(null==u?void 0:u[i],r),o=new Date(Math.floor((c+l)*216e5));m.push({...null==u?void 0:u[i],date:o,moneyValue:S(n,i,a),lootItemCost:n})}return m},x=(l,i)=>Math.max(.2*(null==l?void 0:l.amount),i),S=(l,i,n)=>{var o;let e=null!==(o=null==n?void 0:n.acquired)&&void 0!==o?o:0;return 1.5*Math.pow(1.6,Math.floor(i/2))*(1+((i+1)%2*150+(30*Math.floor(e/2)+30*Math.floor(e/3)))/100)*l},C=(l,i,n)=>{let d=(0,o.tryToParse)(null==l?void 0:l.Sailing)||(null==l?void 0:l.Sailing),u=null==d?void 0:d[3],t=null==d?void 0:d[1];return null===e.artifacts||void 0===e.artifacts?void 0:e.artifacts.map((l,o)=>X(l,null==u?void 0:u[o],t,o,i,n))},k=(l,i,n)=>null==l?void 0:l.map(l=>({...B(l,i,n),rawName:"SailChest".concat(null==l?void 0:l[3])})),B=(l,i,n)=>{let[o,d,u]=l,t=null===e.islands||void 0===e.islands?void 0:e.islands[d],v=0;for(let l=0;l{let{acquired:i}=l;return i<3});return{artifactChance:s>.01?Math.round(100*s)/100:.01,ancientChance:(u/T(d,n)).toFixed(5),eldritchChance:(u/O(d,n)).toFixed(5),island:t,islandIndex:d,treasure:o,possibleArtifacts:c}},T=(l,i)=>3>l?850:(1e3+(l-3)*(null==i?void 0:i.AncientOddPerIsland))/(1+(null==i?void 0:i.AncientArtiPCT)/100),O=(l,i)=>3>l?900+250*l:(1e3+(l-3)*(null==i?void 0:i.AncientOddPerIsland))/(1+(null==i?void 0:i.AncientArtiPCT)/100)*4,I=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return null==l?void 0:l.find(l=>{let{name:n,acquired:o}=l;return n===i&&o})},E=()=>.05,P=(l,i,n,o,u,t,v,r)=>{var a,s,c,m;let p=(null==l?void 0:null===(a=l[2])||void 0===a?void 0:a[0])||0,g=(null==l?void 0:null===(s=l[2])||void 0===s?void 0:s[1])||0,_=null!==(m=(0,d.Hx)(t,"Siege_Breaker"))&&void 0!==m?m:0,b=Math.round(120/(1+((0,f.D)(e.classFamilyBonuses,"FASTER_MINIMUM_BOAT_TRAVEL_TIME",_)+(0,h.du)(null==o?void 0:null===(c=o.breeding)||void 0===c?void 0:c.pets,"Lower_Minimum_Travel_Time_for_Sailing"))/100)),y=L(o,u,v),M=null==i?void 0:i.slice(30,34);M=M.map((l,i)=>N(l,i,!0));let w=null==i?void 0:i.slice(0,p+1),x=null==w?void 0:w.map((l,i)=>N(l,i)),S=null==n?void 0:n.slice(0,g+1),C=null==S?void 0:S.map((l,i)=>A(l,i,r,x,v,u,o,y,b)),k=null==C?void 0:C.reduce((l,i,n)=>{let{captainMappedIndex:o}=i;return{...l,[o]:n}},{});return{captains:x,boats:C,shopCaptains:M,captainsOnBoats:k}},A=function(l,i,n,o,d,u,t,v){var r,a;let s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:120,[c,m,,p,h,f]=l,g=null==o?void 0:o[c],_=null===e.islands||void 0===e.islands?void 0:e.islands[m],b={rawName:"Boat_Frame_".concat(Y(p+f)),level:p+f,artifactChance:H(d,o[c],t),captainIndex:c,captainMappedIndex:null==g?void 0:g.captainIndex,lootLevel:p,speedLevel:f,boatIndex:i,island:_,islandIndex:m,distanceTraveled:h};return b.resources=R(b,n),b.loot=j(u,t,d,b,g),b.speed=F(g,_,f,v,s),b.maxTime=(null==_?void 0:_.distance)/(null===(r=b.speed)||void 0===r?void 0:r.value)*36e5,b.timeLeft=((null==_?void 0:_.distance)-h)/(null===(a=b.speed)||void 0===a?void 0:a.value)*36e5,b},L=(l,i,n)=>{var o,e,u,h,f,g,_,b,y,M,w,x;let S=null==i?void 0:i.find(l=>{let{linkedDeity:i}=l;return 6===i}),C=(0,s.kI)(S,l,6,i),k=(0,v.OK)(null==l?void 0:l.cards,"Sailing_Speed_(Passive)"),B=(0,r.mV)(null==l?void 0:l.stamps,"Sailing_Speed"),T=(0,p.c9)(null==l?void 0:l.lab.labBonuses,8),O=(0,p.pc)(null==l?void 0:null===(o=l.lab)||void 0===o?void 0:o.jewels,16,T),E=(0,a.F4)(l,null,"Sailing",O),P=(0,t.om)(null==l?void 0:null===(e=l.alchemy)||void 0===e?void 0:e.bubbles,"kazam","BOATY_BUBBLE",!1),A=(0,s.HQ)(null==l?void 0:null===(u=l.divinity)||void 0===u?void 0:u.deities,"Goharut"),L=(0,s.HQ)(null==l?void 0:null===(h=l.divinity)||void 0===h?void 0:h.deities,"Bagur"),N=(0,s.HQ)(null==l?void 0:null===(f=l.divinity)||void 0===f?void 0:f.deities,"Purrmep"),R=null!==(w=null===(g=I(n,"10_AD_Tablet"))||void 0===g?void 0:g.bonus)&&void 0!==w?w:0,q=(0,t.iu)(null==l?void 0:null===(_=l.alchemy)||void 0===_?void 0:_.vials,"SailSpd"),D=null!==(x=null===(b=(0,m.Ob)(l,"MSA_Sailing"))||void 0===b?void 0:b.bonus)&&void 0!==x?x:0,F=(0,d.pA)(null==l?void 0:l.rift,null==l?void 0:null===(M=l.totalSkillsLevels)||void 0===M?void 0:null===(y=M.sailing)||void 0===y?void 0:y.rank,1);return(1+(C+k+P)/125)*(1+A/100)*(1+N/100)*(1+(L+R+B+(0,c.U6)(null==l?void 0:l.statues,"StatueG25")+E+q+(17*F+D))/125)},N=(l,i,n)=>{var d,u,t,v;let r=String.fromCharCode(65+i),[a,s,c,m,p,h,f]=l,g={captainIndex:r,captainType:a,level:m,firstBonusIndex:s,secondBonusIndex:c,firstBonusDescription:null===e.captainsBonuses||void 0===e.captainsBonuses?void 0:null===(d=e.captainsBonuses[s])||void 0===d?void 0:d.bonus,secondBonusDescription:null===e.captainsBonuses||void 0===e.captainsBonuses?void 0:null===(u=e.captainsBonuses[c])||void 0===u?void 0:u.bonus,firstBonusValue:h,secondBonusValue:f,exp:(0,o.notateNumber)(Math.floor(p),"Big")},_=U(g,h),b=U(g,f);if(g.firstBonus=_,g.secondBonus=b,g.firstBonusDescription=null==g?void 0:null===(t=g.firstBonusDescription)||void 0===t?void 0:t.replace("{",_),g.secondBonusDescription=null==g?void 0:null===(v=g.secondBonusDescription)||void 0===v?void 0:v.replace("{",b),g.expReq=(0,o.notateNumber)(G(g),"Big"),n){let l=2*s+2*c+h+f;g.cost=Math.pow(8,1+a)*(1+Math.pow(l,2)/100)}return g},R=(l,i)=>[0,1].map(n=>{let o=q(null==l?void 0:l.boatIndex,n);return{required:D(l,n),...(null==i?void 0:i[o])||{}}}),q=(l,i)=>0===i?4>l?0:Math.min(30,1+2*(l-4)):2>l?l:5>l?1+2*(l-2):Math.min(30,2*(l-4)),D=(l,i)=>{let n=q(null==l?void 0:l.boatIndex,i),o=0===i?null==l?void 0:l.lootLevel:null==l?void 0:l.speedLevel;return 0===n?Math.round((5+4*o)*Math.pow(1.17-.12*o/(o+200),o)):n%2==1?Math.round((5+2*o)*Math.pow(1.15-.1*o/(o+200),o)):Math.round((2+o)*Math.pow(1.12-.07*o/(o+200),o))},F=(l,i,n,o,e)=>{var d,u;let t=0;(null==l?void 0:null===(d=l.firstBonusDescription)||void 0===d?void 0:d.includes("Boat_Speed"))&&(t+=null==l?void 0:l.firstBonus),(null==l?void 0:null===(u=l.secondBonusDescription)||void 0===u?void 0:u.includes("Boat_Speed"))&&(t+=null==l?void 0:l.secondBonus);let v=(10+(5+Math.pow(Math.floor(n/7),2))*n)*(1+t/100)*o,r=(10+(5+Math.pow(Math.floor((n+1)/7),2))*(n+1))*(1+t/100)*o;return{raw:v,value:i?Math.min(v,(null==i?void 0:i.distance)*60/e):v,nextLevelValue:r}},j=(l,i,n,o,e)=>{var d,v,r,a;let s=1+(0,u.A5)(l,3,"Siege_Breaker","UNENDING_LOOT_SEARCH")/100,c=2+Math.pow(Math.floor(((null==o?void 0:o.lootLevel)+1)/8),2),m=2+Math.pow(Math.floor((null==o?void 0:o.lootLevel)/8),2),p=(0,t.Vq)(null==i?void 0:null===(v=i.alchemy)||void 0===v?void 0:null===(d=v.p2w)||void 0===d?void 0:d.sigils,"LOOT_PILE"),h=V(1,e,null==e?void 0:e.firstBonusIndex),f=V(1,e,null==e?void 0:e.secondBonusIndex),g=null!==(a=null===(r=I(n,"Genie_Lamp"))||void 0===r?void 0:r.bonus)&&void 0!==a?a:0,_=(5+c*((null==o?void 0:o.lootLevel)+1))*(1+(p+(h+f+g))/100)*s;return{value:(5+m*(null==o?void 0:o.lootLevel))*(1+(p+(h+f+g))/100)*s,nextLevelValue:_}},G=l=>(9+Math.pow(null==l?void 0:l.level,3))*Math.pow(1.5,null==l?void 0:l.level)*Math.pow(1.5,Math.max((null==l?void 0:l.level)-10,0)),U=(l,i)=>Math.round((null==l?void 0:l.level)*i*10)/10,H=(l,i,n)=>{var e,d,u;let t=null!==(u=null===(e=I(l,"Fauxory_Tusk"))||void 0===e?void 0:e.bonus)&&void 0!==u?u:0,v=(0,h.du)(null==n?void 0:null===(d=n.breeding)||void 0===d?void 0:d.pets,"Higher_Artifact_Find_Chance"),r=V(3,i,null==i?void 0:i.firstBonusIndex),a=V(3,i,null==i?void 0:i.secondBonusIndex);return(0,o.notateNumber)(Math.max(1,1+(t+(r+a)+v)/100),"MultiplierInfo")},V=(l,i,n)=>n>0?0:n===l?(null==i?void 0:i.level)*(null==i?void 0:i.firstBonusValue):n===l?(null==i?void 0:i.level)*(null==i?void 0:i.secondBonusValue):0,Y=l=>l<25?0:l<50?1:l<100?2:l<200?3:l<300?4:5,W=l=>null==l?void 0:l.map((l,i)=>({amount:l>0?l:0,rawName:"SailT".concat(i)})),X=(l,i,n,e,t,v)=>{var r,a,s,c,m,p,h,f;let g,_=null==l?void 0:l.baseBonus,b=null==l?void 0:l.baseBonus,y=2===i||3===i,M=2===i?"ancientMultiplier":3===i?"eldritchMultiplier":"baseBonus",w=null==l?void 0:l.description;if((null==l?void 0:l.name)==="Maneki_Kat"||(null==l?void 0:l.name)==="Ashen_Urn"){let n=(0,d.QV)(t);g="Highest level: ".concat(n),_=n*(null==l?void 0:l.baseBonus),(null==l?void 0:l.name)==="Ashen_Urn"&&(_=n>(null==l?void 0:l[M])?(null==l?void 0:l[M])*(null==l?void 0:l.baseBonus):n*(null==l?void 0:l.baseBonus),w="".concat(w," Total Bonus: ").concat(y?_*i:_))}else if((null==l?void 0:l.name)==="Ruble_Cuble"||(null==l?void 0:l.name)==="10_AD_Tablet"||(null==l?void 0:l.name)==="Jade_Rock"||(null==l?void 0:l.name)==="Gummy_Orb"){let i=null==v?void 0:null===(r=v.looty)||void 0===r?void 0:r.rawLootedItems,n=(null==l?void 0:l.name)==="10_AD_Tablet"||(null==l?void 0:l.name)==="Gummy_Orb";g="Looted items: ".concat(i);let o=(null==l?void 0:l[M])*Math.floor(Math.max(0,i-500)/10);_=n&&"baseBonus"!==M?(null==l?void 0:l.baseBonus)*o:o}else if((null==l?void 0:l.name)==="Fauxory_Tusk"||(null==l?void 0:l.name)==="Genie_Lamp"){let i=(null==l?void 0:l.name)==="Genie_Lamp",n=(0,d.fx)(t,"sailing");_=i?n*(null==l?void 0:l.baseBonus):n,g="Sailing level: ".concat(n)}else if((null==l?void 0:l.name)==="Weatherbook"){let i=(0,d.fx)(t,"gaming");g="Gaming level: ".concat(i),_=i*(null==l?void 0:l.baseBonus)}else if((null==l?void 0:l.name)==="Triagulon"){let i=null==v?void 0:null===(c=v.cooking)||void 0===c?void 0:null===(s=c.meals)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:a.amount;_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(i)}else if((null==l?void 0:l.name)==="Opera_Mask"){let i=null==n?void 0:n[0];_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(i)}else if((null==l?void 0:l.name)==="Fun_Hippoete")_=(null==l?void 0:l.baseBonus)*(0,o.lavaLog)(null==v?void 0:null===(m=v.construction)||void 0===m?void 0:m.playersBuildRate);else if((null==l?void 0:l.name)==="The_True_Lantern")_=(null==l?void 0:l.baseBonus)*(null!==(h=(0,o.lavaLog)(null==v?void 0:null===(p=v.atoms)||void 0===p?void 0:p.particles))&&void 0!==h?h:0);else if((null==l?void 0:l.name)==="Gold_Relic"){let i=null==v?void 0:null===(f=v.accountOptions)||void 0===f?void 0:f[125],n=y?null==l?void 0:l[M]:0;g="Days passed: ".concat(i,". Bonus: ").concat((0,o.notateNumber)(1+i*(1+n)/100,"MultiplierInfo").replace("#",""),"x")}else if((null==l?void 0:l.name)==="Crystal_Steak"){let l=null==t?void 0:t.map(l=>{let{name:i,class:n,stats:o}=l,e=null===u.nl||void 0===u.nl?void 0:u.nl[n];return{name:i,stat:null==o?void 0:o[e]}});w=w.replace("_Total_Bonus:_+}%_dmg",""),g=l.map(l=>{let{name:n,stat:o}=l;return{name:n,bonus:(y?_*i:_)*Math.floor(o/100)}})}else(null==l?void 0:l.name)==="Socrates"&&(g=(null==t?void 0:t.map(l=>{var i,n,o,e;let{name:d,stats:u}=l;return{name:d,strength:null!==(i=null==u?void 0:u.strength)&&void 0!==i?i:0,agility:null!==(n=null==u?void 0:u.agility)&&void 0!==n?n:0,wisdom:null!==(o=null==u?void 0:u.wisdom)&&void 0!==o?o:0,luck:null!==(e=null==u?void 0:u.luck)&&void 0!==e?e:0}})).map(n=>{let{name:o,strength:e,agility:d,wisdom:u,luck:t}=n,v=1+(y?(null==l?void 0:l.baseBonus)*i:null==l?void 0:l.baseBonus)/100;return{name:o,strength:Math.floor(v*e),agility:Math.floor(v*d),wisdom:Math.floor(v*u),luck:Math.floor(v*t)}}));return 2===i&&(null==l?void 0:l.ancientFormDescription)==="The_artifact's_main_bonus_is_doubled!"?_*=2:3===i&&(null==l?void 0:l.eldritchFormDescription)==="The_artifact's_main_bonus_is_tripled!"&&(_*=3),w=w.replace(/{/,b).replace(/}/,(0,o.kFormatter)(_,2)).replace(/@/,""),{...l,description:w,additionalData:g,bonus:_,acquired:i,rawName:"Arti".concat(e)}}},97424:function(l,i,n){n.d(i,{U:function(){return u},W:function(){return t}});var o=n(2127),e=n(67924),d=n(66092);let u=(l,i)=>{let n=(0,d.tryToParse)(null==l?void 0:l.SaltLick)||(null==l?void 0:l.SaltLick);return null==n?void 0:n.map((l,n)=>{let d=e.saltLicks[n],u=(0,o.ju)(i,null==d?void 0:d.name,!0);return{...d,totalAmount:u,level:l}}).filter(l=>{let{level:i}=l;return i>0})},t=function(l,i){var n,o,e;let d=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=null==l?void 0:l[i];if(!u||0===u)return 0;let t=u.baseBonus*(null!==(n=u.level)&&void 0!==n?n:0);return d?null!==(e=round(t))&&void 0!==e?e:0:t}},94336:function(l,i,n){n.d(i,{Xz:function(){return c},n:function(){return p},wt:function(){return h}});var o=n(66092),e=n(67924),d=n(98118),u=n(72810),t=n(95299),v=n(21351),r=n(83524),a=n(14802),s=n(6426);let c=(l,i)=>m((null==l?void 0:l.ShrineInfo)||(0,o.tryToParse)(null==l?void 0:l.Shrine),(null==l?void 0:l.TowerInfo)||(0,o.tryToParse)(null==l?void 0:l.Tower),i),m=(l,i,n)=>{var o,u,t;let v=null==n?void 0:null===(t=n.lab)||void 0===t?void 0:null===(u=t.labBonuses)||void 0===u?void 0:null===(o=u.find(l=>"Shrine_World_Tour"===l.name))||void 0===o?void 0:o.active,r=null==l?void 0:l.map((l,i)=>{let[,,,o]=l,{baseBonus:u,bonusPerLevel:t}=e.shrines[18+i];return(1+(0,d.OK)(null==n?void 0:n.cards,"Shrine_Effects_(Passive)")/100)*((o-1)*t+u)});return null==l?void 0:l.reduce((l,n,o)=>{let d=18+o,[u,,,t,a]=n,{shrineName:s,desc:c,baseBonus:m,bonusPerLevel:p}=e.shrines[d];return"Unknown"!==s?[...l,{mapId:u,shrineLevel:t,name:s,rawName:"ConTowerB".concat(d),bonus:m+(t-1)*p,progress:a,desc:c,worldTour:v,shrineFactor:null==r?void 0:r[2],shrineTowerValue:null==i?void 0:i[18+o]}]:l},[])},p=(l,i)=>{let n=Array(9).fill(0),o={};return null==l||l.forEach(l=>{var e,d,c,m,p;let h=null==l?void 0:l.mapIndex,f=(0,t.Ob)(i,"Shrine_Speed")?1:0,g=(0,u.YS)(null==i?void 0:null===(e=i.sailing)||void 0===e?void 0:e.artifacts,"Moai_Head"),_=0;g&&(_+=(null==g?void 0:g.acquired)===3?null==g?void 0:g.eldritchMultiplier:(null==g?void 0:g.acquired)===2?(null==g?void 0:g.ancientMultiplier)*2:null==g?void 0:g.baseBonus);let b=(0,v.pA)(null==i?void 0:i.rift,null==i?void 0:null===(c=i.totalSkillsLevels)||void 0===c?void 0:null===(d=c.construction)||void 0===d?void 0:d.rank,1)||0,y=(0,r.xV)(null==l?void 0:l.postOffice,"Construction_Container",1),M=(0,v.tE)("Golden_Cheese",l,i),w=(0,a._X)(null==l?void 0:l.starTalents,null,"SHRINE_ARCHITECT"),x=(0,s.YG)(null==i?void 0:null===(m=i.alchemy)||void 0===m?void 0:m.vials,null,"ShrineSpd");null==i||null===(p=i.shrines)||void 0===p||p.forEach((i,e)=>{let{shrineTowerValue:d,shrineFactor:u,mapId:t,worldTour:v}=i,r={name:null==l?void 0:l.name,value:0};if(!v&&h!==t||v&&Math.floor(h/50)!==Math.floor(t/50))return r;let a=(1+50*f/100)*(1+(_+15*b)/100)*(1+10*d/100)*(1+(u+(y+(M+(w+x))))/100);n[e]+=a,o={...o,[e]:[...(null==o?void 0:o[e])||[],{name:null==l?void 0:l.name,value:a}]}})}),{total:n,breakdown:o}},h=(l,i,n,o,e)=>{var t;let v=!0===e||Array.isArray(e)&&(0,u.YS)(e,"Moai_Head"),r=null==l?void 0:l[i];if(!r)return 0;let a=Math.floor((null==r?void 0:r.mapId)/50),s=(null==r?void 0:r.mapId)%50==0,c=n!==(null==r?void 0:r.mapId),m=(null==r?void 0:r.worldTour)&&s&&Math.floor(n/50)===a||v;if((null==r?void 0:r.level)===0||c&&!m)return 0;let p=null==o?void 0:o.Chaotic_Chizoar,h=null!==(t=(0,d.BZ)(p))&&void 0!==t?t:0;return(null==r?void 0:r.bonus)*(1+h/100)}},42915:function(l,i,n){n.d(i,{MH:function(){return S},Md:function(){return w},bL:function(){return x},bW:function(){return m},fE:function(){return M},mV:function(){return y},t2:function(){return s}});var o=n(66092),e=n(67924),d=n(14802),u=n(2127),t=n(21351),v=n(6426),r=n(95039);let a={0:"combat",1:"skills",2:"misc"},s=(l,i)=>c((0,o.tryToParse)(null==l?void 0:l.StampLv)||(null==l?void 0:l.StampLevel),(0,o.tryToParse)(null==l?void 0:l.StampLvM)||(null==l?void 0:l.StampLevelMAX),i),c=(l,i,n)=>{var o;return null===(o=Object.entries(null==l?void 0:l.reduce((l,n,o)=>({...l,[null==a?void 0:a[o]]:Object.keys(n).reduce((l,e,d)=>{var u;return"length"!==e?[...l,{level:parseFloat(n[e]),maxLevel:null==i?void 0:null===(u=i[o])||void 0===u?void 0:u[d]}]:l},[])}),{})))||void 0===o?void 0:o.reduce((l,i)=>{let[o,d]=i,t=null==d?void 0:d.map((l,i)=>{var d,t,v;let r=e.stamps[o][i],a=null==r?void 0:null===(d=r.itemReq)||void 0===d?void 0:d[0],s=(0,u.F6)(e.crafts[null==a?void 0:a.name]),c=(null==n?void 0:null===(v=n.storage)||void 0===v?void 0:null===(t=v.find(l=>{let{rawName:i}=l;return i===(null==a?void 0:a.rawName)}))||void 0===t?void 0:t.amount)||0;return{...r,...l,materials:s,ownedMats:c,greenStackOwnedMats:Math.max(0,c-1e7),itemReq:a,category:o}});return{...l,[o]:t}},{})},m=(l,i)=>{var n;let d=null==l?void 0:null===(n=l.atoms)||void 0===n?void 0:n.stampReducer,u=Object.values(null==l?void 0:l.stamps).flat().map(n=>{var o,u,v;let r,a;let s=(0,t.tc)(null===e.items||void 0===e.items?void 0:e.items[null==n?void 0:null===(o=n.itemReq)||void 0===o?void 0:o.rawName],i,l),c=g(null==n?void 0:n.level,n,l),m=(null==l?void 0:null===(u=l.currencies)||void 0===u?void 0:u.rawMoney)>=c,f=b(null==n?void 0:n.level,n,l,d);(null==n?void 0:null===(v=n.materials)||void 0===v?void 0:v.length)>0?(r=p(null==n?void 0:n.materials,f,l),a=p(null==n?void 0:n.materials,f,l,!0)):(r=(null==n?void 0:n.ownedMats)>=f,a=Math.max(0,(null==n?void 0:n.ownedMats)-1e7)>=f);let _=(null==s?void 0:s.maxCapacity)>=f,y={...n,bestCharacter:s,goldCost:c,materialCost:f,enoughPlayerStorage:_,greenStackHasMaterials:a,hasMaterials:r,hasMoney:m},M=h(y,l,d);return{...y,futureCosts:M}});return(0,o.groupByKey)(u,l=>{let{category:i}=l;return i})},p=(l,i,n,o)=>null==l?void 0:l.every(l=>{let{itemName:e,type:d,itemQuantity:t}=l;if("Equip"===d)return!0;let v=(0,u.ju)(null==n?void 0:n.storage,e,!0);return o?Math.max(0,v-1e7):v>=t*i}),h=(l,i,n)=>{var o,e,d,u,t,v,r,a,s;let c=null==l?void 0:l.maxLevel;for(;b(c,l,i,n)<(null==l?void 0:null===(o=l.bestCharacter)||void 0===o?void 0:o.maxCapacity);)c+=null==l?void 0:l.reqItemMultiplicationLevel;let m=(null==i?void 0:null===(u=i.atoms)||void 0===u?void 0:null===(d=u.atoms)||void 0===d?void 0:null===(e=d[0])||void 0===e?void 0:e.baseBonus)*(null==i?void 0:null===(r=i.atoms)||void 0===r?void 0:null===(v=r.atoms)||void 0===v?void 0:null===(t=v[0])||void 0===t?void 0:t.level),p=(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel)*3,h=[];for(let o=(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel);o<=p;o+=null==l?void 0:l.reqItemMultiplicationLevel)for(let e=o===(null==l?void 0:l.level)+(null==l?void 0:l.reqItemMultiplicationLevel)?n:0;e<=90;e=Math.min(90,e+m)){let n,d;let u=b(o-(null==l?void 0:l.reqItemMultiplicationLevel),l,i,e);if(90===e){u<(null==l?void 0:null===(s=l.bestCharacter)||void 0===s?void 0:s.maxCapacity)&&(n=o-(null==l?void 0:l.reqItemMultiplicationLevel)===(null==l?void 0:l.level)?u:_(null==l?void 0:l.level,o,l,i,e),d=f(null==l?void 0:l.level,o,l,i),h.push({...null==l?void 0:l.itemReq,level:o,goldCost:d,materialCost:n,reduction:e}));break}if(u<(null==l?void 0:null===(a=l.bestCharacter)||void 0===a?void 0:a.maxCapacity)){n=o-(null==l?void 0:l.reqItemMultiplicationLevel)===(null==l?void 0:l.level)?u:_(null==l?void 0:l.level,o,l,i,e),d=f(null==l?void 0:l.level,o,l,i),h.push({...null==l?void 0:l.itemReq,level:o,goldCost:d,materialCost:n,reduction:e});break}if(0===m)break}if(0===h.length){let o=b(c,l,i,n),e=g(c,l,i);h.push({...null==l?void 0:l.itemReq,level:c,goldCost:e,materialCost:o,reduction:n})}return h},f=(l,i,n,o)=>{let e=g(l,n,o);for(let d=l;d{var o,e;let d=(0,v.YG)(null==n?void 0:null===(o=n.alchemy)||void 0===o?void 0:o.vials,"material_cost_for_stamps"),u=null==n?void 0:null===(e=n.bribes)||void 0===e?void 0:e[0];return Math.floor(((null==u?void 0:u.done)?(null==i?void 0:i.baseCoinCost)*(1-(null==u?void 0:u.value)/100):null==i?void 0:i.baseCoinCost)*Math.pow((null==i?void 0:i.powCoinBase)-l/(l+5*(null==i?void 0:i.reqItemMultiplicationLevel))*.25,10/(null==i?void 0:i.reqItemMultiplicationLevel)*l)*Math.max(.1,1-d/100))},_=function(l,i,n,o){let e=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,d=0;for(let u=l;u3&&void 0!==arguments[3]?arguments[3]:0,s=(0,r.RB)(null==n?void 0:n.rift,"Stamp_Mastery")?null==n?void 0:null===(o=n.accountOptions)||void 0===o?void 0:o[154]:0,c=(0,v.YG)(null==n?void 0:null===(e=n.alchemy)||void 0===e?void 0:e.vials,"material_cost_for_stamps"),m=1/(1+(0,v.Vq)(null==n?void 0:null===(u=n.alchemy)||void 0===u?void 0:null===(d=u.p2w)||void 0===d?void 0:d.sigils,"ENVELOPE_PILE")/100);return Math.max(1,(null==i?void 0:i.baseMatCost)*(s>0?.05:1)*Math.max(.1,1-a/100)*m*Math.pow(null==i?void 0:i.powMatBase,Math.pow(Math.round(l/(null==i?void 0:i.reqItemMultiplicationLevel))-1,.8))*Math.max(.1,1-c/100))},y=(l,i,n)=>{var o;return l&&(null===(o=Object.entries(l))||void 0===o?void 0:o.reduce((o,e)=>{let[d,u]=e,t=null==u?void 0:u.filter(l=>{let{effect:n}=l;return null==n?void 0:n.includes(i)});return o+(null==t?void 0:t.reduce((i,o)=>{let{rawName:e}=o;return i+M(l,d,e,n)},0))},0))},M=(l,i,n,e)=>{var u,t,v,r,a,s,c,m;let p=null==l?void 0:null===(u=l[i])||void 0===u?void 0:u.find(l=>{let{rawName:i}=l;return i===n});if(!p)return 0;let h=1;if((null==p?void 0:null===(t=p.stat)||void 0===t?void 0:t.includes("Eff"))&&(h=(0,d._X)(null==e?void 0:e.starTalents,null,"TOILET_PAPER_POSTAGE")),(null==p?void 0:p.skillIndex)>0&&(null==p?void 0:p.reqItemMultiplicationLevel)>1){let l=(null==p?void 0:p.level)*(200/(20*(null==p?void 0:p.reqItemMultiplicationLevel)));if(l>3){let i=3+(l-3)*Math.pow((null==e?void 0:null===(r=e.skillsInfoArray)||void 0===r?void 0:null===(v=r[null==p?void 0:p.skillIndex])||void 0===v?void 0:v.level)/(l-3),.75),n=Math.min(Math.floor(Math.min(i*=20*(null==p?void 0:p.reqItemMultiplicationLevel)/200,l)),null==p?void 0:p.level);return(null!==(a=(0,o.growth)(null==p?void 0:p.func,n,null==p?void 0:p.x1,null==p?void 0:p.x2,!1))&&void 0!==a?a:0)*(null!==(s=null==p?void 0:p.multiplier)&&void 0!==s?s:1)*h}}return(null!==(c=(0,o.growth)(null==p?void 0:p.func,null==p?void 0:p.level,null==p?void 0:p.x1,null==p?void 0:p.x2,!1))&&void 0!==c?c:0)*(null!==(m=null==p?void 0:p.multiplier)&&void 0!==m?m:1)*h},w=(l,i)=>Object.entries(l).reduce((l,n)=>{let[o,e]=n,d=e;return"misc"!==o&&(d=null==e?void 0:e.map(l=>({...l,multiplier:i}))),{...l,[o]:d}},{}),x=l=>{var i;return l?null===(i=Object.values(l))||void 0===i?void 0:i.reduce((l,i)=>l+(null==i?void 0:i.reduce((l,i)=>{let{level:n}=i;return l+n},0)),0):0},S=l=>{var i;return l?null===(i=Object.values(l))||void 0===i?void 0:i.reduce((l,i)=>l+(null==i?void 0:i.reduce((l,i)=>{let{level:n}=i;return l+(n>0?1:0)},0)),0):0}},64169:function(l,i,n){n.d(i,{Wv:function(){return c},kz:function(){return v},o9:function(){return m},tp:function(){return r}});var o=n(66092),e=n(67924),d=n(45819),u=n(95039),t=n(54381);let v=l=>a((0,o.tryToParse)(null==l?void 0:l.StarSg)||(null==l?void 0:l.StarSignsUnlocked)),r=l=>s((0,o.tryToParse)(null==l?void 0:l.SSprog)||(null==l?void 0:l.StarSignProg)),a=l=>null===e.starSigns||void 0===e.starSigns?void 0:e.starSigns.map(i=>{let{starName:n}=i;return{...i,indexedStarName:"".concat(null===d.SS||void 0===d.SS?void 0:d.SS[n]," - ").concat(n),starName:n,unlocked:!!(null==l?void 0:l[n])}},[]),s=l=>null==l?void 0:l.reduce((l,i,n)=>{let o=e.constellations[n],[d,u]=i,t=null==o?void 0:o.mapIndex;return null!==t?[...l,{...o,location:e.mapNames[t],completedChars:d,done:!!u}]:l},[]),c=(l,i)=>{if((null==l?void 0:l.length)===0)return 0;let n=null==l?void 0:l.flatMap(l=>{let{bonuses:i}=l;return i}).filter(l=>l);return null==n?void 0:n.reduce((l,n)=>{let{effect:o,bonus:e}=n;return o===i?l+e:l},0)},m=(l,i,n)=>{var o,e;let d=(0,u.RB)(null==i?void 0:i.rift,"Infinite_Stars")?5+(0,t.du)(null==i?void 0:null===(o=i.breeding)||void 0===o?void 0:o.pets,"Infinite_Star_Signs"):0,v=p(null==i?void 0:null===(e=i.starSigns)||void 0===e?void 0:e.map((n,o)=>{var e,u,t,v,r,a,s;let c=null==l?void 0:null===(e=l.starSigns)||void 0===e?void 0:e.find(l=>{let{starName:i}=l;return i===(null==n?void 0:n.starName)}),m=o15===l.index))&&void 0!==a?a:0)?2:1;c={...c,bonuses:null==c?void 0:null===(r=c.bonuses)||void 0===r?void 0:r.map(l=>({...l,bonus:(null==l?void 0:l.bonus)>0?(null==l?void 0:l.bonus)*n:null==l?void 0:l.bonus,active:!0,isInfiniteStar:m}))}}return d&&!c&&(n={...n,bonuses:null==n?void 0:null===(s=n.bonuses)||void 0===s?void 0:s.map(l=>({...l,isInfiniteStar:m}))}),c||n}));return null==v?void 0:v.reduce((l,i)=>{let{effect:o,bonus:e,active:d,isInfiniteStar:u}=i;return o.includes(n)&&(d||u)?l+(u&&e<0?0:e):l},0)},p=l=>null==l?void 0:l.map(l=>{let{bonuses:i}=l;return i}).flatMap(l=>l).filter(l=>l)},84664:function(l,i,n){n.d(i,{U6:function(){return a},Xl:function(){return u},hE:function(){return r}});var o=n(66092),e=n(67924),d=n(14802);let u=(l,i)=>t((0,o.tryToParse)(null==l?void 0:l.StuG)||(null==l?void 0:l.StatueG),i),t=(l,i)=>null==l?void 0:l.reduce((l,n,o)=>{var d;let u=2===n,t=null===(d=v(i,o))||void 0===d?void 0:d.StatueLevels,[r,a]=(null==t?void 0:t[o])||[];return(null==t?void 0:t[o])?[...l,{...(null===e.statues||void 0===e.statues?void 0:e.statues[o])||{},rawName:"Statue".concat(u?"O":1===n?"G":"").concat(parseInt(o)+1),level:r,progress:a,onyxStatue:u}]:l},[]).filter(function(){let{name:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l}),v=(l,i)=>l.reduce((l,n)=>{var o,e,d,u;return(null==l?void 0:null===(e=l.StatueLevels)||void 0===e?void 0:null===(o=e[i])||void 0===o?void 0:o[0])>(null==n?void 0:null===(u=n.StatueLevels)||void 0===u?void 0:null===(d=u[i])||void 0===d?void 0:d[0])?l:n}),r=(l,i)=>{let n=1+(0,d.A5)(i,3,"Voidwalker","VOODOO_STATUFICATION")/100;return null==l?void 0:l.map(l=>({...l,bonus:null==l?void 0:l.bonus,talentMulti:n}))},a=(l,i,n)=>{let o=null==l?void 0:l.find(l=>{let{rawName:n}=l;return n===i||n===i.replace("G","O")});if(!o)return 0;let e=1;switch(null==o?void 0:o.name){case"POWER":case"MINING":case"DEFENCE":case"THICC_SKIN":e+=((0,d._X)(n,2,"SHIELDIEST_STATUES")||(0,d._X)(n,2,"STRONGEST_STATUES"))/100;break;case"SPEED":case"ANVIL":case"BULLSEYE":case"OL_RELIABLE":e+=((0,d._X)(n,2,"STRAIGHTSHOT_STATUES")||(0,d._X)(n,2,"SHWIFTY_STATUES"))/100;break;case"EXP":case"LUMBERBOB":case"BEHOLDER":case"CAULDRON":e+=((0,d._X)(n,2,"STARING_STATUES")||(0,d._X)(n,2,"STUPENDOUS_STATUES"))/100;break;case"EHEXPEE":case"KACHOW":case"FEASTY":e+=(0,d._X)(n,2,"SKILLIEST_STATUE")/100;break;default:e=1}return(null==o?void 0:o.level)*(null==o?void 0:o.bonus)*e*(null==o?void 0:o.talentMulti)*((null==o?void 0:o.onyxStatue)?2:1)}},51603:function(l,i,n){n.d(i,{$v:function(){return v},cF:function(){return u}});var o=n(66092),e=n(67924),d=n(2127);let u=function(l){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"storage";return t((null==l?void 0:l.ChestOrder)||(0,o.tryToParse)(null==l?void 0:l.ChestOrder),(null==l?void 0:l.ChestQuantity)||(0,o.tryToParse)(null==l?void 0:l.ChestQuantity),i,(0,o.tryToParse)(null==l?void 0:l.CMm)||(null==l?void 0:l.CMm))},t=(l,i,n,o)=>v(l,i,n,o),v=(l,i,n,u)=>l.reduce((l,t,v)=>{let r=(0,d.t8)(null===e.items||void 0===e.items?void 0:e.items[t],null==u?void 0:u[v]),a=[1,2,3,4,5,6,7,8].reduce((l,i)=>{var n,o;return(null===e.items||void 0===e.items?void 0:null===(n=e.items[t])||void 0===n?void 0:n["desc_line".concat(i)])?l+"".concat(null===e.items||void 0===e.items?void 0:null===(o=e.items[t])||void 0===o?void 0:o["desc_line".concat(i)]," "):l},""),s={...null===e.items||void 0===e.items?void 0:e.items[t],...r},c="";return(null==s?void 0:s.UQ1txt)&&(c+=null==s?void 0:s.UQ1txt),(null==s?void 0:s.UQ2txt)&&(c+=" ".concat(null==s?void 0:s.UQ2txt)),"LockedInvSpace"!==t&&"Blank"!==t?[...l,{...s,owner:n,name:null==s?void 0:s.displayName,type:null==s?void 0:s.itemType,subType:null==s?void 0:s.Type,rawName:t,amount:parseInt(null==i?void 0:i[v]),misc:(0,o.cleanUnderscore)(c.trim()),description:(0,o.cleanUnderscore)(a.trim())}]:l},[])},14802:function(l,i,n){n.d(i,{A5:function(){return h},J0:function(){return _},L1:function(){return f},Nb:function(){return b},RL:function(){return C},VG:function(){return M},_X:function(){return r},c4:function(){return S},eZ:function(){return a},gW:function(){return x},iR:function(){return g},ju:function(){return p},nl:function(){return c},o1:function(){return m},pV:function(){return s},xI:function(){return w}});var o=n(66092),e=n(67924),d=n(69320),u=n(21351),t=n(70436),v=n(83672);let r=(l,i,n,e,d,u,t)=>{var v,r,a;let s=null!==i?null==l?void 0:null===(v=l[i])||void 0===v?void 0:v.orderedTalents:null==l?void 0:l.orderedTalents,c=null==s?void 0:s.find(l=>{let{name:i}=l;return i===n});if(!c)return 0;let m=d?null==c?void 0:c.maxLevel:null==c?void 0:c.level;return(m=t?(null==c?void 0:c.maxLevel)+u:u?m-u:m,e)?null!==(r=(0,o.growth)(null==c?void 0:c.funcY,m,null==c?void 0:c.y1,null==c?void 0:c.y2,!1))&&void 0!==r?r:0:null!==(a=(0,o.growth)(null==c?void 0:c.funcX,m,null==c?void 0:c.x1,null==c?void 0:c.x2,!1))&&void 0!==a?a:0},a=function(l,i){var n;let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x";return null!==(n=null==l?void 0:l.reduce(function(l){let{name:n,funcX:d,level:u,x1:t,x2:v,funcY:r,y1:a,y2:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n===i?"x"===e?(0,o.growth)(d,u,t,v,!1):(0,o.growth)(r,u,a,s,!1):l},0))&&void 0!==n?n:0},s={Beginner:["Beginner"],Journeyman:["Beginner","Journeyman"],Maestro:["Beginner","Journeyman","Maestro"],Voidwalker:["Beginner","Journeyman","Maestro","Voidwalker"],Warrior:["Rage_Basics","Warrior"],Barbarian:["Rage_Basics","Warrior","Barbarian"],Blood_Berserker:["Rage_Basics","Warrior","Barbarian","Blood_Berserker"],Squire:["Rage_Basics","Warrior","Squire"],Divine_Knight:["Rage_Basics","Warrior","Squire","Divine_Knight"],Archer:["Calm_Basics","Archer"],Bowman:["Calm_Basics","Archer","Bowman"],Siege_Breaker:["Calm_Basics","Archer","Bowman","Siege_Breaker"],Hunter:["Calm_Basics","Archer","Hunter","Beast_Master"],Beast_Master:["Calm_Basics","Archer","Hunter","Beast_Master"],Mage:["Savvy_Basics","Mage"],Shaman:["Savvy_Basics","Mage","Shaman"],Bubonic_Conjuror:["Savvy_Basics","Mage","Shaman","Bubonic_Conjuror"],Wizard:["Savvy_Basics","Mage","Wizard"],Elemental_Sorcerer:["Savvy_Basics","Mage","Wizard","Elemental_Sorcerer"]},c={Beginner:"luck",Journeyman:"luck",Maestro:"luck",Voidwalker:"luck",Warrior:"strength",Barbarian:"strength",Blood_Berserker:"strength",Squire:"strength",Divine_Knight:"strength",Archer:"agility",Bowman:"agility",Siege_Breaker:"agility",Hunter:"agility",Beast_Master:"agility",Mage:"wisdom",Shaman:"wisdom",Bubonic_Conjuror:"wisdom",Wizard:"wisdom",Elemental_Sorcerer:"wisdom"},m=(l,i,n,o,d)=>i.reduce((l,i,u)=>{var t,v;let r=null===(t=Object.entries((null===e.talents||void 0===e.talents?void 0:e.talents[i])||{}))||void 0===t?void 0:t.map(l=>{let[,i]=l;return{talentId:i.skillIndex,...i,level:n[i.skillIndex]||0,maxLevel:o[i.skillIndex]||-1}});return d?{...l,talents:{...null==l?void 0:l.talents,orderedTalents:[...(null==l?void 0:null===(v=l.talents)||void 0===v?void 0:v.orderedTalents)||[],...r]},flat:[...(null==l?void 0:l.flat)||[],...r]}:{...l,flat:[...(null==l?void 0:l.flat)||[],...r],talents:{...null==l?void 0:l.talents,[u]:{name:i,id:null===e.classes||void 0===e.classes?void 0:e.classes.indexOf(i),orderedTalents:r}}}},{flat:[],talents:{}}),p=(l,i)=>{var n;return null==l?void 0:null===(n=l.map(l=>{let[n]=l;return null==i?void 0:i.find(l=>{let{talentId:i}=l;return n===i})}))||void 0===n?void 0:n.filter(l=>l)},h=function(l,i,n,o,e,d){let u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],t=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==t?void 0:t.reduce((l,n)=>{let{talents:t,addedLevels:v}=n,a=r(t,i,o,e,d,!!u&&v+1);return a>l?a:l},0)},f=(l,i,n,o,e,d)=>{let u=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==u?void 0:u.reduce((l,n)=>{let{talents:u}=n;return r(u,i,o,e,d)>l?n:l},0)},g=(l,i,n,o)=>{let e=null==l?void 0:l.filter(l=>x(null==l?void 0:l.class,n));return null==e?void 0:e.reduce((l,n)=>{var e;let{talents:d}=n,u=null!==i?null==d?void 0:null===(e=d[i])||void 0===e?void 0:e.orderedTalents:null==d?void 0:d.orderedTalents,t=null==u?void 0:u.find(l=>{let{name:i}=l;return i===o});return(null==t?void 0:t.maxLevel)>(null==l?void 0:l.maxLevel)?t:l},{maxLevel:0})},_=(l,i,n,e,r,a,s,c,m)=>{var p,h,f,g,_,b,y;let M=0;(0,u.fe)(c,0)?M+=Math.ceil((0,t.kI)(m,c,1)):1===n?M+=Math.ceil(r):1===e&&(M+=Math.ceil(a));let w=null==l?void 0:null===(h=l[3])||void 0===h?void 0:null===(p=h.orderedTalents)||void 0===p?void 0:p.find(l=>{let{name:i}=l;return i.includes("SYMBOLS_OF_BEYOND_")});return w&&(M+=null!==(g=(0,o.growth)(null==w?void 0:w.funcX,null==w?void 0:w.level,null==w?void 0:w.x1,null==w?void 0:w.x2,!1))&&void 0!==g?g:0),s&&(M+=Math.floor(s)),(0,d.k)(null==c?void 0:c.achievements,291)&&(M+=1),(0,u.fe)(c,1)&&(M+=null==c?void 0:null===(y=c.companions)||void 0===y?void 0:null===(b=y.list)||void 0===b?void 0:null===(_=b.at(1))||void 0===_?void 0:_.bonus),M+=(0,v.z)(null==c?void 0:null===(f=c.equinox)||void 0===f?void 0:f.upgrades,"Equinox_Symbols")},b=(l,i,n)=>i?i.map(l=>({...l,level:l.level>=1&&!y(null==l?void 0:l.skillIndex)?Math.floor(l.level+n):l.level,baseLevel:l.level})):Object.entries(l).reduce((l,i)=>{let[o,e]=i,{orderedTalents:d}=e,u=null==d?void 0:d.map(l=>({...l,level:l.level>=1&&!y(null==l?void 0:l.skillIndex)?Math.floor(l.level+n):l.level,baseLevel:l.level}));return{...l,[o]:{...e,orderedTalents:u}}},{}),y=l=>49<=l&&59>=l||149===l||374===l||539===l||505===l||614l&&-1!==i.indexOf("decay")?Math.round(100*l)/100:1>l||"add"===i&&1>o&&100>l||25>l&&"decay"===i?Math.round(10*l)/10:Math.round(l)},w=(l,i,n,o,e)=>{let d=[];if(n>=25&&d.push(42),n>=50&&d.push(318),n>=75&&d.push(497),n>=100&&d.push(79),n>=125&&d.push(146),n>=150&&d.push(362),n>=175&&d.push(43),n>=200&&d.push(536),n>=225&&d.push(165),n>=250&&d.push(35),-1!==d.indexOf(o)){if(42===o||79===o)return!0;if(146===o){var u;let i=(null==l?void 0:l.filter(l=>(null==l?void 0:l.class)==="Blood_Berserker")).at(-1);if(!i)return 1;let n=null==i?void 0:null===(u=i.chow.finished)||void 0===u?void 0:u[1];return Math.pow(1.1,null!=n?n:0)}if(536===o)return 1;if(35===o){let{stats:l}=e||{};return((null==l?void 0:l.luck)<1e3?(Math.pow((null==l?void 0:l.luck)+1,.37)-1)/30:((null==l?void 0:l.luck)-1e3)/((null==l?void 0:l.luck)+2500)*.8+.3963)*(1+r(null==e?void 0:e.talents,3,"LUCKY_CHARMS")/100)/1.8}}return 0},x=(l,i)=>{var n;return null===(n=s[l])||void 0===n?void 0:n.includes(i)},S=(l,i,n)=>{var o,e,d,u;let t=null==n?void 0:null===(e=n.lab)||void 0===e?void 0:null===(o=e.playersCords)||void 0===o?void 0:o[null==l?void 0:l.playerId],v=null==n?void 0:null===(u=n.lab)||void 0===u?void 0:null===(d=u.playersCords)||void 0===d?void 0:d.filter(l=>{let{class:i}=l;return x(i,"Bubonic_Conjuror")});return t&&(null==v?void 0:v.length)!==0&&(null==v?void 0:v.some(l=>{let{x:i}=l;return i>(null==t?void 0:t.x)}))?h(i,3,"Bubonic_Conjuror","GREEN_TUBE"):0},C={32:!0,130:!0,490:!0,25:!0,45:!0,370:!0,145:!0}},15719:function(l,i,n){n.d(i,{Ew:function(){return a},Qq:function(){return f},T8:function(){return p},kV:function(){return h},w:function(){return s}});var o=n(42915),e=n(66092),d=n(98118),u=n(14802),t=n(83524),v=n(6426),r=n(67924);let a=l=>{var i;let n=(0,e.tryToParse)(null==l?void 0:l.TotemInfo)||(null==l?void 0:l.TotemInfo),o=null===r.randomList||void 0===r.randomList?void 0:null===(i=r.randomList[10])||void 0===i?void 0:i.split(" "),d=[26,63,30,107,155,208];return null==o?void 0:o.map((l,i)=>{var o;let e=null==n?void 0:null===(o=n[0])||void 0===o?void 0:o[i],u=0===e?0:Math.pow((5+e)/10,2.6),t=null===r.mapNames||void 0===r.mapNames?void 0:r.mapNames[null==d?void 0:d[i]];return{...null===r.totems||void 0===r.totems?void 0:r.totems[i],name:l,maxWave:e,waveMulti:u,expReward:Math.floor(15*Math.pow(i+1,2)*Math.pow(u,.9)),map:t}})},s=l=>{let{waveMulti:i,minEfficiency:n,efficiency:o,foodEffect:e}=l;return Math.floor(5*(1+(o>=n?Math.floor(100*Math.pow(o/(10*n),.25)):0)/100)*i*(1+e/100))},c=(l,i)=>{var n,e,r,a,s,c,m;let p=null===u.nl||void 0===u.nl?void 0:u.nl[null==l?void 0:l.class],h=(0,d.OK)(null==i?void 0:i.cards,"Max_Charge"),f=(0,t.xV)(null==l?void 0:l.postOffice,"Crate_of_the_Creator",1),g=(0,u.eZ)(null==l?void 0:l.activeBuffs,"CHARGE_SYPHON","y"),_=(0,o.mV)(null==i?void 0:i.stamps,"Max_Charge",l),b=(0,v.om)(null==i?void 0:null===(n=i.alchemy)||void 0===n?void 0:n.bubbles,"high-iq","GOSPEL_LEADER",!1,"wisdom"===p),y=(0,v.y7)(null==l?void 0:l.equippedBubbles,"high-iq","CALL_ME_POPE",i),M=(null==l?void 0:null===(r=l.tools)||void 0===r?void 0:null===(e=r[5])||void 0===e?void 0:e.rawName)!=="Blank"?null==l?void 0:null===(s=l.tools)||void 0===s?void 0:null===(a=s[5])||void 0===a?void 0:a.lvReqToCraft:0;return Math.floor(Math.max(50,h+f+(g+(_+b*Math.floor((null==l?void 0:null===(m=l.skillsInfo)||void 0===m?void 0:null===(c=m.worship)||void 0===c?void 0:c.level)/10))+Math.round(M)*Math.max(y,1))))},m=(l,i)=>{var n,e,t,r,a,s,c,m,p,h,f,g,_,b,y,M,w,x,S,C;let k=(null==l?void 0:null===(e=l.tools)||void 0===e?void 0:null===(n=e[5])||void 0===n?void 0:n.rawName)!=="Blank"?null==l?void 0:null===(r=l.tools)||void 0===r?void 0:null===(t=r[5])||void 0===t?void 0:t.Speed:0,B=(0,d.OK)(null==i?void 0:i.cards,"Charge_Rate"),T=(0,o.mV)(null==i?void 0:i.stamps,"Charge_Rate_per_Hour",l),O=(0,u.eZ)(null==l?void 0:l.activeBuffs,"CHARGE_SYPHON","y"),I=(0,v.y7)(null==l?void 0:l.equippedBubbles,"high-iq","CALL_ME_POPE",i);return k<3?6/Math.max(5.7+Math.pow(4-k,2.2)-(.9*Math.pow(null==l?void 0:null===(s=l.skillsInfo)||void 0===s?void 0:null===(a=s.worship)||void 0===a?void 0:a.level,.5)/(Math.pow(null==l?void 0:null===(m=l.skillsInfo)||void 0===m?void 0:null===(c=m.worship)||void 0===c?void 0:c.level,.5)+250)+.6*(null==l?void 0:null===(h=l.skillsInfo)||void 0===h?void 0:null===(p=h.worship)||void 0===p?void 0:p.level)/((null==l?void 0:null===(g=l.skillsInfo)||void 0===g?void 0:null===(f=g.worship)||void 0===f?void 0:f.level)+40)),.57)*Math.max(I,1)*(1+(B+T)/100)*Math.max(O,1):6/Math.max(5.7-(.2*Math.pow(k,1.3)+(.9*Math.pow(null==l?void 0:null===(b=l.skillsInfo)||void 0===b?void 0:null===(_=b.worship)||void 0===_?void 0:_.level,.5)/(Math.pow(null==l?void 0:null===(M=l.skillsInfo)||void 0===M?void 0:null===(y=M.worship)||void 0===y?void 0:y.level,.5)+250)+.6*(null==l?void 0:null===(x=l.skillsInfo)||void 0===x?void 0:null===(w=x.worship)||void 0===w?void 0:w.level)/((null==l?void 0:null===(C=l.skillsInfo)||void 0===C?void 0:null===(S=C.worship)||void 0===S?void 0:S.level)+40))),.57)*Math.max(I,1)*(1+(B+T)/100)*Math.max(O,1)},p=(l,i,n,o)=>{let d=c(l,n),u=m(l,n),t=new Date().getTime()-l.afkTime,v=Math.min(parseInt(o)+t/1e3/3600*u,d);return{maxCharge:(0,e.round)(d),chargeRate:(0,e.round)(u),currentCharge:(0,e.round)(v)}},h=l=>null==l?void 0:l.reduce((l,i)=>{var n,o,e;let d=((null==i?void 0:null===(n=i.worship)||void 0===n?void 0:n.maxCharge)-(null==i?void 0:null===(o=i.worship)||void 0===o?void 0:o.currentCharge))/(null==i?void 0:null===(e=i.worship)||void 0===e?void 0:e.chargeRate)*36e5;return 0!==d&&d<(null==l?void 0:l.timeLeft)?{character:null==i?void 0:i.name,timeLeft:d}:l},{character:null,timeLeft:1/0}),f=l=>{var i;let n=null==l?void 0:l.reduce((l,i)=>{let{worship:n}=i;return l+((null==n?void 0:n.currentCharge)||0)},0),o=null==l?void 0:l.reduce((l,i)=>{let{worship:n}=i;return l+((null==n?void 0:n.chargeRate)||0)},0),e=(0,u.A5)(l,2,"Wizard","CHARGE_SYPHON","y")||0,d=(0,u.L1)(l,2,"Wizard","CHARGE_SYPHON","y");return{bestWizard:d,totalCharge:n,bestChargeSyphon:e,totalChargeRate:o,timeToOverCharge:new Date().getTime()+(((null==d?void 0:null===(i=d.worship)||void 0===i?void 0:i.maxCharge)||0)+e-n)/o*36e5}}},56365:function(l,i,n){n.d(i,{T:function(){return e},s:function(){return o}});let o="85%",e={PICKAXE:0,HATCHET:1,ROD:2,NET:3,TRAP:4,SKULL:5}},84127:function(l,i){let n={};n._mul=Math.imul;var o=function(l){this.init(l)};o.__name__="Rand",o.hash=function(l,i){return null==i&&(i=5381),l=n._mul(l,-862048943),i^=l=n._mul(l<<15|l>>>17,461845907),i=n._mul(i<<13|i>>>19,5)+-430675100|0,i=n._mul(i^i>>16,-2048144789),(i=n._mul(i^i>>13,-1028477387))^i>>16},o.inlineHash=function(l,i){return l=n._mul(l,-862048943),i^=l=n._mul(l<<15|l>>>17,461845907),i=n._mul(i<<13|i>>>19,5)+-430675100|0,i=n._mul(i^i>>16,-2048144789),(i=n._mul(i^i>>13,-1028477387))^i>>16},o.prototype={seed:null,seed2:null,init:function(l){this.seed=l,this.seed2=o.hash(l),0==this.seed&&(this.seed=1),0==this.seed2&&(this.seed2=1)},random:function(l){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(1073741823&((this.seed<<16)+this.seed2|0))%l},shuffle:function(l){for(var i=l.length,n=0;n>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16);var o=(1073741823&((this.seed<<16)+this.seed2|0))%i;this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16);var e=(1073741823&((this.seed<<16)+this.seed2|0))%i,d=l[o];l[o]=l[e],l[e]=d}},rand:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(1073741823&((this.seed<<16)+this.seed2|0))%10007/10007},srand:function(l){return null==l&&(l=1),this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),((this.seed<<16)+this.seed2|0)%10007/10007*l},int:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),(this.seed<<16)+this.seed2|0},uint:function(){return this.seed=36969*(65535&this.seed)+(this.seed>>16),this.seed2=18e3*(65535&this.seed2)+(this.seed2>>16),1073741823&((this.seed<<16)+this.seed2|0)},__class__:o},i.Z=o}}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/characters-0ceaae846717a68d.js b/_next/static/chunks/pages/characters-0ceaae846717a68d.js new file mode 100644 index 000000000..a7013cd68 --- /dev/null +++ b/_next/static/chunks/pages/characters-0ceaae846717a68d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1379],{33713:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/characters",function(){return t(50763)}])},50768:function(e,n,t){"use strict";var l=t(82729),i=t(85893),r=t(51233),a=t(66242),o=t(44267),s=t(15861),c=t(66092),d=t(44358),x=t(87357);t(67294);var u=t(61599);function h(){let e=(0,l._)(["\n"]);return h=function(){return e},e}let p=[5,10,15,25,35,50,75],j=u.Z.img(h()),v=e=>{let{name:n,bonus:t,baseVal:l}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{mb:1,fontWeight:"bold",variant:"h6",children:(0,c.cleanUnderscore)(n.toLowerCase().capitalize())}),(0,i.jsx)(s.Z,{children:(0,c.cleanUnderscore)(null==t?void 0:t.replace(/{/g,l))})]})};n.Z=e=>{let{playerChips:n,playerLabLevel:t}=e;return(0,i.jsx)(r.Z,{direction:"row",alignItems:"center",flexWrap:"wrap",justifyContent:"center",gap:3,children:null==n?void 0:n.map((e,n)=>{let l=t>=p[n];return(0,i.jsx)(a.Z,{elevation:5,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(r.Z,{justifyContent:"center",children:-1!==e?(0,i.jsx)(d.Z,{title:(0,i.jsx)(v,{...e}),children:(0,i.jsx)(j,{src:"".concat(c.prefix,"data/ConsoleChip").concat(null==e?void 0:e.index,".png"),alt:""})}):(0,i.jsx)(x.Z,{sx:{width:42,height:42,display:"flex",alignItems:"center"},children:l?"":"Lv. ".concat(null==p?void 0:p[n])})})})},"".concat(null==e?void 0:e.name,"-").concat(n))})})}},50763:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return eE}});var l=t(85893),i=t(67294),r=t(50480),a=t(69368),o=t(86886),s=t(51233),c=t(15861),d=t(82729),x=t(87357),u=t(66092),h=t(44358),p=t(61599),j=t(19636),v=t(98396),m=t(66242),g=t(44267),f=t(67720);function Z(){let e=(0,d._)(["\n filter: ",";\n opacity: ",";\n justify-self: center;\n width: 48px;\n height: 48px;\n\n @media (max-width: 370px) {\n width: 36px;\n height: 36px;\n }\n"]);return Z=function(){return e},e}let w=p.Z.img(Z(),e=>{let{exists:n}=e;return n?"grayscale(0)":"grayscale(1)"},e=>{let{exists:n}=e;return n?"1":"0.3"});var y=e=>{let{bags:n,capBags:t}=e,i=(0,v.Z)("(max-width: 370px)",{noSsr:!0});return(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsxs)(s.Z,{sx:{width:200},alignItems:"center",children:[(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",children:null==n?void 0:n.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,l.jsx)(j.Z,{...e}),children:(0,l.jsx)(w,{exists:null==e?void 0:e.acquired,src:"".concat(u.prefix,"data/").concat(null==e?void 0:e.rawName,".png"),alt:""})},(null==e?void 0:e.displayName)+n))}),(0,l.jsx)(f.Z,{sx:{my:2},flexItem:!0}),(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",gap:i?1:0,justifyContent:"center",children:null==t?void 0:t.map((e,n)=>{let{displayName:t,rawName:i,capacityPerSlot:r}=e;return(0,l.jsx)(h.Z,{title:(0,l.jsx)(j.Z,{...e}),children:(0,l.jsxs)(s.Z,{alignItems:"center",children:[(0,l.jsx)(w,{exists:!0,src:"".concat(u.prefix,"data/").concat(i,".png"),alt:""}),(0,l.jsx)(c.Z,{variant:"caption",children:(0,u.notateNumber)(r)})]})},t+n)})})]})})})},b=t(11703),k=t(40044),C=t(82557);function N(){let e=(0,d._)(["\n width: 50px;\n height: 50px;\n margin-bottom: ",";\n"]);return N=function(){return e},e}function I(){let e=(0,d._)(["\n text-align: center;\n\n .tabs {\n position: relative;\n display: grid;\n margin-top: 10px;\n grid-template-columns: repeat(auto-fill, 50px);\n grid-template-rows: 50px;\n column-gap: 2px;\n justify-content: center;\n\n .active {\n filter: brightness(1);\n }\n\n .star {\n position: absolute;\n right: 0;\n }\n\n > img {\n cursor: pointer;\n filter: brightness(0.4);\n\n &:last-child {\n justify-self: flex-end;\n }\n }\n }\n\n .star-talents-arrows {\n height: 80%;\n }\n\n .arrow {\n cursor: pointer;\n align-self: center;\n }\n\n\n .talents-wrapper {\n position: relative;\n margin-top: 25px;\n display: grid;\n min-height: 245px;\n grid-template-columns: repeat(5, 50px);\n row-gap: 10px;\n justify-content: center;\n margin-bottom: 10px;\n }\n"]);return I=function(){return e},e}let S=e=>{let{src:n}=e;return(0,l.jsx)(x.Z,{sx:{width:{xs:30},"> img":{width:{xs:30}}},children:(0,l.jsx)("img",{src:n,alt:""})})},U=p.Z.img(N(),e=>{let{arrow:n}=e;return n?"20px":0}),M=p.Z.div(I());var O=e=>{var n,t;let{talents:r,starTalents:a}=e,[o,s]=(0,i.useState)(0),[d,x]=(0,i.useState)(0),[p,j]=(0,i.useState)(),[v,m]=(0,i.useState)(0);(0,i.useEffect)(()=>{j(4===d?Z(a,v):null==r?void 0:r[d]),m(0)},[d]);let g=e=>{m(e),j(Z(a,e))},f=(e,n)=>null==e?void 0:e.slice(13*n,(n+1)*13),Z=(e,n)=>{let t=JSON.parse(JSON.stringify(null==e?void 0:e.orderedTalents)),l=f((0,u.fillMissingTalents)(t),n);return l.length<13&&(l=Array(13).fill(1).map((e,n)=>{var t;return null!==(t=l[n])&&void 0!==t?t:{}})),null==l||l.splice(10,0,{talentId:"arrow"}),null==l||l.splice(14,0,{talentId:"arrow"}),{...e,orderedTalents:l}},w=(e,n)=>e>=0&&n>=0?"".concat(e,"/").concat(n):"";return(0,l.jsxs)(M,{active:d,children:[(0,l.jsxs)(b.Z,{centered:!0,value:o,onChange:(e,n)=>s(n),children:[null===(n=Object.keys(r||{}))||void 0===n?void 0:n.map(e=>{var n,t;let i=null==r?void 0:null===(n=r[e])||void 0===n?void 0:n.name;return(0,l.jsx)(k.Z,{sx:{minWidth:{xs:"unset",sm:"inherit"}},icon:(0,l.jsx)(S,{src:"".concat(u.prefix,"data/ClassIcons").concat(null==r?void 0:null===(t=r[e])||void 0===t?void 0:t.id,".png"),alt:i}),"aria-label":"".concat(i,"-tab"),onClick:()=>x(parseInt(e))},"".concat(i,"-").concat(e))}),(0,l.jsx)(k.Z,{sx:{minWidth:{xs:"unset",sm:"inherit"}},onClick:()=>x(4),"aria-label":"star-sign-tab",icon:(0,l.jsx)(S,{src:"".concat(u.prefix,"data/ClassIcons0.png"),alt:""})})]}),(0,l.jsx)("div",{className:"talents-wrapper",children:null==p?void 0:null===(t=p.orderedTalents)||void 0===t?void 0:t.map((e,n)=>{let{talentId:t,level:i,maxLevel:r,name:a}=e;if(n>=15)return null;let o=w(i,r);return"Blank"===t||"84"===t||"arrow"===t?(0,l.jsxs)("div",{className:"blank ".concat((10===n||14===n)&&"arrow"),children:[10!==n&&14!==n&&(0,l.jsx)(U,{src:"".concat(u.prefix,"data/UISkillIconLocke.png"),alt:""}),10===n&&v>0?(0,l.jsx)("div",{children:(0,l.jsx)(U,{onClick:()=>g(v-1),className:"arrow",src:"".concat(u.prefix,"data/UIAnvilArrowsG2.png"),arrow:!0,alt:""})}):null,(14===n||26===n)&&v<4?(0,l.jsx)("div",{children:(0,l.jsx)(U,{onClick:()=>g(v+1),className:"arrow",src:"".concat(u.prefix,"data/UIAnvilArrowsG1.png"),arrow:!0,alt:""})}):null]},t+""+n):(0,l.jsx)(h.Z,{title:t?(0,l.jsx)(C.u3,{...e}):"",children:(0,l.jsxs)("div",{className:"talent-wrapper",children:[a?(0,l.jsx)(U,{src:"".concat(u.prefix,"data/UISkillIcon").concat(t,".png"),alt:""}):(0,l.jsx)(U,{src:"".concat(u.prefix,"data/UISkillIconLocke.png"),alt:""}),(0,l.jsxs)(c.Z,{fontSize:12,children:[o,"\xa0"]})]})},t+""+n)})}),(0,l.jsx)("div",{className:"star-talents-arrows",children:(0,l.jsxs)("span",{style:{opacity:4===d?1:0},children:["Specials ",v+1]})})]})},W=t(98118);function _(){let e=(0,d._)(["\n width: 56px;\n height: 72px;\n border: 2px solid #5d5d5d;\n border-radius: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]);return _=function(){return e},e}let F=p.Z.div(_());var P=e=>{let{cards:n}=e,{equippedCards:t,cardSet:i}=n||{};return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{mb:2,variant:"h5",children:"Equipped cards"}),(0,l.jsxs)(s.Z,{children:[(null==i?void 0:i.rawName)?(0,l.jsx)(s.Z,{mb:3,justifyContent:"center",direction:"row",children:(0,l.jsx)(x.Z,{sx:{position:"relative"},children:(0,l.jsx)(C.iy,{variant:"cardSet",...i})})}):null,(0,l.jsx)(o.ZP,{container:!0,rowGap:3,children:null==t?void 0:t.map((e,n)=>{let{cardName:t,amount:i}=e,r=(0,W.BZ)(e);return(0,l.jsx)(o.ZP,{display:"flex",justifyContent:"center",position:"relative",xs:3,item:!0,children:i>0?(0,l.jsx)(C.iy,{...e,bonus:r}):(0,l.jsx)(F,{children:(0,l.jsx)(c.Z,{variant:"subtitle2",children:"EMPTY"})})},"".concat(t,"-").concat(n))})})]})]})},T=t(98216),A=t(24438);let B=e=>({1:"success.light",2:"warning.light",3:"secondary.main"})[e],D=["gaming","sailing","breeding"].toSimpleObject(),E=e=>{let{exp:n,expReq:t,charName:i,skillName:r,level:a}=e,o=n/t*100;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{variant:"h5",fontWeight:"bold",children:i}),(0,l.jsxs)(c.Z,{variant:"body1",children:[(0,T.Z)(r)," ",(0,l.jsxs)(c.Z,{variant:"body1",component:"span",children:["(Lv. ",a,")"]})]}),(0,l.jsx)(A.Z,{percent:o,bgColor:"#f3dd4c"}),(0,l.jsxs)(c.Z,{variant:"body1",children:[(0,u.notateNumber)(n,"Big")," / ",(0,u.notateNumber)(t,"Big")," ",(0,l.jsxs)(c.Z,{variant:"body1",component:"span",children:["(",Math.round(o),"%)"]})]})]})};var R=e=>{var n;let{skills:t,charName:i,showSkillsRankOneOnly:r}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Skills"}),(0,l.jsx)(m.Z,{children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(x.Z,{sx:{display:"grid",gridAutoFlow:"column",gap:r?"24px":"none",gridTemplateColumns:{xs:r?"fit-content":"repeat(4, minmax(45px, 100px))"},gridTemplateRows:r?null:{xs:"repeat(3, minmax(45px, 100px))"},justifyContent:"center"},children:null===(n=Object.keys(t||{}))||void 0===n?void 0:n.map((e,n)=>{let{level:a,rank:o,icon:s}=t[e];return"character"===e||r&&1!==o?null:(0,l.jsxs)(x.Z,{children:[(0,l.jsx)(h.Z,{title:(0,l.jsx)(E,{...null==t?void 0:t[e],skillName:e,charName:i}),children:(0,l.jsx)("img",{src:"".concat(u.prefix,"data/").concat(s,".png"),style:{width:38,height:36},alt:""})}),(0,l.jsxs)(c.Z,{children:["Lv ",a]}),D[e]?null:(0,l.jsx)(h.Z,{title:"Rank across the account",children:(0,l.jsxs)(c.Z,{sx:{width:"fit-content",color:B(o),fontWeight:1===o||2===o||3===o?"bold":"400"},children:["R: ",o]})})]},n)})})})})]})},L=t(2035);function z(){let e=(0,d._)(["\n width: 32px;\n height: 32px;\n"]);return z=function(){return e},e}let H=p.Z.img(z()),G=e=>{let{name:n,x1:t,x2:i,level:r,prayerIndex:a,effect:o,curse:s,maxLevel:d,totalAmount:h,costMulti:p}=e,j=t+t*(r-1)/10,v=i+i*(r-1)/10,m=(0,L.il)({name:n,x1:t,x2:i,level:r,prayerIndex:a,costMulti:p});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{mb:1,fontWeight:"bold",variant:"h5",children:(0,u.cleanUnderscore)(n)}),(0,l.jsxs)(c.Z,{fontWeight:"bold",variant:"body1",color:"success.dark",children:["Bonus: ",(0,l.jsx)(c.Z,{color:"black",fontWeight:400,component:"span",children:(0,u.cleanUnderscore)(o).replace("{",j)})]}),(0,l.jsxs)(c.Z,{fontWeight:"bold",variant:"body1",color:"error.dark",children:["Curse: ",(0,l.jsx)(c.Z,{color:"black",fontWeight:400,component:"span",children:(0,u.cleanUnderscore)(s).replace("{",v)})]}),(0,l.jsxs)(x.Z,{mt:1,children:["Cost: ",r!==d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{component:"span",sx:{color:0===r?"":m<=h?"success.dark":"error.dark"},children:(0,u.kFormatter)((0,u.round)(m),2)})," (",(0,u.kFormatter)(h,2),")"]}):(0,l.jsx)(c.Z,{fontWeight:"bold",color:"success.dark",component:"span",children:"Maxed"})]})]})};var q=e=>{let{prayers:n}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(s.Z,{direction:"row",gap:2,flexWrap:"wrap",justifyContent:"center",children:null==n?void 0:n.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,l.jsx)(G,{...e}),children:(0,l.jsx)(H,{src:"".concat(u.prefix,"data/Prayer").concat(null==e?void 0:e.prayerIndex,".png"),alt:""})},name+n))})})})})};function K(){let e=(0,d._)(["\n width: 70px;\n height: 70px;\n object-fit: contain;\n"]);return K=function(){return e},e}let X=p.Z.img(K()),J=e=>{let{name:n,upgrades:t,level:i}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"h6",children:(0,u.cleanUnderscore)(n)}),null==t?void 0:t.map((e,n)=>{let{bonus:t,func:r,x1:a,x2:o}=e;return(0,l.jsxs)("div",{children:[Math.max(0,(0,u.growth)(r,0===n?i:1===n?i-25:i-100,a,o)),(0,u.cleanUnderscore)(t)]},t+" "+n)})]})};var Q=e=>{let{boxes:n,totalPointsSpent:t,totalOrders:i,showUnmaxedBoxesOnly:r}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(c.Z,{variant:"h5",children:["Post Office (",(0,l.jsx)(c.Z,{variant:"h5",color:tr&&(null==e?void 0:e.level)===(null==e?void 0:e.maxLevel)?null:(null==e?void 0:e.name)!=="Filler"?(0,l.jsx)("div",{children:(0,l.jsx)(h.Z,{title:(0,l.jsx)(J,{...e}),children:(0,l.jsx)(C.j8,{color:"primary",anchorOrigin:{vertical:"top",horizontal:"left"},overlap:"circular",badgeContent:(null==e?void 0:e.level)?(0,l.jsx)(c.Z,{fontSize:14,fontWeight:500,color:"black",children:null==e?void 0:e.level}):null,max:401,children:(0,l.jsx)(X,{src:"".concat(u.prefix,"data/UIboxUpg").concat(n,".png"),alt:""})})})},(null==e?void 0:e.name)+" "+n):null)})]})},V=t(49260);function Y(){let e=(0,d._)(["\n width: 50px;\n height: 50px;\n object-fit: contain;\n"]);return Y=function(){return e},e}let $=e=>{let{items:n,character:t,account:i}=e;return(0,l.jsx)(x.Z,{sx:{display:"grid",justifyContent:"center",gridTemplateColumns:"repeat(2, 60px)"},children:null==n?void 0:n.map((e,n)=>{let{rawName:r,displayName:a,amount:o}=e;return n<8?(0,l.jsx)(m.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:76},variant:"outlined",children:(0,l.jsx)(g.Z,{sx:{"&:last-child":{padding:0}},children:(0,l.jsxs)(s.Z,{alignItems:"center",justifyContent:"center",children:[(0,l.jsx)(h.Z,{title:a&&"ERROR"!==a?(0,l.jsx)(j.Z,{...e,character:t,account:i}):"",children:(0,l.jsx)(ee,{src:"".concat(u.prefix,"data/").concat(r,".png"),alt:r})}),"ERROR"!==a?o:" "]})})},"".concat(r,"-").concat(n)):null})})},ee=p.Z.img(Y());var en=e=>{let{equipment:n,tools:t,food:i,account:r,character:a}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Equipment"}),(0,l.jsxs)(s.Z,{mt:2,direction:"row",gap:1,flexWrap:"wrap",justifyContent:"center",children:[(0,l.jsx)($,{items:null==n?void 0:n.slice(0,8),character:a,account:r}),(0,l.jsx)($,{items:null==n?void 0:n.slice(8),character:a,account:r}),(0,l.jsx)($,{items:t,character:a,account:r}),(0,l.jsx)($,{items:i,character:a,account:r})]})]})},et=t(23472),el=t(65455);function ei(){let e=(0,d._)(["\n width: 30px;\n height: 30px;\n"]);return ei=function(){return e},e}let er=p.Z.img(ei()),ea=e=>{let{availablePoints:n,pointsFromCoins:t,pointsFromMats:i,smithingLevel:r=0}=e;return(0,l.jsxs)(s.Z,{mb:1,children:[(0,l.jsxs)(c.Z,{my:1,variant:"h6",children:["Points (",(0,l.jsx)(c.Z,{variant:"h6",component:"span",color:0===n?"":n>0?"error.light":"secondary",children:t+i-n+r})," ","/ ",t+i+r,")"]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points From Mats: ",i]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points From Coins: ",t]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points Smithing: ",r]})]})},eo=e=>{let{title:n,value:t,money:i,sx:r}=e;return(0,l.jsx)(m.Z,{sx:{width:"100%",...r},children:(0,l.jsxs)(g.Z,{sx:{"&:last-child":{p:"10px"}},children:[(0,l.jsx)(c.Z,{fontWeight:"bold",children:n}),i?t:(0,l.jsx)(c.Z,{children:t})]})})},es=e=>{let{title:n,children:t}=e;return(0,l.jsxs)(l.Fragment,{children:["object"==typeof n?n:(0,l.jsx)(c.Z,{my:1,variant:"h6",children:n}),(0,l.jsx)(s.Z,{direction:"row",gap:2,children:t})]})};var ec=e=>{var n,t;let{character:r,account:a,characters:o}=e,{stats:d}=(0,i.useMemo)(()=>(0,el.eW)(r,o,a),[r,o,a]),{xpPoints:x,speedPoints:h,capPoints:p,anvilSpeed:j,anvilCapacity:v,anvilCost:m,baseAnvilExp:g}=d;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Anvil Details"}),(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(es,{title:(0,l.jsx)(ea,{...d,smithingLevel:null==r?void 0:null===(t=r.skillsInfo)||void 0===t?void 0:null===(n=t.smithing)||void 0===n?void 0:n.level}),children:[(0,l.jsx)(eo,{title:"Exp",value:x}),(0,l.jsx)(eo,{title:"Speed",value:h}),(0,l.jsx)(eo,{title:"Capacity",value:p})]}),(0,l.jsxs)(es,{title:"Bonus",children:[(0,l.jsx)(eo,{title:"Exp",value:"".concat((0,u.notateNumber)((0,el.uv)(r,o,a,g,x),"Big"),"%")}),(0,l.jsx)(eo,{title:"Speed",value:(0,u.notateNumber)(j,"Big")}),(0,l.jsx)(eo,{title:"Capacity",value:(0,u.kFormatter)(v)})]}),(0,l.jsxs)(es,{title:"Material",children:[(0,l.jsx)(eo,{title:"Item",value:(null==m?void 0:m.rawName)?(0,l.jsx)(er,{src:"".concat(u.prefix,"data/").concat(null==m?void 0:m.rawName,".png"),alt:""}):(0,l.jsx)(l.Fragment,{})}),(0,l.jsx)(eo,{title:"Upg. cost",value:(0,u.kFormatter)(null==m?void 0:m.nextMatUpgrade,2)}),(0,l.jsx)(eo,{title:"Total Spent",value:(0,u.kFormatter)(null==m?void 0:m.totalMats)})]}),(0,l.jsxs)(es,{title:"Money",children:[(0,l.jsx)(eo,{title:"Upg. cost",money:!0,sx:{pb:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,u.getCoinsArray)(null==m?void 0:m.nextCoinUpgrade)})}),(0,l.jsx)(eo,{title:"Total Spent",money:!0,sx:{pb:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,u.getCoinsArray)(null==m?void 0:m.totalCoins)})})]}),(null==m?void 0:m.coinsToMax)>0?(0,l.jsx)(eo,{title:"Coins to max",money:!0,sx:{pb:2,my:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,u.getCoinsArray)(null==m?void 0:m.coinsToMax)})}):null]})]})},ed=e=>{let{signs:n}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Star Signs"}),(0,l.jsx)(s.Z,{gap:1,children:null==n?void 0:n.map((e,n)=>{let{starName:t,bonuses:i}=e,r=null==i?void 0:i.some(e=>{let{chipBoost:n}=e;return n>1});return"None"!==t?(0,l.jsx)(m.Z,{children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"body1",children:(0,u.cleanUnderscore)(t)}),(0,l.jsx)(c.Z,{color:r?"info.light":"",children:null==i?void 0:i.map((e,n)=>{let{rawName:t,bonus:l}=e;return"".concat((0,u.cleanUnderscore)(null==t?void 0:t.replace("{",l))).concat(i.length-1===n?"":", ")})})]})},t+n):null})})]})};let ex=e=>{let{bubbleName:n,desc:t,func:i,level:r,x1:a,x2:o}=e,s=(0,u.growth)(i,r,a,o);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"h5",children:(0,u.cleanUnderscore)(n)}),(0,l.jsx)(c.Z,{children:(0,u.cleanUnderscore)(t).replace(/({}?)|\$/g,s)})]})};var eu=e=>{let{bubbles:n}=e,t=null==n?void 0:n.every(e=>{let{bubbleName:n}=e;return!n});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.Z,{direction:"row",sx:{height:"fit-content"},children:[t?(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(h.Z,{title:"Missing Active Bubble",children:(0,l.jsx)("img",{src:"".concat(u.prefix,"data/aUpgradesG2.png"),style:{width:42,height:42,filter:"brightness(0)"},alt:""})})})}):null,t?null:(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(s.Z,{direction:"row",gap:2,flexWrap:"wrap",justifyContent:"center",children:null==n?void 0:n.map((e,n)=>{let{bubbleName:t,rawName:i}=e;if(!t)return null;let r="BUG]"===t?"Bug2":t;return(0,l.jsx)(h.Z,{title:(0,l.jsx)(ex,{...e,bubbleName:r}),children:(0,l.jsx)("img",{src:"".concat(u.prefix,"data/").concat(i,".png"),style:{width:42,height:42},alt:""})},r+n)})})})})]})})},eh=t(74721),ep=t(76972),ej=t(69690),ev=t(94217);function em(){let e=(0,d._)(["\n width: 35px;\n height: 35px;\n object-fit: contain;\n"]);return em=function(){return e},e}let eg=p.Z.img(em());var ef=e=>{var n;let{playerId:t,afkTarget:i,account:r,divStyle:a}=e,o=()=>{var e,n,l;return null==r?void 0:null===(l=r.lab)||void 0===l?void 0:null===(n=l.connectedPlayers)||void 0===n?void 0:null===(e=n.find(e=>(null==e?void 0:e.playerId)===t))||void 0===e?void 0:e.isDivinityConnected};return(0,l.jsx)(m.Z,{sx:{width:220},variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Activity"}),i&&"_"!==i?(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:["Divinity"===i||o()?(0,l.jsx)(h.Z,{title:(0,u.cleanUnderscore)(null==a?void 0:a.description.replace("@","")),children:(0,l.jsx)("img",{style:{height:40,width:58},src:"".concat(u.prefix,"etc/Div_Style_").concat(null!==(n=null==a?void 0:a.index)&&void 0!==n?n:0,".png"),alt:""})}):null,(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(u.prefix,"afk_targets/").concat(i,".png"),alt:""}),(0,l.jsx)(c.Z,{children:(0,u.cleanUnderscore)(i)})]}),o()?(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(u.prefix,"afk_targets/Divinity.png"),alt:""}),(0,l.jsx)(c.Z,{children:"Divinity"})]}):null]})]}):(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(u.prefix,"data/Afkz5.png"),alt:""}),(0,l.jsx)(c.Z,{children:"Nothing"})]})]})})},eZ=t(14581),ew=t(30176),ey=t(75934),eb=t.n(ey);function ek(){let e=(0,d._)(["\n width: 16px;\n height: 16px;\n object-fit: contain;\n"]);return ek=function(){return e},e}let eC={strength:"error.light",agility:"success.light",wisdom:"secondary",luck:"warning.light"},eN=e=>{let{title:n,value:t,breakdown:i="",breakdownNotation:r="Smaller",damage:a}=e;return(0,l.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",children:[(0,l.jsx)(c.Z,{color:"info.light",children:n}),(0,l.jsx)(h.Z,{maxWidth:450,title:i?(0,l.jsx)(eI,{breakdown:i,notate:r}):"",children:a?(0,l.jsx)(c.Z,{color:"#fffcc9",children:eb()([{regex:/[\[!]/g,fn:(e,n)=>{let t=n.at(0);return(0,l.jsx)(eS,{src:"".concat(u.prefix,"etc/Damage_").concat("["===t?"M":"T",".png"),alt:""},e)}}])(t)}):(0,l.jsx)(c.Z,{component:"span",children:t})})]})},eI=e=>{let{breakdown:n,titleWidth:t=120,notate:i=""}=e;return n?(0,l.jsx)(s.Z,{children:null==n?void 0:n.map((e,n)=>{let{name:r,value:a,title:o}=e;return o?(0,l.jsx)(c.Z,{sx:{fontWeight:500},children:o},"".concat(r,"-").concat(n)):r?(0,l.jsx)(C.uQ,{titleStyle:{width:t},title:r,value:isNaN(a)?a:(0,u.notateNumber)(a,i)},"".concat(r,"-").concat(n)):(0,l.jsx)(f.Z,{sx:{my:1,bgcolor:"black"}},"".concat(r,"-").concat(n))})}):""},eS=p.Z.img(ek());var eU=e=>{var n,t;let{activityFilter:r,statsFilter:a,character:o,lastUpdated:d,account:x,characters:p}=e,{name:j,playerId:v,stats:Z,afkTime:w,crystalSpawnChance:y,nextPortal:b,afkTarget:k,nonConsumeChance:C}=o,{cashMulti:N,breakdown:I}=(0,i.useMemo)(()=>(0,eZ.bv)(o,x,p)||{},[o,x]),{dropRate:S,breakdown:U}=(0,i.useMemo)(()=>(0,eZ.VK)(o,x,p)||{},[o,x]),{respawnRate:M,breakdown:O}=(0,i.useMemo)(()=>(0,eZ.P9)(o,x)||{},[o,x]),{afkGains:W,breakdown:_}=(0,i.useMemo)(()=>(0,eZ.WU)(o,p,x),[o,x]),F=(0,i.useMemo)(()=>(0,ew.m)(o,p,x),[o,x]),P=()=>{var e;let n=null==o?void 0:null===(e=o.activePrayers)||void 0===e?void 0:e.find(e=>{let{name:n}=e;return"Unending_Energy"===n}),t=new Date().getTime()+(w-d),l=(0,ep.Z)(new Date,new Date(t));return n&&l>10},T=(0,i.useMemo)(()=>e=>{var n;return null===(n=Object.entries((null==e?void 0:e.stats)||{}))||void 0===n?void 0:n.reduce((e,n)=>{let[t,l]=n;return e+("level"!==t?l:0)},0)},[o]);return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.Z,{gap:2,flexWrap:"wrap",children:[r?(0,l.jsx)(ef,{afkTarget:k,divStyle:null==o?void 0:o.divStyle,playerId:v,account:x}):null,a?(0,l.jsxs)(l.Fragment,{children:[(null==b?void 0:b.goal)>10&&(null==b?void 0:b.current)<(null==b?void 0:b.goal)?(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Next Portal"}),(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)("img",{width:32,height:32,src:"".concat(u.prefix,"data/").concat(null==b?void 0:b.currentIcon,".png"),alt:""}),(0,l.jsx)(c.Z,{children:"".concat((0,u.kFormatter)(null==b?void 0:b.current)," / ").concat((0,u.kFormatter)(null==b?void 0:b.goal))})]})]})}):null,(0,l.jsxs)(s.Z,{sx:{minWidth:250},flexWrap:"wrap",gap:1,divider:(0,l.jsx)(f.Z,{}),children:[(0,l.jsx)(eN,{title:"Total Stats",value:T(o)}),null===(n=Object.entries(Z||{}))||void 0===n?void 0:n.map((e,n)=>{let[t,i]=e;return"level"!==t?(0,l.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",children:[(0,l.jsx)(c.Z,{component:"span",variant:"body1",color:(null==eC?void 0:eC[t])||"info.light",children:(0,u.pascalCase)(t)}),(0,l.jsx)(c.Z,{variant:"body1",component:"span",children:Math.floor(i)})]},"".concat(j,"-").concat(t,"-").concat(n)):null}),(0,l.jsx)(eN,{title:"HP",value:(0,u.notateNumber)(null==F?void 0:F.maxHp)}),(0,l.jsx)(eN,{title:"MP",value:(0,u.notateNumber)(null==F?void 0:F.maxMp)}),(0,l.jsx)(eN,{title:"Kills Per Hour",value:(null==F?void 0:F.finalKillsPerHour)>1e6?(0,u.notateNumber)(null==F?void 0:F.finalKillsPerHour):(0,u.numberWithCommas)(Math.floor(null==F?void 0:F.finalKillsPerHour))}),(0,l.jsx)(eN,{title:"Defence",value:(0,u.notateNumber)(null==F?void 0:F.defence)}),(0,l.jsx)(eN,{title:"Critical Chance",value:"".concat((0,u.notateNumber)(null==F?void 0:F.critChance),"%")}),(0,l.jsx)(eN,{title:"Critical Damage",value:"".concat((0,u.notateNumber)(null==F?void 0:F.critDamage,"MultiplierInfo"),"x")}),(0,l.jsx)(eN,{title:"Accuracy",value:(0,u.notateNumber)(null==F?void 0:F.accuracy)}),(0,l.jsx)(eN,{title:"Movement Speed",value:(0,u.notateNumber)(null==F?void 0:F.movementSpeed)}),(0,l.jsx)(eN,{title:"Mining Eff",value:(0,u.notateNumber)(null==F?void 0:F.miningEff)}),(0,l.jsx)(eN,{title:"Damage",damage:!0,value:(0,ew.C)(F)}),(0,l.jsx)(eN,{title:"Cash Multiplier",value:"".concat((0,u.kFormatter)(N,2),"%"),breakdown:I,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Drop Rate",value:"".concat((0,u.notateNumber)(S,"MultiplierInfo"),"x"),breakdown:U,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Respawn Time",value:"".concat((0,u.notateNumber)(M,"MultiplierInfo"),"%"),breakdown:O,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Afk Gains",value:"".concat((0,u.notateNumber)(100*W,"MultiplierInfo"),"%"),breakdown:_,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Non Consume Chance",value:"".concat((0,u.kFormatter)(C,2),"%")}),(0,l.jsx)(eN,{title:"Money",value:(0,l.jsx)(et.Z,{title:"",money:(0,u.getCoinsArray)(null==o?void 0:o.money)})})]}),(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Crystal Chance"}),(0,l.jsxs)(s.Z,{direction:"row",gap:1,children:[(0,l.jsx)(c.Z,{children:1/(null==y?void 0:y.value)<100?"".concat(null===(t=(0,u.notateNumber)((null==y?void 0:y.value)*100,"MultiplierInfo"))||void 0===t?void 0:t.replace(".00",""),"%"):"1 in ".concat(Math.floor(1/(null==y?void 0:y.value)))}),(0,l.jsx)(h.Z,{title:(0,l.jsx)(eI,{titleWidth:180,breakdown:null==y?void 0:y.breakdown}),children:(0,l.jsx)(eh.Z,{})})]})]})}),(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Afk time"}),(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,color:P()?"error.light":"",children:[(()=>{let e=new Date().getTime()+(w-d);return 5>=(0,ej.Z)(new Date,new Date(e))})()?(0,l.jsx)(c.Z,{color:"success.light",children:"Active"}):(0,l.jsx)(ev.Z,{type:"up",date:w,lastUpdated:d}),P()?(0,l.jsx)(h.Z,{title:"This character is afk more than 10 hours with Unending Energy prayer",children:(0,l.jsx)(eh.Z,{})}):null]})]})})]}):null]})})},eM=t(83524),eO=t(14802),eW=e=>{let{postOffice:n,talents:t,cooldowns:r,afkTime:a,lastUpdated:o}=e,c=Math.max(0,(0,eM.xV)(n,"Magician_Starterpack",2)),d=e=>{var n;return null===(n=Object.entries(e||{}))||void 0===n?void 0:n.reduce((e,n)=>{let[l,i]=n;if(!eO.RL[l])return e;let r=null==t?void 0:t.find(e=>{let{talentId:n}=e;return parseInt(l)===n});if(!r)return e;let o=(0,u.growth)(null==r?void 0:r.funcX,null==r?void 0:r.maxLevel,null==r?void 0:r.x1,null==r?void 0:r.x2),s=(0,u.growth)(null==r?void 0:r.funcY,null==r?void 0:r.maxLevel,null==r?void 0:r.y1,null==r?void 0:r.y2),d=(1-c/100)*i-(new Date().getTime()-a)/1e3;return[...e,{...r,description:null==r?void 0:r.description.replace("{",o).replace("}",s),cd:d<0?d:new Date().getTime()+1e3*d}]},[])},x=(0,i.useMemo)(()=>d(r),[r]);return(null==x?void 0:x.length)?(0,l.jsx)(s.Z,{direction:"row",gap:2,children:null==x?void 0:x.map((e,n)=>(0,l.jsxs)(s.Z,{gap:1,direction:"row",alignItems:"center",className:"talent",children:[(0,l.jsx)(h.Z,{title:(0,l.jsx)(C.u3,{...e}),children:(0,l.jsx)("img",{src:"".concat(u.prefix,"data/UISkillIcon").concat(null==e?void 0:e.talentId,".png"),style:{width:56,height:56},alt:""})}),(0,l.jsx)(ev.Z,{placeholder:(0,l.jsx)("span",{style:{color:"#51e406",fontWeight:"bold"},children:"Ready"}),type:"countdown",date:null==e?void 0:e.cd,lastUpdated:o})]},"".concat(null==e?void 0:e.talentId,"-").concat(n)))}):null},e_=e=>{var n;let{inventory:t,inventorySlots:i}=e;return(0,l.jsxs)(s.Z,{sx:{width:250},children:[(0,l.jsx)(C.uQ,{title:"Capacity",value:"".concat(null!==(n=null==t?void 0:t.length)&&void 0!==n?n:0,"/").concat(i)}),(0,l.jsx)(s.Z,{sx:{mt:1},direction:"row",flexWrap:"wrap",children:null==t?void 0:t.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,u.cleanUnderscore)(null==e?void 0:e.name),children:(0,l.jsxs)(s.Z,{alignItems:"center",sx:{border:"1px solid rgb(255 255 255 / 12%)",width:"25%",p:1},children:[(0,l.jsx)("img",{width:32,height:32,src:"".concat(u.prefix,"data/").concat(null==e?void 0:e.rawName,".png"),alt:""}),(0,l.jsx)(c.Z,{children:(0,u.notateNumber)(null==e?void 0:e.amount)})]})},(null==e?void 0:e.rawName)+""+n))})]})},eF=t(50768);function eP(){let e=(0,d._)(["\n width: 104px;\n object-fit: contain;\n"]);return eP=function(){return e},e}let eT=p.Z.img(eP());var eA=e=>{var n,t,r,a;let{character:d,account:h,lastUpdated:p,filters:j,cols:v,characters:m,showSkillsRankOneOnly:g,showUnmaxedBoxesOnly:f}=e,{name:Z,classIndex:w,level:b,cards:k,skillsInfo:C,activePrayers:N,starSigns:I,postOffice:S,obols:U,equippedBubbles:M,equipment:W,tools:_,food:F,invBagsUsed:T,carryCapBags:A,talents:B,starTalents:D,flatTalents:E,flatStarTalents:L,cooldowns:z,afkTime:H,inventory:G,inventorySlots:K,playerId:X}=d,J=[{component:(0,l.jsx)(eU,{activityFilter:null==j?void 0:j.Activity,statsFilter:null==j?void 0:j.Stats,character:d,characters:m,account:h,lastUpdated:p}),filter:["Stats","Activity"]},{component:(0,l.jsx)(V.Z,{obols:U}),filter:"Obols"},{component:(0,l.jsx)(V.Z,{obols:U,obolStats:!0}),filter:"Obols Stats"},{component:(0,l.jsx)(y,{bags:T,capBags:A}),filter:"Bags"},{component:(0,l.jsx)(O,{talents:B,starTalents:D}),filter:"Talents"},{component:(0,l.jsx)(P,{cards:k}),filter:"Cards"},{component:(0,l.jsx)(R,{skills:C,charName:Z,showSkillsRankOneOnly:g}),filter:"Skills"},{component:(0,l.jsx)(q,{prayers:N}),filter:"Prayers"},{component:(0,l.jsx)(ed,{signs:I}),filter:"Star Signs"},{component:(0,l.jsx)(ec,{characters:m,character:d,account:h}),filter:"Anvil Details"},{component:(0,l.jsx)(e_,{inventory:G,inventorySlots:K}),filter:"Inventory"},{component:(0,l.jsx)(Q,{...S,showUnmaxedBoxesOnly:f}),filter:"Post Office"},{component:(0,l.jsx)(eF.Z,{playerLabLevel:null!==(a=null==C?void 0:null===(n=C.laboratory)||void 0===n?void 0:n.level)&&void 0!==a?a:0,playerChips:null==h?void 0:null===(r=h.lab)||void 0===r?void 0:null===(t=r.playersChips)||void 0===t?void 0:t[X],characters:m}),filter:"Chips"},{component:(0,l.jsx)(en,{charName:Z,equipment:W,tools:_,food:F,character:d,account:h}),filter:"Equipment"},{component:(0,l.jsx)(eu,{bubbles:M}),filter:"Equipped Bubbles"},{component:(0,l.jsx)(eW,{postOffice:S,cooldowns:z,lastUpdated:p,talents:[...E||[],...L||[]],afkTime:H}),filter:"Active Skills CD"}],Y=(0,i.useMemo)(()=>null==W?void 0:W.reduce((e,n)=>{let{rawName:t}=n;return!e&&t.includes("Trophy")?t:e},""),[d]);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.ZP,{item:!0,xl:v,children:(0,l.jsxs)(s.Z,{gap:2,children:[(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:2,children:[(0,l.jsx)(x.Z,{sx:{display:{sm:"none",md:"block"}},children:(0,l.jsx)("img",{src:"".concat(u.prefix,"data/ClassIcons").concat(w,".png"),alt:""})}),(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(c.Z,{sx:{typography:{xs:"body2",sm:"body1"}},children:[Z," (",b,")"]}),Y?(0,l.jsx)(eT,{src:"".concat(u.prefix,"data/").concat(Y,"disp.png"),style:{width:102,height:19},alt:""}):null]})]}),(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",gap:4,children:null==J?void 0:J.map((e,n)=>{let t=null==j?void 0:j[e.filter];return Array.isArray(e.filter)&&(t=e.filter.some(e=>null==j?void 0:j[e])),t?(0,l.jsx)(i.Fragment,{children:e.component},"".concat(Z,"-").concat(null==e?void 0:e.filter,"-").concat(n)):null})})]})})})},eB=t(80782),eD=t(2962),eE=()=>{var e,n,t;let{state:d,dispatch:x}=(0,i.useContext)(eB.I),u=(0,i.useMemo)(()=>{var e;return null===(e=Object.values((null==d?void 0:d.displayedCharacters)||[]))||void 0===e?void 0:e.filter(e=>e).length},[d]),h=Math.max(3,12/u),p=null==d?void 0:null===(e=d.filters)||void 0===e?void 0:e.Skills,j=null==d?void 0:null===(n=d.filters)||void 0===n?void 0:n["Post Office"];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eD.PB,{title:"Characters | Idleon Toolbox",description:"Characters overview for a lot of the game aspects"}),u>0?(0,l.jsxs)(l.Fragment,{children:[p?(0,l.jsx)(r.Z,{control:(0,l.jsx)(a.Z,{name:"mini",checked:d.showRankOneOnly,onChange:()=>x({type:"showRankOneOnly",data:!d.showRankOneOnly}),size:"small"}),label:"Show rank 1 only"}):null,j?(0,l.jsx)(r.Z,{control:(0,l.jsx)(a.Z,{name:"mini",checked:d.showUnmaxedBoxesOnly,onChange:()=>x({type:"showUnmaxedBoxesOnly",data:!d.showUnmaxedBoxesOnly}),size:"small"}),label:"Show Unmaxed Boxes Only"}):null,(0,l.jsx)(o.ZP,{container:!0,sx:{gap:{xs:2}},columns:12.5,children:null==d?void 0:null===(t=d.characters)||void 0===t?void 0:t.map((e,n)=>{var t;return(null==d?void 0:null===(t=d.displayedCharacters)||void 0===t?void 0:t[null==e?void 0:e.name])?(0,l.jsx)(eA,{filters:null==d?void 0:d.filters,account:null==d?void 0:d.account,character:e,characters:null==d?void 0:d.characters,cols:h,lastUpdated:null==d?void 0:d.lastUpdated,showSkillsRankOneOnly:d.showRankOneOnly,showUnmaxedBoxesOnly:d.showUnmaxedBoxesOnly},"".concat(null==e?void 0:e.name,"-").concat(n)):null})})]}):(0,l.jsx)(s.Z,{alignItems:"center",justifyContent:"center",children:(0,l.jsx)(c.Z,{variant:"h4",children:"Please select a character"})})]})}}},function(e){e.O(0,[5127,6886,250,5039,6426,176,4401,9774,2888,179],function(){return e(e.s=33713)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/characters-f9a3948f4a73c972.js b/_next/static/chunks/pages/characters-f9a3948f4a73c972.js deleted file mode 100644 index 1e1c385ec..000000000 --- a/_next/static/chunks/pages/characters-f9a3948f4a73c972.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1379],{33713:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/characters",function(){return t(50763)}])},50768:function(e,n,t){"use strict";var l=t(82729),i=t(85893),r=t(51233),a=t(66242),o=t(44267),s=t(15861),c=t(66092),d=t(44358),u=t(87357);t(67294);var x=t(61599);function h(){let e=(0,l._)(["\n"]);return h=function(){return e},e}let p=[5,10,15,25,35,50,75],j=x.Z.img(h()),v=e=>{let{name:n,bonus:t,baseVal:l}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{mb:1,fontWeight:"bold",variant:"h6",children:(0,c.cleanUnderscore)(n.toLowerCase().capitalize())}),(0,i.jsx)(s.Z,{children:(0,c.cleanUnderscore)(null==t?void 0:t.replace(/{/g,l))})]})};n.Z=e=>{let{playerChips:n,playerLabLevel:t}=e;return(0,i.jsx)(r.Z,{direction:"row",alignItems:"center",flexWrap:"wrap",justifyContent:"center",gap:3,children:null==n?void 0:n.map((e,n)=>{let l=t>=p[n];return(0,i.jsx)(a.Z,{elevation:5,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(r.Z,{justifyContent:"center",children:-1!==e?(0,i.jsx)(d.Z,{title:(0,i.jsx)(v,{...e}),children:(0,i.jsx)(j,{src:"".concat(c.prefix,"data/ConsoleChip").concat(null==e?void 0:e.index,".png"),alt:""})}):(0,i.jsx)(u.Z,{sx:{width:42,height:42,display:"flex",alignItems:"center"},children:l?"":"Lv. ".concat(null==p?void 0:p[n])})})})},"".concat(null==e?void 0:e.name,"-").concat(n))})})}},50763:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return eE}});var l=t(85893),i=t(67294),r=t(50480),a=t(69368),o=t(86886),s=t(51233),c=t(15861),d=t(82729),u=t(87357),x=t(66092),h=t(44358),p=t(61599),j=t(19636),v=t(98396),m=t(66242),g=t(44267),f=t(67720);function Z(){let e=(0,d._)(["\n filter: ",";\n opacity: ",";\n justify-self: center;\n width: 48px;\n height: 48px;\n\n @media (max-width: 370px) {\n width: 36px;\n height: 36px;\n }\n"]);return Z=function(){return e},e}let w=p.Z.img(Z(),e=>{let{exists:n}=e;return n?"grayscale(0)":"grayscale(1)"},e=>{let{exists:n}=e;return n?"1":"0.3"});var y=e=>{let{bags:n,capBags:t}=e,i=(0,v.Z)("(max-width: 370px)",{noSsr:!0});return(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsxs)(s.Z,{sx:{width:200},alignItems:"center",children:[(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",children:null==n?void 0:n.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,l.jsx)(j.Z,{...e}),children:(0,l.jsx)(w,{exists:null==e?void 0:e.acquired,src:"".concat(x.prefix,"data/").concat(null==e?void 0:e.rawName,".png"),alt:""})},(null==e?void 0:e.displayName)+n))}),(0,l.jsx)(f.Z,{sx:{my:2},flexItem:!0}),(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",gap:i?1:0,justifyContent:"center",children:null==t?void 0:t.map((e,n)=>{let{displayName:t,rawName:i,capacityPerSlot:r}=e;return(0,l.jsx)(h.Z,{title:(0,l.jsx)(j.Z,{...e}),children:(0,l.jsxs)(s.Z,{alignItems:"center",children:[(0,l.jsx)(w,{exists:!0,src:"".concat(x.prefix,"data/").concat(i,".png"),alt:""}),(0,l.jsx)(c.Z,{variant:"caption",children:(0,x.notateNumber)(r)})]})},t+n)})})]})})})},b=t(11703),k=t(40044),C=t(82557);function N(){let e=(0,d._)(["\n width: 50px;\n height: 50px;\n margin-bottom: ",";\n"]);return N=function(){return e},e}function I(){let e=(0,d._)(["\n text-align: center;\n\n .tabs {\n position: relative;\n display: grid;\n margin-top: 10px;\n grid-template-columns: repeat(auto-fill, 50px);\n grid-template-rows: 50px;\n column-gap: 2px;\n justify-content: center;\n\n .active {\n filter: brightness(1);\n }\n\n .star {\n position: absolute;\n right: 0;\n }\n\n > img {\n cursor: pointer;\n filter: brightness(0.4);\n\n &:last-child {\n justify-self: flex-end;\n }\n }\n }\n\n .star-talents-arrows {\n height: 80%;\n }\n\n .arrow {\n cursor: pointer;\n align-self: center;\n }\n\n\n .talents-wrapper {\n position: relative;\n margin-top: 25px;\n display: grid;\n min-height: 245px;\n grid-template-columns: repeat(5, 50px);\n row-gap: 10px;\n justify-content: center;\n margin-bottom: 10px;\n }\n"]);return I=function(){return e},e}let S=e=>{let{src:n}=e;return(0,l.jsx)(u.Z,{sx:{width:{xs:30},"> img":{width:{xs:30}}},children:(0,l.jsx)("img",{src:n,alt:""})})},U=p.Z.img(N(),e=>{let{arrow:n}=e;return n?"20px":0}),M=p.Z.div(I());var O=e=>{var n,t;let{talents:r,starTalents:a}=e,[o,s]=(0,i.useState)(0),[d,u]=(0,i.useState)(0),[p,j]=(0,i.useState)(),[v,m]=(0,i.useState)(0);(0,i.useEffect)(()=>{j(4===d?Z(a,v):null==r?void 0:r[d]),m(0)},[d]);let g=e=>{m(e),j(Z(a,e))},f=(e,n)=>null==e?void 0:e.slice(13*n,(n+1)*13),Z=(e,n)=>{let t=JSON.parse(JSON.stringify(null==e?void 0:e.orderedTalents)),l=f((0,x.fillMissingTalents)(t),n);return l.length<13&&(l=Array(13).fill(1).map((e,n)=>{var t;return null!==(t=l[n])&&void 0!==t?t:{}})),null==l||l.splice(10,0,{talentId:"arrow"}),null==l||l.splice(14,0,{talentId:"arrow"}),{...e,orderedTalents:l}},w=(e,n)=>e>=0&&n>=0?"".concat(e,"/").concat(n):"";return(0,l.jsxs)(M,{active:d,children:[(0,l.jsxs)(b.Z,{centered:!0,value:o,onChange:(e,n)=>s(n),children:[null===(n=Object.keys(r||{}))||void 0===n?void 0:n.map(e=>{var n,t;let i=null==r?void 0:null===(n=r[e])||void 0===n?void 0:n.name;return(0,l.jsx)(k.Z,{sx:{minWidth:{xs:"unset",sm:"inherit"}},icon:(0,l.jsx)(S,{src:"".concat(x.prefix,"data/ClassIcons").concat(null==r?void 0:null===(t=r[e])||void 0===t?void 0:t.id,".png"),alt:i}),"aria-label":"".concat(i,"-tab"),onClick:()=>u(parseInt(e))},"".concat(i,"-").concat(e))}),(0,l.jsx)(k.Z,{sx:{minWidth:{xs:"unset",sm:"inherit"}},onClick:()=>u(4),"aria-label":"star-sign-tab",icon:(0,l.jsx)(S,{src:"".concat(x.prefix,"data/ClassIcons0.png"),alt:""})})]}),(0,l.jsx)("div",{className:"talents-wrapper",children:null==p?void 0:null===(t=p.orderedTalents)||void 0===t?void 0:t.map((e,n)=>{let{talentId:t,level:i,maxLevel:r,name:a}=e;if(n>=15)return null;let o=w(i,r);return"Blank"===t||"84"===t||"arrow"===t?(0,l.jsxs)("div",{className:"blank ".concat((10===n||14===n)&&"arrow"),children:[10!==n&&14!==n&&(0,l.jsx)(U,{src:"".concat(x.prefix,"data/UISkillIconLocke.png"),alt:""}),10===n&&v>0?(0,l.jsx)("div",{children:(0,l.jsx)(U,{onClick:()=>g(v-1),className:"arrow",src:"".concat(x.prefix,"data/UIAnvilArrowsG2.png"),arrow:!0,alt:""})}):null,(14===n||26===n)&&v<4?(0,l.jsx)("div",{children:(0,l.jsx)(U,{onClick:()=>g(v+1),className:"arrow",src:"".concat(x.prefix,"data/UIAnvilArrowsG1.png"),arrow:!0,alt:""})}):null]},t+""+n):(0,l.jsx)(h.Z,{title:t?(0,l.jsx)(C.u3,{...e}):"",children:(0,l.jsxs)("div",{className:"talent-wrapper",children:[a?(0,l.jsx)(U,{src:"".concat(x.prefix,"data/UISkillIcon").concat(t,".png"),alt:""}):(0,l.jsx)(U,{src:"".concat(x.prefix,"data/UISkillIconLocke.png"),alt:""}),(0,l.jsxs)(c.Z,{fontSize:12,children:[o,"\xa0"]})]})},t+""+n)})}),(0,l.jsx)("div",{className:"star-talents-arrows",children:(0,l.jsxs)("span",{style:{opacity:4===d?1:0},children:["Specials ",v+1]})})]})},W=t(98118);function _(){let e=(0,d._)(["\n width: 56px;\n height: 72px;\n border: 2px solid #5d5d5d;\n border-radius: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]);return _=function(){return e},e}let F=p.Z.div(_());var P=e=>{let{cards:n}=e,{equippedCards:t,cardSet:i}=n||{};return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{mb:2,variant:"h5",children:"Equipped cards"}),(0,l.jsxs)(s.Z,{children:[(null==i?void 0:i.rawName)?(0,l.jsx)(s.Z,{mb:3,justifyContent:"center",direction:"row",children:(0,l.jsx)(u.Z,{sx:{position:"relative"},children:(0,l.jsx)(C.iy,{variant:"cardSet",...i})})}):null,(0,l.jsx)(o.ZP,{container:!0,rowGap:3,children:null==t?void 0:t.map((e,n)=>{let{cardName:t,amount:i}=e,r=(0,W.BZ)(e);return(0,l.jsx)(o.ZP,{display:"flex",justifyContent:"center",position:"relative",xs:3,item:!0,children:i>0?(0,l.jsx)(C.iy,{...e,bonus:r}):(0,l.jsx)(F,{children:(0,l.jsx)(c.Z,{variant:"subtitle2",children:"EMPTY"})})},"".concat(t,"-").concat(n))})})]})]})},T=t(98216),A=t(24438);let B=e=>({1:"success.light",2:"warning.light",3:"secondary.main"})[e],D=["gaming","sailing","breeding"].toSimpleObject(),E=e=>{let{exp:n,expReq:t,charName:i,skillName:r,level:a}=e,o=n/t*100;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{variant:"h5",fontWeight:"bold",children:i}),(0,l.jsxs)(c.Z,{variant:"body1",children:[(0,T.Z)(r)," ",(0,l.jsxs)(c.Z,{variant:"body1",component:"span",children:["(Lv. ",a,")"]})]}),(0,l.jsx)(A.Z,{percent:o,bgColor:"#f3dd4c"}),(0,l.jsxs)(c.Z,{variant:"body1",children:[(0,x.notateNumber)(n,"Big")," / ",(0,x.notateNumber)(t,"Big")," ",(0,l.jsxs)(c.Z,{variant:"body1",component:"span",children:["(",Math.round(o),"%)"]})]})]})};var R=e=>{var n;let{skills:t,charName:i,showSkillsRankOneOnly:r}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Skills"}),(0,l.jsx)(m.Z,{children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(u.Z,{sx:{display:"grid",gridAutoFlow:"column",gap:r?"24px":"none",gridTemplateColumns:{xs:r?"fit-content":"repeat(4, minmax(45px, 100px))"},gridTemplateRows:r?null:{xs:"repeat(3, minmax(45px, 100px))"},justifyContent:"center"},children:null===(n=Object.keys(t||{}))||void 0===n?void 0:n.map((e,n)=>{let{level:a,rank:o,icon:s}=t[e];return"character"===e||r&&1!==o?null:(0,l.jsxs)(u.Z,{children:[(0,l.jsx)(h.Z,{title:(0,l.jsx)(E,{...null==t?void 0:t[e],skillName:e,charName:i}),children:(0,l.jsx)("img",{src:"".concat(x.prefix,"data/").concat(s,".png"),style:{width:38,height:36},alt:""})}),(0,l.jsxs)(c.Z,{children:["Lv ",a]}),D[e]?null:(0,l.jsx)(h.Z,{title:"Rank across the account",children:(0,l.jsxs)(c.Z,{sx:{width:"fit-content",color:B(o),fontWeight:1===o||2===o||3===o?"bold":"400"},children:["R: ",o]})})]},n)})})})})]})},L=t(2035);function z(){let e=(0,d._)(["\n width: 32px;\n height: 32px;\n"]);return z=function(){return e},e}let H=p.Z.img(z()),G=e=>{let{name:n,x1:t,x2:i,level:r,prayerIndex:a,effect:o,curse:s,maxLevel:d,totalAmount:h,costMulti:p}=e,j=t+t*(r-1)/10,v=i+i*(r-1)/10,m=(0,L.il)({name:n,x1:t,x2:i,level:r,prayerIndex:a,costMulti:p});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{mb:1,fontWeight:"bold",variant:"h5",children:(0,x.cleanUnderscore)(n)}),(0,l.jsxs)(c.Z,{fontWeight:"bold",variant:"body1",color:"success.dark",children:["Bonus: ",(0,l.jsx)(c.Z,{color:"black",fontWeight:400,component:"span",children:(0,x.cleanUnderscore)(o).replace("{",j)})]}),(0,l.jsxs)(c.Z,{fontWeight:"bold",variant:"body1",color:"error.dark",children:["Curse: ",(0,l.jsx)(c.Z,{color:"black",fontWeight:400,component:"span",children:(0,x.cleanUnderscore)(s).replace("{",v)})]}),(0,l.jsxs)(u.Z,{mt:1,children:["Cost: ",r!==d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{component:"span",sx:{color:0===r?"":m<=h?"success.dark":"error.dark"},children:(0,x.kFormatter)((0,x.round)(m),2)})," (",(0,x.kFormatter)(h,2),")"]}):(0,l.jsx)(c.Z,{fontWeight:"bold",color:"success.dark",component:"span",children:"Maxed"})]})]})};var q=e=>{let{prayers:n}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(s.Z,{direction:"row",gap:2,flexWrap:"wrap",justifyContent:"center",children:null==n?void 0:n.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,l.jsx)(G,{...e}),children:(0,l.jsx)(H,{src:"".concat(x.prefix,"data/Prayer").concat(null==e?void 0:e.prayerIndex,".png"),alt:""})},name+n))})})})})};function K(){let e=(0,d._)(["\n width: 70px;\n height: 70px;\n object-fit: contain;\n"]);return K=function(){return e},e}let X=p.Z.img(K()),J=e=>{let{name:n,upgrades:t,level:i}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"h6",children:(0,x.cleanUnderscore)(n)}),null==t?void 0:t.map((e,n)=>{let{bonus:t,func:r,x1:a,x2:o}=e;return(0,l.jsxs)("div",{children:[Math.max(0,(0,x.growth)(r,0===n?i:1===n?i-25:i-100,a,o)),(0,x.cleanUnderscore)(t)]},t+" "+n)})]})};var Q=e=>{let{boxes:n,totalPointsSpent:t,totalOrders:i,showUnmaxedBoxesOnly:r}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(c.Z,{variant:"h5",children:["Post Office (",(0,l.jsx)(c.Z,{variant:"h5",color:tr&&(null==e?void 0:e.level)===(null==e?void 0:e.maxLevel)?null:(null==e?void 0:e.name)!=="Filler"?(0,l.jsx)("div",{children:(0,l.jsx)(h.Z,{title:(0,l.jsx)(J,{...e}),children:(0,l.jsx)(C.j8,{color:"primary",anchorOrigin:{vertical:"top",horizontal:"left"},overlap:"circular",badgeContent:(null==e?void 0:e.level)?(0,l.jsx)(c.Z,{fontSize:14,fontWeight:500,color:"black",children:null==e?void 0:e.level}):null,max:401,children:(0,l.jsx)(X,{src:"".concat(x.prefix,"data/UIboxUpg").concat(n,".png"),alt:""})})})},(null==e?void 0:e.name)+" "+n):null)})]})},V=t(49260);function Y(){let e=(0,d._)(["\n width: 50px;\n height: 50px;\n object-fit: contain;\n"]);return Y=function(){return e},e}let $=e=>{let{items:n,character:t,account:i}=e;return(0,l.jsx)(u.Z,{sx:{display:"grid",justifyContent:"center",gridTemplateColumns:"repeat(2, 60px)"},children:null==n?void 0:n.map((e,n)=>{let{rawName:r,displayName:a,amount:o}=e;return n<8?(0,l.jsx)(m.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:76},variant:"outlined",children:(0,l.jsx)(g.Z,{sx:{"&:last-child":{padding:0}},children:(0,l.jsxs)(s.Z,{alignItems:"center",justifyContent:"center",children:[(0,l.jsx)(h.Z,{title:a&&"ERROR"!==a?(0,l.jsx)(j.Z,{...e,character:t,account:i}):"",children:(0,l.jsx)(ee,{src:"".concat(x.prefix,"data/").concat(r,".png"),alt:r})}),"ERROR"!==a?o:" "]})})},"".concat(r,"-").concat(n)):null})})},ee=p.Z.img(Y());var en=e=>{let{equipment:n,tools:t,food:i,account:r,character:a}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Equipment"}),(0,l.jsxs)(s.Z,{mt:2,direction:"row",gap:1,flexWrap:"wrap",justifyContent:"center",children:[(0,l.jsx)($,{items:null==n?void 0:n.slice(0,8),character:a,account:r}),(0,l.jsx)($,{items:null==n?void 0:n.slice(8),character:a,account:r}),(0,l.jsx)($,{items:t,character:a,account:r}),(0,l.jsx)($,{items:i,character:a,account:r})]})]})},et=t(23472),el=t(65455);function ei(){let e=(0,d._)(["\n width: 30px;\n height: 30px;\n"]);return ei=function(){return e},e}let er=p.Z.img(ei()),ea=e=>{let{availablePoints:n,pointsFromCoins:t,pointsFromMats:i,smithingLevel:r=0}=e;return(0,l.jsxs)(s.Z,{mb:1,children:[(0,l.jsxs)(c.Z,{my:1,variant:"h6",children:["Points (",(0,l.jsx)(c.Z,{variant:"h6",component:"span",color:0===n?"":n>0?"error.light":"secondary",children:t+i-n+r})," ","/ ",t+i+r,")"]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points From Mats: ",i]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points From Coins: ",t]}),(0,l.jsxs)(c.Z,{variant:"caption",children:["Points Smithing: ",r]})]})},eo=e=>{let{title:n,value:t,money:i,sx:r}=e;return(0,l.jsx)(m.Z,{sx:{width:"100%",...r},children:(0,l.jsxs)(g.Z,{sx:{"&:last-child":{p:"10px"}},children:[(0,l.jsx)(c.Z,{fontWeight:"bold",children:n}),i?t:(0,l.jsx)(c.Z,{children:t})]})})},es=e=>{let{title:n,children:t}=e;return(0,l.jsxs)(l.Fragment,{children:["object"==typeof n?n:(0,l.jsx)(c.Z,{my:1,variant:"h6",children:n}),(0,l.jsx)(s.Z,{direction:"row",gap:2,children:t})]})};var ec=e=>{var n,t;let{character:r,account:a,characters:o}=e,{stats:d}=(0,i.useMemo)(()=>(0,el.eW)(r,o,a),[r,o,a]),{xpPoints:u,speedPoints:h,capPoints:p,anvilSpeed:j,anvilCapacity:v,anvilCost:m,baseAnvilExp:g}=d;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Anvil Details"}),(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(es,{title:(0,l.jsx)(ea,{...d,smithingLevel:null==r?void 0:null===(t=r.skillsInfo)||void 0===t?void 0:null===(n=t.smithing)||void 0===n?void 0:n.level}),children:[(0,l.jsx)(eo,{title:"Exp",value:u}),(0,l.jsx)(eo,{title:"Speed",value:h}),(0,l.jsx)(eo,{title:"Capacity",value:p})]}),(0,l.jsxs)(es,{title:"Bonus",children:[(0,l.jsx)(eo,{title:"Exp",value:"".concat((0,x.notateNumber)((0,el.uv)(r,o,a,g,u),"Big"),"%")}),(0,l.jsx)(eo,{title:"Speed",value:(0,x.notateNumber)(j,"Big")}),(0,l.jsx)(eo,{title:"Capacity",value:(0,x.kFormatter)(v)})]}),(0,l.jsxs)(es,{title:"Material",children:[(0,l.jsx)(eo,{title:"Item",value:(null==m?void 0:m.rawName)?(0,l.jsx)(er,{src:"".concat(x.prefix,"data/").concat(null==m?void 0:m.rawName,".png"),alt:""}):(0,l.jsx)(l.Fragment,{})}),(0,l.jsx)(eo,{title:"Upg. cost",value:(0,x.kFormatter)(null==m?void 0:m.nextMatUpgrade,2)}),(0,l.jsx)(eo,{title:"Total Spent",value:(0,x.kFormatter)(null==m?void 0:m.totalMats)})]}),(0,l.jsxs)(es,{title:"Money",children:[(0,l.jsx)(eo,{title:"Upg. cost",money:!0,sx:{pb:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,x.getCoinsArray)(null==m?void 0:m.nextCoinUpgrade)})}),(0,l.jsx)(eo,{title:"Total Spent",money:!0,sx:{pb:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,x.getCoinsArray)(null==m?void 0:m.totalCoins)})})]}),(null==m?void 0:m.coinsToMax)>0?(0,l.jsx)(eo,{title:"Coins to max",money:!0,sx:{pb:2,my:2},value:(0,l.jsx)(et.Z,{title:"",maxCoins:3,money:(0,x.getCoinsArray)(null==m?void 0:m.coinsToMax)})}):null]})]})},ed=e=>{let{signs:n}=e;return(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(c.Z,{variant:"h5",children:"Star Signs"}),(0,l.jsx)(s.Z,{gap:1,children:null==n?void 0:n.map((e,n)=>{let{starName:t,bonuses:i}=e,r=null==i?void 0:i.some(e=>{let{chipBoost:n}=e;return n>1});return"None"!==t?(0,l.jsx)(m.Z,{children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"body1",children:(0,x.cleanUnderscore)(t)}),(0,l.jsx)(c.Z,{color:r?"info.light":"",children:null==i?void 0:i.map((e,n)=>{let{rawName:t,bonus:l}=e;return"".concat((0,x.cleanUnderscore)(null==t?void 0:t.replace("{",l))).concat(i.length-1===n?"":", ")})})]})},t+n):null})})]})};let eu=e=>{let{bubbleName:n,desc:t,func:i,level:r,x1:a,x2:o}=e,s=(0,x.growth)(i,r,a,o);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{fontWeight:"bold",variant:"h5",children:(0,x.cleanUnderscore)(n)}),(0,l.jsx)(c.Z,{children:(0,x.cleanUnderscore)(t).replace(/({}?)|\$/g,s)})]})};var ex=e=>{let{bubbles:n}=e,t=null==n?void 0:n.every(e=>{let{bubbleName:n}=e;return!n});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.Z,{direction:"row",sx:{height:"fit-content"},children:[t?(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(h.Z,{title:"Missing Active Bubble",children:(0,l.jsx)("img",{src:"".concat(x.prefix,"data/aUpgradesG2.png"),style:{width:42,height:42,filter:"brightness(0)"},alt:""})})})}):null,t?null:(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsx)(g.Z,{children:(0,l.jsx)(s.Z,{direction:"row",gap:2,flexWrap:"wrap",justifyContent:"center",children:null==n?void 0:n.map((e,n)=>{let{bubbleName:t,rawName:i}=e;if(!t)return null;let r="BUG]"===t?"Bug2":t;return(0,l.jsx)(h.Z,{title:(0,l.jsx)(eu,{...e,bubbleName:r}),children:(0,l.jsx)("img",{src:"".concat(x.prefix,"data/").concat(i,".png"),style:{width:42,height:42},alt:""})},r+n)})})})})]})})},eh=t(74721),ep=t(76972),ej=t(69690),ev=t(94217);function em(){let e=(0,d._)(["\n width: 35px;\n height: 35px;\n object-fit: contain;\n"]);return em=function(){return e},e}let eg=p.Z.img(em());var ef=e=>{var n;let{playerId:t,afkTarget:i,account:r,divStyle:a}=e,o=()=>{var e,n,l;return null==r?void 0:null===(l=r.lab)||void 0===l?void 0:null===(n=l.connectedPlayers)||void 0===n?void 0:null===(e=n.find(e=>(null==e?void 0:e.playerId)===t))||void 0===e?void 0:e.isDivinityConnected};return(0,l.jsx)(m.Z,{sx:{width:220},variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Activity"}),i&&"_"!==i?(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:["Divinity"===i||o()?(0,l.jsx)(h.Z,{title:(0,x.cleanUnderscore)(null==a?void 0:a.description.replace("@","")),children:(0,l.jsx)("img",{style:{height:40,width:58},src:"".concat(x.prefix,"etc/Div_Style_").concat(null!==(n=null==a?void 0:a.index)&&void 0!==n?n:0,".png"),alt:""})}):null,(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(x.prefix,"afk_targets/").concat(i,".png"),alt:""}),(0,l.jsx)(c.Z,{children:(0,x.cleanUnderscore)(i)})]}),o()?(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(x.prefix,"afk_targets/Divinity.png"),alt:""}),(0,l.jsx)(c.Z,{children:"Divinity"})]}):null]})]}):(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)(eg,{src:"".concat(x.prefix,"data/Afkz5.png"),alt:""}),(0,l.jsx)(c.Z,{children:"Nothing"})]})]})})},eZ=t(14581),ew=t(30176),ey=t(75934),eb=t.n(ey);function ek(){let e=(0,d._)(["\n width: 16px;\n height: 16px;\n object-fit: contain;\n"]);return ek=function(){return e},e}let eC={strength:"error.light",agility:"success.light",wisdom:"secondary",luck:"warning.light"},eN=e=>{let{title:n,value:t,breakdown:i="",breakdownNotation:r="Smaller",damage:a}=e;return(0,l.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",children:[(0,l.jsx)(c.Z,{color:"info.light",children:n}),(0,l.jsx)(h.Z,{title:i?(0,l.jsx)(eI,{breakdown:i,notate:r}):"",children:a?(0,l.jsx)(c.Z,{color:"#fffcc9",children:eb()([{regex:/[\[!]/g,fn:(e,n)=>{let t=n.at(0);return(0,l.jsx)(eS,{src:"".concat(x.prefix,"etc/Damage_").concat("["===t?"M":"T",".png"),alt:""},e)}}])(t)}):(0,l.jsx)(c.Z,{component:"span",children:t})})]})},eI=e=>{let{breakdown:n,titleWidth:t=120,notate:i=""}=e;return n?(0,l.jsx)(s.Z,{children:null==n?void 0:n.map((e,n)=>{let{name:r,value:a}=e;return(0,l.jsx)(C.uQ,{titleStyle:{width:t},title:r,value:isNaN(a)?a:(0,x.notateNumber)(a,i)},"".concat(r,"-").concat(n))})}):""},eS=p.Z.img(ek());var eU=e=>{var n,t;let{activityFilter:r,statsFilter:a,character:o,lastUpdated:d,account:u,characters:p}=e,{name:j,playerId:v,stats:Z,afkTime:w,crystalSpawnChance:y,nextPortal:b,afkTarget:k,nonConsumeChance:C}=o,{cashMulti:N,breakdown:I}=(0,i.useMemo)(()=>(0,eZ.bv)(o,u,p)||{},[o,u]),{dropRate:S,breakdown:U}=(0,i.useMemo)(()=>(0,eZ.VK)(o,u,p)||{},[o,u]),{respawnRate:M,breakdown:O}=(0,i.useMemo)(()=>(0,eZ.P9)(o,u)||{},[o,u]),{afkGains:W,breakdown:_}=(0,i.useMemo)(()=>(0,eZ.WU)(o,p,u),[o,u]),F=(0,i.useMemo)(()=>(0,ew.m)(o,p,u),[o,u]),P=()=>{var e;let n=null==o?void 0:null===(e=o.activePrayers)||void 0===e?void 0:e.find(e=>{let{name:n}=e;return"Unending_Energy"===n}),t=new Date().getTime()+(w-d),l=(0,ep.Z)(new Date,new Date(t));return n&&l>10},T=(0,i.useMemo)(()=>e=>{var n;return null===(n=Object.entries((null==e?void 0:e.stats)||{}))||void 0===n?void 0:n.reduce((e,n)=>{let[t,l]=n;return e+("level"!==t?l:0)},0)},[o]);return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.Z,{gap:2,flexWrap:"wrap",children:[r?(0,l.jsx)(ef,{afkTarget:k,divStyle:null==o?void 0:o.divStyle,playerId:v,account:u}):null,a?(0,l.jsxs)(l.Fragment,{children:[(null==b?void 0:b.goal)>10&&(null==b?void 0:b.current)<(null==b?void 0:b.goal)?(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Next Portal"}),(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,l.jsx)("img",{width:32,height:32,src:"".concat(x.prefix,"data/").concat(null==b?void 0:b.currentIcon,".png"),alt:""}),(0,l.jsx)(c.Z,{children:"".concat((0,x.kFormatter)(null==b?void 0:b.current)," / ").concat((0,x.kFormatter)(null==b?void 0:b.goal))})]})]})}):null,(0,l.jsxs)(s.Z,{sx:{minWidth:250},flexWrap:"wrap",gap:1,divider:(0,l.jsx)(f.Z,{}),children:[(0,l.jsx)(eN,{title:"Total Stats",value:T(o)}),null===(n=Object.entries(Z||{}))||void 0===n?void 0:n.map((e,n)=>{let[t,i]=e;return"level"!==t?(0,l.jsxs)(s.Z,{direction:"row",justifyContent:"space-between",children:[(0,l.jsx)(c.Z,{component:"span",variant:"body1",color:(null==eC?void 0:eC[t])||"info.light",children:(0,x.pascalCase)(t)}),(0,l.jsx)(c.Z,{variant:"body1",component:"span",children:Math.floor(i)})]},"".concat(j,"-").concat(t,"-").concat(n)):null}),(0,l.jsx)(eN,{title:"HP",value:(0,x.notateNumber)(null==F?void 0:F.maxHp)}),(0,l.jsx)(eN,{title:"MP",value:(0,x.notateNumber)(null==F?void 0:F.maxMp)}),(0,l.jsx)(eN,{title:"Kills Per Hour",value:(null==F?void 0:F.finalKillsPerHour)>1e6?(0,x.notateNumber)(null==F?void 0:F.finalKillsPerHour):(0,x.numberWithCommas)(Math.floor(null==F?void 0:F.finalKillsPerHour))}),(0,l.jsx)(eN,{title:"Defence",value:(0,x.notateNumber)(null==F?void 0:F.defence)}),(0,l.jsx)(eN,{title:"Critical Chance",value:"".concat((0,x.notateNumber)(null==F?void 0:F.critChance),"%")}),(0,l.jsx)(eN,{title:"Critical Damage",value:"".concat((0,x.notateNumber)(null==F?void 0:F.critDamage,"MultiplierInfo"),"x")}),(0,l.jsx)(eN,{title:"Accuracy",value:(0,x.notateNumber)(null==F?void 0:F.accuracy)}),(0,l.jsx)(eN,{title:"Movement Speed",value:(0,x.notateNumber)(null==F?void 0:F.movementSpeed)}),(0,l.jsx)(eN,{title:"Mining Eff",value:(0,x.notateNumber)(null==F?void 0:F.miningEff)}),(0,l.jsx)(eN,{title:"Damage",damage:!0,value:(0,ew.C)(F)}),(0,l.jsx)(eN,{title:"Cash Multiplier",value:"".concat((0,x.kFormatter)(N,2),"%"),breakdown:I,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Drop Rate",value:"".concat((0,x.notateNumber)(S,"MultiplierInfo"),"x"),breakdown:U,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Respawn Time",value:"".concat((0,x.notateNumber)(M,"MultiplierInfo"),"%"),breakdown:O,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Afk Gains",value:"".concat((0,x.notateNumber)(100*W,"MultiplierInfo"),"%"),breakdown:_,breakdownNotation:"Smaller"}),(0,l.jsx)(eN,{title:"Non Consume Chance",value:"".concat((0,x.kFormatter)(C,2),"%")}),(0,l.jsx)(eN,{title:"Money",value:(0,l.jsx)(et.Z,{title:"",money:(0,x.getCoinsArray)(null==o?void 0:o.money)})})]}),(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Crystal Chance"}),(0,l.jsxs)(s.Z,{direction:"row",gap:1,children:[(0,l.jsx)(c.Z,{children:1/(null==y?void 0:y.value)<100?"".concat(null===(t=(0,x.notateNumber)((null==y?void 0:y.value)*100,"MultiplierInfo"))||void 0===t?void 0:t.replace(".00",""),"%"):"1 in ".concat(Math.floor(1/(null==y?void 0:y.value)))}),(0,l.jsx)(h.Z,{title:(0,l.jsx)(eI,{titleWidth:180,breakdown:null==y?void 0:y.breakdown}),children:(0,l.jsx)(eh.Z,{})})]})]})}),(0,l.jsx)(m.Z,{variant:"outlined",children:(0,l.jsxs)(g.Z,{children:[(0,l.jsx)(c.Z,{color:"info.light",children:"Afk time"}),(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:1,color:P()?"error.light":"",children:[(()=>{let e=new Date().getTime()+(w-d);return 5>=(0,ej.Z)(new Date,new Date(e))})()?(0,l.jsx)(c.Z,{color:"success.light",children:"Active"}):(0,l.jsx)(ev.Z,{type:"up",date:w,lastUpdated:d}),P()?(0,l.jsx)(h.Z,{title:"This character is afk more than 10 hours with Unending Energy prayer",children:(0,l.jsx)(eh.Z,{})}):null]})]})})]}):null]})})},eM=t(83524),eO=t(14802),eW=e=>{let{postOffice:n,talents:t,cooldowns:r,afkTime:a,lastUpdated:o}=e,c=Math.max(0,(0,eM.xV)(n,"Magician_Starterpack",2)),d=e=>{var n;return null===(n=Object.entries(e||{}))||void 0===n?void 0:n.reduce((e,n)=>{let[l,i]=n;if(!eO.RL[l])return e;let r=null==t?void 0:t.find(e=>{let{talentId:n}=e;return parseInt(l)===n});if(!r)return e;let o=(0,x.growth)(null==r?void 0:r.funcX,null==r?void 0:r.maxLevel,null==r?void 0:r.x1,null==r?void 0:r.x2),s=(0,x.growth)(null==r?void 0:r.funcY,null==r?void 0:r.maxLevel,null==r?void 0:r.y1,null==r?void 0:r.y2),d=(1-c/100)*i-(new Date().getTime()-a)/1e3;return[...e,{...r,description:null==r?void 0:r.description.replace("{",o).replace("}",s),cd:d<0?d:new Date().getTime()+1e3*d}]},[])},u=(0,i.useMemo)(()=>d(r),[r]);return(null==u?void 0:u.length)?(0,l.jsx)(s.Z,{direction:"row",gap:2,children:null==u?void 0:u.map((e,n)=>(0,l.jsxs)(s.Z,{gap:1,direction:"row",alignItems:"center",className:"talent",children:[(0,l.jsx)(h.Z,{title:(0,l.jsx)(C.u3,{...e}),children:(0,l.jsx)("img",{src:"".concat(x.prefix,"data/UISkillIcon").concat(null==e?void 0:e.talentId,".png"),style:{width:56,height:56},alt:""})}),(0,l.jsx)(ev.Z,{placeholder:(0,l.jsx)("span",{style:{color:"#51e406",fontWeight:"bold"},children:"Ready"}),type:"countdown",date:null==e?void 0:e.cd,lastUpdated:o})]},"".concat(null==e?void 0:e.talentId,"-").concat(n)))}):null},e_=e=>{var n;let{inventory:t,inventorySlots:i}=e;return(0,l.jsxs)(s.Z,{sx:{width:250},children:[(0,l.jsx)(C.uQ,{title:"Capacity",value:"".concat(null!==(n=null==t?void 0:t.length)&&void 0!==n?n:0,"/").concat(i)}),(0,l.jsx)(s.Z,{sx:{mt:1},direction:"row",flexWrap:"wrap",children:null==t?void 0:t.map((e,n)=>(0,l.jsx)(h.Z,{title:(0,x.cleanUnderscore)(null==e?void 0:e.name),children:(0,l.jsxs)(s.Z,{alignItems:"center",sx:{border:"1px solid rgb(255 255 255 / 12%)",width:"25%",p:1},children:[(0,l.jsx)("img",{width:32,height:32,src:"".concat(x.prefix,"data/").concat(null==e?void 0:e.rawName,".png"),alt:""}),(0,l.jsx)(c.Z,{children:(0,x.notateNumber)(null==e?void 0:e.amount)})]})},(null==e?void 0:e.rawName)+""+n))})]})},eF=t(50768);function eP(){let e=(0,d._)(["\n width: 104px;\n object-fit: contain;\n"]);return eP=function(){return e},e}let eT=p.Z.img(eP());var eA=e=>{var n,t,r,a;let{character:d,account:h,lastUpdated:p,filters:j,cols:v,characters:m,showSkillsRankOneOnly:g,showUnmaxedBoxesOnly:f}=e,{name:Z,classIndex:w,level:b,cards:k,skillsInfo:C,activePrayers:N,starSigns:I,postOffice:S,obols:U,equippedBubbles:M,equipment:W,tools:_,food:F,invBagsUsed:T,carryCapBags:A,talents:B,starTalents:D,flatTalents:E,flatStarTalents:L,cooldowns:z,afkTime:H,inventory:G,inventorySlots:K,playerId:X}=d,J=[{component:(0,l.jsx)(eU,{activityFilter:null==j?void 0:j.Activity,statsFilter:null==j?void 0:j.Stats,character:d,characters:m,account:h,lastUpdated:p}),filter:["Stats","Activity"]},{component:(0,l.jsx)(V.Z,{obols:U}),filter:"Obols"},{component:(0,l.jsx)(V.Z,{obols:U,obolStats:!0}),filter:"Obols Stats"},{component:(0,l.jsx)(y,{bags:T,capBags:A}),filter:"Bags"},{component:(0,l.jsx)(O,{talents:B,starTalents:D}),filter:"Talents"},{component:(0,l.jsx)(P,{cards:k}),filter:"Cards"},{component:(0,l.jsx)(R,{skills:C,charName:Z,showSkillsRankOneOnly:g}),filter:"Skills"},{component:(0,l.jsx)(q,{prayers:N}),filter:"Prayers"},{component:(0,l.jsx)(ed,{signs:I}),filter:"Star Signs"},{component:(0,l.jsx)(ec,{characters:m,character:d,account:h}),filter:"Anvil Details"},{component:(0,l.jsx)(e_,{inventory:G,inventorySlots:K}),filter:"Inventory"},{component:(0,l.jsx)(Q,{...S,showUnmaxedBoxesOnly:f}),filter:"Post Office"},{component:(0,l.jsx)(eF.Z,{playerLabLevel:null!==(a=null==C?void 0:null===(n=C.laboratory)||void 0===n?void 0:n.level)&&void 0!==a?a:0,playerChips:null==h?void 0:null===(r=h.lab)||void 0===r?void 0:null===(t=r.playersChips)||void 0===t?void 0:t[X],characters:m}),filter:"Chips"},{component:(0,l.jsx)(en,{charName:Z,equipment:W,tools:_,food:F,character:d,account:h}),filter:"Equipment"},{component:(0,l.jsx)(ex,{bubbles:M}),filter:"Equipped Bubbles"},{component:(0,l.jsx)(eW,{postOffice:S,cooldowns:z,lastUpdated:p,talents:[...E||[],...L||[]],afkTime:H}),filter:"Active Skills CD"}],Y=(0,i.useMemo)(()=>null==W?void 0:W.reduce((e,n)=>{let{rawName:t}=n;return!e&&t.includes("Trophy")?t:e},""),[d]);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.ZP,{item:!0,xl:v,children:(0,l.jsxs)(s.Z,{gap:2,children:[(0,l.jsxs)(s.Z,{direction:"row",alignItems:"center",gap:2,children:[(0,l.jsx)(u.Z,{sx:{display:{sm:"none",md:"block"}},children:(0,l.jsx)("img",{src:"".concat(x.prefix,"data/ClassIcons").concat(w,".png"),alt:""})}),(0,l.jsxs)(s.Z,{children:[(0,l.jsxs)(c.Z,{sx:{typography:{xs:"body2",sm:"body1"}},children:[Z," (",b,")"]}),Y?(0,l.jsx)(eT,{src:"".concat(x.prefix,"data/").concat(Y,"disp.png"),style:{width:102,height:19},alt:""}):null]})]}),(0,l.jsx)(s.Z,{direction:"row",flexWrap:"wrap",gap:4,children:null==J?void 0:J.map((e,n)=>{let t=null==j?void 0:j[e.filter];return Array.isArray(e.filter)&&(t=e.filter.some(e=>null==j?void 0:j[e])),t?(0,l.jsx)(i.Fragment,{children:e.component},"".concat(Z,"-").concat(null==e?void 0:e.filter,"-").concat(n)):null})})]})})})},eB=t(80782),eD=t(2962),eE=()=>{var e,n,t;let{state:d,dispatch:u}=(0,i.useContext)(eB.I),x=(0,i.useMemo)(()=>{var e;return null===(e=Object.values((null==d?void 0:d.displayedCharacters)||[]))||void 0===e?void 0:e.filter(e=>e).length},[d]),h=Math.max(3,12/x),p=null==d?void 0:null===(e=d.filters)||void 0===e?void 0:e.Skills,j=null==d?void 0:null===(n=d.filters)||void 0===n?void 0:n["Post Office"];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eD.PB,{title:"Characters | Idleon Toolbox",description:"Characters overview for a lot of the game aspects"}),x>0?(0,l.jsxs)(l.Fragment,{children:[p?(0,l.jsx)(r.Z,{control:(0,l.jsx)(a.Z,{name:"mini",checked:d.showRankOneOnly,onChange:()=>u({type:"showRankOneOnly",data:!d.showRankOneOnly}),size:"small"}),label:"Show rank 1 only"}):null,j?(0,l.jsx)(r.Z,{control:(0,l.jsx)(a.Z,{name:"mini",checked:d.showUnmaxedBoxesOnly,onChange:()=>u({type:"showUnmaxedBoxesOnly",data:!d.showUnmaxedBoxesOnly}),size:"small"}),label:"Show Unmaxed Boxes Only"}):null,(0,l.jsx)(o.ZP,{container:!0,sx:{gap:{xs:2}},columns:12.5,children:null==d?void 0:null===(t=d.characters)||void 0===t?void 0:t.map((e,n)=>{var t;return(null==d?void 0:null===(t=d.displayedCharacters)||void 0===t?void 0:t[null==e?void 0:e.name])?(0,l.jsx)(eA,{filters:null==d?void 0:d.filters,account:null==d?void 0:d.account,character:e,characters:null==d?void 0:d.characters,cols:h,lastUpdated:null==d?void 0:d.lastUpdated,showSkillsRankOneOnly:d.showRankOneOnly,showUnmaxedBoxesOnly:d.showUnmaxedBoxesOnly},"".concat(null==e?void 0:e.name,"-").concat(n)):null})})]}):(0,l.jsx)(s.Z,{alignItems:"center",justifyContent:"center",children:(0,l.jsx)(c.Z,{variant:"h4",children:"Please select a character"})})]})}}},function(e){e.O(0,[5127,6886,250,5039,6426,176,4401,9774,2888,179],function(){return e(e.s=33713)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/webpack-701ec5b979e567d1.js b/_next/static/chunks/webpack-3aae215dfe3f1487.js similarity index 98% rename from _next/static/chunks/webpack-701ec5b979e567d1.js rename to _next/static/chunks/webpack-3aae215dfe3f1487.js index 4f3678056..dbdc113bf 100644 --- a/_next/static/chunks/webpack-701ec5b979e567d1.js +++ b/_next/static/chunks/webpack-3aae215dfe3f1487.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,s),r=!1}finally{r&&delete l[e]}return n.exports}s.m=a,e=[],s.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](n[f])})?n.splice(f--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](n[f])})?n.splice(f--,1):(c=!1,oIdleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/constellations.html b/account/misc/constellations.html index e8698726f..17e5c2731 100644 --- a/account/misc/constellations.html +++ b/account/misc/constellations.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/dungeons.html b/account/misc/dungeons.html index 17eb95840..2b4acbdcc 100644 --- a/account/misc/dungeons.html +++ b/account/misc/dungeons.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/general.html b/account/misc/general.html index 95b0f1e44..e90853e4a 100644 --- a/account/misc/general.html +++ b/account/misc/general.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/guild.html b/account/misc/guild.html index b67ddf458..5da75d91c 100644 --- a/account/misc/guild.html +++ b/account/misc/guild.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/quests.html b/account/misc/quests.html index a8e650fb7..e2ba05d0d 100644 --- a/account/misc/quests.html +++ b/account/misc/quests.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/random-events.html b/account/misc/random-events.html index b08c85023..4961ab762 100644 --- a/account/misc/random-events.html +++ b/account/misc/random-events.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/slab.html b/account/misc/slab.html index 7a1de8240..a9a2a327a 100644 --- a/account/misc/slab.html +++ b/account/misc/slab.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/misc/storage.html b/account/misc/storage.html index ca678cc89..72c61bede 100644 --- a/account/misc/storage.html +++ b/account/misc/storage.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/premium-currency/companions.html b/account/premium-currency/companions.html index e11c0814e..5f9d6c9ef 100644 --- a/account/premium-currency/companions.html +++ b/account/premium-currency/companions.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/premium-currency/gem-shop.html b/account/premium-currency/gem-shop.html index 3ebc24dfa..15998fec4 100644 --- a/account/premium-currency/gem-shop.html +++ b/account/premium-currency/gem-shop.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/task-board/achievements.html b/account/task-board/achievements.html index 2859c701a..fc6a1d2fc 100644 --- a/account/task-board/achievements.html +++ b/account/task-board/achievements.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/task-board/merits.html b/account/task-board/merits.html index e13c164a1..69343737b 100644 --- a/account/task-board/merits.html +++ b/account/task-board/merits.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/task-board/tasks.html b/account/task-board/tasks.html index 3f3754527..49704d211 100644 --- a/account/task-board/tasks.html +++ b/account/task-board/tasks.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-1/anvil.html b/account/world-1/anvil.html index df3212706..30f19a34f 100644 --- a/account/world-1/anvil.html +++ b/account/world-1/anvil.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-1/bribes.html b/account/world-1/bribes.html index 771fd59cd..e0750c8d3 100644 --- a/account/world-1/bribes.html +++ b/account/world-1/bribes.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-1/forge.html b/account/world-1/forge.html index 3fb3bb311..2a9df2656 100644 --- a/account/world-1/forge.html +++ b/account/world-1/forge.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-1/stamps.html b/account/world-1/stamps.html index 724446cc6..f264d457f 100644 --- a/account/world-1/stamps.html +++ b/account/world-1/stamps.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/arcade-shop.html b/account/world-2/arcade-shop.html index c194b8cc7..07b437c16 100644 --- a/account/world-2/arcade-shop.html +++ b/account/world-2/arcade-shop.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/bubbles.html b/account/world-2/bubbles.html index 2a76247e7..7fdbd3e8c 100644 --- a/account/world-2/bubbles.html +++ b/account/world-2/bubbles.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/cauldrons.html b/account/world-2/cauldrons.html index d30e09caf..89e9cf34d 100644 --- a/account/world-2/cauldrons.html +++ b/account/world-2/cauldrons.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/islands.html b/account/world-2/islands.html index 185d5b28f..ea5b496bd 100644 --- a/account/world-2/islands.html +++ b/account/world-2/islands.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/sigils.html b/account/world-2/sigils.html index b23417285..3433d92ed 100644 --- a/account/world-2/sigils.html +++ b/account/world-2/sigils.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/vials.html b/account/world-2/vials.html index 43bf5114e..4d81ccdc6 100644 --- a/account/world-2/vials.html +++ b/account/world-2/vials.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-2/weekly-bosses.html b/account/world-2/weekly-bosses.html index 1d9d34bb9..1eb9cb11c 100644 --- a/account/world-2/weekly-bosses.html +++ b/account/world-2/weekly-bosses.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/atom-collider.html b/account/world-3/atom-collider.html index 3f898ff19..0461a8062 100644 --- a/account/world-3/atom-collider.html +++ b/account/world-3/atom-collider.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/buildings.html b/account/world-3/buildings.html index 837316722..e60806d44 100644 --- a/account/world-3/buildings.html +++ b/account/world-3/buildings.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/construction.html b/account/world-3/construction.html index c303e7b9b..042a26744 100644 --- a/account/world-3/construction.html +++ b/account/world-3/construction.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/death-note.html b/account/world-3/death-note.html index e50113f52..5798aeb23 100644 --- a/account/world-3/death-note.html +++ b/account/world-3/death-note.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/equinox.html b/account/world-3/equinox.html index 6e226aa07..98bf497ae 100644 --- a/account/world-3/equinox.html +++ b/account/world-3/equinox.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/prayers.html b/account/world-3/prayers.html index 4a06eb843..20e8baa8f 100644 --- a/account/world-3/prayers.html +++ b/account/world-3/prayers.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/printer.html b/account/world-3/printer.html index 5a196e6c6..4667d50fc 100644 --- a/account/world-3/printer.html +++ b/account/world-3/printer.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/refinery.html b/account/world-3/refinery.html index e7cce2a79..264055530 100644 --- a/account/world-3/refinery.html +++ b/account/world-3/refinery.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/salt-lick.html b/account/world-3/salt-lick.html index d647cb7c8..d34bdc3eb 100644 --- a/account/world-3/salt-lick.html +++ b/account/world-3/salt-lick.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/traps.html b/account/world-3/traps.html index b85700d11..ea1c8962a 100644 --- a/account/world-3/traps.html +++ b/account/world-3/traps.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-3/worship.html b/account/world-3/worship.html index c541b6fda..740e647d0 100644 --- a/account/world-3/worship.html +++ b/account/world-3/worship.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-4/breeding.html b/account/world-4/breeding.html index 8d4ec1fad..5a7a9e7ad 100644 --- a/account/world-4/breeding.html +++ b/account/world-4/breeding.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-4/cooking.html b/account/world-4/cooking.html index 1d553b975..2580816b6 100644 --- a/account/world-4/cooking.html +++ b/account/world-4/cooking.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-4/laboratory.html b/account/world-4/laboratory.html index 1bf4356ec..356779a25 100644 --- a/account/world-4/laboratory.html +++ b/account/world-4/laboratory.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-4/rift.html b/account/world-4/rift.html index e32743417..2440e3c7d 100644 --- a/account/world-4/rift.html +++ b/account/world-4/rift.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-5/divinity.html b/account/world-5/divinity.html index 3bb02d632..1e6f3d8ca 100644 --- a/account/world-5/divinity.html +++ b/account/world-5/divinity.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-5/gaming.html b/account/world-5/gaming.html index 4114350d5..688672ea2 100644 --- a/account/world-5/gaming.html +++ b/account/world-5/gaming.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-5/sailing.html b/account/world-5/sailing.html index 7a6d0876a..d9b7a1aec 100644 --- a/account/world-5/sailing.html +++ b/account/world-5/sailing.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-6/farming.html b/account/world-6/farming.html index 2a3cf0f1a..e8ab45681 100644 --- a/account/world-6/farming.html +++ b/account/world-6/farming.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/account/world-6/sneaking.html b/account/world-6/sneaking.html index b7a93dcff..d36262eae 100644 --- a/account/world-6/sneaking.html +++ b/account/world-6/sneaking.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/characters.html b/characters.html index 7360e8a83..1f133625e 100644 --- a/characters.html +++ b/characters.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/dashboard.html b/dashboard.html index 859b6aaeb..ee5e7ef48 100644 --- a/dashboard.html +++ b/dashboard.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/data.html b/data.html index a32cca2d8..42d6c0b26 100644 --- a/data.html +++ b/data.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/guilds.html b/guilds.html index fc9b9a6a6..8f7b2b1dc 100644 --- a/guilds.html +++ b/guilds.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/index.html b/index.html index 2d534ec02..1a03cd3f8 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/leaderboards.html b/leaderboards.html index 459c6e29c..107d76cec 100644 --- a/leaderboards.html +++ b/leaderboards.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/patch-notes.html b/patch-notes.html index 2d600b96d..d602a3957 100644 --- a/patch-notes.html +++ b/patch-notes.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools.html b/tools.html index 9f84b9784..198ca5f2f 100644 --- a/tools.html +++ b/tools.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/active-exp-calculator.html b/tools/active-exp-calculator.html index 9fc2a18e4..92510874a 100644 --- a/tools/active-exp-calculator.html +++ b/tools/active-exp-calculator.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/builds.html b/tools/builds.html index 302a3be1d..fb2682f19 100644 --- a/tools/builds.html +++ b/tools/builds.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/card-search.html b/tools/card-search.html index 322c151f3..170ef9d2f 100644 --- a/tools/card-search.html +++ b/tools/card-search.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/god-planner.html b/tools/god-planner.html index ca05fa8c2..3bdc144b3 100644 --- a/tools/god-planner.html +++ b/tools/god-planner.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/guaranteed-drop-calculator.html b/tools/guaranteed-drop-calculator.html index f55ba7fd8..67b3cf4c1 100644 --- a/tools/guaranteed-drop-calculator.html +++ b/tools/guaranteed-drop-calculator.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/item-browser.html b/tools/item-browser.html index 52728bb2e..e8a7d56f2 100644 --- a/tools/item-browser.html +++ b/tools/item-browser.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/item-planner.html b/tools/item-planner.html index 869f5bac0..ee9e93979 100644 --- a/tools/item-planner.html +++ b/tools/item-planner.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file diff --git a/tools/material-tracker.html b/tools/material-tracker.html index 57ec47067..71a40c2d8 100644 --- a/tools/material-tracker.html +++ b/tools/material-tracker.html @@ -1 +1 @@ -Idleon Toolbox
\ No newline at end of file +Idleon Toolbox
\ No newline at end of file