Hentai Heroes++ BDSM version

Adding things here and there in the Hentai Heroes game. Also supports HHCore-based games such as GH and CxH.

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name            Hentai Heroes++ BDSM version
// @description     Adding things here and there in the Hentai Heroes game. Also supports HHCore-based games such as GH and CxH.
// @version         1.36.6
// @match           https://*.hentaiheroes.com/*
// @match           https://nutaku.haremheroes.com/*
// @match           https://*.gayharem.com/*
// @match           https://*.comixharem.com/*
// @match           https://*.hornyheroes.com/*
// @match           https://*.pornstarharem.com/*
// @run-at          document-body
// @namespace       https://github.com/zoop0kemon/hh-plus-plus
// @grant           none
// @author          45026831 (Numbers), zoopokemon
// ==/UserScript==

window.HHPlusPlus={
    // The changelog can be found at:
    CHANGELOG: 'https://raw.githubusercontent.com/zoop0kemon/hh-plus-plus/main/CHANGELOG',
    SPECIAL_THANKS: {
        CODE_CONTRIBUTIONS: [
            'Raphael',
            '1121',
            'Sluimerstand',
            'shal',
            'Tom208',
            'test_anon',
            'BenBrazke',
            'randomfapper34',
            'Orange',
            'zoopokemon',
            'Ia1nn',
            'rena-jp',
            'and many more over the years!'
        ],
        TRANSLATIONS: {
            'Bellanaris': ['de'],
            'bla': ['de'],
            'Daniel/Danutaku': ['it'],
            'Dogurasu53': ['es'],
            'FinderKeeper': ['ru'],
            'holymolly': ['de', 'es', 'it'],
            'Reisen': ['es'],
            'shal': ['de'],
            'Sozan': ['es'],
            'sygfried01': ['fr'],
            'test_anon': ['fr'],
            'Tom208': ['fr'],
            'Uxio': ['fr'],
            'Vampi': ['es'],
        }
    },
    BMAC: 'https://www.buymeacoffee.com/zoop0kemon',
    PATREON: 'https://www.patreon.com/zoop0kemon',
    DISCORD: 'https://discord.gg/hchsquT4Er',
};

// WARNING: This file has been generated, DO NOT EDIT.

window.HHPlusPlus={CHANGELOG:"https://raw.githubusercontent.com/zoop0kemon/hh-plus-plus/main/CHANGELOG",SPECIAL_THANKS:{CODE_CONTRIBUTIONS:["Raphael","1121","Sluimerstand","shal","Tom208","test_anon","BenBrazke","randomfapper34","Orange","zoopokemon","Ia1nn","rena-jp","and many more over the years!"],TRANSLATIONS:{Bellanaris:["de"],bla:["de"],"Daniel/Danutaku":["it"],Dogurasu53:["es"],FinderKeeper:["ru"],holymolly:["de","es","it"],Reisen:["es"],shal:["de"],Sozan:["es"],sygfried01:["fr"],test_anon:["fr"],Tom208:["fr"],Uxio:["fr"],Vampi:["es"]}},BMAC:"https://www.buymeacoffee.com/zoop0kemon",PATREON:"https://www.patreon.com/zoop0kemon",DISCORD:"https://discord.gg/hchsquT4Er"},(()=>{var a={971:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.hh-plus-plus-config-button{position:absolute;right:15px;cursor:pointer;background-size:contain;background-image:var(--config-button-icon)}.hh-plus-plus-config-button:after{content:"++";position:absolute;width:auto;bottom:-3px;right:-5px;text-shadow:0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000;-moz-transform:rotate(0.05deg)}.hh-plus-plus-config-panel{display:none;height:470px;width:900px;position:absolute;top:70px;right:63px;z-index:100;border-style:solid;border-image-slice:1;border-width:4px;background:var(--config-panel-background);border-image-source:var(--config-border-image-source);box-shadow:var(--config-panel-box-shadow)}.hh-plus-plus-config-panel.shown{display:block}.hh-plus-plus-config-panel .group-panel,.hh-plus-plus-config-panel .credits-panel{display:none;position:absolute;top:54px;width:889px;height:405px}.hh-plus-plus-config-panel .group-panel.shown,.hh-plus-plus-config-panel .credits-panel.shown{display:block}.hh-plus-plus-config-panel .group-panel .panel-contents,.hh-plus-plus-config-panel .credits-panel .panel-contents{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;width:100%;height:auto;padding-left:10px;padding-right:10px;gap:10px}.hh-plus-plus-config-panel .config-setting{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;border-radius:6px;border:1px solid #aaa;padding:7px;font-size:14px;background:var(--config-setting-background)}.hh-plus-plus-config-panel .config-setting.has-subsettings{grid-row-end:span 2}.hh-plus-plus-config-panel .config-setting.enabled{border:1px solid var(--config-setting-border)}.hh-plus-plus-config-panel .base-setting{display:flex}.hh-plus-plus-config-panel .base-setting span{flex:1}.hh-plus-plus-config-panel .sub-settings{font-size:12px;margin-top:8px}.hh-plus-plus-config-panel .sub-settings label{display:flex;align-items:center;margin-bottom:6px}.hh-plus-plus-config-panel .sub-settings label span{flex:1}.hh-plus-plus-config-panel .sub-settings label input{margin-left:0}.hh-plus-plus-config-panel .sub-settings label input[disabled]{background-color:initial;box-shadow:unset;-webkit-box-shadow:unset}.hh-plus-plus-config-panel .credits-panel .credits-contents{padding-left:2rem;padding-right:2rem;padding-bottom:2rem}.hh-plus-plus-config-panel .credits-panel .changelog{text-decoration:none;color:inherit}.hh-plus-plus-config-panel .credits-panel h2{font-size:24px}.hh-plus-plus-config-panel .credits-panel h3{margin:0}.hh-plus-plus-config-panel .credits-panel ul{margin:0;font-size:14px}.hh-plus-plus-config-panel .credits-panel .thanks-container{display:grid;grid-template-columns:1fr 1fr 1fr}.hh-plus-plus-config-panel .credits-panel a{color:inherit}.hh-plus-plus-config-panel .credits-panel .tier-icon{display:inline-block;margin-left:5px;height:21px}.hh-plus-plus-config-panel .toggle-credits{position:absolute;top:6px;right:56px}.hh-plus-plus-config-panel .nicescroll-rails{top:0 !important}.close-config-panel{position:absolute;display:block;background-size:cover;background-image:var(--cross-icon);height:37px;width:41px;top:6px;right:6px;cursor:pointer}@media(min-width: 1026px){.hh-plus-plus-config-button{height:35px;width:35px;top:56px}.hh-plus-plus-config-button:after{font-size:26px;height:20px;line-height:20px}}@media(max-width: 1025px){.hh-plus-plus-config-button{height:64px;width:64px;top:85px}.hh-plus-plus-config-button:after{font-size:46px;height:40px;line-height:46px}}',""]);const n=t},1476:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'#leagues .matchRating{text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}#leagues .matchRating-win-chance{margin-top:5px}#leagues .matchRating-win-chance.plus{color:#66cd00}#leagues .matchRating-win-chance.minus{color:#ff2f2f}#leagues .matchRating-win-chance.close{color:orange}@media(min-width: 1026px){#leagues .matchRating{text-align:center;margin-top:-5px;font-size:12px;line-height:12px}#leagues .matchRating-value{font-size:16px;line-height:16px}#leagues .matchRating-key,#leagues .matchRating-value{display:block}}@media(max-width: 1025px){#leagues .matchRating{margin-left:75px;margin-top:-31px;margin-bottom:-8px;font-size:16px;line-height:16px}#leagues .matchRating-value{margin-left:5px}}#leagues .average-lvl{text-align:center}#leagues .gridWrapper{margin-top:-42px;display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;z-index:0}#leagues .player_block .team-hexagon-container .icon{z-index:1}.probabilityTable tr{line-height:16px;color:#fff}.probabilityTable tr:nth-of-type(odd){background-color:rgba(0,0,0,.2)}.probabilityTable tr:nth-of-type(even)[data-tint=w]{background-color:#66cd0028}.probabilityTable tr:nth-of-type(even)[data-tint=l]{background-color:#ff2f2f28}.probabilityTable .plus{color:#66cd00}.probabilityTable .minus{color:#ff2f2f}.probabilityTable .close{color:orange}#season-arena .matchRating{text-align:center;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000;line-height:21px;font-size:16px;margin-top:-10px}#season-arena .matchRating [cur=victory_points]::before{content:" ";display:inline-block;background-image:var(--mojo-icon-s);width:14px;height:14px;background-size:contain;background-position:center;background-repeat:no-repeat;position:relative;top:-4px;filter:drop-shadow(0px 0px 1px #000)}#season-arena .plus{color:#66cd00}#season-arena .minus{color:#ff2f2f}#season-arena .close{color:orange}#season-arena .season_arena_block.opponent .hero_team{padding:0px}#season-arena .gridWrapper{margin-top:-26px;display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;z-index:0;pointer-events:none}#season-arena .average-lvl{text-align:center}#pre-battle .plus{color:#66cd00}#pre-battle .minus{color:#ff2f2f}#pre-battle .close{color:orange}#pre-battle .gridWrapper{display:grid;grid-template-columns:1fr 1fr;width:100%}#pre-battle .matchRating{text-align:center;font-size:16px;display:flex;align-items:center;align-content:center;justify-content:center}#pre-battle .matchRating .short-circuit{display:inline-block;width:20px;height:20px;background-size:contain;margin-left:6px}#pre-battle .fighter-team .team-hexagon-container .average-lvl{text-align:center;margin-top:0px;line-height:26px}',""]);const n=t},9042:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-blessing-spreadsheet-link{position:absolute;top:.25rem;right:3.5rem;color:#8ec3ff;text-decoration:none;display:flex;align-content:center;align-items:center;max-width:14rem;font:normal normal normal 14px/18px Tahoma,Helvetica,Arial,sans-serif}.script-blessing-spreadsheet-link .nav_grid_icn{margin-right:1rem}.script-blessing-spreadsheet-link:hover{text-decoration:underline}",""]);const n=t},9456:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#popups .shards_name{max-width:340px;line-height:20px}",""]);const n=t},3402:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#boss_bang .boss-bang-row .boss-bang-center-part .progress-section .progress-bar-rewards-container{width:23.7rem;left:6.9rem;top:-0.2rem}",""]);const n=t},7533:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'img[src*="/pictures/girls/"],img[src*="/pictures/backgrounds/"],img[src*="/pictures/worlds/"],img[src*="/pictures/maps/"],img[src*="/pictures/gallery/"],img[src*="/pictures/trolls/"],img[src*="/pictures/items/"],img[src*="/pictures/design/battle_positions"],img[src*="/pictures/design/pachinko"],img[src*="/pictures/design/daily_goals_side"],img[src*="/pictures/design/payments"],img[src*="/pictures/design/el_teams-girls.png"],img[src*="/pictures/design/sultry_mysteries/static.png"],img[src*="/pictures/misc/events"],img[src*="/pictures/misc/places_of_power"],img[src*="/pictures/misc/missions"],img[src*="/pictures/misc/shops/shopkeeper.png"],img[src*="/pictures/hero/ico/"],img[src*="/pictures/club_champions/"],img[src*="/pictures/champions/"],img[src*="/pictures/sex_god_path/"],img[src*="/pictures/pantheon/"],img[src*="/img/quests/"],img[src*="/leagues/"],img[src*="/images/members/"],#popups #popup_news .news_thumb .news_thumb_pic,#popups #popup_news .news_page_content .news_page_pic,#popups #scene_popup,#popups #no_HC .product-background.integrated,#popups #no_HC .product-background.standalone,#contests>div>div.left_part>.scroll_area>.contest>.contest_header{filter:blur(20px) !important}',""]);const n=t},3599:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".champions-over__girl-image{right:278px}",""]);const n=t},7890:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".girl-selection__girl-box [carac=damage]{font-size:10px}",""]);const n=t},7171:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".club-champion-members-challenges .data-list .data-row .data-column:nth-child(1){width:3rem}.club-champion-members-challenges .data-list .data-row .data-column:nth-child(2){width:15rem;justify-content:start;gap:.5rem}.club-champion-members-challenges .data-list .data-row .data-column:nth-child(3){width:5rem}.club-champion-members-challenges .data-list .data-row .data-column:nth-child(4){width:9rem}.club-champion-members-challenges .data-list .data-row.body-row{text-align:center}.club-champion-members-challenges .data-list .data-row.body-row .data-column:nth-child(4){display:inline-block}.club-champion-members-challenges .data-list .data-row.body-row .data-column:nth-child(4) div{line-height:1.2;font-size:.9rem}.club-champion-members-challenges .data-list .data-row.body-row .data-column:nth-child(4) .shard{height:1rem;width:1rem;display:inline-block;background-size:140%;background-position:center}.club-details-container #club_champions .script-participant-count{display:block;position:absolute;top:15px;left:500px}#members .non-participant{color:#ffa07a}.inner_club_tables.club_champions_participants_container>.lead_table_view .nicescroll-rails{right:5px !important}.champions-middle__girl-selection .green-tick-icon.script-pose-match{margin-left:35px;filter:hue-rotate(-45deg)}.champions-bottom__ticket-amount{width:145px}.champions-bottom__ticket-amount.right{text-align:left !important}.club_champions_timer_fight{flex-wrap:wrap}.dummy-timer-target{display:none !important}",""]);const n=t},1497:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#missions>div #missions_counter .missions-counter-rewards{display:none}#missions>div .missions_wrap{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:4px;align-content:start;width:100%}#missions>div .missions_wrap .mission_object{height:104px;margin-bottom:0px}#missions>div .missions_wrap .mission_object .mission_image{margin-top:15px;margin-left:2px;margin-right:0px;width:80px;height:80px;border:2px solid #fff}#missions>div .missions_wrap .mission_object .mission_details{width:150px;padding:4px 6px;overflow-y:unset}#missions>div .missions_wrap .mission_object .mission_details h1{position:absolute;top:-3px;left:5%;width:90%;text-align:center;font-size:13px !important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#missions>div .missions_wrap .mission_object .mission_details p{font-size:10px;margin-top:12px;line-height:10px;height:82px;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}#missions>div .missions_wrap .mission_object .mission_details p::-webkit-scrollbar{display:none}#missions>div .missions_wrap .mission_object.legendary .mission_details h1:hover{top:-7px;text-overflow:clip;overflow:visable;white-space:unset;background-color:rgba(8,8,8,.75);padding:0px 6px;border-radius:4px;border-width:4px;border-style:solid;border-color:rgba(204,204,204,.25)}#missions>div .missions_wrap .mission_object .mission_reward{width:auto;height:50%;padding-left:0px;padding-top:15px;gap:8px;align-items:flex-start}#missions>div .missions_wrap .mission_object .mission_reward .slot{margin:0px !important}#missions>div .missions_wrap .mission_object .mission_reward .reward_wrap .slot:first-child{margin-right:8px !important}#missions>div .missions_wrap .mission_object .mission_button{font-size:12px;height:42%;position:absolute;right:3px;bottom:4px}#missions>div .missions_wrap .mission_object .mission_button .duration{top:2px;left:0px;overflow-x:hidden}#missions>div .missions_wrap .mission_object .mission_button>button[rel=mission_start]{height:60%}#missions>div .missions_wrap .mission_object .mission_button button{margin-top:0px;position:initial}#missions>div .missions_wrap .mission_object .mission_button .hh_bar{top:2px;left:2px}#missions>div .missions_wrap .mission_object .mission_button .hh_bar .backbar{top:10px;width:90px}#missions>div .missions_wrap .mission_object .mission_button .hh_bar .text{top:0px;width:100%;letter-spacing:0px;font-size:0px;text-align:center}#missions>div .missions_wrap .mission_object .mission_button .hh_bar .text>span{font-size:11px}#missions>div .missions_wrap .mission_object .mission_button>button[rel=finish]{position:relative;display:block;padding:0px 0px;width:90px;height:25px;top:22px;left:2px;line-height:12px;font-size:9px}#missions>div .missions_wrap .mission_object .mission_button>button[rel=finish] [class*=_icn]{width:12px;height:12px}#missions>div .missions_wrap .mission_object .mission_button>button[rel=finish] .price{line-height:inherit;margin-top:-2px;font-size:10px}#missions>div .missions_wrap .mission_object .mission_button>button[rel=claim]{width:86px;height:36px;margin-top:6px;padding:8px 5px;line-height:10px}",""]);const n=t},2882:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#filtering_girls .form-wrapper{display:grid;grid-gap:5px;grid-template-columns:1fr 1fr}#filtering_girls .form-wrapper .form-control{margin-bottom:0;margin-top:-6px}#filtering_girls .form-wrapper .form-control input,#filtering_girls .form-wrapper .form-control select,#filtering_girls .form-wrapper .form-control .selectric,#filtering_girls .form-wrapper .form-control .selectric .label{font-size:14px !important;height:32px !important;line-height:32px}#filtering_girls .form-wrapper .form-control .checkbox-group>.check-btn.element-state{margin-bottom:10px}#filtering_girls .form-wrapper .form-control select[name=world],#filtering_girls .form-wrapper .form-control select[name=event]{margin-top:11px}#filtering_girls .form-wrapper .form-control.secondary-position-fix{grid-column:2;grid-row:9;pointer-events:none}#filtering_girls .form-wrapper .form-control.secondary-position-fix select{pointer-events:all}#filtering_girls .form-wrapper .reset-filters-container .blue_button_L{padding:4px 20px}#filtering_girls .form-wrapper .reset-filters-container,#filtering_girls .form-wrapper .double-wide{grid-column:1/3}#filtering_girls,#harem_left,#harem_right{transition:transform .1s ease}",""]);const n=t},4207:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#popups #rewards_popup .flex-container .info_container a,#sliding-popups #rewards_popup .flex-container .info_container a{width:140px;margin:6px 70px 0 70px}",""]);const n=t},2085:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#contains_all>nav>[rel=content] .extender{display:none}#contains_all>nav>[rel=content]>div{height:auto;width:auto;padding:18px 10px;display:grid;grid-template-columns:1fr 1fr}#contains_all>nav>[rel=content]>div>a{width:auto;height:auto;margin:5px 10px;padding:5px 9px;font-size:12px;line-height:20px}#contains_all>nav>[rel=content]>div>a>div{margin:0px}#contains_all>nav>[rel=content]>div>a>div ic{width:20px;height:20px}",""]);const n=t},4247:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.pop_thumb_title{display:none}.pop_thumb>img{border-radius:0;position:relative;top:-27px;z-index:-1;float:left}.pop_thumb.pop_thumb_greyed_out>img{top:0px}.pop_thumb_progress_bar{margin-top:25px}#pop .pop_list .pop_list_scrolling_area .pop_thumb>.pop_thumb_space{height:60px;display:block !important}#pop .pop_list .pop_list_scrolling_area .pop_thumb.pop_thumb_active[status=pending_reward]>.pop_thumb_space{top:-137px;position:relative}#pop .pop_list .pop_list_scrolling_area .pop_thumb>.pop_thumb_level{top:-102px}#pop .pop_list .pop_list_scrolling_area .pop_thumb_selected .pop_thumb_progress_bar,#pop .pop_list .pop_list_scrolling_area .pop_thumb>.pop_thumb_progress_bar{background-color:unset;text-shadow:#000 1px 1px 0px,#000 -1px 1px 0px,#000 -1px -1px 0px,#000 1px -1px 0px}#pop .pop_list .pop_list_scrolling_area .pop_thumb_selected{box-shadow:0px 0px 7px 1px;color:#f90}#pop .pop_list .pop_list_scrolling_area .pop_thumb_container{min-height:99px}#pop .pop_list .pop_list_scrolling_area .pop_thumb_container .pop_thumb_expanded,#pop .pop_list .pop_list_scrolling_area .pop_thumb_container .pop_thumb_active,#pop .pop_list .pop_list_scrolling_area .pop_thumb_container .pop_thumb_greyed_out{height:99px;background:linear-gradient(0deg, #00000087, transparent)}#pop .pop_list .pop_list_scrolling_area .pop_thumb_greyed_out{height:99px}#pop .pop_list .pop_list_scrolling_area .pop_thumb_greyed_out .pop_thumb_title{display:block;margin-top:0px}#pop .pop_list .pop_list_scrolling_area .pop_thumb_active>button{position:relative;top:-44px}#pop .pop_list .pop_list_scrolling_area .collect_notif{margin-top:-88px;margin-left:74px}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="1"]{border-color:#d561e6;color:#d561e6}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="1"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="1"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-shard);background-size:28px 28px !important}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="2"]{border-color:#d561e6;color:#d561e6}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="2"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="2"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-shard);background-size:28px 28px !important}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="3"]{border-color:#d561e6;color:#d561e6}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="3"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="3"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-shard);background-size:28px 28px !important}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="4"]{border-color:#565656;color:#565656}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="4"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="4"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ymen)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="5"]{border-color:#565656;color:#565656}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="5"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="5"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ymen)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="6"]{border-color:#565656;color:#565656}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="6"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="6"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ymen)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="7"]{border-color:#d9d9d9;color:#d9d9d9}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="7"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="7"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-koban)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="8"]{border-color:#d9d9d9;color:#d9d9d9}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="8"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="8"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-koban)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="9"]{border-color:#d9d9d9;color:#d9d9d9}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="9"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="9"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-koban)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="10"]{border-color:#1ddf3e;color:#1ddf3e}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="10"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="10"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gem)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="11"]{border-color:#1ddf3e;color:#1ddf3e}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="11"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="11"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gem)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="12"]{border-color:#1ddf3e;color:#1ddf3e}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="12"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="12"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gem)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="13"]{border-color:#0155d1;color:#0155d1}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="13"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="13"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-orb)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="14"]{border-color:#0155d1;color:#0155d1}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="14"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="14"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-orb)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="15"]{border-color:#0155d1;color:#0155d1}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="15"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="15"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-orb)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="16"]{border-color:#ec0039;color:#ec0039}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="16"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="16"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-booster)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="17"]{border-color:#ec0039;color:#ec0039}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="17"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="17"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-booster)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="18"]{border-color:#ec0039;color:#ec0039}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="18"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="18"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-booster)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="19"]{border-color:#e95a06;color:#e95a06}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="19"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="19"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ticket)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="20"]{border-color:#e95a06;color:#e95a06}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="20"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="20"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ticket)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="21"]{border-color:#e95a06;color:#e95a06}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="21"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="21"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-ticket)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="22"]{border-color:#ffb244;color:#ffb244}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="22"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-hc)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="22"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gift)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="23"]{border-color:#ffb244;color:#ffb244}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="23"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-ch)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="23"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gift)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="24"]{border-color:#ffb244;color:#ffb244}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="24"]>.pop_thumb_space:before{background-image:var(--compact-pop-class-icon-kh)}#pop .pop_list .pop_list_scrolling_area .pop_thumb[pop_id="24"]>.pop_thumb_space:after{background-image:var(--compact-pop-reward-icon-gift)}[rel=pop_thumb_info]{position:relative;top:-44px}.pop_thumb>.pop_thumb_space:before{content:" ";display:block;position:relative;height:24px;width:24px;background-size:contain;background-position:center;background-repeat:no-repeat;top:0px;left:0px;margin-bottom:-24px;background-color:#290f16;border:2px solid #290f16}.pop_thumb>.pop_thumb_space:after{content:" ";display:block;position:relative;height:24px;width:24px;background-size:contain;background-position:center;background-repeat:no-repeat;top:0px;left:24px;margin-bottom:-24px;background-color:#290f16;border:2px solid #290f16;border-bottom-right-radius:5px}',""]);const n=t},6895:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#hero_resources_popup .hero-resources-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;grid-gap:.5rem 3rem}#hero_resources_popup .hero-resources-container .hero-energies-container,#hero_resources_popup .hero-resources-container .hero-gems-container,#hero_resources_popup .hero-resources-container .hero-orbs-container{grid-column-start:1;grid-column-end:9}#hero_resources_popup .hero-resources-container .hero-currencies-container{grid-column-start:1;grid-column-end:6}#hero_resources_popup .hero-resources-container .hero-progressions-container{grid-column-start:6;grid-column-end:9;grid-row-start:2;grid-row-end:2}#hero_resources_popup .hero-resources-container .hero-currencies-container>div .hero-currency,#hero_resources_popup .hero-resources-container .hero-gems-container>div .hero-gem,#hero_resources_popup .hero-resources-container .hero-orbs-container>div .hero-orb,#hero_resources_popup .hero-resources-container .hero-progressions-container>div .hero-progression{height:2.5rem;width:6rem;padding:0}#hero_resources_popup .hero-resources-container .hero-energies-container>div.hero-energies .hero-energy{margin-bottom:.5rem}#hero_resources_popup .hero-resources-container .hero-currencies-container>div,#hero_resources_popup .hero-resources-container .hero-gems-container>div,#hero_resources_popup .hero-resources-container .hero-orbs-container>div,#hero_resources_popup .hero-resources-container .hero-progressions-container>div{justify-content:space-between}#hero_resources_popup .hero-resources-container #hero_resources_popup .hero-resources-container .hero-energies-container>div.hero-energies{padding-top:.5rem}",""]);const n=t},4721:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#popups #objective_popup,#sliding-popups #objective_popup{left:unset}#popups #objective_popup .noti_box,#sliding-popups #objective_popup .noti_box{left:0px;right:unset;border-radius:0 .5rem .5rem 0;padding:.25rem .5rem .25rem 1rem}#popups #objective_popup .noti_box:before,#sliding-popups #objective_popup .noti_box:before{background:transparent linear-gradient(90deg, rgba(255, 162, 62, 0) 0, #ffa23e 100%) 0 0 no-repeat padding-box;border-radius:0 .5rem .5rem 0}#popups #objective_popup .noti_box:after,#sliding-popups #objective_popup .noti_box:after{border-radius:0 .25rem .25rem 0;background:transparent linear-gradient(90deg, #200307 0, #410009 100%) 0 0 no-repeat padding-box}",""]);const n=t},1058:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#contests>div>div.right_part>.ranking table tbody tr td:nth-child(2){width:230px}#contests>div>div.right_part>.ranking table tbody tr td:nth-child(3){width:125px}",""]);const n=t},673:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".scriptRewardsDisplay .reward_wrap{display:grid;grid-auto-flow:row;grid-template-columns:repeat(auto-fill, minmax(42px, 1fr));gap:4px 0px}.contest .expiration{position:absolute;top:10px;padding-left:10px}.expiration-soon{animation-name:pulsing-contest;animation-duration:2s;animation-iteration-count:infinite}@keyframes pulsing-contest{0%{opacity:1}50%{opacity:.6}100%{opacity:1}}",""]);const n=t},3473:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#dp-content .left-container .tiers-container .player-progression-container .tiers-progression .tier-container{margin-left:.5rem;margin-right:0rem;width:4rem}",""]);const n=t},8637:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#daily_goals .daily-goals-row .daily-goals-left-part{width:62.5rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;font-size:.75rem;margin-top:0;height:78%}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective{width:auto;margin-bottom:0;margin-left:0}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-status{flex:1;margin-left:.9rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-status .objective-progress-bar{width:100%;height:1.1rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-status .objective-progress-bar>p{font-size:.6rem;width:100%;left:0;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-action{width:2.5rem}[lang=fr] #daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-action{width:5.5rem}[lang^=es] #daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-action{width:4rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-action p{display:none}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-action .blue_button_L{padding:.3rem .75rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-reward{width:3.5rem;height:2.2rem;flex-direction:row}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-reward>p{text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000;margin-top:0;font-size:.95rem}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .daily-goals-objective .daily-goals-objective-reward .daily_goals_potion_icn{width:28px;height:28px;background-size:contain}#daily_goals .daily-goals-row .daily-goals-left-part .daily-goals-objectives-container .nicescroll-rails{left:984px !important}#daily_goals .daily-goals-row .daily-goals-left-part .progress-section{margin-bottom:1.4rem}#daily_goals .daily-goals-row .daily-goals-left-part .progress-section .progress-bar-rewards-container{width:28.8rem;left:8.1rem}#daily_goals .daily-goals-row .daily-goals-left-part .progress-section .progress-bar-rewards-container .progress-bar-reward{margin-top:-1rem}#daily_goals .daily-goals-row .daily-goals-left-part .top-section .check-pog{position:absolute;right:3.2rem;top:.1rem}#daily_goals .daily-goals-row .daily-goals-right-part{width:23rem;height:11rem;position:absolute;right:0;overflow:hidden;pointer-events:none}#daily_goals .daily-goals-row .daily-goals-right-part>img{position:absolute;top:.5rem;right:12rem;height:24.5rem;width:auto}#daily_goals .daily-goals-row .daily-goals-right-part .timer-girl-container{position:absolute;top:.5rem;right:12rem;width:10rem}#daily_goals .daily-goals-row .daily-goals-right-part .timer-girl-container>img{height:24.5rem;width:auto}#daily_goals .daily-goals-row .daily-goals-right-part .side-girl-hider{display:none}#daily_goals .daily-goals-row .daily-goals-right-part .daily-goals-timer{position:absolute;top:5rem;right:1rem}[lang=fr] #daily_goals .daily-goals-row .daily-goals-right-part .daily-goals-timer{padding:0 .8rem}",""]);const n=t},4968:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".event-widget .timer.ongoing.script-ending-soon [rel=count],.seasonal-event .timer.ongoing.script-ending-soon [rel=count]{color:#ff2f2f;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}.season-button.script-ending-soon,.pov-button [rel].script-ending-soon{animation-name:pulsing-seasons-and-path;animation-duration:4s;animation-iteration-count:infinite}@keyframes pulsing-seasons-and-path{0%{opacity:1}50%{opacity:.8}100%{opacity:1}}",""]);const n=t},5589:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#events .nc-event-list-reward.already-owned{border-color:#75b400}",""]);const n=t},535:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".event-widget .widget .rewards-block-tape .girl_reward[reward_was_won]:after,.event-widget .widget .rewards-block-tape .set_items_box[reward_was_won]:after{background-image:var(--girl-tick-icon)}#events .nc-event-list-reward.already-owned:after{width:26px}",""]);const n=t},6628:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#shops .shop-container .content-container #books-tab-container .right-container #player-inventory-container .market-girl-container,#shops .shop-container .content-container #boosters-tab-container .right-container #player-inventory-container .market-girl-container,#shops .shop-container .content-container #equipement-tab-container .right-container #player-inventory-container .market-girl-container,#shops .shop-container .content-container #gifts-tab-container .right-container #player-inventory-container .market-girl-container{margin-top:-3.5rem;position:absolute;right:5.5rem;overflow:hidden;height:9rem}#shops .shop-container .content-container #books-tab-container .right-container .my-inventory-container .player-inventory-content,#shops .shop-container .content-container #boosters-tab-container .right-container .my-inventory-container .player-inventory-content,#shops .shop-container .content-container #equipement-tab-container .right-container .my-inventory-container .player-inventory-content,#shops .shop-container .content-container #gifts-tab-container .right-container .my-inventory-container .player-inventory-content{width:26.6rem}#shops .shop-container .content-container #books-tab-container .right-container .my-inventory-container .player-inventory-content .nicescroll-rails,#shops .shop-container .content-container #boosters-tab-container .right-container .my-inventory-container .player-inventory-content .nicescroll-rails,#shops .shop-container .content-container #equipement-tab-container .right-container .my-inventory-container .player-inventory-content .nicescroll-rails,#shops .shop-container .content-container #gifts-tab-container .right-container .my-inventory-container .player-inventory-content .nicescroll-rails{right:18px}#shops .shop-container .content-container #books-tab-container .right-container .bottom-container,#shops .shop-container .content-container #boosters-tab-container .right-container .bottom-container,#shops .shop-container .content-container #equipement-tab-container .right-container .bottom-container,#shops .shop-container .content-container #gifts-tab-container .right-container .bottom-container{width:26.6rem}#shops .shop-container .content-container #my-hero-tab-container .my-hero-switch-content #my-hero-equipement-tab-container .my-inventory-equipement-container .my-inventory .my-inventory-container .armor .nicescroll-rails,#shops .shop-container .content-container #my-hero-tab-container .my-hero-switch-content #my-hero-equipement-tab-container .my-inventory-equipement-container .my-inventory .my-inventory-container .booster .nicescroll-rails,#shops .shop-container .content-container #my-hero-tab-container .my-hero-switch-content #my-hero-boosters-tab-container .my-inventory-equipement-container .my-inventory .my-inventory-container .armor .nicescroll-rails,#shops .shop-container .content-container #my-hero-tab-container .my-hero-switch-content #my-hero-boosters-tab-container .my-inventory-equipement-container .my-inventory .my-inventory-container .booster .nicescroll-rails{right:26rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .my-inventory-equipement-container .my-inventory,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .my-inventory-equipement-container .my-inventory{width:24.5rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .my-inventory-equipement-container .my-inventory .my-inventory-container,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .my-inventory-equipement-container .my-inventory .my-inventory-container{width:24rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .my-inventory-equipement-container .my-inventory .my-inventory-container .armor,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .my-inventory-equipement-container .my-inventory .my-inventory-container .booster,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .my-inventory-equipement-container .my-inventory .my-inventory-container .armor,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .my-inventory-equipement-container .my-inventory .my-inventory-container .booster{width:24rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items{width:16rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .armor-container,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .booster-container,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .armor-container,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .booster-container{width:15rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .armor-container .armor,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .booster-container .armor,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .armor-container .armor,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .booster-container .armor{display:grid;grid-template-rows:1fr 1fr 1fr;grid-auto-flow:column;z-index:14;position:absolute;top:0;bottom:0;left:0;right:0}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .armor-container .armor .slot-container,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .booster-container .armor .slot-container,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .armor-container .armor .slot-container,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .booster-container .armor .slot-container{position:auto !important;margin:auto}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .armor-container .booster,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .booster-container .booster,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .armor-container .booster,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .booster-container .booster{width:13rem !important}#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .armor-container .hero-img>.character,#shops .shop-container .content-container #my-hero-tab-container .tab-armor .equiped-items .booster-container .hero-img>.character,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .armor-container .hero-img>.character,#shops .shop-container .content-container #my-hero-tab-container .tab-booster .equiped-items .booster-container .hero-img>.character{right:2.5rem !important}.my-inventory-container .inventoryInfo{right:18px !important}",""]);const n=t},7217:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.script-fight-a-villain-menu-overlay{display:none;background-color:#0808087a;position:absolute;top:0;left:0;width:100%;height:100%;z-index:9}.script-fight-a-villain-menu-overlay.shown{display:block}.script-fight-a-villain-menu-container{display:none;align-items:center;justify-content:center;color:#fff;width:1040px;height:585px;z-index:10;font-size:16px;pointer-events:none}.script-fight-a-villain-menu-container.shown{display:flex}.script-fight-a-villain-menu-container .script-fight-a-villain-menu{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-auto-flow:row;grid-gap:.3em;padding:.5em;border-radius:5px;border-width:5px;border-style:solid;border-color:#cccccc42;background-color:#080808f5;pointer-events:all}.script-fight-a-villain-menu-container .script-fight-a-villain-menu.width-1{grid-template-columns:1fr}.script-fight-a-villain-menu-container .script-fight-a-villain-menu.width-2{grid-template-columns:1fr 1fr}.script-fight-a-villain-menu-container .script-fight-a-villain-menu.width-3{grid-template-columns:1fr 1fr 1fr}.script-fight-a-villain-menu-container .script-fight-a-villain-menu.width-4{grid-template-columns:1fr 1fr 1fr 1fr}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain{text-decoration:none;color:unset;background-color:#cccccc5a;display:block;padding:.2em;border-radius:.3em}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain:hover{background-color:#cccccc72}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.all-obtained{background-color:#cccccc32}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.all-obtained:hover{background-color:#cccccc72}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.common{background-color:#8d8e9fad}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.common:hover{background-color:#b4b5c9ad}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.rare{background-color:#23b56b70}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.rare:hover{background-color:#2bdf8470}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.epic{background-color:#ffb24470}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.epic:hover{background-color:#ffc97b70}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.legendary{background-color:#9150bf8a}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.eventTroll.legendary:hover{background-color:#9150bfd6}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.mythicEventTroll{background-color:#ec003970}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain.mythicEventTroll:hover{background-color:#ff003e70}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-top{display:flex;justify-content:space-between}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-icon{width:2.5rem;height:auto}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-name-and-drops{flex:1;padding-left:.5em;padding-right:.5em;display:flex;flex-direction:column}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-name{font-size:.75em}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-drops{display:flex}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-drop{display:block;width:1.3em;height:auto}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-gem-drop-container{width:1.5em;position:relative;display:flex;flex-direction:column;align-items:center}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-gem-drop-amount{position:absolute;bottom:-0.5em;font-size:.9em;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-world img{width:1.5em;height:auto;display:block}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-world:hover{filter:drop-shadow(0px 0px 3px #fff)}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom{display:grid;grid-template-columns:3fr 1fr 1fr 1fr;grid-gap:.2em}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico{position:relative;width:fit-content}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico.obtained{border-color:#75b400}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico.obtained::after{content:" ";position:absolute;background-image:var(--girl-ico-tick);background-size:contain;background-repeat:no-repeat;display:block;width:1em;height:1em;top:0;right:0}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico img{width:2em;height:auto}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico .shard-count{position:absolute;text-align:center;display:block;width:100%;font-size:.7em;bottom:-0.125em;color:#80058b;text-shadow:1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff;font-weight:var(--troll-menu-font-weight)}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-bottom .girl_ico .shard-count .shard{height:1.4em;width:1.2em;display:inline-block;background-size:140%;background-position:center}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-tier{display:flex;flex-direction:column}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-tier-title{font-size:.7em;display:block;width:100%;height:1.3em;border-bottom:1px solid #fff;margin-bottom:.2em}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-tier-girls{display:grid;grid-gap:.2em}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-tier-girls.tier1{grid-template-columns:1fr 1fr 1fr}.script-fight-a-villain-menu-container .script-fight-a-villain-menu .menu-villain-tier-girls.event{grid-template-columns:1fr}#contains_all>header [type=fight] .bar-wrapper{cursor:pointer}',""]);const n=t},8995:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".gemStock{display:block;position:absolute;background-size:contain;height:34px;width:34px;z-index:15;background-image:var(--gem-stock-icon);top:5px;right:-435px}@media(max-width: 1025px){.gemStock{top:32px;right:-650px}}.gemStock-table img{height:25px;width:25px}",""]);const n=t},9893:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#hh_comix #harem_left .girls_list.grid_view div[girl] .right .salary .loading .over.count,#hh_star #harem_left .girls_list.grid_view div[girl] .right .salary .loading .over.count{font-weight:bold}",""]);const n=t},2031:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.harem-info-panel{display:none;background-color:#080808f5;color:#fff;font-family:Tahoma,Arial,sans-serif;font-weight:400;position:absolute;bottom:50px;left:10px;z-index:20;border-radius:5px;border-width:5px;border-style:solid;border-color:#cccccc42;padding:16px;grid-gap:10px;grid-template-columns:auto auto auto}.harem-info-panel .summary-block{display:inline-block;width:274px}.harem-info-panel .summary-block.general-summary{width:310px}.harem-info-panel.visible{display:grid}.harem-info-panel h1{font-size:1.2em}.harem-info-panel-toggle{display:block;position:absolute;height:32px;width:32px;background-size:contain;bottom:15px;left:6px;cursor:pointer}.harem-info-panel-toggle:hover{filter:drop-shadow(0px 0px 1px gold)}.harem-info-panel .to-max-label{margin-top:-6px}.harem-info-panel .summary-grid{display:grid;grid-gap:6px;list-style:none;padding-left:0px;margin-block-end:0px}.harem-info-panel .summary-grid li{display:inline-block;background:#cccccc42;border-radius:5px;padding-right:7px;line-height:20px;margin-left:10px}.harem-info-panel .summary-grid li>span{display:flex;justify-content:space-between;align-items:center;margin-left:-10px}.harem-info-panel .summary-grid .fire_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .nature_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .stone_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .sun_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .water_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .darkness_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .light_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid .psychic_element_icn{display:inline-block;width:20px;height:20px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid [carac]::before{width:20px;height:20px}.harem-info-panel .summary-grid .rarity-icon{display:inline-block;height:20px;width:20px;font-family:"Carter One","Alegreya Sans",Montserrat}.harem-info-panel .summary-grid .rarity-icon.starting{background-color:#ccc}.harem-info-panel .summary-grid .rarity-icon .initial{display:inline-block;width:100%;text-align:center;line-height:20px;position:absolute;top:0px;left:0px;vertical-align:middle;color:#fff;text-shadow:0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000;-moz-transform:rotate(0.05deg)}.harem-info-panel .summary-grid.caracs-summary{grid-template-columns:1fr 1fr 1fr}.harem-info-panel .summary-grid.rarity-summary{grid-auto-flow:column;grid-template-rows:auto auto}.harem-info-panel .summary-grid.elements-summary{grid-template-columns:1fr 1fr 1fr 1fr}.harem-info-panel .summary-grid.level-caps-summary{grid-template-columns:1fr 1fr 1fr 1fr 1fr;font-size:14px}.harem-info-panel .summary-grid.level-caps-summary li{margin-left:0px;padding-left:7px;line-height:18px}.harem-info-panel .summary-grid.level-caps-summary li>span{margin-left:0px;display:inline-block}.harem-info-panel .summary-grid.level-caps-summary .level-cap{font-family:"Carter One","Alegreya Sans",Montserrat;line-height:12px}.harem-info-panel .summary-grid.level-caps-summary .required-girls{font-size:.6em;vertical-align:baseline}.harem-info-panel .summary-grid.level-caps-summary .level-cap-unlocked{color:#00ff06}.harem-info-panel .summary-grid.xp-aff-summary{grid-template-columns:1fr 1fr}.harem-info-panel .summary-grid.xp-aff-summary .xp-aff-label{display:inline-block;height:20px;padding-left:7px;font-family:"Carter One","Alegreya Sans",Montserrat}.harem-info-panel .summary-grid.xp-aff-summary .xp-aff-label.unlocked-scenes-icon{height:40px;width:40px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid.xp-aff-summary li{margin-left:0px}.harem-info-panel .summary-grid.xp-aff-summary li>span{margin-left:0px}.harem-info-panel .summary-grid.xp-aff-summary li>span>span:last-child{text-align:right}.harem-info-panel .summary-grid.salary-summary{grid-template-columns:1fr}.harem-info-panel .summary-grid.salary-summary .salary-label .hudSC_mix_icn{height:40px;width:40px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid.salary-summary li{margin-left:0px}.harem-info-panel .summary-grid.salary-summary li>span{margin-left:0px}.harem-info-panel .summary-grid.upgrade-costs{grid-template-columns:1fr;margin-block-start:.3em;margin-block-end:.5em}.harem-info-panel .summary-grid.upgrade-costs .cost-value{text-align:right}.harem-info-panel .summary-grid.upgrade-costs .cost-value .hudSC_mix_icn,.harem-info-panel .summary-grid.upgrade-costs .cost-value .hudHC_mix_icn{display:inline-block;height:18px;width:18px;background-size:contain}.harem-info-panel .summary-grid.upgrade-costs .affection-label{display:inline-block;height:40px;width:40px;background-size:contain;background-repeat:no-repeat}.harem-info-panel .summary-grid.upgrade-costs li{margin-left:0px}.harem-info-panel .summary-grid.upgrade-costs li>span{margin-left:0px}.harem-info-panel .summary-grid.gems-summary,.harem-info-panel .summary-grid.gems-stock{grid-auto-flow:column;grid-template-rows:repeat(4, 1fr);margin-block-start:0px}.harem-info-panel .summary-grid.gems-summary .gem-icon,.harem-info-panel .summary-grid.gems-stock .gem-icon{display:inline-block;height:20px;width:20px;background-size:contain}.harem-info-panel .summary-grid.gems-stock{margin-block-end:1em}.harem-info-panel .to-max-combi .upgrade-costs{margin-block-end:6px}.harem-info-panel .restock-info,.harem-info-panel .market-warning{color:#aaa;font-size:10px;margin-block-start:.3em}.harem-info-panel .slot{border:none}#harem_left{z-index:1}.harem-info-overlay-bg{display:none;width:100vw;height:100%;position:absolute;top:0px;left:0px;z-index:19}.harem-info-overlay-bg.visible{display:block}#harem_whole .WikiLinkDialogbox a{text-decoration:none;color:#24a0ff !important}#harem_right .WikiLink a{text-decoration:none}#harem_right .WikiLink a:hover h3{text-shadow:0 0 2px #000,0 0 4px #fff}.scene-costs-tooltip [cur]::before{height:18px;width:18px}.scene-costs-tooltip .hudSC_mix_icn,.scene-costs-tooltip .hudHC_mix_icn{display:inline-block;height:18px;width:18px;background-size:contain}#harem_left .buttons_container{justify-content:center;gap:1rem}#harem_left .buttons_container #collect_all_container{min-width:125px;margin:unset}#harem_left .buttons_container #unequip_all_container{min-width:unset;width:80px;margin:unset;line-height:1.25}',""]);const n=t},3668:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#filtering_girls>.form-wrapper .reset-filters-container{justify-content:space-around}.team-selection{position:absolute;left:46px;top:50px;width:400px;height:fit-content;border-radius:8px 10px 10px 8px;background-color:#1e261e;box-shadow:rgba(255,255,255,.73) 0px 0px;padding:5px;border:1px solid #ffa23e;z-index:10;padding-bottom:16px}.teams-grid-container{display:grid;grid-template-columns:auto auto auto auto;grid-row-gap:1rem;padding:.4rem .9rem .4rem .9rem;margin-right:-1rem}.teams-grid-container .team-slot-container>img{border-radius:.4rem}.close-team-selection,.close-filter{position:absolute;display:block;background-size:cover;background-image:var(--cross-icon);height:32px;width:35px;top:-16px;right:-17px;cursor:pointer}[rel=select-team]{width:100%;height:36px;padding-top:5px}.theme-icons{position:absolute;bottom:-10px}.theme-icon{width:26px}",""]);const n=t},1990:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#seasons_main_container button#claim-all{display:none}",""]);const n=t},8636:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-hide-claimed{display:none}#events .nc-panel-body .script-hide-claimed{display:none}#dp-content .left-container .tiers-container .player-progression-container .tiers-progression .script-hide-claimed{display:none}.seasonal-event-panel .seasonal-event-container .tabs-section #home_tab_container .bottom-container .right-part-container .seasonal-tiers-section .seasonal-progress-bar-section .seasonal-progress-bar-tiers .seasonal-tier-container .script-hide-claimed.seasonal-tier{display:none}.rewards_seasons_row .script-hide-claimed.rewards_pair{display:none}.no-transition{transition:none !important}",""]);const n=t},930:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".social_links_games{display:none !important}",""]);const n=t},4527:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"@media(max-width: 1025px){.rotate_device{display:none !important}}",""]);const n=t},6871:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-home-icon{position:absolute;height:54px;opacity:.4;z-index:0;pointer-events:none}.left-side-container>*:nth-child(odd) .script-home-icon{left:0px}.left-side-container>*:nth-child(even) .script-home-icon{right:0px}#homepage .main-container .left-side-container .quest-container>a>.notif-position>span>p,#homepage .main-container .left-side-container>a>.notif-position>span>p{z-index:0;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}.left-side-container .script-timer-container{z-index:0;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000}",""]);const n=t},1279:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-home-timer{color:#999}#homepage>a>.position>span{height:auto;min-height:26px}@media(max-width: 1025px){#homepage>a>.position>span{height:auto;min-height:44px}}@media(max-width: 1025px){#homepage>a[rel=pachinko]>.position>span{width:140px}}@media(min-width: 1026px){#homepage>a[rel=pachinko]>.position>span{width:110px}}@media(max-width: 1025px){#homepage>a[rel=shop]>.position>span{width:130px}}@media(min-width: 1026px){#homepage>a[rel=shop]>.position>span{width:100px}}#homepage>a[rel=clubs]{top:148px;left:151px}@media(max-width: 1025px){#homepage>a[rel=clubs]{top:128px;left:194px;z-index:1}}#homepage>a[rel=clubs]>.position{width:auto;left:44px}@media(max-width: 1025px){#homepage>a[rel=clubs]>.position>span{width:130px}}@media(min-width: 1026px){#homepage>a[rel=clubs]>.position>span{width:100px}}#homepage>a[rel=leaderboard]{height:167px}@media(max-width: 1025px){#homepage>a[rel=sex-god-path] .position{top:84px}}#homepage .main-container .left-side-container .script-home-shortcut-container,#homepage .main-container .left-side-container .script-league-pos{display:flex;flex-direction:row;justify-content:space-evenly;width:5.875rem;padding-left:8px;height:auto;margin-top:auto;margin-bottom:auto;align-items:center}#homepage .main-container .left-side-container .script-home-shortcut-container a,#homepage .main-container .left-side-container .script-league-pos a{z-index:6}#homepage .main-container .left-side-container .script-league-pos .script-league-icon{height:50px;width:50px;background-size:contain;background-position:center;background-repeat:no-repeat}#homepage .main-container .left-side-container .script-league-pos .script-league-rank{text-shadow:1px 1px 1px #000,-1px 1px 1px #000,-1px -1px 1px #000,1px -1px 1px #000;display:flex;justify-content:center;align-items:center;font-size:24px;z-index:1}#homepage .main-container .left-side-container .script-league-pos .script-league-rank-digits-3{font-size:16px}.champions_flat_icn{background-image:var(--champions-icon)}.pantheon_flat_icn{background-image:var(--pantheon-icon)}.script-home-shortcut-container{display:flex;height:30px;margin-top:-38px;margin-bottom:8px;justify-content:center}@media(max-width: 1025px){.script-home-shortcut-container{height:40px;margin-top:-48px}}.script-home-shortcut{width:30px;height:30px;margin-left:3px;margin-right:3px}@media(max-width: 1025px){.script-home-shortcut{width:40px;height:40px;margin-left:4px;margin-right:4px}}.script-home-shortcut .clubChampions_flat_icn,.script-home-shortcut .champions_flat_icn,.script-home-shortcut .pantheon_flat_icn{height:16px;width:16px;background-size:contain;background-repeat:no-repeat;background-position:center}@media(max-width: 1025px){.script-home-shortcut .clubChampions_flat_icn,.script-home-shortcut .champions_flat_icn,.script-home-shortcut .pantheon_flat_icn{height:22px;width:22px}}.script-salary-summary{width:11rem;font-size:12px}.script-salary-summary table{margin-left:auto;margin-right:auto}.script-salary-summary td:first-child{text-align:right}.script-salary-summary td:last-child{text-align:left;width:3.5rem}.script-salary-summary .hudSC_mix_icn{display:inline-block;width:14px;height:14px;background-size:contain}#collect_all{position:relative;z-index:1}#collect_all .script-event-handler-hack{display:none;width:100%;height:100%;position:absolute;top:0;left:0;z-index:2}#collect_all[disabled] .script-event-handler-hack{display:block}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .pov-button>a,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .season-button>a{display:block}.messenger-link .energy_counter{position:absolute;color:#fff;text-shadow:1px 1px 0px #000,-1px 1px 0px #000,-1px -1px 0px #000,1px -1px 0px #000;text-align:center}.messenger-link .energy_counter .energy_counter_amount_container{display:flex;align-items:center}.messenger-link .energy_counter .energy_counter_amount_container .energy_counter_amount{display:flex;align-items:baseline;font-size:12px}.messenger-link .energy_counter .energy_counter_amount_container .energy_counter_amount [energy]{font-size:20px}.messenger-link .energy_counter [rel=count_txt]{font-size:14px;line-height:16px}.messenger-link .energy_counter [rel=count_txt] [rel=count]{display:block}.messenger-link .messenger-reply-timer{display:none}",""]);const n=t},8488:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#homepage .main-container .left-side-container .position-quest{position:absolute;left:412px;top:32px;flex-direction:column-reverse;width:8.125rem;align-items:center}#homepage .main-container .left-side-container .position-quest .continue-quest-container{padding-left:0;padding-bottom:8px}#homepage .main-container .left-side-container .position-leaderboard{position:absolute;width:8.125rem;top:86px;left:253px;flex-direction:column-reverse;width:8.125rem;align-items:center}#homepage .main-container .left-side-container .position-leaderboard.quest-container{top:28px}#homepage .main-container .left-side-container .position-leaderboard .script-league-pos{padding-left:0;padding-bottom:8px;height:50px}#homepage .main-container .left-side-container [rel=activities]{position:absolute;width:8.125rem;top:366px;left:602px}#homepage .main-container .left-side-container [rel=shop]{position:absolute;width:8.125rem;top:257px;left:649px}#homepage .main-container .left-side-container [rel=harem]{position:absolute;width:8.125rem;bottom:81px;right:31px}#homepage .main-container .left-side-container [rel=pachinko]{position:absolute;width:8.125rem;top:67px;left:58px}#homepage .main-container .left-side-container .position-sex-god-path{position:absolute;left:612px;top:56px;flex-direction:column-reverse;width:8.125rem;align-items:center}#homepage .main-container .left-side-container .position-sex-god-path .script-home-shortcut-container{padding-left:0;padding-bottom:8px}#homepage .main-container .left-side-container .position-clubs{position:absolute;left:176px;top:165px;flex-direction:column-reverse;width:8.125rem;align-items:center}#homepage .main-container .left-side-container .position-clubs .script-home-shortcut-container{padding-left:0;padding-bottom:8px}#homepage .main-container .middle-container .waifu-and-right-side-container .waifu-container img{height:600px;width:240px;margin-left:187px;margin-top:125px}#homepage .main-container .middle-container .waifu-and-right-side-container .waifu-container canvas.animated-girl-display{left:4rem;-webkit-transform:translate3d(0, 0, 0) scale(0.6);transform:translate3d(0, 0, 0) scale(0.6)}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .season-button{position:absolute;left:38px;top:279px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .season-button>a>.button-notification-icon{right:-6px;left:auto}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .season-button .seasons_button{width:288px !important}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons{position:absolute;left:38px;top:339px;display:flex;flex-direction:row}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-glory]>.notif-position .pov-widget,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-valor]>.notif-position .pov-widget{width:140px !important}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-glory]>.notif-position .pov-widget .h_container .pov-title,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-valor]>.notif-position .pov-widget .h_container .pov-title{text-align:left;font-size:14px}[lang^=de] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-glory]>.notif-position .pov-widget .h_container .pov-title,[lang^=de] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-valor]>.notif-position .pov-widget .h_container .pov-title{font-size:12px;white-space:break-spaces;line-height:10px;margin-bottom:-2px}[lang^=es] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-glory]>.notif-position .pov-widget .h_container .pov-title,[lang^=it] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-glory]>.notif-position .pov-widget .h_container .pov-title,[lang^=es] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-valor]>.notif-position .pov-widget .h_container .pov-title,[lang^=it] #homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a[rel=path-of-valor]>.notif-position .pov-widget .h_container .pov-title{font-size:12px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .potions-paths-buttons .pov-button>a>.button-notification-icon{right:-6px;left:auto}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .collect-button{position:absolute;right:0px;bottom:0px;width:11rem;height:4rem}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .collect-button #collect_all_container #collect_all{height:4rem}@media(max-width: 1025px){#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .collect-button{right:15px}}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .seasonal-event{position:absolute;right:0;top:237px;width:13rem}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles{background-color:transparent;border:none;display:inline;height:auto;box-shadow:none}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container{position:absolute;left:0;right:auto !important}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container .chest-img-container .chest_icn{width:100px;height:90px;background-size:90px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container .timer-container{margin-top:-40px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .event-widget{position:absolute;right:0;top:32px}@media(max-width: 1025px){#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .event-widget{top:86px}}#homepage .main-container .middle-container .bottom-container{justify-content:flex-start;position:absolute;bottom:-12px;left:90px;width:39rem}#homepage .main-container .middle-container .bottom-container .box-container .waifu-buttons-container{position:absolute;bottom:0px;right:40px !important}#homepage .social_links{margin-top:-24px}@media(max-width: 1025px){#homepage .social_links{margin-left:15px;margin-top:0}}#bg_all.blur-effect{filter:none !important}",""]);const n=t},3750:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"",""]);const n=t},4422:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#homepage .main-container .middle-container .bottom-container .box-container .info-container{margin-right:86px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container{flex-direction:row-reverse}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles{background-color:transparent;border:none;display:inline;height:auto;box-shadow:none}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container{position:absolute;bottom:-20px;right:-8px}@media(max-width: 1025px){#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container{right:-14px}}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container .chest-img-container .chest_icn{width:100px;height:90px;background-size:90px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .event-widget-container .bundles .chest-container .timer-container{margin-top:-40px}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .collect-button{height:4rem}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .collect-button #collect_all_container #collect_all{height:4rem}#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .pov-button,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .season-button,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .collect-button,#homepage .main-container .middle-container .waifu-and-right-side-container .right-side-container .event-container .season-pov-container .seasonal-event{margin-right:0;margin-left:8px}#homepage .social_links{margin-left:550px}@media(min-width: 1026px){#homepage .social_links{margin-top:-12px}}@media(max-width: 1025px){#homepage .social_links{margin-left:570px}}",""]);const n=t},3774:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#homepage .hide{display:none !important}#homepage .info-container{z-index:1}#homepage .info-container #blog_button{display:none}#homepage .info-container .promo_discount{display:none}#homepage .waifu-container{z-index:1;margin-top:0px;left:15px}#homepage .waifu-buttons-container{z-index:2;width:70px}#homepage .waifu-buttons-container .diamond-bar{right:90px;width:240px;display:flex;justify-content:center}#homepage .waifu-buttons-container .girls-name{position:absolute;bottom:26px;line-height:18px;text-align:center;text-shadow:2px 2px 5px #000}#homepage .waifu-buttons-container .girls-name a{color:#fff;text-decoration:none}#homepage .waifu-buttons-container .girls-name img{width:16px;height:16px;margin-left:5px;margin-bottom:2px;filter:drop-shadow(2px 2px 3px black)}#homepage .waifu-buttons-container .round_blue_button{width:32px;height:32px}#homepage .waifu-buttons-container .round_blue_button img{width:20px;height:20px}#homepage .waifu-buttons-container .round_blue_button.save-pose img{height:15px}#homepage .waifu-buttons-container .waifu-edit{position:absolute;bottom:36px;display:grid;gap:5px}#homepage .waifu-buttons-container .waifu-right{position:absolute;left:38px;bottom:0px;display:grid;grid-template-columns:1fr 1fr;grid-gap:5px}#waifu-page .fav-girl img{width:20px;height:20px}",""]);const n=t},2891:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-flair.script-clubmate .globalClubs_mix_icn{margin:0;margin-left:5px;height:21px;width:21px;background-size:contain}",""]);const n=t},5613:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-season-leaderboard-fix{position:fixed;bottom:30px;width:904px}.pantheon-container #leaderboard_tab_container .leaderboard_list .player-row.script-pantheon-leaderboard-fix{position:static;bottom:auto;width:100%}",""]);const n=t},5160:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-flair{display:inline-flex;height:100%;flex-direction:column;justify-content:center}.script-flair .tier-icon{display:inline-block;margin-left:5px;height:21px}",""]);const n=t},5580:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".leagues_team_block .change_team_container{margin-top:0}.leagues_team_block .challenge_points .bar-wrap{margin-bottom:0px}#leagues_left .multiple-battles{margin-top:6px}#leagues_left .refill-challenge-points{margin-top:12px}",""]);const n=t},1072:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'@media(min-width: 1026px){#leagues_middle{margin-top:1rem !important}}@media(max-width: 1025px){#leagues_middle{margin-top:2rem !important}}#leagues_middle .league_end_in{position:relative;top:20px}@media(max-width: 1025px){#leagues_middle .league_end_in{left:70px}}.leagues_middle_header_script{display:flow-root;margin-top:4px}.scriptLeagueInfo{display:block;float:right;margin-right:9px;line-height:16px}@media(min-width: 1026px){.scriptLeagueInfo{font-size:13px}}@media(max-width: 1025px){.scriptLeagueInfo{position:absolute;right:300px;top:20px;font-size:14px}}.scriptLeagueInfoIcon{display:inline-block;height:16px;width:16px;font-size:10px;border-radius:5px;margin-left:6px;margin-right:2px;text-shadow:0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000;-moz-transform:rotate(0.05deg)}.scriptLeagueInfoIcon:after{display:block;width:100%;text-align:center}.scriptLeagueInfoIcon.top4{background:var(--legendary-bg);background-size:cover}.scriptLeagueInfoIcon.top4:after{content:"4"}.scriptLeagueInfoIcon.top15{background-color:#ffb244}.scriptLeagueInfoIcon.top15:after{content:"15"}.scriptLeagueInfoIcon.top30{background-color:#23b56b}.scriptLeagueInfoIcon.top30:after{content:"30"}.hh_tooltip_new em{color:#fff}#beaten_opponents{position:absolute;padding-left:5px;padding-right:5px;background:none;border:none;cursor:pointer}@media(min-width: 1026px){#beaten_opponents{height:28px;top:2px;left:200px}}@media(max-width: 1025px){#beaten_opponents{height:32px;z-index:1;right:540px;top:40px}}#hide_beaten{position:relative}#hide_beaten img{width:auto}@media(min-width: 1026px){#hide_beaten img{height:20px}}@media(max-width: 1025px){#hide_beaten img{height:26px}}#leagues_middle>.leagues_table.lead_table>.lead_table_view table .square-avatar-wrapper .classLeague{position:absolute;display:flex;left:-38px;top:6px;width:100%;justify-content:flex-end}@media(max-width: 1025px){#leagues_middle>.leagues_table.lead_table>.lead_table_view table .square-avatar-wrapper .classLeague{left:-66px;top:17px}}#leagues_middle>.leagues_table.lead_table>.lead_table_view table .square-avatar-wrapper .classLeague img.theme-icon{flex:0 1 0%;height:17px;width:17px;border:none;position:initial}@media(max-width: 1025px){#leagues_middle>.leagues_table.lead_table>.lead_table_view table .square-avatar-wrapper .classLeague img.theme-icon{height:25px;width:25px}}#leagueStats table,#oldLeagueStats table{margin-left:auto;margin-right:auto}#leagueStats table tr td:first-child,#oldLeagueStats table tr td:first-child{text-align:right}#leagueStats table tr td:last-child,#oldLeagueStats table tr td:last-child{text-align:left}.individualDisplaySwitch{position:absolute}.individualDisplaySwitch input{display:none}.individualDisplaySwitch input+span{color:#d08467;padding:5px;cursor:pointer}.individualDisplaySwitch input:checked+span,.individualDisplaySwitch input:hover+span{color:#fff}@media(min-width: 1026px){.individualDisplaySwitch{top:10px;left:260px;font-size:13px}}@media(max-width: 1025px){.individualDisplaySwitch{top:44px;left:335px;font-size:16px}}',""]);const n=t},1893:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"@media(min-width: 1026px){.lead_table table .square-avatar-wrapper{height:21px;width:21px}.lead_table table .square-avatar-wrapper img{height:15px;width:15px}.lead_table table .square-avatar-wrapper div.classLeague{left:-22px !important;top:2px !important}.lead_table table .square-avatar-wrapper div.classLeague img.theme-icon{height:15px !important;width:15px !important}.lead_table table .square-avatar-wrapper img.classLeague{height:15px !important;width:15px !important;top:-4px;left:-22px !important}.lead_table table .country{transform:scale(0.5);margin:0px !important}.lead_table table tbody tr{height:21px !important;line-height:21px !important}.lead_table table tbody tr>td{font-size:13px}.lead_table table tbody tr>td .nickname{width:242px}.lead_table table tbody tr>td:first-child .promotion{margin-right:26px;height:16px}#leagues_middle .lead_table table tbody tr td:nth-child(4),#leagues_middle .lead_table table thead th:nth-child(4),#leagues_middle .use-lead-table table tbody tr td:nth-child(4),#leagues_middle .use-lead-table table thead th:nth-child(4){width:75px}}",""]);const n=t},3418:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".lead_table table tbody tr:nth-of-type(even){background-color:var(--table-row-color)}",""]);const n=t},1636:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#leagues_middle .lead_table .lead_table_view::after,#leagues_middle .lead_table .lead_table_view::before{display:none}",""]);const n=t},5759:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'label.equip_filter{background:transparent;position:absolute;width:32px}#my-hero-equipement-tab-container label.equip_filter{top:6rem}#equipement-tab-container .right-container label.equip_filter{top:62px}label.equip_filter input{height:32px;width:32px;display:block;padding:0px}label.equip_filter::before{content:" ";display:block;position:absolute;height:100%;width:100%;background-position:center;background-size:24px;background-repeat:no-repeat;background-image:var(--filter-icon);pointer-events:none}.equip_filter_box{position:absolute;width:5rem;height:-moz-fit-content;height:fit-content;z-index:3;border-radius:8px 10px 10px 8px;background-color:#1e261e;box-shadow:rgba(255,255,255,.73) 0px 0px;padding:5px;border:1px solid #ffa23e;text-align:center}.equip_filter_box hr{margin-block:.25rem;border:1px solid #ffa23e}.equip_filter_box.resonance{width:6.5rem}#my-hero-equipement-tab-container .equip_filter_box{top:4rem;left:8rem}#my-hero-equipement-tab-container .equip_filter_box.resonance{top:7rem;left:1rem}#equipement-tab-container .right-container .equip_filter_box{top:3rem;left:31.25rem}#equipement-tab-container .right-container .equip_filter_box.resonance{top:6rem;left:24.25rem}.equip_filter_box label{background:transparent;width:auto;height:100%;margin:0px;border-radius:5px;display:block}.equip_filter_box .grid-selector input:checked+label,.equip_filter_box .grid-selector input:hover+label{background-color:#fff8}.grid-selector{width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:4px;flex-direction:column}.grid-selector:last-child{margin-bottom:0px}.grid-selector input{display:none}.grid-selector .selector-options{width:-moz-fit-content;width:fit-content;display:grid;grid-gap:2px}.grid-selector .selector-options img{height:24px;width:24px;margin:2px}.grid-selector .selector-options div{height:24px;width:24px;margin:4px;border-radius:5px}.grid-selector .clear-selector{width:-moz-fit-content;width:fit-content;margin-right:5px}.grid-selector .clear-selector img{height:24px;width:24px}.slot .favourite-toggle{position:absolute;display:none;height:32px;width:32px;top:0px;right:0px;background-size:22px;background-repeat:no-repeat;background-position:center;z-index:1;border-top-right-radius:5px;border-bottom-left-radius:5px}.slot:hover[data-is-favourite=false] .favourite-toggle,.slot[data-is-favourite=true] .favourite-toggle{display:block}.slot[data-is-favourite=false] .favourite-toggle{background-image:var(--star-icon-white);opacity:.7}.slot[data-is-favourite=true] .favourite-toggle{background-color:rgba(30,38,30,.7);background-image:var(--star-icon-orange)}',""]);const n=t},3849:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.marketInfoIcon{height:18px;width:18px;border-radius:50%;cursor:help;background:var(--info-icon) center/65% 65% no-repeat,linear-gradient(180deg, #0af 0, #068 50%, #057 51%, #0af 100%)}#shops #equiped div.sub_block .hero_stats>[hero=carac1]{position:relative}#shops #equiped div.sub_block .hero_stats>[hero=carac1] .statInfo{position:absolute;left:-19px;top:6px}#shops #equiped div.sub_block .hero_stats>[hero=carac1] .statInfo:hover+.statToolTip{display:block}#shops #equiped div.sub_block .hero_stats>[hero=carac2]{position:relative}#shops #equiped div.sub_block .hero_stats>[hero=carac2] .statInfo{position:absolute;left:-19px;top:6px}#shops #equiped div.sub_block .hero_stats>[hero=carac2] .statInfo:hover+.statToolTip{display:block}#shops #equiped div.sub_block .hero_stats>[hero=carac3]{position:relative}#shops #equiped div.sub_block .hero_stats>[hero=carac3] .statInfo{position:absolute;left:-19px;top:6px}#shops #equiped div.sub_block .hero_stats>[hero=carac3] .statInfo:hover+.statToolTip{display:block}.inventoryInfo{position:absolute;top:0px;right:0px}.my-inventory-container .inventoryInfo{top:74px;right:132px}#shops #equiped div.sub_block .hero_stats>div>.statToolTip,.inventoryToolTip{display:none;position:absolute;z-index:99;border:1px solid #a2c3d7;border-radius:8px;box-shadow:0px 0px 4px 0px rgba(0,0,0,.1);padding:3px 7px 4px 7px;background-color:#f2f2f2;font-size:11px;line-height:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;color:#057;font-weight:normal}.statToolTip{width:240px}.statToolTipTable{width:100%}.statToolTipTable tr td:last-child{text-align:right}.statToolTipTable tr td:first-child{font-weight:bold;text-align:left}.inventoryToolTip,.itemToolTipContent{right:0px;bottom:220px;text-align:right}.inventoryInfo:hover+.inventoryToolTip,.inventoryInfo:hover+.itemToolTipContent{display:block}.inventoryToolTip b,.itemToolTipContent b{font-weight:bold}.inventoryToolTip .hudSC_mix_icn,.itemToolTipContent .hudSC_mix_icn{display:inline-block;height:17px;width:11px;background-size:11px}',""]);const n=t},1110:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".page-messenger{background:#4e4e4e}.page-messenger .left-side-background{background-image:linear-gradient(to right, #686868 0, #4e4e4e 100%)}.page-messenger #messenger .sidebar{background-image:none}.page-messenger #messenger .sidebar .sidebar-search-container input{background-color:#4e4e4e}.page-messenger #messenger .sidebar .girl-conversations-container .girl-conversation .selected-background{background-color:#272727}.page-messenger #messenger .sidebar .girl-conversations-container .girl-conversation .girl-name{color:#b4b4b4}.page-messenger #messenger .sidebar .girl-conversations-container .girl-conversation .conversation-progress-bar{background-color:#4e4e4e}.page-messenger #messenger .inbox{background:#272727}.page-messenger #messenger .inbox .inbox-header .inbox-tabs .album-tab,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .messages-tab{background-color:#272727}.page-messenger #messenger .inbox .inbox-header .inbox-tabs .album-tab h4,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .album-tab>div>h4,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .messages-tab h4,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .messages-tab>div>h4{color:#b4b4b4}.page-messenger #messenger .inbox .inbox-header .inbox-tabs .album-tab h4.tab-title,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .album-tab>div>h4.tab-title,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .messages-tab h4.tab-title,.page-messenger #messenger .inbox .inbox-header .inbox-tabs .messages-tab>div>h4.tab-title{color:#b4b4b4}.page-messenger #messenger .inbox .inbox-header .top-right-section .frame-currency-section,.page-messenger #messenger .inbox .inbox-header .top-right-section .reply-currency-section,.page-messenger #messenger .inbox .inbox-header .top-right-section .more-info-button,.page-messenger #messenger .inbox .inbox-header .top-right-section .close-button{background-color:#4e4e4e}.page-messenger #messenger .inbox .inbox-body#messenger-messages .chat-title h4{background-color:#272727}.page-messenger #messenger .inbox .inbox-body#messenger-messages .message-container.player-choice{background-image:linear-gradient(to top, #272727 0, #272727 10%, #f13a94 80%, #f13a94 100%)}.page-messenger #messenger .inbox .inbox-body#messenger-album>h4{color:#b4b4b4}",""]);const n=t},2433:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#missions .missions_wrap .mission_object.mission_entry.common{background:#ffffff20}#missions .missions_wrap .mission_object.mission_entry.rare{background:#32bc4f30}#missions .missions_wrap .mission_object.mission_entry.epic{background:#ffb24440}#missions .missions_wrap .mission_object.mission_entry.legendary{background:#6ebeff40}",""]);const n=t},6255:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"@media(max-width: 1025px){#new_battle .new-battle-container{margin-top:12px}}",""]);const n=t},2738:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"@media(max-width: 1025px){#tower_of_fame{background:#222}}",""]);const n=t},8348:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".collect_img{display:none !important}",""]);const n=t},44:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#popups #no_HC .monthly_card .product-info{line-height:19px}#popups #no_HC .monthly_card .product-info .hard_currency_icn{max-width:5%}#popups #no_HC .monthly_card .product-info .energy_kiss_icn,#popups #no_HC .monthly_card .product-info .energy_quest_icn,#popups #no_HC .monthly_card .product-info .energy_fight_icn,#popups #no_HC .monthly_card .product-info .energy_challenge_icn,#popups #no_HC .monthly_card .product-info .energy_worship_icn{max-width:6%;height:19px}#popups #no_HC .monthly_card .product-info .g_a_icn{max-width:6%;height:19px}#popups #no_HC .monthly_card .product-normal-price{bottom:78px}",""]);const n=t},4136:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#new_battle #new-battle-skip-btn{position:relative;top:388px;z-index:20}",""]);const n=t},590:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".green_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;-moz-box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;border:1px solid #000;background-image:linear-gradient(to top, #619f00 0, #570 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out}.green_text_button[disabled]{-webkit-box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #b6a6ab !important;-moz-box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #b6a6ab !important;box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #b6a6ab !important;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#fff;border:1px solid #000 !important;background-color:#960530 !important;background-image:linear-gradient(to top, #9f9296 0, #847c85 100%) !important}.purple_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #ffb8ff;-moz-box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #ffb8ff;box-shadow:0 3px 0 #012a4a,inset 0 3px 0 #ffb8ff;border:1px solid #000;background-image:linear-gradient(to bottom, #ff5fff 0, #c91be0 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out;font-size:12px;text-transform:uppercase;box-shadow:0 3px #150017;border:1px solid #30001f}",""]);const n=t},533:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".blue_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #6df0ff;-moz-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #6df0ff;box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #6df0ff;border:1px solid #000;background-image:linear-gradient(to top, var(--button-colors-blue-start) 0, var(--button-colors-blue-end) 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out}.blue_text_button[disabled],.orange_text_button[disabled]{-webkit-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;-moz-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#fff;border:1px solid #000 !important;background-color:#960530 !important;background-image:linear-gradient(to top, #9f9296 0, #847c85 100%) !important}.orange_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #ffde00,0 0 20px rgba(255,142,0,.45);-moz-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #ffde00,0 0 20px rgba(255,142,0,.45);box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #ffde00,0 0 20px rgba(255,142,0,.45);border:1px solid #000;background-image:linear-gradient(to top, var(--button-colors-orange-start) 0, var(--button-colors-orange-end) 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out}.green_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;-moz-box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;box-shadow:0 3px 0 rgba(23,33,7,.6),inset 0 3px 0 #95ed3f;border:1px solid #000;background-image:linear-gradient(to top, #619f00 0, #570 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out}.green_text_button[disabled]{-webkit-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;-moz-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 #b6a6ab !important;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#fff;border:1px solid #000 !important;background-color:#960530 !important;background-image:linear-gradient(to top, #9f9296 0, #847c85 100%) !important}.purple_text_button{padding:10px 20px;color:#fff;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 var(--button-colors-purple-shadow);-moz-box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 var(--button-colors-purple-shadow);box-shadow:0 3px 0 rgba(13,22,25,.6),inset 0 3px 0 var(--button-colors-purple-shadow);border:1px solid #000;background-image:linear-gradient(to top, var(--button-colors-purple-start) 0, var(--button-colors-purple-end) 100%);cursor:pointer;text-decoration:none;display:inline-block;-webkit-transition:box-shadow 90ms ease-in-out;-moz-transition:box-shadow 90ms ease-in-out;-o-transition:box-shadow 90ms ease-in-out;transition:box-shadow 90ms ease-in-out}",""]);const n=t},6774:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"a.availableGirl{text-decoration:none}a.availableGirl:hover{color:#fff}.availableGirls{font-size:12px;line-height:16px;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,-1px -1px 0 #000,1px -1px 0 #000;overflow:hidden;height:82px;padding-left:20px;padding-right:20px}.availableGirls .nicescroll-rails{top:0 !important}.availableGirls .availableOnly{margin-block-end:10px}#playzone-replace-info .cover{height:226px}#playzone-replace-info .cover .pachinko_img{height:153px}#playzone-replace-info .cover .pachinko_img img{left:96px;margin-left:auto;margin-right:auto;width:215px}#playzone-replace-info .cover h3.shadow-text{top:123px}#playzone-replace-info .cover p{position:relative}#playzone-replace-info .graduation{font-size:10px}",""]);const n=t},6591:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#events .nc-panel-body .nc-poa-reward-container.claimed .slot,#events .nc-panel-body .nc-poa-reward-container.claimed .shards_girl_ico{border-color:#75b400}",""]);const n=t},7786:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#events .nc-panel-body #poa-content .girls .girls-container{-webkit-mask-image:linear-gradient(to top, transparent 30%, rgba(0, 0, 0, 0.1) 40%, #000 60%);mask-image:linear-gradient(to top, transparent 30%, rgba(0, 0, 0, 0.1) 40%, #000 60%)}#events .nc-panel-body #poa-content .girls .girls-container .girl-avatar{-webkit-mask-image:none;mask-image:none}",""]);const n=t},5286:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#events .nc-panel-body .nc-poa-reward-container{padding:5px;border:3px solid var(--dark-color)}#events .nc-panel-body .nc-poa-reward-container .nc-claimed-reward-check{top:-1px;left:0px}",""]);const n=t},5920:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#pop .pop_list .pop-action-btn{display:none}",""]);const n=t},6009:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".potions-paths-background-panel .potions-paths-second-row .potions-paths-central-section .potions-paths-objective{height:3.8rem}.potions-paths-background-panel .potions-paths-second-row .potions-paths-central-section .potions-paths-objective p .potions-paths_potion_icn{width:20px;height:20px;background-size:19px}.potions-paths-background-panel .potions-paths-second-row .potions-paths-central-section .potions-paths-next-milestone-panel{margin-top:2.3rem}.potions-paths-background-panel .potions-paths-second-row .potions-paths-central-section .potions-paths-tiers-section .potions-paths-progress-bar-section{margin-top:-3.4rem;height:20rem;overflow-x:hidden;scrollbar-width:none}.potions-paths-background-panel .potions-paths-second-row .potions-paths-central-section.no-milestone-left .potions-paths-tiers-section>.potions-paths-progress-bar-section{height:24rem}.potions-paths-background-panel .potions-paths-first-row .potions-paths-title-panel{width:14rem;height:6.3rem;margin-top:-1.2rem}.potions-paths-background-panel .potions-paths-first-row .potions-paths-title-panel h1{margin-top:.6rem;font-size:.8rem}.potions-paths-background-panel .potions-paths-first-row .potions-paths-title-panel h2{font-size:1.4rem}",""]);const n=t},6040:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".pop-quick-nav{display:flex;justify-content:space-between;width:303px;position:absolute;bottom:3px;right:15px}@media(max-width: 1025px){.pop-quick-nav{width:316px;bottom:14px;right:9px}}#pop .pop-quick-nav .back_button{margin-right:0px}.pop-quick-nav-prev,.pop-quick-nav-next{background-size:contain;height:20px;width:20px}.pop-quick-nav-prev{transform:scaleX(-1)}.script-girl-class{position:relative;top:-73px;right:-47px}.script-girl-class::before{width:17px;height:17px}#pop .pop_central_part .pop_remaining,#pop .pop_central_part .hh_bar{float:right}#pop .pop_central_part .hh_bar{margin-right:6px}#pop .pop_central_part button[rel=pop_finish]{float:left}",""]);const n=t},9786:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#new_battle .new-battle-girl-container{height:450px;margin-top:-40px}",""]);const n=t},6642:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".blur-effect{filter:blur(1px)}",""]);const n=t},7920:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".bg_animation{display:none;animation:none !important;transform:none;-webkit-transform:none}",""]);const n=t},3147:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".slot{border:none}",""]);const n=t},7520:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"body>div>header{padding-top:8px}body>div>header img.new_notif{top:8px}body>div>header [type=fight]+div.currency{margin-left:437px}body>div>header div[rel=xp]{position:absolute;top:0;left:0;width:100%}body>div>header div[rel=xp] [hero=xp],body>div>header div[rel=xp] [hero=xp_sep],body>div>header div[rel=xp] [hero=xp_max]{display:none}body>div>header div[rel=xp] div[rel=level]{position:absolute;top:8px;left:91px;width:36px;z-index:150;text-align:center;pointer-events:none}body>div>header div[rel=xp] div[rel=level] div[hero=level]{margin-top:9px}body>div>header div[rel=xp] .bar-wrapper{width:100%;height:11px;margin:0px;box-shadow:none;border-radius:0px;border:0}body>div>header div[rel=xp] .bar-wrapper .bar{height:100%}body>div>header div[rel=xp] .bar-wrapper .bar:after{height:100%;width:101%;left:0px}body>div>header div[rel=xp] .bar-wrapper .over{left:0px;right:0px;top:-1px;font-family:Tahoma,Arial,sans-serif;line-height:11px}@media(max-width: 1025px){body>div>header div[rel=xp] .bar-wrapper .over{display:block}}body>div>header div[rel=xp] .bar-wrapper .over span{font-size:12px;text-shadow:0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000,0 0 1px #000;-moz-transform:rotate(0.05deg)}#hh_comix body>div>header div[rel=xp] .bar-wrapper .over span{font-weight:normal}body>div>header div[rel=xp] .button-notification-icon.button-notification-reward{right:70px;top:5px;z-index:5}body>div>header .promo_fight_discount_text,body>div>header .promo_profile_discount_text,body>div>header .promo_quest_discount_text{top:38px}body>div>header .promo_quest_discount_text{left:94px}@media(max-width: 1025px){body>div>header .promo_quest_discount_text{left:173px}}body>div>header .promo_fight_discount_text{left:205px}@media(max-width: 1025px){body>div>header .promo_fight_discount_text{left:278px}}body>div>header .promo_profile_discount_text{left:21px;top:-3px}@media(max-width: 1025px){body>div>header .promo_profile_discount_text{left:116px;top:67px !important}}body>div>header .script-pop-timer{text-decoration:none;color:#fff;margin-top:22px;margin-left:-114px;width:114px}body>div>header .script-pop-timer .hh_bar{height:20px}body>div>header .script-pop-timer .backbar{width:114px;height:7px;overflow:hidden}body>div>header .script-pop-timer .text{font-size:10px;top:3px;pointer-events:none}body>div>header .script-booster-status{display:flex;flex-direction:column;grid-gap:2px;margin-top:8px;margin-left:6px}body>div>header .script-booster-status .script-boosters{display:flex;gap:4px;justify-content:center}body>div>header .script-booster-status .script-boosters .circular-progress{position:relative;height:18px;width:18px}body>div>header .script-booster-status .script-boosters .circular-progress .green{background-color:#01d10b}body>div>header .script-booster-status .script-boosters .circular-progress .yellow{background-color:#ffc400}body>div>header .script-booster-status .script-boosters .circular-progress .red{background-color:red}body>div>header .script-booster-status .script-boosters .circular-progress .slot{position:absolute;height:16px;width:16px;top:1px;left:1px;z-index:6;border:none}body>div>header .script-booster-status .script-boosters .circular-progress .slot.empty{cursor:inherit !important}body>div>header .script-booster-status .script-boosters .circular-progress .empty+.circle{box-shadow:none}body>div>header .script-booster-status .script-boosters .circular-progress .empty+.circle .circle-bar{background-color:transparent}body>div>header .script-booster-status .script-boosters .circular-progress .circle{height:100%;width:100%;box-shadow:0px 0px 5px #000,0px 0px 4px #000,0px 0px 3px #000,0px 0px 2px #000}body>div>header .script-booster-status .script-boosters .circular-progress .circle-bar{position:absolute;height:100%;width:100%;background-color:#000000bf;clip-path:polygon(0% 0%, 0% 100%, 50% 100%, 50% 0%);overflow:hidden}body>div>header .script-booster-status .script-boosters .circular-progress .circle-bar.flashing{animation-name:flashing-background;animation-duration:3s;animation-iteration-count:infinite}body>div>header .script-booster-status .script-boosters .circular-progress .circle-bar .progress{position:absolute;height:200%;width:200%;top:-50%;left:-50%;clip-path:polygon(50% -50%, 150% -50%, 150% 150%, 50% 150%)}body>div>header .script-booster-status .script-boosters .circular-progress .circle-bar.right{transform:rotate(180deg);z-index:3}body>div>header .script-booster-status .script-boosters .circular-progress .circle-bar.left .progress{z-index:1}body>div>header .script-booster-status .script-boosters .circular-progress .dummy-timer-target{display:none !important}body>div>header .script-booster-status .script-boosters:hover{transform:scale(1.5);transform-origin:top;z-index:20}body>div>header .script-booster-status .script-boosters:hover.mythic{transform-origin:bottom}body>div>header div.currency{margin-left:6px;margin-top:4px;width:116px;height:36px}body>div>header div.currency .hudSC_mix_icn,body>div>header div.currency .hudHC_mix_icn{left:6px;right:auto;height:16px;width:16px;background-size:contain}body>div>header div.currency .hudSC_mix_icn{top:2px}body>div>header div.currency .hudHC_mix_icn{top:auto;bottom:2px}body>div>header div.currency [hero=soft_currency]{display:none}body>div>header div.currency .scriptMoneyContainer{margin-left:-1px}@media(max-width: 1025px){body>div>header div.currency .scriptMoneyContainer{position:absolute;top:2px;left:40px;font-size:16px}}body>div>header div.currency div[hero=soft_currency],body>div>header div.currency div[hero=hard_currency],body>div>header div.currency .scriptMoneyContainer{position:absolute;left:28px;font-size:12px}body>div>header div.currency div[hero=soft_currency],body>div>header div.currency .scriptMoneyContainer{top:1px}body>div>header div.currency div[hero=hard_currency]{bottom:1px}body>div>header div.currency plus{top:0;right:-10px}body>div>header #blessings-button{margin-left:20px;margin-top:4px}body>div>header #show-hero-resources{margin-top:4px;margin-left:15px}body>div>header #show-hero-resources+#blessings-button{margin-left:5px}body>div>header>div.energy_counter a{text-decoration:none}body>div>header>div.energy_counter[type=quest] .bar-wrapper,body>div>header>div.energy_counter[type=fight] .bar-wrapper{width:87px;height:36px;margin:4px 0 0 18px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .bar:after,body>div>header>div.energy_counter[type=fight] .bar-wrapper .bar:after{height:100%;left:-1px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over,body>div>header>div.energy_counter[type=fight] .bar-wrapper .over{flex-direction:column;align-content:flex-start;align-items:flex-start;justify-content:flex-start;padding-left:11px;padding-top:1px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over .energy_counter_amount,body>div>header>div.energy_counter[type=fight] .bar-wrapper .over .energy_counter_amount{font-size:8px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over .energy_counter_amount span[energy],body>div>header>div.energy_counter[type=fight] .bar-wrapper .over .energy_counter_amount span[energy]{font-size:12px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over [rel=count_txt],body>div>header>div.energy_counter[type=fight] .bar-wrapper .over [rel=count_txt]{font-size:7px;margin-left:-9px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over [rel=count_txt]>[rel=count],body>div>header>div.energy_counter[type=fight] .bar-wrapper .over [rel=count_txt]>[rel=count]{font-size:10px;line-height:13px}body>div>header>div.energy_counter[type=quest] .bar-wrapper .over span,body>div>header>div.energy_counter[type=fight] .bar-wrapper .over span{font-size:8px}body>div>header>div.energy_counter plus{right:-14px}body>div>header>div.energy_counter .energy_counter_icon span{position:absolute;top:9px;left:16px;z-index:36}body>div>header>div.energy_counter .energy_counter_icon span.hudKiss_mix_icn,body>div>header>div.energy_counter .energy_counter_icon span.hudWorship_mix_icn{height:20px;width:20px;background-size:contain;top:4px}body>div>header>div.energy_counter .energy_counter_icon span.hudChallenge_mix_icn{height:20px;width:20px;background-size:contain;background-position:center;background-repeat:no-repeat;background-image:var(--challenge-token-icon);filter:drop-shadow(0px 2px 0px #000000bf);left:-123px;top:23px}body>div>header>div.energy_counter .energy_counter_icon span.hudBattlePts_mix_icn{left:2px}body>div>header>div.energy_counter .energy_counter_icon span.hudEnergy_mix_icn{left:8px}body>div>header>div.energy_counter .energy_counter_icon span.hudWorship_mix_icn{left:2px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper,body>div>header>div.energy_counter[type=challenge] .bar-wrapper,body>div>header>div.energy_counter[type=worship] .bar-wrapper{width:114px;height:16px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .bar:after,body>div>header>div.energy_counter[type=challenge] .bar-wrapper .bar:after,body>div>header>div.energy_counter[type=worship] .bar-wrapper .bar:after{left:3px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over,body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over,body>div>header>div.energy_counter[type=worship] .bar-wrapper .over{font-size:8px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over span,body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over span,body>div>header>div.energy_counter[type=worship] .bar-wrapper .over span{font-size:8px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over span[energy],body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over span[energy],body>div>header>div.energy_counter[type=worship] .bar-wrapper .over span[energy]{font-size:12px;line-height:16px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over [rel=count_txt],body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over [rel=count_txt],body>div>header>div.energy_counter[type=worship] .bar-wrapper .over [rel=count_txt]{font-size:8px}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over [rel=count_txt]>[rel=count],body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over [rel=count_txt]>[rel=count],body>div>header>div.energy_counter[type=worship] .bar-wrapper .over [rel=count_txt]>[rel=count]{font-size:9px;line-height:12px}@media(min-width: 1026px){body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over,body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over,body>div>header>div.energy_counter[type=worship] .bar-wrapper .over{justify-content:space-between}body>div>header>div.energy_counter[type=kiss] .bar-wrapper .over .energy_counter_amount,body>div>header>div.energy_counter[type=challenge] .bar-wrapper .over .energy_counter_amount,body>div>header>div.energy_counter[type=worship] .bar-wrapper .over .energy_counter_amount{margin-left:14px}}body>div>header>div.energy_counter[type=kiss] .bar-wrapper,body>div>header>div.energy_counter[type=worship] .bar-wrapper{margin-top:6px}body>div>header>div.energy_counter[type=worship] .bar-wrapper{margin-left:11px}body>div>header>div.energy_counter[type=challenge] .bar-wrapper{margin-left:-114px;margin-top:24px}body>div>header>div.script-bar-spacer{margin:12px 0 0 27px}body>div>header>div.script-bar-spacer[type=kiss],body>div>header>div.script-bar-spacer[type=challenge],body>div>header>div.script-bar-spacer[type=worship]{width:114px;height:15px}body>div>header>div.script-bar-spacer[type=kiss],body>div>header>div.script-bar-spacer[type=worship]{margin-top:6px}body>div>header>div.script-bar-spacer[type=worship]{margin-left:11px}body>div>header>div.script-bar-spacer[type=challenge]{margin-left:-114px;margin-top:24px}#contains_all>nav>[rel=open]{top:12px}body#hh_comix>div>header div[rel=xp] div[rel=level] div[hero=level]{margin-top:17px !important}body#hh_comix>div>header div[rel=xp] .bar-wrapper .over span{font-weight:400 !important}.script-booster-status-item .season_rewards_tier_info,.script-booster-status-item .item-price{display:none}@media(max-width: 1025px){body>div>header>a.hh_logo,body>div>header a#chat_btn,body>div>header>div[rel=avatar]{margin-top:4px}body>div>header>a.hh_logo,body>div>header a#chat_btn{margin-right:5px}body>div>header div[rel=xp] div[rel=level]{left:144px;top:4px}body>div>header div[rel=xp] div[rel=level]>div{flex-direction:column}body>div>header div[rel=xp] div[rel=level] div[hero=level]{margin-top:32px}body>div>header plus{top:4px;border-radius:8px;width:44px;height:60px;right:-20px}body>div>header plus[disabled]{border-radius:8px}body>div>header plus .hudPlus_mix_icn{width:24px;height:24px;background-size:contain}body>div>header div.energy_counter[type=quest] .energy_counter_icon span.hudEnergy_mix_icn,body>div>header div.energy_counter[type=quest] .energy_counter_icon span.hudBattlePts_mix_icn,body>div>header div.energy_counter[type=fight] .energy_counter_icon span.hudEnergy_mix_icn,body>div>header div.energy_counter[type=fight] .energy_counter_icon span.hudBattlePts_mix_icn{left:8px;top:8px}body>div>header div.energy_counter[type=quest] .energy_counter_icon span.hudBattlePts_mix_icn,body>div>header div.energy_counter[type=fight] .energy_counter_icon span.hudBattlePts_mix_icn{left:0px}body>div>header div.energy_counter[type=quest] .bar-wrapper,body>div>header div.energy_counter[type=fight] .bar-wrapper{height:60px;width:80px;margin-left:14px}body>div>header div.energy_counter[type=quest] .bar-wrapper .bar:after,body>div>header div.energy_counter[type=fight] .bar-wrapper .bar:after{left:-8px}body>div>header div.energy_counter[type=quest] .bar-wrapper .over,body>div>header div.energy_counter[type=fight] .bar-wrapper .over{padding-left:4px;margin-left:2px;padding-top:2px}body>div>header div.energy_counter[type=quest] .bar-wrapper .over .energy_counter_amount,body>div>header div.energy_counter[type=fight] .bar-wrapper .over .energy_counter_amount{margin-left:8px}body>div>header div.energy_counter[type=quest] .bar-wrapper .over .energy_counter_amount span[energy],body>div>header div.energy_counter[type=fight] .bar-wrapper .over .energy_counter_amount span[energy]{display:block;font-size:16px}body>div>header div.energy_counter[type=quest] .bar-wrapper .over [rel=count_txt],body>div>header div.energy_counter[type=fight] .bar-wrapper .over [rel=count_txt]{margin-top:6px;margin-left:0px}body>div>header div.energy_counter[type=quest] .bar-wrapper .over [rel=count_txt] [rel=count],body>div>header div.energy_counter[type=fight] .bar-wrapper .over [rel=count_txt] [rel=count]{display:block;font-size:10px}body>div>header div.energy_counter .energy_counter_icon span.hudKiss_mix_icn{top:9px;left:20px}body>div>header div.energy_counter .energy_counter_icon span.hudWorship_mix_icn{top:9px;left:6px}body>div>header div.energy_counter .energy_counter_icon span.hudChallenge_mix_icn{left:-119px;top:40px}body>div>header div.energy_counter .energy_counter_icon span.hudBattlePts_mix_icn{left:0px;top:8px}body>div>header div.energy_counter .energy_counter_icon span.hudEnergy_mix_icn{left:8px;top:8px}body>div>header div.energy_counter[type=kiss] .bar-wrapper,body>div>header div.energy_counter[type=challenge] .bar-wrapper,body>div>header div.energy_counter[type=worship] .bar-wrapper{height:26px}body>div>header div.energy_counter[type=kiss] .bar-wrapper .bar:after,body>div>header div.energy_counter[type=challenge] .bar-wrapper .bar:after,body>div>header div.energy_counter[type=worship] .bar-wrapper .bar:after{left:-2px;width:calc(100% + 9px)}body>div>header div.energy_counter[type=kiss] .bar-wrapper .over,body>div>header div.energy_counter[type=challenge] .bar-wrapper .over,body>div>header div.energy_counter[type=worship] .bar-wrapper .over{flex-direction:row;justify-content:space-between;margin-left:14px}body>div>header div.energy_counter[type=kiss] .bar-wrapper .over span[energy],body>div>header div.energy_counter[type=challenge] .bar-wrapper .over span[energy],body>div>header div.energy_counter[type=worship] .bar-wrapper .over span[energy]{font-size:16px}body>div>header div.energy_counter[type=kiss] .bar-wrapper .over [rel=count_txt]>[rel=count],body>div>header div.energy_counter[type=challenge] .bar-wrapper .over [rel=count_txt]>[rel=count],body>div>header div.energy_counter[type=worship] .bar-wrapper .over [rel=count_txt]>[rel=count]{line-height:9px;font-size:10px}body>div>header div.energy_counter[type=kiss] .bar-wrapper{margin-left:26px}body>div>header div.energy_counter[type=challenge] .bar-wrapper{margin-top:36px}body>div>header .script-pop-timer{margin-top:42px}body>div>header .script-booster-status{grid-template-columns:1fr 1fr 1fr}body>div>header div.currency{height:60px}body>div>header div.currency div[hero=soft_currency],body>div>header div.currency .scriptMoneyContainer,body>div>header div.currency .hudSC_mix_icn{top:10px}body>div>header div.currency div[hero=hard_currency],body>div>header div.currency .hudHC_mix_icn{bottom:10px}body>div>header img.new_notif.daily-reward-notif{left:24px}body>div>header #blessings-button,body>div>header #show-hero-resources{height:60px;width:34px;border-radius:8px}#contains_all>nav>[rel=open]{height:60px;width:60px}body#hh_comix>div>header div[rel=xp] div[rel=level]{top:8px}body#hh_comix>div>header div[rel=xp] div[rel=level] div[hero=level]{margin-top:40px !important}}@keyframes flashing-background{0%{background-color:#000000bf}50%{background-color:red}100%{background-color:#000000bf}}",""]);const n=t},9573:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".script-shard-count{font-size:.75rem;display:block;text-align:center;width:100%;position:absolute;bottom:-0.125rem;color:#80058b;text-shadow:1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff}.club_champions_rewards_container .script-shard-count{bottom:auto;top:-0.1875rem}.leagues_girl_reward_container .script-shard-count{font-size:.6rem}.leagues_girl_reward_container .script-shard-count .shard{height:.8rem;width:.8rem}.script-shard-count .shard{height:1rem;width:1rem;margin-left:-0.25rem !important;display:inline-block !important;background-size:140%;background-position:center}#pre-battle #opponent-panel .fighter-rewards .pantheon-rewards .script-shard-count{display:none}.leagues_girl_reward_container .girl_ico{position:relative}.rewards_tooltip .slot.girl_ico{overflow:visible}.player_team_block .opponent_rewards .rewards_list .slot .slot:has(.girl_ico){overflow:visible !important}",""]);const n=t},4059:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".scriptSeasonStatsTooltip{font-size:12px;color:#fff}.scriptSeasonStatsTooltip table{margin-left:auto;margin-right:auto}.scriptSeasonStatsTooltip table tr td:first-child{text-align:right}.scriptSeasonStatsTooltip table tr td:last-child{text-align:left}.scriptSeasonStats{color:#8ec3ff;font-size:16px}#seasons_tab_title .scriptSeasonStats{margin-left:54px}.battle_hero .scriptSeasonStats{margin-left:15px}",""]);const n=t},6790:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".seasonal-event-panel .seasonal-event-container .tabs-section #home_tab_container .bottom-container .right-part-container .seasonal-tiers-section .seasonal-progress-bar-section .seasonal-progress-bar-tiers .seasonal-tier-container .seasonal-tier{margin-left:.5rem;margin-right:.5rem}",""]);const n=t},4481:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".hero_info>.bottom>.ranking_stats>.id{user-select:text}",""]);const n=t},2389:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,'.complete .side-quest-image{border-color:#75b400}.complete .side-quest-image::after{content:"";background-image:var(--sidequest-tick-icon);background-position:center;background-repeat:no-repeat;display:block;position:relative;width:30px;height:30px;background-size:30px;margin:-15px;padding:0;bottom:2px;left:132px}.complete .side-quest-progress{color:#75b400}',""]);const n=t},7073:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,"#arena_filter_box{position:absolute;width:400px;right:408px;z-index:99;border-radius:8px 10px 10px 8px;background-color:#1e261e;box-shadow:rgba(255,255,255,.73) 0px 0px;padding:5px;border:1px solid #ffa23e;grid-template-columns:1fr 1fr;grid-gap:10px}@media(max-width: 1025px){#arena_filter_box{top:98px}}@media(min-width: 1026px){#arena_filter_box{top:66px}}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items{height:auto}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items li{height:auto;padding-top:0;padding-bottom:0}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items li>span{height:auto;width:auto}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items li>span[carac]{padding-right:10px}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items li .element-icon{height:30px;width:30px;background-size:contain;background-position:center;margin-right:10px}#arena_filter_box.form-wrapper>.form-control>.select-group .selectric-items li:first-of-type{padding-left:5px}#arena_filter_box.form-wrapper>.form-control.script-filter-element>.select-group .selectric-items li{padding-top:2px;padding-bottom:2px}.change-team-panel #filter_girls{display:none}.change-team-panel #arena_filter{height:32px;width:32px;padding:0;float:left}@media(max-width: 1025px){.change-team-panel #arena_filter{margin-top:5px}}.change-team-panel #arena_filter .filter_mix_icn{display:block;height:32px;width:24px;background-position:center;background-size:contain;background-repeat:no-repeat;background-image:var(--filter-icon);margin:auto}@media(max-width: 1025px){#edit-team-page .change-team-panel.harem-panel{margin-top:17px}}",""]);const n=t},9255:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".girl-upper-info{height:2rem;align-items:center}.girl-upper-info ::before{width:2rem;height:2rem}.girl-upper-info>:first-child{margin-left:10px !important}.girl-upper-info :nth-child(2){margin-left:.7rem !important}.girl-upper-info :last-child{margin-left:unset !important}.girl-upper-info .girl_pos{margin-left:.2rem !important}.girl-upper-info .girl_pos img{width:40px;height:40px}.girl-upper-stats{position:absolute;display:flex;gap:1rem;text-align:center;font-size:14px;z-index:3;text-shadow:0px 0px 4px #000}.girl-upper-stats ::before{width:1.5rem;height:1.5rem}.equipment_slot{overflow:visible !important}.slot .item_resonances{position:absolute;display:flex;gap:.125rem;left:0rem;top:-1rem;z-index:3}.slot .item_resonances img{width:1.25rem;height:1.25rem}.slot .item_resonances .matches{filter:drop-shadow(0px 0px 3px #00ff06) drop-shadow(0px 0px 3px #00ff06) drop-shadow(0px 0px 3px #00ff06)}",""]);const n=t},7096:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var i=a(8081),t=a.n(i),i=a(3645),t=a.n(i)()(t());t.push([e.id,".girl-leveler-panel .girl-leveler-container .girl-section .girl-avatar{display:flex;flex-direction:row;position:relative;align-items:center}.script-quicknav-prev,.script-quicknav-next{position:absolute;width:100px;opacity:.8}.script-quicknav-prev:hover,.script-quicknav-next:hover{opacity:1;filter:drop-shadow(0px 0px 4px white)}.script-quicknav-prev[resource=equipment],.script-quicknav-next[resource=equipment]{bottom:-60px}.script-quicknav-prev img,.script-quicknav-next img{width:100%}.script-quicknav-prev img.quicknav-ico,.script-quicknav-next img.quicknav-ico{display:none}.script-quicknav-prev[resource=equipment] img.quicknav-ico,.script-quicknav-next[resource=equipment] img.quicknav-ico{display:unset}.script-quicknav-prev[resource=equipment] img.quicknav-ava,.script-quicknav-next[resource=equipment] img.quicknav-ava{display:none}.script-quicknav-prev{left:-140px}.script-quicknav-prev[resource=equipment]{left:-40px}.script-quicknav-prev[resource=teams]{left:-100px}.script-quicknav-prev[resource=teams].no-teams{left:-240px;top:60px}.script-quicknav-next{right:-140px}.script-quicknav-next[resource=equipment]{right:-40px}.script-quicknav-next[resource=teams]{right:-100px}.script-quicknav-next[resource=teams].no-teams{right:-240px;top:60px}.synergy-helper{left:15.5rem !important}.equipment-left-controls{z-index:2}",""]);const n=t},3645:e=>{"use strict";e.exports=function(i){var p=[];return p.toString=function(){return this.map(function(e){var t="",a=void 0!==e[5];return e[4]&&(t+="@supports (".concat(e[4],") {")),e[2]&&(t+="@media ".concat(e[2]," {")),a&&(t+="@layer".concat(0<e[5].length?" ".concat(e[5]):""," {")),t+=i(e),a&&(t+="}"),e[2]&&(t+="}"),e[4]&&(t+="}"),t}).join("")},p.i=function(e,t,a,i,n){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var r=this[s][0];null!=r&&(o[r]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);a&&o[c[0]]||(void 0!==n&&(void 0===c[5]||(c[1]="@layer".concat(0<c[5].length?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=n),t&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=t),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),p.push(c))}},p}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},1296:(e,t,a)=>{function v(){return d.Date.now()}var n=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt,i="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g,a="object"==typeof self&&self&&self.Object===Object&&self,d=i||a||Function("return this")(),u=Object.prototype.toString,y=Math.max,_=Math.min;function w(e){var t=typeof e;return e&&("object"==t||"function"==t)}function x(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(a=t)&&"object"==typeof a&&u.call(t)==o)return n;var t,a;if("string"!=typeof(e=w(e)?w(i="function"==typeof e.valueOf?e.valueOf():e)?i+"":i:e))return 0===e?e:+e;e=e.replace(s,"");var i=l.test(e);return i||c.test(e)?p(e.slice(2),i?2:8):r.test(e)?n:+e}e.exports=function(i,a,e){var n,o,s,r,l,c,p=0,d=!1,u=!1,t=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function g(e){var t=n,a=o;return n=o=void 0,p=e,r=i.apply(a,t)}function m(e){var t=e-c;return void 0===c||a<=t||t<0||u&&s<=e-p}function h(){var e,t=v();if(m(t))return b(t);l=setTimeout(h,(t=a-((e=t)-c),u?_(t,s-(e-p)):t))}function b(e){return l=void 0,t&&n?g(e):(n=o=void 0,r)}function f(){var e=v(),t=m(e);if(n=arguments,o=this,c=e,t){if(void 0===l)return p=t=c,l=setTimeout(h,a),d?g(t):r;if(u)return l=setTimeout(h,a),g(c)}return void 0===l&&(l=setTimeout(h,a)),r}return a=x(a)||0,w(e)&&(d=!!e.leading,u="maxWait"in e,s=u?y(x(e.maxWait)||0,a):s,t="trailing"in e?!!e.trailing:t),f.cancel=function(){void 0!==l&&clearTimeout(l),n=c=o=l=void(p=0)},f.flush=function(){return void 0===l?r:b(v())},f}},3379:e=>{"use strict";var c=[];function p(e){for(var t=-1,a=0;a<c.length;a++)if(c[a].identifier===e){t=a;break}return t}function r(e,t){for(var a={},i=[],n=0;n<e.length;n++){var o=e[n],s=t.base?o[0]+t.base:o[0],r=a[s]||0,l="".concat(s," ").concat(r);a[s]=r+1;r=p(l),o={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};-1!==r?(c[r].references++,c[r].updater(o)):(o=function(t,e){var a=e.domAPI(e);return a.update(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer||a.update(t=e):a.remove()}}(o,t),t.byIndex=n,c.splice(n,0,{identifier:l,updater:o,references:1})),i.push(l)}return i}e.exports=function(e,o){var s=r(e=e||[],o=o||{});return function(e){e=e||[];for(var t=0;t<s.length;t++){var a=p(s[t]);c[a].references--}for(var e=r(e,o),i=0;i<s.length;i++){var n=p(s[i]);0===c[n].references&&(c[n].updater(),c.splice(n,1))}s=e}}},569:e=>{"use strict";var a={};e.exports=function(e,t){if(!(e=function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}a[e]=t}return a[e]}(e)))throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(t)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,a)=>{"use strict";e.exports=function(e){var t=a.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(t){var a=t.insertStyleElement(t);return{update:function(e){!function(e,t,a){var i="";a.supports&&(i+="@supports (".concat(a.supports,") {")),a.media&&(i+="@media ".concat(a.media," {"));var n=void 0!==a.layer;n&&(i+="@layer".concat(0<a.layer.length?" ".concat(a.layer):""," {")),i+=a.css,n&&(i+="}"),a.media&&(i+="}"),a.supports&&(i+="}"),(a=a.sourceMap)&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(i,e,t.options)}(a,t,e)},remove:function(){var e;null!==(e=a).parentNode&&e.parentNode.removeChild(e)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2414:(e,t,a)=>{"use strict";var i={};a.r(i),a.d(i,{blessingSpreadsheetLink:()=>ht,champions:()=>ct,common:()=>Xe,config:()=>et,contestSummary:()=>mt,harem:()=>ot,haremTeamsFilter:()=>bt,homeScreen:()=>dt,improvedWaifu:()=>vt,leaderboardClubmateIndicators:()=>ft,league:()=>st,market:()=>nt,pachinkoNames:()=>gt,resourceBars:()=>pt,seasonStats:()=>ut,simFight:()=>rt,stConfig:()=>tt,teamsFilter:()=>lt,villain:()=>at,villainBreadcrumbs:()=>it});var n={};a.r(n),a.d(n,{blessingSpreadsheetLink:()=>Et,champions:()=>Tt,common:()=>yt,config:()=>_t,contestSummary:()=>$t,harem:()=>Ct,haremTeamsFilter:()=>zt,homeScreen:()=>Dt,improvedWaifu:()=>Ot,leaderboardClubmateIndicators:()=>Pt,league:()=>kt,market:()=>Mt,pachinkoNames:()=>Nt,resourceBars:()=>St,seasonStats:()=>Lt,simFight:()=>It,stConfig:()=>wt,teamsFilter:()=>At,villain:()=>xt,villainBreadcrumbs:()=>jt});var o={};a.r(o),a.d(o,{blessingSpreadsheetLink:()=>ta,champions:()=>Wt,common:()=>Rt,config:()=>Ht,contestSummary:()=>Xt,harem:()=>Ut,haremTeamsFilter:()=>aa,homeScreen:()=>Kt,improvedWaifu:()=>na,leaderboardClubmateIndicators:()=>ia,league:()=>Ft,market:()=>Bt,pachinkoNames:()=>Jt,resourceBars:()=>Yt,seasonStats:()=>Vt,simFight:()=>qt,stConfig:()=>Gt,teamsFilter:()=>Qt,villain:()=>Zt,villainBreadcrumbs:()=>ea});var s={};a.r(s),a.d(s,{blessingSpreadsheetLink:()=>wa,champions:()=>ma,common:()=>oa,config:()=>sa,contestSummary:()=>ya,harem:()=>pa,haremTeamsFilter:()=>xa,homeScreen:()=>ba,improvedWaifu:()=>Ca,leaderboardClubmateIndicators:()=>Ma,league:()=>da,market:()=>ca,pachinkoNames:()=>va,resourceBars:()=>ha,seasonStats:()=>fa,simFight:()=>ua,stConfig:()=>ra,teamsFilter:()=>ga,villain:()=>la,villainBreadcrumbs:()=>_a});var r={};a.r(r),a.d(r,{blessingSpreadsheetLink:()=>Ga,champions:()=>ja,common:()=>ka,config:()=>Ia,contestSummary:()=>Ra,harem:()=>Da,haremTeamsFilter:()=>Za,homeScreen:()=>za,improvedWaifu:()=>Ua,leaderboardClubmateIndicators:()=>Ba,league:()=>La,market:()=>Sa,pachinkoNames:()=>Oa,resourceBars:()=>Ea,seasonStats:()=>Pa,simFight:()=>Na,stConfig:()=>Aa,teamsFilter:()=>$a,villain:()=>Ta,villainBreadcrumbs:()=>Ha});var l={};a.r(l),a.d(l,{blessingSpreadsheetLink:()=>ri,champions:()=>ei,common:()=>Fa,config:()=>qa,contestSummary:()=>oi,harem:()=>Ka,haremTeamsFilter:()=>li,homeScreen:()=>ai,leaderboardClubmateIndicators:()=>ci,league:()=>Ja,market:()=>Ya,pachinkoNames:()=>ni,resourceBars:()=>ti,seasonStats:()=>ii,simFight:()=>Va,stConfig:()=>Qa,teamsFilter:()=>Xa,villain:()=>Wa,villainBreadcrumbs:()=>si});var c={};a.r(c),a.d(c,{CxH:()=>ar,GH:()=>er,HH:()=>Xs,HoH:()=>tr,PSH:()=>ir});var p={};a.r(p),a.d(p,{AutoRefreshModule:()=>Js,BattleEndstateModule:()=>gs,BattleSimulatorModule:()=>qn,BlessingSpreadsheetLinkModule:()=>hr,BonusFlowersOverflowStyleTweak:()=>od,BossBangProgressBarStyleTweak:()=>gd,CensorModeModule:()=>sl,ChampGirlOverlapStyleTweak:()=>wd,ChampGirlPowerStyleTweak:()=>Sd,ChampionsModule:()=>po,CompactDailyMissionsStyleTweak:()=>Fh,CompactHaremFiltersStyleTweak:()=>oh,CompactLossScreenStyleTweak:()=>Bm,CompactNavStyleTweak:()=>sp,CompactPoPsStyleTweak:()=>Ec,CompactResourceSummaryStyleTweak:()=>wh,ContestNotifsStyleTweak:()=>Ac,ContestPointsWidthStyleTweak:()=>Pd,ContestRewardsModule:()=>ds,DPEventStyleTweak:()=>Ph,DailyGoalsRestyleStyleTweak:()=>mp,EventEndIndicatorsModule:()=>vl,EventGirlBordersStyleTweak:()=>Fd,EventGirlTicksStyleTweak:()=>Xd,ExpandedMarketInventoryStyleTweak:()=>gh,FightAVillainModule:()=>Ti,FixProfilePopupModule:()=>ll,GemStockModule:()=>ws,GirlSalaryTimersStyleTweak:()=>ru,HaremInfoModule:()=>_n,HaremTeamsFilterModule:()=>Al,HideClaimAllButtonStyleTweak:()=>Sh,HideClaimedRewardsModule:()=>Ks,HideGameLinksStyleTweak:()=>hu,HideRotateDeviceStyleTweak:()=>Mu,HomeScreenIconsModule:()=>Cr,HomeScreenModule:()=>No,HomeScreenOldishModule:()=>Gr,HomeScreenOrderModule:()=>$r,HomeScreenRightSideRearrangeStyleTweak:()=>yc,ImprovedWaifuModule:()=>ec,LeaderboardClubmateIndicatorsModule:()=>Ul,LeaderboardFixModule:()=>Zs,LeaderboardProfilePopupsModule:()=>ql,LeagueChangeTeamButtonStyleTweak:()=>Lu,LeagueInfoModule:()=>Sn,LeagueTableCompressedStyleTweak:()=>Bc,LeagueTableRowStripesStyleTweak:()=>Jc,LeagueTableShadowStyleTweak:()=>Ru,MarketEquipsFilterModule:()=>tn,MarketInfoModule:()=>Ri,MessengerDarkModeStyleTweak:()=>Sp,MissionsBackgroundStyleTweak:()=>wp,MobileBattleStyleTweak:()=>Qu,MobileLeagueDarkBackgroundStyleTweak:()=>tg,MoneyAnimationStyleTweak:()=>lg,MonthlyCardTextStyleTweak:()=>bg,MoveSkipButtonStyleTweak:()=>Cg,NewButtonsStyleTweak:()=>Bp,OverridePachinkoConfirmModule:()=>Ur,PachinkoNamesModule:()=>is,PoABordersStyleTweak:()=>Ng,PoAGirlFadeStyleTweak:()=>Hg,PoATicksStyleTweak:()=>Yg,PoPButtonsStyleTweak:()=>im,PoVUnclutterStyleTweak:()=>ym,PopNavSortModule:()=>Go,PoseAspectRatioStyleTweak:()=>dm,ReduceHomeScreenBlurStyleTweak:()=>Vp,RemoveParticleEffectsStyleTweak:()=>Am,RemoveSlotBorderStyleTweak:()=>Xh,ResourceBarsModule:()=>Mo,RewardShardsModule:()=>js,SeasonStatsModule:()=>Yo,SeasonalEventStyleTweak:()=>Vm,SelectableIDStyleTweak:()=>Em,SidequestCompletionMarkersModule:()=>Jr,SortDailyMissionsModule:()=>ac,StaticBackgroundModule:()=>Ms,TeamsFilterModule:()=>to,UpgradeInfoModule:()=>dc,UpgradeQuickNavModule:()=>zl,VillainBreadcrumbsModule:()=>sr});const d={HH:{homeDark:"rgba(32,3,7,.9)",homeBorder:"#ffb827",panelBorderGradient:"linear-gradient(180deg, #ffa23e, #c41b53)",panelBackground:"linear-gradient(to top,#572332 0,#572332 1%,#2c1e1c 100%)",panelInset:"inset 0 0 40px 15px #662034"},GH:{homeDark:"rgba(32,3,7,.9)",homeBorder:"#69daff",panelBorderGradient:"linear-gradient(180deg,#6a8cff,#8966ff)",panelBackground:"linear-gradient(to top,#84a 0,#2a2435 99%,#2a2435 100%)",panelInset:"inset 0 0 40px 15px rgb(131 55 245 / 60%)"},CxH:{homeDark:"#0f0b1d",homeBorder:"#33a7ff",panelBorderGradient:"linear-gradient(180deg, #33a7ff, #33a7ff)",panelBackground:"linear-gradient(180deg,#0f0b1d 0,#0d5c9d 90%,#0d5c9d 100%)",panelInset:"inset 0 0 40px 15px none"},PSH:{homeDark:"rgba(32,3,7,.9)",homeBorder:"#ffb827",panelBorderGradient:"linear-gradient(180deg, #ffa23e, #c41b53)",panelBackground:"linear-gradient(to top,#572332 0,#572332 1%,#2c1e1c 100%)",panelInset:"inset 0 0 40px 15px #662034"},HoH:{homeDark:"rgba(32,3,7,.9)",homeBorder:"#ffb827",panelBorderGradient:"linear-gradient(180deg, #ffa23e, #c41b53)",panelBackground:"linear-gradient(to top,#572332 0,#572332 1%,#2c1e1c 100%)",panelInset:"inset 0 0 40px 15px #662034"}};var u=e=>`HHPlusPlus${e}`;const f={CONFIG:u("Config"),GIRL_DICTIONARY:u("GirlDictionary"),TEAMS_DICTIONARY:u("TeamsDictionary"),EVENT_VILLAINS:u("EventVillains"),EVENT_TIME:u("EventTime"),MYTHIC_EVENT_VILLAINS:u("MythicEventVillains"),MYTHIC_EVENT_TIME:u("MythicEventTime"),SEASON_END_TIME:u("SeasonEndTime"),SEASON_STATS:u("SeasonStats"),OLD_SEASON_STATS:u("OldSeasonStats"),MARKET_INFO:u("MarketInfo"),MARKET_GIRLS_FILTER:u("ActiveMarketGirlFilter"),EQUIP_FAVORITES:u("EquipFavorites"),SELL_BUTTON_HIDDEN:u("SellButtonHidden"),LEAGUE_PLAYERS:u("LeaguePlayers"),LEAGUE_POINT_HISTORY:u("LeaguePointHistory"),LEAGUE_RESULTS:u("LeagueResults"),LEAGUE_SCORE:u("LeagueScore"),LEAGUE_TIME:u("LeagueTime"),LEAGUE_UNKNOWN:u("LeagueUnknown"),LEAGUE_PLAYERS_OLD:u("LeaguePlayersOld"),LEAGUE_POINT_HISTORY_OLD:u("LeaguePointHistoryOld"),LEAGUE_RESULTS_OLD:u("LeagueResultsOld"),LEAGUE_SCORE_OLD:u("LeagueScoreOld"),LEAGUE_TIME_OLD:u("LeagueTimeOld"),LEAGUE_UNKNOWN_OLD:u("LeagueUnknownOld"),FOUGHT_OPPONENTS_HIDDEN:u("FoughtOpponentsHidden"),TABLE_SHOW_INDIVIDUAL:u("TableShowIndividual"),TRACKED_TIMES:u("TrackedTimes"),BOOSTER_STATUS:u("BoosterStatus"),CLUB_STATUS:u("ClubStatus"),AVAILABLE_FEATURES:u("AvailableFeatures"),SIDEQUEST_STATUS:u("SidequestStatus"),PATH_TIME_POV:u("PathTimePoV"),PATH_TIME_POG:u("PathTimePoG"),HAREM_FILTER_IDS:u("HaremFilterIDs"),WAIFU_INFO:u("WaifuInfo")};let g,m,h,b,v,y,_,w,x,M;const C=[];class k{static getHost(){return window.location.host}static getCDNHost(){return _=_||IMAGES_URL,_}static getPathname(){return window.location.pathname}static isCurrentPage(e){return k.getPathname().includes(e)}static hasSearch(e){return window.location.search.includes(e)}static isHH(){return void 0===g&&(g=!(k.isGH()||k.isCxH()||k.isPSH()||k.isHoH())),g}static isGH(){return void 0===m&&(m=["www.gayharem.com","nutaku.gayharem.com"].includes(k.getHost())),m}static isCxH(){return void 0===h&&(h=["www.comixharem.com","nutaku.comixharem.com"].includes(k.getHost())),h}static isPSH(){return void 0===b&&(b=["www.pornstarharem.com","nutaku.pornstarharem.com"].includes(k.getHost())),b}static isHoH(){return void 0===v&&(v=["www.hornyheroes.com"].includes(k.getHost())),v}static getGameKey(){return k.isHH()?"HH":k.isGH()?"GH":k.isCxH()?"CxH":k.isPSH()?"PSH":k.isHoH()?"HoH":void 0}static getPlatform(){if(!M){const e=k.getHost();M=e.includes("nutaku")?"nutaku":e.includes("erogames")?"erogames":e.includes("thrixxx")?"thrixxx":".com"}return M}static isNutakuKobans(){return void 0===y&&(y="nutaku"===HH_UNIVERSE),y}static $(e){return"string"==typeof e?window.$(e.replace(/\n/g,"").replace(/ {4}/g,"")):window.$(e)}static mediaMobile(e){return`@media only screen and (max-width: 1025px) {${e}}`}static mediaDesktop(e){return`@media only screen and (min-width: 1026px) {${e}}`}static getGirlDictionary(){var e;return w||(e=k.lsGet(f.GIRL_DICTIONARY),w=e?new Map(e):new Map),w}static setGirlDictionary(e){w=e,k.lsSet(f.GIRL_DICTIONARY,Array.from(w)),$(window).trigger("girl-dictionary:updated")}static getTeamsDictionary(){return x=x||k.lsGet(f.TEAMS_DICTIONARY),x}static setTeamsDictionary(e){x=e,k.lsSet(f.TEAMS_DICTIONARY,x)}static onAjaxResponse(n,o){$(document).ajaxComplete((e,t,a)=>{if(a&&a.data&&a.data.search&&~a.data.search(n)&&t&&t.responseText&&t.responseText.length){var i=JSON.parse(t.responseText);if(i&&i.success)return o(i,a,t,e)}})}static lsGetRaw(e){return localStorage.getItem(e)}static lsGet(e){return JSON.parse(k.lsGetRaw(e))}static lsSetRaw(e,t){return localStorage.setItem(e,t)}static lsSet(e,t){return k.lsSetRaw(e,JSON.stringify(t))}static lsRm(e){return localStorage.removeItem(e)}static getWikiLink(e,t,a){e=(e=e.replaceAll("/","-")).replaceAll("’","");let i;return i=k.isGH()?`https://harem-battle.club/wiki/Gay-Harem/GH:${e}`:"en"===a?`https://harem-battle.club/wiki/Harem-Heroes/HH:${e}`:`http://hentaiheroes.go.yj.fr/?id=${t}`,i}static getAwakeningThreshold(){let e,t,a,i,n;if(window.girls_requirement_amount){const s=Object.keys(girls_requirement_amount);t=s.find(e=>girls_requirement_amount[e]>high_level_girl_owned[e]),t&&(a=high_level_girl_owned[t],i=girls_requirement_amount[t])}else{var o;!window.awakening_requirements||0<(o=awakening_requirements.findIndex(({girls_required:e},t)=>e>high_level_girl_owned[t]))&&(t=awakening_requirements[o-1].cap_level,a=high_level_girl_owned[o],i=awakening_requirements[o].girls_required,n=o)}return t&&(e={currentThreshold:t,currentThresholdOwned:a,currentThresholdMin:i,awakeningLevel:n}),e}static defer(e){C.push(e)}static runDeferred(){$(document).ready(()=>{C.forEach(e=>{try{e()}catch(e){console.error("Error in deferred function",e)}}),C.splice(0,C.length)})}static doWhenSelectorAvailable(e,t){if($(e).length)t();else{const a=new MutationObserver(()=>{$(e).length&&(a.disconnect(),t())});a.observe(document.documentElement,{childList:!0,subtree:!0})}}static isInClub(){return window.Chat_vars&&(window.Chat_vars.CLUB_ID||window.Chat_vars.CLUB_INFO&&window.Chat_vars.CLUB_INFO.id_club)}}const j=k;window.HHPlusPlus.Helpers=k;let I,A;const T=(e,t)=>{var a=I.get(e),t=Object.assign({},a,t);I.set(e,t)},S=e=>{e&&e.data&&!e.data.draft&&e.data.shards&&(I=j.getGirlDictionary(),e.data.shards.forEach(({id_girl:e,value:t})=>{e=`${e}`;T(e,{shards:Math.min(t,100)})}),j.setGirlDictionary(I))},D=e=>{var e=e["rewards"];S(e)},L=e=>{const t=e["rewards"];t&&t.forEach(S)},N=e=>{var e=e["rewards"];if(e){const t=e["list"];t&&t.forEach(S)}};class E{static collect(){j.defer(()=>{A=!1,I=j.getGirlDictionary(),j.isCurrentPage("harem")&&E.collectFromHarem(),j.isCurrentPage("event")&&E.collectFromEventWidget(),j.isCurrentPage("clubs")&&E.collectFromClubChamp(),j.isCurrentPage("battle")&&E.collectFromBattleResult(),j.isCurrentPage("pachinko")&&E.collectFromPachinkoRewards(),j.isCurrentPage("activities")&&E.collectFromContestRewards(),j.isCurrentPage("champion")&&E.collectFromChampions(),j.isCurrentPage("home")&&E.collectFromRewardsQueue(),j.isCurrentPage("season")&&E.collectFromSeasons(),j.isCurrentPage("tower-of-fame")&&E.collectFromLeague(),A&&j.setGirlDictionary(I)})}static collectFromHarem(){$("#harem_whole").length&&Object.entries(girlsDataList).forEach(([e,t])=>{var{name:a,shards:i,class:n,rarity:o,nb_grades:s,fav_graded:r,graded:t}=t,i=void 0!==i?i:100,n=parseInt(n,10),s=parseInt(s,10);let l=parseInt(r,10);l<0&&(l=t);t={name:a,shards:i,class:n,rarity:o,grade:s,pose:l,graded:t};a&&(T(e,t),A=!0)})}static collectFromEventWidget(){event_girls.forEach(({id_girl:e,name:t,shards:a,class:i,rarity:n})=>{void 0===a&&(a=100),t&&(T(`${e}`,{name:t,shards:a,class:parseInt(i,10),rarity:n}),A=!0)})}static collectFromClubChamp(){var e,t,a,i,n;window.club_champion_data&&(n=club_champion_data.reward["shards"],n&&n.length&&({id_girl:e,name:t,previous_value:a,girl_class:i,rarity:n}=n[0],T(`${e}`,{name:t,shards:a,class:parseInt(i,10),rarity:n}),A=!0))}static collectFromBattleResult(){j.onAjaxResponse(/action=do_battles_(leagues|seasons|troll)/i,D)}static collectFromPachinkoRewards(){j.onAjaxResponse(/action=play/i,D),j.onAjaxResponse(/action=claim/i,D)}static collectFromContestRewards(){j.onAjaxResponse(/action=give_reward/i,D)}static collectFromChampions(){j.onAjaxResponse(/class=TeamBattle/i,e=>{var e=e["end"];e&&D(e)})}static collectFromRewardsQueue(){j.onAjaxResponse(/action=process_rewards_queue/i,L)}static collectFromSeasons(){j.onAjaxResponse(/action=claim/i,D)}static collectFromLeague(){j.onAjaxResponse(/action=claim_rewards/i,N)}}const z=E,P=/(?<id>[0-9]+)\/ico(?<level>[0-9])(-[0-9]+x)?\.[a-z]+(\?v=[0-9]+)?$/i,O=/(?<element>[A-Z][a-z]+)\.[a-z]+(\?v=[0-9]+)?$/i,R=e=>{e=e.match(O);if(e&&e.groups){var{groups:{element:e}}=e;return e}};const H=class{static collect(){j.isCurrentPage("teams")&&j.defer(()=>{const t=window["teams_data"],e=Object.keys(t).map(e=>t[e]),l={},c=[];$('.team-slot-container[data-is-empty!="1"]').each((e,t)=>{var a=$(t).data("id-team"),{id:i,level:n}=(e=>{var t=e.match(P);if(!t||!t.groups)return{};var{groups:{id:e,level:t}}=t;return{id:e,level:t}})($(t).find("img").attr("girl-ico-src"));const o=$(t).find(".team-slot-themes-container img").map((e,t)=>$(t).attr("src")).toArray();var s=o.map(R);const r=$(t).attr("class").replace(/\s+/g," ").split(" ");t=["mythic","legendary","epic","rare","common","starting"].find(e=>r.includes(e));l[a]={teamId:a,iconId:i,iconLevel:n,iconRarity:t,themeElements:s},c.push(a)}),c.forEach(t=>{l[t].girls=e.find(e=>e.id_team==t).girls_ids});var a={teamsDict:l,teamIds:c};j.setTeamsDictionary(a)})}};class G{static collect(){j.defer(()=>{G.clean(),j.hasSearch("tab=event")&&G.collectFromEvent(f.EVENT_TIME,f.EVENT_VILLAINS),j.hasSearch("tab=mythic_event")&&G.collectFromEvent(f.MYTHIC_EVENT_TIME,f.MYTHIC_EVENT_VILLAINS)})}static clean(){var e=parseInt(j.lsGetRaw(f.EVENT_TIME))||0,t=parseInt(j.lsGetRaw(f.MYTHIC_EVENT_TIME))||0,a=server_now_ts;e<a&&(j.lsRm(f.EVENT_VILLAINS),j.lsRm(f.EVENT_TIME)),t<a&&(j.lsRm(f.MYTHIC_EVENT_VILLAINS),j.lsRm(f.MYTHIC_EVENT_TIME))}static collectFromEvent(e,t){var a=server_now_ts+event_data.seconds_until_event_end;j.lsSetRaw(e,a);const n=[];event_girls.forEach(e=>{var{id_girl:t,source:a,rarity:e}=e;if("event_troll"===a.name){const i=a.anchor_source.url;a=i.match(/id_opponent=([0-9]+)/);a&&(a=a[1],n.push({id:`${t}`,troll:a,rarity:e}))}}),j.lsSet(t,n)}}const Z=G,B={fights:0,victories:0,losses:0,won_mojo:0,lost_mojo:0};class U{static collect(){j.defer(()=>{U.migrate(),j.isCurrentPage("season")&&!j.isCurrentPage("season-arena")&&U.rollOverStats(),(j.isCurrentPage("season-arena")||j.isCurrentPage("battle"))&&U.collectFromBattle()})}static migrate(){var e;j.lsGetRaw(f.SEASON_STATS)||(e=j.lsGetRaw("SeasonStats"))&&j.lsSetRaw(f.SEASON_STATS,e)}static collectFromBattle(){j.onAjaxResponse(/action=do_battles_seasons/i,e=>{const t=e["rewards"];if(t&&t.data&&t.data.rewards){e=t.data.rewards.find(({type:e})=>"victory_points"===e);if(e){const a=j.lsGet(f.SEASON_STATS)||{...B};e=parseInt(e.value,10);a.fights+=1,0<e?(a.victories+=1,a.won_mojo+=e):(a.losses+=1,a.lost_mojo-=e),j.lsSet(f.SEASON_STATS,a)}}})}static rollOverStats(){var e,t=server_now_ts;(e=parseInt(j.lsGetRaw(f.SEASON_END_TIME)||"0",10))<t&&(j.lsSetRaw(f.OLD_SEASON_STATS,j.lsGetRaw(f.SEASON_STATS)),j.lsSet(f.SEASON_STATS,B),e=t+season_sec_untill_event_end,j.lsSetRaw(f.SEASON_END_TIME,e))}}const F=U,q=e=>{var t=(e=>{let t=0;return e<2e3?t=5+2*e:e<4e3?t=4005+4*(e-2e3):e<6e3?t=12005+6*(e-4e3):e<8e3?t=24005+8*(e-6e3):e<1e4?t=40005+10*(e-8e3):e<12e3?t=60005+12*(e-1e4):e<14e3?t=84005+14*(e-12e3):e<16e3&&(t=112005+16*(e-14e3)),t})(e);let a=0;return e<2e3?a=(7+t)/2*e:e<4e3?a=4012e3+(4009+t)/2*(e-2e3):e<6e3?a=20026e3+(12011+t)/2*(e-4e3):e<8e3?a=56042e3+(24013+t)/2*(e-6e3):e<1e4?a=12006e4+(40015+t)/2*(e-8e3):e<12e3?a=22008e4+(60017+t)/2*(e-1e4):e<14e3?a=364102e3+(84019+t)/2*(e-12e3):e<16e3&&(a=560126e3+(112021+t)/2*(e-14e3)),a},Q={xp:"potion",aff:"gift",booster:"booster"},W={xp:"books",aff:"gifts",booster:"boosters"},Y=["xp","aff"],K=["xp","aff","booster"];var V=a(1296),J=a.n(V);let X;const ee=()=>{j.lsSet(f.MARKET_INFO,X)},te=e=>"string"==typeof e?parseInt(e,10):e,ae=e=>J()(e,200,{leading:!1,trailing:!0});class ie{static collect(){j.isCurrentPage("shop")&&j.defer(()=>{X=j.lsGet(f.MARKET_INFO)||{};const t=ae(async e=>{ie.collectBuyableItemsOfType(e),ee()}),a=ae(async e=>{ie.collectSellableItemsOfType(e),ee(),$(document).trigger("market:inventory-updated")});var e=ae(async()=>{ie.collectEquipsList(),ee(),$(document).trigger("market:equips-updated")});Y.forEach(e=>{new MutationObserver(()=>t(e)).observe($(`.merchant-inventory-container.${Q[e]} .${Q[e]}`)[0],{childList:!0})}),K.forEach(e=>{new MutationObserver(()=>a(e)).observe($(`#inventory .${Q[e]} .inventory_slots > div, .right-container .player-inventory-content.${Q[e]} > div, #${W[e]}-tab-container #player-inventory`)[0],{childList:!0,subtree:!0})}),new MutationObserver(e).observe($("#inventory .armor .inventory_slots > div, #equipement-tab-container #player-inventory")[0],{childList:!0}),ie.collectRefreshTime(),ie.collectBuyableItems(),ie.collectSellableItems(),ie.collectEquipsList(),ee()})}static collectRefreshTime(){X.refreshTime=server_now_ts+parseInt($(".shop_count .restock-timer").attr("data-time-stamp"),10),X.refreshLevel=Hero.infos.level}static collectBuyableItems(){X.buyableItems||(X.buyableItems={}),Y.forEach(ie.collectBuyableItemsOfType)}static collectBuyableItemsOfType(e){const n={sc:{count:0,cost:0,value:0},hc:{count:0,cost:0,value:0}};window.market_inventory[Q[e]].forEach(e=>{var{price_buy:t,item:{currency:a,value:e}}=e;const i=n[a];i.count+=1,i.cost+=te(t),i.value+=te(e)}),X.buyableItems[e]=n}static collectSellableItems(){X.sellableItems||(X.sellableItems={booster:{count:0,cost:0},xp:{count:0,cost:0,value:0},aff:{count:0,cost:0,value:0}}),K.forEach(e=>ie.collectSellableItemsOfType(e))}static collectSellableItemsOfType(s){const r={count:0,cost:0,value:0};$(`#inventory .${Q[s]} .slot:not(.empty), #${W[s]}-tab-container #player-inventory .slot-container:not(.empty) .slot`).each((e,t)=>{var{count:a,quantity:i,item:n,value:o,price_sell:t}=$(t).data("d"),i=te(a||i);r.count+=i,r.cost+=te(t)*i,["xp","aff"].includes(s)&&(r.value+=te(o||n.value)*i)}),X.sellableItems[s]=r}static collectEquipsList(){const a={count:0,cost:0};$("#inventory .armor .slot:not(.empty), #equipement-tab-container #player-inventory .slot-container:not(.empty) .slot").each((e,t)=>{var t=$(t).data("d")["price_sell"];a.count+=1,a.cost+=te(t)}),X.equipsAggregate=a}}const ne=ie,oe={leaguePlayers:f.LEAGUE_PLAYERS,oldLeaguePlayers:f.LEAGUE_PLAYERS_OLD,pointHistory:f.LEAGUE_POINT_HISTORY,oldPointHistory:f.LEAGUE_POINT_HISTORY_OLD,leagueResults:f.LEAGUE_RESULTS,oldLeagueResults:f.LEAGUE_RESULTS_OLD,leagueScore:f.LEAGUE_SCORE,oldLeagueScore:f.LEAGUE_SCORE_OLD,leagueTime:f.LEAGUE_TIME,oldLeagueTime:f.LEAGUE_TIME_OLD,leagueUnknown:f.LEAGUE_UNKNOWN,oldLeagueUnknown:f.LEAGUE_UNKNOWN_OLD};class se{static collect(){j.isCurrentPage("battle")&&!j.isCurrentPage("pre-battle")&&se.collectLeagueBattlePoints(),j.isCurrentPage("tower-of-fame")&&j.defer(()=>{se.migrate(),se.clean(),se.setupListeners()})}static clean(){var e=server_now_ts+season_end_at,t=j.lsGet(f.LEAGUE_TIME);t?t<e&&(j.lsSetRaw(f.LEAGUE_PLAYERS_OLD,j.lsGetRaw(f.LEAGUE_PLAYERS)),j.lsSetRaw(f.LEAGUE_POINT_HISTORY_OLD,j.lsGetRaw(f.LEAGUE_POINT_HISTORY)),j.lsSetRaw(f.LEAGUE_RESULTS_OLD,j.lsGetRaw(f.LEAGUE_RESULTS)),j.lsSetRaw(f.LEAGUE_SCORE_OLD,j.lsGetRaw(f.LEAGUE_SCORE)),j.lsSetRaw(f.LEAGUE_UNKNOWN_OLD,j.lsGetRaw(f.LEAGUE_UNKNOWN)),j.lsSet(f.LEAGUE_TIME_OLD,t),j.lsRm(f.LEAGUE_PLAYERS),j.lsRm(f.LEAGUE_POINT_HISTORY),j.lsRm(f.LEAGUE_RESULTS),j.lsRm(f.LEAGUE_SCORE),j.lsRm(f.LEAGUE_UNKNOWN),j.lsSet(f.LEAGUE_TIME,e),$(document).trigger("league:rollover")):j.lsSet(f.LEAGUE_TIME,e)}static migrate(){Object.entries(oe).forEach(([e,t])=>{e=j.lsGetRaw(e);e&&!j.lsGetRaw(t)&&j.lsSetRaw(t,e)})}static collectLeagueBattlePoints(){j.onAjaxResponse(/action=do_battles_leagues/i,(t,a)=>{const e=new URLSearchParams(a.data);a=e.get("id_opponent");if(!(1<e.get("number_of_battles"))){t=t.rewards.heroChangesUpdate.league_points;const i=j.lsGet(f.LEAGUE_POINT_HISTORY)||{};try{i[a].points.push(t)}catch(e){i[a]={points:[t]}}j.lsSet(f.LEAGUE_POINT_HISTORY,i)}})}static setupListeners(){new MutationObserver(()=>{$(document).trigger("league:player-selected")}).observe(document.getElementById("leagues_right"),{childList:!0})}}const re=se,le={pop:0,popDuration:0,champ:0,champs:{},clubChamp:0,gp:0},ce=()=>j.lsGet(f.TRACKED_TIMES)||le,pe=e=>{j.lsSet(f.TRACKED_TIMES,e)};class de{static collect(){j.defer(()=>{j.isCurrentPage("activities")&&de.collectPoPTime(),j.isCurrentPage("pachinko")&&(de.collectPachinkoTime(),de.collectRealtimePachinkoUpdateFromAjax()),(j.isCurrentPage("club-champion")||j.isCurrentPage("clubs"))&&(de.collectClubChampionTime(),de.collectRealtimeClubChampionUpdateFromAjax()),j.isCurrentPage("champions-map")&&de.collectChampionTimesFromMap(),j.isCurrentPage("champions/")&&(de.collectChampionTime(),de.collectRealtimeChampionUpdateFromAjax())})}static collectPoPTime(){const e=ce();var{server_now_ts:t,pop_data:a}=window;a&&(a=Object.values(a).map(({remaining_time:e,time_to_finish:t})=>({endAt:parseInt(e),duration:parseInt(t)})).filter(({endAt:e})=>e).sort((e,t)=>e.endAt>t.endAt?1:-1)[0]||{endAt:0,duration:0},e.pop=t+a.endAt,e.popDuration=a.duration,pe(e))}static collectPachinkoTime(){const e=ce();var{server_now_ts:t,pachinkoVar:a}=window,a=a["next_game"];a<=86400&&(e.gp=t+a),pe(e)}static collectRealtimePachinkoUpdateFromAjax(){j.onAjaxResponse(/action=play/,(e,t)=>{if(e.success){const i=new URLSearchParams(t.data),n=window["pachinkoDef"];var a=n.find(e=>e.id==i.get("what").slice(-1)).type,t=i.get("how_many");if("great"==a&&1==t&&e.next_game){const o=ce();o.gp=Math.round((new Date).getTime()/1e3)+e.next_game,pe(o)}}})}static collectClubChampionTime(){const t=ce(),{championData:e,club_champion_data:a}=window;[e,a].forEach(e=>{e&&e.timers&&(e.timers.teamRest||e.timers.championRest)&&(t.clubChamp=parseInt(e.timers.teamRest||e.timers.championRest))}),pe(t)}static collectRealtimeClubChampionUpdateFromAjax(){j.onAjaxResponse(/battle_type=club_champion/,e=>{if(e.success){const t=ce();0<e.final.attacker_ego?t.clubChamp=window.server_now_ts+86400:t.clubChamp=window.server_now_ts+900,pe(t)}})}static collectChampionTimesFromMap(){const e=ce(),s={};let r=0;const l=/champions\/(?<id>\d+)/;$("a.champion-lair").each((e,t)=>{const a=$(t),i=a.attr("href");t=i.match(l);if(t&&t.groups){var{groups:{id:t}}=t;const n={available:!0},o=a.find("[timer]");o.length&&(n.time=parseInt(o.attr("timer")),(!r||n.time<r)&&(r=n.time)),s[t]=n}}),e.champs=s,e.champ=r,pe(e)}static collectChampionTime(){const t=ce();var{championData:a,server_now_ts:i}=window;if(a&&a.timers&&a.timers&&!Array.isArray(a.timers)){var{champion:{id:n},timers:{teamRest:o,championRest:a}}=a;let e;o?e=parseInt(o):a&&(e=parseInt(a)),t.champs[n]={available:!0,time:e},e&&(t.champ<i||t.champ>e)&&(t.champ=e)}pe(t)}static collectRealtimeChampionUpdateFromAjax(){j.onAjaxResponse(/battle_type=champion/,t=>{if(t.success){const i=ce();var a=t.defender.id;let e;e=0<t.final.attacker_ego?window.server_now_ts+86400:window.server_now_ts+900,i.champs[a].time=e,(i.champ>e||i.champ<window.server_now_ts)&&(i.champ=e),pe(i)}})}}const ue=de,ge={normal:[],mythic:[]};class me{static collect(){j.defer(()=>{j.isCurrentPage("shop")&&me.collectFromMarket(),me.collectFromAjaxResponses(),me.collectFromHeroUpdate()})}static collectFromAjaxResponses(){j.onAjaxResponse(/(action|class)/,(c,e)=>{const p=j.lsGet(f.BOOSTER_STATUS)||ge,t=new URLSearchParams(e.data);var{action:d,class:u,type:a,id_item:i,number_of_battles:g,battles_amount:m}=["action","class","type","id_item","number_of_battles","battles_amount"].map(e=>({[e]:t.get(e)})).reduce((e,t)=>Object.assign(e,t),{}),{success:n,equipped_booster:e}=c;if(n)if("market_equip_booster"!==d||"booster"!==a){let e=!1,t,a,i,n,o,s,r,l;if(p.mythic.forEach(e=>{switch(e.item.identifier){case"MB1":t=e;break;case"MB2":a=e;break;case"MB3":i=e;break;case"MB4":n=e;break;case"MB5":o=e;break;case"MB7":s=e;break;case"MB8":r=e;break;case"MB9":l=e}}),t&&"do_battles_trolls"===d){const h=1<parseInt(g),b=c["rewards"];if(b&&b.data&&b.data.shards){let a=0;b.data.shards.forEach(({previous_value:e,value:t})=>{h?(e=t-e,a+=Math.floor(e/2)):a++}),t.usages_remaining-=a,e=!0}}!a||"do_battles_leagues"!==d&&"do_battles_seasons"!==d||(a.usages_remaining-=parseInt(g),e=!0),!i||"do_battles_pantheon"!==d&&"do_battles_trolls"!==d||(i.usages_remaining-=parseInt(g),e=!0),n&&"TeamBattle"===u&&(n.usages_remaining-=parseInt(m),e=!0),o&&"do_battles_seasons"===d&&(o.usages_remaining-=parseInt(g),e=!0),s&&"start"===d&&"TempPlaceOfPower"===u&&(s.usages_remaining--,e=!0),r&&"do_battles_leagues"==d&&(r.usages_remaining-=parseInt(g),e=!0),l&&"do_battles_seasons"==d&&(l.usages_remaining-=parseInt(g),e=!0),p.mythic=p.mythic.filter(({usages_remaining:e})=>0<e),j.lsSet(f.BOOSTER_STATUS,p),e&&$(document).trigger("boosters:updated-mythic")}else{g=parseInt(i),g=632<=g&&g<=638;e&&(e={...e},g?p.mythic.push(e):p.normal.push({...e,endAt:e.lifetime}),j.lsSet(f.BOOSTER_STATUS,p),$(document).trigger("boosters:equipped",{id_item:i,isMythic:g,new_id:e.id_member_booster_equipped}))}})}static collectFromHeroUpdate(){const r=window.Hero.update.bind(window.Hero);window.Hero.update=(e,t,a)=>{if("xp"===e){const o=j.lsGet(f.BOOSTER_STATUS)||ge,s=o.mythic.find(({item:{identifier:e}})=>"MB6"===e);if(s){var{cur:i,level:n}=window.Hero.infos.Xp;let e=.05;n<300&&(e=.2);n=(n=j.lsGet(f.CLUB_STATUS))?n.upgrades.experience_gain.bonus:j.isInClub()?.1:0,n=Math.ceil(Math.floor((t-i)/(1+n+e))*e);s.usages_remaining-=n,o.mythic=o.mythic.filter(({usages_remaining:e})=>0<e),j.lsSet(f.BOOSTER_STATUS,o),$(document).trigger("boosters:updated-mythic")}}return r(e,t,a)}}static collectFromMarket(){const{equipped_booster:e,server_now_ts:t}=window;var a={normal:e.normal.map(e=>({...e,endAt:t+e.expiration})),mythic:e.mythic};j.lsSet(f.BOOSTER_STATUS,a)}}const he=me;const be=class{static collect(){j.defer(()=>{if(j.isCurrentPage("clubs")&&window.members_list){const{upgrades_information:{upgrades:t},members_list:a}=window;var e={upgrades:t,memberIds:a.map(({id_member:e})=>e)};j.lsSet(f.CLUB_STATUS,e)}})}};class fe{static collect(){fe.init(),j.isCurrentPage("side-quests")?j.defer(fe.collectFromSidequests):j.isCurrentPage("home")?j.defer(fe.collectFromHome):j.isCurrentPage("quest")&&j.defer(()=>{var e=j.lsGet(f.SIDEQUEST_STATUS);e&&e.continueLink&&j.isCurrentPage(e.continueLink)&&fe.collectFromActiveSidequest(e)})}static init(){j.lsGet(f.SIDEQUEST_STATUS)||j.lsSet(f.SIDEQUEST_STATUS,{energySpendAvailable:!0})}static collectFromSidequests(){const e=window["quests_data"];let t=!1,a;var i=e.find(e=>!!e.rewards.rewards&&e.rewards.rewards.find(({type:e})=>"xp"===e));i&&(t=!0,a=`/quest/${i.id_quest}`),j.lsSet(f.SIDEQUEST_STATUS,{energySpendAvailable:t,continueLink:a})}static collectFromActiveSidequest(t){var e=()=>{const e=$("#controls");(e.find("#end_play").length||e.find("#archive-back").length||e.find("#archive-next").length)&&(t.continueLink=null,j.lsSet(f.SIDEQUEST_STATUS,t))};e(),new MutationObserver(e).observe(document.getElementById("controls"),{childList:!0})}static collectFromHome(){if($("[rel=map] .button-notification-new").length){const e=j.lsGet(f.SIDEQUEST_STATUS);e&&!e.energySpendAvailable&&(e.energySpendAvailable=!0,j.lsSet(f.SIDEQUEST_STATUS,e))}}}const ve=fe,ye={pov:f.PATH_TIME_POV,pog:f.PATH_TIME_POG};class _e{static collect(){j.doWhenSelectorAvailable(".potions-paths-timer",()=>{j.isCurrentPage("path-of-valor")&&_e.collectEndTime("pov"),j.isCurrentPage("path-of-glory")&&_e.collectEndTime("pog")})}static collectEndTime(a){const e=$(".potions-paths-timer");let i=e.data("time-stamp");const t=()=>{var e=window.server_now_ts+i,t=ye[a];j.lsSet(t,e)};if(i)t();else{const n=new MutationObserver(()=>{i&&(t(),n.disconnect())});n.observe(e[0],{attributes:!0})}}}const we=_e;const xe=class{static collect(){j.isCurrentPage("harem")&&!j.isCurrentPage("hero")&&j.defer(()=>{["resetGirlsList","initFiltersAndSorting"].forEach(e=>{var t=window.harem[e].bind(window.harem);window.harem[e]=((e,...t)=>{t=e(...t);const{harem:{sortedGirls:a,filteredGirlsIds:i}}=window;return a&&i&&setTimeout(j.lsSet(f.HAREM_FILTER_IDS,a.filter(({id_girl:e,own:t})=>t&&i.includes(e)).map(({id_girl:e})=>`${e}`))),t}).bind(this,t)})})}};class Me{static run(){j.onAjaxResponse(/action=leaderboard/,(e,t)=>{var a=e["leaderboard"];const i=new URLSearchParams(t.data);switch(i.get("feature")){case"path_of_valor":Me.annotateTable("#pov_leaderboard_tab_container #leaderboard_list",a);break;case"path_of_glory":Me.annotateTable("#pog_leaderboard_tab_container #leaderboard_list",a);break;default:Me.annotateTable("#leaderboard_list",a)}})}static annotateTable(t,a){j.doWhenSelectorAvailable(`${t} .leaderboard_row`,()=>{const e=$(t);e.find(".leaderboard_row:not(.build-at-bottom):not(.script-season-leaderboard-fix)").each((e,t)=>{$(t).attr("sorting_id",a[e].id_member)}),$(document).trigger("leaderboard-annotated",{selector:t})})}}const Ce=Me;let ke;const Ie=[];class Ae{static get(){var e;return ke||(e=document.createElement("style"),document.head.appendChild(e),{sheet:ke}=e),ke}static registerVar(e,t){Ie.includes(e)||(Ae.get().insertRule(`:root {--${e}: ${t};}`),Ie.push(e))}}const Te=Ae;window.HHPlusPlus.Sheet=Ae;const Se=JSON.parse('[{"name":"xnh0x","tier":"gold","flairs":[{"game":"HH","platform":"nutaku","id":"4443024"}]},{"name":"Darkyz","tier":"silver","flairs":[{"game":"HH","platform":".com","id":"124704"},{"game":"CxH","platform":".com","id":"29164"},{"game":"PSH","platform":".com","id":"1851"}]},{"name":"sliqguy","tier":"silver","flairs":[{"game":"HH","platform":"nutaku","id":"977263"}]}]');let De;const Le=class{static async getSupporters(){return De=De||Se,De}};var Ne="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnDQogICBpZD0iTGF5ZXJfMSINCiAgIGRhdGEtbmFtZT0iTGF5ZXIgMSINCiAgIHZpZXdCb3g9IjAgMCAxMDAgMTAwIg0KICAgdmVyc2lvbj0iMS4xIg0KICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIg0KICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogIDxkZWZzDQogICAgIGlkPSJkZWZzNCI+DQogICAgPGxpbmVhckdyYWRpZW50DQogICAgICAgaWQ9ImxpbmVhckdyYWRpZW50NDE3NDYiPg0KICAgICAgPHN0b3ANCiAgICAgICAgIHN0eWxlPSJzdG9wLWNvbG9yOiNmZmZmZmY7c3RvcC1vcGFjaXR5OjE7Ig0KICAgICAgICAgb2Zmc2V0PSIwIg0KICAgICAgICAgaWQ9InN0b3A0MTc0NCIgLz4NCiAgICA8L2xpbmVhckdyYWRpZW50Pg0KICAgIDxzdHlsZQ0KICAgICAgIGlkPSJzdHlsZTIiPi5jbHMtMXtvcGFjaXR5OjAuNjt9LmNscy0ye2ZpbGw6I2QzMWM1Yjt9LmNscy0ze2ZpbGw6I2ZmZjt9PC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8cGF0aA0KICAgICBjbGFzcz0iY2xzLTEiDQogICAgIGQ9Ik0gOTAuMjgxNzg3LDUyLjk5MTQ4NCBBIDQ1LjE0MDg5Myw0NS4xNDA4OTMgMCAxIDEgNDUuMTQwODkzLDcuODUwNTkwMSA0NS4xNDA4OTMsNDUuMTQwODkzIDAgMCAxIDkwLjI4MTc4Nyw1Mi45OTE0ODQgWiINCiAgICAgaWQ9InBhdGg2Ig0KICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjEiIC8+DQogIDxjaXJjbGUNCiAgICAgY2xhc3M9ImNscy0yIg0KICAgICBjeD0iNDUuMTQwODkyIg0KICAgICBjeT0iNDUuMTQwODkyIg0KICAgICByPSI0NS4xNDA4OTIiDQogICAgIGlkPSJjaXJjbGU4Ig0KICAgICBzdHlsZT0iZmlsbDojZDRhYTAwO2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoxIiAvPg0KICA8cGF0aA0KICAgICBjbGFzcz0iY2xzLTMiDQogICAgIGQ9Ik0gNDUuMTQwODkzLDUuNDE2OTA3MiBBIDM5LjcyMzk4NiwzOS43MjM5ODYgMCAxIDAgODQuODY0ODc5LDQ1LjE0MDg5MyAzOS43MjM5ODYsMzkuNzIzOTg2IDAgMCAwIDQ1LjE0MDg5Myw1LjQxNjkwNzIgWiBtIDIzLjU1MTc3MSw1Ny4zODc4MTM4IC01LjcyMTExNywtMTcuNjYzODI4IC0xMC41NDkyMzIsMy40NTQyNTkgMC4yMDYwNzksMC42NDc2NzQgNS40NTYxNiwxNi44MTk4OSB2IDAgbCAwLjA0OTA3LDAuMTY2ODI1IC05LjI0NDA3LDcuMTM0MjI0IEwgNDEuOTcxMjIyLDUyLjAxMDE1OSAzMS41MTAzMSw1NS40MDU1NCAzNy4xNzI1NDksNzIuOTQxNzk2IDI2LjcxMTYzNyw3Ni4zNTY4MDIgMjEuMDk4NDY1LDU4Ljg3OTQyNiAxNy42MDQ5NTIsNTkuOTk4MTM1IDE0LjIxOTM4NSw0OS41NDcwMzcgMTcuNjYzODMyLDQ4LjM3OTI2MiAxMi4wMzEwMzMsMzAuODAzNzUzIDIyLjQ2MjUwNSwyNy40NzcwNjYgMjguMTgzNjIzLDQ1LjE0MDg5MyAzOC43MTMyMjYsNDEuNzQ1NTEzIDM4LjEyNDQzMywzOS45MTA0MzcgMzMuMDUwOTg5LDI0LjIxOTA3IHYgMCBsIC0wLjA1ODg4LC0wLjE2NjgyNCA5LjI1Mzg4NCwtNy4xMzQyMjUgNi44NjkyNjUsMjEuMzQzNzkzIDEwLjQ3MDcyNSwtMy4zNzU3NTQgLTUuNjEzMTcxLC0xNy41NTU4ODMgMTAuNDUxMDk3LC0zLjQwNTE5MiA1LjYxMzE3MywxNy40NzczNzUgMy40OTM1MTIsLTEuMTI4NTIxIDMuMzg1NTY3LDEwLjUwMDE2NCAtMy40ODM2OTksMS4xNTc5NjEgNS42NzIwNTEsMTcuNTg1MzIzIHoiDQogICAgIGlkPSJwYXRoMTAiDQogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MTtvcGFjaXR5OjAuODAwOTc4NzkiIC8+DQogIDx0ZXh0DQogICAgIHhtbDpzcGFjZT0icHJlc2VydmUiDQogICAgIHN0eWxlPSJmb250LXNpemU6NDBweDtsaW5lLWhlaWdodDoxLjI1O2ZvbnQtZmFtaWx5OidDYXJ0ZXIgT25lJzstaW5rc2NhcGUtZm9udC1zcGVjaWZpY2F0aW9uOidDYXJ0ZXIgT25lLCBOb3JtYWwnO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXN0eWxlOm5vcm1hbDtmb250LXN0cmV0Y2g6bm9ybWFsO2ZvbnQtdmFyaWFudDpub3JtYWw7Zm9udC12YXJpYW50LWxpZ2F0dXJlczpub3JtYWw7Zm9udC12YXJpYW50LWNhcHM6bm9ybWFsO2ZvbnQtdmFyaWFudC1udW1lcmljOm5vcm1hbDtmb250LXZhcmlhbnQtZWFzdC1hc2lhbjpub3JtYWwiDQogICAgIHg9IjcyLjA1MDQiDQogICAgIHk9IjgwLjA2ODcyNiINCiAgICAgaWQ9InRleHQxNzc3Ij48dHNwYW4NCiAgICAgICBpZD0idHNwYW4xNzc1Ig0KICAgICAgIHg9IjcyLjA1MDQiDQogICAgICAgeT0iODAuMDY4NzI2IiAvPjwvdGV4dD4NCiAgPGcNCiAgICAgYXJpYS1sYWJlbD0iKysiDQogICAgIHRyYW5zZm9ybT0ic2NhbGUoMC45OTgxNTgyOSwxLjAwMTg0NTEpIg0KICAgICBpZD0idGV4dDIwODA1Ig0KICAgICBzdHlsZT0iZm9udC1zaXplOjgyLjUwMzlweDtsaW5lLWhlaWdodDoxLjI1O2ZvbnQtZmFtaWx5OnNlcmlmOy1pbmtzY2FwZS1mb250LXNwZWNpZmljYXRpb246c2VyaWY7bGV0dGVyLXNwYWNpbmc6LTMuNjM1MzNweDtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MyI+DQogICAgPHBhdGgNCiAgICAgICBkPSJtIDQwLjA2MjUzMSw4Mi45NzE2MjMgcSAtMi4wNTQ1NCwwLjA0MDI5IC0zLjYyNTY2LDAuMDQwMjkgLTEuNTMwODM0LDAgLTIuNDU3MzkxLDAgLTIuNDE3MTA3LDAgLTMuNjI1NjYsLTAuMjAxNDI2IC0xLjE2ODI2OCwtMC4yNDE3MTEgLTEuMTY4MjY4LC0wLjkyNjU1NyAwLC0wLjM2MjU2NiAwLjIwMTQyNiwtMS40OTA1NDkgMC4yNDE3MSwtMS4xNjgyNjggMC41MjM3MDYsLTIuNTc4MjQ3IDAuMzIyMjgxLC0xLjQ1MDI2NCAwLjYwNDI3NywtMi45MDA1MjggMC4zMjIyODEsLTEuNDkwNTQ5IDAuNTIzNzA2LC0yLjQ5NzY3NiAwLjA4MDU3LC0wLjQ4MzQyMiAwLjYwNDI3NywtMC44ODYyNzMgMC41NjM5OTEsLTAuNDAyODUxIDEuNDUwMjY0LC0wLjQ0MzEzNiBsIDguMDk3MzA2LC0wLjEyMDg1NSAwLjA4MDU3LC0wLjg0NTk4OCBxIDAuMjAxNDI2LC0yLjczOTM4NyAwLjI4MTk5NiwtNC43MTMzNTcgMC4wODA1NywtMS45NzM5NyAwLjI0MTcxMSwtMy4yMjI4MDkgMC4yMDE0MjUsLTEuMjQ4ODM4IDAuNjA0Mjc2LC0xLjgxMjgyOSAwLjQwMjg1MSwtMC42MDQyNzcgMS4yNDg4MzksLTAuNjA0Mjc3IDAuMDgwNTcsMCAwLjE2MTE0LDAuMDQwMjggMC4xMjA4NTUsMCAwLjI0MTcxMSwwIDAuMjQxNzEsMCAwLjcyNTEzMiwwIDAuNTIzNzA2LC0wLjA0MDI4IDEuMTY4MjY4LC0wLjA0MDI4IDAuNjQ0NTYxLC0wLjA0MDI4IDEuNDA5OTc4LC0wLjA0MDI4IDAuNzY1NDE3LC0wLjA0MDI5IDEuNDkwNTQ5LC0wLjA0MDI5IGwgMy44MjcwODUsLTAuMTIwODU1IHEgMC41NjM5OTIsMC4xNjExNCAwLjg0NTk4OCwwLjQ0MzEzNiAwLjI4MTk5NSwwLjI0MTcxIDAuMjgxOTk1LDAuOTY2ODQyIDAsMC4wODA1NyAwLDAuMTIwODU2IDAsMC4wNDAyOSAtMC4wNDAyOCwwLjI4MTk5NSAwLDAuMjQxNzExIC0wLjA0MDI4LDAuNzY1NDE3IC0wLjA0MDI5LDAuNTIzNzA3IC0wLjEyMDg1NSwxLjU3MTExOSAtMC4wODA1NywxLjA0NzQxMyAtMC4yNDE3MTEsMi43Nzk2NzMgLTAuMTIwODU1LDEuNjkxOTc0IC0wLjMyMjI4MSw0LjI3MDIyMSBsIDAuNjg0ODQ3LC0wLjA0MDI4IHEgMS40OTA1NDksLTAuMDQwMjkgMi45MDA1MjgsLTAuMDgwNTcgMS40NTAyNjQsLTAuMDQwMjggMi42MTg1MzIsLTAuMDQwMjggMS4yMDg1NTMsLTAuMDQwMjggMi4wNTQ1NCwtMC4wNDAyOCAwLjg4NjI3MywtMC4wNDAyOCAxLjI0ODgzOSwtMC4wNDAyOCAwLjMyMjI4LDAgMC43MjUxMzIsMC4yNDE3MSAwLjQwMjg1MSwwLjI0MTcxMSAwLjQwMjg1MSwwLjkyNjU1OCAtMC4wNDAyOSwwLjA4MDU3IC0wLjIwMTQyNiwxLjU3MTExOSAtMC4xNjExNCwxLjQ5MDU0OSAtMC40NDMxMzYsNC4wNjg3OTYgbCAtMC40NDMxMzYsMy45MDc2NTUgcSAtMC4yNDE3MTEsMC41NjM5OTEgLTAuNDgzNDIyLDAuODQ1OTg3IC0wLjIwMTQyNSwwLjI0MTcxMSAtMC42NDQ1NjEsMC4zNjI1NjYgLTAuNDQzMTM2LDAuMTIwODU1IC0xLjI4OTEyNCwwLjE2MTE0MSAtMC44MDU3MDIsMCAtMi4yMTU2ODEsMC4wNDAyOCBsIC01Ljg4MTYyNSwwLjEyMDg1NSAtMC41MjM3MDcsNS44ODE2MjYgcSAtMC4xMjA4NTUsMS41MzA4MzQgLTAuMzIyMjgsMi41Mzc5NjEgLTAuMTYxMTQxLDAuOTY2ODQzIC0wLjQwMjg1MSwxLjUzMDgzNCAtMC4yNDE3MTEsMC41NjM5OTIgLTAuNjA0Mjc3LDAuODA1NzAyIC0wLjMyMjI4MSwwLjIwMTQyNiAtMC43NjU0MTcsMC4yMDE0MjYgLTAuNjg0ODQ3LDAgLTEuODUzMTE1LDAgLTEuMTY4MjY4LC0wLjA0MDI4IC0yLjQ5NzY3NywtMC4wODA1NyAtMS4yODkxMjMsLTAuMDQwMjggLTIuNTc4MjQ2LC0wLjA0MDI4IC0xLjI4OTEyNCwtMC4wNDAyOSAtMi4xNzUzOTYsLTAuMDQwMjkgLTAuNDgzNDIyLC0wLjA4MDU3IC0wLjgwNTcwMiwtMC40ODM0MjIgLTAuMjgxOTk2LC0wLjQwMjg1MSAtMC4yODE5OTYsLTEuMjA4NTUzIFYgOTEuNjMyOTIgWiINCiAgICAgICBzdHlsZT0iZm9udC1mYW1pbHk6J0NhcnRlciBPbmUnOy1pbmtzY2FwZS1mb250LXNwZWNpZmljYXRpb246J0NhcnRlciBPbmUsIE5vcm1hbCc7ZmlsbDojZmZmZmZmIg0KICAgICAgIGlkPSJwYXRoNDgzNjciIC8+DQogICAgPHBhdGgNCiAgICAgICBkPSJtIDc1LjE0MTE5LDgyLjk3MTYyMyBxIC0yLjA1NDU0LDAuMDQwMjkgLTMuNjI1NjYsMC4wNDAyOSAtMS41MzA4MzQsMCAtMi40NTczOTEsMCAtMi40MTcxMDYsMCAtMy42MjU2NiwtMC4yMDE0MjYgLTEuMTY4MjY4LC0wLjI0MTcxMSAtMS4xNjgyNjgsLTAuOTI2NTU3IDAsLTAuMzYyNTY2IDAuMjAxNDI2LC0xLjQ5MDU0OSAwLjI0MTcxLC0xLjE2ODI2OCAwLjUyMzcwNiwtMi41NzgyNDcgMC4zMjIyODEsLTEuNDUwMjY0IDAuNjA0Mjc3LC0yLjkwMDUyOCAwLjMyMjI4MSwtMS40OTA1NDkgMC41MjM3MDYsLTIuNDk3Njc2IDAuMDgwNTcsLTAuNDgzNDIyIDAuNjA0Mjc3LC0wLjg4NjI3MyAwLjU2Mzk5MSwtMC40MDI4NTEgMS40NTAyNjQsLTAuNDQzMTM2IGwgOC4wOTczMDYsLTAuMTIwODU1IDAuMDgwNTcsLTAuODQ1OTg4IHEgMC4yMDE0MjYsLTIuNzM5Mzg3IDAuMjgxOTk2LC00LjcxMzM1NyAwLjA4MDU3LC0xLjk3Mzk3IDAuMjQxNzExLC0zLjIyMjgwOSAwLjIwMTQyNSwtMS4yNDg4MzggMC42MDQyNzYsLTEuODEyODI5IDAuNDAyODUxLC0wLjYwNDI3NyAxLjI0ODgzOSwtMC42MDQyNzcgMC4wODA1NywwIDAuMTYxMTQsMC4wNDAyOCAwLjEyMDg1NSwwIDAuMjQxNzExLDAgMC4yNDE3MSwwIDAuNzI1MTMyLDAgMC41MjM3MDYsLTAuMDQwMjggMS4xNjgyNjgsLTAuMDQwMjggMC42NDQ1NjEsLTAuMDQwMjggMS40MDk5NzgsLTAuMDQwMjggMC43NjU0MTcsLTAuMDQwMjkgMS40OTA1NDksLTAuMDQwMjkgbCAzLjgyNzA4NSwtMC4xMjA4NTUgcSAwLjU2Mzk5MiwwLjE2MTE0IDAuODQ1OTg4LDAuNDQzMTM2IDAuMjgxOTk1LDAuMjQxNzEgMC4yODE5OTUsMC45NjY4NDIgMCwwLjA4MDU3IDAsMC4xMjA4NTYgMCwwLjA0MDI5IC0wLjA0MDI4LDAuMjgxOTk1IDAsMC4yNDE3MTEgLTAuMDQwMjgsMC43NjU0MTcgLTAuMDQwMjksMC41MjM3MDcgLTAuMTIwODU1LDEuNTcxMTE5IC0wLjA4MDU3LDEuMDQ3NDEzIC0wLjI0MTcxMSwyLjc3OTY3MyAtMC4xMjA4NTUsMS42OTE5NzQgLTAuMzIyMjgxLDQuMjcwMjIxIGwgMC42ODQ4NDcsLTAuMDQwMjggcSAxLjQ5MDU0OSwtMC4wNDAyOSAyLjkwMDUyOCwtMC4wODA1NyAxLjQ1MDI2NCwtMC4wNDAyOCAyLjYxODUzMiwtMC4wNDAyOCAxLjIwODU1MywtMC4wNDAyOCAyLjA1NDU0LC0wLjA0MDI4IDAuODg2MjczLC0wLjA0MDI4IDEuMjQ4ODM5LC0wLjA0MDI4IDAuMzIyMjgsMCAwLjcyNTEzMiwwLjI0MTcxIDAuNDAyODUxLDAuMjQxNzExIDAuNDAyODUxLDAuOTI2NTU4IC0wLjA0MDI4LDAuMDgwNTcgLTAuMjAxNDI2LDEuNTcxMTE5IC0wLjE2MTE0LDEuNDkwNTQ5IC0wLjQ0MzEzNiw0LjA2ODc5NiBsIC0wLjQ0MzEzNiwzLjkwNzY1NSBxIC0wLjI0MTcxMSwwLjU2Mzk5MSAtMC40ODM0MjIsMC44NDU5ODcgLTAuMjAxNDI1LDAuMjQxNzExIC0wLjY0NDU2MSwwLjM2MjU2NiAtMC40NDMxMzYsMC4xMjA4NTUgLTEuMjg5MTI0LDAuMTYxMTQxIC0wLjgwNTcwMiwwIC0yLjIxNTY4MSwwLjA0MDI4IGwgLTUuODgxNjI1LDAuMTIwODU1IC0wLjUyMzcwNyw1Ljg4MTYyNiBxIC0wLjEyMDg1NSwxLjUzMDgzNCAtMC4zMjIyOCwyLjUzNzk2MSAtMC4xNjExNDEsMC45NjY4NDMgLTAuNDAyODUxLDEuNTMwODM0IC0wLjI0MTcxMSwwLjU2Mzk5MiAtMC42MDQyNzcsMC44MDU3MDIgLTAuMzIyMjgxLDAuMjAxNDI2IC0wLjc2NTQxNywwLjIwMTQyNiAtMC42ODQ4NDcsMCAtMS44NTMxMTUsMCAtMS4xNjgyNjgsLTAuMDQwMjggLTIuNDk3Njc3LC0wLjA4MDU3IC0xLjI4OTEyMywtMC4wNDAyOCAtMi41NzgyNDYsLTAuMDQwMjggLTEuMjg5MTI0LC0wLjA0MDI5IC0yLjE3NTM5NiwtMC4wNDAyOSAtMC40ODM0MjEsLTAuMDgwNTcgLTAuODA1NzAyLC0wLjQ4MzQyMiAtMC4yODE5OTYsLTAuNDAyODUxIC0wLjI4MTk5NiwtMS4yMDg1NTMgViA5MS42MzI5MiBaIg0KICAgICAgIHN0eWxlPSJmb250LWZhbWlseTonQ2FydGVyIE9uZSc7LWlua3NjYXBlLWZvbnQtc3BlY2lmaWNhdGlvbjonQ2FydGVyIE9uZSwgTm9ybWFsJztmaWxsOiNmZmZmZmYiDQogICAgICAgaWQ9InBhdGg0ODM2OSIgLz4NCiAgPC9nPg0KPC9zdmc+DQo=",$e="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnDQogICBpZD0iTGF5ZXJfMSINCiAgIGRhdGEtbmFtZT0iTGF5ZXIgMSINCiAgIHZpZXdCb3g9IjAgMCAxMDAgMTAwIg0KICAgdmVyc2lvbj0iMS4xIg0KICAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiDQogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciDQogICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGRlZnMNCiAgICAgaWQ9ImRlZnM0Ij4NCiAgICA8bGluZWFyR3JhZGllbnQNCiAgICAgICBpZD0ibGluZWFyR3JhZGllbnQ0MTc0NiI+DQogICAgICA8c3RvcA0KICAgICAgICAgc3R5bGU9InN0b3AtY29sb3I6I2ZmZmZmZjtzdG9wLW9wYWNpdHk6MTsiDQogICAgICAgICBvZmZzZXQ9IjAiDQogICAgICAgICBpZD0ic3RvcDQxNzQ0IiAvPg0KICAgIDwvbGluZWFyR3JhZGllbnQ+DQogICAgPGxpbmVhckdyYWRpZW50DQogICAgICAgaWQ9ImxpbmVhckdyYWRpZW50Mzk3MjIiPg0KICAgICAgPHN0b3ANCiAgICAgICAgIHN0eWxlPSJzdG9wLWNvbG9yOiMwMDAwMDA7c3RvcC1vcGFjaXR5OjE7Ig0KICAgICAgICAgb2Zmc2V0PSIwIg0KICAgICAgICAgaWQ9InN0b3AzOTcxOCIgLz4NCiAgICAgIDxzdG9wDQogICAgICAgICBzdHlsZT0ic3RvcC1jb2xvcjojMDAwMDAwO3N0b3Atb3BhY2l0eTowOyINCiAgICAgICAgIG9mZnNldD0iMSINCiAgICAgICAgIGlkPSJzdG9wMzk3MjAiIC8+DQogICAgPC9saW5lYXJHcmFkaWVudD4NCiAgICA8c3R5bGUNCiAgICAgICBpZD0ic3R5bGUyIj4uY2xzLTF7b3BhY2l0eTowLjY7fS5jbHMtMntmaWxsOiNkMzFjNWI7fS5jbHMtM3tmaWxsOiNmZmY7fTwvc3R5bGU+DQogICAgPGxpbmVhckdyYWRpZW50DQogICAgICAgeGxpbms6aHJlZj0iI2xpbmVhckdyYWRpZW50Mzk3MjIiDQogICAgICAgaWQ9ImxpbmVhckdyYWRpZW50Mzk3MjQiDQogICAgICAgeDE9IjM2LjA4MzU1NSINCiAgICAgICB5MT0iNzYuMDkzNDI1Ig0KICAgICAgIHgyPSIxMDAuMDM4MzgiDQogICAgICAgeTI9Ijc2LjA5MzQyNSINCiAgICAgICBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgLz4NCiAgPC9kZWZzPg0KICA8cGF0aA0KICAgICBjbGFzcz0iY2xzLTEiDQogICAgIGQ9Ik0gOTAuMjgxNzg3LDUyLjk5MTQ4NCBBIDQ1LjE0MDg5Myw0NS4xNDA4OTMgMCAxIDEgNDUuMTQwODkzLDcuODUwNTkwMSA0NS4xNDA4OTMsNDUuMTQwODkzIDAgMCAxIDkwLjI4MTc4Nyw1Mi45OTE0ODQgWiINCiAgICAgaWQ9InBhdGg2Ig0KICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjEiIC8+DQogIDxjaXJjbGUNCiAgICAgY2xhc3M9ImNscy0yIg0KICAgICBjeD0iNDUuMTQwODkyIg0KICAgICBjeT0iNDUuMTQwODkyIg0KICAgICByPSI0NS4xNDA4OTIiDQogICAgIGlkPSJjaXJjbGU4Ig0KICAgICBzdHlsZT0iZmlsbDojOTNhN2FjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoxIiAvPg0KICA8cGF0aA0KICAgICBjbGFzcz0iY2xzLTMiDQogICAgIGQ9Ik0gNDUuMTQwODkzLDUuNDE2OTA3MiBBIDM5LjcyMzk4NiwzOS43MjM5ODYgMCAxIDAgODQuODY0ODc5LDQ1LjE0MDg5MyAzOS43MjM5ODYsMzkuNzIzOTg2IDAgMCAwIDQ1LjE0MDg5Myw1LjQxNjkwNzIgWiBtIDIzLjU1MTc3MSw1Ny4zODc4MTM4IC01LjcyMTExNywtMTcuNjYzODI4IC0xMC41NDkyMzIsMy40NTQyNTkgMC4yMDYwNzksMC42NDc2NzQgNS40NTYxNiwxNi44MTk4OSB2IDAgbCAwLjA0OTA3LDAuMTY2ODI1IC05LjI0NDA3LDcuMTM0MjI0IEwgNDEuOTcxMjIyLDUyLjAxMDE1OSAzMS41MTAzMSw1NS40MDU1NCAzNy4xNzI1NDksNzIuOTQxNzk2IDI2LjcxMTYzNyw3Ni4zNTY4MDIgMjEuMDk4NDY1LDU4Ljg3OTQyNiAxNy42MDQ5NTIsNTkuOTk4MTM1IDE0LjIxOTM4NSw0OS41NDcwMzcgMTcuNjYzODMyLDQ4LjM3OTI2MiAxMi4wMzEwMzMsMzAuODAzNzUzIDIyLjQ2MjUwNSwyNy40NzcwNjYgMjguMTgzNjIzLDQ1LjE0MDg5MyAzOC43MTMyMjYsNDEuNzQ1NTEzIDM4LjEyNDQzMywzOS45MTA0MzcgMzMuMDUwOTg5LDI0LjIxOTA3IHYgMCBsIC0wLjA1ODg4LC0wLjE2NjgyNCA5LjI1Mzg4NCwtNy4xMzQyMjUgNi44NjkyNjUsMjEuMzQzNzkzIDEwLjQ3MDcyNSwtMy4zNzU3NTQgLTUuNjEzMTcxLC0xNy41NTU4ODMgMTAuNDUxMDk3LC0zLjQwNTE5MiA1LjYxMzE3MywxNy40NzczNzUgMy40OTM1MTIsLTEuMTI4NTIxIDMuMzg1NTY3LDEwLjUwMDE2NCAtMy40ODM2OTksMS4xNTc5NjEgNS42NzIwNTEsMTcuNTg1MzIzIHoiDQogICAgIGlkPSJwYXRoMTAiDQogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MTtvcGFjaXR5OjAuODAwOTc4NzkiIC8+DQogIDx0ZXh0DQogICAgIHhtbDpzcGFjZT0icHJlc2VydmUiDQogICAgIHN0eWxlPSJmb250LXNpemU6NDBweDtsaW5lLWhlaWdodDoxLjI1O2ZvbnQtZmFtaWx5OidDYXJ0ZXIgT25lJzstaW5rc2NhcGUtZm9udC1zcGVjaWZpY2F0aW9uOidDYXJ0ZXIgT25lLCBOb3JtYWwnO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXN0eWxlOm5vcm1hbDtmb250LXN0cmV0Y2g6bm9ybWFsO2ZvbnQtdmFyaWFudDpub3JtYWw7Zm9udC12YXJpYW50LWxpZ2F0dXJlczpub3JtYWw7Zm9udC12YXJpYW50LWNhcHM6bm9ybWFsO2ZvbnQtdmFyaWFudC1udW1lcmljOm5vcm1hbDtmb250LXZhcmlhbnQtZWFzdC1hc2lhbjpub3JtYWwiDQogICAgIHg9IjcyLjA1MDQiDQogICAgIHk9IjgwLjA2ODcyNiINCiAgICAgaWQ9InRleHQxNzc3Ij48dHNwYW4NCiAgICAgICBpZD0idHNwYW4xNzc1Ig0KICAgICAgIHg9IjcyLjA1MDQiDQogICAgICAgeT0iODAuMDY4NzI2IiAvPjwvdGV4dD4NCiAgPGcNCiAgICAgYXJpYS1sYWJlbD0iKysiDQogICAgIHRyYW5zZm9ybT0ic2NhbGUoMC45OTgxNTgyOSwxLjAwMTg0NTEpIg0KICAgICBpZD0idGV4dDIwODA1Ig0KICAgICBzdHlsZT0iZm9udC1zaXplOjgyLjUwMzlweDtsaW5lLWhlaWdodDoxLjI1O2ZvbnQtZmFtaWx5OnNlcmlmOy1pbmtzY2FwZS1mb250LXNwZWNpZmljYXRpb246c2VyaWY7bGV0dGVyLXNwYWNpbmc6LTMuNjM1MzNweDtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6MyI+DQogICAgPHBhdGgNCiAgICAgICBkPSJtIDQwLjA2MjUzMSw4Mi45NzE2MjMgcSAtMi4wNTQ1NCwwLjA0MDI5IC0zLjYyNTY2LDAuMDQwMjkgLTEuNTMwODM0LDAgLTIuNDU3MzkxLDAgLTIuNDE3MTA3LDAgLTMuNjI1NjYsLTAuMjAxNDI2IC0xLjE2ODI2OCwtMC4yNDE3MTEgLTEuMTY4MjY4LC0wLjkyNjU1NyAwLC0wLjM2MjU2NiAwLjIwMTQyNiwtMS40OTA1NDkgMC4yNDE3MSwtMS4xNjgyNjggMC41MjM3MDYsLTIuNTc4MjQ3IDAuMzIyMjgxLC0xLjQ1MDI2NCAwLjYwNDI3NywtMi45MDA1MjggMC4zMjIyODEsLTEuNDkwNTQ5IDAuNTIzNzA2LC0yLjQ5NzY3NiAwLjA4MDU3LC0wLjQ4MzQyMiAwLjYwNDI3NywtMC44ODYyNzMgMC41NjM5OTEsLTAuNDAyODUxIDEuNDUwMjY0LC0wLjQ0MzEzNiBsIDguMDk3MzA2LC0wLjEyMDg1NSAwLjA4MDU3LC0wLjg0NTk4OCBxIDAuMjAxNDI2LC0yLjczOTM4NyAwLjI4MTk5NiwtNC43MTMzNTcgMC4wODA1NywtMS45NzM5NyAwLjI0MTcxMSwtMy4yMjI4MDkgMC4yMDE0MjUsLTEuMjQ4ODM4IDAuNjA0Mjc2LC0xLjgxMjgyOSAwLjQwMjg1MSwtMC42MDQyNzcgMS4yNDg4MzksLTAuNjA0Mjc3IDAuMDgwNTcsMCAwLjE2MTE0LDAuMDQwMjggMC4xMjA4NTUsMCAwLjI0MTcxMSwwIDAuMjQxNzEsMCAwLjcyNTEzMiwwIDAuNTIzNzA2LC0wLjA0MDI4IDEuMTY4MjY4LC0wLjA0MDI4IDAuNjQ0NTYxLC0wLjA0MDI4IDEuNDA5OTc4LC0wLjA0MDI4IDAuNzY1NDE3LC0wLjA0MDI5IDEuNDkwNTQ5LC0wLjA0MDI5IGwgMy44MjcwODUsLTAuMTIwODU1IHEgMC41NjM5OTIsMC4xNjExNCAwLjg0NTk4OCwwLjQ0MzEzNiAwLjI4MTk5NSwwLjI0MTcxIDAuMjgxOTk1LDAuOTY2ODQyIDAsMC4wODA1NyAwLDAuMTIwODU2IDAsMC4wNDAyOSAtMC4wNDAyOCwwLjI4MTk5NSAwLDAuMjQxNzExIC0wLjA0MDI4LDAuNzY1NDE3IC0wLjA0MDI5LDAuNTIzNzA3IC0wLjEyMDg1NSwxLjU3MTExOSAtMC4wODA1NywxLjA0NzQxMyAtMC4yNDE3MTEsMi43Nzk2NzMgLTAuMTIwODU1LDEuNjkxOTc0IC0wLjMyMjI4MSw0LjI3MDIyMSBsIDAuNjg0ODQ3LC0wLjA0MDI4IHEgMS40OTA1NDksLTAuMDQwMjkgMi45MDA1MjgsLTAuMDgwNTcgMS40NTAyNjQsLTAuMDQwMjggMi42MTg1MzIsLTAuMDQwMjggMS4yMDg1NTMsLTAuMDQwMjggMi4wNTQ1NCwtMC4wNDAyOCAwLjg4NjI3MywtMC4wNDAyOCAxLjI0ODgzOSwtMC4wNDAyOCAwLjMyMjI4LDAgMC43MjUxMzIsMC4yNDE3MSAwLjQwMjg1MSwwLjI0MTcxMSAwLjQwMjg1MSwwLjkyNjU1OCAtMC4wNDAyOSwwLjA4MDU3IC0wLjIwMTQyNiwxLjU3MTExOSAtMC4xNjExNCwxLjQ5MDU0OSAtMC40NDMxMzYsNC4wNjg3OTYgbCAtMC40NDMxMzYsMy45MDc2NTUgcSAtMC4yNDE3MTEsMC41NjM5OTEgLTAuNDgzNDIyLDAuODQ1OTg3IC0wLjIwMTQyNSwwLjI0MTcxMSAtMC42NDQ1NjEsMC4zNjI1NjYgLTAuNDQzMTM2LDAuMTIwODU1IC0xLjI4OTEyNCwwLjE2MTE0MSAtMC44MDU3MDIsMCAtMi4yMTU2ODEsMC4wNDAyOCBsIC01Ljg4MTYyNSwwLjEyMDg1NSAtMC41MjM3MDcsNS44ODE2MjYgcSAtMC4xMjA4NTUsMS41MzA4MzQgLTAuMzIyMjgsMi41Mzc5NjEgLTAuMTYxMTQxLDAuOTY2ODQzIC0wLjQwMjg1MSwxLjUzMDgzNCAtMC4yNDE3MTEsMC41NjM5OTIgLTAuNjA0Mjc3LDAuODA1NzAyIC0wLjMyMjI4MSwwLjIwMTQyNiAtMC43NjU0MTcsMC4yMDE0MjYgLTAuNjg0ODQ3LDAgLTEuODUzMTE1LDAgLTEuMTY4MjY4LC0wLjA0MDI4IC0yLjQ5NzY3NywtMC4wODA1NyAtMS4yODkxMjMsLTAuMDQwMjggLTIuNTc4MjQ2LC0wLjA0MDI4IC0xLjI4OTEyNCwtMC4wNDAyOSAtMi4xNzUzOTYsLTAuMDQwMjkgLTAuNDgzNDIyLC0wLjA4MDU3IC0wLjgwNTcwMiwtMC40ODM0MjIgLTAuMjgxOTk2LC0wLjQwMjg1MSAtMC4yODE5OTYsLTEuMjA4NTUzIFYgOTEuNjMyOTIgWiINCiAgICAgICBzdHlsZT0iZm9udC1mYW1pbHk6J0NhcnRlciBPbmUnOy1pbmtzY2FwZS1mb250LXNwZWNpZmljYXRpb246J0NhcnRlciBPbmUsIE5vcm1hbCc7ZmlsbDojZmZmZmZmIg0KICAgICAgIGlkPSJwYXRoMTE0OSIgLz4NCiAgICA8cGF0aA0KICAgICAgIGQ9Im0gNzUuMTQxMTksODIuOTcxNjIzIHEgLTIuMDU0NTQsMC4wNDAyOSAtMy42MjU2NiwwLjA0MDI5IC0xLjUzMDgzNCwwIC0yLjQ1NzM5MSwwIC0yLjQxNzEwNiwwIC0zLjYyNTY2LC0wLjIwMTQyNiAtMS4xNjgyNjgsLTAuMjQxNzExIC0xLjE2ODI2OCwtMC45MjY1NTcgMCwtMC4zNjI1NjYgMC4yMDE0MjYsLTEuNDkwNTQ5IDAuMjQxNzEsLTEuMTY4MjY4IDAuNTIzNzA2LC0yLjU3ODI0NyAwLjMyMjI4MSwtMS40NTAyNjQgMC42MDQyNzcsLTIuOTAwNTI4IDAuMzIyMjgxLC0xLjQ5MDU0OSAwLjUyMzcwNiwtMi40OTc2NzYgMC4wODA1NywtMC40ODM0MjIgMC42MDQyNzcsLTAuODg2MjczIDAuNTYzOTkxLC0wLjQwMjg1MSAxLjQ1MDI2NCwtMC40NDMxMzYgbCA4LjA5NzMwNiwtMC4xMjA4NTUgMC4wODA1NywtMC44NDU5ODggcSAwLjIwMTQyNiwtMi43MzkzODcgMC4yODE5OTYsLTQuNzEzMzU3IDAuMDgwNTcsLTEuOTczOTcgMC4yNDE3MTEsLTMuMjIyODA5IDAuMjAxNDI1LC0xLjI0ODgzOCAwLjYwNDI3NiwtMS44MTI4MjkgMC40MDI4NTEsLTAuNjA0Mjc3IDEuMjQ4ODM5LC0wLjYwNDI3NyAwLjA4MDU3LDAgMC4xNjExNCwwLjA0MDI4IDAuMTIwODU1LDAgMC4yNDE3MTEsMCAwLjI0MTcxLDAgMC43MjUxMzIsMCAwLjUyMzcwNiwtMC4wNDAyOCAxLjE2ODI2OCwtMC4wNDAyOCAwLjY0NDU2MSwtMC4wNDAyOCAxLjQwOTk3OCwtMC4wNDAyOCAwLjc2NTQxNywtMC4wNDAyOSAxLjQ5MDU0OSwtMC4wNDAyOSBsIDMuODI3MDg1LC0wLjEyMDg1NSBxIDAuNTYzOTkyLDAuMTYxMTQgMC44NDU5ODgsMC40NDMxMzYgMC4yODE5OTUsMC4yNDE3MSAwLjI4MTk5NSwwLjk2Njg0MiAwLDAuMDgwNTcgMCwwLjEyMDg1NiAwLDAuMDQwMjkgLTAuMDQwMjgsMC4yODE5OTUgMCwwLjI0MTcxMSAtMC4wNDAyOCwwLjc2NTQxNyAtMC4wNDAyOSwwLjUyMzcwNyAtMC4xMjA4NTUsMS41NzExMTkgLTAuMDgwNTcsMS4wNDc0MTMgLTAuMjQxNzExLDIuNzc5NjczIC0wLjEyMDg1NSwxLjY5MTk3NCAtMC4zMjIyODEsNC4yNzAyMjEgbCAwLjY4NDg0NywtMC4wNDAyOCBxIDEuNDkwNTQ5LC0wLjA0MDI5IDIuOTAwNTI4LC0wLjA4MDU3IDEuNDUwMjY0LC0wLjA0MDI4IDIuNjE4NTMyLC0wLjA0MDI4IDEuMjA4NTUzLC0wLjA0MDI4IDIuMDU0NTQsLTAuMDQwMjggMC44ODYyNzMsLTAuMDQwMjggMS4yNDg4MzksLTAuMDQwMjggMC4zMjIyOCwwIDAuNzI1MTMyLDAuMjQxNzEgMC40MDI4NTEsMC4yNDE3MTEgMC40MDI4NTEsMC45MjY1NTggLTAuMDQwMjgsMC4wODA1NyAtMC4yMDE0MjYsMS41NzExMTkgLTAuMTYxMTQsMS40OTA1NDkgLTAuNDQzMTM2LDQuMDY4Nzk2IGwgLTAuNDQzMTM2LDMuOTA3NjU1IHEgLTAuMjQxNzExLDAuNTYzOTkxIC0wLjQ4MzQyMiwwLjg0NTk4NyAtMC4yMDE0MjUsMC4yNDE3MTEgLTAuNjQ0NTYxLDAuMzYyNTY2IC0wLjQ0MzEzNiwwLjEyMDg1NSAtMS4yODkxMjQsMC4xNjExNDEgLTAuODA1NzAyLDAgLTIuMjE1NjgxLDAuMDQwMjggbCAtNS44ODE2MjUsMC4xMjA4NTUgLTAuNTIzNzA3LDUuODgxNjI2IHEgLTAuMTIwODU1LDEuNTMwODM0IC0wLjMyMjI4LDIuNTM3OTYxIC0wLjE2MTE0MSwwLjk2Njg0MyAtMC40MDI4NTEsMS41MzA4MzQgLTAuMjQxNzExLDAuNTYzOTkyIC0wLjYwNDI3NywwLjgwNTcwMiAtMC4zMjIyODEsMC4yMDE0MjYgLTAuNzY1NDE3LDAuMjAxNDI2IC0wLjY4NDg0NywwIC0xLjg1MzExNSwwIC0xLjE2ODI2OCwtMC4wNDAyOCAtMi40OTc2NzcsLTAuMDgwNTcgLTEuMjg5MTIzLC0wLjA0MDI4IC0yLjU3ODI0NiwtMC4wNDAyOCAtMS4yODkxMjQsLTAuMDQwMjkgLTIuMTc1Mzk2LC0wLjA0MDI5IC0wLjQ4MzQyMSwtMC4wODA1NyAtMC44MDU3MDIsLTAuNDgzNDIyIC0wLjI4MTk5NiwtMC40MDI4NTEgLTAuMjgxOTk2LC0xLjIwODU1MyBWIDkxLjYzMjkyIFoiDQogICAgICAgc3R5bGU9ImZvbnQtZmFtaWx5OidDYXJ0ZXIgT25lJzstaW5rc2NhcGUtZm9udC1zcGVjaWZpY2F0aW9uOidDYXJ0ZXIgT25lLCBOb3JtYWwnO2ZpbGw6I2ZmZmZmZiINCiAgICAgICBpZD0icGF0aDExNTEiIC8+DQogIDwvZz4NCjwvc3ZnPg0K",je=a(3379),Ee=a.n(je),ze=a(7795),Pe=a.n(ze),Oe=a(569),Re=a.n(Oe),He=a(3565),u=a.n(He),V=a(9216),je=a.n(V),ze=a(4589),Oe=a.n(ze),Ge=a(971),Ze={};Ge.Z&&Ge.Z.locals&&(Ze.locals=Ge.Z.locals);var Be,Ue=0,Fe={};Fe.styleTagTransform=Oe(),Fe.setAttributes=u(),Fe.insert=Re().bind(null,"head"),Fe.domAPI=Pe(),Fe.insertStyleElement=je(),Ze.use=function(e){return Fe.options=e||{},Ue++||(Be=Ee()(Ge.Z,Fe)),Ze},Ze.unuse=function(){0<Ue&&!--Ue&&(Be(),Be=null)};const qe=Ze,Qe=j["$"],We={gold:Ne,silver:$e},Ye={gold:1,silver:2,bronze:3},Ke=({name:e,tier:t})=>`${Ye[t]}_${e}`,Ve=(e,t)=>{e=Ke(e),t=Ke(t);return e<t?-1:t<e?1:0};const Je=class{constructor(){this.groups=[],this.modules=[],this.config={},this.hasRendered=!1,this.$configButton=null,this.$configPane=null,this.configPaneOpen=!1,this.colors=d[j.getGameKey()],j.isCurrentPage("home")&&(Le.getSupporters().then(e=>{this.supporters=e}),qe.use(),j.defer(()=>{this.init(),this.renderInteractables()}))}init(){this.gameIcon=Qe(".hh_logo>img").attr("src"),this.gameTitle=Qe(".hh_logo").attr("title")}loadConfig(){var e=j.lsGet(f.CONFIG);e&&Object.assign(this.config,e)}saveConfig(){j.lsSet(f.CONFIG,this.config)}updateConfig(e,t){this.config[e]=t,this.saveConfig();const{module:a,subKey:i}=this.getModuleForKey(e);if(a)if(i)"function"==typeof a.updateSubSetting&&a.updateSubSetting(i,t);else{const n=this.$configPane.find(`.config-setting[rel=${e}]`),o=n.find(".sub-settings input");t?(this.runModule(a),j.runDeferred(),n.addClass("enabled"),o.prop("disabled",!1)):("function"==typeof a.tearDown&&a.tearDown(),n.removeClass("enabled"),o.prop("disabled",!0))}}registerGroup(e){const{name:t,key:a}=e;if(!t||!a)throw new Error('cannot register invalid group, need both "key" and "name"',e);this.groups.find(e=>e.key===a)?console.warn("hh++ config: merging duplicate group",a):this.groups.push(e)}registerModule(e){const{group:t,configSchema:a}=e;if(!t||!this.groups.find(({key:e})=>e===t))throw new Error(`cannot register module with unknown group ${t}`);if(a&&a.restriction){const{restriction:{whitelist:n,blacklist:o}}=a;var i=j.getGameKey();if(o){if(o.includes(i))return}else if(n&&!n.includes(i))return}this.modules.push(e),this.config[this.getConfigKey(t,a.baseKey)]=a.default,a.subSettings&&a.subSettings.forEach(e=>{this.config[this.getConfigKey(t,a.baseKey,e.key)]=e.default})}runModules(){this.modules.forEach(e=>{this.config[this.getConfigKey(e.group,e.configSchema.baseKey)]&&this.runModule(e)})}runModule(t){var e=Object.keys(this.config).filter(e=>e.startsWith(`${this.getConfigKey(t.group,t.configSchema.baseKey)}_`)).map(e=>({[e.replace(`${this.getConfigKey(t.group,t.configSchema.baseKey)}_`,"")]:this.config[e]})).reduce((e,t)=>Object.assign(e,t),{});t.run(e)}getConfigKey(e,t,a){return[e,t,a].filter(e=>e).join("_")}getModuleForKey(e){const[a,i,t]=e.split("_");return{module:this.modules.find(({group:e,configSchema:t})=>t.baseKey===i&&e===a),subKey:t}}renderInteractables(){this.hasRendered||(this.injectCSSVars(),this.renderConfigButton(),this.hasRendered=!0)}renderConfigButton(){this.$configButton=Qe(`<div class="hh-plus-plus-config-button" hh_title="${this.gameTitle} ++" tooltip></div>`),this.$configButton.click(this.openConfigPane.bind(this)),Qe("#contains_all").append(this.$configButton)}buildConfigPaneContent(){return Qe(`
            <div class="tabs">
                ${this.groups.map(({key:e,name:t})=>`<h4 class="${e}" rel="${e}">${t}</h4>`).join("")}
            </div>
            ${this.groups.map(({key:n})=>`
            <div class="group-panel" rel="${n}">
                <div class="panel-contents">
                    ${this.modules.filter(({group:e})=>e===n).map(({configSchema:a})=>{var e=this.getConfigKey(n,a.baseKey);const i=this.config[e];return`
                <div class="config-setting ${i?"enabled":""} ${a.subSettings?"has-subsettings":""}" rel="${e}">
                    <label class="base-setting">
                        <span>${a.label}</span>
                        <input type="checkbox" name="${e}" ${i?'checked="checked"':""} />
                    </label>
                    ${a.subSettings?`
                    <div class="sub-settings">
                        ${a.subSettings.map(e=>{var t=this.getConfigKey(n,a.baseKey,e.key);return`
                        <label>
                            <input type="checkbox" name="${t}" ${this.config[t]?'checked="checked"':""} ${i?"":'disabled="disabled"'} />
                            <span>${e.label}</span>
                        </label>`}).join("")}
                    </div>`:""}
                </div>`}).join("")}
                </div>
            </div>`).join("")}
            <div class="credits-panel">${this.buildCreditsPane()}</div>`)}buildCreditsPane(){var{CHANGELOG:e,SPECIAL_THANKS:t,BMAC:a,PATREON:i,DISCORD:n}=window.HHPlusPlus,o=GM_info["script"];const{CODE_CONTRIBUTIONS:s,TRANSLATIONS:r}=t;var{name:l,author:t,version:o}=o;return`
        <div class="credits-contents">
            <p>You're running ${l} <a class="changelog" tooltip="Click to open CHANGELOG" href="${e}" target="_blank">v${o}</a> by ${t}</p>
            <p>Enjoying the script? Want to throw money at me for some reason? You can <a href="${a}" target="_blank">Buy Me A Coffee</a> or <a href="${i}" target="_blank">support me on Patreon</a> if you'd like.</p>
            <p>Join us on <a href="${n}" target="_blank">Discord</a>!</p>
            <h2>Special Thanks</h2>
            <div class="thanks-container">
                <div class="thanks-supporters">
                    <h3>Patrons</h3>
                    <ul class="script-supporters">${this.supporters.sort(Ve).map(({name:e,tier:t})=>`<li class="script-supporter-${t}">${e}${["gold","silver"].includes(t)?`<img class="tier-icon" src="${We[t]}" tooltip="${t.substring(0,1).toUpperCase()}${t.substring(1)} Tier Supporter"/>`:""}</li>`).join("")}</ul>
                </div>
                <div class="thanks-code">
                    <h3>Code Contributions</h3>
                    <ul>${s.map(e=>`<li>${e}</li>`).join("")}</ul>
                </div>
                <div class="thanks-translations">
                    <h3>Translations</h3>
                    <ul>${Object.entries(r).map(([e,t])=>`<li>${e} ${t.map(e=>`<span class="country country-${e}"></span>`).join("")}</li>`).join("")}</ul>
                </div>
            </div>
        </div>
        `}renderConfigPane(){const e=Qe('<span class="blue_circular_btn toggle-credits"><span class="info_icn"></span></span>');e.click(this.toggleCredits.bind(this));const t=Qe('<span class="close-config-panel" />');t.click(this.closeConfigPane.bind(this)),this.$configPane=Qe('<div class="hh-plus-plus-config-panel"></div>').append(this.buildConfigPaneContent()).prepend(t).prepend(e),Qe("#contains_all").append(this.$configPane),this.$configPane.find(".group-panel").niceScroll(".panel-contents",{bouncescroll:!1}),this.$configPane.find(".credits-panel").niceScroll(".credits-contents",{bouncescroll:!1}),this.setupEvents(),this.selectConfigTab(this.groups[0].key)}closeConfigPane(){this.$configPane.hasClass("shown")&&(this.$configPane.removeClass("shown"),this.configPaneOpen=!1)}openConfigPane(){this.$configPane&&this.$configPane.hasClass("shown")||(this.$configPane||this.renderConfigPane(),this.$configPane.addClass("shown"),this.configPaneOpen=!0)}selectConfigTab(e){this.currentKey=e,Qe(".hh-plus-plus-config-panel .credits-panel").removeClass("shown"),Qe(".hh-plus-plus-config-panel .tabs h4").removeClass("selected"),Qe(`.hh-plus-plus-config-panel .tabs h4[rel=${e}]`).addClass("selected"),Qe(".hh-plus-plus-config-panel .group-panel").removeClass("shown"),Qe(`.hh-plus-plus-config-panel .group-panel[rel=${e}]`).addClass("shown").getNiceScroll().resize(),this.creditsShown=!1}toggleCredits(){var e;this.creditsShown?(e=this.currentKey,Qe(".hh-plus-plus-config-panel .credits-panel").removeClass("shown"),Qe(`.hh-plus-plus-config-panel .tabs h4[rel=${e}]`).addClass("selected"),Qe(`.hh-plus-plus-config-panel .group-panel[rel=${e}]`).addClass("shown").getNiceScroll().resize(),this.creditsShown=!1):(Qe(".hh-plus-plus-config-panel .credits-panel").addClass("shown").getNiceScroll().resize(),Qe(".hh-plus-plus-config-panel .tabs h4").removeClass("selected"),Qe(".hh-plus-plus-config-panel .group-panel").removeClass("shown"),this.creditsShown=!0)}setupEvents(){this.groups.forEach(({key:e})=>{Qe(`.hh-plus-plus-config-panel .tabs h4[rel=${e}]`).click(this.selectConfigTab.bind(this,e))}),Object.keys(this.config).forEach(t=>{Qe(`.hh-plus-plus-config-panel input[name=${t}]`).change(e=>{this.updateConfig(t,Qe(e.target).prop("checked"))})})}injectCSSVars(){Te.registerVar("config-button-icon",`url(${this.gameIcon})`),Te.registerVar("config-panel-background",this.colors.panelBackground),Te.registerVar("config-border-image-source",this.colors.panelBorderGradient),Te.registerVar("config-panel-box-shadow",this.colors.panelInset),Te.registerVar("cross-icon",`url('${j.getCDNHost()}/clubs/ic_xCross.png')`),Te.registerVar("config-setting-background",this.colors.homeDark),Te.registerVar("config-setting-border",this.colors.homeBorder)}};He=class{constructor({group:e,configSchema:t}){this.group=e,this.configSchema=t,this.hasRun=!1}};V=class extends He{constructor(e){super({group:"core",configSchema:e})}},ze={HH:{girl:"girl",Girl:"Girl",haremettes:"haremettes",flower:"flower",waifu:"Waifu"},GH:{girl:"guy",Girl:"Guy",haremettes:"harem guys",flower:"lollipop",waifu:"Boyfriend"},CxH:{girl:"girl",Girl:"Girl",haremettes:"haremettes",flower:"jewel",waifu:"Waifu"},PSH:{girl:"girl",Girl:"Girl",haremettes:"haremettes",flower:"beer",waifu:"Waifu"},HoH:{girl:"girl",Girl:"Girl",haremettes:"haremettes",flower:"flower",waifu:"Waifu"}}[j.getGameKey()];const Xe={all:"All"},et={refresh:"Home screen refresh",villain:"Fight a villain menu",villain_tiers:`Show tiers with ${ze.girl}s`,market:"Market information",marketEquipsFilter:"Equips filter at the market",harem:"Harem information",league:"League information",league_board:"Show the league tops",league_promo:"Show promotion information",simFight:"League / Season / Villains sim",simFight_logging:"Detailed logging in the browser console",teamsFilter:"Teams filter",champions:"Champions information",champions_poseMatching:"Add pose match indicators",champions_fixPower:`Normalise ${ze.girl} power for comparison`,homeScreen:"Home Screen Shortcuts & Timers",homeScreen_leaguePos:"Show current league rank (makes extra network call)",resourceBars:"Resource bars / Booster tracking",popSort:"PoP sorting and quick navigation",seasonStats:"Season stats",pachinkoNames:"Show names in Pachinko",contestSummary:"Saved Contests rewards summary",battleEndstate:"Show final values when skipping battle",gemStock:"Gem stock in Market/Harem",staticBackground:"Prevent background switching during Orgy Days",rewardShards:`Display current shard counts on ${ze.girl} rewards`,leaderboardFix:"Fix Season, PoV, PoG and Pantheon leaderboards",hideClaimedRewards:"Hide claimed Season/PoA/PoV rewards",disableDragDrop:"Disable Drag-and-Drop in the Market",autoRefresh:"Auto-refresh the game every 10 minutes",villainBreadcrumbs:"Add breadcrumbs to villain pages",blessingSpreadsheetLink:"Add link to the blessing data spreadsheet on the blessings popup",homeScreenIcons:"Add feature icons to home screen links",homeScreenOrder:"Alternative order of home screen links",homeScreenOldish:"Legacy layout of home screen (Not compatible with right-side rearrange Style Tweak)",fixFontImport:"Fix font import & text stroke",overridePachinkoConfirm:`Disable the "No ${ze.Girl}s Available" warning pop-ups in Pachinko/NC`,sidequestCompletionMarkers:"Sidequest completion markers",censorMode:"Censor all NSFW imagery",fixProfilePopup:"Fix player profile popups",eventEndIndicators:"Event ending indicators on home screen",haremTeamsFilter:"Harem teams filter",upgradeQuickNav:"Upgrade page quick navigation",leaderboardClubmateIndicators:"Highlight clubmates on leaderboards",leaderboardProfilePopups:"Links to player profiles from leaderboards",improvedWaifu:`Improved ${ze.waifu}`,sortDailyMissions:"Sort daily missions by duration",sortDailyMissions_reverse:"Reverse order",upgradeInfo:"Upgrade page information"},tt={missionsBackground:"Change missions background",collectMoneyAnimation:"Delete the collect money animation",mobileBattle:"Fix Mobile battle screen",darkMobileLeague:"Dark background on mobile league",hideRotateDevice:"Hide the device rotation reminder on mobile",salaryTimers:`Readable ${ze.girl} salary timers`,moveSkipButton:"Move the battle skip button down",poseAspectRatio:`Fix ${ze.girl} pose aspect ratio in battle`,reduceBlur:"Reduce depth-of-field effect on home screen",homeScreenRightSideRearrange:"Rearrange the items on the right side of the home screen",selectableId:"Make profile user IDs selectable",messengerDarkMode:"Messenger dark mode",leagueTableCompressed:"Compact league table",leagueTableRowStripes:"Striped league table rows",leagueTableShadow:"Remove league table shadow",removeParticleEffects:"Remove home screen particle effects",eventGirlTicks:`Improved event ${ze.girl} ticks`,eventGirlBorders:`Green borders on obtained event ${ze.girl}s`,compactNav:"Use compact main menu",poaBorders:"Green borders on obtained PoA rewards",champGirlPower:`Fix Champion ${ze.girl} power overflow`,champGirlOverlap:`Fix Champion ${ze.girl} overlapping ${ze.girl} selection`,hideGameLinks:"Hide game links",poaTicks:"Fix tick positions on PoA screen",poaGirlFade:`Fix ${ze.girl} pose fade on PoA`,newButtons:"Replace remaining old-style buttons",bonusFlowersOverflow:`Prevent bonus ${ze.flower}s dropping off-screen`,popButtons:"Hide Auto-assign and Auto-claim PoP buttons",contestNotifs:"Move contest notifications",contestPointsWidth:"Prevent contest table points overflow",leagueChangeTeamButton:"Fix positioning of left block buttons in league",compactPops:"Compact PoPs",monthlyCardText:"Fix monthly card text",povUnclutter:"PoV/PoG page clarity",dailyGoals:"Daily Goals restyle",bbProgress:"Better Boss Bang rewards progress bar",compactLossScreen:"Compact loss screen",seasonalEventTweaks:"Seasonal Event tweaks",compactHaremFilters:"Compact Harem filters",expandedMarketInventory:"Expanded Market inventory",compactResourceSummary:"Compact resource summary",hideClaimAllButton:'Hide "Claim All" button on Season rewards screen',dpEventTweaks:"DP Event tweaks",compactDailyMissions:"Compact daily missions",removeSlotBorder:"Remove white slot border in Market"},at={darklord:"Dark Lord",ninjaspy:"Ninja Spy",gruntt:"Gruntt",edwarda:"Edwarda",donatien:"Donatien",silvanus:"Silvanus",bremen:"Bremen",finalmecia:"Finalmecia",rokosensei:"Roko Senseï",karole:"Karole",jacksoncrew:"Jackson&#8217;s Crew",pandorawitch:"Pandora Witch",nike:"Nike",sake:"Sake",werebunnypolice:"WereBunny Police",auga:"Auga",edward:"Edward",edernas:"Edernas",maro:"Maro",icaruswarlock:"Icarus Warlock",bodyhack:"BodyHack",greygolem:"Grey Golem",nymph:"The Nymph",athicus:"Athicus Ho’ole",jockstrap:"The Mimic",cockatrice:"Cockatrice",pomelo:"Pomelo",alexa:"Alexa Sl’thor",asaakira:"Headmistress Asa Akira",sammyjayne:"Sammy Jayne",ivywinters:"Ivy Winters",sophiajade:"Sophia Jade",amiamiley:"Amia Miley",alyssareece:"Alyssa Reece",kellykline:"Kelly Kline",jamiebrooks:"Jamie Brooks",jordankingsley:"Jordan Kingsley",fallback:"World {{world}} villain",event:"Event"},it={town:"Town",adventure:"Adventure",begincity:"Begin City",gemskingdom:"Gems Kingdom",ninjavillage:"Ninja Village",invadedkingdom:"Invaded Kingdom",juysea:"The Juy Sea",admittance:"Admittance of the dead",magicforest:"Magic Forest",hamelintown:"Hamelin Town",plainofrituals:"Plain of rituals",heroesuniversity:"Heroes University",ninjasacredlands:"Ninja sacred lands",splatters:"Splatters Archipelago",digisekai:"Digisekai",stairway:"Stairway to heaven",training:"Training Dimension",weresquidisland:"WereSquid Island",haremtournament:"The Harem Tournament",begincitycxh:"Begin City",heroacademy:"Hero Academy",newcenabum:"New Cenabum",ontheprowl:"On the Prowl",bushexplorations:"Bush Explorations",thespy:"The Spy Who Came Inside Me",hornyknight:"The Horny Knight",suitdown:"Suit Down",manmeatofsteel:"Man Meat of Steel",fukwell:"Fukwell University",eurodick:"Eurodick",homecumming:"Homecumming",biggerintexas:"Bigger in Texas",westcock:"West Cock",whenangelscum:"When Angels Cum",suckramento:"Welcome to Suckramento",fiskyfresno:"Frisky in Fresno",milftown:"Milftown"},nt={pointsUnbought:"Stat points buyable to max",moneyUnspent:"Money required to max",moneySpent:"Money spent in market",pointsLevel:"Level-based stat points",pointsBought:"Market-bought stat points",pointsEquip:"Equipments stat points",pointsBooster:"Boosters stat points",pointsClub:"Club bonus stat points",boosterItem:"boosters",xpItem:"books",xpCurrency:"XP",affItem:"gifts",affCurrency:"affection",equips:"equips",youOwn:"You own <b>{{count}}</b> {{type}}.",youCanSell:'You can sell everything for <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"You can give a total of <b>{{value}}</b> {{currency}}."},ot={marketRestocked:'> The <a href="../shop.html">Market</a> restocked since your last visit.',visitMarket:'> Visit the <a href="../shop.html">Market</a> first to see an inventory summary here',itemSummary:"{{count}} ({{value}} {{type}})",haremStats:"Harem Stats",upgrades:"Upgrades",levelsAwakening:"Levels & Awakening",market:"Inventory & Market",wikiPage:"{{name}}'s wiki page",haremLevel:"Harem level",unlockedScenes:"Unlocked scenes",income:"Income",or:"{{left}} or {{right}}",toUpgrade:"To upgrade all:",toLevelCap:"To level to cap:",toLevelMax:"To level to max ({{max}}):",affectionScenes:"Affection Scenes",buyable:"Available in the market:",sellable:"In inventory:",gifts:"Gifts",books:"Books",canBeSold:"Can be sold for {{sc}}",canBeBought:"{{item}} for {{amount}}",marketRestock:"Market restocks at {{time}} or at level {{level}}"},st={stayInTop:"To <em><u>stay in the top {{top}}</u></em>, you must have a minimum of <em>{{points}}</em> points",notInTop:"To <em><u>be in the top {{top}}</u></em>, you must have a minimum of <em>{{points}}</em> points",challengesRegen:"Natural regeneration: <em>{{challenges}}</em>",challengesLeft:"Challenges left: <em>{{challenges}}</em>",averageScore:"Average score per fight: <em>{{average}}</em>",scoreExpected:"Score expected: <em>{{score}}</em>",toDemote:"To <em><u>demote</u></em>, you must be passed by <em>{{players}}</em> players",willDemote:"To <em><u>demote</u></em>, you can have a maximum of <em>{{points}}</em> points",willDemoteZero:"To <em><u>demote</u></em>, you must remain at <em>0</em> points",toNotDemote:"To <em><u>not demote</u></em>, you must have more than <em>0</em> points",toStay:"To <em><u>not promote</u></em>, you must be passed by <em>{{players}}</em> players",willStay:"To <em><u>not promote</u></em>, you can have a maximum of <em>{{points}}</em> points",hideFoughtOpponents:"Hide fought opponents",showFoughtOpponents:"Show fought opponents",currentLeague:"Current league",victories:"Victories",defeats:"Defeats",unknown:"Unknown",notPlayed:"Not played",levelRange:"Level range",leagueFinished:"League finished on {{date}}",opponents:"Opponents",leaguePoints:"Points",avg:"Average"},rt={guaranteed:"Guaranteed",impossible:"Impossible"},lt={searchedName:"Search",girlName:`${ze.Girl} name`,searchedClass:"Class",searchedElement:"Element",searchedRarity:"Rarity",levelRange:"Level range",levelCap:"Level cap",levelCap_capped:"Capped",levelCap_uncapped:"Uncapped",searchedAffCategory:"Affection category",searchedAffLevel:"Affection level",grade0:"0 stars",grade1:"1 star",grade2:"2 stars",grade3:"3 stars",grade4:"4 stars",grade5:"5 stars",grade6:"6 stars",searchedBlessedAttributes:"Blessings",blessedAttributes:`Blessed ${ze.girl}s`,nonBlessedAttributes:`Non-blessed ${ze.girl}s`},ct={participants:"Participants: {{participants}}/{{members}}",clubChampDuration:"{{duration}} since round start"},pt={popsIn:"PoPs in {{time}}",popsReady:"PoPs ready",readyAt:"Ready at {{time}}",endAt:"Ends at {{time}}",fullAt:"Full at {{time}}",xp:"Next: {{xp}} XP"},dt={clubChamp:"Club Champion",completeIn:"Complete in ",newMissionsIn:"New missions in ",missionsReady:"Missions ready"},ut={fights:"Fights",victories:"Victories",defeats:"Defeats",mojoWon:"Won mojo",mojoLost:"Lost mojo",mojoWonAvg:"Won mojo average",mojoLostAvg:"Lost mojo average",mojoAvg:"Total mojo average"},gt={availableGirls:`Available ${ze.girl}s: `,poolGirls:"Current pool: "},mt={totalRewards:"Total Saved Rewards ({{contests}} Contests):",contestsWarning:"Contests expire after 21 days!"},ht={name:`Open ${j.isGH()?"Bella":"zoopokemon"}'s blessing data spreadsheet`},bt={team:"Team",visitTeams:'Visit <a href="../teams.html">Teams</a> first.'},ft={clubmate:"Clubmate"},vt={warningMaxGrade:`Improved ${ze.waifu} WARNING: Missing max grade info for ID: {{id}}, please visit the harem page.`,warningUnlockedGrade:`Improved ${ze.waifu} WARNING: Missing unlocked grade info for ID: {{id}}, please visit the harem page.`,editPose:"Edit Pose",resetPose:"Reset Pose",savePose:"Save Pose",favGirl:`Favorite ${ze.Girl}`,unfavGirl:`Unfavorite ${ze.Girl}`,modeAll:`Mode: All ${ze.Girl}s`,modeFav:`Mode: Favorite ${ze.Girl}s`,randomWaifu:`Randomize ${ze.waifu}`,cycleWaifu:`Cycle ${ze.waifu}`,cyclePause:"Pause Cycle"};ze={HH:{fille:"fille",delafille:"de la fille",fleurs:"fleurs",waifu:"waifu"},GH:{fille:"mec",delafille:"du mec",fleurs:"sucettes",waifu:"boyfriend"},CxH:{fille:"fille",delafille:"de la fille",fleurs:"bijoux",waifu:"waifu"},PSH:{fille:"fille",delafille:"de la fille",fleurs:"bières",waifu:"waifu"},HoH:{fille:"fille",delafille:"de la fille",fleurs:"fleurs",waifu:"waifu"}}[j.getGameKey()];const yt={all:"Toutes"},_t={refresh:"Rafraîchir page d'accueil",villain:"Menu des combats des trolls",villain_tiers:`Montrer les paliers/${ze.fille}s`,market:"Infos marché",marketEquipsFilter:"Filtre d'équipements au marché",harem:"Infos harem",league:"Infos ligue",league_board:"Montrer les tops ligue",league_promo:"Montrer les informations sur la promotion",simFight:"Simu ligue / saison / combats de troll",simFight_logging:"Détails dans la console du navigateur",teamsFilter:"Filtre d'équipes",champions:"Infos champions",champions_poseMatching:"Ajouter des indicateurs de correspondance de pose",champions_fixPower:`Normaliser le pouvoir des ${ze.fille}s pour comparaison`,homeScreen:"Raccourcis & timers de l'écran principal",homeScreen_leaguePos:"Afficher le rang de Ligue actuel (ajoute de la charge réseau supplémentaire)",resourceBars:"Barres de ressources / Indicateurs de boosters",popSort:"Tri LdP et navigation rapide",seasonStats:"Stats de la saison",pachinkoNames:"Montrer les noms au Pachinko",contestSummary:"Récap' des récompenses des Compètes enregistrées",battleEndstate:"Afficher le détail quand tu passes le combat",gemStock:"Stock de gemmes au marché/harem",staticBackground:"Empêche les changements de décor durant les Jours d'Orgie",rewardShards:`Affiche le nombre de Fragments d'Affection actuels sur les ${ze.fille}s en récompense`,leaderboardFix:"Corrige les classements de Saison, VdV, VdlG et Panthéon",hideClaimedRewards:"Masquer les récompenses de Saison/CdA/VdV",disableDragDrop:"Désactiver la fonction glisser-déposer dans le marché",autoRefresh:"Actualise automatiquement le jeu toutes les 10 minutes",villainBreadcrumbs:"Ajouter une chaîne de navigation aux pages des boss du mode aventure",blessingSpreadsheetLink:"Ajouter un lien vers la feuille de données des bénédictions à l'infobulle des bénédictions",homeScreenIcons:"Ajouter des icônes aux menus de l'écran principal",homeScreenOrder:"Ordre alternatif des menus de l'écran principal",homeScreenOldish:"Mise en page d'origine de l'écran principal (incompatible avec la réorganisation des éléments à droite)",overridePachinkoConfirm:`Désactive l'avertissement "Pas de ${ze.fille} disponible" dans le Pachinko/NC`,sidequestCompletionMarkers:"Marqueurs de complétion pour les quêtes secondaires",censorMode:"Censurer le contenu NSFW",fixProfilePopup:"Corriger les popups du profil joueur",eventEndIndicators:"Indicateurs de fin d'évènement sur la page d'accueil",haremTeamsFilter:"Filtre d'équipes dans le harem",upgradeQuickNav:"Navigation rapide sur la page d'amélioration",leaderboardClubmateIndicators:"Surligner les coéquipiers  dans les classements",leaderboardProfilePopups:"Liens vers les profils de joueurs dans les classements",improvedWaifu:`Paramètres avancés pour ${ze.waifu}`,sortDailyMissions:"Trier les missions par durée",sortDailyMissions_reverse:"Ordre inverse",upgradeInfo:"Infos sur la page d'amélioration"},wt={missionsBackground:"Change l'arrière-plan des missions",collectMoneyAnimation:"Désactive l'animation de récolte d'argent",mobileBattle:"Corrige l'écran de bataille sur mobile",darkMobileLeague:"Fond sombre en Ligue sur mobile",hideRotateDevice:"Masque le message de rotation de l'écran sur mobile",salaryTimers:`Timers des salaires des ${ze.fille}s visibles`,moveSkipButton:"Mettre le bouton pour passer les combats en-bas",poseAspectRatio:`Corriger les proportions de la pose ${ze.delafille} en combat`,reduceBlur:"Réduire l'effet de flou sur l'écran principal",homeScreenRightSideRearrange:"Réorganiser les éléments sur le côté droit de l'écran principal",selectableId:"Rendre l'ID sélectionnable dans le profil utilisateur",messengerDarkMode:"Mode nuit pour la messagerie",leagueTableCompressed:"Tableau de Ligue compact",leagueTableRowStripes:"Lignes rayées dans le tableau de Ligue",leagueTableShadow:"Enlever l'ombre dans le tableau de Ligue",removeParticleEffects:"Enlever les effets de particules de la page d'accueil",eventGirlTicks:`Coches améliorées pour les ${ze.fille}s d'événement`,eventGirlBorders:`Bordures vertes pour les ${ze.fille}s d'événement obtenues`,compactNav:"Menu principal compact",poaBorders:"Bordures vertes pour les récompenses du CdlA",champGirlPower:`Corriger le débordement des points de puissance ${ze.delafille} de Champion`,champGirlOverlap:`Corriger la superposition ${ze.delafille} de Champion lors de la sélection des ${ze.fille}s`,hideGameLinks:"Masquer les liens vers les autres jeux",poaTicks:"Corriger la position des coches dans l'écran du CdlA",poaGirlFade:`Corriger l'estompement de la pose des ${ze.fille}s dans le CdlA`,newButtons:"Remplacer les anciens boutons de menu restants",bonusFlowersOverflow:`Empêcher les ${ze.fleurs} bonus d'apparaître hors écran`,popButtons:"Masquer les boutons d'auto-assignement et d'auto-récupération dans les LdP",contestNotifs:"Déplacer les notifications de compet'",contestPointsWidth:"Empêcher le débordement des points dans le tableau de compet'",leagueChangeTeamButton:"Corriger le positionnement des boutons de gauche dans la Ligue",compactPops:"LdP compacts",monthlyCardText:"Corriger le texte de la carte memsuelle",povUnclutter:"Meilleure clarté de page pour VdlV/VdlG",dailyGoals:"Redesign de la page des Objectifs Journaliers",bbProgress:"Meilleure barre de progrès des récompenses de Boss Bang",compactLossScreen:"Ecran de défaite compact",seasonalEventTweaks:"Modifications pour les Evènements Saisonniers",compactHaremFilters:"Filtres de harem compacts",expandedMarketInventory:"Inventaire du marché élargi",compactResourceSummary:"Inventaire de ressources compact",hideClaimAllButton:'Cacher le bouton "Tout réclamer" pour les récompenses de saison',dpEventTweaks:"Modifications pour la Double Pénétration",compactDailyMissions:"Missions quotidiennes compactes",removeSlotBorder:"Retirer la bordure blanche dans le marché"},xt={ninjaspy:"Espion Ninja",jacksoncrew:"Éq. de Jackson",pandorawitch:"Sorcière Pandora",werebunnypolice:"Police des Lapines-Garous",asaakira:"Directrice Asa Akira",fallback:"Monde {{world}} troll"},Mt={pointsUnbought:"Nombre de points requis pour max",moneyUnspent:"Argent demandé pour max",moneySpent:"Argent dépensé dans le marché",pointsLevel:"Points donnés par ton niveau",pointsBought:"Points achetés au marché",pointsEquip:"Points donnés par ton équipement",pointsBooster:"Points donnés par tes boosters",pointsClub:"Points donnés par ton club",boosterItem:"boosters",xpItem:"livres",xpCurrency:"XP",affItem:"cadeaux",affCurrency:"affection",equips:"équipements",youOwn:"Tu possèdes <b>{{count}}</b> {{type}}.",youCanSell:'Tu peux tout vendre pour <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"Tu peux donner un total de <b>{{value}}</b> {{currency}}."},Ct={marketRestocked:'> Le <a href="../shop.html">Marché</a> s\'est rempli depuis votre dernière visite.',visitMarket:'> Visitez d\'abord le <a href="../shop.html">Marché</a> pour pouvoir afficher un résumé de votre inventaire ici',haremStats:"Stats du harem",upgrades:"Améliorations",levelsAwakening:"Niveaux & Eveil",market:"Inventaire & Marché",wikiPage:"Page wiki de {{name}}",haremLevel:"Niveau de harem",unlockedScenes:"Scènes déverrouillées",income:"Revenus",or:"{{left}} ou {{right}}",toUpgrade:"Pour tout améliorer:",toLevelCap:"Pour limite de niveau:",toLevelMax:"Pour niveau max ({{max}}):",affectionScenes:"Scènes d'affection",buyable:"Dispo au marché",sellable:"Dans l'inventaire",gifts:"Cadeaux",books:"Livres",canBeSold:"Vendable pour {{sc}}",canBeBought:"{{item}} pour {{amount}}",marketRestock:"Marché rempli à {{time}} ou au niv. {{level}}"},kt={stayInTop:"Pour <em><u>rester dans le top {{top}}</u></em>, vous devez avoir un minimum de <em>{{points}}</em> points",notInTop:"Pour <em><u>être dans le top {{top}}</u></em>, vous devez avoir un minimum de <em>{{points}}</em> points",challengesRegen:"Régénération naturelle: <em>{{challenges}}</em>",challengesLeft:"Défis restants: <em>{{challenges}}</em>",averageScore:"Average score per fight: <em>{{average}}</em>",scoreExpected:"Score moyen par combat: <em>{{score}}</em>",toDemote:"Pour <em><u>être rétrogradé</u></em>, vous devez être dépassé par <em>{{players}}</em> joueurs",willDemote:"Pour <em><u>être rétrogradé</u></em>, vous pouvez avoir un maximum de <em>{{points}}</em> points",willDemoteZero:"Pour <em><u>être rétrogradé</u></em>, vous devez rester avec <em>0</em> points",toNotDemote:"Pour <em><u>ne pas être rétrogradé</u></em>, vous devez avoir plus de <em>0</em> points",toStay:"Pour <em><u>ne pas être promu</u></em>, vous devez être dépassé par <em>{{players}}</em> joueurs",willStay:"Pour <em><u>ne pas être promu</u></em>, vous pouvez avoir un maximum de <em>{{points}}</em> points",hideFoughtOpponents:"Masquer adversaires combattus",showFoughtOpponents:"Montrer adversaires combattus",currentLeague:"Ligue actuelle",victories:"Victoires",defeats:"Defaites",unknown:"Inconnus",notPlayed:"Non joués",levelRange:"Étendue de niveau",leagueFinished:"Ligue terminée le {{date}}",opponents:"Adversaires",leaguePoints:"Points",avg:"Moyenne"},It={guaranteed:"Victoire garantie",impossible:"Victoire impossible"},At={searchedName:"Nom",girlName:`Nom ${j.isGH()?"du mec":"de la fille"}`,searchedClass:"Classe",searchedElement:"Élément",searchedRarity:"Rareté",levelRange:"Intervalle de niveaux",levelCap:"Niveau-plafond",levelCap_capped:"Atteint",levelCap_uncapped:"Non-atteint",searchedAffCategory:"Catégorie d'affection",searchedAffLevel:"Niveau d'affection",grade0:"0 étoile",grade1:"1 étoile",grade2:"2 étoiles",grade3:"3 étoiles",grade4:"4 étoiles",grade5:"5 étoiles",grade6:"6 étoiles",searchedBlessedAttributes:"Bénédictions",blessedAttributes:j.isGH()?"Mecs bénis":"Filles bénies",nonBlessedAttributes:j.isGH()?"Mecs non bénis":"Filles non bénies"},Tt={participants:"Participants: {{participants}}/{{members}}",clubChampDuration:"{{duration}} depuis le début du tour"},St={popsIn:"LdP dans {{time}}",popsReady:"LdP dispo",readyAt:"Prêt à {{time}}",endAt:"Fin à {{time}}",fullAt:"Rempli à {{time}}",xp:"Suiv.: {{xp}} XP"},Dt={clubChamp:"Le Champion de Club",completeIn:"Terminé dans ",newMissionsIn:"Nouv. missions dans ",missionsReady:"Missions disponibles"},Lt={fights:"Combats",victories:"Victoires",defeats:"Defaites",mojoWon:"Mojo gagnés",mojoLost:"Mojo perdus",mojoWonAvg:"Moyenne mojo gagnés",mojoLostAvg:"Moyenne mojo perdus",mojoAvg:"Moyenne mojo globale"},Nt={availableGirls:`${j.isGH()?"Mecs":"Filles"} disponibles: `,poolGirls:"Pool actuel: "},$t={totalRewards:"Total des récompenses enregistrées ({{contests}} Compètes) :",contestsWarning:"Les Compètes expirent après 21 jours !"},jt={town:"Ville",adventure:"Aventure",begincity:"Ville du Prélude",gemskingdom:"Royaume des Gemmes",ninjavillage:"Village Ninja",invadedkingdom:"Royaume envahi",juysea:"La Mouillemer",admittance:"Admittance of the dead",magicforest:"Forêt Magique",hamelintown:"Ville d'Hamelin",plainofrituals:"Plaine des Rituels",heroesuniversity:"Université des Héros",ninjasacredlands:"Terres Sacrées des Ninjas",splatters:"Archipel des Éclaboussures",digisekai:"Digisekai",stairway:"La Montée aux Cieux",training:"La dimension d'entraînement",weresquidisland:"L'île des Poulpes Garous",haremtournament:"Le Tournoi de Harem",begincitycxh:"Préludeville",heroacademy:"Académie des Héros",newcenabum:"Nouveau Cénabum",ontheprowl:"À l'affût",bushexplorations:"Explorations de la brousse",thespy:"L’espion qui venait en moi",hornyknight:"Le chevalier corné",suitdown:"Sans costume",manmeatofsteel:"L'Homme au morceau d'acier",fukwell:"Université de Belbaise",eurodick:"Eurobite",homecumming:"Retrouvailles",biggerintexas:"Plus GROS au Texas",westcock:"Con Ouest",whenangelscum:"Quand les anges montent au septième ciel",suckramento:"Bienvenue à Fiakramento",fiskyfresno:"Des folies à Fresno",milftown:"Cité MILF"},Et={name:`Ouvrir la feuille de données des bénédictions de ${j.isGH()?"Bella":"zoopokemon"}`},zt={team:"Équipe",visitTeams:"Visiter d'abord <a href=\"../teams.html\">l'équipe</a>."},Pt={clubmate:"Coéquipier"},Ot={editPose:"Editer Pose",resetPose:"Réinitialiser Pose",savePose:"Sauvegarder Pose",favGirl:`Sélectionner ${ze.fille}`,unfavGirl:`Désélectionner ${ze.fille}`,modeAll:`Mode: Totalité des ${ze.fille}s`,modeFav:`Mode: Sélection de ${ze.fille}s`,randomWaifu:`${ze.waifu} aléatoire`,cycleWaifu:`Cycle de ${ze.waifu}`,cyclePause:"Arrêter défilement"};ze={HH:{chica:"chica",delachica:"de la chica",lachica:"la chica",laschicas:"las chicas",flower:"flores",waifu:"Waifu"},GH:{chica:"chico",delachica:"del chico",lachica:"el chico",laschicas:"los chicos",flower:"piruletas",waifu:"Novio"},CxH:{chica:"chica",delachica:"de la chica",lachica:"la chica",laschicas:"las chicas",flower:"joyas",waifu:"Waifu"},PSH:{chica:"chica",delachica:"de la chica",lachica:"la chica",laschicas:"las chicas",flower:"cervezas",waifu:"Waifu"},HoH:{chica:"chica",delachica:"de la chica",lachica:"la chica",laschicas:"las chicas",flower:"flores",waifu:"Waifu"}}[j.getGameKey()];const Rt={all:"Todo"},Ht={refresh:"Actualizacion Menu principal",villain:"Menu Pelear contra villano",villain_tiers:`Mostrar Rangos con ${j.isGH()?"Chicos":"Chicas"}`,market:"Informacion de Mercado",marketEquipsFilter:"Filtro de equipos de mercado",harem:"Informacion de Harén",league:"Informacion de Liga",league_board:"Mostrar los mejores de la liga",league_promo:"Mostrar información de promoción",simFight:"Simulacion de Liga / Temporada / Villano",simFight_logging:"Registro detallado en la consola del navegador",teamsFilter:"Filtro de equipos",champions:"Informacion de Campeones",champions_poseMatching:"Agregar indicadores de coincidencia de pose",champions_fixPower:`Normaliza el poder de ${ze.laschicas} para comparar.`,homeScreen:"Accesos directos y timers de la pantalla de inicio",homeScreen_leaguePos:"Mostrar rango de liga actual (hace una llamada de red adicional)",resourceBars:"Barra de recursos / Rastreador de boosters",popSort:"Clasificación de LdP y navegación rápida",seasonStats:"Estadísticas de la temporada",pachinkoNames:"Mostrar nombres en Pachinko",contestSummary:"Resumen de recompensas guardadas de las competiciones",battleEndstate:"Muestra los valores finales después de omitir la batalla.",gemStock:"Stock de gemas en el mercado/harén",staticBackground:"Previene cambios de fondo durante Días de Orgía",rewardShards:`Mostrar el contador de fragmentos actual en las recompensas para ${j.isGH()?"chicos":"chicas"}`,leaderboardFix:"Arreglar las tablas de clasificación de Temporada, CdV, CdlG y Panteón",hideClaimedRewards:"Ocultar recompensas reclamadas de Temporada/CdA/CdV",disableDragDrop:"Desactivar la opción de Drag-and-Drop en el mercado",autoRefresh:"Refresca el juego automáticamente cada 10 minutos",villainBreadcrumbs:"Agregar ruta de navegación a las páginas de villanos",blessingSpreadsheetLink:"Agregue un enlace a la hoja de cálculo de datos de bendiciones en la ventana emergente de bendiciones",homeScreenIcons:"Agregar íconos de funciones a los enlaces de la pantalla de inicio",homeScreenOrder:"Orden alternativo de los enlaces de la pantalla de inicio",homeScreenOldish:"Diseño viejo de la pantalla de inicio (No es compatible con la optimización del estilo reorganizado en el lado derecho)",overridePachinkoConfirm:`Desactivar las ventanas emergentes de advertencia "No hay ${j.isGH()?"chicos":"chicas"} disponibles" en Pachinko/NC`,sidequestCompletionMarkers:"Marcadores de finalización de misiones secundarias",censorMode:"Censurar todas las imágenes NSFW",fixProfilePopup:"Reparar ventanas emergentes de perfil de jugador",eventEndIndicators:"Indicadores de finalización de evento en la pantalla de inicio",haremTeamsFilter:"Filtro de equipos de harén",upgradeQuickNav:"Navegación rápida en la página de actualización",leaderboardClubmateIndicators:"Destacar a los compañeros de club en las tablas de clasificación",leaderboardProfilePopups:"Enlaces a perfiles de jugadores desde tablas de clasificación",improvedWaifu:`${ze.waifu} mejorada`,sortDailyMissions:"Ordena las misiones diarias por duración",sortDailyMissions_reverse:"Orden inversa",upgradeInfo:"Información de la página de mejoras"},Gt={missionsBackground:"Cambiar el fondo de las misiones",collectMoneyAnimation:"Desactivar la animación de recogida de dinero",mobileBattle:"Arreglar la pantalla de batalla para Mobile",darkMobileLeague:"Fondo oscuro en ligas para Mobile",hideRotateDevice:"Ocultar la etiqueta de rotación del dispositivo en Mobile",salaryTimers:`Timers legibles de salarios de ${j.isGH()?"chicos":"chicas"}`,moveSkipButton:"Mueve el botón de saltar batalla abajo",poseAspectRatio:`Arreglar la relación de aspecto de la pose ${j.isGH()?"del chico":"de la chica"} en la batalla`,reduceBlur:"Reducir el efecto de profundidad de campo en la pantalla de inicio",homeScreenRightSideRearrange:"Reorganizar los elementos en el lado derecho de la pantalla de inicio",selectableId:"Hacer seleccionable el ID de usuario del perfil",messengerDarkMode:"Modo oscuro para el Messenger",leagueTableCompressed:"Tabla compacta de la liga",leagueTableRowStripes:"Filas de la tabla de la liga a rayas",leagueTableShadow:"Eliminar la sombra de la tabla de la liga",removeParticleEffects:"Eliminar los efectos de partículas de la pantalla de inicio",eventGirlTicks:`Marcas de ${ze.chica} de evento mejoradas`,eventGirlBorders:`Bordes verdes en ${ze.chica}s de eventos obtenidos`,compactNav:"Usar menú principal compacto",poaBorders:"Bordes verdes en las recompensas obtenidas de CdA",champGirlPower:`Arreglar el desbordamiento de poder ${ze.delachica} del campeón`,champGirlOverlap:`Arreglar ${ze.lachica} del campeón superponiéndosea a la selección de ${ze.chica}s`,hideGameLinks:"Ocultar enlaces de juegos",poaTicks:"Corrija las posiciones de marca en la pantalla de CdA",poaGirlFade:`Arreglar la transparencia de la pose ${ze.delachica} en el CdA`,newButtons:"Reemplace los botones de estilo antiguo restantes",bonusFlowersOverflow:`Evite que aparezcan ${ze.flores} adicionales fuera de la pantalla`,popButtons:"Ocultar los botones Auto-asignar y Auto-reclamar LdP",contestNotifs:"Mover notificaciones de concurso",contestPointsWidth:"Evitar el desbordamiento de puntos de la tabla del concurso",leagueChangeTeamButton:"Arreglar el posicionamiento de los botones en el bloque izquierdo en la liga",compactPops:"LdP compacto",monthlyCardText:"Corregir el texto de la tarjeta mensual",povUnclutter:"Claridad de la página de CdV/CdG",dailyGoals:"Remodelación de objetivos diarios",bbProgress:"Mejor barra de progreso de recompensas de Boss Bang",compactLossScreen:"Pantalla de derrota compacta",seasonalEventTweaks:"Ajustes de Eventos de Temporada",compactHaremFilters:"Filtros de harén compactos",expandedMarketInventory:"Ampliación del inventario de mercado",compactResourceSummary:"Inventario de recursos compacto",hideClaimAllButton:'Ocultar el botón "Reclamar todo" en la pantalla de recompensas de temporada',dpEventTweaks:"Ajustes de eventos de DP",compactDailyMissions:"Misiones diarias compactas",removeSlotBorder:"Retirar el borde del slot blanco en el mercado"},Zt={darklord:"Señor Oscuro",ninjaspy:"Ninja espía",jacksoncrew:"La tripulación de Jackson",pandorawitch:"Pandora Bruja",werebunnypolice:"Policía hombres-conejos",fallback:"Mondo {{world}} nemico",event:"Evento"},Bt={pointsUnbought:"Puntos de estatus necesarios para maximo",moneyUnspent:"Dinero necesario para maximo",moneySpent:"Dinero usado en el mercado",pointsLevel:"Puntos de estatus de nivel",pointsBought:"Puntos comprados del mercado",pointsEquip:"Puntos de estatus de equipamiento",pointsBooster:"Puntos de estatus de los potenciadores",pointsClub:"Puntos de estatus del club",boosterItem:"potenciadores",xpItem:"libros",xpCurrency:"XP",affItem:"regalos",affCurrency:"afecto",equips:"equipamiento",youOwn:"Tienes <b>{{count}}</b> {{type}}.",youCanSell:'Puedes vender todo por <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"Puedes dar un total de <b>{{value}}</b> {{currency}}."},Ut={marketRestocked:'El <a href="../shop.html">Mercado</a> reabastecido desde su última visita',visitMarket:'Visite el <a href="../shop.html">Mercado</a> primero para ver un resumen del inventario aquí',haremStats:"Estadísticas del harén",upgrades:"Mejoras",levelsAwakening:"Niveles y Despertar",market:"Inventario y Mercado",wikiPage:"Página wiki de {{name}}",haremLevel:"Nivel de Harén",unlockedScenes:"Escenas desbloqueadas",income:"Ingresos",or:"{{left}} o {{right}}",toUpgrade:"Para actualizar todo:",toLevelCap:"Para nivelar hasta el tope:",toLevelMax:"Para nivelar al máximo: ({{max}}):",affectionScenes:"Escenas de afecto",buyable:"Disponible en el mercado:",sellable:"En inventario:",gifts:"Regalos",books:"Libros",canBeSold:"Se puede vender por {{sc}}",canBeBought:"{{item}} por {{amount}}",marketRestock:"Mercado se reabastece a las {{time}} o al nivel {{level}}"},Ft={stayInTop:"Para <em><u>quedar entre los {{top}} primeros</u></em>, debes tener un mínimo de <em>{{points}}</em> puntos",notInTop:"Para <em><u>estar entre los {{top}} primeros</u></em>, debes tener un mínimo de <em>{{points}}</em> puntos",challengesRegen:"Regeneracion naturel: <em>{{challenges}}</em>",challengesLeft:"Retos pendientes: <em>{{challenges}}</em>",averageScore:"Puntuación media por combate: <em>{{average}}</em>",scoreExpected:"Puntuación esperada: <em>{{score}}</em>",toDemote:"Para <em><u>descender</u></em>, debes ser superado por <em>{{players}}</em> jugadores",willDemote:"Para <em><u>descender</u></em>, puedes tener un máximo de <em>{{points}}</em> puntos",willDemoteZero:"Para <em><u>descender</u></em>, debes mantenerte en <em>0</em> puntos",toNotDemote:"Para <em><u>no descender</u></em>, debes tener más de <em>0</em> puntos",toStay:"Para <em><u>no promocionar</u></em>, debes ser superado por <em>{{players}}</em> jugadores",willStay:"Para <em><u>no promocionar</u></em>, puedes tener un máximo de <em>{{points}}</em> puntos",hideFoughtOpponents:"Ocultar oponentes peleados",showFoughtOpponents:"Mostrar oponentes peleados",currentLeague:"Liga actual",victories:"Victorias",defeats:"Derrota",unknown:"Desconocido",notPlayed:"No jugado",levelRange:"Rango de nivel",leagueFinished:"Liga terminó el {{date}}",opponents:"Opositores",leaguePoints:"Puntos",avg:"Media"},qt={guaranteed:"Garantizado",impossible:"Imposible"},Qt={searchedName:"Nombre",girlName:`Nombre ${j.isGH()?"del chico":"de la chica"}`,searchedClass:"Clase",searchedElement:"Elemento",searchedRarity:"Rareza",levelRange:"Rango de nivel",levelCap:"Límite de nivel",levelCap_capped:"Alcanzado",levelCap_uncapped:"No alcanzado",searchedAffCategory:"Categoría de afecto",searchedAffLevel:"Nivel de afecto",grade0:"0 estrella",grade1:"1 estrella",grade2:"2 estrellas",grade3:"3 estrellas",grade4:"4 estrellas",grade5:"5 estrellas",grade6:"6 estrellas",searchedBlessedAttributes:"Benediciones",blessedAttributes:j.isGH()?"Benditos chicos":"Benditas chicas",nonBlessedAttributes:j.isGH()?"Chicos no bendecidos":"Chicas no bendecidas"},Wt={clubChampDuration:"{{duration}} desde el comienzo de la ronda"},Yt={popsIn:"LdPs en {{time}}",popsReady:"LdPs listos",readyAt:"Listo en {{time}}",endAt:"Termina en {{time}}",fullAt:"Lleno en {{time}}",xp:"Siguiente: {{xp}} XP"},Kt={clubChamp:"El Campeón de Club",completeIn:"Completo en ",newMissionsIn:"Nuevas misiones en ",missionsReady:"Misiones listas"},Vt={fights:"Peleas",victories:"Victorias",defeats:"Derrota",mojoWon:"Mojo ganado",mojoLost:"Mojo perdido",mojoWonAvg:"Mojo ganado promedio",mojoLostAvg:"Mojo perdido promedio",mojoAvg:"Promedio total de mojo"},Jt={availableGirls:`${j.isGH()?"Chicos":"Chicas"} disponibles: `,poolGirls:"Selección actual: "},Xt={totalRewards:"Recompensas totales guardadas ({{contests}} Competiciones):",contestsWarning:"¡Los Competiciones caducan después de 21 días!"},ea={town:"Cuidad",adventure:"Aventura",begincity:"Primera ciudad",gemskingdom:"El Reino de las Gemas",ninjavillage:"Aldea de los Ninjas",invadedkingdom:"El Reino Invadido",juysea:"El mar del Jugo",admittance:"Admisión de los muertos",magicforest:"Bosque mágico",hamelintown:"Ciudad de Hamelín",plainofrituals:"Llanura de los rituales",heroesuniversity:"Universidad de Héroes",ninjasacredlands:"Tierra sagrada Ninja",splatters:"Salpicaduras del archipiélago",digisekai:"Digisekai",stairway:"Escalera al cielo",training:"Training Dimension",weresquidisland:"Isla WereSquid",haremtournament:"El Torneo del Harem"},ta={name:`Abra la hoja de cálculo de datos de bendición de ${j.isGH()?"Bella":"zoopokemon"}`},aa={team:"Equipo",visitTeams:'Visita el <a href="../teams.html">Equipos</a> primero.'},ia={clubmate:"Compañero de club"},na={editPose:"Editar Pose",resetPose:"Restablecer Pose",savePose:"Guardar Pose",favGirl:`Favorita ${ze.lachica}`,unfavGirl:`Desfavorita ${ze.lachica}`,modeAll:`Modo: Todas ${ze.laschicas}`,modeFav:`Modo: Favorita ${ze.laschicas}`,randomWaifu:`Aleatorizar ${ze.waifu}`,cycleWaifu:`Rotar ${ze.waifu}`,cyclePause:"Pausar rotación"};ze={HH:{ragazze:"ragazze",leragazze:"le ragazze",alleragazze:"alle ragazze",delleragazze:"delle ragazze",dellaragazza:"della ragazza",fiori:"ai fiori"},GH:{ragazze:"ragazzi",leragazze:"i ragazzi",alleragazze:"ai ragazzi",delleragazze:"dei ragazzi",dellaragazza:"del ragazzo",fiori:"lecca-lecca"},CxH:{ragazze:"ragazze",leragazze:"le ragazze",alleragazze:"alle ragazze",delleragazze:"delle ragazze",dellaragazza:"della ragazza",fiori:"ai gioelli"},PSH:{ragazze:"ragazze",leragazze:"le ragazze",alleragazze:"alle ragazze",delleragazze:"delle ragazze",dellaragazza:"della ragazza",fiori:"la birra"},HoH:{ragazze:"ragazze",leragazze:"le ragazze",alleragazze:"alle ragazze",delleragazze:"delle ragazze",dellaragazza:"della ragazza",fiori:"ai fiori"}}[j.getGameKey()];const oa={all:"Tutti"},sa={refresh:"Refresh pagina Home",villain:"Menù battaglia Troll",villain_tiers:`Mostra battaglie con ${j.isGH()?"ragazzi":"ragazze"}`,market:"Informazioni negozio",marketEquipsFilter:"Filtro per ogetti nel mercato",harem:"Informazioni Harem",league:"Informazioni sulle Leghe",league_board:"Mostra i top della lega",league_promo:"Mostra informazioni sulla promozione",simFight:"Simulazione Leghe / Stagione / Troll",simFight_logging:"Accesso dettagliato nella console del browser",teamsFilter:"Filtro delle squadre",champions:"Informazioni sui Campioni",champions_poseMatching:"Aggiungi indicatori di corrispondenza delle pose",champions_fixPower:`Normalizza la potenza ${ze.delleragazze} per il confronto`,homeScreen:"Scorciatoie e timer della schermata principale",homeScreen_leaguePos:"Mostra la posizione attuale nella lega (crea una chiamata di rete addizionale)",resourceBars:"Barre di risorse / Monitoraggio dei booster",popSort:"LdP ordinamento e navigazione rapida",seasonStats:"Statistiche di stagione",pachinkoNames:"Mostra i nomi nel Pachinko",contestSummary:"Riepilogo dei premi salvati dei contest",battleEndstate:"Mostra i valori finali dopo aver saltato la battaglia",gemStock:"Scorte di gemme nel Mercato/Harem",staticBackground:"Impedi lo scambio di sfondo durante i giorni dell'orgia",rewardShards:"Mostra i conti attuali dei frammenti sulle ricompense",leaderboardFix:"Correggi le classifiche di Stagione, SdV, SdG e Pantheon",hideClaimedRewards:"Nascondi le ricompense già rivendicate per la stagione/PoA/PoV",disableDragDrop:"Disabilitare il drag-and-drop nel mercato",autoRefresh:"Aggiorna il gioco automaticamente ogni 10 minuti",villainBreadcrumbs:"Aggiungi briciole di pane alle pagine dei troll",blessingSpreadsheetLink:"Aggiungi il link della tabella dei dati delle benedizioni sul popup delle benedizioni",homeScreenIcons:"Aggiungi le icone delle funzioni ai link della schermata iniziale",homeScreenOrder:"Disposizione alternativa dei link nella schermata iniziale",homeScreenOldish:"Vecchia schermata iniziale (Non compatibile con l'ottimizzazione dello stile riorganizzato sul lato destro)",overridePachinkoConfirm:`Disattiva i pop-up di avviso "${j.isGH()?"Nessun ragazzo":"Nessuna ragazza"} disponibile" in Pachinko/NC`,sidequestCompletionMarkers:"Marcatore per le missioni secondarie completate",censorMode:"Censura di tutte le immagini NSFW",fixProfilePopup:"Correzione dei popup del profilo del giocatore",eventEndIndicators:"Mostra per la fine dell'evento nella schermata iniziale",haremTeamsFilter:"Filtro squadra per harem",upgradeQuickNav:"Navigazione rapida sulla pagina di aggiornamento",leaderboardClubmateIndicators:"Evidenziare i soci del club nelle classifiche",leaderboardProfilePopups:"Link ai profili dei giocatori nelle classifiche",improvedWaifu:`${j.isGH()?"Fidanzato migliorato":"Waifu migliorata"}`,sortDailyMissions:"Ordina le missioni giornaliere per durata",sortDailyMissions_reverse:"Ordine inverso",upgradeInfo:"Informazioni sulla pagina di miglioramento"},ra={missionsBackground:"Cambiare lo sfondo delle missioni",collectMoneyAnimation:"Disattivare l'animazione di raccolta dei soldi",mobileBattle:"Correggi schermata di battaglia mobile",darkMobileLeague:"Sfondo scuro nella lega mobile",hideRotateDevice:"Nascondi il ricordo della rotazione del device su mobile",salaryTimers:"Leggibile timer di salario",moveSkipButton:"Sposta il bottone salta battaglia in basso",poseAspectRatio:`Correggi le proporzioni delle pose ${j.isGH()?"delli ragazzi":"delle ragazze"} in combattimento`,reduceBlur:"Riduci l'effetto di profondità di campo sulla schermata iniziale",homeScreenRightSideRearrange:"Riorganizza gli elementi sul lato destro della schermata iniziale",selectableId:"Rendi selezionabile l'ID utente",messengerDarkMode:"Modo scuro per il messaggero",leagueTableCompressed:"Classifica compatta",leagueTableRowStripes:"Righe della classifica di campionato",leagueTableShadow:"Rimuovi l'ombra della classifica",removeParticleEffects:"Rimuove gli effetti particellari della schermata iniziale",eventGirlTicks:`Ticchettii migliorati per ${ze.leragazze} dell'evento`,eventGirlBorders:`Bordi verdi intorno ${ze.alleragazze} degli eventi acquisiti`,compactNav:"Menu principale compatto",poaBorders:"Bordo verde intorno ai premi PoA acquisiti",champGirlPower:`Correggere l'overflow della potenza ${ze.delleragazze} nei campioni`,champGirlOverlap:`Correggere la sovrapposizione ${ze.delleragazze} con la selezione ${ze.delleragazze} in champions`,hideGameLinks:"Nascondi i riferimenti del gioco",poaTicks:"Fissa la posizione dei tick in PoA",poaGirlFade:`Correggi la posa ${ze.delleragazze} in PoA`,newButtons:"Sostituisce i vecchi pulsanti rimanenti",bonusFlowersOverflow:`Impedisci ${ze.fiori} di scorrere alla riga successiva`,popButtons:"Nascondi i pulsanti per l'assegnazione e la raccolta automatica in PoP",contestNotifs:"Sposta le voci del concorso",contestPointsWidth:"Impedisce l'overflow dei punti del concorso",leagueChangeTeamButton:"Fissa la posizione dei pulsanti sul lato destro nel campionato",compactPops:"PoPs compatti",monthlyCardText:"Fissa il testo delle carte mensili",povUnclutter:"Chiarezza della pagina PoV/PoG",dailyGoals:"Restyle degli obiettivi quotidiani",bbProgress:"Migliore barra di avanzamento della ricompensa nella Scopata Boss",compactLossScreen:"Pantalla de pérdida compacta",seasonalEventTweaks:"Ottimizzazioni per l'evento stagionale",compactHaremFilters:"Filtri del Harem Compatti",expandedMarketInventory:"Inventario del mercato allargato",compactResourceSummary:"Inventario compatto delle risorse",hideClaimAllButton:'Nascondere il bottone "Richiedi tutto" nella stagione',dpEventTweaks:"Modifiche per la Doppia Penetrazione",compactDailyMissions:"Missioni giornaliere compatte",removeSlotBorder:"Rimuovi il bordo bianco nel mercato"},la={darklord:"Signore Oscuro",ninjaspy:"Spia Ninja",jacksoncrew:"Ciurma di Jackson",pandorawitch:"Strega Pandora",werebunnypolice:"Polizia del Conigli Mannari",fallback:"Mundo {{world}} villano",event:"Evento"},ca={pointsUnbought:"Punti statistica necessari per il massimo",moneyUnspent:"Soldi necessari per il massimo",moneySpent:"Soldi spesi al negozio",pointsLevel:"Punti acquisiti da aumento livello",pointsBought:"Punti comprati al negozio",pointsEquip:"Punti statistica da equipaggiamento",pointsBooster:"Punti statistica dei potenziamenti",pointsClub:"Punti statistica bonus del Club",boosterItem:"potenziamenti",xpItem:"libri",xpCurrency:"XP",affItem:"regali",affCurrency:"affetto",equips:"equipaggiamento",youOwn:"Possiedi <b>{{count}}</b> {{type}}.",youCanSell:'Puoi vendere tutto per <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"Puoi dare un massimo di <b>{{value}}</b> {{currency}}."},pa={marketRestocked:'> Il <a href="../shop.html">mercato</a> si è rifornito dalla tua ultima visita.',visitMarket:'> Visita prima il <a href="../shop.html">Mercato</a> per vedere un riassunto dell\'inventario qui',haremStats:"Statistiche dell'harem",upgrades:"Aggiornamenti",levelsAwakening:"Livelli e risveglio",market:"Inventario e mercato",wikiPage:"La pagina wiki di {{name}}}",haremLevel:"Il livello del Harem",unlockedScenes:"Scene sbloccate",income:"Guadagno",or:"{{left}} o {{right}}",toUpgrade:"Per aggiornare tutti:",toLevelCap:"Per salire di livello fino:",toLevelMax:"Per salire di livello al massimo ({{max}}):",affectionScenes:"Scene d'affetto",buyable:"Dispondibili nel mercato:",sellable:"Nell'inventario:",gifts:"Regali",books:"Libri",canBeSold:"Può essere venduto per {{sc}}",canBeBought:"{{item}} per {{amount}}",marketRestock:"Il mercato si rifornisce in {{time}} o al livello {{level}}"},da={stayInTop:"Per <em><u>rimanere tra i primi {{top}}</u></em>, devi avere un minimo di <em>{{points}}</em> punti",notInTop:"Per <em><u>essere tra i primi {{top}}</u></em>, devi avere un minimo di <em>{{points}}</em> punti",challengesRegen:"Rigenerazione naturale: <em>{{challenges}}</em>",challengesLeft:"Combattimenti mancanti: <em>{{challenges}}</em>",averageScore:"Punteggio medio per combattimento: <em>{{average}}</em>",scoreExpected:"Punteggio previsto: <em>{{score}}</em>",toDemote:"Per <em><u>retrocedere</u></em>, devi essere sorpassato da <em>{{players}}</em> giocatori",willDemote:"Per <em><u>retrocedere</u></em>, puoi avere al massimo <em>{{points}}</em> punti",willDemoteZero:"Per <em><u>retrocedere</u></em>, devi rimanere a <em>0</em> punti",toNotDemote:"Per <em><u>non retrocedere</u></em>, devi avere più di <em>0</em> punti",toStay:"Per <em><u>non essere promosso</u></em>, devi essere sorpassato da <em>{{players}}</em> giocatori",willStay:"Per <em><u>non essere promosso</u></em>, puoi avere al massimo <em>{{points}}</em> punti",hideFoughtOpponents:"Nascondi avversari combattuti",showFoughtOpponents:"Mostra avversari combattuti",currentLeague:"Lega attuale",victories:"Vittorie",defeats:"Sconfitte",unknown:"Sconosciuto",notPlayed:"Non giocato",levelRange:"Gamma di livelli",leagueFinished:"Lega finita il {{date}}",opponents:"Avversari",leaguePoints:"Punti",avg:"Media"},ua={guaranteed:"Garantito",impossible:"Impossibile"},ga={searchedName:"Nome",girlName:`Nome ${j.isGH()?"del ragazzo":"della ragazza"}`,searchedClass:"Classe",searchedElement:"Elemento",searchedRarity:"Rarità",levelRange:"Gamma di livelli",levelCap:"Limite di livello",levelCap_capped:"Raggiunto",levelCap_uncapped:"Non raggiunto",searchedAffCategory:"Categoria di affetto",searchedAffLevel:"Livello di affetto",grade0:"0 stella",grade1:"1 stella",grade2:"2 stelle",grade3:"3 stelle",grade4:"4 stelle",grade5:"5 stelle",grade6:"6 stelle",searchedBlessedAttributes:"Benedizioni",blessedAttributes:j.isGH()?"Ragazzi benedetti":"Ragazze benedette",nonBlessedAttributes:j.isGH()?"Ragazzi non benedetti":"Ragazze non benedette"},ma={participants:"Partecipanti: {{participants}}/{{members}}",clubChampDuration:"{{duration}} dall'inizio del giro"},ha={popsIn:"LdP in {{time}}",popsReady:"LdP pronti",readyAt:"Pronto in {{time}}",endAt:"Termina in {{time}}",fullAt:"Pieno in {{time}}",xp:"Prossimo: {{xp}} XP"},ba={clubChamp:"Il Campione per Club",completeIn:"Completa in ",newMissionsIn:"Nuova Missione in ",missionsReady:"Missioni pronte"},fa={fights:"Combattimenti",victories:"Vittorie",defeats:"Sconfitte",mojoWon:"Mojo vinto",mojoLost:"Mojo perso",mojoWonAvg:"Media mojo vinto",mojoLostAvg:"Media mojo perso",mojoAvg:"Media mojo globale"},va={availableGirls:`${j.isGH()?"Ragazzi":"Ragazze"} disponibili: `,poolGirls:"Selezione corrente: "},ya={totalRewards:"Ricompense totali salvate ({{contests}} contest):",contestsWarning:"I contest scadono dopo 21 giorni!"},_a={town:"Città",adventure:"Avventura",begincity:"Città dell'inizio",gemskingdom:"Il reame delle gemme",ninjavillage:"Villaggio dei ninja",invadedkingdom:"Il regno invaso",juysea:"Il mare Juy",admittance:"Ammissione del defunto",magicforest:"La foresta magica",hamelintown:"Città di Hamelin",plainofrituals:"Piano dei rituali",heroesuniversity:"Università degli Eroi",ninjasacredlands:"Terre Sacre dei Ninja",splatters:"Arcipelago Appiccicoso",digisekai:"Digisekai",stairway:"Scalinata verso il Cielo",training:"Dimensione d'Allenamento",weresquidisland:"Isola dei Calamari Mannari",haremtournament:"Il Torneo dell'Harem"},wa={name:`Apri il foglio della tabella dei dati delle benedizioni di ${j.isGH()?"Bella":"zoopokemon"}`},xa={team:"Squadra",visitTeams:'Visita le <a href="../teams.html">Squadre</a> prima.'},Ma={clubmate:"Soci del club"},Ca={editPose:"Modifica posa",resetPose:"Ripristina posa",savePose:"Salva posa",favGirl:`Favorisc${j.isGH()?"i ragazzo":"a ragazza"}`,unfavGirl:`Sfavorisci ${j.isGH()?"ragazzo":"ragazza"}`,modeAll:`Modo: Tutt${j.isGH()?"i ragazzi":"e ragazze"}`,modeFav:`Modo: Preferite ${j.isGH()?"ragazzi":"ragazze"}`,randomWaifu:`${j.isGH()?"Fidanzato":"Waifu"} casuale`,cycleWaifu:`Cicli ${j.isGH()?"fidanzato":"waifu"}`,cyclePause:"Pausa ciclo"};ze={HH:{Blumen:"Blumen"},GH:{Blumen:"Lollis"},CxH:{Blumen:"Juwelen"},PSH:{Blumen:"Biere"},HoH:{Blumen:"Blumen"}}[j.getGameKey()];const ka={all:"Alle"},Ia={villain:"Schurken-Menü",villain_tiers:`Stufen mit ${j.isGH()?"Kerlen":"Mädels"} anzeigen`,market:"Markt-Informationen",marketEquipsFilter:"Ausrüstungsfilter im Markt",harem:"Harem-Informationen",league:"Liga-Informationen",league_board:"Die Liga-Spitzen anzeigen",league_promo:"Werbeinformationen anzeigen",simFight:"Liga/Saison/Schurken-Simulation",simFight_logging:"Detaillierte Protokollierung in der Browserkonsole",teamsFilter:"Teamfilter",champions:"Champion-Informationen",champions_poseMatching:"Aktiviere Erkennung für passende Champion-Position",champions_fixPower:`Kraft der ${j.isGH()?"Kerle":"Mädchen"} zum Vergleich normalisieren`,homeScreen:"Homepage Verknüpfungen & Timer",homeScreen_leaguePos:"Aktuellen Rang in der Liga anzeigen (erstellt zusätzlichen Netzaufruf)",resourceBars:"Ressourcen-Leisten / Booster Tracking",popSort:"PoP-Sortierung und schnelle Navigation",seasonStats:"Saison-Werte",pachinkoNames:"Namen im Pachinko anzeigen",contestSummary:"Zusammenfassung der gespeicherten Wettbewerbsprämien",battleEndstate:"Endgültige Werte beim Überspringen des Kampfes anzeigen",gemStock:"Juwelen-Vorrat im Markt/Harem",staticBackground:"Verhindere Hintergrundveränderung währden Orgien Tagen",rewardShards:`Aktuelle Splitteranzahl für ${j.isGH()?"Kerle":"Mädchen"} anzeigen`,leaderboardFix:"Fix für Ranglisten von Saison, PoV, PoG und Pantheon",hideClaimedRewards:"Bereits beanspruchte Saison/PoA/PoV Belohungen ausblenden",disableDragDrop:"Drag-and-Drop im Markt deaktivieren",autoRefresh:"Automatisches Aktualisieren des Spiels alle 10 Minuten",villainBreadcrumbs:"Ergänze Breadcrumbs für die Schurken-Seite",blessingSpreadsheetLink:"Ergänze Verknüpfung zu der Datentabelle für Segnungen auf dem Segnungen Pop-Up",homeScreenIcons:"Füge Feature-Symbole zu den Links auf dem Startbildschirm hinzu",homeScreenOrder:"Alternative Anordnung der Links auf dem Startbildschirm",homeScreenOldish:"Altes Startbildschirm-Layout (Nicht kompatibel mit rechtsseitiger reorganisierter Stil-Optimierung)",overridePachinkoConfirm:`Warn-Pop-ups "Keine ${j.isGH()?"Jungs":"Mädchen"} verfügbar" in Pachinko/NC deaktivieren`,sidequestCompletionMarkers:"Markierung für abgeschlossene Nebenquests",censorMode:"Zensur aller NSFW-Bilder",fixProfilePopup:"Fix für Spielerprofil-Popups",eventEndIndicators:"Anzeige für Eventende auf dem Startbildschirm",haremTeamsFilter:"Teamfilter für Harem",upgradeQuickNav:"Schnellnavigation auf der Upgrade-Seite",leaderboardClubmateIndicators:"Club-Mitglieder auf Ranglisten hervorheben",leaderboardProfilePopups:"Links zu Spielerprofilen in den Ranglisten",improvedWaifu:`Verbesserte${j.isGH()?"r Boyfriend":" Waifu"}`,sortDailyMissions:"Tägliche Missionen nach Dauer sortieren",sortDailyMissions_reverse:"Umgekehrte Reihenfolge",upgradeInfo:"Informationen zur Verbesserungsseite"},Aa={missionsBackground:"Missionshintergrund ändern",collectMoneyAnimation:"Geldsammel-Animation deaktivieren",mobileBattle:"Fix für den Kampfbildschirm am Handy",darkMobileLeague:"Dunkler Liga-Hintergrund am Handy",hideRotateDevice:"Gerät-drehen-Hinweis am Handy verbergen",salaryTimers:`Lesbarer Lohntimer der ${j.isGH()?"Jungs":"Mädchen"}`,moveSkipButton:"Verschiebe die Kampf überspringen Taste nach unten",poseAspectRatio:`${j.isGH()?"Kerle":"Mädchen"} Posen-Seitenverhältnisse im Kampf korrigieren`,reduceBlur:"Reduziere Tiefenschärfe-Effekt auf dem Startbildschirm",homeScreenRightSideRearrange:"Ordne die Elemente auf der rechten Seite des Startbildschirms neu an",selectableId:"Mache User-ID auswählbar",messengerDarkMode:"Dunkler Modus für den Messenger",leagueTableCompressed:"Kompakte Ligatabelle",leagueTableRowStripes:"Gestreifte Ligatabellen-Zeilen",leagueTableShadow:"Entferne Schatten der Ligatabelle",removeParticleEffects:"Entferne die Partikeleffekte des Startbildschirms",eventGirlTicks:`Verbesserte Häkchen für Event${j.isGH()?"kerle":"mädels"}`,eventGirlBorders:`Grüne Umrandung um erworbene Event${j.isGH()?"kerle":"mädchen"}`,compactNav:"Kompaktes Hauptmenü",poaBorders:"Grüne Umrandung um erworbene PoA-Belohnungen",champGirlPower:`Überlauf von ${j.isGH()?"Jungs":"Mädchen"}kraft bei Champions beheben`,champGirlOverlap:`Behebe Überlappen von ${j.isGH()?"Jungs":"Mädchen"} mit ${j.isGH()?"Jungs":"Mädchen"}auswahl bei Champions`,hideGameLinks:"Spiellinks verbergen",poaTicks:"Behebe Häkchenposition im PoA",poaGirlFade:`Behebe verblassen der ${j.isGH()?"Jungs":"Mädchen"}pose im PoA`,newButtons:"Tausche verbleibende alte Schaltflächen aus",bonusFlowersOverflow:`Verhindere, dass ${ze.Blumen} in die nächste Zeile rutschen`,popButtons:"Verberge die Schalflächen für automatisches Zuweisen und Einsammeln in PoP",contestNotifs:"Verschiebe die Wettbewerbs-meldungen",contestPointsWidth:"Verhindere überlauf von Wettbewerbspunkten",leagueChangeTeamButton:"Behebe die Positionen der Schaltflächen auf der rechten Seite in der Liga",compactPops:"Kompakte PoPs",monthlyCardText:"Behebe den Text der Monatskarten",povUnclutter:"PoV/PoG Seiten-übersichtlichkeit",dailyGoals:"Restyle der Täglichen Ziele",bbProgress:"Bessere Belohungsfort-schrittsleiste in Boss Bums",compactLossScreen:"Kompakte Niederlage-Anzeige",seasonalEventTweaks:"Optimierungen für Saisonales Event",compactHaremFilters:"Kompakte Haremfilter",expandedMarketInventory:"Erweitertes Marktinventar",compactResourceSummary:"Kompaktes Ressourcen-Inventar",hideClaimAllButton:'"Alles beanspruchen"-Button in der Saison verbergen',dpEventTweaks:"DP-Event Anpassungen",compactDailyMissions:"Kompakte tägliche Missionen",removeSlotBorder:"Weißen Rahmen im Markt entfernen"},Ta={darklord:"Dunkler Lord",ninjaspy:"Ninja Spion",jacksoncrew:"Jacksons Crew",pandorawitch:"Pandora Hexe",werebunnypolice:"Wer-Kaninchen Polizei",fallback:"Welt {{world}} Schurke"},Sa={pointsUnbought:"Kaufbare Statuspunkte bis Maximum",moneyUnspent:"Nötiges Geld bis Maximum",moneySpent:"Bisher ausgegebens Geld",pointsLevel:"Levelbasierte Statuspunkte",pointsBought:"Gekaufte Statuspunkte",pointsEquip:"Statuspunkte durch Ausrüstung",pointsBooster:"Statuspunkte durch Booster",pointsClub:"Statuspunkte durch Club-Boni",boosterItem:"Booster",xpItem:"Bücher",xpCurrency:"XP",affItem:"Geschenke",affCurrency:"Zuneigung",equips:"Ausrüstungen",youOwn:"Du besitzt <b>{{count}}</b> {{type}}.",youCanSell:'Du kannst alles verkaufen für <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"Du kannst ingesamt <b>{{value}}</b> {{currency}} vergeben."},Da={marketRestocked:'> Der <a href="../shop.html">Markt</a> wurde seit deinem letzten Besuch aufgefüllt.',visitMarket:'> Besuche zuerst den <a href="../shop.html">Markt</a>, um hier eine Inventarzusammenfassung zu sehen',haremStats:"Haremwerte",upgrades:"Upgrades",levelsAwakening:"Level & Erwachen",market:"Inventar & Markt",wikiPage:"{{name}}s Wikiseite",haremLevel:"Harem-Level",unlockedScenes:"Freigeschaltete Szenen",income:"Einkommen",or:"{{left}} oder {{right}}",toUpgrade:"Um alle upzugraden",toLevelCap:"Um bis zur Grenze zu leveln",toLevelMax:"Um bis zum Maximum zu leveln ({{max}})",affectionScenes:"Zuneigungsszenen",buyable:"Im Markt zu kaufen",sellable:"Im Inventar",gifts:"Geschenke",books:"Bücher",canBeSold:"Kann für {{sc}} verkauft werden",canBeBought:"{{item}} für {{amount}}",marketRestock:"Markt füllt sich um {{time}} oder bei Level {{level}} wieder auf"},La={stayInTop:"Um <em><u>in den Top {{top}} zu bleiben</u></em>, musst du mindestens <em>{{points}}</em> Punkte haben",notInTop:"Um <em><u>in die Top {{top}} zu kommen</u></em>, musst du mindestens <em>{{points}}</em> Punkte haben",challengesRegen:"Regeneration: <em>{{challenges}}</em>",challengesLeft:"Verbleibende Kämpfe: <em>{{challenges}}</em>",averageScore:"Durchschnitt pro Kampf: <em>{{average}}</em>",scoreExpected:"Erwartetes Ergebnis: <em>{{score}}</em>",toDemote:"Um <em><u>abzusteigen</u></em>, musst du von <em>{{players}}</em> Spielern überholt werden",willDemote:"Um <em><u>abzusteigen</u></em>, darfst du maximal <em>{{points}}</em> Punkte haben",willDemoteZero:"Um <em><u>abzusteigen</u></em>, musst du bei <em>0</em> Punkten bleiben",toNotDemote:"Um <em><u>nicht abzusteigen</u></em>, musst du mehr als <em>0</em> Punkte",toStay:"Um <em><u>nicht aufzusteigen</u></em>, musst du von <em>{{players}}</em> Spielern überholt werden",willStay:"Um <em><u>nicht aufzusteigen</u></em>, darfst du maximal <em>{{points}}</em> Punkte haben",hideFoughtOpponents:"Bereits bekämpfte Gegner verbergen",showFoughtOpponents:"Bereits bekämpfte Gegner anzeigen",currentLeague:"Aktuelle Liga",victories:"Siege",defeats:"Niederlagen",unknown:"Unbekannt",notPlayed:"Nicht gespielt",levelRange:"Level-Spanne",leagueFinished:"Liga endete am {{date}}",opponents:"Gegner",leaguePoints:"Punkte",avg:"Mittelwert"},Na={guaranteed:"Garantiert",impossible:"Unmöglich"},$a={searchedName:"Suche",girlName:"Name",searchedClass:"Klasse",searchedRarity:"Seltenheit",levelRange:"Level-Spanne",levelCap:"Level-Grenze",levelCap_capped:"Erreicht",levelCap_uncapped:"Nicht erreicht",searchedAffCategory:"Maximale Zuneigung",searchedAffLevel:"Aktuelle Zuneigung",grade0:"0 Sterne",grade1:"1 Stern",grade2:"2 Sterne",grade3:"3 Sterne",grade4:"4 Sterne",grade5:"5 Sterne",grade6:"6 Sterne",searchedBlessedAttributes:"Segnungen",blessedAttributes:`Gesegnete ${j.isGH()?"Kerle":"Mädchen"}`,nonBlessedAttributes:`Nicht gesegnete ${j.isGH()?"Kerle":"Mädchen"}`},ja={participants:"Teilnehmer: {{participants}}/{{members}}",clubChampDuration:"{{duration}} seit Rundenbeginn"},Ea={popsIn:"PoPs in {{time}}",popsReady:"PoPs bereit",readyAt:"Bereit um {{time}}",endAt:"Endet um {{time}}",fullAt:"Voll um {{time}}",xp:"Nächstes: {{xp}} XP"},za={clubChamp:"Club-Champion",completeIn:"Beendet in ",newMissionsIn:"Neue Missionen in ",missionsReady:"Missionen bereit"},Pa={fights:"Kämpfe",victories:"Siege",defeats:"Niederlagen",mojoWon:"Gewonnenes Mojo",mojoLost:"Verlorenes Mojo",mojoWonAvg:"Durchschnittlich gewonnenes Mojo",mojoLostAvg:"Durchschnittlich verlorenes Mojo",mojoAvg:"Insgesamt durchschnittliches Mojo"},Oa={availableGirls:`Verfügbare ${j.isGH()?"Kerle":"Mädchen"}: `,poolGirls:"Aktuelle Auswahl: "},Ra={totalRewards:"Gesamtzahl der gespeicherten Belohnungen ({{contests}} Wettbewerbe):",contestsWarning:"Wettbewerbe verfallen nach 21 Tagen!"},Ha={town:"Stadt",adventure:"Abenteuer",begincity:"Vorspiel-Stadt",gemskingdom:"Edelstein-Königreich",ninjavillage:"Ninja Dorf",invadedkingdom:"Überfallenes Königreich",juysea:"Das feuchte Meer",admittance:"Einlass der Toten",magicforest:"Magischer Wald",hamelintown:"Die Stadt Hameln",plainofrituals:"Ebene der Rituale",heroesuniversity:"Helden Universität",ninjasacredlands:"Heilige Lande der Ninja",splatters:"Spritzer-Archipel",digisekai:"Digisekai",stairway:"Himmelstreppe",training:"Trainingsdimension",weresquidisland:"Wer-Tintenfisch-Insel",haremtournament:"Das Haremturnier"},Ga={name:`Öffne die Datentabelle für Segnungen von ${j.isGH()?"Bella":"zoopokemon"}`},Za={team:"Team",visitTeams:'Besuche zuerst die <a href="../teams.html">Teams</a>.'},Ba={clubmate:"Club-Mitglieder"},Ua={editPose:"Pose bearbeiten",resetPose:"Pose zurücksetzen",savePose:"Pose speichern",favGirl:`${j.isGH()?"Kerl":"Mädchen"} favorisieren`,unfavGirl:`${j.isGH()?"Kerl":"Mädchen"} entfavorisieren`,modeAll:`Modus: Alle ${j.isGH()?"Kerle":"Mädchen"}`,modeFav:`Modus: Lieblings-${j.isGH()?"Kerle":"Mädchen"}`,randomWaifu:`Zufällige${j.isGH()?"r Boyfriend":" Waifu"}`,cycleWaifu:`${j.isGH()?"Boyfriend":"Waifu"} durchwechseln`,cyclePause:"Durchwechseln pausieren"};ze={HH:{"девушках":"девушках","девушек":"девушек","цветов":"цветов"},GH:{"девушках":"парнях","девушек":"парней","цветов":"сосалок"},CxH:{"девушках":"девушках","девушек":"девушек","цветов":"драгоценностей"},PSH:{"девушках":"девушках","девушек":"девушек","цветов":"напитков"},HoH:{"девушках":"девушках","девушек":"девушек","цветов":"цветов"}}[j.getGameKey()];const Fa={all:"Все"},qa={refresh:"Обновлять главную страницу",villain:"Меню выбора злодея",villain_tiers:`Показывать стадии с ${j.isGH()?"парнями":"девушками"}`,market:"Информация о рынке",marketEquipsFilter:"Фильтр снаряжения на рынке",harem:"Информация о гареме",league:"Информация о лиге",league_board:"Показывать верхнюю строку в лиге",league_promo:"Показывать инфо о повышении",simFight:"Симуляция Лиги / Сезона / Злодеев",simFight_logging:"Подробный лог в консоли браузера",teamsFilter:"Фильтр в Командах",champions:"Индикаторы в Чемпионах",champions_poseMatching:"Добавить индикаторы совпадения позы",champions_fixPower:`Нормализировать силу ${ze.девушек} для сравнения`,homeScreen:"Ссылки и таймеры на главной странице",homeScreen_leaguePos:"Показывать текущий ранг в лиге (делает дополнительный сетевой запрос)",resourceBars:"Полоски ресурсов / Таймеры бустеров",popSort:"Сортировка и быстрая навигация по Рейдам",seasonStats:"Статистика Сезона",pachinkoNames:"Показывать имена в Пачинко",contestSummary:"Обзор сохраненных Состязаний",battleEndstate:"Показывать финальные значения при пропуске боя",gemStock:"Показывать запас камней в Гареме/Рынке",staticBackground:"Остановить переключение фона во время Оргий",rewardShards:`Показывать текущее притяжение на ${j.isGH()?"парнях":"девушках"}-наградах`,leaderboardFix:"Исправить список лидеров Сезона, PoV, PoG и Pantheon",hideClaimedRewards:"Скрывать полученные награды Сезона/Пути/PoV",disableDragDrop:"Отключить перетаскивание на Рынке",autoRefresh:"Обновлять окно игры каждые 10 минут",villainBreadcrumbs:"Показывать цепочку навигации на экранах злодеев",blessingSpreadsheetLink:"Добавить ссылку на таблицу благословений во всплывающее окно благословений",homeScreenIcons:"Добавить иконки к ссылкам на главном экране",homeScreenOrder:"Альтернативный порядок ссылок на главном экране",homeScreenOldish:"Вид главного экрана подобный старому (Несовместимо с изменением положения элементов правой части от Style Tweak)",overridePachinkoConfirm:`Отключить предупреждение "Нет ${j.isGH()?"Парней":"Девушек"}" в Пачинко/Ночном-клубе`,sidequestCompletionMarkers:"Метки прогресса побочных историй",censorMode:"Цензурировать все NSFW изображения",fixProfilePopup:"Восстановить просмотр профилей игроков",eventEndIndicators:"Индикаторы окончания событий на главном экране",haremTeamsFilter:"Фильтр команд в гареме",upgradeQuickNav:"Быстрая навигация на экране апгрейдов",leaderboardClubmateIndicators:"Выделять членов клуба в списках игроков",leaderboardProfilePopups:"Ссылки на профили в списках игроков"},Qa={missionsBackground:"Изменить фон миссий",collectMoneyAnimation:"Убрать анимацию сбора денег",mobileBattle:"Исправить мобильную версию экрана битв",darkMobileLeague:"Темный фон в мобильной версии лиг",hideRotateDevice:"Скрыть напоминание повернуть экран в мобильной версии",salaryTimers:`Читаемые таймеры заработка ${j.isGH()?"парней":"девушек"}`,moveSkipButton:"Переместить кнопку пропуска битв вниз",poseAspectRatio:`Исправить соотношение сторон у поз ${j.isGH()?"парней":"девушек"} в битвах`,reduceBlur:"Уменьшить размывание на главном экране",homeScreenRightSideRearrange:"Изменить положение элементов в правой части главного экрана",selectableId:"В профиле позволить выбирать ID игрока мышкой",messengerDarkMode:"Темная тема для Мессенджера",leagueTableCompressed:"Компактный вид списка лиги",leagueTableRowStripes:"Чередование расцветки строк лиги",leagueTableShadow:"Убрать затенение списка лиги",removeParticleEffects:"Убрать эффекты частиц на главном экране",eventGirlTicks:`Улучшенные галочки на ${ze.девушках} игровых событий`,eventGirlBorders:`Зеленая рамка вокруг полученных ${ze.девушек} на экране событий`,compactNav:"Компактное главное меню",poaBorders:"Зеленая рамка вокруг полученных наград Пути Притяжения",champGirlPower:`Исправить переполнение по ширине для силы ${ze.девушек} на экране Чемпионов`,champGirlOverlap:`Исправить наложение ${ze.девушек} чемпионов поверх выбора девушек`,hideGameLinks:"Скрыть ссылки на другие игры",poaTicks:"Исправить положение галочек на экране Пути Притяжения",poaGirlFade:`Исправить затенение поз ${ze.девушек} на экране Пути Притяжения`,newButtons:"Заменить оставшиеся кнопки старого стиля",bonusFlowersOverflow:`Предотвращать получение бонусных ${ze.цветов} вне экрана`,popButtons:"Скрыть кнопки автосбора и автоназначения на экране PoP",contestNotifs:"Переместить уведомления состязаний",contestPointsWidth:"Предотвращать переполнение по ширине для очков состязаний",leagueChangeTeamButton:"Исправить позиционирование кнопок левой стороны в лиге",compactPops:"Компактные PoP",monthlyCardText:"Исправить текст месячной карты",povUnclutter:"Более свободный экран PoV/PoG",dailyGoals:"Переделанная экран Daily Goals",bbProgress:"Улучшенная полоса прогресса Boss Bang",compactLossScreen:"Компактный экран поражения",seasonalEventTweaks:"Поправки для Сезонных Событий",compactHaremFilters:"Компактные фильтры Гарема",expandedMarketInventory:"Расширенный список предметов Рынка",compactResourceSummary:"Компактный перечень ресурсов",hideClaimAllButton:'Скрыть кнопку "Получить Все" на экране наград Сезона'},Wa={darklord:"Темный властелин",ninjaspy:"Ниндзя-шпион",gruntt:"Закупа",edwarda:"Эдуарда",donatien:"Донатьен",silvanus:"Сильванус",bremen:"Бремен",finalmecia:"Конченция",rokosensei:"Роко-Сэнсей",karole:"Кэрол",jacksoncrew:"Команда Джексона",pandorawitch:"Пандорская ведьма",nike:"Найк",sake:"Сейк",werebunnypolice:"Кроличья полиция",fallback:"Злодей мира {{world}}",event:"Сейчас"},Ya={pointsUnbought:"Очков до максимума",moneyUnspent:"Нужно денег до максимума",moneySpent:"Потрачено денег на очки",pointsLevel:"Очков от уровня",pointsBought:"Куплено очков",pointsEquip:"Очков от снаряжения",pointsBooster:"Очков от бустеров",pointsClub:"Бонусных очков от клуба",boosterItem:"бустеров",xpItem:"книг",xpCurrency:"XP",affItem:"подарков",affCurrency:"влечения",equips:"предметов снаряжения",youOwn:"У тебя есть <b>{{count}}</b> {{type}}.",youCanSell:'Можно продать все за <b>{{cost}}</b> <span class="hudSC_mix_icn"></span>.',youCanGive:"Всего можно дать <b>{{value}}</b> {{currency}}."},Ka={marketRestocked:'> <a href="../shop.html">Рынок</a> обновился с последнего визита.',visitMarket:'> Посети <a href="../shop.html">Рынок</a> чтобы здесь появился обзор по ресурсам',haremStats:"Статистика Гарема",upgrades:"Улучшения",levelsAwakening:"Уровни и Пробуждения",market:"Ресурсы и Рынок",wikiPage:"{{name}} в вики",haremLevel:"Уровень гарема",unlockedScenes:"Открытые сцены",income:"Доход",or:"{{left}} или {{right}}",toUpgrade:"Чтобы улучшить всех:",toLevelCap:"Довести уровень до предела:",toLevelMax:"Довести уровень до максимума ({{max}}):",affectionScenes:"Сцены Влечения",buyable:"Доступно на рынке:",sellable:"В запасе",gifts:"Подарки",books:"Книги",canBeSold:"Можно продать за {{sc}}",canBeBought:"{{item}} за {{amount}}",marketRestock:"Рынок обновится в {{time}} или на {{level}} уровне"},Va={guaranteed:"Гарантированно",impossible:"Невозможно"},Ja={stayInTop:"Чтобы <em><u>остаться в топ {{top}}</u></em>, требуется минимум <em>{{points}}</em> очков",notInTop:"Чтобы <em><u>оказаться в топ {{top}}</u></em>, требуется минимум <em>{{points}}</em> очков",challengesRegen:"Обычная регенерация: <em>{{challenges}}</em>",challengesLeft:"Осталось битв: <em>{{challenges}}</em>",averageScore:"Среднее кол-во очков за битву: <em>{{average}}</em>",scoreExpected:"Ожидаемый результат: <em>{{score}}</em>",toDemote:"Чтобы <em><u>опуститься в лиге</u></em>, тебя должны обогнать <em>{{players}}</em> игроков",willDemote:"Чтобы <em><u>опуститься в лиге</u></em>, у тебя должно быть не более <em>{{points}}</em> очков",willDemoteZero:"Чтобы <em><u>опуститься в лиге</u></em>, тебе надо остаться на <em>0</em> очков",toNotDemote:"Чтобы <em><u>остаться в этой лиге</u></em>, у тебя должно быть больше <em>0</em> очков",toStay:"Чтобы <em><u>не повысится в лиге</u></em>, тебя должны обогнать <em>{{players}}</em> игроков",willStay:"Чтобы <em><u>не повысится в лиге</u></em>, у тебя должно быть не больше <em>{{points}}</em> очков",hideFoughtOpponents:"Скрыть проведенные бои",showFoughtOpponents:"Показать проведенные бои",currentLeague:"Текущая лига",victories:"Побед",defeats:"Поражений",unknown:"Неизвестно",notPlayed:"Осталось",levelRange:"Диапазон уровней",leagueFinished:"Лига завершенная {{date}}",opponents:"Противников",leaguePoints:"Очков",avg:"В среднем"},Xa={searchedName:"Поиск",girlName:`Имя ${j.isGH()?"парня":"девушки"}`,searchedClass:"Класс",searchedElement:"Элемент",searchedRarity:"Редкость",levelRange:"Диапазон уровней",levelCap:"Предел уровня",levelCap_capped:"Достигнут",levelCap_uncapped:"Недостигнут",searchedAffCategory:"Категория по влечению",searchedAffLevel:"Уровень влечения",grade0:"0 звезд",grade1:"1 звезда",grade2:"2 звезды",grade3:"3 звезды",grade4:"4 звезды",grade5:"5 звезд",grade6:"6 звезд",searchedBlessedAttributes:"Благословения",blessedAttributes:`Благословленные ${j.isGH()?"парни":"девушки"}`,nonBlessedAttributes:`Неблагословленные ${j.isGH()?"парни":"девушки"}`},ei={participants:"Участников: {{participants}}/{{members}}",clubChampDuration:"{{duration}} с начала раунда"},ti={popsIn:"Рейды через {{time}}",popsReady:"Рейды завершены",readyAt:"Завершатся в {{time}}",endAt:"Закончится в {{time}}",fullAt:"Заполнится в {{time}}",xp:"Следующий: {{xp}} XP"},ai={clubChamp:"Клубный Чемпион",completeIn:"Завершится через ",newMissionsIn:"Новые миссии через ",missionsReady:"Доступны миссии"},ii={fights:"Битв",victories:"Побед",defeats:"Поражений",mojoWon:"Выиграно удали",mojoLost:"Потяряно удали",mojoWonAvg:"Средняя выигрываемая удаль",mojoLostAvg:"Средняя проигрываемая удаль",mojoAvg:"Средняя удаль за битву"},ni={availableGirls:`Доступные ${j.isGH()?"парни":"девушки"}: `,poolGirls:"Текущий выбор: "},oi={totalRewards:"Всего Сохраненных Наград ({{contests}} Соревнований):",contestsWarning:"Награды соревнований исчезают через 21 день!"},si={town:"Город",adventure:"Похождения",begincity:"Стартовый город",gemskingdom:"Королевство самоцветов",ninjavillage:"Деревня ниндзя",invadedkingdom:"Осажденное королевство",juysea:"Жуевое море",admittance:"Царство мертвых",magicforest:"Волшебный лес",hamelintown:"Гамельн",plainofrituals:"Земля ритуалов",heroesuniversity:"Геройский университет",ninjasacredlands:"Священные земли ниндзя",splatters:"Влажный Архипелаг",digisekai:"Цифромир",stairway:"Небесная лестница",training:"Training Dimension",weresquidisland:"WereSquid Island"},ri={name:`Открыть таблицу благословений от ${j.isGH()?"Bella":"zoopokemon"}`},li={team:"Команда",visitTeams:'Сначала посетите <a href="../teams.html">Команды</a>.'},ci={clubmate:"Член Клуба"},pi={en:i,fr:n,es:o,it:s,de:r,ru:l},di=Object.keys(pi),ui=di[0];let gi,mi,hi;const bi={K:1e3,M:1e6,G:1e9};class fi{static getLang(){var e;return gi||(e=document.documentElement.lang.substring(0,2),gi=di.includes(e)?e:ui),gi}static getLocale(){return mi=mi||(["en","ja"].includes(fi.getLang())?"en":"fr"),mi}static getModuleLabel(e,t,a={}){var i=fi.getLang();let n=pi[i][e]&&pi[i][e][t]||pi[ui][e]&&pi[ui][e][t]||t;return Object.entries(a).forEach(([e,t])=>{n=n.replace(`{{${e}}}`,t)}),n}static getLocaleDecimalSeperator(){return hi=hi||Number(1.1).toLocaleString(fi.getLocale()).replace(/[0-9]/g,""),hi}static parseLocaleFloat(e){return parseFloat(e.split(fi.getLocaleDecimalSeperator()).map(e=>e.replace(/[^0-9]/g,"")).join("."),10)}static parseLocaleRoundedInt(t){var e=Object.entries(bi).find(([e])=>t.includes(e));if(t.includes(fi.getLocaleDecimalSeperator())){var a=fi.parseLocaleFloat(t),i=e&&e[1]||1;return Math.round(a*i)}return e?parseInt(t.replace(/[^0-9]/gi,""),10)*(e&&e[1]||1):parseInt(t.replace(/[^0-9]/gi,""),10)}static nThousand(e){return(e="number"!=typeof e?0:e).toLocaleString(fi.getLocale()).replace(" "," ")}static nRounding(e,t,a){var i=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"B"},{value:1e12,symbol:"T"}];let n;for(n=i.length-1;0<n&&!(e>=i[n].value);n--);return 1===a?fi.nThousand(+(Math.ceil(e/i[n].value*Math.pow(10,t))/Math.pow(10,t)).toFixed(t))+i[n].symbol:0===a?fi.nThousand(+(Math.round(e/i[n].value*Math.pow(10,t))/Math.pow(10,t)).toFixed(t))+i[n].symbol:-1===a?fi.nThousand(+(Math.floor(e/i[n].value*Math.pow(10,t))/Math.pow(10,t)).toFixed(t))+i[n].symbol:void 0}}const vi=fi;window.HHPlusPlus.I18n=fi;const yi={HH:[{key:"darklord",world:2,girls:{1:["8","9","10"],2:["7270263"],3:["979916751"]},gems:[{element:"fire",amount:15},{element:"sun",amount:15}]},{key:"ninjaspy",world:3,girls:{1:["14","13","12"],2:["318292466"],3:["936580004"]},gems:[{element:"darkness",amount:15},{element:"light",amount:15}]},{key:"gruntt",world:4,girls:{1:["19","16","18"],2:["610468472"],3:["54950499"]},gems:[{element:"psychic",amount:15},{element:"water",amount:15}]},{key:"edwarda",world:5,girls:{1:["29","28","26"],2:["4749652"],3:["345655744"]},gems:[{element:"nature",amount:15},{element:"stone",amount:15}]},{key:"donatien",world:6,girls:{1:["39","40","41"],2:["267784162"],3:["763020698"]},gems:[{element:"darkness",amount:20}]},{key:"silvanus",world:7,girls:{1:["64","63","31"],2:["406004250"],3:["864899873"]},gems:[{element:"light",amount:20}]},{key:"bremen",world:8,girls:{1:["85","86","84"],2:["267120960"],3:["536361248"]},gems:[{element:"psychic",amount:20}]},{key:"finalmecia",world:9,girls:{1:["114","115","116"],2:["379441499"],3:["447396000"]},gems:[{element:"water",amount:20}]},{key:"rokosensei",world:10,girls:{1:["1247315","4649579","7968301"],2:["46227677"],3:["933487713"]},gems:[{element:"fire",amount:20}]},{key:"karole",world:11,girls:{1:["1379661","4479579","1800186"],2:["985085118"],3:["339765042"]},gems:[{element:"nature",amount:20}],items:["K4"]},{key:"jacksoncrew",world:12,girls:{1:["24316446","219651566","501847856"],2:["383709663"],3:["90685795"]},gems:[{element:"stone",amount:20}],items:["XP4"]},{key:"pandorawitch",world:13,girls:{1:["225365882","478693885","231765083"],2:["155415482"],3:["769649470"]},gems:[{element:"sun",amount:20}],items:["K4"]},{key:"nike",world:14,girls:{1:["86962133","243793871","284483399"],2:[],3:[]},gems:[{element:"darkness",amount:25}]},{key:"sake",world:15,girls:{1:["612527302","167231135","560979916","784911160","549524850","184523411"],2:[],3:[]},gems:[{element:"light",amount:25}]},{key:"werebunnypolice",world:16,girls:{1:["164866290","696124016","841591253"],2:[],3:[]},gems:[{element:"psychic",amount:25}]},{key:"auga",world:17,girls:{1:["851893423","735302216","344730128"],2:[],3:[]},gems:[{element:"water",amount:25}]},{world:18,girls:{1:[],2:[],3:[]},gems:[{element:"fire",amount:25}]}],GH:[{key:"darklord",world:2,girls:{1:["8","9","10"],2:["7270263"],3:["979916751"]},gems:[{element:"fire",amount:15},{element:"sun",amount:15}]},{key:"ninjaspy",world:3,girls:{1:["14","13","12"],2:["318292466"],3:["936580004"]},gems:[{element:"darkness",amount:15},{element:"light",amount:15}]},{key:"gruntt",world:4,girls:{1:["19","16","18"],2:["610468472"],3:["54950499"]},gems:[{element:"psychic",amount:15},{element:"water",amount:15}]},{key:"edward",world:5,girls:{1:["29","28","26"],2:["4749652"],3:["345655744"]},gems:[{element:"nature",amount:15},{element:"stone",amount:15}]},{key:"donatien",world:6,girls:{1:["39","40","41"],2:["267784162"],3:["763020698"]},gems:[{element:"darkness",amount:20}]},{key:"silvanus",world:7,girls:{1:["64","63","31"],2:["406004250"],3:["864899873"]},gems:[{element:"light",amount:20}]},{key:"bremen",world:8,girls:{1:["85","86","84"],2:["267120960"],3:["536361248"]},gems:[{element:"psychic",amount:20}]},{key:"edernas",world:9,girls:{1:["114","115","116"],2:["379441499"],3:["447396000"]},gems:[{element:"water",amount:20}]},{key:"rokosensei",world:10,girls:{1:["1247315","4649579","7968301"],2:["46227677"],3:["933487713"]},gems:[{element:"fire",amount:20}]},{key:"maro",world:11,girls:{1:["1379661","4479579","1800186"],2:["985085118"],3:["339765042"]},gems:[{element:"nature",amount:20}],items:["K4"]},{key:"jacksoncrew",world:12,girls:{1:["24316446","219651566","501847856"],2:["383709663"],3:["90685795"]},gems:[{element:"stone",amount:20}],items:["XP4"]},{key:"icaruswarlock",world:13,girls:{1:["225365882","478693885","231765083"],2:[],3:[]},gems:[{element:"sun",amount:20}],items:["K4"]},{world:14,girls:{1:["86962133","243793871","284483399"],2:[],3:[]},gems:[{element:"darkness",amount:25}]}],CxH:[{key:"bodyhack",world:2,girls:{1:["830009523","907801218","943323021"],2:[],3:[]},gems:[{element:"fire",amount:15},{element:"sun",amount:15}]},{key:"greygolem",world:3,girls:{1:["271746999","303805209","701946373"],2:[],3:[]},gems:[{element:"darkness",amount:15},{element:"light",amount:15}]},{key:"nymph",world:4,girls:{1:["943255266","977228200","743748788"],2:[],3:[]},gems:[{element:"psychic",amount:15},{element:"water",amount:15}]},{key:"athicus",world:5,girls:{1:["514994766","140401381","232860230"],2:[],3:[]},gems:[{element:"nature",amount:15},{element:"stone",amount:15}]},{key:"jockstrap",world:6,girls:{1:["623293037","764791769","801271903"],2:[],3:[]},gems:[{element:"darkness",amount:20}]},{key:"cockatrice",world:7,girls:{1:["921365371","942523553","973271744"],2:[],3:[]},gems:[{element:"light",amount:20}]},{key:"pomelo",world:8,girls:{1:["364639341","879781833","895546748"],2:[],3:[]},gems:[{element:"psychic",amount:20}]},{key:"alexa",world:9,girls:{1:["148877065","218927643","340369336"],2:[],3:[]},gems:[{element:"water",amount:20}]},{world:10,girls:{1:[],2:[],3:[]},gems:[{element:"fire",amount:20}]}],PSH:[{key:"asaakira",world:2,girls:{1:["973280579","795788039","261345306"],2:[],3:[]},gems:[{element:"fire",amount:15},{element:"sun",amount:15}]},{key:"sammyjayne",world:3,girls:{1:["833308213","658322339","482529771"],2:[],3:[]},gems:[{element:"darkness",amount:15},{element:"light",amount:15}]},{key:"ivywinters",world:4,girls:{1:["117837840","160370794","306287449","828011942"],2:[],3:[]},gems:[{element:"psychic",amount:15},{element:"water",amount:15}]},{key:"sophiajade",world:5,girls:{1:["564593641","719705773","934421949"],2:[],3:[]},gems:[{element:"nature",amount:15},{element:"stone",amount:15}],v:1},{key:"amiamiley",world:6,girls:{1:["270611414","464811282","781232070"],2:[],3:[]},gems:[{element:"darkness",amount:20}]},{key:"alyssareece",world:7,girls:{1:["219241809","380385497","879198752"],2:[],3:[]},gems:[{element:"light",amount:20}]},{key:"kellykline",world:8,girls:{1:["165066536","734325005","805020628"],2:[],3:[]},gems:[{element:"psychic",amount:20}]},{key:"jamiebrooks",world:9,girls:{1:["191661045","369105612","665836932"],2:[],3:[]},gems:[{element:"water",amount:20}]},{key:"jordankingsley",world:10,girls:{1:["943667167","383702874","169356639"],2:[],3:[]},gems:[{element:"fire",amount:20}]},{world:11,girls:{1:[],2:[],3:[]},gems:[{element:"nature",amount:20}]}],HoH:[{key:"darklord",world:2,girls:{1:["8","9","10"],2:[],3:[]},gems:[{element:"fire",amount:15},{element:"sun",amount:15}]},{key:"ninjaspy",world:3,girls:{1:["14","13","12"],2:[],3:[]},gems:[{element:"darkness",amount:15},{element:"light",amount:15}]},{key:"gruntt",world:4,girls:{1:["19","16","18"],2:[],3:[]},gems:[{element:"psychic",amount:15},{element:"water",amount:15}]},{key:"edwarda",world:5,girls:{1:["29","28","26"],2:[],3:[]},gems:[{element:"nature",amount:15},{element:"stone",amount:15}]}]};var _i=a(7217),wi={};_i.Z&&_i.Z.locals&&(wi.locals=_i.Z.locals);var xi,Mi=0,Ci={};Ci.styleTagTransform=Oe(),Ci.setAttributes=u(),Ci.insert=Re().bind(null,"head"),Ci.domAPI=Pe(),Ci.insertStyleElement=je(),wi.use=function(e){return Ci.options=e||{},Mi++||(xi=Ee()(_i.Z,Ci)),wi},wi.unuse=function(){0<Mi&&!--Mi&&(xi(),xi=null)};const ki=wi,Ii="villain",Ai={1:"common",2:"epic",3:"legendary",event:"epic",mythicEvent:"mythic"};const Ti=class extends V{constructor(){super({baseKey:Ii,label:vi.getModuleLabel("config",Ii),default:!0}),this.label=vi.getModuleLabel.bind(this,Ii)}run(){this.hasRun||(ki.use(),j.defer(()=>{this.injectCSSVars(),this.$overlay=$('<div class="script-fight-a-villain-menu-overlay"></div>'),$("body").append(this.$overlay),this.$overlay.click(()=>{this.$container.removeClass("shown"),this.$overlay.removeClass("shown")}),$("#contains_all > header [type=fight] .bar-wrapper").click(()=>{var e;this.$container||(e=this.buildMenu(),this.$container=$('<div class="script-fight-a-villain-menu-container fixed_scaled"></div>'),this.$container.append(e),$("body").append(this.$container)),this.$container.addClass("shown"),this.$overlay.addClass("shown")})}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("troll-menu-font-weight",j.isCxH()?"800":"400"),Te.registerVar("girl-ico-tick",`url("${j.getCDNHost()}/clubs/ic_Tick.png")`)}buildMenu(){const e=yi[j.getGameKey()],y=j.lsGet(f.EVENT_VILLAINS)||[],_=j.lsGet(f.MYTHIC_EVENT_VILLAINS)||[],w=j.getGirlDictionary(),t=Hero.infos.questing.id_world,x=`${j.getCDNHost()}/pictures/design/quest/ico-quest.png`,a=e.filter(e=>e.world<=t),M=$(`<div class="script-fight-a-villain-menu width-${Math.min(4,a.length)}"></div>`);return a.forEach(({key:e,girls:t,world:a,gems:i,items:n,v:o})=>{const s=`${a-1}`;var r=this.label(e),e=`${j.getCDNHost()}/pictures/trolls/${s}/ico1.png${o?`?v=${o}`:""}`,o=`/world/${a}`;let l="regular";a=y.find(({troll:e})=>e===s);let c=!0;const p={};a&&({id:a,rarity:d}=a,p.event=a,!!(a=w.get(a))&&100===a.shards||(l=`eventTroll ${d}`,c=!1));var d=_.find(({troll:e})=>e===s);d&&(d=d["id"],p.mythicEvent=d,!!(d=w.get(d))&&100===d.shards||(l="mythicEventTroll",c=!1));const u=$(`<a class="menu-villain ${l}" href="/troll-pre-battle.html?id_opponent=${s}"></a>`),g=$('<div class="menu-villain-top"></div>');g.append(`<img class="menu-villain-icon" src="${e}" />`);const m=$('<div class="menu-villain-name-and-drops"></div>');m.append(`<div class="menu-villain-name">${r}</div>`);const h=$('<div class="menu-villain-drops"></div>');i&&i.forEach(({element:e,amount:t})=>{h.append(`<div class="menu-villain-gem-drop-container" tooltip="${GT.design[`${e}_gem`]}"><img class="menu-villain-drop" src="${j.getCDNHost()}/pictures/design/gems/${e}.png" /><span class="menu-villain-gem-drop-amount">${t}</span></div>`)}),n&&n.forEach(e=>{h.append(`<img class="menu-villain-drop" src="${j.getCDNHost()}/pictures/items/${e}.png" />`)}),m.append(h),g.append(m),g.append(`<div class="menu-villain-world"><a href="${o}"><img src="${x}" /></a></div>`);const b=$('<div class="menu-villain-bottom"></div>');if(Object.entries(t).forEach(([o,e])=>{if(e.length){const a=$('<div class="menu-villain-tier"></div>');var t=$(`<div class="menu-villain-tier-title">${o}</div>`);const s=$(`<div class="menu-villain-tier-girls tier${o}"></div>`);e.forEach(e=>{var t=w.get(e);let a,i,n;t?{name:a,rarity:i,shards:n}=t:(a="Unknown",i=Ai[o],n="?");t=`${j.getCDNHost()}/pictures/girls/${e}/ico0-300x.webp`,e="?"===n||n<100;c&=!e,s.append(`<div class="girl_ico ${e?"":"obtained"}" rarity="${i}"><img src="${t}"/>${e?`<div class="shard-count" shards="${n}" name="${a}" shards-tooltip><span class="shard"></span>${n}</div>`:""}</div>`)}),a.append(t).append(s),b.append(a)}}),Object.entries(p).length){const f=$('<div class="menu-villain-tier"></div>');t=$(`<div class="menu-villain-tier-title">${this.label("event")}</div>`);const v=$('<div class="menu-villain-tier-girls event"></div>');Object.entries(p).forEach(([e,t])=>{var a=w.get(t);let i,n,o;a?{name:i,rarity:n,shards:o}=a:(i="Unknown",n=Ai[e],o="?");e=`${j.getCDNHost()}/pictures/girls/${t}/ico0-300x.webp`,t="?"===o||o<100;v.append(`<div class="girl_ico ${t?"":"obtained"}" rarity="${n}"><img src="${e}"/>${t?`<div class="shard-count" shards="${o}" name="${i}" shards-tooltip><span class="shard"></span>${o}</div>`:""}</div>`)}),f.append(t).append(v),b.append(f)}c&&u.addClass("all-obtained"),u.append(g),u.append(b),M.append(u)}),M}};const Si=class{static initTooltipType(e,i){if($("body").off("touchstart",e),$("body").off("touchend",e),$("body").off("touchcancel",e),$("body").off("mouseenter",e),$("body").off("mouseleave",e),window.TooltipManager){const{is_mobile:a,is_tablet:n,Tooltip:o}=window;var t=a&&a()||n&&n();window.TooltipManager.initTooltipType(t,e,!1,e=>{var{title:t,body:a}=i(),a=new o($(e),t,a);window.TooltipManager.initNewTooltip(e,a)})}else window.tooltips&&(window.tooltips[e]=i,window.addEventHandlers(e))}};var Di=a(3849),Li={};Di.Z&&Di.Z.locals&&(Li.locals=Di.Z.locals);var Ni,$i=0,ji={};ji.styleTagTransform=Oe(),ji.setAttributes=u(),ji.insert=Re().bind(null,"head"),ji.domAPI=Pe(),ji.insertStyleElement=je(),Li.use=function(e){return ji.options=e||{},$i++||(Ni=Ee()(Di.Z,ji)),Li},Li.unuse=function(){0<$i&&!--$i&&(Ni(),Ni=null)};const Ei=Li,zi="market",Pi=[1,2,3],Oi=e=>`carac${e}`;const Ri=class extends V{constructor(){super({baseKey:zi,label:vi.getModuleLabel("config",zi),default:!0}),this.label=vi.getModuleLabel.bind(this,zi),this.$tooltips={},this.previousCaracs={1:0,2:0,3:0},this.toolipData={caracs:{},inventory:{}}}shouldRun(){return j.isCurrentPage("shop")}run(){!this.hasRun&&this.shouldRun()&&(Ei.use(),j.defer(()=>{this.injectCSSVars(),this.setupHooks(),this.updateStats(),this.updateInventory(),this.updateEquips()}),this.hasRun=!0)}updateStats(){const m=[],h=[];Object.entries(this.previousCaracs).every(([e,t])=>t===Hero.infos.caracs[Oi(e)])||($("#equiped .armor .slot:not(.empty)").each((e,t)=>{m.push($(t).data("d"))}),$("#equiped .booster .slot:not(.empty):not(.mythic)").each((e,t)=>{h.push($(t).data("d"))}),Pi.forEach(e=>{const i=Oi(e),t=`${i}_equip`;var a=Hero.infos.caracs[i],n=m.map(e=>e[i]||+e[t]).reduce((e,t)=>e+t,0),o=heroStatsPrices[e]["base_stat"],s=Hero.infos[i],r=30*Hero.infos.level,l=r-s,c=q(r),p=q(s),r=c-p;let d=0,u=0;h.forEach(e=>{var t=e.item||e,{identifier:a,rarity:e}=t;"B1"===a&&(t=t[i],"legendary"===e?u+=t/100:d+=t)});c=d+Math.ceil((o+s+n+d)*u);let g=0;j.isInClub()&&(g=a-o-s-n-c),this.toolipData.caracs[e]={key:i,unboughtStat:l,unspent:r,spent:p,baseStat:o,boughtStat:s,equipStat:n,boosterStat:c,clubStat:g},window.market_inventory||(this.$tooltips[e]||(this.$tooltips[e]=$(`<div class="statToolTip" rel="${i}"></div>`),$(`.hero_stats [hero=${i}]`).append('<div class="marketInfoIcon statInfo" ></div>').append(this.$tooltips[e])),this.$tooltips[e].html(this.buildCaracTooltipHtml(this.toolipData.caracs[e])))}))}buildCaracTooltipHtml(e){var{unboughtStat:t,unspent:a,spent:i,baseStat:n,boughtStat:o,equipStat:s,boosterStat:r,clubStat:e}=e;return`
            <table class="statToolTipTable">
                <tbody>
                    <tr><td>${this.label("pointsUnbought")} :</td><td>${vi.nThousand(t)}</td></tr>
                    <tr><td>${this.label("moneyUnspent")} :</td><td>${vi.nThousand(a)}</td></tr>
                    <tr><td>${this.label("moneySpent")} :</td><td>${vi.nThousand(i)}</td></tr>
                </tbody>
            </table>
            <hr/>
            <table class="statToolTipTable">
                <tbody>
                    <tr><td>${this.label("pointsLevel")} :</td><td>${vi.nThousand(n)}</td></tr>
                    <tr><td>${this.label("pointsBought")} :</td><td>${vi.nThousand(o)}</td></tr>
                    <tr><td>${this.label("pointsEquip")} :</td><td>${vi.nThousand(s)}</td></tr>
                    <tr><td>${this.label("pointsBooster")} :</td><td>${vi.nThousand(r)}</td></tr>
                    <tr><td>${this.label("pointsClub")} :</td><td>${vi.nThousand(e)}</td></tr>
                </tbody>
            </table>
        `.replace(/( {4}|\n)/g,"")}buildItemTooltipHtml(e,t){var{count:a,cost:i,value:t}=t;return`<div class="itemToolTipContent">
            ${this.label("youOwn",{count:vi.nThousand(a),type:this.label(`${e}Item`)})}<br />
            ${["xp","aff"].includes(e)?this.label("youCanGive",{value:vi.nThousand(t),currency:this.label(`${e}Currency`)})+"<br />":""}
            ${this.label("youCanSell",{cost:vi.nThousand(i)})}
        </div>`}buildEquipsTooltipHtml(e){var{count:t,cost:e}=e;return`<div class="itemToolTipContent">
            ${this.label("youOwn",{count:vi.nThousand(t),type:this.label("equips")})}<br />
            ${this.label("youCanSell",{cost:vi.nThousand(e)})}
        </div>`}updateInventory(){this.updateItems(),this.updateEquips()}updateItems(){if(!window.market_inventory){const a=j.lsGet(f.MARKET_INFO);a.sellableItems&&K.forEach(e=>{if(!this.$tooltips[e]){this.$tooltips[e]=$('<div class="inventoryToolTip"></div>');const t=$('<div class="marketInfoIcon inventoryInfo"></div>');$(`#inventory .${Q[e]}`).prepend(t),t.after(this.$tooltips[e])}this.$tooltips[e].html(this.buildItemTooltipHtml(e,a.sellableItems[e]))})}}updateEquips(){if(!window.market_inventory){var e=j.lsGet(f.MARKET_INFO);if(e.equipsAggregate){var t="equip";if(!this.$tooltips[t]){this.$tooltips[t]=$('<div class="inventoryToolTip"></div>');const a=$('<div class="marketInfoIcon inventoryInfo"></div>');$("#inventory .armor").prepend(a),a.after(this.$tooltips[t])}this.$tooltips[t].html(this.buildEquipsTooltipHtml(e.equipsAggregate))}}}setupHooks(){var e,t;j.onAjaxResponse(/action=update_stats/,(e,t)=>{if(e.success){const i=new URLSearchParams(t.data);var a=Oi(i.get("carac"));window.market_inventory?(t=+i.get("nb"),Hero.infos[a]+=t):(e=e[a],Hero.infos[a]=e)}}),Pi.forEach(e=>{var t=Oi(e);const a=new MutationObserver(()=>this.updateStats());a.observe($(`[hero=${t}] [carac=${e}]`)[0],{childList:!0})}),$(document).on("market:inventory-updated",()=>this.updateItems()),$(document).on("market:equips-updated",()=>this.updateEquips()),window.market_inventory&&(Pi.forEach(t=>{var e=`.my-hero-stats [hero=carac${t}] [carac=${t}]`;const a=$(e).attr("hh_title");$(e).removeAttr("hh_title"),$(e).removeAttr("tooltip"),Si.initTooltipType(e,()=>{var e=this.toolipData.caracs[t],e=this.buildCaracTooltipHtml(e);return{title:a,body:e}})}),K.forEach(t=>{var e=`#${W[t]}-tab-container #player-inventory-container`,a=`${e} .inventoryInfo`,i=$('<div class="marketInfoIcon inventoryInfo"></div>');$(e).append(i),Si.initTooltipType(a,()=>{var e=j.lsGet(f.MARKET_INFO).sellableItems[t];return{title:"",body:this.buildItemTooltipHtml(t,e)}})}),e="#equipement-tab-container #player-inventory-container",t=$('<div class="marketInfoIcon inventoryInfo"></div>'),$(e).append(t),Si.initTooltipType("#equipement-tab-container #player-inventory-container .inventoryInfo",()=>{var e=j.lsGet(f.MARKET_INFO).equipsAggregate;return{title:"",body:this.buildEquipsTooltipHtml(e)}}))}injectCSSVars(){Te.registerVar("info-icon",`url(${j.getCDNHost()}/design/ic_info.svg)`)}},Hi="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiNGRkZGRkYiPjxnPjxwYXRoIGQ9Ik0wLDBoMjQgTTI0LDI0SDAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNNyw2aDEwbC01LjAxLDYuM0w3LDZ6IE00LjI1LDUuNjFDNi4yNyw4LjIsMTAsMTMsMTAsMTN2NmMwLDAuNTUsMC40NSwxLDEsMWgyYzAuNTUsMCwxLTAuNDUsMS0xdi02IGMwLDAsMy43Mi00LjgsNS43NC03LjM5QzIwLjI1LDQuOTUsMTkuNzgsNCwxOC45NSw0SDUuMDRDNC4yMSw0LDMuNzQsNC45NSw0LjI1LDUuNjF6Ii8+PHBhdGggZD0iTTAsMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PC9nPjwvc3ZnPg==";var Gi=a(5759),Zi={};Gi.Z&&Gi.Z.locals&&(Zi.locals=Gi.Z.locals);var Bi,Ui=0,Fi={};Fi.styleTagTransform=Oe(),Fi.setAttributes=u(),Fi.insert=Re().bind(null,"head"),Fi.domAPI=Pe(),Fi.insertStyleElement=je(),Zi.use=function(e){return Fi.options=e||{},Ui++||(Bi=Ee()(Gi.Z,Fi)),Zi},Zi.unuse=function(){0<Ui&&!--Ui&&(Bi(),Bi=null)};const qi=Zi,Qi=[];class Wi{static getFavourites(){return j.lsGet(f.EQUIP_FAVORITES)||[]}static setFavourites(e){j.lsSet(f.EQUIP_FAVORITES,e)}static addToFavourites(e){const t=Wi.getFavourites();t.includes(e)||(t.push(e),Wi.setFavourites(t),Wi.callUpdateCallbacks())}static removeFromFavourites(e){const t=Wi.getFavourites();e=t.indexOf(e);e<0||(t.splice(e,1),Wi.setFavourites(t),Wi.callUpdateCallbacks())}static isFavourite(e){const t=Wi.getFavourites();return t.includes(e)}static areFavourites(e){const a=Wi.getFavourites();return e.reduce((e,t)=>(e[t]=a.includes(t),e),{})}static onUpdate(e){Qi.push(e)}static callUpdateCallbacks(){Qi.forEach(e=>{e()})}}const Yi=Wi;class Ki{static flattenRelevantKeys(e){var{level:t,carac1_equip:a,carac2_equip:i,carac3_equip:n,endurance_equip:o,chance_equip:s,id_member_armor:r,item:{rarity:l,name_add:c},skin:{identifier:p,subtype:d},resonance_bonuses:u}=e,e=!(void 0===u||!Object.keys(u).length);let{class:{identifier:g,resonance:m},theme:{identifier:h,resonance:b}}=e?u:{class:{},theme:{}};return e&&null===h&&(h="balanced"),{identifier:p,id_member_armor:r,subtype:d,rarity:l,name_add:c,level:t,carac1_equip:a,carac2_equip:i,carac3_equip:n,endurance_equip:o,chance_equip:s,res_class:g,res_class_bonus:m,res_theme:h,res_theme_bonus:b}}static makeEquipKey(e){const t=Ki.flattenRelevantKeys(e);return Ki.keyParts.map(e=>t[e]).join("_")}static makeFavouriteKey(e){const t=Ki.flattenRelevantKeys(e);return Ki.favouriteKeyParts.map(e=>t[e]).join("_")}static keyMatchesFilter(e,t,a){var i=e.split("_"),e=!0;return e&=a.subtype===Ki.filterDefault||a.subtype===i[Ki.keyPartOrdinals.subtype],e&=a.rarity===Ki.filterDefault||a.rarity===i[Ki.keyPartOrdinals.rarity],e&=a.stats===Ki.filterDefault||Ki.statsMap[a.stats].includes(i[Ki.keyPartOrdinals.name_add]),e&=a.favourites===Ki.filterDefault||JSON.parse(a.favourites)===Yi.isFavourite(t),e&=a.resonance_class===Ki.filterDefault||a.resonance_class===i[Ki.keyPartOrdinals.res_class],e&=a.resonance_class_bonus===Ki.filterDefault||a.resonance_class_bonus===i[Ki.keyPartOrdinals.res_class_bonus],e&=a.resonance_theme===Ki.filterDefault||a.resonance_theme===i[Ki.keyPartOrdinals.res_theme],e&=a.resonance_theme_bonus===Ki.filterDefault||a.resonance_theme_bonus===i[Ki.keyPartOrdinals.res_theme_bonus]}static createGridSelectorItem({id:e,value:t,icon:a,bgColor:i,bgImage:n,parentName:o}){var s=`${o}-${e}-${t}`;return`
            <input type="radio" name="${o}-${e}" id="${s}" value="${t}"/>
            <label for="${s}">
                ${a?`<img src="${j.getCDNHost()}/${a}">`:""}
                ${i||n?`<div style="${i?`background-color:${i};`:""}${n?`background-image:${n};background-size:contain;`:""}"></div>`:""}
            </label>
        `}static createGridSelector({id:n,options:e,gridConfig:t,parentName:o}){var a=`${o}-${n}-${Ki.filterDefault}`;return`
            <div class="grid-selector" rel="${n}">
                <div class="clear-selector">
                    <input type="radio" name="${o}-${n}" id="${a}" value="${Ki.filterDefault}" checked="checked" />
                    <label for="${a}">
                        <img src="${j.getCDNHost()}/${Ki.filterDefaultIcon}" />
                    </label>
                </div>
                <div class="selector-options" style="grid-auto-flow:${t.flow}; grid-template-rows:${t.rows}; grid-template-columns:${t.cols}">
            ${e.map(e=>{var{value:t,icon:a,bgColor:i,bgImage:e}=e;return Ki.createGridSelectorItem({id:n,value:t,icon:a,bgColor:i,bgImage:e,parentName:o})}).join("")}
                </div>
            </div>
        `}static createFilterBox(t){var e=window["GT"];return $(`
            <div>
                <div class="equip_filter_box form-wrapper" style="display: none;">
                    ${["favourites","subtype","rarity","stats"].map(e=>Ki.createGridSelector({id:e,options:Ki.filterOptions[e],gridConfig:Ki.filterOptionsGrids[e],parentName:t})).join("<hr>")}
                </div>
                <div class="equip_filter_box resonance form-wrapper" style="display: none;">
                    <h1>${e.design.mythic_equipment_resonance_bonus}</h1><hr>
                    ${["resonance_class","resonance_class_bonus","resonance_theme","resonance_theme_bonus"].map(e=>Ki.createGridSelector({id:e,options:Ki.filterOptions[e],gridConfig:Ki.filterOptionsGrids[e],parentName:t})).join("<hr>")}
                </div>
            </div>`)}static createFilterBtn(){return $('<label class="equip_filter"><input type="button" class="blue_button_L" value="" /></label>')}}Ki.keyParts=["id_member_armor","subtype","rarity","name_add","res_class","res_class_bonus","res_theme","res_theme_bonus"],Ki.keyPartOrdinals=Ki.keyParts.reduce((e,t,a)=>(e[t]=a,e),{}),Ki.favouriteKeyParts=["identifier","subtype","rarity","name_add","level","carac1_equip","carac2_equip","carac3_equip","endurance_equip","chance_equip","res_class","res_class_bonus","res_theme","res_theme_bonus"],Ki.statsMap={rainbow:["16"],hc:["1","6","7","8","9"],ch:["2","6","10","11","12"],kh:["3","7","10","13","14"],end:["4","8","11","13","15"],har:["5","9","12","14","15"]},Ki.filterDefault="all",Ki.filterDefaultIcon="caracs/no_class.png",Ki.filterOptions=new class{get subtype(){return[{value:"1",icon:"pictures/items/ET1.png"},{value:"2",icon:"pictures/items/EH1.png"},{value:"3",icon:"pictures/items/EB1.png"},{value:"4",icon:"pictures/items/ES1.png"},{value:"5",icon:"pictures/items/EF1.png"},{value:"6",icon:"pictures/items/EA1.png"}]}get rarity(){return[{value:"common",bgColor:"#8d8e9f"},{value:"rare",bgColor:"#23b56b"},{value:"epic",bgColor:"#ffb244"},{value:"legendary",bgColor:"#9150bf",bgImage:`url(${j.getCDNHost()}/legendary.png)`},{value:"mythic",bgColor:"transparent",bgImage:"radial-gradient(closest-side at 50% 50%, rgb(245, 168, 102) 0px, rgb(236, 0, 57) 51%, rgb(158, 14, 39) 100%)"}]}get stats(){return[{value:"rainbow",icon:"pictures/misc/items_icons/16.svg"},{value:"hc",icon:"pictures/misc/items_icons/1.png"},{value:"ch",icon:"pictures/misc/items_icons/2.png"},{value:"kh",icon:"pictures/misc/items_icons/3.png"},{value:"end",icon:"pictures/misc/items_icons/4.png"},{value:"har",icon:"pictures/misc/items_icons/5.png"}]}get favourites(){return[{value:!0,icon:"design/ic_star_orange.svg"},{value:!1,icon:"design/ic_star_white.svg"}]}get resonance_class(){return[{value:"1",icon:"pictures/misc/items_icons/1.png"},{value:"2",icon:"pictures/misc/items_icons/2.png"},{value:"3",icon:"pictures/misc/items_icons/3.png"}]}get resonance_class_bonus(){return[{value:"damage",icon:"caracs/damage.png"},{value:"ego",icon:"caracs/ego.png"}]}get resonance_theme(){return[{value:"darkness",icon:"pictures/girls_elements/Dominatrix.png"},{value:"light",icon:"pictures/girls_elements/Submissive.png"},{value:"psychic",icon:"pictures/girls_elements/Voyeurs.png"},{value:"balanced",icon:"pictures/girls_elements/Multicolored.png"},{value:"water",icon:"pictures/girls_elements/Sensual.png"},{value:"fire",icon:"pictures/girls_elements/Eccentric.png"},{value:"nature",icon:"pictures/girls_elements/Exhibitionist.png"},{value:"stone",icon:"pictures/girls_elements/Physical.png"},{value:"sun",icon:"pictures/girls_elements/Playful.png"}]}get resonance_theme_bonus(){return[{value:"defense",icon:"caracs/deff_undefined.png"},{value:"chance",icon:"pictures/misc/items_icons/5.png"}]}},Ki.filterOptionsGrids={subtype:{flow:"column",cols:"1fr 1fr",rows:"1fr 1fr 1fr"},rarity:{flow:"row",cols:"1fr 1fr",rows:"1fr 1fr"},stats:{flow:"row",cols:"1fr 1fr",rows:"1fr 1fr 1fr"},favourites:{flow:"row",cols:"1fr auto",rows:"1fr"},resonance_class:{flow:"row",cols:"1fr 1fr 1fr",rows:"1fr"},resonance_class_bonus:{flow:"row",cols:"1fr auto",rows:"1fr"},resonance_theme:{flow:"row",cols:"1fr 1fr 1fr",rows:"1fr 1fr 1fr"},resonance_theme_bonus:{flow:"row",cols:"1fr auto",rows:"1fr"}};const Vi=Ki;const Ji=class{constructor(e,t,a){this.$container=e,this.managedEquips={},this.allEquipIdsInOrder=[],this.visibleEquipIds=[],this.favouriteKeys={},this.elementCache={},this.keysForIds={},this.name=t,this.skipFilter=a,this.activeFilter={subtype:Vi.filterDefault,rarity:Vi.filterDefault,stats:Vi.filterDefault,favourites:Vi.filterDefault,resonance_class:Vi.filterDefault,resonance_class_bonus:Vi.filterDefault,resonance_theme:Vi.filterDefault,resonance_theme_bonus:Vi.filterDefault}}get $content(){return this.$container.find(".player-inventory-content, .items-container")}init(){var{materials_items:e,player_inventory:t}=window;const a=e||t.armor;if(a.forEach(e=>{var t=Vi.makeEquipKey(e);this.managedEquips[t]=e,this.allEquipIdsInOrder.push(t),this.visibleEquipIds.push(t)}),this.$favouriteToggle=$('<div class="favourite-toggle"></div>'),this.favouriteToggleCallback=e=>{const t=$(e.target).parent();e=`${t.data("equip-key")}`,e=this.favouriteKeys[e];JSON.parse(t.attr("data-is-favourite"))?Yi.removeFromFavourites(e):Yi.addToFavourites(e)},this.$content.length&&this.$content.children("div").length)this.annotateEquipsWithKeys(),this.annotateEquipsWithFavourites(),this.checkSelection(),this.setupHooks();else{const i=new MutationObserver(()=>{this.$content.children("div").length&&(this.annotateEquipsWithKeys(),this.annotateEquipsWithFavourites(),this.checkSelection(),this.setupHooks(),i.disconnect())});i.observe(this.$container[0],{childList:!0,subtree:!0})}this.skipFilter||this.attachFilterButtonAndPanel()}setupHooks(){j.onAjaxResponse(/action=market_equip_armor/,e=>{var t=e["unequipped_armor"],a=$("#my-hero-equipement-tab-container .slot.selected").data("d");const i=Vi.makeEquipKey(a);e=Vi.makeEquipKey(t),a=Vi.makeFavouriteKey(t);const n=[this.allEquipIdsInOrder,this.visibleEquipIds];n.forEach(e=>{var t=e.indexOf(i);-1<t&&e.splice(t,1)}),this.allEquipIdsInOrder.splice(0,0,e),Vi.keyMatchesFilter(e,a,this.activeFilter)&&this.visibleEquipIds.splice(0,0,e),this.managedEquips[e]=t,this.favouriteKeys[e]=a,this.keysForIds[t.id_member_armor]=e,this.reconsileAfterNextDOMChange()});const t=(e,t)=>{const a=e["items"];a&&a.length&&(a.forEach(e=>{var t=Vi.makeEquipKey(e),a=Vi.makeFavouriteKey(e);this.managedEquips[t]=e,this.allEquipIdsInOrder.push(t),Vi.keyMatchesFilter(t,a,this.activeFilter)&&this.visibleEquipIds.push(t),this.favouriteKeys[t]=a,this.keysForIds[e.id_member_armor]=t}),this.reconsileAfterNextDOMChange(null,t))};if(j.onAjaxResponse(/action=market_get_armor/,e=>t(e,!1)),j.onAjaxResponse(/action=mythic_armor_load_material_items/,e=>t(e,!0)),j.onAjaxResponse(/action=market_sell/,(e,t)=>{const a=new URLSearchParams(t.data);var{type:i,id_item:t}=["type","id_item"].map(e=>({[e]:a.get(e)})).reduce((e,t)=>Object.assign(e,t),{});if("armor"!==!i){const n=this.keysForIds[t],o=[this.allEquipIdsInOrder,this.visibleEquipIds];o.forEach(e=>{var t=e.indexOf(n);0<t&&e.splice(t,1)}),delete this.elementCache[n],this.doAfterNextDOMChange(()=>this.padWithEmptySlots())}}),j.onAjaxResponse(/action=market_buy/,(e,t)=>{const a=new URLSearchParams(t.data);var t=["type","id_item"].map(e=>({[e]:a.get(e)})).reduce((e,t)=>Object.assign(e,t),{})["type"],e=e["item_ids"];if("armor"!==!t){const o=[];Object.entries(e).forEach(([i,e])=>{let n=$(`[id_item="${e}]`);if(n.length||$('[id_item="null"]').each((e,t)=>{var a=$(t).data("d");if(a&&`${a.index}`===i)return n=$(t),!1}),n.length){const a=n.data("d");a.id_member_armor||(a.id_member_armor=e,a.id_member=window.Hero.infos.id,o.push(n));var t=Vi.makeEquipKey(a),e=Vi.makeFavouriteKey(a);this.managedEquips[t]=a,this.allEquipIdsInOrder.splice(0,0,t),Vi.keyMatchesFilter(t,e,this.activeFilter)&&this.visibleEquipIds.splice(0,0,t),this.favouriteKeys[t]=e,this.keysForIds[a.id_member_armor]=t}}),this.reconsileAfterNextDOMChange(()=>{o.forEach(e=>{const t=e.parent(),a=t.parent();t.detach(),a.append('<div class="slot-container empty"><div class="slot empty"></div></div>')})})}}),new MutationObserver(()=>{this.reconcileElements("upgrade"===this.name),this.checkSelection()}).observe(this.$content[0],{subtree:!0,attributes:!0,attributeFilter:["class"]}),Yi.onUpdate(()=>{this.updateVisibleIdsForFilter(),this.reconcileElements("upgrade"===this.name),this.checkSelection()}),"upgrade"===this.name){const e=this.$container.find("button#level-up");new MutationObserver(()=>{e.prop("disabled")||this.$container.find(".selected [data-is-favourite=true]").length&&e.prop("disabled",!0)}).observe(e[0],{attributes:!0,attributeFilter:["disabled"]})}}reconsileAfterNextDOMChange(e,t){this.doAfterNextDOMChange(e,()=>this.reconcileElements(t))}doAfterNextDOMChange(...e){const t=new MutationObserver(()=>{this.$content.children(".slot-container, .item-container").length&&(e.forEach(e=>{e&&"function"==typeof e&&e()}),t.disconnect())});t.observe(this.$content[0],{childList:!0})}attachFilterButtonAndPanel(){const e=Vi.createFilterBtn(),t=Vi.createFilterBox(this.name);this.$container.append(e).append(t),e.click(()=>{t.find(".equip_filter_box").toggle()}),t.find("input").each((e,t)=>{$(t).change(e=>{const{value:t,name:a}=e.target;this.activeFilter[a.replace(`${this.name}-`,"")]=t,this.updateVisibleIdsForFilter(),this.reconcileElements()})})}updateVisibleIdsForFilter(){this.visibleEquipIds=this.allEquipIdsInOrder.filter(e=>Vi.keyMatchesFilter(e,this.favouriteKeys[e],this.activeFilter))}annotateEquipsWithKeys(){let a=!1;this.$container.find(".slot:not(.empty)").each((e,t)=>{var t=$(t),t=this.assertEquipAnnotatedWithKey(t)["changed"];a|=t}),a&&$(document).trigger("market:equips-annotated")}assertEquipAnnotatedWithKey(e){let t=e.attr("data-equip-key"),a;if(!t){const n=e.data("d");n.id_member_armor||(n.id_member_armor=n.id_item),t=Vi.makeEquipKey(n);var i=Vi.makeFavouriteKey(n);e.attr("data-equip-key",t),this.favouriteKeys[t]=i,this.keysForIds[n.id_member_armor]=t,a=!0}return{key:t,changed:a}}annotateEquipsWithFavourites(){this.updateFavouritesAnnotationsForKeys(this.visibleEquipIds)}updateFavouritesAnnotationsForKeys(e){const n=e.map(e=>({[e]:this.favouriteKeys[e]})).reduce((e,t)=>Object.assign(e,t),{}),o=Yi.areFavourites(Object.values(n));e.forEach(e=>{var t=n[e],t=o[t];const a=this.$forKey(e);if(a.attr("data-is-favourite",t),!a.find(".favourite-toggle").length){const i=this.$favouriteToggle.clone();a.prepend(i),i.click(this.favouriteToggleCallback)}})}$forKey(e){return this.$container.find(`[data-equip-key="${e}"]`)}reconcileElements(n){this.$content.find(".slot:not(.empty)").each((e,t)=>{const a=$(t);var t=this.assertEquipAnnotatedWithKey(a)["key"];if(!n){const i=a.parent();this.elementCache[t]=i,this.visibleEquipIds.includes(t)||i.detach()}}),n||(this.allEquipIdsInOrder.forEach(e=>{var t;this.visibleEquipIds.includes(e)&&((t=this.elementCache[e])&&t.length?this.$content.append(t):console.log("no cache entry for key",e))}),this.$content.append(this.$content.find(".slot-container.empty")),this.padWithEmptySlots(),this.$content.getNiceScroll().resize()),this.annotateEquipsWithFavourites(),this.checkSelection()}padWithEmptySlots(){var e,t=this.$content.width(),a=Math.round(t/106),i=4*a,n=this.$content.find(".slot-container").length;let o=0;if(n<i?o=i-n:i<n&&0<n%a&&(e=this.$content.find(".slot-container.empty").length,t=this.$content.find(".slot-container:not(.empty)").length,o=(a-t%a)%a-e,n+o<i&&(o+=i-(n+o))),0<o)for(;0<o;)this.$content.append('<div class="slot-container empty"><div class="slot empty"></div></div>'),o--;else if(o<0)for(;o<0;)this.$content.find(".slot-container.empty").last().remove(),o++}checkSelection(){const e=this.$content.find(".slot.selected");if(e.length){const t=this.$container.find("button[rel=sell]");t.length&&(JSON.parse(e.attr("data-is-favourite"))?t.attr("disabled","disabled"):t.removeAttr("disabled"))}}},Xi=j["$"],en="marketEquipsFilter";const tn=class extends V{constructor(){super({baseKey:en,label:vi.getModuleLabel("config",en),default:!0}),this.label=vi.getModuleLabel.bind(this,en)}shouldRun(){return j.isCurrentPage("shop")||j.isCurrentPage("mythic-equipment-upgrade")}run(){!this.hasRun&&this.shouldRun()&&(qi.use(),j.defer(()=>{this.injectCSSVars();let e=[];j.isCurrentPage("shop")?e=[{$container:Xi("#my-hero-equipement-tab-container"),name:"equippable"},{$container:Xi("#equipement-tab-container .right-container"),name:"sellable"}]:j.isCurrentPage("mythic-equipment-upgrade")&&(e=[{$container:Xi(".inventory-section"),name:"upgrade",skipFilter:!0}]),e.forEach(({$container:e,name:t,skipFilter:a})=>{const i=new Ji(e,t,a);i.init()})}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("filter-icon",`url('${Hi}')`),Te.registerVar("star-icon-white",`url('${j.getCDNHost()}/design/ic_star_white.svg')`),Te.registerVar("star-icon-orange",`url('${j.getCDNHost()}/design/ic_star_orange.svg')`)}};class an{constructor({aff:e,sc:t,hc:a}){this.aff=e,this.sc=t,this.hc=a}}class nn{constructor(e){this.steps=e,this.totalAffCache={},this.totalSCCache={},this.totalHCCache={}}totalAff(e){if(e>this.steps.length)throw new Error(`bad data for stage ${e}`);return this.totalAffCache[e]||(this.totalAffCache[e]=this.steps.slice(0,e).reduce((e,t)=>e+t.aff,0)),this.totalAffCache[e]}totalSC(e){if(e>this.steps.length)throw new Error(`bad data for stage ${e}`);return this.totalSCCache[e]||(this.totalSCCache[e]=this.steps.slice(0,e).reduce((e,t)=>e+t.sc,0)),this.totalSCCache[e]}totalHC(e){if(e>this.steps.length)throw new Error(`bad data for stage ${e}`);return this.totalHCCache[e]||(this.totalHCCache[e]=this.steps.slice(0,e).reduce((e,t)=>e+t.hc,0)),this.totalHCCache[e]}}const on={starting:new nn([new an({aff:90,sc:36e3,hc:36}),new an({aff:225,sc:9e4,hc:60}),new an({aff:563,sc:225e3,hc:114}),new an({aff:1125,sc:45e4,hc:180}),new an({aff:2250,sc:9e5,hc:300})]),common:new nn([new an({aff:180,sc:72e3,hc:72}),new an({aff:450,sc:18e4,hc:120}),new an({aff:1125,sc:45e4,hc:228}),new an({aff:2250,sc:9e5,hc:360}),new an({aff:4500,sc:18e5,hc:600})]),rare:new nn([new an({aff:540,sc:216e3,hc:216}),new an({aff:1350,sc:54e4,hc:360}),new an({aff:3375,sc:135e4,hc:678}),new an({aff:6750,sc:27e5,hc:1080}),new an({aff:13500,sc:54e5,hc:1800})]),epic:new nn([new an({aff:1260,sc:504e3,hc:504}),new an({aff:3150,sc:126e4,hc:840}),new an({aff:7875,sc:315e4,hc:1578}),new an({aff:15750,sc:63e5,hc:2520}),new an({aff:31500,sc:126e5,hc:4200})]),legendary:new nn([new an({aff:1800,sc:72e4,hc:720}),new an({aff:4500,sc:18e5,hc:1200}),new an({aff:11250,sc:45e5,hc:2250}),new an({aff:22500,sc:9e6,hc:3600}),new an({aff:45e3,sc:18e6,hc:6e3})]),mythic:new nn([new an({aff:4500,sc:18e5,hc:1800}),new an({aff:11250,sc:45e5,hc:3e3}),new an({aff:28125,sc:1125e4,hc:5628}),new an({aff:56250,sc:225e5,hc:9e3}),new an({aff:112500,sc:45e6,hc:15e3}),new an({aff:225e3,sc:9e7,hc:18e3})])},sn={starting:1,common:1,rare:1.2,epic:1.4,legendary:1.6,mythic:4};const rn=new class{constructor(){this.cache={}}getCachedForRarity(e){var a;return this.cache[e]||(this.cache[e]=(a=sn[e],Array((window.GIRL_MAX_LEVEL||HH_MAX_LEVEL)-1).fill().map((e,t)=>Math.ceil(10*a*Math.pow(1.0075,t))).reduce((e,t,a)=>(e.push(t+(0===a?0:e[e.length-1])),e),[]))),this.cache[e]}get starting(){return this.getCachedForRarity("starting")}get common(){return this.getCachedForRarity("common")}get rare(){return this.getCachedForRarity("rare")}get epic(){return this.getCachedForRarity("epic")}get legendary(){return this.getCachedForRarity("legendary")}get mythic(){return this.getCachedForRarity("mythic")}},ln=["fire","nature","stone","sun","water","darkness","light","psychic"],cn={fire:"Eccentric",nature:"Exhibitionist",stone:"Physical",sun:"Playful",water:"Sensual",darkness:"Dominatrix",light:"Submissive",psychic:"Voyeurs"};var pn=a(2031),dn={};pn.Z&&pn.Z.locals&&(dn.locals=pn.Z.locals);var un,gn=0,mn={};mn.styleTagTransform=Oe(),mn.setAttributes=u(),mn.insert=Re().bind(null,"head"),mn.domAPI=Pe(),mn.insertStyleElement=je(),dn.use=function(e){return mn.options=e||{},gn++||(un=Ee()(pn.Z,mn)),dn},dn.unuse=function(){0<gn&&!--gn&&(un(),un=null)};const hn=dn,bn=j["$"],fn="harem",vn=["starting","common","rare","epic","legendary","mythic"],yn={starting:1,common:1,rare:2,epic:3,legendary:4,mythic:5};const _n=class extends V{constructor(){super({baseKey:fn,label:vi.getModuleLabel("config",fn),default:!0}),this.label=vi.getModuleLabel.bind(this,fn),this.aggregates={girls:0,scPerHour:0,scCollectAll:0,unlockedScenes:0,totalScenes:0,levelSum:0,rarities:vn.reduce((e,t)=>(e[t]=0,e),{}),caracs:{1:0,2:0,3:0},elements:ln.reduce((e,t)=>(e[t]=0,e),{}),xpToCap:0,xpToMax:0,gems:ln.reduce((e,t)=>(e[t]=0,e),{}),aff:0,affSC:0,affHC:0}}shouldRun(){return j.isCurrentPage("harem")&&!j.isCurrentPage("hero")}aggregateStats(){Object.values(girlsDataList).forEach(a=>{if(a.own){var{salary:e,salary_per_hour:t,rarity:i,class:n,element:o,graded:s,nb_grades:r,level:l,level_cap:c,awakening_level:p}=a,r=parseInt(r,10),p=parseInt(p,10);if(this.aggregates.scCollectAll+=e,this.aggregates.rarities[i]++,this.aggregates.caracs[n]++,this.aggregates.elements[o]++,this.aggregates.girls++,this.aggregates.scPerHour+=Math.round(t),this.aggregates.unlockedScenes+=s,this.aggregates.totalScenes+=r,this.aggregates.levelSum+=parseInt(l),s<r){this.aggregates.aff+=Math.max(on[i].totalAff(r)-a.Affection.cur,0);let e=0,t=0;0<a.graded&&(e=on[i].totalSC(a.graded),t=on[i].totalHC(a.graded)),this.aggregates.affSC+=on[i].totalSC(r)-e;r=on[i].totalHC(r)-t;this.aggregates.affHC+=j.isNutakuKobans()?Math.ceil(r/6):r}this.aggregates.xpToMax+=Math.max(rn[i][GIRL_MAX_LEVEL-2]-a.Xp.cur,0),this.aggregates.xpToCap+=Math.max(rn[i][c-2]-a.Xp.cur,0),this.aggregates.gems[o]+=((e,a)=>{let t=0;return e<awakening_requirements.length&&(t=awakening_requirements.slice(e).reduce((e,{cost:t})=>e+=t*yn[a],0)),t})(p,i)}})}buildStatsDisplay(){return bn(`
            <div class="harem-info-panel">
                ${this.buildGeneralSummary()}
                ${this.buildUpgradeSummary()}
                ${this.buildMarketSummary()}
            </div>
        `)}buildGeneralSummary(){const{high_level_girl_owned:e,awakening_requirements:i}=window,t=e.slice(1).map((e,t)=>{var a=i[t]["cap_level"],t=i[t+1]["girls_required"];return{girls_required:t,girls_owned:e,cap_level:a}});return`
            <div class="summary-block general-summary">
                <h1>${this.label("haremStats")}</h1>
                <div>${this.aggregates.girls} <span class="clubGirl_mix_icn"></span></div>
                <ul class="summary-grid caracs-summary">
                    ${Object.entries(this.aggregates.caracs).map(([e,t])=>`<li><span tooltip="${GT.caracs[e]}"><span carac="${e}"></span><span>${vi.nThousand(t)}</span></span></li>`).join("")}
                </ul>
                <ul class="summary-grid elements-summary">
                    ${Object.entries(this.aggregates.elements).map(([e,t])=>`<li><span tooltip="${GT.design[`${e}_flavor_element`]}"><span class="${e}_element_icn"></span><span>${vi.nThousand(t)}</span></span></li>`).join("")}
                </ul>
                <ul class="summary-grid rarity-summary">
                    ${Object.entries(this.aggregates.rarities).map(([e,t])=>`<li><span tooltip="${GT.design[`girls_rarity_${e}`]}"><span class="rarity-icon slot ${e}"><span class="initial">${GT.design[`girls_rarity_${e}`][0].normalize("NFD").replace(/[\u0300-\u036f]/g,"")}</span></span><span>${vi.nThousand(t)}</span></span></li>`).join("")}
                </ul>
                <ul class="summary-grid xp-aff-summary">
                    <li>
                        <span tooltip="${this.label("haremLevel")}">
                            <span class="xp-aff-label">${GT.design.Lvl}</span>
                            <span>${vi.nThousand(this.aggregates.levelSum)}<br>/ ${vi.nThousand(GIRL_MAX_LEVEL*this.aggregates.girls)}</span>
                        </span>
                    </li>
                    <li>
                        <span tooltip="${this.label("unlockedScenes")}">
                            <span class="xp-aff-label unlocked-scenes-icon" style="background-image:url(${j.getCDNHost()}/design_v2/affstar.png);"></span>
                            <span>${vi.nThousand(this.aggregates.unlockedScenes)}<br>/ ${vi.nThousand(this.aggregates.totalScenes)}</span>
                        </span>
                    </li>
                </ul>
                <ul class="summary-grid salary-summary">
                    <li>
                        <span tooltip="${this.label("income")}">
                            <span class="salary-label"><span class="hudSC_mix_icn"></span></span>
                            <span>${vi.nThousand(this.aggregates.scPerHour)} / ${GT.time.h}<br>${vi.nThousand(this.aggregates.scCollectAll)} / ${GT.design.harem_collect}</span>
                        </span>
                    </li>
                </ul>
                <ul class="summary-grid level-caps-summary">
                    ${t.map(({cap_level:e,girls_required:t,girls_owned:a})=>`<li><span class="level-cap">${e}</span><span ${t<=a?'class="level-cap-unlocked"':""}>${vi.nThousand(a)}<span class="required-girls">/${t}</span></span></li>`).join("")}
                </ul>
            </div>
        `}buildUpgradeSummary(){return`
            <div class="summary-block upgrade-summary">
                <h1>${this.label("upgrades")}</h1>
                <span>${this.label("toUpgrade")}</span>
                <ul class="summary-grid upgrade-costs">
                    <li>
                        <span tooltip="${GT.design.Affection}">
                            <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_gifts_gray.svg)"></span>
                            <span class="cost-value">${vi.nThousand(this.aggregates.aff)} ${GT.design.Aff}<br>(<span class="hudSC_mix_icn"></span> ${vi.nThousand(417*this.aggregates.aff)})</span>
                        </span>
                    </li>
                    <li>
                        <span tooltip="${this.label("affectionScenes")}">
                            <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design_v2/affstar.png)"></span>
                            <span class="cost-value">${this.label("or",{left:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(this.aggregates.affSC)}<br>`,right:`<span class="hudHC_mix_icn"></span> ${vi.nThousand(this.aggregates.affHC)}`})}</span>
                        </span>
                    </li>
                </ul>
                <h1>${this.label("levelsAwakening")}</h1>
                <span>${this.label("toLevelCap")}</span>
                <ul class="summary-grid upgrade-costs">
                    <li>
                        <span tooltip="${GT.design.Experience}">
                            <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_books_gray.svg)"></span>
                            <span class="cost-value">${vi.nThousand(this.aggregates.xpToCap)} ${GT.design.XP}<br>(<span class="hudSC_mix_icn"></span> ${vi.nThousand(200*this.aggregates.xpToCap)})</span>
                        </span>
                    </li>
                </ul>
                <span class="to-max-label">${this.label("toLevelMax",{max:GIRL_MAX_LEVEL})}</span>
                <div class="to-max-combi">
                    <ul class="summary-grid upgrade-costs">
                        <li>
                            <span tooltip="${GT.design.Experience}">
                                <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_books_gray.svg)"></span>
                                <span class="cost-value">${vi.nThousand(this.aggregates.xpToMax)} ${GT.design.XP}<br>(<span class="hudSC_mix_icn"></span> ${vi.nThousand(200*this.aggregates.xpToMax)})</span>
                            </span>
                        </li>
                    </ul>
                    <ul class="summary-grid gems-summary">
                        ${Object.entries(this.aggregates.gems).map(([e,t])=>`<li><span tooltip="${GT.design[`${e}_gem`]}"><span class="gem-icon" style="background-image: url(${j.getCDNHost()}/pictures/design/gems/${e}.png)"></span><span>${vi.nThousand(t)}</span></span></li>`).join("")}
                    </ul>
                </div>
            </div>
        `}buildMarketSummary(){var a=j.lsGet(f.MARKET_INFO);let i="";if(a){var{buyableItems:n,sellableItems:o,refreshTime:s,refreshLevel:r}=a;let e="",t="";e=s<server_now_ts||r<Hero.infos.level?`
                    <span>${this.label("buyable")}</span>
                    <p class="market-warning">${this.label("marketRestocked")}</p>
                `:n?({aff:a,xp:n}=n,`
                    <span>${this.label("buyable")}</span>
                    <ul class="summary-grid upgrade-costs">
                        <li>
                            <span tooltip="${this.label("books")}">
                                <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_books_gray.svg)"></span>
                                <span class="cost-value">
                                    ${this.label("canBeBought",{item:`${vi.nThousand(n.sc.value)} ${GT.design.XP} (${n.sc.count})`,amount:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(n.sc.cost)}`})}<br>
                                    ${this.label("canBeBought",{item:`${vi.nThousand(n.hc.value)} ${GT.design.XP} (${n.hc.count})`,amount:`<span class="hudHC_mix_icn"></span> ${vi.nThousand(n.hc.cost)}`})}
                                </span>
                            </span>
                        </li>
                        <li>
                            <span tooltip="${this.label("gifts")}">
                                <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_gifts_gray.svg)"></span>
                                <span class="cost-value">
                                    ${this.label("canBeBought",{item:`${vi.nThousand(a.sc.value)} ${GT.design.Aff} (${a.sc.count})`,amount:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(a.sc.cost)}`})}<br>
                                    ${this.label("canBeBought",{item:`${vi.nThousand(a.hc.value)} ${GT.design.Aff} (${a.hc.count})`,amount:`<span class="hudHC_mix_icn"></span> ${vi.nThousand(a.hc.cost)}`})}
                                </span>
                            </span>
                        </li>
                    </ul>
                    <p class="restock-info">
                        ${this.label("marketRestock",{time:new Date(1e3*s).toLocaleString(vi.getLang()),level:r+1})}
                    </p>
                `):`
                    <span>${this.label("buyable")}</span>
                    <p class="market-warning">${this.label("visitMarket")}</p>
                `,t=o?({xp:r,aff:o}=o,`
                    <span>${this.label("sellable")}</span>
                    <ul class="summary-grid upgrade-costs">
                        <li>
                            <span tooltip="${this.label("books")}">
                                <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_books_gray.svg)"></span>
                                <span class="cost-value">
                                    ${vi.nThousand(r.value)} ${GT.design.XP} (${r.count})<br>
                                    ${this.label("canBeSold",{sc:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(r.cost)}`})}
                                </span>
                            </span>
                        </li>
                        <li>
                            <span tooltip="${this.label("gifts")}">
                                <span class="affection-label" style="background-image:url(${j.getCDNHost()}/design/ic_gifts_gray.svg)"></span>
                                <span class="cost-value">
                                    ${vi.nThousand(o.value)} ${GT.design.Aff} (${o.count})<br>
                                    ${this.label("canBeSold",{sc:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(o.cost)}`})}
                                </span>
                            </span>
                        </li>
                    </ul>
                    <ul class="summary-grid gems-stock">
                        ${ln.map(e=>`<li><span tooltip="${GT.design[`${e}_gem`]}"><span class="gem-icon" style="background-image: url(${j.getCDNHost()}/pictures/design/gems/${e}.png)"></span><span>${vi.nThousand(parseInt(player_gems_amount[e].amount),10)}</span></span></li>`).join("")}
                    </ul>
                `):`
                    <span>${this.label("sellable")}</span>
                    <p class="market-warning">${this.label("visitMarket")}</p>
                `,i=t+e}else i=`
                <p class="market-warning">${this.label("visitMarket")}</p>
            `;return`
            <div class="summary-block market-summary">
                <h1>${this.label("market")}</h1>
                ${i}
            </div>
        `}attachToPage(e){const t=bn('<div class="harem-info-panel-toggle clubGirl_mix_icn"></div>'),a=bn('<div class="harem-info-overlay-bg"></div>');bn("#harem_left").append(t).append(e).append(a),t.click(()=>{e.hasClass("visible")?(e.removeClass("visible"),a.removeClass("visible")):(e.addClass("visible"),a.addClass("visible"))}),a.click(()=>{e.removeClass("visible"),a.removeClass("visible")})}attachWikiLink(e,t){if(!j.isCxH()&&!j.isPSH()){var a=girlsDataList[e],e=j.getWikiLink(a.name,a.id_girl,vi.getLang());if(!a.own){const i=t.find(".WikiLinkDialogbox > a");i.length?i.attr("href",e):t.find(".middle_part.missing_girl .dialog-box").append(`<div class="WikiLinkDialogbox"><a href="${e}" target="_blank">${this.label("wikiPage",{name:a.name})}</a></div>`)}if(a.own){const n=t.find(".WikiLink a");n.length?n.attr("href",e):t.find(".middle_part h3").wrap(`<div class="WikiLink"><a href="${e}" target="_blank"></a></div>`)}}}attachSceneCostsAndStats(e,t){const a=t.find("a.later");if(a.length){const s=girlsDataList[e];a.each((e,t)=>{const a=bn(t);var i=a.index(),n=s["rarity"],o=on[n].totalAff(i+1)-s.Affection.cur,{sc:t,hc:n}=on[n].steps[i],i=j.isNutakuKobans()?1/6:1,i=`
                <div class="scene-costs-tooltip">
                    ${vi.nThousand(o)} ${GT.design.Aff}<br>
                    ${this.label("or",{left:`<span class="hudSC_mix_icn"></span> ${vi.nThousand(t)}<br>`,right:`<span class="hudHC_mix_icn"></span> ${vi.nThousand(Math.ceil(n*i))}`})}
                </div>
            `.replace(/(\n| {4})/g,"");a.attr("tooltip",i)})}}onGirlSelectionChanged(e,t){this.attachWikiLink(e,t),this.attachSceneCostsAndStats(e,t)}run(){!this.hasRun&&this.shouldRun()&&(hn.use(),j.defer(()=>{this.aggregateStats(),this.attachToPage(this.buildStatsDisplay());var e=()=>{const e=bn("#harem_right [girl]");var t;e.length&&(t=e.attr("girl"),this.currentGirlId!==t&&(this.currentGirlId=t,this.onGirlSelectionChanged(t,e)))};new MutationObserver(e).observe(bn("#harem_right")[0],{childList:!0,subtree:!0}),e()}),this.hasRun=!0)}};var wn=a(1072),xn={};wn.Z&&wn.Z.locals&&(xn.locals=wn.Z.locals);var Mn,Cn=0,kn={};kn.styleTagTransform=Oe(),kn.setAttributes=u(),kn.insert=Re().bind(null,"head"),kn.domAPI=Pe(),kn.insertStyleElement=je(),xn.use=function(e){return kn.options=e||{},Cn++||(Mn=Ee()(wn.Z,kn)),xn},xn.unuse=function(){0<Cn&&!--Cn&&(Mn(),Mn=null)};const In=xn,An="league",Tn=[4,15,30];const Sn=class extends V{constructor(){super({baseKey:An,label:vi.getModuleLabel("config",An),default:!0,subSettings:[{key:"board",label:vi.getModuleLabel("config",`${An}_board`),default:!0},{key:"promo",label:vi.getModuleLabel("config",`${An}_promo`),default:!0}]}),this.label=vi.getModuleLabel.bind(this,An),this.aggregates={challengesDone:0,challengesPossible:0,challengesTotal:0,playersTotal:0,levelRange:{min:0,max:0,median:0},playerRank:0,playerScore:0,tops:{},demotions:{},demoteThreshold:0,avg:0,scoreExpected:0},this.possibleChallengesTooltip=""}shouldRun(){return j.isCurrentPage("tower-of-fame")}run({board:e,promo:t}){!this.hasRun&&this.shouldRun()&&(In.use(),j.defer(()=>{this.injectCSSVars(),this.aggregateData(),this.displaySummary({board:e,promo:t}),this.manageTableAnnotations(),this.manageHideFoughtOpponents()}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("legendary-bg",`url("${j.getCDNHost()}/legendary.png")`)}aggregateData(){const{leagues_list:e,season_end_at:t,Hero:a}=window;var i=e.length;this.aggregates.playersTotal=i;const s={},r=i-14,l=i-15;this.aggregates.demoteThreshold=r;const c=[...Tn,...Tn.map(e=>e+1)],p=[];e.forEach(({nb_challenges_played:e,level:t,place:a,class:i,html:n})=>{const o=$(n.replace(/[\n\t]/g,""));p.push(parseInt(t,10));t=vi.parseLocaleRoundedInt(o.eq(4).text());s[a]=t,c.includes(a)&&(this.aggregates.tops[a]=t),r===a?this.aggregates.demotions.demote=t:l===a&&(this.aggregates.demotions.nonDemote=t),i&&i.includes("personal_highlight")?(this.aggregates.playerRank=a,this.aggregates.playerScore=t):this.aggregates.challengesDone+=parseInt(e,10)});var n=parseInt(Math.floor(t/60),10),o=a.energies.challenge.amount!==a.energies.challenge.max_regen_amount?Math.floor((n+(35-a.energies.challenge.next_refresh_ts/60))/35)+parseInt(a.energies.challenge.amount,10):Math.floor(n/35)+parseInt(a.energies.challenge.amount,10);this.aggregates.challengesPossible=o,p.sort((e,t)=>e-t);var d=Math.floor(p.length/2);this.aggregates.levelRange={min:Math.min(...p),max:Math.max(...p),median:p.length%2?p[d]:(p[d-1]+p[d])/2};var{challengesDone:u,playerScore:n}=this.aggregates,o=3*(i-1);this.aggregates.challengesTotal=o;var d=0!==u?n/u:0,i=Math.round(100*d)/100,u=Math.floor(d*o),d={points:n,avg:i},o=(j.lsGet(f.LEAGUE_SCORE)||{points:0,avg:0})["points"];o<n&&j.lsSet(f.LEAGUE_SCORE,d),this.aggregates.avg=i,this.aggregates.scoreExpected=u}displaySummary({board:i,promo:n}){const{challengesDone:e,challengesPossible:t,challengesTotal:a,playerScore:o,playerRank:s,tops:r,demotions:l,demoteThreshold:c,avg:p,scoreExpected:d}=this.aggregates;let u="",g="";if(i&&(u=Tn.map(e=>{var{diff:t,score:a,symbol:i,labelKey:n}=((e,t,a,i,n)=>{let o="",s,r,l;return l=e<=a?(r=n,s=t-n,s&&(o="-"),"stayInTop"):(r=i+1,s=r-t,o="+","notInTop"),{symbol:o,diff:s,score:r,labelKey:l}})(s,o,e,r[e],r[e+1]);return`<span class="minTop${e}" hh_title="${this.label(n,{points:vi.nThousand(a),top:e})}" tooltip><span class="scriptLeagueInfoIcon top${e}"></span>${i}${vi.nThousand(t)}</span>`}).join("")),n){var m=window["league_tag"],{demote:h,nonDemote:b}=l,i=1<m,n=m<9,f=0===o,m=s<=15,h=i&&(f||o<=h);let e,t,a;i&&(h?f?(e=this.label("willDemoteZero"),t=this.label("toNotDemote")):e=this.label("willDemote",{points:b}):e=this.label("toDemote",{players:c-s})),n&&(m?f||(a=this.label("toStay",{players:16-s})):a=this.label("willStay",{points:r[15]}));f=[a,t,e].filter(e=>e).map(e=>`<p>${e}</p>`).join("");g=`
                <span class="promotionInfo" hh_title="${f}" tooltip>
                    <img src="${j.getCDNHost()}/leagues/ic_rankup.png" style="height: 15px; width: 12px; margin-left: 6px; margin-bottom: 0px;">
                </span>
            `}f=a-e;this.possibleChallengesTooltip=`${this.label("challengesRegen",{challenges:t})}<br/>${this.label("challengesLeft",{challenges:f})}`;f=`
            <div class="scriptLeagueInfo">
                <span class="averageScore" hh_title="${this.label("averageScore",{average:vi.nThousand(p)})}<br/>${this.label("scoreExpected",{score:vi.nThousand(d)})}" tooltip><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOG1tIiBoZWlnaHQ9IjhtbSIgdmlld0JveD0iMCAwIDggOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnPjxnIGFyaWEtbGFiZWw9IngiIHN0eWxlPSJzdHJva2Utd2lkdGg6MC4yNzI1MTE7ZmlsbDojZmZmIj48cGF0aCBkPSJNIDcuMDM5NTA1OCw3LjUyNzEyNjggSCA0LjQyMzQwOTcgViA2Ljk2MDMwNiBIIDUuMTQyODM2MiBMIDMuOTExMDkwOSw1LjI3MDc0NCAyLjY3OTM0NTcsNi45NjAzMDYgSCAzLjQwOTY3MjUgViA3LjUyNzEyNjggSCAxLjI2MjI5MzcgViA2Ljk2MDMwNiBIIDIuMDE0NDIxMyBMIDMuNTczMTc4NSw0LjgxMjkyNzEgMS44NTA5MTUzLDIuNDM2NjM5OSBIIDEuMTUzMjg5NyBWIDEuODY5ODE5MSBIIDMuNjgyMTgyNSBWIDIuNDM2NjM5OSBIIDMuMDA2MzU3NyBsIDEuMTg4MTQzNiwxLjYzNTA2IDEuMTg4MTQzNywtMS42MzUwNiBIIDQuNjE5NjE3IFYgMS44Njk4MTkxIGggMi4xODAwOCBWIDIuNDM2NjM5OSBIIDYuMDQ3NTY5NCBMIDQuNTMyNDEzOCw0LjUyOTUxNjcgNi4yOTgyNzg2LDYuOTYwMzA2IGggMC43NDEyMjcyIHoiLz48L2c+PHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2Utd2lkdGg6MC41MDM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgZD0ibSAxLjE1OTc0NTIsMC44MDk3MjA5NCBoIDUuNjQ3Ii8+PC9nPjwvc3ZnPg0K" style="height: 15px; width: 16px; margin-left: 2px; margin-bottom: 0px;">${vi.nThousand(p)}</span>
                <span class="possibleChallenges" hh_title="${this.possibleChallengesTooltip}" tooltip><img src="${j.getCDNHost()}/pictures/design/league_points.png" style="height: 15px; width: 16px; margin-left: 6px; margin-bottom: 0px;">${t}/${f}</span>
                ${u}
                ${g}
            </div>
        `;$(".leagues_middle_header").after('<div class="leagues_middle_header_script"></div>'),$(".leagues_middle_header_script").append(f)}manageHideFoughtOpponents(){let n=[];function e(){var e=document.getElementsByClassName("leadTable")[0];if(e){n=[];const t=$(e).find("tr");t.each((e,t)=>{try{const a=$(t);n.push(a);const i=a.attr("sorting_id");"3"===leagues_list.find(({id_player:e})=>e===i).nb_challenges_played&&a.detach()}catch(e){}})}}let t=j.lsGet(f.FOUGHT_OPPONENTS_HIDDEN);$(".leagues_middle_header_script").append('<button id="beaten_opponents" class=""><span id="hide_beaten"></span></button>');const a=()=>{var e=this.label("showFoughtOpponents");$("#hide_beaten").html(`<img alt="${e}" hh_title="${e}" src="${j.getCDNHost()}/quest/ic_eyeopen.svg">`)},i=()=>{var e=this.label("hideFoughtOpponents");$("#hide_beaten").html(`<img alt="${e}" hh_title="${e}" src="${j.getCDNHost()}/quest/ic_eyeclosed.svg">`)};t?(e(),a()):i();let o=document.querySelector("#beaten_opponents");var s;o.addEventListener("click",function(){t?(function(){const t=document.getElementsByClassName("leadTable")[0];t&&n.length&&n.forEach(e=>{$(t).append(e)})}(),i()):(e(),a()),$(".leagues_table .lead_table_view").getNiceScroll().resize(),t=!t,j.lsSet(f.FOUGHT_OPPONENTS_HIDDEN,t)});for(s of document.querySelectorAll("span[sort_by]"))s.addEventListener("click",function(){t&&e(),$(document).trigger("league:table-sorted")})}manageTableAnnotations(){const t=()=>{var e=$("#leagues_right .avatar_border>img").attr("hero-page-id");let a;try{a=j.lsGet(f.LEAGUE_POINT_HISTORY)[e].points}catch(e){a=[]}for(let t=0;t<3;t++){let e=$(".result")[t];""!==e.innerText&&(e.innerText=a[t]||"?")}const r=j.lsGet(f.LEAGUE_RESULTS)||{},l=j.lsGet(f.LEAGUE_POINT_HISTORY)||{};let c=!1;$(".leagues_table .lead_table_view tbody.leadTable tr").each((e,a)=>{let i=$(a),n=i.attr("sorting_id"),t=r[n];if(t&&(0===i.find(".classLeague").length&&i.find(".square-avatar-wrapper").append($('<div class="classLeague"></div>')),t.themeIcons)){const o=i.find(".classLeague");o.empty(),t.themeIcons.forEach(e=>{o.append(`<img class="theme-icon" src="${e}"/>`)})}if(!i.hasClass("personal_highlight")){let t;const s=leagues_list.find(({id_player:e})=>e===n);try{t=l[n].points,"3"===s.nb_challenges_played&&3<t.length&&(t=function(a){console.log("resolving scores",a);const i={4:[0,1,3],5:[0,3,4],6:[3,4,5]};var e=a.filter((e,t)=>i[a.length].includes(t));return console.log("resolved to:",e),e}(t),l[n].points=t,c=!0)}catch{t=[]}let e="";a="1"===j.lsGetRaw(f.TABLE_SHOW_INDIVIDUAL);e=a?[0,1,2].map(e=>e<parseInt(s.nb_challenges_played)?t[e]||"?":"-").join("/"):`${s.nb_challenges_played}/3`,i.hasClass("selected-player-leagues")||(i[0].children[3].innerText=e)}}),c&&j.lsSet(f.LEAGUE_POINT_HISTORY,l)},l=()=>{var e,t=j.lsGet(f.LEAGUE_RESULTS)||{},a=this.aggregates.playersTotal,i=a-1;j.lsSet(f.LEAGUE_PLAYERS,i);let n=0;for(let e=0;e<a;e++)n+=parseInt(leagues_list[e].nb_challenges_played);let o=0,s=0;for(e in t)o+=t[e].victories,s+=t[e].defeats;var r=3*i-n,l=n-o-s;j.lsSet(f.LEAGUE_UNKNOWN,l);var{min:c,max:p,median:d}=this.aggregates.levelRange,u=`
                <hr/>
                <span id="leagueStats"><u>${this.label("currentLeague")}</u>
                <table>
                    <tbody>
                        <tr><td>${this.label("victories")} :</td><td><em>${o}</em>/<em>${3*i}</em></td></tr>
                        <tr><td>${this.label("defeats")} :</td><td><em>${s}</em>/<em>${3*i}</em></td></tr>
                        <tr><td>${this.label("unknown")} :</td><td><em>${l}</em>/<em>${3*i}</em></td></tr>
                        <tr><td>${this.label("notPlayed")} :</td><td><em>${r}</em>/<em>${3*i}</em></td></tr>
                        <tr><td>${this.label("levelRange")} :</td><td><em>${c}</em>…<em>${d}</em>…<em>${p}</em></td></tr>
                    </tbody>
                </table>
                </span>`,g=j.lsGet(f.LEAGUE_RESULTS_OLD)||{},l=j.lsGet(f.LEAGUE_PLAYERS_OLD)||0,r=j.lsGet(f.LEAGUE_UNKNOWN_OLD)||0,i=j.lsGet(f.LEAGUE_SCORE_OLD)||{},c=j.lsGet(f.LEAGUE_TIME_OLD)||0;let m="";if(0<c){let e=0,t=0;var h,d=i.points||0,p=i.avg||0;for(h in g)e+=g[h].victories,t+=g[h].defeats;i=3*l-e-t-r,r={year:"numeric",month:"short",day:"numeric"},r=new Date(1e3*c).toLocaleDateString(vi.getLang(),r);m=`
                    <hr/>
                    <span id="oldLeagueStats">
                        ${this.label("leagueFinished",{date:`<em>${r}</em>`})}
                        <table>
                            <tbody>
                                <tr><td>${this.label("victories")} :</td><td><em>${e}</em>/<em>${3*l}</em></td></tr>
                                <tr><td>${this.label("defeats")} :</td><td><em>${t}</em>/<em>${3*l}</em></td></tr>
                                <tr><td>${this.label("notPlayed")} :</td><td><em>${i}</em>/<em>${3*l}</em></td></tr>
                                <tr><td>${this.label("opponents")} :</td><td><em>${l}</em></td></tr>
                                <tr><td>${this.label("leaguePoints")} :</td><td><em>${vi.nThousand(d)}</em></td></tr>
                                <tr><td>${this.label("avg")} :</td><td><em>${vi.nThousand(p)}</em></td></tr>
                            </tbody>
                        </table>
                    </span>`}u=`${this.possibleChallengesTooltip}${u}${m}`;$(".possibleChallenges").attr("hh_title",u)},e=()=>{let e=j.lsGet(f.LEAGUE_RESULTS)||{},t,a,i;i=Object.keys(loadedLeaguePlayers)?.length?(t=$("#leagues_right .avatar_border>img").attr("hero-page-id"),a=loadedLeaguePlayers[t].player.class,loadedLeaguePlayers[t].match_history[t]):(t=opponent_fighter.player.id_fighter,a=opponent_fighter.player.class,window.match_history[t]);let n=$("#leagues_middle .selected-player-leagues .theme-container img");n.length||(n=$("#leagues_right .team-theme"));var o=n.map((e,t)=>$(t).attr("src")).toArray(),s=i.filter(e=>"won"===e).length,r=i.filter(e=>"lost"===e).length;e[t]={victories:s,defeats:r,class:a,themeIcons:o},j.lsSet(f.LEAGUE_RESULTS,e),l()},a=()=>{setTimeout(function(){$(".result")?(e(),t()):a()},50)};a();$(document).on("league:table-sorted",()=>{t()});const i=j.lsGetRaw(f.TABLE_SHOW_INDIVIDUAL)||"0",n=[{label:"22/21/-",value:"1"},{label:"2/3",value:"0"}].map(e=>j.$(`
            <label>
                <input type="radio" name="leagueTableShowIndividual" value="${e.value}" ${e.value===i?"checked":""} />
                <span>${e.label}</span>
            </label>
        `).change(e=>{j.lsSetRaw(f.TABLE_SHOW_INDIVIDUAL,e.target.value),t()})),o=$('<div class="individualDisplaySwitch"></div>');n.forEach((e,t)=>{0<t&&o.append("&middot;"),o.append(e)}),$(".leagues_middle_header_script").append(o),$(document).on("league:player-selected",()=>{e(),t()})}};var Dn=a(1476),Ln={};Dn.Z&&Dn.Z.locals&&(Ln.locals=Dn.Z.locals);var Nn,$n=0,jn={};jn.styleTagTransform=Oe(),jn.setAttributes=u(),jn.insert=Re().bind(null,"head"),jn.domAPI=Pe(),jn.insertStyleElement=je(),Ln.use=function(e){return jn.options=e||{},$n++||(Nn=Ee()(Dn.Z,jn)),Ln},Ln.unuse=function(){0<$n&&!--$n&&(Nn(),Nn=null)};const En=Ln,zn={chance:{darkness:"light",light:"psychic",psychic:"darkness"},egoDamage:{fire:"nature",nature:"stone",stone:"sun",sun:"water",water:"fire"}};class Pn{static calculateDominationBonuses(e,t){const i={player:{ego:0,attack:0,chance:0},opponent:{ego:0,attack:0,chance:0}};return[{a:e,b:t,k:"player"},{a:t,b:e,k:"opponent"}].forEach(({a:e,b:t,k:a})=>{e.forEach(e=>{zn.egoDamage[e]&&t.includes(zn.egoDamage[e])&&(i[a].ego+=.1,i[a].attack+=.1),zn.chance[e]&&t.includes(zn.chance[e])&&(i[a].chance+=.2)})}),i}static countElementsInTeam(e){return e.reduce((e,t)=>(e[t]++,e),{fire:0,stone:0,sun:0,water:0,nature:0,darkness:0,light:0,psychic:0})}static findBonusFromSynergies(e,t,a,i){var{bonus_multiplier:n,team_bonus_per_girl:e}=e.find(({element:{type:e}})=>e===t);return n+(a?i[t]*e:0)}static calculateSynergiesFromTeamMemberElements(e,t){var a=Pn.countElementsInTeam(e),e=j.getGirlDictionary().size||800,e=Math.min(e/8,100);return{critDamage:(t?0:.0035*e)+.1*a.fire,critChance:(t?0:7e-4*e)+.02*a.stone,healOnHit:(t?0:.001*e)+.03*a.water}}static calculateThemeFromElements(e){e=Pn.countElementsInTeam(e);const a=[];return Object.entries(e).forEach(([e,t])=>{3<=t&&a.push(e)}),a}static calculateCritChanceShare(e,t){return.3*e/(e+t)}}const On=Pn;window.HHPlusPlus.SimHelpers=Pn;class Rn{extract(){var{opponent_fighter:e,hero_fighter:t,caracs_per_opponent:a,loadedLeaguePlayers:i}=window;let n,o;o=Object.keys(i)?.length?(f=$("#leagues_right .avatar_border>img").attr("hero-page-id"),n=i[f].player,a[f]):(n=e.player,t);var{chance:s,damage:r,defense:l,remaining_ego:c,total_ego:p}=o,d=c||p;const u=t["team"];let g=u.theme_elements,m=u.synergies;g||(g=[],v=On.countElementsInTeam([0,1,2,3,4,5,6].map(e=>u.girls[e].element_data.type)),Object.entries(v).forEach(([e,t])=>{3<=t&&g.push({type:e})})),m=m||JSON.parse($("#leagues_left .hexa .icon-area").attr("synergy-data"));var h=g.map(({type:e})=>e),b=m,i={critDamage:On.findBonusFromSynergies(b,"fire"),critChance:On.findBonusFromSynergies(b,"stone"),healOnHit:On.findBonusFromSynergies(b,"water")},{chance:a,damage:f,defense:e,remaining_ego:c,total_ego:p,nickname:t}=n,v=c||p;const y=n["team"],_=[];[0,1,2,3,4,5,6].forEach(e=>{e=y.girls[e];e&&e.element&&_.push(e.element)});b=y.theme_elements.map(({type:e})=>e);const w=y.synergies;c=w.every(({team_girls_count:e})=>!e);let x;c&&(x=_.reduce((e,t)=>(e[t]++,e),{fire:0,stone:0,sun:0,water:0,nature:0,darkness:0,light:0,psychic:0}));p={critDamage:On.findBonusFromSynergies(w,"fire",c,x),critChance:On.findBonusFromSynergies(w,"stone",c,x),healOnHit:On.findBonusFromSynergies(w,"water",c,x)},c=On.calculateDominationBonuses(h,b);return{player:{hp:d,dmg:r-e,critchance:On.calculateCritChanceShare(s,a)+c.player.chance+i.critChance,bonuses:{...i,dominance:c.player},theme:h},opponent:{hp:v,dmg:f-l,critchance:On.calculateCritChanceShare(a,s)+c.opponent.chance+p.critChance,name:t,bonuses:{...p,dominance:c.opponent},theme:b}}}display(e){var t=window["GT"],{points:a,win:i,scoreClass:e}=e;let n="<table class='probabilityTable'>",o=0;var s,r=["#fff","#fff","#fff","#ff2f2f","#fe3c25","#fb4719","#f95107","#f65b00","#f26400","#ed6c00","#e97400","#e37c00","#de8400","#d88b00","#d19100","#ca9800","#c39e00","#bba400","#b3aa00","#aab000","#a1b500","#97ba00","#8cbf00","#81c400","#74c900","#66cd00"];for(let e=25;3<=e;e--)a[e]&&(s=15<=e,n+=`<tr style='color:${s?r[25]:r[3]};' data-tint='${s?"w":"l"}'><td>${e}</td><td>${vi.nRounding(100*a[e],2,0)}%</td></tr>`,o+=e*a[e]);n+=`<tr class='${e}'><td>${t.design.leagues_won_letter}</td><td>${vi.nRounding(100*i,2,-1)}%</td></tr>`,n+="</table>",$(".matchRating").remove();e={expected:{label:"E[X]",value:vi.nRounding(o,2,0),className:""},"win-chance":{label:`P[${t.design.leagues_won_letter}]`,value:`${vi.nRounding(100*i,0,-1)}%`,className:e}},e=Object.entries(e).map(([e,{label:t,value:a,className:i}])=>`<div class="matchRating-${e} ${i}"><span class="matchRating-label">${t}:</span><span class="matchRating-value">${a}</span></div>`).join(""),e=$(`<div class="matchRating" style="color:${r[Math.round(o)]};" tooltip="${n}">${e}</div>`);$("#leagues_right .average-lvl").wrap('<div class="gridWrapper"></div>').after(e),$(".lead_table_default > td:nth-child(1) > div:nth-child(1) > div:nth-child(2) .level").append(e)}}const Hn=Rn;window.HHPlusPlus.League=Rn;class Gn{constructor({player:e,opponent:t,logging:a,preSim:i}){this.player=e,this.opponent=t,this.logging=a,this.preSim=i}run(){this.logging&&(console.log("Running simulation against",this.opponent.name),console.groupCollapsed("Player"),console.dir({...this.player}),console.groupEnd(),console.groupCollapsed(this.opponent.name),console.dir({...this.opponent}),console.groupEnd());var e=e=>{e.critMultiplier=2+e.bonuses.critDamage,e.dmg=Math.max(0,e.dmg),e.baseAttack={probability:1-e.critchance,damageAmount:Math.ceil(e.dmg),healAmount:Math.ceil(e.dmg*e.bonuses.healOnHit)},e.critAttack={probability:e.critchance,damageAmount:Math.ceil(e.dmg*e.critMultiplier),healAmount:Math.ceil(e.dmg*e.critMultiplier*e.bonuses.healOnHit)},e.hp=Math.ceil(e.hp)};e(this.player),e(this.opponent),this.cache={},this.runs=0;let t;try{t=this.playerTurn(this.player.hp,this.opponent.hp,0)}catch(e){return this.logging&&console.log(`An error occurred during the simulation against ${this.opponent.name}`,e),{points:[],win:Number.NaN,loss:Number.NaN,avgTurns:Number.NaN,scoreClass:"minus"}}e=t.win+t.loss;return t.win/=e,t.loss/=e,t.scoreClass=.9<t.win?"plus":t.win<.5?"minus":"close",this.logging&&console.log(`Ran ${this.runs} simulations against ${this.opponent.name}; aggregated win chance: ${100*t.win}%, average turns: ${t.avgTurns}`),this.preSim&&(t.win<=0&&(t.impossible=!0),t.loss<=0&&(t.guaranteed=!0)),t}mergeResult(e,a,t,i){const n={};Object.entries(e.points).map(([e,t])=>[e,t*a]).concat(Object.entries(t.points).map(([e,t])=>[e,t*i])).forEach(([e,t])=>{n[e]=(n[e]||0)+t});var o=(e,t)=>e*a+t*i,s=o(e.win,t.win),r=o(e.loss,t.loss),t=o(e.avgTurns,t.avgTurns);return{points:n,win:s,loss:r,avgTurns:t}}playerTurn(e,t,a){if(50<(a+=1))throw new Error;var i=this.cache?.[e]?.[t];if(i)return i;var n=this.player.baseAttack,o=this.playerAttack(e,t,n,a),i=this.player.critAttack,a=this.playerAttack(e,t,i,a);const s=this.mergeResult(o,n.probability,a,i.probability);return s.avgTurns+=1,this.cache[e]||(this.cache[e]={}),this.cache[e][t]||(this.cache[e][t]={}),this.cache[e][t]=s,s}playerAttack(e,t,a,i){if(t-=a.damageAmount,e+=a.healAmount,e=Math.min(e,this.player.hp),t<=0){a=15+Math.ceil(10*e/this.player.hp);return this.runs+=1,{points:{[a]:1},win:1,loss:0,avgTurns:0}}return this.opponentTurn(e,t,i)}opponentTurn(e,t,a){var i=this.opponent.baseAttack,n=this.opponentAttack(e,t,i,a),o=this.opponent.critAttack,a=this.opponentAttack(e,t,o,a);return this.mergeResult(n,i.probability,a,o.probability)}opponentAttack(e,t,a,i){if(e-=a.damageAmount,t+=a.healAmount,t=Math.min(t,this.opponent.hp),e<=0){a=3+Math.ceil(10*(this.opponent.hp-t)/this.opponent.hp);return this.runs+=1,{points:{[a]:1},win:0,loss:1,avgTurns:0}}return this.playerTurn(e,t,i)}}const Zn=Gn;window.HHPlusPlus.Simulator=Gn;const Bn=class{constructor(e){this.idOpponent=e}extract(){var{opponents:e,hero_data:t,caracs_per_opponent:a}=window,i=e[this.idOpponent-1].player,{chance:n,damage:o,defense:s,remaining_ego:r,total_ego:l}=a[i.id_fighter],c=r||l;const p=t["team"];let d=p.theme_elements,u=p.synergies;d||(d=[],b=On.countElementsInTeam([0,1,2,3,4,5,6].map(e=>p.girls[e].element_data.type)),Object.entries(b).forEach(([e,t])=>{3<=t&&d.push({type:e})})),u=u||JSON.parse($("#leagues_left .hexa .icon-area").attr("synergy-data"));var g=d.map(({type:e})=>e),m=u,h={critDamage:On.findBonusFromSynergies(m,"fire"),critChance:On.findBonusFromSynergies(m,"stone"),healOnHit:On.findBonusFromSynergies(m,"water")},{chance:e,damage:a,defense:r,remaining_ego:l,total_ego:t,nickname:b}=i,m=l||t;const f=i["team"],v=[];[0,1,2,3,4,5,6].forEach(e=>{e=f.girls[e];e&&e.element&&v.push(e.element)});l=f.theme_elements.map(({type:e})=>e);const y=f.synergies;t=y.every(({team_girls_count:e})=>!e);let _;t&&(_=v.reduce((e,t)=>(e[t]++,e),{fire:0,stone:0,sun:0,water:0,nature:0,darkness:0,light:0,psychic:0}));i={critDamage:On.findBonusFromSynergies(y,"fire",t,_),critChance:On.findBonusFromSynergies(y,"stone",t,_),healOnHit:On.findBonusFromSynergies(y,"water",t,_)},t=On.calculateDominationBonuses(g,l);return{player:{hp:c,dmg:o-r,critchance:On.calculateCritChanceShare(n,e)+t.player.chance+h.critChance,bonuses:{...h,dominance:t.player},theme:g},opponent:{hp:m,dmg:a-s,critchance:On.calculateCritChanceShare(e,n)+t.opponent.chance+i.critChance,name:b,bonuses:{...i,dominance:t.opponent},theme:l}}}display(e){const t=$(`#season-arena .opponents_arena .season_arena_opponent_container.opponent-${this.idOpponent-1}`);let a=t.find(".gridWrapper");a.length||(t.find(".average-lvl").wrap('<div class="gridWrapper"></div>'),a=t.find(".gridWrapper")),a.find(".matchRating").remove();const i=opponents[this.idOpponent-1].rewards["rewards"];var n=i.find(({type:e})=>"victory_points"===e),o=parseInt(n.value),n=e.win*o-(1-e.win)*(40-o),o=15<n?"plus":n<0?"minus":"close";a.append(`<span class="matchRating"><span class="${e.scoreClass}">${vi.nRounding(100*e.win,2,-1)}%</span><br/><span class="${o}">E[<span cur="victory_points"></span>]=${vi.nRounding(n,1,-1)}</span></span>`)}};const Un=class{constructor({label:e}){this.label=e}extract(){var{opponent_fighter:e,hero_data:t}=window,a=e.player,{chance:i,damage:n,defense:o,remaining_ego:s,total_ego:r}=t,l=s||r;const c=t["team"];let p=c.theme_elements,d=c.synergies;p||(p=[],b=On.countElementsInTeam([0,1,2,3,4,5,6].map(e=>c.girls[e].element_data.type)),Object.entries(b).forEach(([e,t])=>{3<=t&&p.push({type:e})})),d=d||JSON.parse($("#leagues_left .hexa .icon-area").attr("synergy-data"));var u=p.map(({type:e})=>e),g=d,m={critDamage:On.findBonusFromSynergies(g,"fire"),critChance:On.findBonusFromSynergies(g,"stone"),healOnHit:On.findBonusFromSynergies(g,"water")},{chance:h,damage:e,defense:s,remaining_ego:r,total_ego:t,nickname:b}=a,g=r||t;const f=a["team"],v=[];[0,1,2,3,4,5,6].forEach(e=>{e=f.girls[e];e&&e.element&&v.push(e.element)});r=f.theme_elements.map(({type:e})=>e);const y=f.synergies;t=y.every(({team_girls_count:e})=>!e);let _;t&&(_=v.reduce((e,t)=>(e[t]++,e),{fire:0,stone:0,sun:0,water:0,nature:0,darkness:0,light:0,psychic:0}));a={critDamage:On.findBonusFromSynergies(y,"fire",t,_),critChance:On.findBonusFromSynergies(y,"stone",t,_),healOnHit:On.findBonusFromSynergies(y,"water",t,_)},t=On.calculateDominationBonuses(u,r);return{player:{hp:l,dmg:n-s,critchance:On.calculateCritChanceShare(i,h)+t.player.chance+m.critChance,bonuses:{...m,dominance:t.player},theme:u},opponent:{hp:g,dmg:e-o,critchance:On.calculateCritChanceShare(h,i)+t.opponent.chance+a.critChance,name:b,bonuses:{...a,dominance:t.opponent},theme:r}}}display(e){const t=$(`<div class="matchRating ${e.scoreClass}">${vi.nRounding(100*e.win,2,-1)}%</div>`);e.impossible&&t.append(`<span class="short-circuit xUncheck_mix_icn" tooltip="${this.label("impossible")}"></span>`),e.guaranteed&&t.append(`<span class="short-circuit vCheck_mix_icn" tooltip="${this.label("guaranteed")}"></span>`),$(".player_team_block.opponent .average-lvl").wrap('<div class="gridWrapper"></div>').after(t)}},Fn="simFight";const qn=class extends V{constructor(){super({baseKey:Fn,label:vi.getModuleLabel("config",Fn),default:!0,subSettings:[{key:"logging",label:vi.getModuleLabel("config",`${Fn}_logging`),default:!1}]}),this.label=vi.getModuleLabel.bind(this,Fn),this.simManagers=[],this.logging=!1}shouldRun(){return["pre-battle","tower-of-fame","season-arena"].some(e=>j.isCurrentPage(e))}run({logging:e}){!this.hasRun&&this.shouldRun()&&(this.logging=e,En.use(),j.defer(()=>{this.injectCSSVars(),j.isCurrentPage("tower-of-fame")?this.simManagers=[new Hn]:j.isCurrentPage("season-arena")?(this.preSim=!0,this.simManagers=[new Bn(1),new Bn(2),new Bn(3)]):j.isCurrentPage("pre-battle")&&(this.preSim=!0,this.simManagers=[new Un({label:this.label})]),this.runManagedSim(),j.isCurrentPage("tower-of-fame")&&new MutationObserver(()=>this.runManagedSim()).observe(document.getElementById("leagues_right"),{childList:!0})}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("mojo-icon-s",`url(${j.getCDNHost()}/pictures/design/ic_mojo_white.svg)`)}runManagedSim(){this.simManagers.forEach(e=>{var{player:t,opponent:a}=e.extract(),{logging:i,preSim:n}=this;const o=new Zn({player:t,opponent:a,logging:i,preSim:n}),s=o.run();if(j.isCurrentPage("tower-of-fame"))e.display(s);else{const r=()=>{setTimeout(function(){$(".average-lvl")?e.display(s):r()},50)};r()}})}};var Qn=a(7073),Wn={};Qn.Z&&Qn.Z.locals&&(Wn.locals=Qn.Z.locals);var Yn,Kn=0,Vn={};Vn.styleTagTransform=Oe(),Vn.setAttributes=u(),Vn.insert=Re().bind(null,"head"),Vn.domAPI=Pe(),Vn.insertStyleElement=je(),Wn.use=function(e){return Vn.options=e||{},Kn++||(Yn=Ee()(Qn.Z,Vn)),Wn},Wn.unuse=function(){0<Kn&&!--Kn&&(Yn(),Yn=null)};const Jn=Wn;const Xn=class{static selectInput({id:e,label:t,options:a,value:i,className:n}){return`
            <div class="form-control ${n}">
                <div class="select-group">
                    <label class="head-group" for="${e}">${t}</label>
                    <select name="${e}" id="${e}" icon="down-arrow">
                        <option value="all" ${"all"===i?'selected="selected"':""}>${vi.getModuleLabel("common","all")}</option>
                        ${a.map(({label:e,value:t})=>`<option value="${t}" ${i===t?'selected="selected"':""}>${e}</option>`).join("")}
                    </select>
                </div>
            </div>
        `}static textInput({id:e,label:t,placeholder:a,value:i}){return`
            <div class="form-control">
                <div class="input-group">
                    <label class="head-group" for="${e}">${t}</label>
                    <input type="text" autocomplete="off" id="${e}" placeholder="${a}" icon="search" value="${i}">
                </div>
            </div>
        `}},eo="teamsFilter";const to=class extends V{constructor(){super({baseKey:eo,label:vi.getModuleLabel("config",eo),default:!0}),this.label=vi.getModuleLabel.bind(this,eo),this.all=vi.getModuleLabel("common","all")}shouldRun(){return["edit-team","add-boss-bang-team"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(Jn.use(),j.defer(()=>{this.injectCSSVars(),this.updateFilterGirlData(),$("h3.panel-title").before('<button id="arena_filter" class="blue_button_L"><span class="filter_mix_icn"></span></button>'),$("h3.panel-title").after(this.createFilterBox()),$("#filter_element").selectric({optionsItemBuilder:e=>{const{element:t,text:a}=e;return t.val().length&&"all"!==t.val()?`<span class="element-icon ${t.val()}_element_icn"></span>${a}`:a},maxHeight:320}),$("#filter_class").selectric({optionsItemBuilder:e=>{const{element:t,text:a}=e;return t.val().length&&"all"!==t.val()?`<span carac="${t.val()}"></span>${a}`:a}}),$("#filter_rarity").selectric({optionsItemBuilder:e=>{const{element:t,text:a}=e;return t.val().length&&"all"!==t.val()?`<span class="${t.val()}-text">${a}</span>`:a}});["aff_category","aff_lvl","blessed_attributes","level_cap"].forEach(e=>$(`#filter_${e}`).selectric()),this.createFilterEvents()}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("filter-icon",`url('${Hi}')`)}updateFilterGirlData(){this.arenaGirls=$(".harem-panel-girls div.harem-girl-container"),this.girlsData=$.map(this.arenaGirls,function(e){return JSON.parse($(e).attr("data-new-girl-tooltip")||$(e).attr("new-girl-tooltip-data"))})}createFilterEvents(){$("#arena_filter").on("click",()=>{var e;void 0!==this.arenaGirls&&void 0!==this.girlsData&&(e=$("#arena_filter_box").css("display"),$("#arena_filter_box").css("display","none"===e?"grid":"none"))});var e=()=>{this.filterGirls()};$("#filter_class").on("change",e),$("#filter_element").on("change",e),$("#filter_rarity").on("change",e),$("#filter_name").get(0).oninput=e,$("#filter_blessed_attributes").on("change",e),$("#filter_aff_category").on("change",e),$("#filter_aff_lvl").on("change",e),$("#filter_level_cap").on("change",e)}filterGirls(){let u=$("#filter_class").get(0).value,g=$("#filter_element").get(0).value,m=$("#filter_rarity").get(0).value;var e=$("#filter_name").get(0).value;let h=new RegExp(e,"i"),b=$("#filter_blessed_attributes").get(0).value,f=$("#filter_aff_category").get(0).value,v=$("#filter_aff_lvl").get(0).value,y=$("#filter_level_cap").get(0).value;const _=window.haremGirls;let a=$.map(this.girlsData,(e,t)=>{var a=e.class===u||"all"===u,i=e["element_data"],n=i.type===g||"all"===g,o=e.rarity===m||"all"===m;const s=e["name"];var r=-1<s.search(h);let l;switch(b){case"blessed_attributes":l=!!e.blessed_attributes;break;case"non_blessed_attributes":l=!e.blessed_attributes;break;case"all":l="all"===b}const c=$(e.graded2);var p=`${c.length}`,d=`${c.filter("g:not(.grey):not(.green)").length}`,i=p===f||"all"===f,p=d===v||"all"===v,d="all"===y||"capped"===y&&_[t].Xp.maxed||"uncapped"===y&&!_[t].Xp.maxed;return a&&n&&o&&r&&l&&i&&p&&d?t:null});$.each(this.arenaGirls,function(e,t){$(t).css("display",-1<$.inArray(e,a)?"flex":"none")}),$(".panel-body").getNiceScroll().resize()}createFilterBox(){var e='<div id="arena_filter_box" class="form-wrapper" style="display: none;">',t=e=>({label:this.label(`grade${e}`),value:e});return e+=Xn.textInput({id:"filter_name",label:this.label("searchedName"),placeholder:this.label("girlName"),value:""}),e+=Xn.selectInput({id:"filter_class",label:this.label("searchedClass"),options:[1,2,3].map(e=>({label:GT.caracs[e],value:e})),className:"script-filter-carac"}),e+=Xn.selectInput({id:"filter_element",label:this.label("searchedElement"),options:["fire","nature","stone","sun","water","darkness","light","psychic"].map(e=>({label:GT.design[`${e}_flavor_element`],value:e})),className:"script-filter-element"}),e+=Xn.selectInput({id:"filter_rarity",label:this.label("searchedRarity"),options:["starting","common","rare","epic","legendary","mythic"].map(e=>({label:GT.design[`girls_rarity_${e}`],value:e})),className:"script-filter-rarity rarity-styling"}),e+=Xn.selectInput({id:"filter_aff_category",label:this.label("searchedAffCategory"),options:["1","3","5","6"].map(t),className:"script-filter-aff-category"}),e+=Xn.selectInput({id:"filter_aff_lvl",label:this.label("searchedAffLevel"),options:["0","1","2","3","4","5","6"].map(t),className:"script-filter-aff-level"}),e+=Xn.selectInput({id:"filter_blessed_attributes",label:this.label("searchedBlessedAttributes"),options:[{value:"blessed_attributes",label:this.label("blessedAttributes")},{value:"non_blessed_attributes",label:this.label("nonBlessedAttributes")}],className:"script-filter-blessing"}),e+=Xn.selectInput({id:"filter_level_cap",label:this.label("levelCap"),options:["capped","uncapped"].map(e=>({label:this.label(`levelCap_${e}`),value:e})),className:"script-filter-level-cap"}),e+="</div>"}};var ao=a(7171),io={};ao.Z&&ao.Z.locals&&(io.locals=ao.Z.locals);var no,oo=0,so={};so.styleTagTransform=Oe(),so.setAttributes=u(),so.insert=Re().bind(null,"head"),so.domAPI=Pe(),so.insertStyleElement=je(),io.use=function(e){return so.options=e||{},oo++||(no=Ee()(ao.Z,so)),io},io.unuse=function(){0<oo&&!--oo&&(no(),no=null)};const ro=io,lo=j["$"],co="champions";const po=class extends V{constructor(){super({baseKey:co,label:vi.getModuleLabel("config",co),default:!0,restriction:{blacklist:["HoH"]},subSettings:[{key:"poseMatching",label:vi.getModuleLabel("config",`${co}_poseMatching`),default:!0},{key:"fixPower",label:vi.getModuleLabel("config",`${co}_fixPower`),default:!0}]}),this.label=vi.getModuleLabel.bind(this,co)}shouldRun(){return["champions/","clubs","club-champion"].some(e=>j.isCurrentPage(e))}run({poseMatching:e,fixPower:t}){!this.hasRun&&this.shouldRun()&&(ro.use(),j.defer(()=>{j.isCurrentPage("clubs")&&this.addChampionInfoOnClubsPage(),(j.isCurrentPage("champions/")||j.isCurrentPage("club-champion"))&&(this.poseMatching({poseMatching:e,fixPower:t}),this.showTicketsWhileResting(),this.fasterSkipButton(),this.showChampionLevel())}),this.hasRun=!0)}addChampionInfoOnClubsPage(){const{club_champion_data:t,members_list:i,server_now_ts:h}=window;if(t&&t.fight.active){const{fight:{participants:n}}=t,e=()=>{const{champion:{bar:e},fight:{start_time:g},timers:{championFight:m}}=t,s=n.length,r=parseInt(e.max);j.doWhenSelectorAvailable(".club-champion-members-challenges .data-list",()=>{const o=lo(".club-champion-members-challenges .data-list"),e=()=>{const e=window["club_champion_participants"];e.forEach(({challenge_impression_done:e},t)=>{var a=parseInt(e),i=a/r,n=(n=i,e=s,Math.round(.6*Math.sqrt(e))+Math.round(100*n)),n=lo(`
                            <div>${vi.nThousand(a)}</div>
                            <div>${vi.nRounding(100*i,2,0)}% / <span class="shard"></span> x ${n}</div>
                        `);o.find(".data-row.body-row").eq(t).children().last().empty().append(n)})};e();const t=new MutationObserver(()=>{e()});t.observe(o[0],{childList:!0})}),lo(".club-details-container #club_champions").prepend(`<div class="script-participant-count">${this.label("participants",{participants:s,members:i.length})}</div>`),j.doWhenSelectorAvailable(".club_champions_bar",()=>{const e=lo(".club_champions_bar");e.attr("style",e.attr("style").replace(",","."))}),j.doWhenSelectorAvailable(".club_champions_timer_fight",()=>{const e=lo(".club_champions_timer_fight");if(e.length&&!lo(".script-round-duration-time").length){const{format_time_short:n,createTimer:o}=window;var i=`<span class="script-round-duration-time">${n(h-g)}</span>`;const s=lo('<div class="dummy-timer-target"></div>');e.append("<br/>").append(`<span class="script-round-duration">${this.label("clubChampDuration",{duration:i})}</span>`).append(s);const r=e.find(".script-round-duration"),l=r.find(".script-round-duration-time"),c=h-g<=3600?3600:86400;let t=c<=m;const p=t?c:m;let a=0;const d=e=>{e=e.time_remaining,e=h-g+(p-e+a);l.text(n(e))},u=()=>{var e;t&&(a+=p,t=c+a<=m,e=t?c:m-a,a-=p-e,o(s,e,{onUpdate:d,onComplete:u}).startTimer())};o(s,p,{onUpdate:d,onComplete:u}).startTimer()}}),j.doWhenSelectorAvailable(".btn_skip_team_cooldown",()=>{lo(".btn_skip_team_cooldown").hide(),lo(".btn_skip_champion_cooldown").length||lo(".challenge_container").show()})};j.doWhenSelectorAvailable(".tabs-switcher#club-tabs",()=>{(()=>{const t=n.map(({id_member:e})=>e),e=i.filter(({id_member:e})=>!t.includes(e));var a=()=>{e.forEach(({id_member:e})=>{lo(`#members .avatar[id-member=${e}]`).parent().addClass("non-participant")})};a(),new MutationObserver(a).observe(document.getElementById("members"),{childList:!0,subtree:!0})})(),lo(".tabs-switcher#club-tabs #club_champions_tab").on("click",()=>{setTimeout(e,10)})})}}poseMatching({poseMatching:r,fixPower:l}){const c=window["championData"],{canDraft:e,champion:t,hero_damage:p}=c;if(e){const i=t["poses"],d=i.map(e=>`${e}`),u=[...d,...d],s=()=>{const s=lo(".champions-middle__girl-selection"),e=c["team"];e.forEach(({id_girl:t,figure:a,damage:e},i)=>{const n=s.find(`[id_girl=${t}]`);if(r){t=d.includes(a),a=u[i]===a;let e=n.find(".script-pose-match");e.length||(e=lo('<span class="script-pose-match"></span>'),n.append(e)),a?(e.addClass("green-tick-icon"),e.removeClass("empty")):t&&(e.addClass("green-tick-icon"),e.addClass("empty"))}if(l){e=e+p;const o=n.find("[carac=damage]");o.text(vi.nRounding(e,1,1)).attr("hh_title",vi.nThousand(e))}})};s(),new MutationObserver(s).observe(lo("#contains_all>section")[0],{childList:!0});var a=e=>{var e=e["teamArray"];window.championData.team=e};j.onAjaxResponse(/action=team_draft/,a),j.onAjaxResponse(/action=champion_team_draft/,a);a=(e,t)=>{if(e.success){const a=new URLSearchParams(t.data),i=a.getAll("team_order[]"),n=c["team"],o=[];i.forEach(t=>{o.push(n.find(({id_girl:e})=>e===t))}),window.championData.team=o,s()}};j.onAjaxResponse(/action=team_reorder/,a),j.onAjaxResponse(/action=champion_team_reorder/,a)}}showTicketsWhileResting(){var e=()=>{var e;lo(".champions-bottom__ticket-amount").length||(e=window["championData"],lo(".champions-bottom__rest").css({width:"280px"}).before(`<div class="champions-bottom__ticket-amount"><span class="ticket_icn"></span>x ${e.champion.currentTickets}</div>`))};e(),new MutationObserver(e).observe(lo("#contains_all>section")[0],{childList:!0})}fasterSkipButton(){j.onAjaxResponse(/class=TeamBattle/i,e=>{const t=new MutationObserver(()=>{lo("button.skip-button").length&&(lo("button.skip-button").click(()=>{lo(".rounds-info__counter .placeholder-num").text(e.battle.length)}),lo("button.skip-button").show(),t.disconnect())});t.observe(lo("#contains_all > section")[0],{childList:!0})})}showChampionLevel(){const{championData:e,GT:t}=window;if(e){var a=e["champion"];if(a){const i=a["level"];if(i){const n=()=>{lo(".champions-top__title").append(`<span class="script-champ-level">(${t.design.Lvl} ${i})</span>`)};if(lo(".champions-top__title").length)n();else{const o=new MutationObserver(()=>{lo(".champions-top__title").length&&(n(),o.disconnect())});o.observe(lo("#contains_all > section")[0],{childList:!0})}}}}}};var uo=a(7520),go={};uo.Z&&uo.Z.locals&&(go.locals=uo.Z.locals);var mo,ho=0,bo={};bo.styleTagTransform=Oe(),bo.setAttributes=u(),bo.insert=Re().bind(null,"head"),bo.domAPI=Pe(),bo.insertStyleElement=je(),go.use=function(e){return bo.options=e||{},ho++||(mo=Ee()(uo.Z,bo)),go},go.unuse=function(){0<ho&&!--ho&&(mo(),mo=null)};const fo=go,vo=()=>{const e=j.getGirlDictionary();if(!e)return 0;let a=0;return e.forEach(e=>{var{shards:t,grade:e}=e;100===t&&1<e&&a++}),a};const yo=new class{get pantheon(){return!j.isPSH()&&!j.isHoH()&&15<=window.Hero.infos.level}get leagues(){return 20<=window.Hero.infos.level}get seasons(){var{Hero:{infos:{questing:{id_quest:e,id_world:t}}}}=window;return 1<t||4<e}get pop(){var{Hero:{infos:{questing:{id_world:e}}}}=window;return!j.isHoH()&&(j.isCxH()||j.isPSH()?2<=e:3<=e)}get champs(){if(j.isHoH())return!1;var{Hero:{infos:{questing:{id_quest:e}}}}=window;return!(j.isCxH()&&e<3060||j.isPSH()&&e<2040||!j.isCxH()&&e<320)&&10<=vo()}get clubs(){return!j.isCxH()&&!j.isHoH()&&15<=vo()}},_o=j["$"],wo="resourceBars",xo={1:"green",.5:"yellow",.2:"red"};const Mo=class extends V{constructor(){super({baseKey:wo,label:vi.getModuleLabel("config",wo),default:!0}),this.label=vi.getModuleLabel.bind(this,wo),this.activeBoosters={}}shouldRun(){return!j.isCurrentPage("messenger")}run(){!this.hasRun&&this.shouldRun()&&(fo.use(),j.defer(()=>{this.injectCSSVars(),this.betterXP(),this.betterMoney(),this.addEnergyBarShortcut(),this.initTooltips(),this.addAdditionalBars(),this.addPoPTimer(),this.addBoosterStatus(),this.overrideGlitter();const e=new MutationObserver(()=>{this.betterXP()});e.observe(_o("[hero=xp]")[0],{childList:!0});const t=new MutationObserver(()=>{this.betterMoney()});t.observe(_o("[hero=soft_currency]")[0],{childList:!0});const{TooltipManager:a,init:i}=window;if(a){const n=a.init.bind(a);a.init=()=>{n(),this.initTooltips()}}else if(window.init){const o=i;window.init=()=>{o(),this.initTooltips()}}}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("challenge-token-icon",`url("${j.getCDNHost()}/pictures/design/league_points.png")`)}initTooltips(){Object.entries({quest:"hudEnergy_mix_icn",fight:"hudBattlePts_mix_icn",kiss:"hudKiss_mix_icn",challenge:"hudChallenge_mix_icn",worship:"hudWorship_mix_icn"}).forEach(([n,e])=>{e=`header .energy_counter .${e}`;_o("body").off("touchstart",e),_o("body").off("touchend",e),_o("body").off("touchcancel",e),_o("body").off("mouseenter",e),_o("body").off("mouseleave",e),Si.initTooltipType(e,()=>{let t;if(Hero.energies[n].amount>=Hero.energies[n].max_regen_amount)t=`<span class="orange">${GT.design.Full}</span>`;else{let e=Hero.c[n].getTotalRemainingTime();var a=Hero.energies[n].seconds_per_point;e>Hero.energies[n].max_regen_amount*a&&(e-=a*(Hero.energies[n].max_amount-Hero.energies[n].max_regen_amount));var i=Math.round((new Date).getTime()/1e3)+e,a=`<span class="orange">${new Date(1e3*i).toLocaleTimeString(vi.getLang(),{hour:"2-digit",minute:"2-digit"})}</span>`,i=`${GT.design.full_in}<span class="orange" rel="timer">${format_time_short(e)}</span>`;t=`${i}<br/>${this.label("fullAt",{time:a})}`}return{title:"",body:t}})})}betterXP(){const e=_o("[rel=xp] .bar-wrapper .over");this.$xpContainer||(this.$xpContainer=_o('<span class="scriptXPContainer"></span>'),e.append(this.$xpContainer));var{level:t,left:a,cur:i,max:n}=Hero.infos.Xp;let o,s=GT.design.Max;t<HH_MAX_LEVEL&&(o=this.label("xp",{xp:vi.nThousand(a)}),s=vi.nThousand(n)),this.$xpContainer.text(`${vi.nThousand(i)} / ${s}${o?` (${o})`:""}`),e.addClass("hideDefault")}betterMoney(){this.$moneyContainer||(this.$moneyContainer=_o('<span class="scriptMoneyContainer" tooltip></span>'),_o("[hero=soft_currency]").after(this.$moneyContainer));var e=Hero.currencies.soft_currency,t=vi.nThousand(e);1e6<=e?(e=vi.nRounding(e,3,0),this.$moneyContainer.text(e).attr("hh_title",t)):this.$moneyContainer.text(_o("[hero=soft_currency]").text()).attr("hh_title",t)}addEnergyBarShortcut(){let e;const t=Hero.infos.questing.current_url;var a=j.lsGet(f.SIDEQUEST_STATUS);e=t.includes("quest")?t:a&&a.energySpendAvailable&&a.continueLink?a.continueLink:a&&a.energySpendAvailable?"/side-quests.html":"/champions-help.html",_o(".energy_counter[type=quest] .bar-wrapper").wrap(`<a href="${e}"></a>`)}addAdditionalBars(){let d=_o("header .energy_counter[type=fight]");[{type:"kiss",feature:"seasons",iconClass:"hudKiss_mix_icn",shortcutLink:"/season-arena.html"},{type:"challenge",feature:"leagues",iconClass:"hudChallenge_mix_icn",shortcutLink:"/tower-of-fame.html"},{type:"worship",feature:"pantheon",iconClass:"hudWorship_mix_icn",shortcutLink:"/pantheon.html"}].forEach(({type:e,feature:t,iconClass:a,shortcutLink:i})=>{if(!yo[t]){var n=_o(`<div class="script-bar-spacer" type="${e}" id="canvas_${e}_energy"></div>`);return d.after(n),void(d=n)}var o,{amount:s,max_regen_amount:r,seconds_per_point:l,next_refresh_ts:c}=Hero.energies[e],n=_o(([{type:o,timeForSinglePoint:t,timeOnLoad:n,iconClass:a,currentVal:i,max:l,shortcutLink:c}]=[{type:e,iconClass:a,shortcutLink:i,currentVal:s,max:r,timeForSinglePoint:l,timeOnLoad:c}],`
        <div class="energy_counter" type="${o}" id="canvas_${o}_energy">
            <div class="energy_counter_bar">
                <div class="energy_counter_icon"><span class="${a}"></span></div>
                <a href="${c}">
                    <div class="bar-wrapper">
                        <div class="bar red" style="width:${100*Math.min(i,l)/l}%"></div>
                        <div class="over">
                            <div class="energy_counter_amount">
                                <span energy>${i}</span>/<span rel="max">${l}</span>
                            </div>
                            <span rel="count_txt" timeforsinglepoint="${t}" ${l<=i?'style="display:none;"':`timeonload="${n}"`}>
                                ${GT.design.more_in} <span rel="count"></span>
                            </span>
                        </div>
                    </div>
                </a>
            </div>
        </div>
    `));if(d.after(n),d=n,s<r){Hero.c||(Hero.c={});const p=`.energy_counter[type="${e}"]`;Hero.c[e]=createEnergyTimer(_o(p)),Hero.c[e].startTimer(),"challenge"!==e||j.isCurrentPage("tower-of-fame")||(window.can_battle_in_leagues=!1)}})}addPoPTimer(){if(yo.pop){var n=j.lsGet(f.TRACKED_TIMES);let e=0,t=1,a;n&&n.pop&&(e=Math.max(n.pop-server_now_ts,0),t=n.popDuration,a=`<span class=&quot;orange&quot;>${new Date(1e3*n.pop).toLocaleTimeString(vi.getLang(),{hour:"2-digit",minute:"2-digit"})}</span>`);n=0<e;let i=100;n&&(i=100*(t-e)/t);const o=_o(`
            <a class="script-pop-timer" href="/activities.html?tab=pop">
                <div class="hh_bar" ${n?`tooltip="${this.label("readyAt",{time:a})}"`:""}>
                    <div class="backbar borderbar">
                        <div class="frontbar ${n?"pinkbar":"bluebar"}" style="width: ${i}%"></div>
                    </div>
                    <div class="text">${n?this.label("popsIn",{time:`<span>${window.format_time_short(e)}</span>`}):this.label("popsReady")}</div>
                </div>
            </a>
        `);_o("header .currency").before(o),0<e&&(n=window.is_mobile_size,window.is_mobile_size=()=>!1,createBarTimer(o,e,t,{onComplete:e=>{e.$bar_parent_element.show(),o.find(".text").text(this.label("popsReady")),o.find(".pinkbar").addClass("bluebar").removeClass("pinkbar"),window.notificationData&&window.notificationData.activities&&(window.notificationData.activities.push("reward"),window.displayNotifications())}}).startTimer(),window.is_mobile_size=n)}}addBoosterStatus(){const t=j.lsGet(f.BOOSTER_STATUS)||{normal:[],mythic:[]},a={normal:4,mythic:5};t.normal=t.normal.filter(({endAt:e})=>e>server_now_ts),Object.keys(t).forEach(e=>{t[e].length<a[e]&&(t[e]=[...t[e],...Array(a[e]-t[e].length).fill({empty:!0})])});const h=_o('<a class="script-booster-status" href="/shop.html?type=player-stats&subtab=booster"><div class="script-boosters normal"></div><div class="script-boosters mythic"></div></a>'),s=e=>{var{empty:t,id_item:a,ico:i,identifier:n,rarity:o,endAt:s}={...e,...e.item};if(t)return _o('<div class="slot empty"></div>');e.expiration=s-server_now_ts;s=new Date(1e3*s).toLocaleTimeString(vi.getLang(),{hour:"2-digit",minute:"2-digit"}).replace(/(\d)/g,e=>`${e}<i></i>`);return _o(`
                <div class="slot ${o}" id_item="${a}" booster-item-tooltip data-d="${JSON.stringify(e).replace(/"/g,"&quot;")}" additional-tooltip-info="${JSON.stringify({additionalText:`<span class="script-tooltip"></span>${this.label("endAt",{time:s})}`}).replace(/"/g,"&quot;")}">
                    <img src="${i||`${j.getCDNHost()}/pictures/items/${n}.png`}"/>
                </div>`)},r=e=>{var{empty:t,id_item:a,ico:i,identifier:n}={...e,...e.item};return t?_o('<div class="slot mythic empty"></div>'):_o(`
                <div class="slot mythic" id_item="${a}" booster-item-tooltip data-d="${JSON.stringify(e).replace(/"/g,"&quot;")}" additional-tooltip-info="${JSON.stringify({additionalText:'<span class="script-tooltip"></span>'}).replace(/"/g,"&quot;")}">
                    <img src="${i||`${j.getCDNHost()}/pictures/items/${n}.png`}"/>
                </div>
            `)},b=(e,l,t)=>{const a=Math.min(e/l,1);var i=2*Math.min(a,.5),n=2*Math.max(a-.5,0);let c="",p="";0<a&&(Object.entries(xo).forEach(([e,t])=>{a<=e&&(c=t)}),a<=.0035&&(p="flashing"));const d=_o(`
                <div class="circular-progress">
                    <div class="circle">
                        <div class="circle-bar left ${p}">
                            <div class="progress ${c}" style="transform: rotate(${180*n}deg)"></div>
                        </div>
                        <div class="circle-bar right ${p}">
                            <div class="progress ${c}" style="transform: rotate(${180*i}deg)"></div>
                        </div>
                        ${t?'<div class="dummy-timer-target" style="display: none;"></div>':""}
                    </div>
                </div>
            `);return t&&createTimer(d.find(".dummy-timer-target"),e,{onComplete:()=>{d.find(".slot").attr("class","slot empty").empty().attr("data-d","").removeAttr("data-d").attr("tooltip-id","").removeAttr("tooltip-id").attr("id_item","").removeAttr("id_item"),d.find(".progress").css("transform","rotate(0deg)")},onUpdate:e=>{var t=e.time_remaining;const a=d.find(".slot");let i=JSON.parse(a.attr("data-d"));i.expiration=t,a.attr("data-d",JSON.stringify(i));const n=_o(".script-booster-status-item");n.length&&d.is(":hover")&&n.find(".item-duration-time").text(format_time_short(t));const o=t/l;e=2*Math.min(o,.5),t=2*Math.max(o-.5,0);0<o&&(Object.entries(xo).forEach(([e,t])=>{o<=e&&(c=t)}),o<=.0035&&(p="flashing")),p&&d.find(".left, .right").addClass(p);const s=d.find(".left .progress"),r=d.find(".right .progress");s.css("transform",`rotate(${180*t}deg)`).attr("class",`progress ${c}`),r.css("transform",`rotate(${180*e}deg)`).attr("class",`progress ${c}`)}}).startTimer(),d},l=(e,t,a)=>{var{empty:i,id_member_booster_equipped:n,usages_remaining:o,endAt:s,item:r}=t,{rarity:l,default_usages:c,duration:r}=r||{};const p=e(t);let d=0,u=1,g=!1;l=i?p.hasClass("mythic"):"mythic"===l;i||(l?(d=o,u=c):(d=s-server_now_ts,u="1440"===r?86400:r,g=!0)),g&&p.on("mouseenter",()=>{if(!p.hasClass("empty")){const t=JSON.parse(p.attr("data-d"));setTimeout(()=>{const e=_o(".script-booster-status-item");e.length&&e.find(".item-duration-time").text(format_time_short(t.expiration))},1)}});const m=b(d,u,g);m.prepend(p),a?h.find(`.circular-progress:has(.empty${l?".mythic":":not(.mythic)"})`).first().replaceWith(m):h.find(`.script-boosters.${l?"mythic":"normal"}`).append(m),!i&&l&&(this.activeBoosters[n]=m)};t.normal.forEach(e=>{l(s,e)}),t.mythic.forEach(e=>{l(r,e)}),_o("header .currency").before(h),_o(document).on("boosters:equipped",(e,{id_item:t,isMythic:a,new_id:i})=>{const n=j.lsGet(f.BOOSTER_STATUS)||{normal:[],mythic:[]};var o=n[a?"mythic":"normal"].find(e=>e.id_item===t&&i&&e.id_member_booster_equipped===i);o?h.find(`.slot.empty${a?".mythic":":not(.mythic)"}`).length?l(a?r:s,o,!0):console.log("somehow equipped a new equip but have no empty slot????"):console.log("can't find data in LS for new booster with id",i,"and itemid",t)}),_o(document).on("boosters:updated-mythic",()=>{const e=j.lsGet(f.BOOSTER_STATUS)||{normal:[],mythic:[]},a={};e.mythic.forEach(e=>a[e.id_member_booster_equipped]=e),Object.entries(this.activeBoosters).forEach(([e,t])=>{var i=a[e];if(i){var{item:{default_usages:n},usages_remaining:e}=i;const o=Math.min(e/n,1);e=2*Math.min(o,.5),n=2*Math.max(o-.5,0);let a="green";0<o&&Object.entries(xo).forEach(([e,t])=>{o<=e&&(a=t)});const s=t.find(".left .progress"),r=t.find(".right .progress");s.css("transform",`rotate(${180*n}deg)`).attr("class",`progress ${a}`),r.css("transform",`rotate(${180*e}deg)`).attr("class",`progress ${a}`);const l=t.find(".slot");l.attr("data-d",JSON.stringify(i)),l.data("d",i)}else t.find(".slot").attr("class","slot mythic empty").empty().attr("data-d","").attr("tooltip-id","").attr("id_item",""),t.find(".progress").css("transform","rotate(0deg)")})}),new MutationObserver(()=>{_o(".hh_tooltip_new:has(.script-tooltip)").addClass("script-booster-status-item")}).observe(document.body,{childList:!0})}overrideGlitter(){const{is_mobile_size:o,star_glitter:s}=window;window.glitter_me=e=>{let t,a,i,n;switch(e){case"soft_currency":n=(i=o()?(t="780px",a="14px",100):(t="800px",a="6px",90),30);break;case"hard_currency":n=(i=o()?(t="780px",a="38px",100):(t="800px",a="20px",90),30);break;case"energy_quest":n=o()?(t="240px",a="10px",i=80,60):(t="150px",a="8px",i=90,40);break;case"energy_battle":n=o()?(t="340px",a="10px",i=80,60):(t="270px",a="8px",i=90,40);break;case"xp":n=(o(),t="0px",a="0px",i=1040,14);break;case"affection":t="680px",a="260px",i=140,n=40;break;case"xp_shop":t="680px",a="240px",i=140,n=40;break;default:return}new s(t,a,i,n)}}};var Co=a(1279),ko={};Co.Z&&Co.Z.locals&&(ko.locals=Co.Z.locals);var Io,Ao=0,To={};To.styleTagTransform=Oe(),To.setAttributes=u(),To.insert=Re().bind(null,"head"),To.domAPI=Pe(),To.insertStyleElement=je(),ko.use=function(e){return To.options=e||{},Ao++||(Io=Ee()(Co.Z,To)),ko},ko.unuse=function(){0<Ao&&!--Ao&&(Io(),Io=null)};const So=ko,Do=j["$"],Lo="homeScreen";const No=class extends V{constructor(){super({baseKey:Lo,label:vi.getModuleLabel("config",Lo),default:!0,subSettings:[{key:"leaguePos",label:vi.getModuleLabel("config",`${Lo}_leaguePos`),default:!1}]}),this.label=vi.getModuleLabel.bind(this,Lo)}shouldRun(){return j.isCurrentPage("home")}run({leaguePos:e}){!this.hasRun&&this.shouldRun()&&(So.use(),j.defer(()=>{this.injectCSSVars(),this.addTimers(),this.addShortcuts(),this.forceActivitiesTab(),this.manageSalaryTimers(),this.addReplyTimer(),e&&this.addLeaguePos()}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("pantheon-icon",'url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjQ4cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjQ4cHgiIGZpbGw9IiNGRkZGRkYiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48Zz48cmVjdCBoZWlnaHQ9IjciIHdpZHRoPSIzIiB4PSI0IiB5PSIxMCIvPjxyZWN0IGhlaWdodD0iNyIgd2lkdGg9IjMiIHg9IjEwLjUiIHk9IjEwIi8+PHJlY3QgaGVpZ2h0PSIzIiB3aWR0aD0iMjAiIHg9IjIiIHk9IjE5Ii8+PHJlY3QgaGVpZ2h0PSI3IiB3aWR0aD0iMyIgeD0iMTciIHk9IjEwIi8+PHBvbHlnb24gcG9pbnRzPSIxMiwxIDIsNiAyLDggMjIsOCAyMiw2Ii8+PC9nPjwvZz48L3N2Zz4=")'),Te.registerVar("champions-icon",`url("${j.getCDNHost()}/design/menu/ic_champions.svg")`)}setNotification(e,t){window.notificationData[e]=t,window.displayNotifications()}addTimers(){var e=j.lsGet(f.MARKET_INFO);e&&(t=e["refreshTime"],t>server_now_ts&&this.attachTimer("shop",t));var t=j.lsGet(f.TRACKED_TIMES);t&&(t.gp&&t.gp>server_now_ts&&this.attachTimer("pachinko",t.gp),t.champ&&t.champ>server_now_ts&&this.attachTimer("sex-god-path",t.champ),j.isInClub()&&t.clubChamp&&t.clubChamp>server_now_ts&&this.attachTimer("clubs",t.clubChamp))}makeLinkSelector(e){return`[rel=${e}] > .notif-position > span`}attachTimer(e,t){if(!Do(`[rel=${e}] .additional-menu-data`).length){var a=this.makeLinkSelector(e);const n=Do('<div class="additional-menu-data"></div>');var i=Do(`<div class="timer-box visible-timer" rel="script-${e}"></div>`);n.append(i),Do(a).append(n),createPageTimers([{dom_element:`script-${e}`,time_remaining:t-server_now_ts}])}}addShortcuts(){var e=(e,t,a,i)=>`<a class="round_blue_button script-home-shortcut script-home-shortcut-${e}" href="${t}" hh_title="${a}"><div class="${i}"></div></a>`;if(j.isInClub()){const i=Do('<div class="script-home-shortcut-container"></div>');i.append(e("club-champ","/club-champion.html",this.label("clubChamp"),"clubChampions_flat_icn"));var t=Do('<div class="quest-container"></div>');Do('a[rel="clubs"]').wrap(t).after(i)}var{champs:a,pantheon:t}=yo;if(a||t){const n=Do('<div class="script-home-shortcut-container"></div>');a&&n.append(e("champs","/champions-map.html",GT.design.Champions,"champions_flat_icn")),t&&n.append(e("pantheon","/pantheon.html",GT.design.pantheon,"pantheon_flat_icn"));e=Do('<div class="quest-container"></div>');Do('a[rel="sex-god-path"]').wrap(e).after(n)}}forceActivitiesTab(){Do("a[rel=activities]").attr("href","/activities.html?tab=missions")}aggregateSalaries(){const{GirlSalaryManager:e,GT:t,format_time_short:a}=window;var i=e["girlsMap"];const n={};let o=0;Object.values(i).forEach(({readyForCollect:e,gData:t})=>{var{salary:a,pay_in:t}=t;e?o+=a:(n[t]||(n[t]=0),n[t]+=a)});const s=Object.keys(n);if(s.length){const r=s.sort((e,t)=>e-t);i=`${10<s.length?"…":""}<table><tbody>${r.slice(0,10).sort((e,t)=>t-e).map(e=>`<tr><td>${t.design.more_in.replace("+1",`+${vi.nThousand(n[e])} <span class="hudSC_mix_icn"></span>`)} </td><td>${a(e)}</td></tr>`).join("")}</tbody></table>`;return{aggregated:n,collectableNow:o,text:i}}}manageSalaryTimers(){const{GirlSalaryManager:t,GT:i}=window;Do("#collect_all").append('<span class="script-event-handler-hack"></span>'),Si.initTooltipType("#collect_all, #collect_all .script-event-handler-hack",()=>{var e=this.aggregateSalaries();if(e){var e=e["text"],e=`<div class="script-salary-summary">${e}</div>`;if(!this.salaryTimerHacked&&t.updateHomepageTimer){const a=t.updateHomepageTimer.bind(t);t.updateHomepageTimer=()=>{const e=Do(".script-salary-summary");var t;return e.length&&((t=this.aggregateSalaries())?(t=t["text"],e.html(t)):e.html(i.design.full)),a()},this.salaryTimerHacked=!0}return{title:"",body:e}}})}addLeaguePos(){const a=Do('<div class="script-league-pos"></div>');Do("[rel=leaderboard]").wrap('<div class="quest-container"></div>').after(a),Do("[rel=leaderboard] .additional-menu-data").length||window.$.ajax({url:"/tower-of-fame.html",success:e=>{let i,n;var t=window.Hero.infos.id;const o=new RegExp(`leagues_list.push\\( ?(?<leaguesListItem>{"id_player":"${t}".*}) ?\\);`),s=/league_tag = (?<leagueTag>[1-9]);/;(new DOMParser).parseFromString(e,"text/html").querySelectorAll('script[type="text/javascript"]').forEach(e=>{const t=e["textContent"];var a;t&&(!t.includes("leagues_list")||(a=t.match(o))&&a.groups&&(i=JSON.parse(a.groups.leaguesListItem)),!t.includes("league_tag")||(a=t.match(s))&&a.groups&&(n=a.groups.leagueTag))}),i&&n&&(e=i["place"],a.append(`<div class="script-league-icon script-league-rank script-league-rank-digits-${`${e}`.length}" style="background-image: url(${j.getCDNHost()}/leagues/${n}.png);">${e}</div>`))}})}addReplyTimer(){const e=Do(".messenger-link");if(e.length){const p=window["Hero"];var{energies:{reply:t}}=p;if(t){var a,i,n,o,{amount:s,max_regen_amount:r,seconds_per_point:l,next_refresh_ts:c}=t,c=j.$(([{type:a,timeForSinglePoint:i,timeOnLoad:n,iconClass:o,currentVal:t,max:l}]=[{type:"reply",iconClass:"messenger_reply_currency_icn",currentVal:s,max:r,timeForSinglePoint:l,timeOnLoad:c}],c=window.GT,`
        <div class="energy_counter" type="${a}" id="canvas_${a}_energy">
            <div class="energy_counter_amount_container">
                <div class="energy_counter_icon"><span class="${o}"></span></div>
                <div class="energy_counter_amount">
                    <span energy>${t}</span>/<span rel="max">${l}</span>
                </div>
            </div>
            <span rel="count_txt" timeforsinglepoint="${i}" ${l<=t?'style="display:none;"':`timeonload="${n}"`}>
                ${c.design.more_in} <span rel="count"></span>
            </span>
        </div>
    `));if(e.append(c),s<r){p.c||(p.c={});p.c.reply=createEnergyTimer(Do('.energy_counter[type="reply"]')),p.c.reply.startTimer()}}}}};var $o=a(6040),jo={};$o.Z&&$o.Z.locals&&(jo.locals=$o.Z.locals);var Eo,zo=0,Po={};Po.styleTagTransform=Oe(),Po.setAttributes=u(),Po.insert=Re().bind(null,"head"),Po.domAPI=Pe(),Po.insertStyleElement=je(),jo.use=function(e){return Po.options=e||{},zo++||(Eo=Ee()($o.Z,Po)),jo},jo.unuse=function(){0<zo&&!--zo&&(Eo(),Eo=null)};const Oo=jo,Ro="popSort",Ho=["13","14","15","7","8","9","4","5","6","16","17","18","22","23","24","19","20","21","10","11","12"];const Go=class extends V{constructor(){super({baseKey:Ro,label:vi.getModuleLabel("config",Ro),default:!0,restriction:{blacklist:["HoH"]}}),this.label=vi.getModuleLabel.bind(this,Ro),this.sortedPopIds=[]}shouldRun(){return j.isCurrentPage("activities")}run(){!this.hasRun&&this.shouldRun()&&(Oo.use(),j.defer(()=>{if(window.pop_data){this.sortPoPs();var e=window["location"];const t=new URLSearchParams(e.search),a=t.get("index");a&&(this.addQuickNav(a),this.displayGirlClasses(a),new MutationObserver(()=>{this.displayGirlClasses(a)}).observe($(".pop_right_part .grid_view")[0],{childList:!0}))}}),this.hasRun=!0)}sortPoPs(){var t,e=window["pop_data"],e=Object.keys(e);const a=(t=e,Ho.filter(e=>t.includes(e)));this.sortedPopIds=a;let i=$('.pop_thumb_container:has([pop_id="3"])');a.forEach(e=>{e=$(`.pop_thumb_container:has([pop_id="${e}"])`);i.after(e),i=e})}addQuickNav(a){if(a){const i=window["pop_data"];const n=[...["1","2","3"].filter(e=>!i[e].locked),...this.sortedPopIds];a=n.indexOf(a);let e=a-1;e<0&&(e+=n.length);let t=a+1;t>=n.length&&(t-=n.length);const o=[{name:"prev",id:n[e]},{name:"next",id:n[t]}],s=$('<div class="pop-quick-nav"></div>');o.forEach(({name:e,id:t})=>{s.append(`<a href="/activities.html?tab=pop&index=${t}" class="back_button"><span class="pop-quick-nav-${e} townForward_flat_icn"></span></a>`)}),$(".pop_right_part").append(s)}}displayGirlClasses(t){if(t){const{pop_data:a,pop_hero_girls:i}=window;const{status:n,girls:o}=a[t];let e=o;"can_start"!==n&&(e=o.filter(({assigned:e})=>e===t));const s=$(".pop_right_part .grid_view");e.forEach(({id_girl:e})=>{var t=i[e]["class"];const a=s.find(`[girl=${e}]`);a.append(`<span class="script-girl-class" carac="${t}"></span>`)})}}};var Zo=a(4059),Bo={};Zo.Z&&Zo.Z.locals&&(Bo.locals=Zo.Z.locals);var Uo,Fo=0,qo={};qo.styleTagTransform=Oe(),qo.setAttributes=u(),qo.insert=Re().bind(null,"head"),qo.domAPI=Pe(),qo.insertStyleElement=je(),Bo.use=function(e){return qo.options=e||{},Fo++||(Uo=Ee()(Zo.Z,qo)),Bo},Bo.unuse=function(){0<Fo&&!--Fo&&(Uo(),Uo=null)};const Qo=Bo,Wo="seasonStats";const Yo=class extends V{constructor(){super({baseKey:Wo,label:vi.getModuleLabel("config",Wo),default:!0}),this.label=vi.getModuleLabel.bind(this,Wo)}shouldRun(){return j.isCurrentPage("season.html")||j.isCurrentPage("season-arena")}run(){!this.hasRun&&this.shouldRun()&&(Qo.use(),j.defer(()=>{var e=j.lsGet(f.SEASON_STATS);if(e){var{fights:t,victories:a,losses:i,won_mojo:n,lost_mojo:e}=e,t=`
            <span class="scriptSeasonStatsTooltip" style="visibility: visible;">
                <table>
                    <tbody>
                        <tr><td>${this.label("fights")} :</td><td>${t}</td></tr>
                        <tr><td>${this.label("victories")} :</td><td>${a}</td></tr>
                        <tr><td>${this.label("defeats")} :</td><td>${i}</td></tr>
                    </tbody>
                </table>
                <hr/>
                <table>
                    <tbody>
                        <tr><td>${this.label("mojoWon")} :</td><td>${n}</td></tr>
                        <tr><td>${this.label("mojoLost")} :</td><td>${e}</td></tr>
                    </tbody>
                </table>
                <hr/>
                <table>
                    <tbody>
                        <tr><td>${this.label("mojoWonAvg")} :</td><td>${vi.nRounding(n/Math.max(a,1),2,-1)}</td></tr>
                        <tr><td>${this.label("mojoLostAvg")} :</td><td>${vi.nRounding(e/Math.max(i,1),2,-1)}</td></tr>
                        <tr><td>${this.label("mojoAvg")} :</td><td>${vi.nRounding((n-e)/Math.max(t,1),2,-1)}</td></tr>
                    </tbody>
                </table>
            </span>
        `.replace(/( {4}|\n)/g,"");const o=$('<span class="scriptSeasonStats">Stats</span>').attr("tooltip",t);j.isCurrentPage("season.html")?$("div#seasons_tab_title").append(o):j.doWhenSelectorAvailable(".battle_hero .player_details",()=>{$(".battle_hero .player_details").append(o)})}}),this.hasRun=!0)}};var Ko=a(6774),Vo={};Ko.Z&&Ko.Z.locals&&(Vo.locals=Ko.Z.locals);var Jo,Xo=0,es={};es.styleTagTransform=Oe(),es.setAttributes=u(),es.insert=Re().bind(null,"head"),es.domAPI=Pe(),es.insertStyleElement=je(),Vo.use=function(e){return es.options=e||{},Xo++||(Jo=Ee()(Ko.Z,es)),Vo},Vo.unuse=function(){0<Xo&&!--Xo&&(Jo(),Jo=null)};const ts=Vo,as="pachinkoNames";const is=class extends V{constructor(){super({baseKey:as,label:vi.getModuleLabel("config",as),default:!0}),this.label=vi.getModuleLabel.bind(this,as)}shouldRun(){return j.isCurrentPage("pachinko")}run(){!this.hasRun&&this.shouldRun()&&(ts.use(),j.defer(()=>{const o=j.getGirlDictionary();this.girlLists={},pachinkoDef.forEach(({type:e,content:t})=>{const a=t&&t.rewards&&t.rewards.girl_shards&&t.rewards.girl_shards.plain_data||[],i=t&&t.girls_pool&&t.girls_pool.girl_shards&&t.girls_pool.girl_shards.plain_data||[];var n=a.map(({id_girl:e})=>({...o.get(`${e}`),id_girl:e})),t=i.map(({id_girl:e})=>({...o.get(`${e}`),id_girl:e}));this.girlLists[e]={girlList:n,girlPool:t}});const e=()=>{const e=new MutationObserver(()=>this.applyPanel());e.observe($(".playing-zone")[0],{attributes:!0}),this.applyPanel()};if($(".playing-zone").length)e();else{const t=new MutationObserver(()=>{$(".playing-zone").length&&(t.disconnect(),e())});t.observe($("#pachinko_whole")[0],{childList:!0})}}),this.hasRun=!0)}applyPanel(){var e=$(".playing-zone").attr("type-panel");const{girlList:t,girlPool:a}=this.girlLists[e],i=j.isCxH(),n=j.isPSH(),o=j.$(`
            <div class="availableGirls rarity-styling">
                <div class="scrollArea">
                    <div class="availableOnly">
                        ${t.length?this.label("availableGirls"):""}
                        ${t.map(e=>e.name?`<${i||n?"span":`a href="${j.getWikiLink(e.name,e.id_girl,vi.getLang())}" target="_blank"`} class="availableGirl ${e.rarity}-text">${e.name.replace(" "," ")}</${i||n?"span":"a"}>`:'<span class="unknownGirl">????</span>').join(", ")}
                    </div>
                    <div class="fullPool">
                        ${a.length?this.label("poolGirls"):""}
                        ${a.map(e=>e.name?`<a href="/harem/${e.id_girl}" class="availableGirl ${e.rarity}-text">${e.name.replace(" "," ")}</a>`:'<span class="unknownGirl">????</span>').join(", ")}
                    </div>
                </div>
            </div>
        `);$(".game-rewards").before(o),o.niceScroll(".scrollArea",{bouncescroll:!1}),o.find(".nicescroll-rails-vr").css("right","5px")}};var ns=a(673),os={};ns.Z&&ns.Z.locals&&(os.locals=ns.Z.locals);var ss,rs=0,ls={};ls.styleTagTransform=Oe(),ls.setAttributes=u(),ls.insert=Re().bind(null,"head"),ls.domAPI=Pe(),ls.insertStyleElement=je(),os.use=function(e){return ls.options=e||{},rs++||(ss=Ee()(ns.Z,ls)),os},os.unuse=function(){0<rs&&!--rs&&(ss(),ss=null)};const cs=os,ps="contestSummary";const ds=class extends V{constructor(){super({baseKey:ps,label:vi.getModuleLabel("config",ps),default:!0}),this.label=vi.getModuleLabel.bind(this,ps)}shouldRun(){return j.isCurrentPage("activities")}run(){!this.hasRun&&this.shouldRun()&&(cs.use(),j.defer(()=>{this.displayRewardSums(),this.displayExpiration();const e=new MutationObserver(e=>{for(const t of e)"childList"===t.type&&(this.displayRewardSums(),this.displayExpiration())});e.observe($(".left_part .scroll_area")[0],{attributes:!1,childList:!0,subtree:!1})}),this.hasRun=!0)}displayRewardSums(){const e=$(".over_bunny.over_panel"),{contests_data:t,buildMultipleSlots:a}=window,i=t.finished;let s={loot:"true",rewards:[],shards:[]};i.forEach(e=>{if($(`.contest[id_contest="${e.id_contest}"]`).length){const{data:t,drops:a}=e.reward;t.rewards&&t.rewards.forEach(n=>{const o=n.type,e=s.rewards.find(e=>{var t=e.type===o,a="gems"!==o||!t||e.gem_type===n.gem_type,i="item"!==o||!t||e.value.item.id_item===n.value.item.id_item,e="armor"!==o||!t||e.display===n.display;return t&&a&&i&&e});if(e)"object"==typeof e.value?e.value.quantity+=parseInt(n.value.quantity)||1:"soft_currency"===o?e.value+=a.hero.soft_currency:e.value+=vi.parseLocaleRoundedInt(n.value.toString());else{let e=JSON.parse(JSON.stringify(n));"object"==typeof n.value?e.value.quantity=parseInt(n.value.quantity)||1:"soft_currency"===o?e.value=a.hero.soft_currency:e.value=vi.parseLocaleRoundedInt(n.value.toString()),s.rewards.push(e)}}),t.shards&&t.shards.forEach(t=>{const e=s.shards.find(e=>e.id_girl==t.id_girl);e?e.value+=t.value:s.shards.push(JSON.parse(JSON.stringify(t)))})}}),s.rewards.forEach(e=>{"soft_currency"===e.type?e.value=vi.nRounding(e.value,0,1):"number"==typeof e.value&&(e.value=vi.nThousand(e.value))});var n=$(`<div class="reward_wrap">${a(s,"xs")}</div>`);this.$rewardsDisplay||(this.$rewardsDisplay=$('<div class="scriptRewardsDisplay"></div>'),e.append(this.$rewardsDisplay)),this.$rewardsDisplay.html(""),this.$rewardsDisplay.append(`<h3>${this.label("totalRewards",{contests:$(".contest .ended").length})}</h3>`),this.$rewardsDisplay.append(n),this.$rewardsDisplay.append(`<br>${this.label("contestsWarning")}`)}displayExpiration(){const{contests_data:o,GT:s,createTimer:r}=window;$(".contest .contest_header.ended").each((e,t)=>{const a=$(t);if(!a.find(".expiration").length){const n=a.parent().attr("id_contest");var i=1810200- -o.finished.find(e=>e.id_contest==n).remaining_time,t=$('<span class="expiration_timer"></span>');a.append($(`<div class="expiration">${s.design.expires_in} </div>`).append(t)),i<=82200&&a.addClass("expiration-soon");r(t,i,{onUpdate:e=>{e.time_remaining<=82200&&a.addClass("expiration-soon")},onComplete:()=>{}}).startTimer()}})}},us="battleEndstate";const gs=class extends V{constructor(){super({baseKey:us,label:vi.getModuleLabel("config",us),default:!0})}shouldRun(){return j.isCurrentPage("battle")&&!j.isCurrentPage("pre-battle")}run(){!this.hasRun&&this.shouldRun()&&(j.onAjaxResponse(/action=do_battles_(leagues|seasons|troll|pantheon|boss_bang)/i,e=>{~location.search.search(/number_of_battles=\d+/i)&&(a=parseInt(location.search.match(/number_of_battles=(\d+)/i)[1],10),$.isNumeric(a)&&(j.isCurrentPage("troll-battle")&&Hero.update("energy_fight",Hero.energies.fight.amount-a,!1),j.isCurrentPage("season-battle")&&Hero.update("energy_kiss",Hero.energies.kiss.amount-a,!1),j.isCurrentPage("league-battle")&&Hero.update("energy_challenge",Hero.energies.challenge.amount-a,!1),j.isCurrentPage("pantheon-battle")&&Hero.update("energy_worship",Hero.energies.worship.amount-a,!1)));var t=e.rounds;const v=$(".new-battle-player .new-battle-hero-ego-value").data("total-ego"),y=$(".new-battle-opponent .new-battle-hero-ego-value").data("total-ego");let _=0,w=0;var a=t.length;if(2<=a){e=[t[a-2],t[a-1]];w=e[1].opponent_hit?e[1].hero_hit?(_=t[a-1].opponent_hit.defender.remaining_ego,t[a-1].hero_hit.defender.remaining_ego):(_=e[1].opponent_hit.defender.remaining_ego,e[0].hero_hit.defender.remaining_ego):(_=e[0].opponent_hit.defender.remaining_ego,e[1].hero_hit.defender.remaining_ego)}else{if(1!==a)throw new Error("incorrect amount of rounds");w=t[0].opponent_hit?t[0].hero_hit?(_=t[0].opponent_hit.defender.remaining_ego,t[0].hero_hit.defender.remaining_ego):(_=t[0].opponent_hit.defender.remaining_ego,y):(_=v,t[0].hero_hit.defender.remaining_ego)}$("#new-battle-skip-btn").on("click",function(){var e=$(".new-battle-player .new-battle-hero-ego-initial-bar"),t=$(".new-battle-player .new-battle-hero-ego-damage-bar");const a=$(".new-battle-player .new-battle-hero-ego-heal-bar");var i=$(".new-battle-opponent .new-battle-hero-ego-initial-bar"),n=$(".new-battle-opponent .new-battle-hero-ego-damage-bar");const o=$(".new-battle-opponent .new-battle-hero-ego-heal-bar"),s=$(".new-battle-player .new-battle-hero-ego-value"),r=$(".new-battle-opponent .new-battle-hero-ego-value"),l=$(".new-battle-opponent .new-battle-hero-damage-taken-text"),c=$(".new-battle-player .new-battle-hero-damage-taken-text"),p=$(".new-battle-hero-container .new-battle-hero-critical-text");l.css("opacity","0"),c.css("opacity","0"),p.css("opacity","0"),a.css("opacity","0"),o.css("opacity","0");var d=s.text().split(GT.ego)[1].replace(/[, ]/g,"");let u=v;$.isNumeric(d)&&(u=parseInt(d));d=r.text().split(GT.ego)[1].replace(/[, ]/g,"");let g=y;$.isNumeric(d)&&(g=parseInt(d));const m=g-w,h=u-_;l.text(m.toString()),c.text(h.toString());const b=_<=0?0:_/v*100,f=w<=0?0:w/y*100;t=[{e:e,p:{width:b.toFixed(2)+"%"},o:{duration:200}},{e:t,p:{width:b.toFixed(2)+"%"},o:{duration:200}},{e:l,p:{opacity:[0,1],translateY:-20,translateZ:0},o:{duration:300,sequenceQueue:!1,complete:function(e){s.text(GT.ego+" "+_.toString()),$(e).velocity({translateY:0},0)}}}],n=[{e:i,p:{width:f.toFixed(2)+"%"},o:{duration:200}},{e:n,p:{width:f.toFixed(2)+"%"},o:{duration:200}},{e:c,p:{opacity:[0,1],translateY:-20,translateZ:0},o:{duration:300,sequenceQueue:!1,complete:function(e){r.text(GT.ego+" "+w.toString()),$(e).velocity({translateY:0},0)}}}];$(".velocity-animating").velocity("stop",!0),setRounds([]),$.Velocity.RunSequence(t),$.Velocity.RunSequence(n)}),$("#new-battle-skip-btn").show()}),this.hasRun=!0)}};var ms=a(8995),hs={};ms.Z&&ms.Z.locals&&(hs.locals=ms.Z.locals);var bs,fs=0,vs={};vs.styleTagTransform=Oe(),vs.setAttributes=u(),vs.insert=Re().bind(null,"head"),vs.domAPI=Pe(),vs.insertStyleElement=je(),hs.use=function(e){return vs.options=e||{},fs++||(bs=Ee()(ms.Z,vs)),hs},hs.unuse=function(){0<fs&&!--fs&&(bs(),bs=null)};const ys=hs,_s="gemStock";const ws=class extends V{constructor(){super({baseKey:_s,label:vi.getModuleLabel("config",_s),default:!0}),this.label=vi.getModuleLabel.bind(this,_s)}shouldRun(){return j.isCurrentPage("harem")&&!j.isCurrentPage("hero")}buildGemsTable(){const e=Object.keys(cn);return`
        <table class="gemStock-table">
            <tbody>
                ${e.map(e=>`
                    <tr>
                        <td><img src="${j.getCDNHost()}/pictures/design/gems/${e}.png"></td>
                        <td>${vi.nThousand(+player_gems_amount[e].amount)}</td>
                    </tr>
                `).join("")}
            </tody>
        </table>
        <table class="gemStock-table">
            <hr>
            <tbody>
                <tr class="sum">
                    <td><img src="${j.getCDNHost()}/pictures/design/gems/all.png"></td>
                    <td>${vi.nThousand(Object.values(player_gems_amount).reduce((e,t)=>+t.amount+e,0))}</td>
                </tr>
            </tbody>
        </table>
    `.replace(/(\n| {4})/g,"")}buildGemsStockElem(){return $('<div class="gemStock" tooltip></div>').attr("tooltip",this.buildGemsTable())}run(){!this.hasRun&&this.shouldRun()&&(ys.use(),j.defer(()=>{this.injectCSSVars();var e=this.buildGemsStockElem();const t=$("#harem_left");t.prepend(e)}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("gem-stock-icon",`url('${j.getCDNHost()}/pictures/design/gems/all.png')`)}},xs="staticBackground";const Ms=class extends V{constructor(){super({baseKey:xs,label:vi.getModuleLabel("config",xs),default:!0})}run(){this.hasRun||(j.defer(()=>{"map"!==$("body[ page ]").attr("page")&&($("#bg_all").replaceWith($("#bg_all").clone()),$("#bg_all > div > img").not($("#bg_all > div > img")[Math.floor(Math.random()*$("#bg_all > div > img").length)]).remove(),$("#bg_all > div > img").css("opacity","1"),$("#bg_all > div > img").css("display","block"))}),this.hasRun=!0)}};var Cs=a(9573),ks={};Cs.Z&&Cs.Z.locals&&(ks.locals=Cs.Z.locals);var Is,As=0,Ts={};Ts.styleTagTransform=Oe(),Ts.setAttributes=u(),Ts.insert=Re().bind(null,"head"),Ts.domAPI=Pe(),Ts.insertStyleElement=je(),ks.use=function(e){return Ts.options=e||{},As++||(Is=Ee()(Cs.Z,Ts)),ks},ks.unuse=function(){0<As&&!--As&&(Is(),Is=null)};const Ss=ks,Ds="rewardShards",Ls=/(?<id>[0-9]+)\/ico[0-9](-[0-9]+x)?.[a-z]+(\?v=[0-9]+)?$/i,Ns=e=>{e=e.match(Ls);if(e&&e.groups){var{groups:{id:e}}=e;return e}},$s=({shards:e,name:t,className:a})=>`<div class="script-shard-count ${a||""}" shards="${e}" name="${t}" shards-tooltip><span class="shard"></span> ${e}</div>`;const js=class extends V{constructor(){super({baseKey:Ds,label:vi.getModuleLabel("config",Ds),default:!0}),this.label=vi.getModuleLabel.bind(this,Ds)}shouldRun(){return["pre-battle","clubs","pachinko","season-arena"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(Ss.use(),j.defer(()=>{j.isCurrentPage("pre-battle")&&j.doWhenSelectorAvailable(".rewards_list",this.displayOnPreBattle),j.isCurrentPage("clubs")&&this.displayOnClubChampion(),j.isCurrentPage("pachinko")&&this.displayOnPachinko(),j.isCurrentPage("season-arena")&&j.doWhenSelectorAvailable(".rewards_list",this.displayOnSeason)}),this.hasRun=!0)}displayOnPreBattle(){const n=j.getGirlDictionary(),e=$(".slot.girl_ico");if(e.length){const t=e=>{const t=e.find(".girl_ico");t.each((e,a)=>{const i=$(a),t=i.find("img");if(t.length){a=t.attr("src"),a=Ns(a);if(a){a=n.get(a);let e,t;a?{name:e,shards:t}=a:t=0,i.append($s({name:e,shards:t}))}}})};$(".slot.girl_ico .girl_ico").length?t(e):new MutationObserver(()=>{$(".slot.girl_ico .girl_ico").length&&t(e)}).observe(e[0],{childList:!0}),new MutationObserver(()=>{$(".rewards_tooltip .girl_ico").length&&t($(".rewards_tooltip"))}).observe(document.body,{childList:!0})}}displayOnClubChampion(){const a=window["club_champion_data"];if(a&&a.reward.shards){const e=()=>{var{previous_value:e,name:t}=a.reward.shards[0];$(".girl-shards-reward-wrapper .slot_girl_shards").append($s({shards:e,name:t}))};j.doWhenSelectorAvailable(".tabs-switcher#club-tabs",()=>{$(".tabs-switcher#club-tabs #club_champions_tab").on("click",()=>{j.doWhenSelectorAvailable(".girl-shards-reward-wrapper .slot_girl_shards",()=>{setTimeout(e,10)})})})}}displayOnPachinko(){new MutationObserver(()=>{$(".rewards_tooltip .girl_ico").length&&(()=>{const n=j.getGirlDictionary();$(".rewards_tooltip .girl_ico").each((e,a)=>{const i=$(a),t=i.find("img");if(t.length){a=t.attr("src"),a=Ns(a);if(a){a=n.get(a);let e,t;a?{name:e,shards:t}=a:t=0,i.append($s({name:e,shards:t}))}}})})()}).observe(document.body,{childList:!0})}displayOnSeason(){const e=()=>{const n=j.getGirlDictionary();$(".rewards_list .slot_girl_shards .girl_ico").each((e,a)=>{const i=$(a),t=i.find("img");if(t.length){a=t.attr("src"),a=Ns(a);if(a){a=n.get(a);let e,t;a?{name:e,shards:t}=a:t=0,i.append($s({name:e,shards:t})),i.parents(".rewards_list").addClass("script-has-girl-reward")}}})};if($(".rewards_list .slot_girl_shards .girl_ico").length)e();else if($(".rewards_list .slot_girl_shards").length){const t=new MutationObserver(()=>{$(".rewards_list .slot_girl_shards .girl_ico").length&&(e(),t.disconnect())});t.observe($(".rewards_list .slot_girl_shards")[0],{childList:!0})}else if($(".rewards_list .girls_reward [data-reward-display]").length){const a=new MutationObserver(()=>{$(".rewards_list .slot_girl_shards .girl_ico").length&&(e(),a.disconnect())});a.observe($(".rewards_list .girls_reward [data-reward-display]")[0],{childList:!0})}}displayOnLeague(){const e=()=>{const a=j.getGirlDictionary(),i=$(".leagues_girl_reward_container .girl_ico");if(i.length){const e=i.find("img");if(e.length){var n=e.attr("src"),n=Ns(n);if(n){n=a.get(n);let e,t;n?{name:e,shards:t}=n:t=0,i.find(".script-shard-count").remove(),i.append($s({name:e,shards:t}))}}}};if($(".leagues_girl_reward_container .girl_ico").length)e();else{const t=new MutationObserver(()=>{$(".leagues_girl_reward_container .girl_ico").length&&(e(),t.disconnect())});t.observe($(".leagues_middle_header")[0],{childList:!0})}$(document).on("girl-dictionary:updated",e)}};var Es=a(5613),zs={};Es.Z&&Es.Z.locals&&(zs.locals=Es.Z.locals);var Ps,Os=0,Rs={};Rs.styleTagTransform=Oe(),Rs.setAttributes=u(),Rs.insert=Re().bind(null,"head"),Rs.domAPI=Pe(),Rs.insertStyleElement=je(),zs.use=function(e){return Rs.options=e||{},Os++||(Ps=Ee()(Es.Z,Rs)),zs},zs.unuse=function(){0<Os&&!--Os&&(Ps(),Ps=null)};const Hs=zs,Gs="leaderboardFix";const Zs=class extends V{constructor(){super({baseKey:Gs,label:vi.getModuleLabel("config",Gs),default:!0}),this.label=vi.getModuleLabel.bind(this,Gs)}shouldRun(){return["season.html","path-of-valor","path-of-glory","pantheon.html"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(Hs.use(),j.defer(()=>{this.fixLeaderboards()}),this.hasRun=!0)}fixLeaderboards(){document.querySelectorAll("#leaderboard_list").forEach(e=>this.fixLeaderboard(e))}fixLeaderboard(e){const t=$(e);var a=t.find(".leaderboard_row").length;if(0!==a)a<=1e3&&(j.isCurrentPage("season.html")?this.fixSeasonLeaderboard(t):(["path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))||j.isCurrentPage("pantheon.html"))&&this.fixPathLeaderboard(t));else{const i=new MutationObserver(()=>{i.disconnect(),this.fixLeaderboard(e)});i.observe(e,{childList:!0})}}fixSeasonLeaderboard(e){const t=window["leaderboard_data"];var a=t.find(({is_hero:e})=>e);a&&(a=e.find(".leaderboard_row").eq(a.rank-1).clone().addClass("script-season-leaderboard-fix"),e.append(a))}fixPathLeaderboard(e){var t=e.find(".leaderboard_row.hero-row").clone().addClass("build-at-bottom");e.append(t)}};var Bs=a(8636),Us={};Bs.Z&&Bs.Z.locals&&(Us.locals=Bs.Z.locals);var Fs,qs=0,Qs={};Qs.styleTagTransform=Oe(),Qs.setAttributes=u(),Qs.insert=Re().bind(null,"head"),Qs.domAPI=Pe(),Qs.insertStyleElement=je(),Us.use=function(e){return Qs.options=e||{},qs++||(Fs=Ee()(Bs.Z,Qs)),Us},Us.unuse=function(){0<qs&&!--qs&&(Fs(),Fs=null)};const Ws=Us,Ys="hideClaimedRewards";const Ks=class extends V{constructor(){super({baseKey:Ys,label:vi.getModuleLabel("config",Ys),default:!0}),this.label=vi.getModuleLabel.bind(this,Ys)}shouldRun(){return["path-of-valor","path-of-glory","season.html","event.html","seasonal"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(Ws.use(),j.defer(()=>{["path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))?this.pov():j.isCurrentPage("season.html")?this.season():j.isCurrentPage("event.html")?(this.poa(),this.dp()):j.isCurrentPage("seasonal")&&this.seasonalEvent()}),this.hasRun=!0)}pov(){j.doWhenSelectorAvailable(".potions-paths-timer",()=>{let t=!1,i=$(".potions-paths-tier:not(.unclaimed):has(.claimed-slot)"),e=$(".potions-paths-tier.unclaimed"),a=i.length,n=e.length;const o=/height: ?(?<existingLength>[0-9.a-z%]+);?/;let s,r;const l=$(".potions-paths-progress-bar .potions-paths-progress-bar-current"),c=l.attr("style"),p=()=>{i=$(".potions-paths-tier:not(.unclaimed):has(.claimed-slot)"),e=$(".potions-paths-tier.unclaimed"),a=i.length,n=e.length,0!==a&&(i.addClass("script-hide-claimed"),t=!0,c&&setTimeout(()=>{var e;s&&(r=s,s.endsWith("px")?(e=parseInt(s),r=Math.round(e-62.4*a)+"px"):s.endsWith("rem")&&(e=parseFloat(s),r=e-3.9*a+"rem")),l.addClass("no-transition"),l.attr("style",c.replace(o,`height:${r};`)),l[0].offsetHeight,l.removeClass("no-transition")},1))};var d;!c||(d=c.match(o))&&d.groups&&(s=d.groups.existingLength),p(),$(".potions-paths-progress-bar-section").stop(!0).animate({scrollTop:Math.max(0,62.4*n-150)},100);const u=new MutationObserver(e=>{if(t){let a=!1;e.forEach(e=>{var t;"attributes"===e.type&&({attributeName:t,target:e}=e,"class"!==t||$(e).hasClass("potions-paths-progress-bar-current")||$(e).hasClass("unclaimed")||i.toArray().includes(e)||(a=!0))}),a&&p()}});u.observe($(".potions-paths-progress-bar-tiers")[0],{attributes:!0,attributeFilter:["class"],subtree:!0}),$(".girl-preview").click(()=>{t?($(".script-hide-claimed").removeClass("script-hide-claimed"),t=!1,c&&(l.addClass("no-transition"),l.attr("style",c.replace(o,`height:${s};`)),l[0].offsetHeight,l.removeClass("no-transition"))):p()})})}season(){let c=!1;const i=()=>{const e=$(".rewards_seasons_row");e.css("width","max-content")},l=e=>{const t=$(".rewards_pair"),{season_tiers:n,season_has_pass:o,season_tier:s}=window;let r=0,l=!1;t.each((e,t)=>{var{free_reward_picked:a,pass_reward_picked:i,tier:e}=n[e];"1"!==a||o&&"1"!==i?parseInt(e)<=s&&r++:($(t).addClass("script-hide-claimed"),l=!0)}),c=l,i();const a=$(".rewards_container_seasons");a.getNiceScroll().resize(),e&&(e=69.6*r,a.getNiceScroll(0).doScrollLeft(Math.max(0,e-600),200))},e=$(".rewards_container_seasons");if(e.length&&e.getNiceScroll(0).doScrollLeft)l(!0);else{const t=new MutationObserver(()=>{const e=$(".rewards_container_seasons");e.length&&e.getNiceScroll(0).doScrollLeft&&(t.disconnect(),l(!0))});t.observe(document.getElementById("seasons_tab_container"),{childList:!0,subtree:!0})}j.onAjaxResponse(/action=season_claim/,(e,t)=>{const a=new URLSearchParams(t.data),i=a.get("key");t=i.match(/(?<type>free|pass)_(?<tier>[0-9]+)/);let n,o;t&&t.groups&&({type:n,tier:o}=t.groups);const s=window["season_tiers"],r=s.find(({tier:e})=>o===e);r&&(r[`${n}_reward_picked`]="1"),c&&l(!1)});$("#girls_holder").click(()=>{c?(()=>{$(".script-hide-claimed").removeClass("script-hide-claimed"),c=!1,i();const e=$(".rewards_container_seasons");e.getNiceScroll().resize()})():l(!1)})}poa(){$('a.active[href*="?tab=path_event_"]').length&&j.doWhenSelectorAvailable(".nc-poa-reward-pair",()=>{const n=window["bonus_rewards_unlocked"],e=()=>{$(".nc-poa-reward-pair").each((e,t)=>{const a=$(t).find(".nc-poa-free-reward"),i=$(t).find(".nc-poa-locked-reward");!a.hasClass("claimed")||!i.hasClass("claimed")&&n||$(t).addClass("script-hide-claimed")})},t=()=>{$(".scroll-area").getNiceScroll().resize()};e(),t();const a=()=>{$(".script-hide-claimed").length?$(".nc-poa-reward-pair").removeClass("script-hide-claimed"):e(),t()};$("#poa-content .girls").click(()=>{a()})})}dp(){$('a.active[href*="?tab=dp_event_"]').length&&!$("#nc-poa-no-participation").length&&j.doWhenSelectorAvailable(".tiers-progression",()=>{let t=!1,i=$(".tier-container:has(.claimed-reward-tick.display-block)"),e=$('.tier-container:has([rel="reward-claim"]:not(.hidden):not([style="display: none;"]))');const a=/width: ?(?<existingLength>[0-9.a-z%]+);?/;let n,o;const s=$(".dp-progress-bar .dp-progress-bar-current"),r=s.attr("style"),l=()=>{i=$(".tier-container:has(.claimed-reward-tick.display-block)"),e=$('.tier-container:has([rel="reward-claim"]:not(.hidden):not([style="display: none;"]))'),0!=i.length&&(i.addClass("script-hide-claimed"),t=!0,r&&setTimeout(()=>{o=e.length?e.last().find(".tier-level")[0].offsetLeft:0,s.addClass("no-transition"),s.attr("style",r.replace(a,`width:${o}px;`)),s[0].offsetHeight,s.removeClass("no-transition")},1))},c=()=>{$(".player-progression-container").getNiceScroll().resize()};var p;!r||(p=r.match(a))&&p.groups&&(n=p.groups.existingLength),l(),c(),$(".player-progression-container").stop(!0).animate({scrollLeft:Math.max(0,o-150)},100);const d=()=>{t?($(".tier-container").removeClass("script-hide-claimed"),t=!1,r&&(s.addClass("no-transition"),s.attr("style",r.replace(a,`width:${n};`)),s[0].offsetHeight,s.removeClass("no-transition"))):l(),c()},u=new MutationObserver(e=>{if(t){let a=!1;e.forEach(e=>{var t;"attributes"===e.type&&({attributeName:t,target:e}=e,"class"!==t||$(e).hasClass("dp-progress-bar-current")||(e=$(e).closest(".tier-container")[0],"none"!=$(e).find('[rel="reward-claim"]').css("display")||i.toArray().includes(e)||(a=!0)))}),a&&l()}});u.observe($(".tiers-progression")[0],{attributes:!0,attributeFilter:["class"],subtree:!0}),$(".right-container").click(()=>{d()})})}seasonalEvent(){j.doWhenSelectorAvailable(".seasonal-timer.timer",()=>{let t=!1,i=$(".seasonal-tier.claimed"),e=$(".seasonal-tier.unclaimed"),a=i.length;const n=/width: ?(?<existingLength>[0-9.a-z%]+);?/,o=$(".seasonal-tier-container").width();let s,r;const l=$(".seasonal-progress-bar .seasonal-progress-bar-current"),c=l.attr("style"),p=()=>{i=$(".seasonal-tier.claimed"),e=$(".seasonal-tier.unclaimed"),a=i.length,0!==a&&(i.addClass("script-hide-claimed"),t=!0,c&&setTimeout(()=>{r=e.length?o*(e.length-.5):0,l.addClass("no-transition"),l.attr("style",c.replace(n,`width:${r}px;`)),l[0].offsetHeight,l.removeClass("no-transition")},1),setTimeout(()=>{$(".seasonal-progress-bar-section").getNiceScroll().resize()},1200))};var d;!c||(d=c.match(n))&&d.groups&&(s=d.groups.existingLength),p(),$(".seasonal-progress-bar-section").stop(!0).animate({scrollLeft:Math.max(0,r-150)},100);const u=new MutationObserver(e=>{if(t){let a=!1;e.forEach(e=>{var t;"attributes"===e.type&&({attributeName:t,target:e}=e,"class"!==t||$(e).hasClass("seasonal-progress-bar-current")||$(e).hasClass("unclaimed")||i.toArray().includes(e)||(a=!0))}),a&&p()}});u.observe($(".seasonal-progress-bar-tiers")[0],{attributes:!0,attributeFilter:["class"],subtree:!0}),$(".girls-reward-container").click(()=>{t?($(".script-hide-claimed").removeClass("script-hide-claimed"),t=!1,c&&(l.addClass("no-transition"),l.attr("style",c.replace(n,`width:${s};`)),l[0].offsetHeight,l.removeClass("no-transition")),setTimeout(()=>{$(".seasonal-progress-bar-section").getNiceScroll().resize()},1200)):p()})})}},Vs="autoRefresh";const Js=class extends V{constructor(){super({baseKey:Vs,label:vi.getModuleLabel("config",Vs),default:!1})}shouldRun(){return!0}run(){!this.hasRun&&this.shouldRun()&&(setTimeout(()=>{window.location.reload()},6e5),this.hasRun=!0)}},Xs=["","begincity","gemskingdom","ninjavillage","invadedkingdom","juysea","admittance","magicforest","hamelintown","plainofrituals","heroesuniversity","ninjasacredlands","splatters","digisekai","stairway","training","weresquidisland","haremtournament"],er=Xs,tr=Xs,ar=["","begincitycxh","heroacademy","newcenabum","ontheprowl","bushexplorations","thespy","hornyknight","suitdown","manmeatofsteel"],ir=["","begincity","fukwell","eurodick","homecumming","biggerintexas","westcock","whenangelscum","suckramento","friskyfresno","milftown"],nr="villainBreadcrumbs",or=(e,t)=>`<a class="back" href="${e}">${t}<span class="mapArrowBack_flat_icn"></span></a>`;const sr=class extends V{constructor(){super({baseKey:nr,label:vi.getModuleLabel("config",nr),default:!0}),this.label=vi.getModuleLabel.bind(this,nr),this.villainLabel=vi.getModuleLabel.bind(this,"villain")}shouldRun(){return j.isCurrentPage("troll-pre-battle")}run(){!this.hasRun&&this.shouldRun()&&(j.defer(()=>{const e=yi[j.getGameKey()];var t=c[j.getGameKey()];const a=new URLSearchParams(window.location.search);var i=a.get("id_opponent");const n=parseInt(i)+1;i=t[n],t=e.find(({world:e})=>e===n);const o=[or("/home.html",this.label("town")),or("/map.html",this.label("adventure")),or(`/world/${n}`,this.label(i)),`<span>${this.villainLabel(t.key)}</span>`];t=o.join("<span>></span>");$("#breadcrumbs").html(t)}),this.hasRun=!0)}},rr={HH:"https://docs.google.com/spreadsheets/d/1kVZxcZZMa82lS4k-IpxTTTELAeaipjR_v1twlqW5vbI",GH:"https://docs.google.com/spreadsheets/d/1TalphvaklgkqsyvjJCunzE2R17kI91qVU85OWzbaMqo",CxH:"https://docs.google.com/spreadsheets/d/1g-5kmvlHhA728yTF7xMdKfWuMe9-SqxW-QDdjc26J6I"};var lr=a(9042),cr={};lr.Z&&lr.Z.locals&&(cr.locals=lr.Z.locals);var pr,dr=0,ur={};ur.styleTagTransform=Oe(),ur.setAttributes=u(),ur.insert=Re().bind(null,"head"),ur.domAPI=Pe(),ur.insertStyleElement=je(),cr.use=function(e){return ur.options=e||{},dr++||(pr=Ee()(lr.Z,ur)),cr},cr.unuse=function(){0<dr&&!--dr&&(pr(),pr=null)};const gr=cr,mr="blessingSpreadsheetLink";const hr=class extends V{constructor(){super({baseKey:mr,label:vi.getModuleLabel("config",mr),default:!0,restriction:{blacklist:["PSH","HoH"]}}),this.label=vi.getModuleLabel.bind(this,mr)}shouldRun(){return!0}run(){!this.hasRun&&this.shouldRun()&&(gr.use(),j.defer(()=>{var e=rr[j.getGameKey()];$("#popup_blessings .blessings_wrapper").append(`<a class="script-blessing-spreadsheet-link" target="_blank" href="${e}"><span class="nav_grid_icn"></span><span>${this.label("name")}</span></a>`)}),this.hasRun=!0)}};var br=a(6871),fr={};br.Z&&br.Z.locals&&(fr.locals=br.Z.locals);var vr,yr=0,_r={};_r.styleTagTransform=Oe(),_r.setAttributes=u(),_r.insert=Re().bind(null,"head"),_r.domAPI=Pe(),_r.insertStyleElement=je(),fr.use=function(e){return _r.options=e||{},yr++||(vr=Ee()(br.Z,_r)),fr},fr.unuse=function(){0<yr&&!--yr&&(vr(),vr=null)};const wr=fr,xr="homeScreenIcons",Mr={map:"/pictures/design/menu/map.svg","sex-god-path":"/design/menu/ic_champions.svg",harem:"/pictures/design/harem.svg",activities:"/design/menu/missions.svg",shop:"/design/menu/shop.svg",pachinko:"/pictures/design/menu/pachinko.svg",leaderboard:"/design/menu/leaderboard.svg",clubs:"/pictures/design/clubs.svg"};const Cr=class extends V{constructor(){super({baseKey:xr,label:vi.getModuleLabel("config",xr),default:!0}),this.label=vi.getModuleLabel.bind(this,xr)}shouldRun(){return j.isCurrentPage("home.html")}run(){!this.hasRun&&this.shouldRun()&&(wr.use(),j.defer(()=>{this.attachIcons()}),this.hasRun=!0)}attachIcons(){Object.entries(Mr).forEach(([e,t])=>{const a=$(`a[rel=${e}] > .notif-position`);a.length&&a.prepend(`<img class="script-home-icon" src="${j.getCDNHost()}${t}"></img>`)})}};var kr=a(3750),Ir={};kr.Z&&kr.Z.locals&&(Ir.locals=kr.Z.locals);var Ar,Tr=0,Sr={};Sr.styleTagTransform=Oe(),Sr.setAttributes=u(),Sr.insert=Re().bind(null,"head"),Sr.domAPI=Pe(),Sr.insertStyleElement=je(),Ir.use=function(e){return Sr.options=e||{},Tr++||(Ar=Ee()(kr.Z,Sr)),Ir},Ir.unuse=function(){0<Tr&&!--Tr&&(Ar(),Ar=null)};const Dr=Ir,Lr="homeScreenOrder",Nr=[{rel:"activities",after:"map"},{rel:"leaderboard",after:"activities"},{rel:"shop",after:"leaderboard"},{rel:"sex-god-path",after:"shop"},{rel:"clubs",after:"sex-god-path"}];const $r=class extends V{constructor(){super({baseKey:Lr,label:vi.getModuleLabel("config",Lr),default:!1}),this.label=vi.getModuleLabel.bind(this,Lr)}shouldRun(){return j.isCurrentPage("home.html")}run(){!this.hasRun&&this.shouldRun()&&(Dr.use(),j.defer(()=>{this.reorderLinks()}),this.hasRun=!0)}getItemForRel(e){return $(`.quest-container:has([rel=${e}]), [rel=${e}]`).eq(0)}reorderLinks(){Nr.forEach(({rel:a,before:i,after:n})=>{a=this.getItemForRel(a);if(a.length){let e,t;n?(e=n,t="after"):i&&(e=i,t="before");const o=this.getItemForRel(e);o.length&&o[t](a)}})}};var jr=a(8488),Er={};jr.Z&&jr.Z.locals&&(Er.locals=jr.Z.locals);var zr,Pr=0,Or={};Or.styleTagTransform=Oe(),Or.setAttributes=u(),Or.insert=Re().bind(null,"head"),Or.domAPI=Pe(),Or.insertStyleElement=je(),Er.use=function(e){return Or.options=e||{},Pr++||(zr=Ee()(jr.Z,Or)),Er},Er.unuse=function(){0<Pr&&!--Pr&&(zr(),zr=null)};const Rr=Er,Hr="homeScreenOldish";const Gr=class extends V{constructor(){super({baseKey:Hr,label:vi.getModuleLabel("config",Hr),default:!1}),this.label=vi.getModuleLabel.bind(this,Hr)}shouldRun(){return j.isCurrentPage("home")}run(){!this.hasRun&&this.shouldRun()&&(Rr.use(),j.defer(()=>{this.prepClasses(),this.wrapPotionPathButtons()}),this.hasRun=!0)}prepClasses(){$(".quest-container:has([rel=map])").addClass("position-quest");let e=$(".quest-container:has([rel=sex-god-path])");e.length||(e=$("[rel=sex-god-path]")),e.addClass("position-sex-god-path");let t=$(".quest-container:has([rel=clubs])");t.length||(t=$("[rel=clubs]"),t.length||(t=$(".feature-locked:has([rel=club])"))),t.addClass("position-clubs");let a=$(".quest-container:has([rel=leaderboard])");a.length||(a=$("[rel=leaderboard]")),a.addClass("position-leaderboard")}wrapPotionPathButtons(){var e=$(".season-pov-container .pov-button");const t=$('<div class="potions-paths-buttons"></div>');$(".season-pov-container").append(t),t.append(e)}};const Zr=class{constructor(e,t,a){this.name=e,this.isConfirm=!0,a(),setTimeout(()=>{window.HHPopupManager.closeLastOpenedPopup()},1)}show(){}open(){}close(){delete window.HHPopupManager.listOpenedPopups[this.name]}},Br="overridePachinkoConfirm";const Ur=class extends V{constructor(){super({baseKey:Br,label:vi.getModuleLabel("config",Br),default:!1}),this.label=vi.getModuleLabel.bind(this,Br)}shouldRun(){return j.isCurrentPage("pachinko")}run(){if(!this.hasRun&&this.shouldRun()){const e=()=>{window.HHPachinkoConfirm?window.HHPachinkoConfirm=Zr:setTimeout(e,100)};e(),this.hasRun=!0}}};var Fr=a(2389),qr={};Fr.Z&&Fr.Z.locals&&(qr.locals=Fr.Z.locals);var Qr,Wr=0,Yr={};Yr.styleTagTransform=Oe(),Yr.setAttributes=u(),Yr.insert=Re().bind(null,"head"),Yr.domAPI=Pe(),Yr.insertStyleElement=je(),qr.use=function(e){return Yr.options=e||{},Wr++||(Qr=Ee()(Fr.Z,Yr)),qr},qr.unuse=function(){0<Wr&&!--Wr&&(Qr(),Qr=null)};const Kr=qr,Vr="sidequestCompletionMarkers";const Jr=class extends V{constructor(){super({baseKey:Vr,label:vi.getModuleLabel("config",Vr),default:!0}),this.label=vi.getModuleLabel.bind(this,Vr)}shouldRun(){return j.isCurrentPage("side-quests")}run(){!this.hasRun&&this.shouldRun()&&(Kr.use(),j.defer(()=>{this.injectCSSVars(),$(".side-quest").has(".Read").addClass("complete")}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("sidequest-tick-icon",`url('${j.getCDNHost()}/clubs/ic_Tick.png')`)}};var Xr=a(7533),el={};Xr.Z&&Xr.Z.locals&&(el.locals=Xr.Z.locals);var tl,al=0,il={};il.styleTagTransform=Oe(),il.setAttributes=u(),il.insert=Re().bind(null,"head"),il.domAPI=Pe(),il.insertStyleElement=je(),el.use=function(e){return il.options=e||{},al++||(tl=Ee()(Xr.Z,il)),el},el.unuse=function(){0<al&&!--al&&(tl(),tl=null)};const nl=el,ol="censorMode";const sl=class extends V{constructor(){super({baseKey:ol,label:vi.getModuleLabel("config",ol),default:!1}),this.label=vi.getModuleLabel.bind(this,ol)}shouldRun(){return!0}run(){!this.hasRun&&this.shouldRun()&&(nl.use(),this.hasRun=!0)}},rl="fixProfilePopup";const ll=class extends V{constructor(){super({baseKey:rl,label:vi.getModuleLabel("config",rl),default:!0}),this.label=vi.getModuleLabel.bind(this,rl)}shouldRun(){return!0}run(){!this.hasRun&&this.shouldRun()&&(j.defer(()=>{this.overrideAPI()}),this.hasRun=!0)}overrideAPI(){const t=window.hero_page_popup;window.hero_page_popup=e=>(e&&!e.page&&(e.page="profile"),t(e))}};var cl=a(4968),pl={};cl.Z&&cl.Z.locals&&(pl.locals=cl.Z.locals);var dl,ul=0,gl={};gl.styleTagTransform=Oe(),gl.setAttributes=u(),gl.insert=Re().bind(null,"head"),gl.domAPI=Pe(),gl.insertStyleElement=je(),pl.use=function(e){return gl.options=e||{},ul++||(dl=Ee()(cl.Z,gl)),pl},pl.unuse=function(){0<ul&&!--ul&&(dl(),dl=null)};const ml=pl,hl="eventEndIndicators",bl={pov:f.PATH_TIME_POV,pog:f.PATH_TIME_POG},fl={pov:"path-of-valor",pog:"path-of-glory"};const vl=class extends V{constructor(){super({baseKey:hl,label:vi.getModuleLabel("config",hl),default:!0}),this.label=vi.getModuleLabel.bind(this,hl)}shouldRun(){return j.isCurrentPage("home")}run(){!this.hasRun&&this.shouldRun()&&(ml.use(),j.defer(()=>{this.annotateEventWidget(),this.annotateSeason(),this.annotatePathEvents()}),this.hasRun=!0)}annotateEventWidget(){const e=$(".event-widget .timer.ongoing, .seasonal-event .timer.ongoing");e.each((e,t)=>{const a=$(t);a.data("seconds-left")<43200&&a.addClass("script-ending-soon")})}annotateSeason(){var e=j.lsGet(f.SEASON_END_TIME),t=window["server_now_ts"];e&&t<e&&e-43200<t&&$(".season-button").addClass("script-ending-soon")}annotatePathEvents(){["pov","pog"].forEach(this.annotatePathEvent)}annotatePathEvent(e){var t=j.lsGet(bl[e]),a=window["server_now_ts"];t&&a<t&&t-43200<a&&$(`.pov-button [rel=${fl[e]}]`).addClass("script-ending-soon")}};var yl=a(3668),_l={};yl.Z&&yl.Z.locals&&(_l.locals=yl.Z.locals);var wl,xl=0,Ml={};Ml.styleTagTransform=Oe(),Ml.setAttributes=u(),Ml.insert=Re().bind(null,"head"),Ml.domAPI=Pe(),Ml.insertStyleElement=je(),_l.use=function(e){return Ml.options=e||{},xl++||(wl=Ee()(yl.Z,Ml)),_l},_l.unuse=function(){0<xl&&!--xl&&(wl(),wl=null)};const Cl=_l,kl=j["$"],Il="haremTeamsFilter";const Al=class extends V{constructor(){super({baseKey:Il,label:vi.getModuleLabel("config",Il),default:!0}),this.label=vi.getModuleLabel.bind(this,Il)}shouldRun(){return j.isCurrentPage("harem")&&!j.isCurrentPage("hero")}run(){!this.hasRun&&this.shouldRun()&&(Cl.use(),j.defer(()=>{this.injectCSSVars(),this.createAndAttach(),this.loadFilter()}),this.hasRun=!0)}injectCSSVars(){Te.registerVar("cross-icon",`url('${j.getCDNHost()}/clubs/ic_xCross.png')`)}loadFilter(){const e=j.lsGet("filters");if(e&&e.team)if(kl(".girls_list > div").length)this.doFilter(e.team);else{const t=new MutationObserver(()=>{kl(".girls_list > div").length&&(this.doFilter(e.team),t.disconnect())});t.observe(kl(".girls_list")[0],{childList:!0})}}createAndAttach(){const e=this.createTeamsButton(),t=this.createTeamsBox();kl("#filtering_girls .reset-filters-container").prepend(e),kl("#harem_whole").append(t),e.click(()=>t.find(".team-selection").toggle());const a=this.doFilter;t.find(".team-slot-container").click(function(){a(kl(this).data("girl-ids")),t.find(".team-selection").css("display","none")}),t.find(".close-team-selection").click(()=>t.find(".team-selection").css("display","none"))}doFilter(e){const{harem:t,hh_show_filtered_girls:a}=window;t.haremFilter.resetFilters(),t.filteredGirlsIds=e.map(e=>+e),t.filteredGirlsList=e.map(e=>t.allGirls[e]);var i=e.reduce((e,t)=>(e[t]={},e),{});a(".girls_list",i),t.resetGirlsList(),t.loadMoreGirlsAfterCurrent(),t.scrollToAndOpenGirl(),j.lsSet("filters",{team:e})}createTeamsButton(){return kl(`<button id="teams-filter" class="blue_button_L">${this.label("team")}</button>`)}createTeamsBox(){var e=j.lsGet(f.TEAMS_DICTIONARY);if(!e)return kl(`
        <div style="position:relative">
            <div class="team-selection" style="display: none;">
                <span class="close-team-selection"></span>
                ${this.label("visitTeams")}
            </div>
        </div>`);const{teamIds:t,teamsDict:a}=e;return kl(`
    <div style="position:relative">
        <div class="team-selection" style="display: none;">
            <span class="close-team-selection"></span>
            <div class="teams-grid-container rarity-background">
                ${t.map(e=>a[e]).map(e=>`
                    <div class="team-slot-container ${e.iconRarity}" data-id-team="${e.teamId}" data-girl-ids='${JSON.stringify(e.girls)}'>
                        <img src="${j.getCDNHost()}/pictures/girls/${e.iconId}/ico${e.iconLevel}.png" />
                        ${e.themeElements?`
                            <div class="theme-icons">
                                ${e.themeElements.map(e=>`<img class="theme-icon" src="${j.getCDNHost()}/pictures/girls_elements/${e}.png"/>`).join("")}
                            </div>
                        `:""}
                    </div>
                `).join("")}
            </div>
        </div>
    </div>
    `)}};var Tl=a(7096),Sl={};Tl.Z&&Tl.Z.locals&&(Sl.locals=Tl.Z.locals);var Dl,Ll=0,Nl={};Nl.styleTagTransform=Oe(),Nl.setAttributes=u(),Nl.insert=Re().bind(null,"head"),Nl.domAPI=Pe(),Nl.insertStyleElement=je(),Sl.use=function(e){return Nl.options=e||{},Ll++||(Dl=Ee()(Tl.Z,Nl)),Sl},Sl.unuse=function(){0<Ll&&!--Ll&&(Dl(),Dl=null)};const $l=Sl,jl="upgradeQuickNav",El=["experience","affection","equipment","teams"];const zl=class extends V{constructor(){super({baseKey:jl,label:vi.getModuleLabel("config",jl),default:!0}),this.label=vi.getModuleLabel.bind(this,jl),this.linkUrls={prev:{},next:{}}}shouldRun(){return j.isCurrentPage("/girl/")}run(){!this.hasRun&&this.shouldRun()&&($l.use(),j.defer(()=>{const n=j.lsGet(f.HAREM_FILTER_IDS);if(n&&!(n.length<2)){const t=j.getGirlDictionary();var e=window.girl.id_girl;let a,i;var o=n.indexOf(e);if(-1<o){let e=o-1;e<0&&(e+=n.length);let t=o+1;t>=n.length&&(t-=n.length),a=n[e],i=n[t]}else a=n[0],i=n[n.length-1];e=t.get(`${a}`),o=t.get(`${i}`);const s=$(".girl-section .girl-avatar");this.$prev=this.buildAvatarHtml(a,e,"prev"),this.$next=this.buildAvatarHtml(i,o,"next"),s.prepend(this.$prev),s.append(this.$next),window.replaceImageSources()}}),j.doWhenSelectorAvailable(".tabs-switcher",()=>{const n=window.initTabSystem;window.initTabSystem=(...e)=>{var t=n(...e),e=window["tab_system_instances"];const a=e["girl-leveler-tabs"]["tabs"],i=a.affection.callback;e=e=>{i(e),this.$prev.attr("href",this.linkUrls.prev[e]),this.$next.attr("href",this.linkUrls.next[e]),this.$prev.attr("resource",e),this.$next.attr("resource",e)};return a.affection.callback=e,a.experience.callback=e,a.equipment.callback=e,a.teams.callback=e,t}}),j.onAjaxResponse(/action=get_teams_for_girl/,e=>{e.success&&(e.teams.length||(this.$prev.addClass("no-teams"),this.$next.addClass("no-teams")))}),this.hasRun=!0)}buildAvatarHtml(t,{pose:e},a){El.forEach(e=>{this.linkUrls[a][e]=`/girl/${t}?resource=${e}`});var i=this.getCurrentResource(),n=`<img class="quicknav-ava" girl-ava-src="${j.getCDNHost()}/pictures/girls/${t}/ava${e}.png"/>`,e=`<img class="quicknav-ico" girl-ico-src="${j.getCDNHost()}/pictures/girls/${t}/ico${e}.png"/>`;return j.$(`<a class="script-quicknav-${a}" resource="${i}" href="${this.linkUrls[a][i]}">${n}${e}</a>`)}getCurrentResource(){let e="experience";if(location.search&&location.search.includes("resource")){const a=new RegExp("resource=(?<resource>[a-z]+)");var t=a.exec(location.search);e=t.groups.resource}return e}};var Pl=a(2891),Ol={};Pl.Z&&Pl.Z.locals&&(Ol.locals=Pl.Z.locals);var Rl,Hl=0,Gl={};Gl.styleTagTransform=Oe(),Gl.setAttributes=u(),Gl.insert=Re().bind(null,"head"),Gl.domAPI=Pe(),Gl.insertStyleElement=je(),Ol.use=function(e){return Gl.options=e||{},Hl++||(Rl=Ee()(Pl.Z,Gl)),Ol},Ol.unuse=function(){0<Hl&&!--Hl&&(Rl(),Rl=null)};const Zl=Ol,Bl="leaderboardClubmateIndicators";const Ul=class extends V{constructor(){super({baseKey:Bl,label:vi.getModuleLabel("config",Bl),default:!0}),this.label=vi.getModuleLabel.bind(this,Bl)}shouldRun(){return["activities","tower-of-fame","pantheon","season.html","path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(Zl.use(),j.defer(()=>{["activities","tower-of-fame"].some(e=>j.isCurrentPage(e))&&this.addClubmateAnnotations()}),$(document).on("leaderboard-annotated",(e,t)=>this.addClubmateAnnotations(t)),$(document).on("league:table-sorted",()=>{this.addClubmateAnnotations()}),this.hasRun=!0)}async addClubmateAnnotations(e){const t=e&&e.selector||"",a=j.lsGet(f.CLUB_STATUS),i=this.getNameColumnSelector();a&&a.memberIds&&a.memberIds.forEach(e=>{e!==`${window.Hero.infos.id}`&&$(`${t} [sorting_id='${e}']`).find(i).append(`<div class="script-flair script-clubmate"><span class="globalClubs_mix_icn" tooltip="${this.label("clubmate")}"/></div>`)})}getNameColumnSelector(){return j.isCurrentPage("activities")?"td:nth-of-type(2)":j.isCurrentPage("tower-of-fame")?".nickname":"> div:nth-of-type(2)"}},Fl="leaderboardProfilePopups";const ql=class extends V{constructor(){super({baseKey:Fl,label:vi.getModuleLabel("config",Fl),default:!0}),this.label=vi.getModuleLabel.bind(this,Fl)}shouldRun(){return["pantheon","season.html","path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(j.defer(()=>{$(document.body).on("click","[sorting_id]",e=>{e=$(e.currentTarget).attr("sorting_id");window.hero_page_popup({id:e})})}),this.hasRun=!0)}};var Ql=a(3774),Wl={};Ql.Z&&Ql.Z.locals&&(Wl.locals=Ql.Z.locals);var Yl,Kl=0,Vl={};Vl.styleTagTransform=Oe(),Vl.setAttributes=u(),Vl.insert=Re().bind(null,"head"),Vl.domAPI=Pe(),Vl.insertStyleElement=je(),Wl.use=function(e){return Vl.options=e||{},Kl++||(Yl=Ee()(Ql.Z,Vl)),Wl},Wl.unuse=function(){0<Kl&&!--Kl&&(Yl(),Yl=null)};const Jl=Wl,Xl="improvedWaifu";const ec=class extends V{constructor(){super({baseKey:Xl,label:vi.getModuleLabel("config",Xl),default:!0}),this.label=vi.getModuleLabel.bind(this,Xl)}shouldRun(){return j.isCurrentPage("home.html")||j.isCurrentPage("waifu.html")}run(){!this.hasRun&&this.shouldRun()&&(Jl.use(),j.defer(()=>{if(j.isCurrentPage("home.html")){const L=window["waifu"];let x=j.lsGet(f.WAIFU_INFO)||{girls:{}},M=x.cycle||!1,C=x.mode||"All",k=this.getIds(x,C),I=x.girl_id||L.id_girl.toString();if(M){let e=I;if(1==k.length)e=k[0];else for(;e==I;)e=k[Math.floor(Math.random()*k.length)];I=e.toString()}x.individual&&(I=L.id_girl.toString(),x.individual=!1),x.girl_id=I,this.saveWaifuInfo(x),x.girls[I]||(x.girls[I]={});let A=x.girls[I];const N=j.getGirlDictionary();let T=N.get(I);if(T){let w=T.graded;if(0<=w){let t=T.grade||w,a=void 0===A.grade?Math.min(L.selected_grade,t,w):A.grade,i=A.fav||!1,e=void 0===x.display?!!parseInt(L.display):x.display,n=$(".eye");j.doWhenSelectorAvailable(".waifu-container",()=>{setTimeout(()=>{0==L.display&&($(".waifu-container").eq(0).append(`<img src="${j.getCDNHost()}/pictures/girls/${I}/ava${a}.png" class="avatar ">`),e&&(n[0].children[0].src=`${j.getCDNHost()}/quest/ic_eyeclosed.svg`,$("#bg_all").addClass("blur-effect"))),n.prop("onclick",null).off("click"),n.click(()=>{$(".waifu-container>img").eq(0).toggleClass("hide"),$(".diamond-bar").eq(0).toggleClass("hide"),$(".waifu-edit").eq(0).toggleClass("hide"),$(".waifu-right").eq(0).toggleClass("hide"),e?(n[0].children[0].src=`${j.getCDNHost()}/quest/ic_eyeopen.svg`,$("#bg_all").removeClass("blur-effect")):(n[0].children[0].src=`${j.getCDNHost()}/quest/ic_eyeclosed.svg`,$("#bg_all").addClass("blur-effect")),e=!e,x.display=e,this.saveWaifuInfo(x)})},50)}),j.doWhenSelectorAvailable(".waifu-container>*",()=>{let e=$(".waifu-container>canvas");0<e.length&&(1==$(".waifu-container").children().length?e.eq(0).replaceWith(`<img src="${j.getCDNHost()}/pictures/girls/${I}/ava${a}.png" class="avatar ">`):e.remove()),a==L.selected_grade&&I==L.girl_id||$(".waifu-container>img").eq(0).attr("src",`${j.getCDNHost()}/pictures/girls/${I}/ava${a}.png`)}),$(".waifu-buttons-container a").remove();let o=$(".waifu-buttons-container").eq(0),s=`<div class="diamond-bar"><div class="girls-name"><a href="/waifu.html">${T.name}</a><a href="/waifu.html"><img src="${j.getCDNHost()}/design/menu/edit.svg"></a></div>`;for(let e=0;e<7;e++)s+=`<div class="diamond${e==a?" selected":""} ${e<=w?"un":""}locked${e>t?" hide":""}"></div>`;s+="</div>",o.append(s);let r=$(`<div class="round_blue_button edit-pose" tooltip hh_title="Edit Pose"><img src="${j.getCDNHost()}/design/menu/edit.svg"></div>`),l=$(`<div class="round_blue_button reset-pose hide" tooltip hh_title="Reset Pose"><img src="${j.getCDNHost()}/clubs/ic_xCross.png"></div>`),c=$(`<div class="round_blue_button save-pose hide" tooltip hh_title="Save Pose"><img src="${j.getCDNHost()}/clubs/ic_Tick.png"></div>`);var S=$('<div class="waifu-edit"></div>').append(r,l,c);o.append(S);let p=$(`
                    <div class="waifu-toggle">
                        <div class="round_blue_button fav-girl${i?" hide":""}" tooltip hh_title="${this.label("favGirl")}">
                            <img src="${j.getCDNHost()}/design/ic_star_white.svg">
                        </div>
                        <div class="round_blue_button unfav-girl${i?"":" hide"}" tooltip hh_title="${this.label("unfavGirl")}">
                            <img src="${j.getCDNHost()}/design/ic_star_orange.svg">
                        </div>
                    </div>
                `),d=$(`
                    <div class="waifu-toggle">
                        <div class="round_blue_button all-mode${"All"==C?"":" hide"}" tooltip hh_title="${this.label("modeAll")}">
                            <img src="${j.getCDNHost()}/pictures/design/harem.svg">
                        </div>
                        <div class="round_blue_button fav-mode${"All"==C?" hide":""}" tooltip hh_title="${this.label("modeFav")}">
                            <img src="${j.getCDNHost()}/pictures/design/clubs/ic_Girls_S.png">
                        </div>
                    </div>
                `),u=$(`
                    <div class="round_blue_button random-waifu" tooltip hh_title="${this.label("randomWaifu")}">
                        <img src="${j.getCDNHost()}/pictures/design/girls.svg">
                    </div>`),g=$(`
                    <div class="waifu-toggle">
                        <div class="round_blue_button cycle-waifu${M?" hide":""}" tooltip hh_title="${this.label("cycleWaifu")}">
                            <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB2aWV3Qm94PSIwIDAgMjAgMjAiIGZpbGw9IiNGRkZGRkYiPg0KICA8Zz4NCiAgICA8cGF0aCBkPSJNNC4wMDQgMTEuMDg0YzAuMDE2IC0yLjI4IC0wLjAzMiAtNC41NjIgMC4wMjUgLTYuODQgMC4wNTkgLTAuODEgMC45ODkgLTEuMzIyIDEuNzA2IC0wLjk0NiA0LjEzIDIuMjM2IDguMjM4IDQuNTE2IDEyLjM0OSA2Ljc4OCAwLjgzMSAwLjQyMyAwLjc1MiAxLjY5OCAtMC4wODkgMi4wNiAtNC4wOTcgMi4yNTMgLTguMTg1IDQuNTI1IC0xMi4yOTkgNi43NDggLTAuNzgzIDAuMzk2IC0xLjcxOCAtMC4yODIgLTEuNjg4IC0xLjEzMiAtMC4wMSAtMi4yMjYgLTAuMDAzIC00LjQ1MiAtMC4wMDQgLTYuNjc4eiIgLz4NCiAgPC9nPg0KPC9zdmc+DQo=">
                        </div>
                        <div class="round_blue_button cycle-pause${M?"":" hide"}" tooltip hh_title="${this.label("cyclePause")}">
                            <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB2aWV3Qm94PSIwIDAgMjAgMjAiIGZpbGw9IiNGRkZGRkYiPg0KICA8Zz4NCiAgICA8cGF0aCBkPSJNOC4xNjggOS45ODFjMCAyLjY3OCAwIDUuMzU2IDAgOC4wMzUgMCAxLjI4OSAtMC41NyAxLjg3MyAtMS44MzEgMS44NzMgLTAuNTg3IDAgLTEuMTc0IDAuMDA2IC0xLjc2IC0wLjAwNCAtMC45MzggLTAuMDE3IC0xLjU2NiAtMC42MjIgLTEuNTY4IC0xLjU1NCAtMC4wMDcgLTUuNTU5IC0wLjAwNyAtMTEuMTE5IDAgLTE2LjY3OCAwLjAwMSAtMC45MDIgMC42MyAtMS41MTcgMS41MjkgLTEuNTMzYTY3LjIxMyA2Ny4yMTMgMCAwIDEgMS45OCAtMC4wMDNjMS4wNDUgMC4wMTMgMS42NDIgMC42MjggMS42NDUgMS43MiAwLjAwNyAyLjcxNSAwLjAwMiA1LjQzIDAuMDAyIDguMTQ1bDE3LjY1OCAweiIgLz4NCiAgICA8cGF0aCBkPSJNMTYuNzc3IDkuOTgxYzAgMi42NzggMCA1LjM1NiAwIDguMDM1IDAgMS4yODkgLTAuNTcgMS44NzMgLTEuODMxIDEuODczIC0wLjU4NyAwIC0xLjE3NCAwLjAwNiAtMS43NiAtMC4wMDQgLTAuOTM4IC0wLjAxNyAtMS41NjYgLTAuNjIyIC0xLjU2OCAtMS41NTQgLTAuMDA3IC01LjU1OSAtMC4wMDcgLTExLjExOSAwIC0xNi42NzggMC4wMDEgLTAuOTAyIDAuNjMgLTEuNTE3IDEuNTI5IC0xLjUzM2E2Ny4yMTMgNjcuMjEzIDAgMCAxIDEuOTggLTAuMDAzYzEuMDQ1IDAuMDEzIDEuNjQyIDAuNjI4IDEuNjQ1IDEuNzIgMC4wMDcgMi43MTUgMC4wMDIgNS40MyAwLjAwMiA4LjE0NWw5LjA1IDB6IiAvPg0KICA8L2c+DQo8L3N2Zz4NCg==">
                        </div>
                    </div>`);S=$('<div class="waifu-right"></div>').append(p,d,u,g);o.append(S),j.doWhenSelectorAvailable(".waifu-container>img",()=>{e||($(".waifu-container>img").eq(0).toggleClass("hide"),$(".diamond-bar").eq(0).toggleClass("hide"),$(".waifu-edit").eq(0).toggleClass("hide"),$(".waifu-right").eq(0).toggleClass("hide"),n[0].children[0].src=`${j.getCDNHost()}/quest/ic_eyeopen.svg`,$("#bg_all").removeClass("blur-effect"))});let m=!1,h=!1,b,f,v;try{b=A.pose[a].scale||1}catch{b=1}try{f=A.pose[a].x||0}catch{f=0}try{v=A.pose[a].y||0}catch{v=0}let y={x:f,y:v},_={x:0,y:0};function D(){$(".waifu-container>img").eq(0).css("transform",`translate(${Math.round(y.x)}px, ${Math.round(y.y)}px) scale(${b})`)}r.click(()=>{$(".waifu-edit div").toggleClass("hide"),m=!0}),c.click(()=>{if($(".waifu-edit div").toggleClass("hide"),m=!1,0!=y.x||0!=y.y||1!=b){A.pose||(A.pose={});let e={};1!=y.x&&(e.x=Math.round(y.x)),1!=y.y&&(e.y=Math.round(y.y)),1!=b&&(e.scale=+b.toFixed(2)),A.pose[a]=e}else A.pose&&delete A.pose[a];this.saveWaifuInfo(x)}),l.click(()=>{$(".waifu-container>img").eq(0).css("transform",""),y={x:0,y:0},_={x:0,y:0},b=1}),j.doWhenSelectorAvailable(".waifu-container>img",()=>{let o=$(".waifu-container>img").eq(0);const s={width:o.width()/2,height:o.height()/2},e=new MutationObserver(()=>{$(".waifu-container>img").eq(0).attr("style").includes("margin-top")&&$(".waifu-container>img").eq(0).css("margin-top","")});e.observe(o[0],{attributes:!0,attributeFilter:["style"]}),D(),o.mousedown(function(e){m&&(e.preventDefault(),_={x:e.clientX-y.x,y:e.clientY-y.y},h=!0)}),o.mouseup(function(e){m&&(e.preventDefault(),h=!1)}),o.mouseleave(function(e){m&&(h=!1)}),o.mousemove(function(e){h&&m&&(y={x:e.clientX-_.x,y:e.clientY-_.y},D())}),o.bind("mousewheel",function(e){if(m){e.preventDefault();var t=o.offset(),a=b;const i=e.clientX-t.left,n=e.clientY-t.top;e.originalEvent.deltaY<0?b+=.1:b=Math.max(b-.05,.1),y={x:y.x-(b/a-1)*(i-s.width*a),y:y.y-(b/a-1)*(n-s.height*a)},D()}})}),$(".diamond").each(e=>{const t=$(".diamond").eq(e);$(t).click(()=>{if(a!=e&&$(t).hasClass("unlocked")){m&&($(".waifu-edit div").toggleClass("hide"),m=!1),$(".diamond.unlocked").eq(a).removeClass("selected"),$(t).addClass("selected"),a=e,$(".waifu-container>img").eq(0).attr("src",`${j.getCDNHost()}/pictures/girls/${I}/ava${e}.png`),_={x:0,y:0};try{b=A.pose[a].scale||1}catch{b=1}try{f=A.pose[a].x||0}catch{f=0}try{v=A.pose[a].y||0}catch{v=0}y={x:f,y:v},D(),A.grade=a,this.saveWaifuInfo(x)}})}),p.click(()=>{i?(p.children().toggleClass("hide"),delete A.fav):(p.children().toggleClass("hide"),A.fav=!0),i=!i,this.saveWaifuInfo(x)}),d.click(()=>{C="All"==C?(d.children().toggleClass("hide"),"Favorite"):(d.children().toggleClass("hide"),"All"),x.mode=C,this.saveWaifuInfo(x)}),g.click(()=>{g.children().toggleClass("hide"),M=!M,x.cycle=M,this.saveWaifuInfo(x)}),u.click(()=>{k=this.getIds(x,C);let e=I;if(1==k.length)e=k[0];else for(;e==I;)e=k[Math.floor(Math.random()*k.length)];if(I=e.toString(),x.girls[I]||(x.girls[I]={}),A=x.girls[I],T=N.get(I),T)if(w=T.graded,0<=w){t=T.grade||w,a=void 0===A.grade?Math.min(t,w):A.grade,i=A.fav||!1,_={x:0,y:0};try{b=A.pose[a].scale||1}catch{b=1}try{f=A.pose[a].x||0}catch{f=0}try{v=A.pose[a].y||0}catch{v=0}y={x:f,y:v},$(".waifu-container>img").eq(0).attr("src",`${j.getCDNHost()}/pictures/girls/${I}/ava${a}.png`),D(),$(".girls-name a").eq(0).text(T.name),$(".diamond").each(function(e){e==a?$(this).addClass("selected"):$(this).removeClass("selected"),e<=w?($(this).addClass("unlocked"),$(this).removeClass("locked")):($(this).addClass("locked"),$(this).removeClass("unlocked")),e>t?$(this).addClass("hide"):$(this).removeClass("hide")}),m&&($(".waifu-edit div").toggleClass("hide"),m=!1),i?(p.find(".fav-girl").addClass("hide"),p.find(".unfav-girl").removeClass("hide")):(p.find(".fav-girl").removeClass("hide"),p.find(".unfav-girl").addClass("hide")),x.girl_id=I,this.saveWaifuInfo(x)}else console.log(this.label("warningUnlockedGrade",{id:I}));else console.log(this.label("warningMaxGrade",{id:I}))})}else console.log(this.label("warningUnlockedGrade",{id:I}))}else console.log(this.label("warningMaxGrade",{id:I}))}else if(j.isCurrentPage("waifu.html")){let o=j.lsGet(f.WAIFU_INFO);if(o){let n=this.getIds(o,"Favorite",!1);$(".harem-girl-container").each(e=>{var t=$(".harem-girl-container").eq(e);let a=$(t).attr("id_girl");e=n.includes(a);$(t).children().last().replaceWith(`<div class="fav-girl" fav=${e}><img src="${j.getCDNHost()}/design/ic_star_${e?"orange":"white"}.svg"></div>`);let i=$(t).children().last();i.click(()=>{var e=!("true"===i.attr("fav"));i.children().attr("src",`${j.getCDNHost()}/design/ic_star_${e?"orange":"white"}.svg`),i.attr("fav",e),e?o.girls[a]?o.girls[a].fav=!0:o.girls[a]={fav:!0}:delete o.girls[a].fav,this.saveWaifuInfo(o)})}),j.onAjaxResponse(/action=waifu_select/i,()=>{o.individual=!0,this.saveWaifuInfo(o)})}}}),this.hasRun=!0)}getIds(e,t,a=!0){const i=j.getGirlDictionary();let n=[];return("Favorite"!=t||(n=Object.entries(e.girls).filter(([,e])=>e.fav).map(([e])=>e),0==n.length&&a))&&i.forEach((e,t)=>{var e=e["shards"];100===e&&"string"==typeof t&&n.push(t)}),n}saveWaifuInfo(e){let t=JSON.parse(JSON.stringify(e));for(var a in t.girls){const i=t.girls[a];i.pose&&(Object.keys(i.pose).length||delete i.pose),Object.keys(i).length||delete t.girls[a]}j.lsSet(f.WAIFU_INFO,t)}},tc="sortDailyMissions";const ac=class extends V{constructor(){super({baseKey:tc,label:vi.getModuleLabel("config",tc),default:!0,subSettings:[{key:"reverse",label:vi.getModuleLabel("config",`${tc}_reverse`),default:!1}]}),this.label=vi.getModuleLabel.bind(this,tc)}shouldRun(){return j.isCurrentPage("activities")}run({reverse:i}){!this.hasRun&&this.shouldRun()&&(j.defer(()=>{const e=$(".mission_object:not(.legendary)").toArray().sort((e,t)=>{e=parseInt(JSON.parse($(e).attr("data-d")).duration),t=parseInt(JSON.parse($(t).attr("data-d")).duration);return i?t-e:e-t}),t=$(".mission_object.legendary");let a=t.length?t.last():$(".mission_object").eq(0);e.forEach(e=>{a.after(e),a=e})}),this.hasRun=!0)}};var ic=a(9255),nc={};ic.Z&&ic.Z.locals&&(nc.locals=ic.Z.locals);var oc,sc=0,rc={};rc.styleTagTransform=Oe(),rc.setAttributes=u(),rc.insert=Re().bind(null,"head"),rc.domAPI=Pe(),rc.insertStyleElement=je(),nc.use=function(e){return rc.options=e||{},sc++||(oc=Ee()(ic.Z,rc)),nc},nc.unuse=function(){0<sc&&!--sc&&(oc(),oc=null)};const lc=nc,cc="upgradeInfo",pc={class:"misc/items_icons",element:"girls_elements",figure:"design/battle_positions"};const dc=class extends V{constructor(){super({baseKey:cc,label:vi.getModuleLabel("config",cc),default:!0}),this.label=vi.getModuleLabel.bind(this,cc)}shouldRun(){return j.isCurrentPage("/girl/")}run(){!this.hasRun&&this.shouldRun()&&(lc.use(),j.defer(()=>{const n=window["girl"];n.blessed_attributes;const e=$(".girl-upper-info"),t=e.children().eq(1);var a=e.children().eq(0),i=$(`<div class="girl_pos"><img src="${j.getCDNHost()}/pictures/design/battle_positions/${n.figure}.png"></div>`);t.after(a),e.append(i);i=$("#equipment .inventory");const o=new MutationObserver(()=>{$(".girl-leveler-panel .slot_girl_armor").each((e,t)=>{const a=$(t);var t=a.data("d")["resonance_bonuses"];if(!a.find(".item_resonances").length&&Object.keys(t).length){let i=$('<div class="item_resonances"></div>');Object.entries(t).forEach(([e,t])=>{var a=n[e]==t.identifier?" matches":"",t=`${j.getCDNHost()}/pictures/${pc[e]}/${"element"==e?cn[t.identifier]:t.identifier}.png`;i.append($(`<div class="resonance_${e}${a}"><img src="${t}"></div>`))}),a.append(i)}})});o.observe(i[0],{childList:!0});const s=$(".girl-resource-section"),r=(t=-1)=>{var a=this.getCurrentResource();if(["experience","affection"].includes(a)){let e=s.find(".script-cur");e.length||(e=$('<span class="script-cur"></span>'),s.find(".top-text>p").eq(0).append(e)),t<0&&(t=("experience"===a?n.Xp:n.Affection).cur),e.text(` ${vi.nThousand(t)}`)}};r();const l=new MutationObserver(()=>{r()});l.observe(s[0],{childList:!0}),j.onAjaxResponse(/action=girl_give_/,(e,t)=>{if(e.success){const a=new URLSearchParams(t.data);e=e[a.get("action").replace("girl_give_","")];r(e)}})}),this.hasRun=!0)}getCurrentResource(){let e="experience";if(location.search&&location.search.includes("resource")){const a=new RegExp("resource=(?<resource>[a-z]+)");var t=a.exec(location.search);e=t.groups.resource}return e}};var He=class extends He{constructor(e){super({group:"st",...e}),this.styles=e.styles}run(){this.shouldRun()&&!this.hasRun&&(this.styles.use(),this.hasRun=!0)}tearDown(){this.styles.unuse(),this.hasRun=!1}},uc=a(4422),gc={};uc.Z&&uc.Z.locals&&(gc.locals=uc.Z.locals);var mc,hc=0,bc={};bc.styleTagTransform=Oe(),bc.setAttributes=u(),bc.insert=Re().bind(null,"head"),bc.domAPI=Pe(),bc.insertStyleElement=je(),gc.use=function(e){return bc.options=e||{},hc++||(mc=Ee()(uc.Z,bc)),gc},gc.unuse=function(){0<hc&&!--hc&&(mc(),mc=null)};const fc=gc,vc="homeScreenRightSideRearrange";const yc=class extends He{constructor(){super({configSchema:{baseKey:vc,label:vi.getModuleLabel("stConfig",vc),default:!0},styles:fc})}shouldRun(){return j.isCurrentPage("home")}};var _c=a(4721),wc={};_c.Z&&_c.Z.locals&&(wc.locals=_c.Z.locals);var xc,Mc=0,Cc={};Cc.styleTagTransform=Oe(),Cc.setAttributes=u(),Cc.insert=Re().bind(null,"head"),Cc.domAPI=Pe(),Cc.insertStyleElement=je(),wc.use=function(e){return Cc.options=e||{},Mc++||(xc=Ee()(_c.Z,Cc)),wc},wc.unuse=function(){0<Mc&&!--Mc&&(xc(),xc=null)};const kc=wc,Ic="contestNotifs";const Ac=class extends He{constructor(){super({configSchema:{baseKey:Ic,label:vi.getModuleLabel("stConfig",Ic),default:!0},styles:kc})}shouldRun(){return!0}};var Tc=a(4247),Sc={};Tc.Z&&Tc.Z.locals&&(Sc.locals=Tc.Z.locals);var Dc,Lc=0,Nc={};Nc.styleTagTransform=Oe(),Nc.setAttributes=u(),Nc.insert=Re().bind(null,"head"),Nc.domAPI=Pe(),Nc.insertStyleElement=je(),Sc.use=function(e){return Nc.options=e||{},Lc++||(Dc=Ee()(Tc.Z,Nc)),Sc},Sc.unuse=function(){0<Lc&&!--Lc&&(Dc(),Dc=null)};const $c=Sc,jc="compactPops";const Ec=class extends He{constructor(){super({configSchema:{baseKey:jc,label:vi.getModuleLabel("stConfig",jc),default:!0},styles:$c})}shouldRun(){return j.isCurrentPage("activities")}run(){super.run(),j.defer(()=>{this.injectCSSVars()})}injectCSSVars(){Te.registerVar("compact-pop-class-icon-hc",`url('${j.getCDNHost()}/pictures/misc/items_icons/1.png')`),Te.registerVar("compact-pop-class-icon-ch",`url('${j.getCDNHost()}/pictures/misc/items_icons/2.png')`),Te.registerVar("compact-pop-class-icon-kh",`url('${j.getCDNHost()}/pictures/misc/items_icons/3.png')`),Te.registerVar("compact-pop-reward-icon-shard",`url('${j.getCDNHost()}/shards.png')`),Te.registerVar("compact-pop-reward-icon-ymen",`url('${j.getCDNHost()}/pictures/design/ic_topbar_soft_currency.png')`),Te.registerVar("compact-pop-reward-icon-koban",`url('${j.getCDNHost()}/pictures/design/ic_topbar_hard_currency.png')`),Te.registerVar("compact-pop-reward-icon-gem",`url('${j.getCDNHost()}/pictures/design/gems/psychic.png')`),Te.registerVar("compact-pop-reward-icon-orb",`url('${j.getCDNHost()}/pachinko/o_e1.png')`),Te.registerVar("compact-pop-reward-icon-booster",`url('${j.getCDNHost()}/pictures/items/B3.png')`),Te.registerVar("compact-pop-reward-icon-ticket",`url('${j.getCDNHost()}/pictures/design/${j.isCxH()?"ic":"champion"}_ticket.png')`),Te.registerVar("compact-pop-reward-icon-gift",`url('${j.getCDNHost()}/pictures/items/K4.png')`)}};var zc=a(1893),Pc={};zc.Z&&zc.Z.locals&&(Pc.locals=zc.Z.locals);var Oc,Rc=0,Hc={};Hc.styleTagTransform=Oe(),Hc.setAttributes=u(),Hc.insert=Re().bind(null,"head"),Hc.domAPI=Pe(),Hc.insertStyleElement=je(),Pc.use=function(e){return Hc.options=e||{},Rc++||(Oc=Ee()(zc.Z,Hc)),Pc},Pc.unuse=function(){0<Rc&&!--Rc&&(Oc(),Oc=null)};const Gc=Pc,Zc="leagueTableCompressed";const Bc=class extends He{constructor(){super({configSchema:{baseKey:Zc,label:vi.getModuleLabel("stConfig",Zc),default:!0},styles:Gc})}shouldRun(){return j.isCurrentPage("tower-of-fame")}};var Uc=a(3418),Fc={};Uc.Z&&Uc.Z.locals&&(Fc.locals=Uc.Z.locals);var qc,Qc=0,Wc={};Wc.styleTagTransform=Oe(),Wc.setAttributes=u(),Wc.insert=Re().bind(null,"head"),Wc.domAPI=Pe(),Wc.insertStyleElement=je(),Fc.use=function(e){return Wc.options=e||{},Qc++||(qc=Ee()(Uc.Z,Wc)),Fc},Fc.unuse=function(){0<Qc&&!--Qc&&(qc(),qc=null)};const Yc=Fc,Kc="leagueTableRowStripes",Vc={HH:"rgba(191,40,90,.25)",GH:"rgba(191,40,90,.25)",CxH:"rgba(36,88,255,.25)"};const Jc=class extends He{constructor(){super({configSchema:{baseKey:Kc,label:vi.getModuleLabel("stConfig",Kc),default:!0},styles:Yc})}shouldRun(){return j.isCurrentPage("tower-of-fame")}run(){super.run(),j.defer(()=>{this.injectCSSVars()})}injectCSSVars(){var e=Vc[j.getGameKey()]||Vc.HH;Te.registerVar("table-row-color",e)}};var Xc=a(2085),ep={};Xc.Z&&Xc.Z.locals&&(ep.locals=Xc.Z.locals);var tp,ap=0,ip={};ip.styleTagTransform=Oe(),ip.setAttributes=u(),ip.insert=Re().bind(null,"head"),ip.domAPI=Pe(),ip.insertStyleElement=je(),ep.use=function(e){return ip.options=e||{},ap++||(tp=Ee()(Xc.Z,ip)),ep},ep.unuse=function(){0<ap&&!--ap&&(tp(),tp=null)};const np=ep,op="compactNav";const sp=class extends He{constructor(){super({configSchema:{baseKey:op,label:vi.getModuleLabel("stConfig",op),default:!0},styles:np})}shouldRun(){return!0}};var rp=a(8637),lp={};rp.Z&&rp.Z.locals&&(lp.locals=rp.Z.locals);var cp,pp=0,dp={};dp.styleTagTransform=Oe(),dp.setAttributes=u(),dp.insert=Re().bind(null,"head"),dp.domAPI=Pe(),dp.insertStyleElement=je(),lp.use=function(e){return dp.options=e||{},pp++||(cp=Ee()(rp.Z,dp)),lp},lp.unuse=function(){0<pp&&!--pp&&(cp(),cp=null)};const up=lp,gp="dailyGoals";const mp=class extends He{constructor(){super({configSchema:{baseKey:gp,label:vi.getModuleLabel("stConfig",gp),default:!0},styles:up})}shouldRun(){return j.isCurrentPage("activities")}};var hp=a(2433),bp={};hp.Z&&hp.Z.locals&&(bp.locals=hp.Z.locals);var fp,vp=0,yp={};yp.styleTagTransform=Oe(),yp.setAttributes=u(),yp.insert=Re().bind(null,"head"),yp.domAPI=Pe(),yp.insertStyleElement=je(),bp.use=function(e){return yp.options=e||{},vp++||(fp=Ee()(hp.Z,yp)),bp},bp.unuse=function(){0<vp&&!--vp&&(fp(),fp=null)};const _p=bp;const wp=class extends He{constructor(){super({configSchema:{baseKey:"missionsBackground",default:!0,label:vi.getModuleLabel("stConfig","missionsBackground")},styles:_p})}shouldRun(){return j.isCurrentPage("activities")}};var xp=a(1110),Mp={};xp.Z&&xp.Z.locals&&(Mp.locals=xp.Z.locals);var Cp,kp=0,Ip={};Ip.styleTagTransform=Oe(),Ip.setAttributes=u(),Ip.insert=Re().bind(null,"head"),Ip.domAPI=Pe(),Ip.insertStyleElement=je(),Mp.use=function(e){return Ip.options=e||{},kp++||(Cp=Ee()(xp.Z,Ip)),Mp},Mp.unuse=function(){0<kp&&!--kp&&(Cp(),Cp=null)};const Ap=Mp,Tp="messengerDarkMode";const Sp=class extends He{constructor(){super({configSchema:{baseKey:Tp,label:vi.getModuleLabel("stConfig",Tp),default:!0},styles:Ap})}shouldRun(){return j.isCurrentPage("messenger")}};var Dp=a(533),Lp={};Dp.Z&&Dp.Z.locals&&(Lp.locals=Dp.Z.locals);var Np,$p=0,jp={};jp.styleTagTransform=Oe(),jp.setAttributes=u(),jp.insert=Re().bind(null,"head"),jp.domAPI=Pe(),jp.insertStyleElement=je(),Lp.use=function(e){return jp.options=e||{},$p++||(Np=Ee()(Dp.Z,jp)),Lp},Lp.unuse=function(){0<$p&&!--$p&&(Np(),Np=null)};const Ep=Lp;var zp=a(590),Pp={};zp.Z&&zp.Z.locals&&(Pp.locals=zp.Z.locals);var Op,Rp=0,Hp={};Hp.styleTagTransform=Oe(),Hp.setAttributes=u(),Hp.insert=Re().bind(null,"head"),Hp.domAPI=Pe(),Hp.insertStyleElement=je(),Pp.use=function(e){return Hp.options=e||{},Rp++||(Op=Ee()(zp.Z,Hp)),Pp},Pp.unuse=function(){0<Rp&&!--Rp&&(Op(),Op=null)};const Gp=Pp,Zp="newButtons";const Bp=class extends He{constructor(){var e={baseKey:Zp,label:vi.getModuleLabel("stConfig",Zp),default:!0};let t;t=j.isCxH()?Gp:Ep,super({configSchema:e,styles:t})}shouldRun(){return!0}run(){super.run(),j.defer(()=>{this.injectCSSVars()})}injectCSSVars(){j.isGH()?(Te.registerVar("button-colors-orange-start","#fdda00"),Te.registerVar("button-colors-orange-end","#bf8d00"),Te.registerVar("button-colors-blue-start","#4bb"),Te.registerVar("button-colors-blue-end","#077"),Te.registerVar("button-colors-purple-start","#e3005b"),Te.registerVar("button-colors-purple-end","#820040"),Te.registerVar("button-colors-purple-shadow","#b2b")):(Te.registerVar("button-colors-orange-start","#f90"),Te.registerVar("button-colors-orange-end","#f70"),Te.registerVar("button-colors-blue-start","#008ed5"),Te.registerVar("button-colors-blue-end","#05719c"),Te.registerVar("button-colors-purple-start","#e3005b"),Te.registerVar("button-colors-purple-end","#820040"),Te.registerVar("button-colors-purple-shadow","#e15"))}};var Up=a(6642),Fp={};Up.Z&&Up.Z.locals&&(Fp.locals=Up.Z.locals);var qp,Qp=0,Wp={};Wp.styleTagTransform=Oe(),Wp.setAttributes=u(),Wp.insert=Re().bind(null,"head"),Wp.domAPI=Pe(),Wp.insertStyleElement=je(),Fp.use=function(e){return Wp.options=e||{},Qp++||(qp=Ee()(Up.Z,Wp)),Fp},Fp.unuse=function(){0<Qp&&!--Qp&&(qp(),qp=null)};const Yp=Fp,Kp="reduceBlur";const Vp=class extends He{constructor(){super({configSchema:{baseKey:Kp,label:vi.getModuleLabel("stConfig",Kp),default:!0},styles:Yp})}shouldRun(){return j.isCurrentPage("home.html")}};var Jp=a(9456),Xp={};Jp.Z&&Jp.Z.locals&&(Xp.locals=Jp.Z.locals);var ed,td=0,ad={};ad.styleTagTransform=Oe(),ad.setAttributes=u(),ad.insert=Re().bind(null,"head"),ad.domAPI=Pe(),ad.insertStyleElement=je(),Xp.use=function(e){return ad.options=e||{},td++||(ed=Ee()(Jp.Z,ad)),Xp},Xp.unuse=function(){0<td&&!--td&&(ed(),ed=null)};const id=Xp,nd="bonusFlowersOverflow";const od=class extends He{constructor(){super({configSchema:{baseKey:nd,label:vi.getModuleLabel("stConfig",nd),default:!0},styles:id})}shouldRun(){return!0}};var sd=a(3402),rd={};sd.Z&&sd.Z.locals&&(rd.locals=sd.Z.locals);var ld,cd=0,pd={};pd.styleTagTransform=Oe(),pd.setAttributes=u(),pd.insert=Re().bind(null,"head"),pd.domAPI=Pe(),pd.insertStyleElement=je(),rd.use=function(e){return pd.options=e||{},cd++||(ld=Ee()(sd.Z,pd)),rd},rd.unuse=function(){0<cd&&!--cd&&(ld(),ld=null)};const dd=rd,ud="bbProgress";const gd=class extends He{constructor(){super({configSchema:{baseKey:ud,label:vi.getModuleLabel("stConfig",ud),default:!0},styles:dd})}shouldRun(){return j.isCurrentPage("event.html")}};var md=a(3599),hd={};md.Z&&md.Z.locals&&(hd.locals=md.Z.locals);var bd,fd=0,vd={};vd.styleTagTransform=Oe(),vd.setAttributes=u(),vd.insert=Re().bind(null,"head"),vd.domAPI=Pe(),vd.insertStyleElement=je(),hd.use=function(e){return vd.options=e||{},fd++||(bd=Ee()(md.Z,vd)),hd},hd.unuse=function(){0<fd&&!--fd&&(bd(),bd=null)};const yd=hd,_d="champGirlOverlap";const wd=class extends He{constructor(){super({configSchema:{baseKey:_d,label:vi.getModuleLabel("stConfig",_d),default:!0},styles:yd})}shouldRun(){return["champions","club-champion"].some(e=>j.isCurrentPage(e))}};var xd=a(7890),Md={};xd.Z&&xd.Z.locals&&(Md.locals=xd.Z.locals);var Cd,kd=0,Id={};Id.styleTagTransform=Oe(),Id.setAttributes=u(),Id.insert=Re().bind(null,"head"),Id.domAPI=Pe(),Id.insertStyleElement=je(),Md.use=function(e){return Id.options=e||{},kd++||(Cd=Ee()(xd.Z,Id)),Md},Md.unuse=function(){0<kd&&!--kd&&(Cd(),Cd=null)};const Ad=Md,Td="champGirlPower";const Sd=class extends He{constructor(){super({configSchema:{baseKey:Td,label:vi.getModuleLabel("stConfig",Td),default:!0},styles:Ad})}shouldRun(){return["champions","club-champion"].some(e=>j.isCurrentPage(e))}};var Dd=a(1058),Ld={};Dd.Z&&Dd.Z.locals&&(Ld.locals=Dd.Z.locals);var Nd,$d=0,jd={};jd.styleTagTransform=Oe(),jd.setAttributes=u(),jd.insert=Re().bind(null,"head"),jd.domAPI=Pe(),jd.insertStyleElement=je(),Ld.use=function(e){return jd.options=e||{},$d++||(Nd=Ee()(Dd.Z,jd)),Ld},Ld.unuse=function(){0<$d&&!--$d&&(Nd(),Nd=null)};const Ed=Ld,zd="contestPointsWidth";const Pd=class extends He{constructor(){super({configSchema:{baseKey:zd,label:vi.getModuleLabel("stConfig",zd),default:!0},styles:Ed})}shouldRun(){return j.isCurrentPage("activities")}};var Od=a(5589),Rd={};Od.Z&&Od.Z.locals&&(Rd.locals=Od.Z.locals);var Hd,Gd=0,Zd={};Zd.styleTagTransform=Oe(),Zd.setAttributes=u(),Zd.insert=Re().bind(null,"head"),Zd.domAPI=Pe(),Zd.insertStyleElement=je(),Rd.use=function(e){return Zd.options=e||{},Gd++||(Hd=Ee()(Od.Z,Zd)),Rd},Rd.unuse=function(){0<Gd&&!--Gd&&(Hd(),Hd=null)};const Bd=Rd,Ud="eventGirlBorders";const Fd=class extends He{constructor(){super({configSchema:{baseKey:Ud,label:vi.getModuleLabel("stConfig",Ud),default:!0},styles:Bd})}shouldRun(){return j.isCurrentPage("event.html")}};var qd=a(535),Qd={};qd.Z&&qd.Z.locals&&(Qd.locals=qd.Z.locals);var Wd,Yd=0,Kd={};Kd.styleTagTransform=Oe(),Kd.setAttributes=u(),Kd.insert=Re().bind(null,"head"),Kd.domAPI=Pe(),Kd.insertStyleElement=je(),Qd.use=function(e){return Kd.options=e||{},Yd++||(Wd=Ee()(qd.Z,Kd)),Qd},Qd.unuse=function(){0<Yd&&!--Yd&&(Wd(),Wd=null)};const Vd=Qd,Jd="eventGirlTicks";const Xd=class extends He{constructor(){super({configSchema:{baseKey:Jd,label:vi.getModuleLabel("stConfig",Jd),default:!0},styles:Vd})}shouldRun(){return j.isCurrentPage("event.html")}run(){super.run(),j.defer(()=>{this.injectCSSVars()})}injectCSSVars(){Te.registerVar("girl-tick-icon",`url('${j.getCDNHost()}/clubs/ic_Tick.png')`)}};var eu=a(9893),tu={};eu.Z&&eu.Z.locals&&(tu.locals=eu.Z.locals);var au,iu=0,nu={};nu.styleTagTransform=Oe(),nu.setAttributes=u(),nu.insert=Re().bind(null,"head"),nu.domAPI=Pe(),nu.insertStyleElement=je(),tu.use=function(e){return nu.options=e||{},iu++||(au=Ee()(eu.Z,nu)),tu},tu.unuse=function(){0<iu&&!--iu&&(au(),au=null)};const ou=tu,su="salaryTimers";const ru=class extends He{constructor(){super({configSchema:{baseKey:su,label:vi.getModuleLabel("stConfig",su),default:!0,restriction:{whitelist:["CxH"]}},styles:ou})}shouldRun(){return j.isCurrentPage("harem")}};var lu=a(930),cu={};lu.Z&&lu.Z.locals&&(cu.locals=lu.Z.locals);var pu,du=0,uu={};uu.styleTagTransform=Oe(),uu.setAttributes=u(),uu.insert=Re().bind(null,"head"),uu.domAPI=Pe(),uu.insertStyleElement=je(),cu.use=function(e){return uu.options=e||{},du++||(pu=Ee()(lu.Z,uu)),cu},cu.unuse=function(){0<du&&!--du&&(pu(),pu=null)};const gu=cu,mu="hideGameLinks";const hu=class extends He{constructor(){super({configSchema:{baseKey:mu,label:vi.getModuleLabel("stConfig",mu),default:!1},styles:gu})}shouldRun(){return j.isCurrentPage("home")}};var bu=a(4527),fu={};bu.Z&&bu.Z.locals&&(fu.locals=bu.Z.locals);var vu,yu=0,_u={};_u.styleTagTransform=Oe(),_u.setAttributes=u(),_u.insert=Re().bind(null,"head"),_u.domAPI=Pe(),_u.insertStyleElement=je(),fu.use=function(e){return _u.options=e||{},yu++||(vu=Ee()(bu.Z,_u)),fu},fu.unuse=function(){0<yu&&!--yu&&(vu(),vu=null)};const wu=fu,xu="hideRotateDevice";const Mu=class extends He{constructor(){super({configSchema:{baseKey:xu,label:vi.getModuleLabel("stConfig",xu),default:!0},styles:wu})}shouldRun(){return!0}};var Cu=a(5580),ku={};Cu.Z&&Cu.Z.locals&&(ku.locals=Cu.Z.locals);var Iu,Au=0,Tu={};Tu.styleTagTransform=Oe(),Tu.setAttributes=u(),Tu.insert=Re().bind(null,"head"),Tu.domAPI=Pe(),Tu.insertStyleElement=je(),ku.use=function(e){return Tu.options=e||{},Au++||(Iu=Ee()(Cu.Z,Tu)),ku},ku.unuse=function(){0<Au&&!--Au&&(Iu(),Iu=null)};const Su=ku,Du="leagueChangeTeamButton";const Lu=class extends He{constructor(){super({configSchema:{baseKey:Du,label:vi.getModuleLabel("stConfig",Du),default:!0},styles:Su})}shouldRun(){return j.isCurrentPage("tower-of-fame")}};var Nu=a(1636),$u={};Nu.Z&&Nu.Z.locals&&($u.locals=Nu.Z.locals);var ju,Eu=0,zu={};zu.styleTagTransform=Oe(),zu.setAttributes=u(),zu.insert=Re().bind(null,"head"),zu.domAPI=Pe(),zu.insertStyleElement=je(),$u.use=function(e){return zu.options=e||{},Eu++||(ju=Ee()(Nu.Z,zu)),$u},$u.unuse=function(){0<Eu&&!--Eu&&(ju(),ju=null)};const Pu=$u,Ou="leagueTableShadow";const Ru=class extends He{constructor(){super({configSchema:{baseKey:Ou,label:vi.getModuleLabel("stConfig",Ou),default:!0},styles:Pu})}shouldRun(){return j.isCurrentPage("tower-of-fame")}};var Hu=a(6255),Gu={};Hu.Z&&Hu.Z.locals&&(Gu.locals=Hu.Z.locals);var Zu,Bu=0,Uu={};Uu.styleTagTransform=Oe(),Uu.setAttributes=u(),Uu.insert=Re().bind(null,"head"),Uu.domAPI=Pe(),Uu.insertStyleElement=je(),Gu.use=function(e){return Uu.options=e||{},Bu++||(Zu=Ee()(Hu.Z,Uu)),Gu},Gu.unuse=function(){0<Bu&&!--Bu&&(Zu(),Zu=null)};const Fu=Gu,qu="mobileBattle";const Qu=class extends He{constructor(){super({configSchema:{baseKey:qu,label:vi.getModuleLabel("stConfig",qu),default:!0},styles:Fu}),this.label=vi.getModuleLabel.bind(this,qu)}shouldRun(){return j.isCurrentPage("battle")}};var Wu=a(2738),Yu={};Wu.Z&&Wu.Z.locals&&(Yu.locals=Wu.Z.locals);var Ku,Vu=0,Ju={};Ju.styleTagTransform=Oe(),Ju.setAttributes=u(),Ju.insert=Re().bind(null,"head"),Ju.domAPI=Pe(),Ju.insertStyleElement=je(),Yu.use=function(e){return Ju.options=e||{},Vu++||(Ku=Ee()(Wu.Z,Ju)),Yu},Yu.unuse=function(){0<Vu&&!--Vu&&(Ku(),Ku=null)};const Xu=Yu,eg="darkMobileLeague";const tg=class extends He{constructor(){super({configSchema:{baseKey:eg,label:vi.getModuleLabel("stConfig",eg),default:!0},styles:Xu})}shouldRun(){return j.isCurrentPage("tower-of-fame")}};var ag=a(8348),ig={};ag.Z&&ag.Z.locals&&(ig.locals=ag.Z.locals);var ng,og=0,sg={};sg.styleTagTransform=Oe(),sg.setAttributes=u(),sg.insert=Re().bind(null,"head"),sg.domAPI=Pe(),sg.insertStyleElement=je(),ig.use=function(e){return sg.options=e||{},og++||(ng=Ee()(ag.Z,sg)),ig},ig.unuse=function(){0<og&&!--og&&(ng(),ng=null)};const rg=ig;const lg=class extends He{constructor(){super({configSchema:{baseKey:"collectMoneyAnimation",default:!0,label:vi.getModuleLabel("stConfig","collectMoneyAnimation")},styles:rg})}shouldRun(){return j.isCurrentPage("harem")}};var cg=a(44),pg={};cg.Z&&cg.Z.locals&&(pg.locals=cg.Z.locals);var dg,ug=0,gg={};gg.styleTagTransform=Oe(),gg.setAttributes=u(),gg.insert=Re().bind(null,"head"),gg.domAPI=Pe(),gg.insertStyleElement=je(),pg.use=function(e){return gg.options=e||{},ug++||(dg=Ee()(cg.Z,gg)),pg},pg.unuse=function(){0<ug&&!--ug&&(dg(),dg=null)};const mg=pg,hg="monthlyCardText";const bg=class extends He{constructor(){super({configSchema:{baseKey:hg,label:vi.getModuleLabel("stConfig",hg),default:!0},styles:mg})}shouldRun(){return!0}};var fg=a(4136),vg={};fg.Z&&fg.Z.locals&&(vg.locals=fg.Z.locals);var yg,_g=0,wg={};wg.styleTagTransform=Oe(),wg.setAttributes=u(),wg.insert=Re().bind(null,"head"),wg.domAPI=Pe(),wg.insertStyleElement=je(),vg.use=function(e){return wg.options=e||{},_g++||(yg=Ee()(fg.Z,wg)),vg},vg.unuse=function(){0<_g&&!--_g&&(yg(),yg=null)};const xg=vg,Mg="moveSkipButton";const Cg=class extends He{constructor(){super({configSchema:{baseKey:Mg,label:vi.getModuleLabel("stConfig",Mg),default:!0},styles:xg})}shouldRun(){return!0}};var kg=a(6591),Ig={};kg.Z&&kg.Z.locals&&(Ig.locals=kg.Z.locals);var Ag,Tg=0,Sg={};Sg.styleTagTransform=Oe(),Sg.setAttributes=u(),Sg.insert=Re().bind(null,"head"),Sg.domAPI=Pe(),Sg.insertStyleElement=je(),Ig.use=function(e){return Sg.options=e||{},Tg++||(Ag=Ee()(kg.Z,Sg)),Ig},Ig.unuse=function(){0<Tg&&!--Tg&&(Ag(),Ag=null)};const Dg=Ig,Lg="poaBorders";const Ng=class extends He{constructor(){super({configSchema:{baseKey:Lg,label:vi.getModuleLabel("stConfig",Lg),default:!0},styles:Dg})}shouldRun(){return j.isCurrentPage("event.html")}};var $g=a(7786),jg={};$g.Z&&$g.Z.locals&&(jg.locals=$g.Z.locals);var Eg,zg=0,Pg={};Pg.styleTagTransform=Oe(),Pg.setAttributes=u(),Pg.insert=Re().bind(null,"head"),Pg.domAPI=Pe(),Pg.insertStyleElement=je(),jg.use=function(e){return Pg.options=e||{},zg++||(Eg=Ee()($g.Z,Pg)),jg},jg.unuse=function(){0<zg&&!--zg&&(Eg(),Eg=null)};const Og=jg,Rg="poaGirlFade";const Hg=class extends He{constructor(){super({configSchema:{baseKey:Rg,label:vi.getModuleLabel("stConfig",Rg),default:!0},styles:Og})}shouldRun(){return j.isCurrentPage("event.html")}};var Gg=a(5286),Zg={};Gg.Z&&Gg.Z.locals&&(Zg.locals=Gg.Z.locals);var Bg,Ug=0,Fg={};Fg.styleTagTransform=Oe(),Fg.setAttributes=u(),Fg.insert=Re().bind(null,"head"),Fg.domAPI=Pe(),Fg.insertStyleElement=je(),Zg.use=function(e){return Fg.options=e||{},Ug++||(Bg=Ee()(Gg.Z,Fg)),Zg},Zg.unuse=function(){0<Ug&&!--Ug&&(Bg(),Bg=null)};const qg=Zg,Qg="poaTicks",Wg={HH:"#300912",GH:"#1b0d37",CxH:"#0f0b1d",PSH:"#3d072b"};const Yg=class extends He{constructor(){super({configSchema:{baseKey:Qg,label:vi.getModuleLabel("stConfig",Qg),default:!0},styles:qg})}shouldRun(){return j.isCurrentPage("event.html")}run(){super.run(),j.defer(()=>{this.injectCSSVars()})}injectCSSVars(){var e=Wg[j.getGameKey()]||Wg.HH;Te.registerVar("dark-color",e)}};var Kg=a(5920),Vg={};Kg.Z&&Kg.Z.locals&&(Vg.locals=Kg.Z.locals);var Jg,Xg=0,em={};em.styleTagTransform=Oe(),em.setAttributes=u(),em.insert=Re().bind(null,"head"),em.domAPI=Pe(),em.insertStyleElement=je(),Vg.use=function(e){return em.options=e||{},Xg++||(Jg=Ee()(Kg.Z,em)),Vg},Vg.unuse=function(){0<Xg&&!--Xg&&(Jg(),Jg=null)};const tm=Vg,am="popButtons";const im=class extends He{constructor(){super({configSchema:{baseKey:am,label:vi.getModuleLabel("stConfig",am),default:!1},styles:tm})}shouldRun(){return j.isCurrentPage("activities")}};var nm=a(9786),om={};nm.Z&&nm.Z.locals&&(om.locals=nm.Z.locals);var sm,rm=0,lm={};lm.styleTagTransform=Oe(),lm.setAttributes=u(),lm.insert=Re().bind(null,"head"),lm.domAPI=Pe(),lm.insertStyleElement=je(),om.use=function(e){return lm.options=e||{},rm++||(sm=Ee()(nm.Z,lm)),om},om.unuse=function(){0<rm&&!--rm&&(sm(),sm=null)};const cm=om,pm="poseAspectRatio";const dm=class extends He{constructor(){super({configSchema:{baseKey:pm,label:vi.getModuleLabel("stConfig",pm),default:!0},styles:cm})}shouldRun(){return!0}};var um=a(6009),gm={};um.Z&&um.Z.locals&&(gm.locals=um.Z.locals);var mm,hm=0,bm={};bm.styleTagTransform=Oe(),bm.setAttributes=u(),bm.insert=Re().bind(null,"head"),bm.domAPI=Pe(),bm.insertStyleElement=je(),gm.use=function(e){return bm.options=e||{},hm++||(mm=Ee()(um.Z,bm)),gm},gm.unuse=function(){0<hm&&!--hm&&(mm(),mm=null)};const fm=gm,vm="povUnclutter";const ym=class extends He{constructor(){super({configSchema:{baseKey:vm,label:vi.getModuleLabel("stConfig",vm),default:!0},styles:fm})}shouldRun(){return["path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))}};var _m=a(7920),wm={};_m.Z&&_m.Z.locals&&(wm.locals=_m.Z.locals);var xm,Mm=0,Cm={};Cm.styleTagTransform=Oe(),Cm.setAttributes=u(),Cm.insert=Re().bind(null,"head"),Cm.domAPI=Pe(),Cm.insertStyleElement=je(),wm.use=function(e){return Cm.options=e||{},Mm++||(xm=Ee()(_m.Z,Cm)),wm},wm.unuse=function(){0<Mm&&!--Mm&&(xm(),xm=null)};const km=wm,Im="removeParticleEffects";const Am=class extends He{constructor(){super({configSchema:{baseKey:Im,label:vi.getModuleLabel("stConfig",Im),default:!0},styles:km})}shouldRun(){return j.isCurrentPage("home")}};var Tm=a(4481),Sm={};Tm.Z&&Tm.Z.locals&&(Sm.locals=Tm.Z.locals);var Dm,Lm=0,Nm={};Nm.styleTagTransform=Oe(),Nm.setAttributes=u(),Nm.insert=Re().bind(null,"head"),Nm.domAPI=Pe(),Nm.insertStyleElement=je(),Sm.use=function(e){return Nm.options=e||{},Lm++||(Dm=Ee()(Tm.Z,Nm)),Sm},Sm.unuse=function(){0<Lm&&!--Lm&&(Dm(),Dm=null)};const $m=Sm,jm="selectableId";const Em=class extends He{constructor(){super({configSchema:{baseKey:jm,label:vi.getModuleLabel("stConfig",jm),default:!0},styles:$m})}shouldRun(){return!0}};var zm=a(4207),Pm={};zm.Z&&zm.Z.locals&&(Pm.locals=zm.Z.locals);var Om,Rm=0,Hm={};Hm.styleTagTransform=Oe(),Hm.setAttributes=u(),Hm.insert=Re().bind(null,"head"),Hm.domAPI=Pe(),Hm.insertStyleElement=je(),Pm.use=function(e){return Hm.options=e||{},Rm++||(Om=Ee()(zm.Z,Hm)),Pm},Pm.unuse=function(){0<Rm&&!--Rm&&(Om(),Om=null)};const Gm=Pm,Zm="compactLossScreen";const Bm=class extends He{constructor(){super({configSchema:{baseKey:Zm,label:vi.getModuleLabel("stConfig",Zm),default:!0},styles:Gm})}shouldRun(){return j.isCurrentPage("battle")}};var Um=a(6790),Fm={};Um.Z&&Um.Z.locals&&(Fm.locals=Um.Z.locals);var qm,Qm=0,Wm={};Wm.styleTagTransform=Oe(),Wm.setAttributes=u(),Wm.insert=Re().bind(null,"head"),Wm.domAPI=Pe(),Wm.insertStyleElement=je(),Fm.use=function(e){return Wm.options=e||{},Qm++||(qm=Ee()(Um.Z,Wm)),Fm},Fm.unuse=function(){0<Qm&&!--Qm&&(qm(),qm=null)};const Ym=Fm,Km="seasonalEventTweaks";const Vm=class extends He{constructor(){super({configSchema:{baseKey:Km,label:vi.getModuleLabel("stConfig",Km),default:!0},styles:Ym})}shouldRun(){return j.isCurrentPage("seasonal")}};var Jm=a(2882),Xm={};Jm.Z&&Jm.Z.locals&&(Xm.locals=Jm.Z.locals);var eh,th=0,ah={};ah.styleTagTransform=Oe(),ah.setAttributes=u(),ah.insert=Re().bind(null,"head"),ah.domAPI=Pe(),ah.insertStyleElement=je(),Xm.use=function(e){return ah.options=e||{},th++||(eh=Ee()(Jm.Z,ah)),Xm},Xm.unuse=function(){0<th&&!--th&&(eh(),eh=null)};const ih=Xm,nh="compactHaremFilters";const oh=class extends He{constructor(){super({configSchema:{baseKey:nh,label:vi.getModuleLabel("stConfig",nh),default:!0},styles:ih})}shouldRun(){return j.isCurrentPage("harem")&&!j.isCurrentPage("hero")}run(){super.run(),j.defer(()=>{[".checkbox-group"].forEach(e=>{$(`.form-control:has(${e})`).addClass("double-wide")});["event","world"].forEach(e=>{$(`.form-control:has(select[name=${e}])`).addClass("secondary-position-fix")})})}};var sh=a(6628),rh={};sh.Z&&sh.Z.locals&&(rh.locals=sh.Z.locals);var lh,ch=0,ph={};ph.styleTagTransform=Oe(),ph.setAttributes=u(),ph.insert=Re().bind(null,"head"),ph.domAPI=Pe(),ph.insertStyleElement=je(),rh.use=function(e){return ph.options=e||{},ch++||(lh=Ee()(sh.Z,ph)),rh},rh.unuse=function(){0<ch&&!--ch&&(lh(),lh=null)};const dh=rh,uh="expandedMarketInventory";const gh=class extends He{constructor(){super({configSchema:{baseKey:uh,label:vi.getModuleLabel("stConfig",uh),default:!0},styles:dh})}shouldRun(){return j.isCurrentPage("shop")}run(){this.shouldRun()&&(super.run(),j.defer(()=>{if($(".player-inventory-content").children(".slot-container").length)this.initialPad();else{const e=new MutationObserver(()=>{$(".player-inventory-content").children(".slot-container").length&&(this.initialPad(),e.disconnect())});e.observe($(".player-inventory-content")[0],{childList:!0})}}))}initialPad(){$(".player-inventory-content, #player-inventory-booster").each((e,t)=>{const a=$(t);var i,n=a.find(".slot-container").length;let o=0;if(n<12?o=12-n:12<n&&0<n%4&&(i=a.find(".slot-container.empty").length,t=a.find(".slot-container:not(.empty)").length,o=(4-t%4)%4-i,n+o<12&&(o+=12-(n+o))),0<o)for(;0<o;)a.append('<div class="slot-container empty"><div class="slot empty"></div></div>'),o--;else if(o<0)for(;o<0;)a.find(".slot-container.empty").last().remove(),o++})}};var mh=a(6895),hh={};mh.Z&&mh.Z.locals&&(hh.locals=mh.Z.locals);var bh,fh=0,vh={};vh.styleTagTransform=Oe(),vh.setAttributes=u(),vh.insert=Re().bind(null,"head"),vh.domAPI=Pe(),vh.insertStyleElement=je(),hh.use=function(e){return vh.options=e||{},fh++||(bh=Ee()(mh.Z,vh)),hh},hh.unuse=function(){0<fh&&!--fh&&(bh(),bh=null)};const yh=hh,_h="compactResourceSummary";const wh=class extends He{constructor(){super({configSchema:{baseKey:_h,label:vi.getModuleLabel("stConfig",_h),default:!0},styles:yh})}shouldRun(){return!0}run(e){super.run(e),j.defer(()=>{})}};var xh=a(1990),Mh={};xh.Z&&xh.Z.locals&&(Mh.locals=xh.Z.locals);var Ch,kh=0,Ih={};Ih.styleTagTransform=Oe(),Ih.setAttributes=u(),Ih.insert=Re().bind(null,"head"),Ih.domAPI=Pe(),Ih.insertStyleElement=je(),Mh.use=function(e){return Ih.options=e||{},kh++||(Ch=Ee()(xh.Z,Ih)),Mh},Mh.unuse=function(){0<kh&&!--kh&&(Ch(),Ch=null)};const Ah=Mh,Th="hideClaimAllButton";const Sh=class extends He{constructor(){super({configSchema:{baseKey:Th,label:vi.getModuleLabel("stConfig",Th),default:!1},styles:Ah})}shouldRun(){return j.isCurrentPage("season.html")}};var Dh=a(3473),Lh={};Dh.Z&&Dh.Z.locals&&(Lh.locals=Dh.Z.locals);var Nh,$h=0,jh={};jh.styleTagTransform=Oe(),jh.setAttributes=u(),jh.insert=Re().bind(null,"head"),jh.domAPI=Pe(),jh.insertStyleElement=je(),Lh.use=function(e){return jh.options=e||{},$h++||(Nh=Ee()(Dh.Z,jh)),Lh},Lh.unuse=function(){0<$h&&!--$h&&(Nh(),Nh=null)};const Eh=Lh,zh="dpEventTweaks";const Ph=class extends He{constructor(){super({configSchema:{baseKey:zh,label:vi.getModuleLabel("stConfig",zh),default:!0},styles:Eh})}shouldRun(){return j.isCurrentPage("event.html")}};var Oh=a(1497),Rh={};Oh.Z&&Oh.Z.locals&&(Rh.locals=Oh.Z.locals);var Hh,Gh=0,Zh={};Zh.styleTagTransform=Oe(),Zh.setAttributes=u(),Zh.insert=Re().bind(null,"head"),Zh.domAPI=Pe(),Zh.insertStyleElement=je(),Rh.use=function(e){return Zh.options=e||{},Gh++||(Hh=Ee()(Oh.Z,Zh)),Rh},Rh.unuse=function(){0<Gh&&!--Gh&&(Hh(),Hh=null)};const Bh=Rh,Uh="compactDailyMissions";const Fh=class extends He{constructor(){super({configSchema:{baseKey:Uh,label:vi.getModuleLabel("stConfig",Uh),default:!0},styles:Bh})}shouldRun(){return j.isCurrentPage("activities")}};var qh=a(3147),Qh={};qh.Z&&qh.Z.locals&&(Qh.locals=qh.Z.locals);var Wh,Yh=0,Kh={};Kh.styleTagTransform=Oe(),Kh.setAttributes=u(),Kh.insert=Re().bind(null,"head"),Kh.domAPI=Pe(),Kh.insertStyleElement=je(),Qh.use=function(e){return Kh.options=e||{},Yh++||(Wh=Ee()(qh.Z,Kh)),Qh},Qh.unuse=function(){0<Yh&&!--Yh&&(Wh(),Wh=null)};const Vh=Qh,Jh="removeSlotBorder";const Xh=class extends He{constructor(){super({configSchema:{baseKey:Jh,label:vi.getModuleLabel("stConfig",Jh),default:!0},styles:Vh})}shouldRun(){return j.isCurrentPage("shop")}};var eb=a(5160),tb={};eb.Z&&eb.Z.locals&&(tb.locals=eb.Z.locals);var ab,ib=0,nb={};nb.styleTagTransform=Oe(),nb.setAttributes=u(),nb.insert=Re().bind(null,"head"),nb.domAPI=Pe(),nb.insertStyleElement=je(),tb.use=function(e){return nb.options=e||{},ib++||(ab=Ee()(eb.Z,nb)),tb},tb.unuse=function(){0<ib&&!--ib&&(ab(),ab=null)};const ob=tb,sb="leaderboardSupportersIndicators",rb={gold:Ne,silver:$e};const lb=class extends V{constructor(){super({baseKey:sb,default:!0}),this.label=vi.getModuleLabel.bind(this,sb)}shouldRun(){return["activities","tower-of-fame","pantheon","season.html","path-of-valor","path-of-glory"].some(e=>j.isCurrentPage(e))}run(){!this.hasRun&&this.shouldRun()&&(ob.use(),j.defer(()=>{["activities","tower-of-fame"].some(e=>j.isCurrentPage(e))&&this.addSupporterAnnotations()}),$(document).on("leaderboard-annotated",(e,t)=>this.addSupporterAnnotations(t)),$(document).on("league:table-sorted",()=>{this.addSupporterAnnotations()}),this.hasRun=!0)}async addSupporterAnnotations(e){const n=e&&e.selector||"",t=await Le.getSupporters(),a=t.filter(({flairs:e})=>e),o=j.getGameKey(),s=j.getPlatform(),r=this.getNameColumnSelector();a.forEach(({tier:i,flairs:e})=>{e.forEach(({game:e,platform:t,id:a})=>{e===o&&t===s&&$(`${n} [sorting_id='${a}']`).find(r).append(`<div class="script-flair script-supporter"><img class="tier-icon" src="${rb[i]}" tooltip="HH++ ${i.substring(0,1).toUpperCase()}${i.substring(1)} Tier Supporter"/></div>`)})})}getNameColumnSelector(){return j.isCurrentPage("activities")?"td:nth-of-type(2)":j.isCurrentPage("tower-of-fame")?".nickname":"> div:nth-of-type(2)"}};window.$?"/"===location.pathname&&(location.hostname.includes("www")||location.hostname.includes("test"))||("/integrations/"===location.pathname&&location.hostname.includes("nutaku")?location.replace(`${location.origin}/home.html`):document.getElementById("loading-overlay")||(()=>{const t=new Je;z.collect(),H.collect(),Z.collect(),F.collect(),ne.collect(),re.collect(),ue.collect(),he.collect(),be.collect(),ve.collect(),we.collect(),xe.collect(),Ce.run(),(new lb).run(),t.registerGroup({key:"core",name:`${j.getGameKey()}++ Core`}),t.registerGroup({key:"st",name:"Style Tweaks",iconEl:"<div></div>"}),Object.values(p).forEach(e=>{t.registerModule(new e)}),t.loadConfig(),t.runModules(),j.runDeferred(),window.hhPlusPlusConfig={registerGroup:t.registerGroup.bind(t),registerModule:t.registerModule.bind(t),runModules:t.runModules.bind(t),loadConfig:t.loadConfig.bind(t)}})()):console.log("HH++ WARNING: No jQuery found. Probably an error page. Ending the script here")}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;t=i[e]={id:e,exports:{}};return a[e](t,t.exports,n),t.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(2414)})();