@everymatrix/bonus-powerups-ingame-entrance 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Info-circle.svg +10 -0
- package/dist/assets/clock.svg +3 -0
- package/dist/assets/close.svg +4 -0
- package/dist/assets/double-right.svg +4 -0
- package/dist/assets/energe.svg +9 -0
- package/dist/assets/fire.svg +3 -0
- package/dist/bonus-powerups-ingame-entrance/app-globals-0f993ce5.js +1 -0
- package/dist/bonus-powerups-ingame-entrance/bonus-powerups-ingame-detail_10.entry.js +3 -0
- package/dist/bonus-powerups-ingame-entrance/bonus-powerups-ingame-entrance-429b892c.js +3 -0
- package/dist/bonus-powerups-ingame-entrance/bonus-powerups-ingame-entrance.esm.js +1 -0
- package/dist/bonus-powerups-ingame-entrance/index-467dc87e.js +2 -0
- package/dist/bonus-powerups-ingame-entrance/index.esm.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/bonus-powerups-ingame-detail_10.cjs.entry.js +6975 -0
- package/dist/cjs/bonus-powerups-ingame-entrance-0b06c5a7.js +6098 -0
- package/dist/cjs/bonus-powerups-ingame-entrance.cjs.js +25 -0
- package/dist/cjs/index-60a10b6c.js +1336 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/assets/light.svg +9 -0
- package/dist/collection/assets/main.svg +51 -0
- package/dist/collection/assets/prize.svg +9 -0
- package/dist/collection/collection-manifest.json +47 -0
- package/dist/collection/components/bonus-powerups-ingame-entrance/bonus-powerups-ingame-entrance.css +237 -0
- package/dist/collection/components/bonus-powerups-ingame-entrance/bonus-powerups-ingame-entrance.js +392 -0
- package/dist/collection/components/bonus-powerups-ingame-entrance/index.js +1 -0
- package/dist/collection/components/percent-bar/percent-bar.css +30 -0
- package/dist/collection/components/percent-bar/percent-bar.js +172 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +32 -0
- package/dist/collection/utils/utils.js +116 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/bonus-powerups-ingame-detail_10.entry.js +6963 -0
- package/dist/esm/bonus-powerups-ingame-entrance-429b892c.js +6091 -0
- package/dist/esm/bonus-powerups-ingame-entrance.js +20 -0
- package/dist/esm/index-467dc87e.js +1307 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +20 -0
- package/dist/stencil.config.js +20 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/libs/common/src/types/casino/powerups.d.ts +60 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/packages/stencil/bonus-powerups-ingame-entrance/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/packages/stencil/bonus-powerups-ingame-entrance/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/packages/stencil/bonus-powerups-ingame-entrance/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/packages/stencil/bonus-powerups-ingame-entrance/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-entrance/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/bonus-powerups-ingame-entrance/bonus-powerups-ingame-entrance.d.ts +52 -0
- package/dist/types/components/bonus-powerups-ingame-entrance/index.d.ts +1 -0
- package/dist/types/components/percent-bar/percent-bar.d.ts +17 -0
- package/dist/types/components.d.ts +88 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +40 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.99967 1.75016C4.10018 1.75016 1.74967 4.10067 1.74967 7.00016C1.74967 9.89966 4.10018 12.2502 6.99967 12.2502C9.89917 12.2502 12.2497 9.89966 12.2497 7.00016C12.2497 4.10067 9.89917 1.75016 6.99967 1.75016ZM0.583008 7.00016C0.583008 3.45634 3.45585 0.583496 6.99967 0.583496C10.5435 0.583496 13.4163 3.45634 13.4163 7.00016C13.4163 10.544 10.5435 13.4168 6.99967 13.4168C3.45585 13.4168 0.583008 10.544 0.583008 7.00016ZM6.41634 4.66683C6.41634 4.34466 6.67751 4.0835 6.99967 4.0835H7.00551C7.32767 4.0835 7.58884 4.34466 7.58884 4.66683C7.58884 4.989 7.32767 5.25016 7.00551 5.25016H6.99967C6.67751 5.25016 6.41634 4.989 6.41634 4.66683ZM6.99967 6.41683C7.32184 6.41683 7.58301 6.678 7.58301 7.00016V9.3335C7.58301 9.65566 7.32184 9.91683 6.99967 9.91683C6.67751 9.91683 6.41634 9.65566 6.41634 9.3335V7.00016C6.41634 6.678 6.67751 6.41683 6.99967 6.41683Z" fill="url(#paint0_linear_4493_116)"/>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_4493_116" x1="9.23362" y1="14.7353" x2="-7.16233" y2="0.909066" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#D6FFDC"/>
|
|
6
|
+
<stop offset="0.671344" stop-color="#74B580"/>
|
|
7
|
+
<stop offset="1" stop-color="#509142"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="11" height="12" viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.02187 3.84217L9.59599 3.27436C9.71479 3.15556 9.78153 2.99444 9.78153 2.82643C9.78153 2.65842 9.71479 2.49729 9.59599 2.37849C9.47719 2.25969 9.31606 2.19295 9.14805 2.19295C8.98004 2.19295 8.81891 2.25969 8.70011 2.37849L8.1323 2.95261C7.24813 2.26862 6.16191 1.89751 5.04405 1.89751C3.9262 1.89751 2.83997 2.26862 1.9558 2.95261L1.38168 2.37218C1.26205 2.25338 1.10012 2.18697 0.931516 2.18756C0.762915 2.18815 0.601455 2.2557 0.482654 2.37533C0.363853 2.49497 0.297445 2.6569 0.298036 2.8255C0.298628 2.9941 0.366171 3.15556 0.485809 3.27436L1.06624 3.84848C0.374149 4.73019 -0.00137735 5.819 1.65478e-05 6.93989C-0.00204377 7.74455 0.188317 8.53804 0.555222 9.25419C0.922128 9.97034 1.45494 10.5884 2.10923 11.0568C2.76352 11.5252 3.52032 11.8303 4.31651 11.9468C5.11269 12.0633 5.9252 11.9878 6.68625 11.7264C7.4473 11.4651 8.13485 11.0256 8.69154 10.4446C9.24824 9.86362 9.65795 9.15792 9.8865 8.3864C10.1151 7.61487 10.1558 6.79988 10.0054 6.0094C9.85502 5.21892 9.51779 4.47585 9.02187 3.84217ZM5.04721 10.7253C4.29853 10.7253 3.56666 10.5033 2.94415 10.0873C2.32165 9.67138 1.83647 9.08018 1.54996 8.38849C1.26345 7.6968 1.18849 6.93569 1.33455 6.20139C1.48061 5.4671 1.84113 4.79261 2.37053 4.26321C2.89993 3.73381 3.57442 3.37329 4.30871 3.22723C5.04301 3.08117 5.80412 3.15613 6.49581 3.44264C7.1875 3.72915 7.7787 4.21433 8.19465 4.83683C8.61059 5.45934 8.8326 6.19121 8.8326 6.93989C8.8326 7.94383 8.43378 8.90666 7.72388 9.61656C7.01399 10.3265 6.05116 10.7253 5.04721 10.7253ZM3.78541 1.2618H6.309C6.47633 1.2618 6.6368 1.19533 6.75512 1.07701C6.87343 0.958695 6.9399 0.798223 6.9399 0.630899C6.9399 0.463574 6.87343 0.303102 6.75512 0.184786C6.6368 0.0664695 6.47633 0 6.309 0H3.78541C3.61808 0 3.45761 0.0664695 3.3393 0.184786C3.22098 0.303102 3.15451 0.463574 3.15451 0.630899C3.15451 0.798223 3.22098 0.958695 3.3393 1.07701C3.45761 1.19533 3.61808 1.2618 3.78541 1.2618ZM5.67811 5.04719C5.67811 4.87987 5.61164 4.71939 5.49332 4.60108C5.375 4.48276 5.21453 4.41629 5.04721 4.41629C4.87988 4.41629 4.71941 4.48276 4.60109 4.60108C4.48278 4.71939 4.41631 4.87987 4.41631 5.04719V6.23959C4.27345 6.36736 4.17276 6.5355 4.12756 6.72175C4.08235 6.908 4.09477 7.10359 4.16315 7.28263C4.23154 7.46168 4.35268 7.61573 4.51054 7.72442C4.66841 7.83311 4.85555 7.8913 5.04721 7.8913C5.23887 7.8913 5.42601 7.83311 5.58387 7.72442C5.74173 7.61573 5.86287 7.46168 5.93126 7.28263C5.99965 7.10359 6.01206 6.908 5.96686 6.72175C5.92165 6.5355 5.82096 6.36736 5.67811 6.23959V5.04719Z" fill="white" fill-opacity="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1.75 12.2505L12.25 1.75049" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M1.75 1.75049L12.25 12.2505" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="16" height="23" viewBox="0 0 16 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.9994 7.31774H10.7237L13.8675 1.56809C13.9553 1.40902 14.0015 1.22856 14.0015 1.04488C14.0014 0.861196 13.955 0.680783 13.867 0.521802C13.779 0.362822 13.6525 0.230887 13.5002 0.139282C13.3479 0.0476784 13.1752 -0.000360859 12.9995 2.04092e-06H6.00004C5.81422 -8.84852e-05 5.63206 0.0539544 5.47398 0.156068C5.3159 0.258181 5.18817 0.404325 5.1051 0.578103L0.105459 11.032C0.0292615 11.1914 -0.00668829 11.3686 0.00102409 11.5466C0.00873646 11.7246 0.0598548 11.8976 0.149524 12.0492C0.239193 12.2008 0.364436 12.3259 0.513357 12.4126C0.662278 12.4993 0.829932 12.5448 1.0004 12.5447H5.65607L3.04225 21.6532C2.97593 21.8834 2.98756 22.1306 3.0752 22.3529C3.16284 22.5752 3.32112 22.7592 3.52336 22.8738C3.7256 22.9883 3.95944 23.0265 4.18546 22.9818C4.41147 22.9371 4.61585 22.8124 4.76413 22.6285L15.7634 9.03845C15.8866 8.88622 15.9656 8.70031 15.9911 8.50267C16.0165 8.30503 15.9874 8.10389 15.9071 7.923C15.8267 7.74211 15.6986 7.58901 15.5378 7.48176C15.377 7.37452 15.1902 7.3176 14.9994 7.31774ZM6.33702 17.4465L7.9579 11.8014C8.00301 11.6452 8.01251 11.4801 7.98565 11.3194C7.95878 11.1586 7.8963 11.0067 7.80319 10.8757C7.71009 10.7447 7.58895 10.6384 7.44947 10.5651C7.31 10.4919 7.15605 10.4538 6.99997 10.4539H2.61828L6.618 2.09078H11.2757L8.13189 7.84043C8.04405 7.9995 7.99784 8.17996 7.99792 8.36364C7.99801 8.54732 8.04439 8.72774 8.13238 8.88672C8.22038 9.0457 8.34689 9.17763 8.49917 9.26924C8.65146 9.36084 8.82414 9.40888 8.99983 9.40852H12.8436L6.33702 17.4465Z" fill="url(#paint0_linear_3660_5836)"/>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_3660_5836" x1="0" y1="0" x2="21.8708" y2="9.53767" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#F68B2E"/>
|
|
6
|
+
<stop offset="1" stop-color="#F6BB5C"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.03794 4.01199L3.03683 4.01253L3.03516 4.01361L3.03794 4.01199ZM8.56797 3.91054C8.52932 3.87413 8.48643 3.84227 8.44019 3.81561C8.37472 3.77797 8.30204 3.75384 8.22664 3.74472C8.15125 3.7356 8.07473 3.74167 8.00184 3.76257C7.92894 3.78347 7.86121 3.81874 7.80282 3.86621C7.74444 3.91369 7.69665 3.97235 7.66241 4.03857C7.47107 4.40687 7.20713 4.73466 6.88574 5.00311C6.93501 4.73271 6.95992 4.45861 6.96018 4.18395C6.96124 3.3486 6.73559 2.52789 6.3062 1.80538C5.87681 1.08287 5.25902 0.484375 4.51572 0.0708199C4.43382 0.0253751 4.34142 0.00101547 4.24722 3.10685e-05C4.15301 -0.000953328 4.0601 0.0214698 3.97722 0.0651925C3.89433 0.108915 3.82419 0.172501 3.77339 0.249974C3.7226 0.327446 3.69281 0.416259 3.68683 0.508064C3.65573 1.0224 3.51802 1.52521 3.28205 1.98604C3.04608 2.44688 2.71676 2.85614 2.31405 3.18903L2.18627 3.29048C1.76494 3.56728 1.39202 3.90853 1.08182 4.30113C0.599746 4.89413 0.265808 5.58866 0.106489 6.32962C-0.0528307 7.07059 -0.0331479 7.83762 0.163976 8.56986C0.361099 9.30211 0.730241 9.97943 1.24212 10.5481C1.754 11.1168 2.39454 11.5612 3.11294 11.846C3.19728 11.8796 3.28877 11.8923 3.37936 11.8832C3.46994 11.8741 3.55684 11.8434 3.63241 11.7937C3.70797 11.7441 3.76989 11.6771 3.8127 11.5986C3.85552 11.5202 3.87792 11.4326 3.87794 11.3437C3.87748 11.2862 3.86812 11.2292 3.85017 11.1744C3.72587 10.7182 3.69006 10.2433 3.74461 9.77428C4.27043 10.7424 5.11436 11.5097 6.14073 11.9529C6.26596 12.0076 6.4075 12.0149 6.53796 11.9735C7.34878 11.7179 8.07921 11.2641 8.65986 10.6553C9.24051 10.0464 9.65209 9.3027 9.8555 8.49478C10.0589 7.68686 10.0474 6.84157 9.82205 6.03922C9.5967 5.23687 9.165 4.5041 8.56797 3.91054ZM6.39851 10.8712C5.91423 10.6316 5.48701 10.2951 5.14463 9.88369C4.80226 9.47226 4.55239 8.99508 4.41128 8.48316C4.36814 8.31077 4.33475 8.13618 4.31128 7.96021C4.29547 7.84814 4.24418 7.74371 4.16459 7.66152C4.085 7.57932 3.98109 7.52348 3.86739 7.5018C3.83243 7.49517 3.79689 7.4919 3.76128 7.49204C3.66366 7.49195 3.56775 7.51697 3.48319 7.56459C3.39863 7.6122 3.32841 7.68074 3.27961 7.76328C2.81874 8.53972 2.58703 9.42559 2.61016 10.3227C2.20469 10.015 1.86581 9.6317 1.61316 9.19511C1.36052 8.75852 1.19913 8.27731 1.13836 7.77936C1.07759 7.28142 1.11864 6.77664 1.25913 6.29431C1.39963 5.81197 1.63677 5.36166 1.95682 4.96948C2.19983 4.66126 2.49299 4.39406 2.8246 4.17853C2.83912 4.16944 2.85303 4.15948 2.86627 4.14869C2.86627 4.14869 3.03072 4.01578 3.03627 4.01307C3.82805 3.3594 4.39126 2.4808 4.64739 1.49973C5.25263 2.04621 5.65615 2.77254 5.79529 3.56593C5.93442 4.35932 5.80139 5.17538 5.41684 5.88736C5.36595 5.9824 5.34505 6.09002 5.35677 6.19665C5.36849 6.30328 5.41232 6.40412 5.48271 6.48644C5.5531 6.56876 5.64689 6.62886 5.75224 6.65914C5.8576 6.68943 5.96978 6.68855 6.07462 6.65661C6.92559 6.39601 7.67437 5.88711 8.22019 5.1984C8.54836 5.67158 8.76292 6.21098 8.8479 6.77639C8.93287 7.34181 8.88606 7.91866 8.71095 8.46396C8.53584 9.00925 8.23695 9.50892 7.83657 9.92572C7.43618 10.3425 6.94461 10.6657 6.39851 10.8712Z" fill="white" fill-opacity="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,H as n,g as r}from"./index-467dc87e.js";import{P as a,h as s,s as o,a as l,b as h,M as d,c,d as u}from"./bonus-powerups-ingame-entrance-429b892c.js";export{B as bonus_powerups_ingame_entrance}from"./bonus-powerups-ingame-entrance-429b892c.js";const m={en:{playNow:"Play Now",history:"History",available:"Available",duration:"Duration",multiplier:"Multiplier",endDate:"End date",days:"Days",termsAndConditions:"Terms & Conditions ",playResponsibly:"Terms & Conditions apply. 18+. Play responsibly.",seeAll:"See All",games:"Games",activateTips:"In case of activation the countdown starts immediately.",activate:"Activate"}},f=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{m[t]||(m[t]={});for(let i in e[t])m[t][i]=e[t][i]})),t(!0)}))})),p=(e,t,i)=>{let n=m[void 0!==t&&t in m?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},g={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,activatedAt,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${a.ACTIVE},${a.ACTIVATED}`},w={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var v,b={exports:{}};(v=b).exports=function(){var e,t;function i(){return e.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[],r=e.length;for(i=0;i<r;++i)n.push(t(e[i],i));return n}function c(e,t){for(var i in t)a(t,i)&&(e[i]=t[i]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return Lt(e,t,i,n,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var i=m(e),n=t.call(i.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(e._strict&&(r=r&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function p(e){var t=u(NaN);return null!=e?c(m(t),e):m(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var g=i.momentProperties=[],w=!1;function b(e,t){var i,n,r,a=g.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)o(r=t[n=g[i]])||(e[n]=r);return e}function C(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,i.updateOffset(this),w=!1)}function y(e){return e instanceof C||null!=e&&null!=e._isAMomentObject}function x(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return c((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,s,o,l=[],h=arguments.length;for(s=0;s<h;s++){if(r="","object"==typeof arguments[s]){for(o in r+="\n["+s+"] ",arguments[0])a(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[s];l.push(r)}x(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var D,M={};function S(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),M[e]||(x(t),M[e]=!0)}function I(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Y(e,t){var i,n=c({},e);for(i in t)a(t,i)&&(r(e[i])&&r(t[i])?(n[i]={},c(n[i],e[i]),c(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)a(e,i)&&!a(t,i)&&r(e[i])&&(n[i]=c({},n[i]));return n}function G(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)a(e,t)&&i.push(t);return i};function T(e,t,i){var n=""+Math.abs(e);return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},N={};function _(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(N[e]=r),t&&(N[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),i&&(N[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function H(e,t){return e.isValid()?(t=B(t,e.localeData()),L[t]=L[t]||function(e){var t,i,n,r=e.match(U);for(t=0,i=r.length;t<i;t++)r[t]=N[r[t]]?N[r[t]]:(n=r[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,a="";for(n=0;n<i;n++)a+=I(r[n])?r[n].call(t,e):r[n];return a}}(t),L[t](e)):e.localeData().invalidDate()}function B(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;i>=0&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,i-=1;return e}var F={};function A(e,t){var i=e.toLowerCase();F[i]=F[i+"s"]=F[t]=e}function E(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function $(e){var t,i,n={};for(i in e)a(e,i)&&(t=E(i))&&(n[t]=e[i]);return n}var j={};function R(e,t){j[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function O(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=O(t)),i}function z(e,t){return function(n){return null!=n?(X(this,e,n),i.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(i=Z(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Te(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var q,J=/\d/,Q=/\d\d/,K=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ie=/\d\d?/,ne=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,oe=/[+-]?\d{1,6}/,le=/\d+/,he=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,i){q[e]=I(t)?t:function(e){return e&&i?i:t}}function fe(e,t){return a(q,e)?q[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r}))))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}q={};var ge={};function we(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,i){i[t]=Z(e)}),n=e.length,i=0;i<n;i++)ge[e[i]]=r}function ve(e,t){we(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function be(e,t,i){null!=t&&a(ge,e)&&ge[e](t,i._a,i,e)}var Ce,ye=0,xe=1,ke=2,De=3,Me=4,Se=5,Ie=6,Ye=7,Ge=8;function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,n=(t%(i=12)+i)%i;return e+=(t-n)/12,1===n?W(e)?29:28:31-n%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},_("M",["MM",2],"Mo",(function(){return this.month()+1})),_("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),_("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),A("month","M"),R("month",8),me("M",ie),me("MM",ie,Q),me("MMM",(function(e,t){return t.monthsShortRegex(e)})),me("MMMM",(function(e,t){return t.monthsRegex(e)})),we(["M","MM"],(function(e,t){t[xe]=Z(e)-1})),we(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);null!=r?t[xe]=r:m(i).invalidMonth=e}));var Ue="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne=ue,_e=ue;function He(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=u([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,s))?r:null:-1!==(r=Ce.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,s))||-1!==(r=Ce.call(this._longMonthsParse,s))?r:null:-1!==(r=Ce.call(this._longMonthsParse,s))||-1!==(r=Ce.call(this._shortMonthsParse,s))?r:null}function Be(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Z(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Fe(e){return null!=e?(Be(this,e),i.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}var t,i,n=[],r=[],a=[];for(t=0;t<12;t++)i=u([2e3,t]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)n[t]=pe(n[t]),r[t]=pe(r[t]);for(t=0;t<24;t++)a[t]=pe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ee(e){return W(e)?366:365}_("Y",0,0,(function(){var e=this.year();return e<=9999?T(e,4):"+"+e})),_(0,["YY",2],0,(function(){return this.year()%100})),_(0,["YYYY",4],0,"year"),_(0,["YYYYY",5],0,"year"),_(0,["YYYYYY",6,!0],0,"year"),A("year","y"),R("year",1),me("Y",he),me("YY",ie,Q),me("YYYY",se,ee),me("YYYYY",oe,te),me("YYYYYY",oe,te),we(["YYYYY","YYYYYY"],ye),we("YYYY",(function(e,t){t[ye]=2===e.length?i.parseTwoDigitYear(e):Z(e)})),we("YY",(function(e,t){t[ye]=i.parseTwoDigitYear(e)})),we("Y",(function(e,t){t[ye]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return Z(e)+(Z(e)>68?1900:2e3)};var $e=z("FullYear",!0);function je(e,t,i,n,r,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,i,n,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,a,s),o}function Re(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,i){var n=7+t-i;return-(7+Re(e,0,n).getUTCDay()-t)%7+n-1}function Oe(e,t,i,n,r){var a,s,o=1+7*(t-1)+(7+i-n)%7+We(e,n,r);return o<=0?s=Ee(a=e-1)+o:o>Ee(e)?(a=e+1,s=o-Ee(e)):(a=e,s=o),{year:a,dayOfYear:s}}function Ze(e,t,i){var n,r,a=We(e.year(),t,i),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?n=s+ze(r=e.year()-1,t,i):s>ze(e.year(),t,i)?(n=s-ze(e.year(),t,i),r=e.year()+1):(r=e.year(),n=s),{week:n,year:r}}function ze(e,t,i){var n=We(e,t,i),r=We(e+1,t,i);return(Ee(e)-n+r)/7}_("w",["ww",2],"wo","week"),_("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),R("week",5),R("isoWeek",5),me("w",ie),me("ww",ie,Q),me("W",ie),me("WW",ie,Q),ve(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=Z(e)}));function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}_("d",0,"do","day"),_("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),_("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),_("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),_("e",0,0,"weekday"),_("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),me("d",ie),me("e",ie),me("E",ie),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:m(i).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,i,n){t[n]=Z(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=ue,Ke=ue,et=ue;function tt(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=u([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._shortWeekdaysParse,s))||-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,s))||-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,s))||-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._shortWeekdaysParse,s))?r:null}function it(){function e(e,t){return t.length-e.length}var t,i,n,r,a,s=[],o=[],l=[],h=[];for(t=0;t<7;t++)i=u([2e3,1]).day(t),n=pe(this.weekdaysMin(i,"")),r=pe(this.weekdaysShort(i,"")),a=pe(this.weekdays(i,"")),s.push(n),o.push(r),l.push(a),h.push(n),h.push(r),h.push(a);s.sort(e),o.sort(e),l.sort(e),h.sort(e),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function nt(){return this.hours()%12||12}function rt(e,t){_(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function at(e,t){return t._meridiemParse}_("H",["HH",2],0,"hour"),_("h",["hh",2],0,nt),_("k",["kk",2],0,(function(){return this.hours()||24})),_("hmm",0,0,(function(){return""+nt.apply(this)+T(this.minutes(),2)})),_("hmmss",0,0,(function(){return""+nt.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),_("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),_("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),rt("a",!0),rt("A",!1),A("hour","h"),R("hour",13),me("a",at),me("A",at),me("H",ie),me("h",ie),me("k",ie),me("HH",ie,Q),me("hh",ie,Q),me("kk",ie,Q),me("hmm",ne),me("hmmss",re),me("Hmm",ne),me("Hmmss",re),we(["H","HH"],De),we(["k","kk"],(function(e,t){var i=Z(e);t[De]=24===i?0:i})),we(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),we(["h","hh"],(function(e,t,i){t[De]=Z(e),m(i).bigHour=!0})),we("hmm",(function(e,t,i){var n=e.length-2;t[De]=Z(e.substr(0,n)),t[Me]=Z(e.substr(n)),m(i).bigHour=!0})),we("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[De]=Z(e.substr(0,n)),t[Me]=Z(e.substr(n,2)),t[Se]=Z(e.substr(r)),m(i).bigHour=!0})),we("Hmm",(function(e,t){var i=e.length-2;t[De]=Z(e.substr(0,i)),t[Me]=Z(e.substr(i))})),we("Hmmss",(function(e,t){var i=e.length-4,n=e.length-2;t[De]=Z(e.substr(0,i)),t[Me]=Z(e.substr(i,2)),t[Se]=Z(e.substr(n))}));var st=z("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ue,monthsShort:Pe,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Je,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},ht={},dt={};function ct(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function ut(e){return e?e.toLowerCase().replace("_","-"):e}function mt(e){var t=null;if(void 0===ht[e]&&v&&v.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=ot._abbr,function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./locale/"+e),ft(t)}catch(t){ht[e]=null}return ht[e]}function ft(e,t){var i;return e&&((i=o(t)?gt(e):pt(e,t))?ot=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function pt(e,t){if(null!==t){var i,n=lt;if(t.abbr=e,null!=ht[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ht[e]._config;else if(null!=t.parentLocale)if(null!=ht[t.parentLocale])n=ht[t.parentLocale]._config;else{if(null==(i=mt(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;n=i._config}return ht[e]=new G(Y(n,t)),dt[e]&&dt[e].forEach((function(e){pt(e.name,e.config)})),ft(e),ht[e]}return delete ht[e],null}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!n(e)){if(t=mt(e))return t;e=[e]}return function(e){for(var t,i,n,r,a=0;a<e.length;){for(t=(r=ut(e[a]).split("-")).length,i=(i=ut(e[a+1]))?i.split("-"):null;t>0;){if(n=mt(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&ct(r,i)>=t-1)break;t--}a++}return ot}(e)}function wt(e){var t,i=e._a;return i&&-2===m(e).overflow&&(t=i[xe]<0||i[xe]>11?xe:i[ke]<1||i[ke]>Te(i[ye],i[xe])?ke:i[De]<0||i[De]>24||24===i[De]&&(0!==i[Me]||0!==i[Se]||0!==i[Ie])?De:i[Me]<0||i[Me]>59?Me:i[Se]<0||i[Se]>59?Se:i[Ie]<0||i[Ie]>999?Ie:-1,m(e)._overflowDayOfYear&&(t<ye||t>ke)&&(t=ke),m(e)._overflowWeeks&&-1===t&&(t=Ye),m(e)._overflowWeekday&&-1===t&&(t=Ge),m(e).overflow=t),e}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ct=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kt=/^\/?Date\((-?\d+)/i,Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,i,n,r,a,s,o=e._i,l=vt.exec(o)||bt.exec(o),h=yt.length,d=xt.length;if(l){for(m(e).iso=!0,t=0,i=h;t<i;t++)if(yt[t][1].exec(l[1])){r=yt[t][0],n=!1!==yt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,i=d;t<i;t++)if(xt[t][1].exec(l[3])){a=(l[2]||" ")+xt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ct.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),Ut(e)}else e._isValid=!1}function It(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Yt(e){var t,i,n,r,a,s,o,l=Dt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(i=l[3],n=l[2],r=l[5],a=l[6],s=l[7],o=[It(l[4]),Pe.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(a,10)],s&&o.push(parseInt(s,10)),!function(e,t,i){return!e||qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],t=o,e))return;e._a=t,e._tzm=function(e,t,i){if(e)return Mt[e];if(t)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(l[8],l[9],l[10]),e._d=Re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Gt(e,t,i){return null!=e?e:null!=t?t:i}function Tt(e){var t,n,r,a,s,o=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ke]&&null==e._a[xe]&&function(e){var t,i,n,r,a,s,o,l,h;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,i=Gt(t.GG,e._a[ye],Ze(Nt(),1,4).year),n=Gt(t.W,1),((r=Gt(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,h=Ze(Nt(),a,s),i=Gt(t.gg,e._a[ye],h.year),n=Gt(t.w,h.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),n<1||n>ze(i,a,s)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(o=Oe(i,n,r,a,s),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=Gt(e._a[ye],r[ye]),(e._dayOfYear>Ee(s)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Re(s,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[De]&&0===e._a[Me]&&0===e._a[Se]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[De]=0),e._d=(e._useUTC?Re:je).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[De]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function Ut(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,a,s,o,l,h=""+e._i,d=h.length,c=0;for(l=(r=B(e._f,e._locale).match(U)||[]).length,t=0;t<l;t++)(n=(h.match(fe(a=r[t],e))||[])[0])&&((s=h.substr(0,h.indexOf(n))).length>0&&m(e).unusedInput.push(s),h=h.slice(h.indexOf(n)+n.length),c+=n.length),N[a]?(n?m(e).empty=!1:m(e).unusedTokens.push(a),be(a,n,e)):e._strict&&!n&&m(e).unusedTokens.push(a);m(e).charsLeftOver=d-c,h.length>0&&m(e).unusedInput.push(h),e._a[De]<=12&&!0===m(e).bigHour&&e._a[De]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[De]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[De],e._meridiem),null!==(o=m(e).era)&&(e._a[ye]=e._locale.erasConvertYear(o,e._a[ye])),Tt(e),wt(e)}else Yt(e);else St(e)}function Pt(e){var t=e._i,a=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===a&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new C(wt(t)):(h(t)?e._d=t:n(a)?function(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ut(t),f(t)&&(s=!0),a+=m(t).charsLeftOver,a+=10*m(t).unusedTokens.length,m(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));c(e,i||t)}(e):a?Ut(e):function(e){var t=e._i;o(t)?e._d=new Date(i.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=kt.exec(e._i);null===t?(St(e),!1===e._isValid&&(delete e._isValid,Yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):n(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Tt(e)):r(t)?function(e){if(!e._d){var t=$(e._i);e._a=d([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Tt(e)}}(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),f(e)||(e._d=null),e))}function Lt(e,t,i,a,o){var l,h={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==i&&!1!==i||(a=i,i=void 0),(r(e)&&s(e)||n(e)&&0===e.length)&&(e=void 0),h._isAMomentObject=!0,h._useUTC=h._isUTC=o,h._l=i,h._i=e,h._f=t,h._strict=a,(l=new C(wt(Pt(h))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Nt(e,t,i,n){return Lt(e,t,i,n,!1)}i.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var _t=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()})),Ht=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}));function Bt(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Nt();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}var Ft=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var t=$(e),i=t.year||0,n=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,h=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,i,n=!1,r=Ft.length;for(t in e)if(a(e,t)&&(-1===Ce.call(Ft,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Ft[i]]){if(n)return!1;parseFloat(e[Ft[i]])!==Z(e[Ft[i]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*d+6e4*h+1e3*l*60*60,this._days=+o+7*s,this._months=+r+3*n+12*i,this._data={},this._locale=gt(),this._bubble()}function Et(e){return e instanceof At}function $t(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function jt(e,t){_(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+T(~~(e/60),2)+t+T(~~e%60,2)}))}jt("Z",":"),jt("ZZ",""),me("Z",ce),me("ZZ",ce),we(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=Wt(ce,e)}));var Rt=/([\+\-]|\d\d)/gi;function Wt(e,t){var i,n,r=(t||"").match(e);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(Rt)||["-",0,0])[1]+Z(i[2]))?0:"+"===i[0]?n:-n}function Ot(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(y(e)||h(e)?e.valueOf():Nt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Nt(e).local()}function Zt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qt(e,t){var i,n,r,s,o,h,d=e,c=null;return Et(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(d={},t?d[t]=+e:d.milliseconds=+e):(c=Vt.exec(e))?(i="-"===c[1]?-1:1,d={y:0,d:Z(c[ke])*i,h:Z(c[De])*i,m:Z(c[Me])*i,s:Z(c[Se])*i,ms:Z($t(1e3*c[Ie]))*i}):(c=Xt.exec(e))?d={y:Jt(c[2],i="-"===c[1]?-1:1),M:Jt(c[3],i),w:Jt(c[4],i),d:Jt(c[5],i),h:Jt(c[6],i),m:Jt(c[7],i),s:Jt(c[8],i)}:null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=Nt(d.from),o=Nt(d.to),r=s.isValid()&&o.isValid()?(o=Ot(o,s),s.isBefore(o)?h=Qt(s,o):((h=Qt(o,s)).milliseconds=-h.milliseconds,h.months=-h.months),h):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),n=new At(d),Et(e)&&a(e,"_locale")&&(n._locale=e._locale),Et(e)&&a(e,"_isValid")&&(n._isValid=e._isValid),n}function Jt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Qt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Kt(e,t){return function(i,n){var r;return null===n||isNaN(+n)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),ei(this,qt(i,n),e),this}}function ei(e,t,n,r){var a=t._milliseconds,s=$t(t._days),o=$t(t._months);e.isValid()&&(r=null==r||r,o&&Be(e,V(e,"Month")+o*n),s&&X(e,"Date",V(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,s||o))}qt.fn=At.prototype,qt.invalid=function(){return qt(NaN)};var ti=Kt(1,"add"),ii=Kt(-1,"subtract");function ni(e){return"string"==typeof e||e instanceof String}function ri(e){return y(e)||h(e)||ni(e)||l(e)||function(e){var t=n(e),i=!1;return t&&(i=0===e.filter((function(t){return!l(t)&&ni(e)})).length),t&&i}(e)||function(e){var t,i=r(e)&&!s(e),n=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=o.length;for(t=0;t<l;t+=1)n=n||a(e,o[t]);return i&&n}(e)||null==e}function ai(e,t){if(e.date()<t.date())return-ai(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var hi=1e3,di=6e4,ci=36e5,ui=126227808e5;function mi(e,t){return(e%t+t)%t}function fi(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ui:new Date(e,t,i).valueOf()}function pi(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ui:Date.UTC(e,t,i)}function gi(e,t){return t.erasAbbrRegex(e)}function wi(){var e,t,i=[],n=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)n.push(pe(s[e].name)),i.push(pe(s[e].abbr)),r.push(pe(s[e].narrow)),a.push(pe(s[e].name)),a.push(pe(s[e].abbr)),a.push(pe(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function vi(e,t){_(0,[e,e.length],0,t)}function bi(e,t,i,n,r){var a;return null==e?Ze(this,n,r).year:(t>(a=ze(e,n,r))&&(t=a),Ci.call(this,e,t,i,n,r))}function Ci(e,t,i,n,r){var a=Oe(e,t,i,n,r),s=Re(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}_("N",0,0,"eraAbbr"),_("NN",0,0,"eraAbbr"),_("NNN",0,0,"eraAbbr"),_("NNNN",0,0,"eraName"),_("NNNNN",0,0,"eraNarrow"),_("y",["y",1],"yo","eraYear"),_("y",["yy",2],0,"eraYear"),_("y",["yyy",3],0,"eraYear"),_("y",["yyyy",4],0,"eraYear"),me("N",gi),me("NN",gi),me("NNN",gi),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),we(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?m(i).era=r:m(i).invalidEra=e})),me("y",le),me("yy",le),me("yyy",le),me("yyyy",le),me("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),we(["y","yy","yyy","yyyy"],ye),we(["yo"],(function(e,t,i){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),t[ye]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(e,n):parseInt(e,10)})),_(0,["gg",2],0,(function(){return this.weekYear()%100})),_(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),vi("gggg","weekYear"),vi("ggggg","weekYear"),vi("GGGG","isoWeekYear"),vi("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),me("G",he),me("g",he),me("GG",ie,Q),me("gg",ie,Q),me("GGGG",se,ee),me("gggg",se,ee),me("GGGGG",oe,te),me("ggggg",oe,te),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=Z(e)})),ve(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),_("Q",0,"Qo","quarter"),A("quarter","Q"),R("quarter",7),me("Q",J),we("Q",(function(e,t){t[xe]=3*(Z(e)-1)})),_("D",["DD",2],"Do","date"),A("date","D"),R("date",9),me("D",ie),me("DD",ie,Q),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),we(["D","DD"],ke),we("Do",(function(e,t){t[ke]=Z(e.match(ie)[0])}));var yi=z("Date",!0);_("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),R("dayOfYear",4),me("DDD",ae),me("DDDD",K),we(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=Z(e)})),_("m",["mm",2],0,"minute"),A("minute","m"),R("minute",14),me("m",ie),me("mm",ie,Q),we(["m","mm"],Me);var xi=z("Minutes",!1);_("s",["ss",2],0,"second"),A("second","s"),R("second",15),me("s",ie),me("ss",ie,Q),we(["s","ss"],Se);var ki,Di,Mi=z("Seconds",!1);for(_("S",0,0,(function(){return~~(this.millisecond()/100)})),_(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),_(0,["SSS",3],0,"millisecond"),_(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),_(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),_(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),_(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),_(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),_(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),A("millisecond","ms"),R("millisecond",16),me("S",ae,J),me("SS",ae,Q),me("SSS",ae,K),ki="SSSS";ki.length<=9;ki+="S")me(ki,le);function Si(e,t){t[Ie]=Z(1e3*("0."+e))}for(ki="S";ki.length<=9;ki+="S")we(ki,Si);Di=z("Milliseconds",!1),_("z",0,0,"zoneAbbr"),_("zz",0,0,"zoneName");var Ii=C.prototype;function Yi(e){return e}Ii.add=ti,Ii.calendar=function(e,t){1===arguments.length&&(arguments[0]?ri(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,i=r(e)&&!s(e),n=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=n||a(e,o[t]);return i&&n}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Nt(),o=Ot(n,this).startOf("day"),l=i.calendarFormat(this,o)||"sameElse",h=t&&(I(t[l])?t[l].call(this,n):t[l]);return this.format(h||this.localeData().calendar(l,this,Nt(n)))},Ii.clone=function(){return new C(this)},Ii.diff=function(e,t,i){var n,r,a;if(!this.isValid())return NaN;if(!(n=Ot(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=E(t)){case"year":a=ai(this,n)/12;break;case"month":a=ai(this,n);break;case"quarter":a=ai(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-r)/864e5;break;case"week":a=(this-n-r)/6048e5;break;default:a=this-n}return i?a:O(a)},Ii.endOf=function(e){var t,n;if(void 0===(e=E(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pi:fi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ci-mi(t+(this._isUTC?0:this.utcOffset()*di),ci)-1;break;case"minute":t=this._d.valueOf(),t+=di-mi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=hi-mi(t,hi)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},Ii.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)},Ii.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Nt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ii.fromNow=function(e){return this.from(Nt(),e)},Ii.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Nt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ii.toNow=function(e){return this.to(Nt(),e)},Ii.get=function(e){return I(this[e=E(e)])?this[e]():this},Ii.invalidAt=function(){return m(this).overflow},Ii.isAfter=function(e,t){var i=y(e)?e:Nt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},Ii.isBefore=function(e,t){var i=y(e)?e:Nt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},Ii.isBetween=function(e,t,i,n){var r=y(e)?e:Nt(e),a=y(t)?t:Nt(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))},Ii.isSame=function(e,t){var i,n=y(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},Ii.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Ii.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Ii.isValid=function(){return f(this)},Ii.lang=oi,Ii.locale=si,Ii.localeData=li,Ii.max=Ht,Ii.min=_t,Ii.parsingFlags=function(){return c({},m(this))},Ii.set=function(e,t){if("object"==typeof e){var i,n=function(e){var t,i=[];for(t in e)a(e,t)&&i.push({unit:t,priority:j[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}(e=$(e)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](e[n[i].unit])}else if(I(this[e=E(e)]))return this[e](t);return this},Ii.startOf=function(e){var t,n;if(void 0===(e=E(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pi:fi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*di),ci);break;case"minute":t=this._d.valueOf(),t-=mi(t,di);break;case"second":t=this._d.valueOf(),t-=mi(t,hi)}return this._d.setTime(t),i.updateOffset(this,!0),this},Ii.subtract=ii,Ii.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Ii.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Ii.toDate=function(){return new Date(this.valueOf())},Ii.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?H(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(i,"Z")):H(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ii.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i="moment",n="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ii[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ii.toJSON=function(){return this.isValid()?this.toISOString():null},Ii.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ii.unix=function(){return Math.floor(this.valueOf()/1e3)},Ii.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ii.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ii.eraName=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""},Ii.eraNarrow=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""},Ii.eraAbbr=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""},Ii.eraYear=function(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-i(a[e].since).year())*n+a[e].offset;return this.year()},Ii.year=$e,Ii.isLeapYear=function(){return W(this.year())},Ii.weekYear=function(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ii.isoWeekYear=function(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Ii.quarter=Ii.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Ii.month=Fe,Ii.daysInMonth=function(){return Te(this.year(),this.month())},Ii.week=Ii.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Ii.isoWeek=Ii.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Ii.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},Ii.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},Ii.isoWeeksInYear=function(){return ze(this.year(),1,4)},Ii.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},Ii.date=yi,Ii.day=Ii.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Ii.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Ii.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Ii.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Ii.hour=Ii.hours=st,Ii.minute=Ii.minutes=xi,Ii.second=Ii.seconds=Mi,Ii.millisecond=Ii.milliseconds=Di,Ii.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Wt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?ei(this,qt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Zt(this)},Ii.utc=function(e){return this.utcOffset(0,e)},Ii.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Zt(this),"m")),this},Ii.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Ii.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Nt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Ii.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ii.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ii.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ii.isUtc=zt,Ii.isUTC=zt,Ii.zoneAbbr=function(){return this._isUTC?"UTC":""},Ii.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ii.dates=k("dates accessor is deprecated. Use date instead.",yi),Ii.months=k("months accessor is deprecated. Use month instead",Fe),Ii.years=k("years accessor is deprecated. Use year instead",$e),Ii.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Ii.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Pt(t))._a?(e=t._isUTC?u(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var n,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(n=0;n<r;n++)(i&&e[n]!==t[n]||!i&&Z(e[n])!==Z(t[n]))&&s++;return s+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Gi=G.prototype;function Ti(e,t,i,n){var r=gt(),a=u().set(n,t);return r[i](a,e)}function Ui(e,t,i){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ti(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Ti(e,n,i,"month");return r}function Pi(e,t,i,n){"boolean"==typeof e?(l(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,l(t)&&(i=t,t=void 0),t=t||"");var r,a=gt(),s=e?a._week.dow:0,o=[];if(null!=i)return Ti(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=Ti(t,(r+s)%7,n,"day");return o}Gi.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return I(n)?n.call(t,i):n},Gi.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(U).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Gi.invalidDate=function(){return this._invalidDate},Gi.ordinal=function(e){return this._ordinal.replace("%d",e)},Gi.preparse=Yi,Gi.postformat=Yi,Gi.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return I(r)?r(e,t,i,n):r.replace(/%d/i,e)},Gi.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return I(i)?i(t):i.replace(/%s/i,t)},Gi.set=function(e){var t,i;for(i in e)a(e,i)&&(I(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Gi.eras=function(){var e,t,n,r=this._eras||gt("en")._eras;for(e=0,t=r.length;e<t;++e)switch("string"==typeof r[e].since&&(n=i(r[e].since).startOf("day"),r[e].since=n.valueOf()),typeof r[e].until){case"undefined":r[e].until=1/0;break;case"string":n=i(r[e].until).startOf("day").valueOf(),r[e].until=n.valueOf()}return r},Gi.erasParse=function(e,t,i){var n,r,a,s,o,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(a=l[n].name.toUpperCase(),s=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[n];break;case"NNNN":if(a===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if([a,s,o].indexOf(e)>=0)return l[n]},Gi.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},Gi.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||wi.call(this),e?this._erasAbbrRegex:this._erasRegex},Gi.erasNameRegex=function(e){return a(this,"_erasNameRegex")||wi.call(this),e?this._erasNameRegex:this._erasRegex},Gi.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||wi.call(this),e?this._erasNarrowRegex:this._erasRegex},Gi.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},Gi.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Gi.monthsParse=function(e,t,i){var n,r,a;if(this._monthsParseExact)return He.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=u([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},Gi.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=_e),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Gi.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Gi.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},Gi.firstDayOfYear=function(){return this._week.doy},Gi.firstDayOfWeek=function(){return this._week.dow},Gi.weekdays=function(e,t){var i=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(i,this._week.dow):e?i[e.day()]:i},Gi.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Gi.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Gi.weekdaysParse=function(e,t,i){var n,r,a;if(this._weekdaysParseExact)return tt.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=u([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},Gi.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Gi.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Gi.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Gi.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Gi.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=k("moment.lang is deprecated. Use moment.locale instead.",ft),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",gt);var Li=Math.abs;function Ni(e,t,i,n){var r=qt(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function _i(e){return e<0?Math.floor(e):Math.ceil(e)}function Hi(e){return 4800*e/146097}function Bi(e){return 146097*e/4800}function Fi(e){return function(){return this.as(e)}}var Ai=Fi("ms"),Ei=Fi("s"),$i=Fi("m"),ji=Fi("h"),Ri=Fi("d"),Wi=Fi("w"),Oi=Fi("M"),Zi=Fi("Q"),zi=Fi("y");function Vi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xi=Vi("milliseconds"),qi=Vi("seconds"),Ji=Vi("minutes"),Qi=Vi("hours"),Ki=Vi("days"),en=Vi("months"),tn=Vi("years");var nn=Math.round,rn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function an(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var sn=Math.abs;function on(e){return(e>0)-(e<0)||+e}function ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,r,a,s,o,l=sn(this._milliseconds)/1e3,h=sn(this._days),d=sn(this._months),c=this.asSeconds();return c?(e=O(l/60),t=O(e/60),l%=60,e%=60,i=O(d/12),d%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",a=on(this._months)!==on(c)?"-":"",s=on(this._days)!==on(c)?"-":"",o=on(this._milliseconds)!==on(c)?"-":"",r+"P"+(i?a+i+"Y":"")+(d?a+d+"M":"")+(h?s+h+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var hn=At.prototype;return hn.isValid=function(){return this._isValid},hn.abs=function(){var e=this._data;return this._milliseconds=Li(this._milliseconds),this._days=Li(this._days),this._months=Li(this._months),e.milliseconds=Li(e.milliseconds),e.seconds=Li(e.seconds),e.minutes=Li(e.minutes),e.hours=Li(e.hours),e.months=Li(e.months),e.years=Li(e.years),this},hn.add=function(e,t){return Ni(this,e,t,1)},hn.subtract=function(e,t){return Ni(this,e,t,-1)},hn.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=E(e))||"quarter"===e||"year"===e)switch(i=this._months+Hi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Bi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},hn.asMilliseconds=Ai,hn.asSeconds=Ei,hn.asMinutes=$i,hn.asHours=ji,hn.asDays=Ri,hn.asWeeks=Wi,hn.asMonths=Oi,hn.asQuarters=Zi,hn.asYears=zi,hn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},hn._bubble=function(){var e,t,i,n,r,a=this._milliseconds,s=this._days,o=this._months,l=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*_i(Bi(o)+s),s=0,o=0),l.milliseconds=a%1e3,e=O(a/1e3),l.seconds=e%60,t=O(e/60),l.minutes=t%60,i=O(t/60),l.hours=i%24,s+=O(i/24),o+=r=O(Hi(s)),s-=_i(Bi(r)),n=O(o/12),o%=12,l.days=s,l.months=o,l.years=n,this},hn.clone=function(){return qt(this)},hn.get=function(e){return e=E(e),this.isValid()?this[e+"s"]():NaN},hn.milliseconds=Xi,hn.seconds=qi,hn.minutes=Ji,hn.hours=Qi,hn.days=Ki,hn.weeks=function(){return O(this.days()/7)},hn.months=en,hn.years=tn,hn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,a=rn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},rn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=function(e,t,i,n){var r=qt(e).abs(),a=nn(r.as("s")),s=nn(r.as("m")),o=nn(r.as("h")),l=nn(r.as("d")),h=nn(r.as("M")),d=nn(r.as("w")),c=nn(r.as("y")),u=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||s<=1&&["m"]||s<i.m&&["mm",s]||o<=1&&["h"]||o<i.h&&["hh",o]||l<=1&&["d"]||l<i.d&&["dd",l];return null!=i.w&&(u=u||d<=1&&["w"]||d<i.w&&["ww",d]),(u=u||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=t,u[3]=+e>0,u[4]=n,an.apply(null,u)}(this,!r,a,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},hn.toISOString=ln,hn.toString=ln,hn.toJSON=ln,hn.locale=si,hn.localeData=li,hn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ln),hn.lang=oi,_("X",0,0,"unix"),_("x",0,0,"valueOf"),me("x",he),me("X",/[+-]?\d+(\.\d{1,3})?/),we("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),we("x",(function(e,t,i){i._d=new Date(Z(e))})),
|
|
2
|
+
//! moment.js
|
|
3
|
+
i.version="2.29.4",e=Nt,i.fn=Ii,i.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=u,i.unix=function(e){return Nt(1e3*e)},i.months=function(e,t){return Ui(e,t,"months")},i.isDate=h,i.locale=ft,i.invalid=p,i.duration=qt,i.isMoment=y,i.weekdays=function(e,t,i){return Pi(e,t,i,"weekdays")},i.parseZone=function(){return Nt.apply(null,arguments).parseZone()},i.localeData=gt,i.isDuration=Et,i.monthsShort=function(e,t){return Ui(e,t,"monthsShort")},i.weekdaysMin=function(e,t,i){return Pi(e,t,i,"weekdaysMin")},i.defineLocale=pt,i.updateLocale=function(e,t){if(null!=t){var i,n,r=lt;null!=ht[e]&&null!=ht[e].parentLocale?ht[e].set(Y(ht[e]._config,t)):(null!=(n=mt(e))&&(r=n._config),t=Y(r,t),null==n&&(t.abbr=e),(i=new G(t)).parentLocale=ht[e],ht[e]=i),ft(e)}else null!=ht[e]&&(null!=ht[e].parentLocale?(ht[e]=ht[e].parentLocale,e===ft()&&ft(e)):null!=ht[e]&&delete ht[e]);return ht[e]},i.locales=function(){return D(ht)},i.weekdaysShort=function(e,t,i){return Pi(e,t,i,"weekdaysShort")},i.normalizeUnits=E,i.relativeTimeRounding=function(e){return void 0===e?nn:"function"==typeof e&&(nn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==rn[e]&&(void 0===t?rn[e]:(rn[e]=t,"s"===e&&(rn.ss=t-1),!0))},i.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=Ii,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}();const C=b.exports,y=class{constructor(i){e(this,i),this.showMoreGamesEvent=t(this,"showMoreGames",7),this.backFromPowerupDetailEvent=t(this,"backFromPowerupDetail",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.pid=void 0,this.powerupId=void 0,this.isPowering=!1,this.powerUp=null,this.powerUpGames=void 0,this.isLoading=!0,this.isLoadingGames=!0,this.limit=20}showPowerupDetailsHandler(e){this.pid=e.detail.id}async loadPowerUpById(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const e=new URL(`${this.endpoint}/v1/elevate/powerups`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};e.searchParams.append("filter",`id=${this.pid}`),Object.entries(g).forEach((([t,i])=>{e.searchParams.append(t,i)}));const i=await fetch(e.href,t);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:n}=await i.json();n.length&&(this.powerUp=n[0],this.powerUpGames=this.powerUp.games,this.powerupId=this.powerUp.powerUpID),this.loadGamesByPID()}catch(e){console.error("Failed to load Power-ups:",e),4003===e.errorCode&&window.postMessage({type:e.errorMessage})}finally{this.isLoading=!1}}}loadGamesByPID(){var e,t;if(this.endpoint&&this.session&&this.powerupId){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const i=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};i.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(w).forEach((([e,t])=>{i.searchParams.append(e,t)})),i.searchParams.append("language",this.language),fetch(i,n).then((e=>{if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return e.json()})).then((e=>{var t,i;let n=this.powerUpGames;n.items=[...n.items,...(null===(t=e.games)||void 0===t?void 0:t.items)||[]],this.powerUpGames.items=[...n.items,...(null===(i=e.games)||void 0===i?void 0:i.items)||[]]}))}catch(e){console.error("Failed to load more games:",e)}finally{this.isLoadingGames=!1}}}async activePowerUp(e){if(this.endpoint&&this.session&&e.status!==a.ACTIVATING&&!this.isPowering){this.isLoading=!0,e.status=a.ACTIVATING,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const n=await fetch(t.href,i);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const r=await n.json();(null==r?void 0:r.success)&&(this.powerUp=Object.assign(Object.assign({},e),{status:a.ACTIVATED,activatedAt:s(new Date).format("YYYY-MM-DD HH:mm:ssZ")}))}catch(e){console.error(e)}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}showMoreGames(){this.showMoreGamesEvent.emit(this.powerUp.id)}backTo(){this.backFromPowerupDetailEvent.emit()}render(){var e,t;return i("div",{key:"1c2ebc3c485eaf8846c71f12d0aa7d1a07f9a3ef",class:"IngamePowerUpDetailContainer",ref:e=>this.stylingContainer=e},i("div",{key:"d6d33b939a8798ac8f3df8979756687d1839570a",class:"MainContainer"},i("div",{key:"9f0ddbfa404cd07b2b2a981634c54ffaad8916e7",class:"TopBar"},i("div",{key:"f84b91a263a3a135b89631e7daccafb07cf768c6",onClick:this.backTo.bind(this),class:"ReturnIcon CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),i("div",{key:"a83a7a2c1f9e88d3b77f91a6b6ca56de51c657cc",class:"Title"}," ",(null===(e=this.powerUp)||void 0===e?void 0:e.powerUpName)||""," ")),this.isLoading?i("div",{class:"Loading"},i("smart-loader",null)):null==this.powerUp?i("div",{class:"NoData"},"No data found "):i("div",{class:"DetailInfo"},i("div",{class:"Description"},this.powerUp.description),i("div",{class:"MultiplierContainer Card CircleLinearBorder"},i("div",{class:"FlexRow CircleInner"},i("div",{class:"Duration"},i("div",{class:"Label"}," ",p("duration",this.language)," "),i("div",{class:"Value"},this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"],p("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"))),i("div",{class:"Multiplier"},i("div",{class:"Label"}," ",p("multiplier",this.language)," "),i("div",{class:"Value"},this.powerUp.multiplier.coefficient,"x ",p("coins"===this.powerUp.multiplier.mode?"coins":"xp"))),i("div",{class:"ExpireTime"},i("div",{class:"Label"}," ",p("endDate",this.language)," "),i("div",{class:"Value"},i("time-count-detail",{pid:this.powerUp.id,"expire-time":(t=this.powerUp,t.activatedAt&&t.status==a.ACTIVATED?C(t.activatedAt).add(t.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):t.expireTime),lang:this.language}))))),i("div",{class:"TermsUrl"},i("div",{class:"Label"},i("div",null," ",p("termsAndConditions",this.language)," "),i("div",{class:"GoToOpenIcon",innerHTML:'<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.87935 2.15646e-07L4 4.54064e-07C4.27614 4.54064e-07 4.5 0.223858 4.5 0.5C4.5 0.776143 4.27614 1 4 1H2.9C2.47171 1 2.18056 1.00039 1.95552 1.01878C1.73631 1.03669 1.62421 1.06915 1.54601 1.10899C1.35785 1.20487 1.20487 1.35785 1.10899 1.54601C1.06915 1.62421 1.03669 1.73631 1.01878 1.95552C1.00039 2.18056 1 2.47171 1 2.9V7.1C1 7.52829 1.00039 7.81944 1.01878 8.04448C1.03669 8.26369 1.06915 8.37579 1.10899 8.45399C1.20487 8.64215 1.35785 8.79513 1.54601 8.89101C1.62421 8.93085 1.73631 8.96331 1.95552 8.98122C2.18056 8.99961 2.47171 9 2.9 9H7.1C7.52829 9 7.81944 8.99961 8.04448 8.98122C8.26369 8.96331 8.37579 8.93085 8.45399 8.89101C8.64215 8.79513 8.79513 8.64215 8.89101 8.45399C8.93085 8.37579 8.96331 8.26369 8.98122 8.04448C8.99961 7.81944 9 7.52829 9 7.1V6C9 5.72386 9.22386 5.5 9.5 5.5C9.77614 5.5 10 5.72386 10 6V7.12066C10 7.52314 10 7.85532 9.9779 8.12591C9.95494 8.40696 9.90566 8.66531 9.78201 8.90798C9.59027 9.28431 9.28431 9.59027 8.90798 9.78201C8.66531 9.90566 8.40696 9.95494 8.12591 9.9779C7.85532 10 7.52314 10 7.12066 10H2.87934C2.47686 10 2.14468 10 1.87409 9.9779C1.59304 9.95494 1.33469 9.90566 1.09202 9.78201C0.715696 9.59027 0.409734 9.28431 0.217988 8.90798C0.094342 8.66531 0.0450599 8.40696 0.0220973 8.12591C-1.14068e-05 7.85532 -6.16205e-06 7.52314 2.15646e-07 7.12065V2.87935C-6.16205e-06 2.47687 -1.14068e-05 2.14469 0.0220973 1.87409C0.0450599 1.59304 0.094342 1.33469 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.33469 0.094342 1.59304 0.0450599 1.87409 0.0220973C2.14469 -1.14068e-05 2.47687 -6.16205e-06 2.87935 2.15646e-07ZM5.99999 0.500005C5.99999 0.223863 6.22385 5.22244e-06 6.49999 5.22244e-06H9.49999C9.77613 5.22244e-06 9.99999 0.223863 9.99999 0.500005L9.99999 3.5C9.99999 3.77615 9.77613 4 9.49999 4.00001C9.22385 4.00001 8.99999 3.77615 8.99999 3.50001L8.99999 1.70711L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355C4.45119 5.15829 4.45118 4.84171 4.64645 4.64645L8.29288 1.00001H6.49999C6.22385 1.00001 5.99999 0.776148 5.99999 0.500005Z" fill="#00B541"/>\n</svg>\n'})),i("div",{class:"TextContent"},p("playResponsibly",this.language))),i("div",{class:"GamesWrapper Card CircleLinearBorder"},i("div",{class:"CircleInner"},i("div",{class:"FlexRow GamesHeader"},i("div",{class:"RowLeft"},i("div",{class:"GamesTitle"}," ",p("games",this.language)," "),i("div",{class:"GamesTotal TextContent"},"( ",this.powerUp.games.total," )")),i("div",{class:"RowRight",onClick:this.showMoreGames.bind(this)},i("div",{class:"TextContent"},p("seeAll",this.language)),i("div",{class:"DetailIcon"},i("div",{innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})))),i("div",{class:"Games FlexRow"},i("div",{class:"Container"},this.powerUp.games.total&&this.powerUp.games.items.map((e=>i("div",{class:"Game"},i("ui-image",{src:e.thumbnail,onClick:this.onGameClick.bind(this,e)}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,p("playNow",this.language))))))))))))),i("div",{key:"08f6b4e44425817f81615609289d1d8db43ef930",class:"BottomBar FlexRow"},i("div",{key:"ad95d1b98f2922ee40e4dbecf3b6dd9173d38e31",class:"ActiveTips"}," ",p("activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===a.ACTIVE||this.powerUp.status===a.ACTIVATING)&&i("div",{key:"3a6537e3f04e5c83f32fc0b9dbd8a9f9fabfd2b1",class:`ActiveBtn CircleLinearBorder ${this.isPowering?"Disabled":""} ${this.powerUp.status===a.ACTIVATING?"Activating":""}`,onClick:this.activePowerUp.bind(this,this.powerUp)},i("div",{key:"3b76c267f34179e5c825f2e23860bd6f98b0fc54",class:"content"}," ",p("activate",this.language)))))}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&l(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&l(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleNewTranslations(){f(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await f(this.translationUrl),this.loadPowerUpById()}static get watchers(){return{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};y.style='@charset "UTF-8";:host{display:block;height:100%}.IngamePowerUpDetailContainer{gap:5px;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);height:100%;justify-content:space-between;flex-direction:column;}.IngamePowerUpDetailContainer .CircleLinearBorder{position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpDetailContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpDetailContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpDetailContainer .FlexRow{display:flex;flex-direction:row;width:100%}.IngamePowerUpDetailContainer .FlexRow .RowLeft,.IngamePowerUpDetailContainer .FlexRow .RowRight{display:flex;flex-direction:row;align-items:center}.IngamePowerUpDetailContainer .NoData,.IngamePowerUpDetailContainer .Loading{padding:15px}.IngamePowerUpDetailContainer .MainContainer{padding:15px}.IngamePowerUpDetailContainer .TopBar{display:flex;align-items:center;padding:0}.IngamePowerUpDetailContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpDetailContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpDetailContainer .TopBar .Title{font-weight:600;font-size:1.2rem;line-height:100%;text-align:center;vertical-align:middle;flex:1;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpDetailContainer .DetailInfo .Description,.IngamePowerUpDetailContainer .DetailInfo .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpDetailContainer .DetailInfo .Card{margin-top:20px;width:100%;height:74px;color:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));backdrop-filter:blur(22.9411773682px);display:flex;flex-direction:row;align-content:space-around;text-align:center}.IngamePowerUpDetailContainer .DetailInfo .Card .Label{color:var(--emw--ingame-color-neutural-95, #C9CACB)}.IngamePowerUpDetailContainer .DetailInfo .Card .Value{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .CircleLinearBorder::before{background:linear-gradient(0deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.1568627451)), var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.07))), linear-gradient(358deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.15)) 33.61%, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.11)) 89.19%);top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:21px}.IngamePowerUpDetailContainer .DetailInfo .CircleInner{background-color:var(--emw--ingame-color-neutural, rgba(9, 9, 9, 0.5019607843));width:calc(100% - 31px);border-radius:19px;z-index:1;padding:15px;height:calc(100% - 32px);align-items:center;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon{margin-left:10px}.IngamePowerUpDetailContainer .DetailInfo .Card.MultiplierContainer{width:100%}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper{height:126px;flex-direction:column;display:flex;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader{justify-content:space-between}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowLeft{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .GamesTitle{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight .DetailIcon{height:23px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Games{width:100%;overflow:Hidden}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Container{width:fit-content;display:flex}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game{height:60px;width:85px;margin:10px;position:relative}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%;font-size:0.85rem;color:var(--emw--ingame-color-text, #fff)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpDetailContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpDetailContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpDetailContainer .ActiveBtn.Disabled:hover,.IngamePowerUpDetailContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpDetailContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpDetailContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(218deg, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.568627451)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843))), linear-gradient(93deg, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.6588235294)) 33.61%, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.5411764706)) 89.19%)}.IngamePowerUpDetailContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}.IngamePowerUpDetailContainer .BottomBar{width:calc(100% - 30px);height:60px;opacity:1;gap:8px;padding:15px;background:rgba(9, 9, 9, 0.8);border-top:2px solid;border-image-source:linear-gradient(89.94deg, var(--emw--ingame-color-powerup-primary2, #003E5C) 0.05%, var(--emw--ingame-color-powerup-primary1, #113B21) 87.69%);backdrop-filter:blur(32.1176490784px);border-image-slice:1;align-items:center;border-radius:0 0 20px 20px}';const x={expand:"games",fields:"id,powerUpID,powerUpName,displayName,games(id,gameId,slug,name,thumbnail)"},k={en:{playNow:"Play Now",games:"Games",noDataFound:"No data found",loading:"Loading",loadingMore:"Loading More"}},D=(e,t,i)=>{let n=k[void 0!==t&&t in k?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},M=class{constructor(i){e(this,i),this.backFromPowerupGamesEvent=t(this,"backFromPowerupGames",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.powerupId=void 0,this.isLoadingGames=!1,this.powerUpGames={items:[],total:0},this.powerUp=void 0,this.limit=30}initializeGamesObserver(){this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect(),this.loadMoreGamesObserver=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&this.loadMoreGames().catch(console.error)}))})),this.lastGameElement&&this.loadMoreGamesObserver.observe(this.lastGameElement)}async loadMoreGames(){var e,t,i,n;if(!(this.isLoadingGames||this.powerUpGames.total>0&&this.powerUpGames.items.length>=this.powerUpGames.total)){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=${this.limit},offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),a={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(x).forEach((([e,t])=>{r.searchParams.append(e,t)})),r.searchParams.append("language",this.language);const s=await fetch(r,a);if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const o=await s.json();this.powerUp=o.data[0];const l=(null===(i=this.powerUp.games)||void 0===i?void 0:i.items)||[];this.powerUpGames={items:[...this.powerUpGames.items,...l],total:(null===(n=this.powerUp.games)||void 0===n?void 0:n.total)||this.powerUpGames.total}}catch(e){"AbortError"!==e.name&&console.error("Failed to load more games:",e)}finally{this.abortController.signal.aborted||(this.isLoadingGames=!1)}}}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}componentDidUpdate(){this.powerUpGames.items.length<this.powerUpGames.total&&this.initializeGamesObserver()}render(){var e,t;return i("div",{key:"0d034307e070a8ba1d88303c3e3093ba567444b2",class:"IngamePowerUpGamesContainer",ref:e=>this.stylingContainer=e},i("div",{key:"7b01f05d91d274da4ae0de3fc63e55927946b095",class:"TopBar"},i("div",{key:"f8664bf99bb12513f281fe67ee24cd0794d9ba66",class:"ReturnIcon CircleLinearBorder",onClick:this.backFromPowerupGamesEvent.emit,innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),this.powerUp&&i("div",{key:"56083e9dfbc469875b0448f471c455ef8e1fb613",class:"Title TextContent"},i("span",{key:"6cde7a32b98c4f8d240cfda6f715e2d3fd4b0a25",class:"Name"},this.powerUp.displayName)," /",i("div",{key:"a2045a41ad40665fa553b7f1e2a25628344188fc",class:"Label"},D("games",this.language)),i("div",{key:"a2cc2c8a5ebb29b097da802984099860410e0c25",class:"GamesTotal"},"( ",this.powerUpGames.total||""," )"))),i("div",{key:"b335d598aeea740b4e4a2e58a4061bf092abb773",class:"GamesWrapper Card "},this.isLoadingGames&&0===this.powerUpGames.items.length&&i("div",{key:"fced976e5554f7864fcf8755494c0cfd74f19a0f",class:"Loading"},i("div",{key:"8653c05c761078e11d6c060e5f1d519a133f2d8a",class:"smart-loader"},i("div",{key:"4404881893636a48de508d95ab8d6bd09d05acae",class:"smart-item"}),i("div",{key:"8aeafd883609d5840f7603b58300ee9c9350746c",class:"smart-item"}),i("div",{key:"ded309b5a38d7775c27b3b38dd78746caf5aa557",class:"smart-item"}))),this.isLoadingGames||this.powerUp?i("div",{class:"CircleInner GamesList"},i("div",{class:"Games FlexRow"},this.powerUpGames.total>0&&this.powerUpGames.items.map(((e,t)=>i("div",{class:"Game",ref:t===this.powerUpGames.items.length-1?e=>this.lastGameElement=e:null},i("ui-image",{src:e.thumbnail,alt:e.name}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,D("playNow",this.language))))))),this.isLoadingGames&&(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)>this.limit&&i("p",{class:"LoadingMore"},D("loadingMore",this.language)))):i("div",{class:"NoData"},D("noDataFound",this.language)," ")))}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&l(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentWillLoad(){this.loadMoreGames()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&l(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.abortController&&this.abortController.abort(),this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect()}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}}};M.style=':host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}';const S={en:{powerups:"Power-ups",activate:"Activate",expiresIn:"Expires in - ",xp:"Points",coins:"Coins",minutes:"min",rounds:"rounds",days:"Days",nothingHere:"Nothing here -- yet!",noPowerUps:"No power-ups have been used at the moment.",poweringTooltip:"Power-ups are currently unavailable as you have already activated one power-up. Only one power-up can be active at a time."}},I=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{S[t]||(S[t]={});for(let i in e[t])S[t][i]=e[t][i]})),t(!0)}))})),Y=(e,t,i)=>{let n=S[void 0!==t&&t in S?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},G={fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,activatedAt",status:`${a.ACTIVE},${a.ACTIVATED}`},T=class{constructor(i){e(this,i),this.showDetailsEvent=t(this,"showPowerupDetails",7),this.powerupsLoadEvent=t(this,"powerupsLoad",7),this.closePowerupsEvent=t(this,"closePowerupsList",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=10,this.isLoading=!0,this.isActivating=!1,this.powerups=[],this.isPowering=!1}reloadPowerupsHandler(){this.loadData()}powerupTimeCountDownHandler(e){e.detail.timeLeft<=0&&this.loadData()}async loadData(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const e=new URL(`${this.endpoint}/v1/elevate/powerups?pagination=offset=0,limit=${this.limit}`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};Object.entries(G).forEach((([t,i])=>{e.searchParams.append(t,i)})),e.searchParams.append("language",this.language);const i=await fetch(e,t);if(!i.ok)throw window.postMessage({type:"errorWhenLoadPowerups",status:i.status}),new Error(`HTTP error! status: ${i.status}`);const{data:n}=await i.json();this.powerups=n,this.isPowering=this.powerups.filter((e=>e.status===a.ACTIVATED)).length>0,this.powerupsLoadEvent.emit({powerups:this.powerups})}catch(e){"AbortError"!==e.name&&console.error("Failed to load powerups:",e)}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}async activePowerUp(e){if(this.endpoint&&this.session&&!this.isActivating&&!this.isPowering){this.isActivating=!0,this.powerups.forEach((t=>{t.id===e.id&&(t.status=a.ACTIVATING)})),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const n=await fetch(t.href,i);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const r=await n.json();if(null==r?void 0:r.success){e=Object.assign(Object.assign({},e),{status:a.ACTIVATED,activatedAt:s(new Date).format("YYYY-MM-DD HH:mm:ssZ")});const t=this.powerups.findIndex((t=>t.id===e.id));this.powerups[t]=Object.assign({},e),this.powerups=[...this.powerups],this.isPowering=!0}}catch(e){console.error(e)}finally{this.abortController.signal.aborted||(this.isActivating=!1)}}}onClose(){this.closePowerupsEvent.emit({powerups:this.powerups})}showDetail(e){this.showDetailsEvent.emit({id:e})}render(){return i("div",{key:"eedb6e5b3bfca30d017bb077e4bf41001f1e07d7",class:"IngamePowerUpsContainer",ref:e=>this.stylingContainer=e},i("div",{key:"bfd1a61b883761d084057f4d2fee8473198b6cea",class:"TopBar"},i("span",{key:"a3a0b4a6d4249d331cf9d4dc36ef07253d820758",class:"BarTitle"},Y("powerups",this.language)),i("div",{key:"0be0d805aaaaa5982e8243c227d3f49d4371fb33",class:"IconBtn CircleLinearBorder",onClick:this.onClose.bind(this),innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1.75 12.2505L12.25 1.75049" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M1.75 1.75049L12.25 12.2505" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})),this.isLoading?i("smart-loader",null):i("div",{class:"Cards"},this.isPowering&&i("div",{class:"Card PoweringDesc"},i("div",{class:"FlexRow"},i("div",{class:"Icon",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.99967 1.75016C4.10018 1.75016 1.74967 4.10067 1.74967 7.00016C1.74967 9.89966 4.10018 12.2502 6.99967 12.2502C9.89917 12.2502 12.2497 9.89966 12.2497 7.00016C12.2497 4.10067 9.89917 1.75016 6.99967 1.75016ZM0.583008 7.00016C0.583008 3.45634 3.45585 0.583496 6.99967 0.583496C10.5435 0.583496 13.4163 3.45634 13.4163 7.00016C13.4163 10.544 10.5435 13.4168 6.99967 13.4168C3.45585 13.4168 0.583008 10.544 0.583008 7.00016ZM6.41634 4.66683C6.41634 4.34466 6.67751 4.0835 6.99967 4.0835H7.00551C7.32767 4.0835 7.58884 4.34466 7.58884 4.66683C7.58884 4.989 7.32767 5.25016 7.00551 5.25016H6.99967C6.67751 5.25016 6.41634 4.989 6.41634 4.66683ZM6.99967 6.41683C7.32184 6.41683 7.58301 6.678 7.58301 7.00016V9.3335C7.58301 9.65566 7.32184 9.91683 6.99967 9.91683C6.67751 9.91683 6.41634 9.65566 6.41634 9.3335V7.00016C6.41634 6.678 6.67751 6.41683 6.99967 6.41683Z" fill="url(#paint0_linear_4493_116)"/>\n<defs>\n<linearGradient id="paint0_linear_4493_116" x1="9.23362" y1="14.7353" x2="-7.16233" y2="0.909066" gradientUnits="userSpaceOnUse">\n<stop stop-color="#D6FFDC"/>\n<stop offset="0.671344" stop-color="#74B580"/>\n<stop offset="1" stop-color="#509142"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Text"},Y("poweringTooltip",this.language)))),this.powerups.map((e=>{return i("div",{class:"Card"},i("div",{class:"PowerupTitle FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"EnergyIcon",innerHTML:'<svg width="16" height="23" viewBox="0 0 16 23" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.9994 7.31774H10.7237L13.8675 1.56809C13.9553 1.40902 14.0015 1.22856 14.0015 1.04488C14.0014 0.861196 13.955 0.680783 13.867 0.521802C13.779 0.362822 13.6525 0.230887 13.5002 0.139282C13.3479 0.0476784 13.1752 -0.000360859 12.9995 2.04092e-06H6.00004C5.81422 -8.84852e-05 5.63206 0.0539544 5.47398 0.156068C5.3159 0.258181 5.18817 0.404325 5.1051 0.578103L0.105459 11.032C0.0292615 11.1914 -0.00668829 11.3686 0.00102409 11.5466C0.00873646 11.7246 0.0598548 11.8976 0.149524 12.0492C0.239193 12.2008 0.364436 12.3259 0.513357 12.4126C0.662278 12.4993 0.829932 12.5448 1.0004 12.5447H5.65607L3.04225 21.6532C2.97593 21.8834 2.98756 22.1306 3.0752 22.3529C3.16284 22.5752 3.32112 22.7592 3.52336 22.8738C3.7256 22.9883 3.95944 23.0265 4.18546 22.9818C4.41147 22.9371 4.61585 22.8124 4.76413 22.6285L15.7634 9.03845C15.8866 8.88622 15.9656 8.70031 15.9911 8.50267C16.0165 8.30503 15.9874 8.10389 15.9071 7.923C15.8267 7.74211 15.6986 7.58901 15.5378 7.48176C15.377 7.37452 15.1902 7.3176 14.9994 7.31774ZM6.33702 17.4465L7.9579 11.8014C8.00301 11.6452 8.01251 11.4801 7.98565 11.3194C7.95878 11.1586 7.8963 11.0067 7.80319 10.8757C7.71009 10.7447 7.58895 10.6384 7.44947 10.5651C7.31 10.4919 7.15605 10.4538 6.99997 10.4539H2.61828L6.618 2.09078H11.2757L8.13189 7.84043C8.04405 7.9995 7.99784 8.17996 7.99792 8.36364C7.99801 8.54732 8.04439 8.72774 8.13238 8.88672C8.22038 9.0457 8.34689 9.17763 8.49917 9.26924C8.65146 9.36084 8.82414 9.40888 8.99983 9.40852H12.8436L6.33702 17.4465Z" fill="url(#paint0_linear_3660_5836)"/>\n<defs>\n<linearGradient id="paint0_linear_3660_5836" x1="0" y1="0" x2="21.8708" y2="9.53767" gradientUnits="userSpaceOnUse">\n<stop stop-color="#F68B2E"/>\n<stop offset="1" stop-color="#F6BB5C"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Name"},e.powerUpName)),i("div",{class:"DetailIcon",onClick:this.showDetail.bind(this,e.id)},i("div",{class:"IconBtn CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}))),i("div",{class:"ExpireTime Status CircleLinearBorder"},i("time-count",e.status===a.ACTIVATED?{language:this.language,"expire-time":(t=e,t.activatedAt&&t.status==a.ACTIVATED?s(t.activatedAt).add(t.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):t.expireTime)}:{language:this.language,"expire-time":e.expireTime})),i("div",{class:"MultiplierInfo FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"MultiplierIcon",innerHTML:'<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M3.03794 4.01199L3.03683 4.01253L3.03516 4.01361L3.03794 4.01199ZM8.56797 3.91054C8.52932 3.87413 8.48643 3.84227 8.44019 3.81561C8.37472 3.77797 8.30204 3.75384 8.22664 3.74472C8.15125 3.7356 8.07473 3.74167 8.00184 3.76257C7.92894 3.78347 7.86121 3.81874 7.80282 3.86621C7.74444 3.91369 7.69665 3.97235 7.66241 4.03857C7.47107 4.40687 7.20713 4.73466 6.88574 5.00311C6.93501 4.73271 6.95992 4.45861 6.96018 4.18395C6.96124 3.3486 6.73559 2.52789 6.3062 1.80538C5.87681 1.08287 5.25902 0.484375 4.51572 0.0708199C4.43382 0.0253751 4.34142 0.00101547 4.24722 3.10685e-05C4.15301 -0.000953328 4.0601 0.0214698 3.97722 0.0651925C3.89433 0.108915 3.82419 0.172501 3.77339 0.249974C3.7226 0.327446 3.69281 0.416259 3.68683 0.508064C3.65573 1.0224 3.51802 1.52521 3.28205 1.98604C3.04608 2.44688 2.71676 2.85614 2.31405 3.18903L2.18627 3.29048C1.76494 3.56728 1.39202 3.90853 1.08182 4.30113C0.599746 4.89413 0.265808 5.58866 0.106489 6.32962C-0.0528307 7.07059 -0.0331479 7.83762 0.163976 8.56986C0.361099 9.30211 0.730241 9.97943 1.24212 10.5481C1.754 11.1168 2.39454 11.5612 3.11294 11.846C3.19728 11.8796 3.28877 11.8923 3.37936 11.8832C3.46994 11.8741 3.55684 11.8434 3.63241 11.7937C3.70797 11.7441 3.76989 11.6771 3.8127 11.5986C3.85552 11.5202 3.87792 11.4326 3.87794 11.3437C3.87748 11.2862 3.86812 11.2292 3.85017 11.1744C3.72587 10.7182 3.69006 10.2433 3.74461 9.77428C4.27043 10.7424 5.11436 11.5097 6.14073 11.9529C6.26596 12.0076 6.4075 12.0149 6.53796 11.9735C7.34878 11.7179 8.07921 11.2641 8.65986 10.6553C9.24051 10.0464 9.65209 9.3027 9.8555 8.49478C10.0589 7.68686 10.0474 6.84157 9.82205 6.03922C9.5967 5.23687 9.165 4.5041 8.56797 3.91054ZM6.39851 10.8712C5.91423 10.6316 5.48701 10.2951 5.14463 9.88369C4.80226 9.47226 4.55239 8.99508 4.41128 8.48316C4.36814 8.31077 4.33475 8.13618 4.31128 7.96021C4.29547 7.84814 4.24418 7.74371 4.16459 7.66152C4.085 7.57932 3.98109 7.52348 3.86739 7.5018C3.83243 7.49517 3.79689 7.4919 3.76128 7.49204C3.66366 7.49195 3.56775 7.51697 3.48319 7.56459C3.39863 7.6122 3.32841 7.68074 3.27961 7.76328C2.81874 8.53972 2.58703 9.42559 2.61016 10.3227C2.20469 10.015 1.86581 9.6317 1.61316 9.19511C1.36052 8.75852 1.19913 8.27731 1.13836 7.77936C1.07759 7.28142 1.11864 6.77664 1.25913 6.29431C1.39963 5.81197 1.63677 5.36166 1.95682 4.96948C2.19983 4.66126 2.49299 4.39406 2.8246 4.17853C2.83912 4.16944 2.85303 4.15948 2.86627 4.14869C2.86627 4.14869 3.03072 4.01578 3.03627 4.01307C3.82805 3.3594 4.39126 2.4808 4.64739 1.49973C5.25263 2.04621 5.65615 2.77254 5.79529 3.56593C5.93442 4.35932 5.80139 5.17538 5.41684 5.88736C5.36595 5.9824 5.34505 6.09002 5.35677 6.19665C5.36849 6.30328 5.41232 6.40412 5.48271 6.48644C5.5531 6.56876 5.64689 6.62886 5.75224 6.65914C5.8576 6.68943 5.96978 6.68855 6.07462 6.65661C6.92559 6.39601 7.67437 5.88711 8.22019 5.1984C8.54836 5.67158 8.76292 6.21098 8.8479 6.77639C8.93287 7.34181 8.88606 7.91866 8.71095 8.46396C8.53584 9.00925 8.23695 9.50892 7.83657 9.92572C7.43618 10.3425 6.94461 10.6657 6.39851 10.8712Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.multiplier.coefficient,"x "),i("div",{class:"MultiplierMode"},Y(e.multiplier.mode===d.COINS?"coins":"xp",this.language)),i("div",{class:"MultiplierIcon",innerHTML:'<svg width="11" height="12" viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.02187 3.84217L9.59599 3.27436C9.71479 3.15556 9.78153 2.99444 9.78153 2.82643C9.78153 2.65842 9.71479 2.49729 9.59599 2.37849C9.47719 2.25969 9.31606 2.19295 9.14805 2.19295C8.98004 2.19295 8.81891 2.25969 8.70011 2.37849L8.1323 2.95261C7.24813 2.26862 6.16191 1.89751 5.04405 1.89751C3.9262 1.89751 2.83997 2.26862 1.9558 2.95261L1.38168 2.37218C1.26205 2.25338 1.10012 2.18697 0.931516 2.18756C0.762915 2.18815 0.601455 2.2557 0.482654 2.37533C0.363853 2.49497 0.297445 2.6569 0.298036 2.8255C0.298628 2.9941 0.366171 3.15556 0.485809 3.27436L1.06624 3.84848C0.374149 4.73019 -0.00137735 5.819 1.65478e-05 6.93989C-0.00204377 7.74455 0.188317 8.53804 0.555222 9.25419C0.922128 9.97034 1.45494 10.5884 2.10923 11.0568C2.76352 11.5252 3.52032 11.8303 4.31651 11.9468C5.11269 12.0633 5.9252 11.9878 6.68625 11.7264C7.4473 11.4651 8.13485 11.0256 8.69154 10.4446C9.24824 9.86362 9.65795 9.15792 9.8865 8.3864C10.1151 7.61487 10.1558 6.79988 10.0054 6.0094C9.85502 5.21892 9.51779 4.47585 9.02187 3.84217ZM5.04721 10.7253C4.29853 10.7253 3.56666 10.5033 2.94415 10.0873C2.32165 9.67138 1.83647 9.08018 1.54996 8.38849C1.26345 7.6968 1.18849 6.93569 1.33455 6.20139C1.48061 5.4671 1.84113 4.79261 2.37053 4.26321C2.89993 3.73381 3.57442 3.37329 4.30871 3.22723C5.04301 3.08117 5.80412 3.15613 6.49581 3.44264C7.1875 3.72915 7.7787 4.21433 8.19465 4.83683C8.61059 5.45934 8.8326 6.19121 8.8326 6.93989C8.8326 7.94383 8.43378 8.90666 7.72388 9.61656C7.01399 10.3265 6.05116 10.7253 5.04721 10.7253ZM3.78541 1.2618H6.309C6.47633 1.2618 6.6368 1.19533 6.75512 1.07701C6.87343 0.958695 6.9399 0.798223 6.9399 0.630899C6.9399 0.463574 6.87343 0.303102 6.75512 0.184786C6.6368 0.0664695 6.47633 0 6.309 0H3.78541C3.61808 0 3.45761 0.0664695 3.3393 0.184786C3.22098 0.303102 3.15451 0.463574 3.15451 0.630899C3.15451 0.798223 3.22098 0.958695 3.3393 1.07701C3.45761 1.19533 3.61808 1.2618 3.78541 1.2618ZM5.67811 5.04719C5.67811 4.87987 5.61164 4.71939 5.49332 4.60108C5.375 4.48276 5.21453 4.41629 5.04721 4.41629C4.87988 4.41629 4.71941 4.48276 4.60109 4.60108C4.48278 4.71939 4.41631 4.87987 4.41631 5.04719V6.23959C4.27345 6.36736 4.17276 6.5355 4.12756 6.72175C4.08235 6.908 4.09477 7.10359 4.16315 7.28263C4.23154 7.46168 4.35268 7.61573 4.51054 7.72442C4.66841 7.83311 4.85555 7.8913 5.04721 7.8913C5.23887 7.8913 5.42601 7.83311 5.58387 7.72442C5.74173 7.61573 5.86287 7.46168 5.93126 7.28263C5.99965 7.10359 6.01206 6.908 5.96686 6.72175C5.92165 6.5355 5.82096 6.36736 5.67811 6.23959V5.04719Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.boostingPeriod[e.boostingPeriod.mode===c.NUMBER_OF_ROUNDS?"numberOfRounds":"minutes"]),i("div",{class:"MultiplierMode"},Y(e.boostingPeriod.mode===c.NUMBER_OF_ROUNDS?"rounds":"minutes",this.language))),(e.status===a.ACTIVE||e.status===a.ACTIVATING)&&i("div",{class:`ActiveBtn CircleLinearBorder ${this.isPowering?"Disabled":""} ${this.isActivating?"Activating":""}`,onClick:this.activePowerUp.bind(this,e)},i("div",{class:"content"}," ",Y("activate",this.language)))));var t}))))}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&l(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){I(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await I(this.translationUrl),this.loadData()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&h(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&l(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}static get assetsDirs(){return["../assets"]}static get watchers(){return{session:["loadData"],endpoint:["loadData"],limit:["loadData"],language:["loadData"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};T.style='@charset "UTF-8";.FlexRow{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:5px}.IngamePowerUpsContainer{display:block;height:100%;padding:var(--emw--ingame-power-container-padding, 8px);}.IngamePowerUpsContainer .IconBtn{width:26px;height:26px}.IngamePowerUpsContainer .CircleLinearBorder{position:relative;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpsContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpsContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:0;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpsContainer .TopBar{display:flex;justify-content:space-between;align-items:center;padding:15px}.IngamePowerUpsContainer .TopBar .BarTitle{width:calc(100% - 20px);font-weight:600;font-size:1.2rem;text-align:center;vertical-align:middle}.IngamePowerUpsContainer .Cards{width:100%;height:calc(100% - 70px);gap:16px;opacity:1;padding:1px;overflow:auto;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpsContainer .Cards .Card{background-color:var(--emw--ingame-color-powerup-bg, rgba(27, 27, 27, 0.8901960784));border:1px solid var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843));height:99px;gap:12px;opacity:1;border-radius:18px;border-width:1px;padding:14px;align-items:center}.IngamePowerUpsContainer .Cards .Card.PoweringDesc{align-items:flex-start;height:auto;transition:all 0.3s ease-in-out}.IngamePowerUpsContainer .Cards .Card .LeftOfRow{display:flex;flex-direction:row;gap:10px}.IngamePowerUpsContainer .Cards .Card .PowerupTitle,.IngamePowerUpsContainer .Cards .Card .ExpireTime,.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{display:flex;flex-direction:row;align-items:center}.IngamePowerUpsContainer .Cards .Card .PowerupTitle{font-weight:bold}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{align-items:flex-end;height:37.6px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .MultiplierIcon{height:12px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow{color:var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.4980392157));font-size:0.8rem;gap:3px;align-items:center}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow .MultiplierMode{margin-right:15px}.IngamePowerUpsContainer .Cards .Card .Status{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;font-size:0.8rem;width:max-content;height:25px;backdrop-filter:blur(4.6px);flex:none;order:1;flex-grow:0;border:0px solid;opacity:1;padding:1px}.IngamePowerUpsContainer .Cards .Card .Status::before{background:linear-gradient(97.6deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)) 11.03%, var(--emw--ingame-color-white00, rgba(255, 255, 255, 0)) 95.17%), linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)))}.IngamePowerUpsContainer .Cards .Card .Status time-count{background-color:var(--emw--ingame-color-black-middle, #020308);width:calc(100% - 4px);height:calc(100% - 4px);border-radius:20px;text-align:center;align-items:center;display:flex;justify-content:center;padding:2.2px;z-index:1;min-width:172px}.IngamePowerUpsContainer .Cards .Card .ActiveButton.Activating{background-color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843));color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843))}.IngamePowerUpsContainer .Cards .Card time-count .Label{margin-right:5px}.IngamePowerUpsContainer .Cards .Card time-count .TimeCountDown{letter-spacing:1.5px;font-weight:bold}.IngamePowerUpsContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpsContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpsContainer .ActiveBtn.Disabled:hover,.IngamePowerUpsContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpsContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpsContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(218deg, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.568627451)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843))), linear-gradient(93deg, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.6588235294)) 33.61%, var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.5411764706)) 89.19%)}.IngamePowerUpsContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}';const U=class{constructor(t){e(this,t),this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),this.percent=0,this.svgWidth=90,this.svgHeight=25,this.percentEnabled=!1,this.pathLength=1e3,this.endPointLocation=null,this.dashOffset=1e3}updateDashOffset(){const e=Math.max(0,Math.min(100,this.percent));if(this.dashOffset=this.pathLength?this.pathLength-this.pathLength*e/100:0,this.pathRef){const{x:e,y:t}=this.pathRef.getPointAtLength(this.rectRef.getTotalLength()-this.dashOffset);this.endPointLocation={x:e,y:t}}}componentDidLoad(){this.percentEnabled&&(this.pathRef&&(this.pathLength=this.pathRef.getTotalLength()),this.updateDashOffset(),setTimeout((()=>{const{x:e,y:t}=this.pathRef.getPointAtLength(0);this.endPointLocation={x:e,y:t}}),2e3))}handleSvgWidthChange(e,t){this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),setTimeout((()=>{this.pathLength=this.pathRef.getTotalLength(),this.updateDashOffset()}),300)}handlePercentChange(e,t){e!=t&&(this.pathLength=this.pathRef.getTotalLength())}render(){this.percentEnabled&&this.updateDashOffset();const e={strokeDasharray:`${this.pathLength}`,strokeDashoffset:`${this.dashOffset}`};return i("svg",{key:"6ec2a57af8b4c6dd6d52f5698496fefa18d2e7ee",width:this.svgWidth,height:this.svgHeight+5,preserveAspectRatio:"xMinYMin slice",viewBox:`0 0 ${this.svgWidth+6} ${this.svgHeight+10}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("defs",{key:"d294decb46a4a619af3f58b58c1660bbbc802ba9"},i("filter",{key:"c1334a1562c7114db9eb7d627cb98e8843180923",id:"filter0_d_4308_1253",x:"0",y:"0",width:this.svgWidth+6,height:this.svgHeight+10,filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},i("feFlood",{key:"df943e32b15aa623f0466fe7bc611ec9d39ccaaa","flood-opacity":"0",result:"BackgroundImageFix"}),i("feColorMatrix",{key:"802b70becbbaaa14c3224cdacdc7fd4c73fbaeb0",in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i("feOffset",{key:"885dd6319133c8d11de9c3bdd87571bd9647eb3f",dy:"4"}),i("feGaussianBlur",{key:"377e28cad414852a03cbea96c205a7796a6bb742",stdDeviation:"2"}),i("feComposite",{key:"802e62cd87289c22e84a303005a49ad2c961b08c",in2:"hardAlpha",operator:"out"}),i("feColorMatrix",{key:"4a15baf6290c399f9480a6ecd4c0fd6653a6caa9",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),i("feBlend",{key:"90d26bb88ebebdd0740aef46d25c3819a0da2dc2",mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4308_1253"}),i("feBlend",{key:"e777a2620dbcb8a911b6882a1664d065ca9032a7",mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4308_1253",result:"shape"})),this.percentEnabled&&i("linearGradient",{key:"477d5a61f996333cc3514ed65d067a0d5c02f8ea",id:"paint0_linear_4308_1253",x1:"9.0486",y1:"2.42552",x2:"66.0238",y2:"29.7636",gradientUnits:"userSpaceOnUse"},i("stop",{key:"60a53105acad572f0af9322c8a2fd6f584037d6d",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"01bf641c0efa80998d237e36a00e1a015c1b909f",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"36931e2d2acef5858235b1c3b739d0533b704a0e",offset:"0.993007","stop-color":"#FEF746"})),i("linearGradient",{key:"b84f717a694443f9ec6a31360116bc547e91fcdf",xmlns:"http://www.w3.org/2000/svg",id:"paint0_linear_966_23141",x1:"9.5",y1:"6",x2:"63.5251",y2:"52.049",gradientUnits:"userSpaceOnUse"},i("stop",{key:"9f70bcbf7eeec88fe8fcc6365ec60f75e8a79dfe","stop-color":"#1F3C30"}),i("stop",{key:"5a68316b25457a13e8ef8d655341a46ac351c68e",offset:"1","stop-color":"#125952"})),this.percentEnabled&&this.endPointLocation&&i("linearGradient",{key:"a01b22517d2e86ff1b8c6c71528f7f1b1ca0a01d",xmlns:"http://www.w3.org/2000/svg",id:"paint_linear_dot",x1:this.endPointLocation.x-1.5,y1:this.endPointLocation.y-1.5,x2:this.endPointLocation.x+1.5,y2:this.endPointLocation.y+1.5,gradientUnits:"userSpaceOnUse"},i("stop",{key:"2cd3682d9dd21c108a80a8c611e27260bffd5aaa",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"2337dd9ed54493ec44cf192604b099c48797e334",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"19ef699353853d22dda5948cdbf4f7d3fd4e0372",offset:"0.993007","stop-color":"#FEF746"}))),i("g",{key:"a3ce7185dddf4482a830c12e16f0435f9bd7e5d5",filter:"url(#filter0_d_4308_1253)"},i("path",{key:"c23cded577db8a11554432a27b254ed40aa594ae",id:"rectanglePath",class:"RectBG",ref:e=>this.rectRef=e,d:this.progressPath,stroke:"#EAEAEA","stroke-width":"3",fill:"#paint0_linear_966_231411","stroke-linecap":"round"}),i("rect",{key:"04f6d8d9e22e6035a1bc823253997f05a15396c4",class:"RectBG",x:"1.5",y:"1.5",width:this.svgWidth-3,height:this.svgHeight-3,rx:"18.5",stroke:"#A5CDB1","stroke-width":"3"}),i("path",{key:"c85d6e0a4d647ca0120fbefaeeb9bf29bdee12e6",class:"Bar "+(this.endPointLocation?"AnimateBar":"Hidden"),ref:e=>this.pathRef=e,d:this.progressPath,stroke:"url(#paint0_linear_4308_1253)","stroke-width":"3","stroke-linecap":"butt",style:e}),this.percentEnabled&&this.endPointLocation&&[i("circle",{key:"c29e71e038fe0c806397242859cba4851523c16d",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",fill:"white"},i("animateMotion",{key:"05795d54c89ada9033cb469c0f481c685daa3a8c",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"})),i("circle",{key:"02c50126a745f191ee8c689e61a20f85e13bbafa",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",stroke:"url(#paint_linear_dot)"},i("animateMotion",{key:"5d97f901e684ed6fdfb8418a46431105e04f7b59",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"}))]))}static get watchers(){return{svgWidth:["handleSvgWidthChange"],svgHeight:["handleSvgWidthChange"],percent:["handlePercentChange"]}}};U.style=".DotCircle{transition:stroke-dashoffset 0.5s ease-in-out;opacity:1}svg{width:100%;height:auto}.Bar{opacity:0;stroke-dashoffset:1000}.Bar.AnimateBar{transition:stroke-dashoffset 0.5s ease-in-out;opacity:0}.RectBG{fill:#1F3C30}.Hidden{opacity:0}.ProcessSvg{opacity:1}";const P=class{constructor(t){e(this,t)}render(){return i("div",{key:"b7d81127872a349887c76133eb8a7bcd3ab8d29e",class:"smart-loader"},i("div",{key:"21dfb7d7fe1fd3e0660603bc2d2464e057328228",class:"smart-item"}),i("div",{key:"fa22f3e3e5283b27fe3256669a0d67a2f85e135a",class:"smart-item"}),i("div",{key:"9fc3be4eb58ccebfa1803b12bf526e4cd2c9e013",class:"smart-item"}))}};P.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const L=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}timeLeftChanged(){this.timeLeft>0||this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft})}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",void clearInterval(this.timer);const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${Y("days",this.language)}`;else if(n>=24)this.displayTime="1 day";else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"11ec5e6887c3e0b3e3178f8323f9a7937a855651",class:"Label"},Y("expiresIn",this.language)," "),i("span",{key:"bbaee9a13552ae932823245d6dc99a5ebd494e46",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{timeLeft:["timeLeftChanged"],expireTime:["startTimeChanged"]}}},N=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:0,pid:this.pid});const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${p("days",this.language)}`;else if(n>=24)this.displayTime="1 day";else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"832c9d6dce83414d8d0fac874c2dfd7c0d0742bd",class:"Label"},p("expiresIn",this.language)," "),i("span",{key:"3f68f1ddc0f710cded68ba52305f44fc95603e1d",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},_=class{constructor(t){e(this,t),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i(n,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};_.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const H=class{constructor(t){e(this,t),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return i("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return i("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>i("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return i(n,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},i("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};H.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{y as bonus_powerups_ingame_detail,M as bonus_powerups_ingame_games,T as bonus_powerups_ingame_list,U as percent_bar,P as smart_loader,L as time_count,N as time_count_detail,_ as ui_image,H as ui_skeleton}
|