@everymatrix/bonus-elevate-powerups 0.0.27 → 0.0.28

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.
@@ -0,0 +1 @@
1
+ import{r as e,h as t}from"./index-c7067e6d.js";const i="__WIDGET_GLOBAL_STYLE_CACHE__";function o(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function a(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function r(e,t,o,a=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!a)return o=function(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,(t=>{e&&(i.innerHTML=t,e.appendChild(i))}))}(e,t),o;window[i]||(window[i]={}),o=function(e,t){return window.emMessageBus.subscribe(t,(o=>{if(!e)return;const a=e.getRootNode(),r=window[i];let s=r[t]&&r[t].sheet;s?r[t].refCount=r[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(o),r[t]={sheet:s,refCount:1});const n=a.adoptedStyleSheets||[];n.includes(s)||(a.adoptedStyleSheets=[...n,s])}))}(e,t);const r=o.unsubscribe.bind(o);return o.unsubscribe=()=>{if(window[i][t]){const e=window[i][t];e.refCount>1?e.refCount=e.refCount-1:delete window[i][t]}r()},o}var s,n,l;!function(e){e.COINS="coins",e.XP="xp"}(s||(s={})),function(e){e.TIME_PERIOD="timePeriod",e.NUMBER_OF_ROUNDS="numberOfRounds"}(n||(n={})),function(e){e[e.ACTIVE=0]="ACTIVE",e[e.ACTIVATED=1]="ACTIVATED",e[e.EXPIRED=2]="EXPIRED",e[e.CONSUMED=3]="CONSUMED",e[e.DISABLED=4]="DISABLED",e[e.ENABLED=6]="ENABLED"}(l||(l={}));const p={en:{min:"MIN",rounds:"Rounds",coins:"Coins",xp:"XP",expiresIn:"EXPIRES IN ",playNow:"Start Now!",nothingHere:"Nothing here -- yet!",noPowerUps:"No power-ups at the moment.",gotoShop:"Go to the shop to check power-ups availability.",termsCon:"Read full Terms & Conditions > ",games:"Games",selectGameToActive:"Select the game to activate power-up",days:"days"}},d=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{p[t]||(p[t]={});for(let i in e[t])p[t][i]=e[t][i]})),t(!0)}))})),w=(e,t,i)=>{let o=p[void 0!==t&&t in p?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");o=o.replace(i,t)}return o},h={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${l.ACTIVE},${l.ACTIVATED}`},c={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"},m=class{constructor(t){e(this,t),this.tableId="powerups",this.gameObservers=new Map,this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl="",this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=10,this.openTermsPage=!0,this.isLoading=!0,this.powerups=[],this.offset=0,this.total=void 0}onReloadPageByType(e){const{limit:t,offset:i,tableId:o}=e.detail;o===this.tableId&&(this.offset=i,this.limit=t)}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=${this.offset},limit=${this.limit},games(limit=20,offset=0)`);let t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};Object.entries(h).forEach((([t,i])=>{e.searchParams.append(t,i)})),e.searchParams.append("language",this.language);const i=await fetch(e,t);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:o,total:a}=await i.json();this.powerups=o,this.total=a}catch(e){"AbortError"!==e.name&&(console.error("Failed to load powerups history:",e),window.postMessage({type:"peHistoryLoaderError",error:e}))}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}onTermsUrlClick(e){window.postMessage({type:"onPowerupTermsUrlClicked",termsUrl:e},"*")}async loadMoreGames(e){var t;if(!(e.games.items.length>=e.games.total))try{const i=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${e.games.items.length})`),o={headers:{"x-SessionId":this.session}};i.searchParams.append("filter",`id=${e.powerUpID}`),Object.entries(c).forEach((([e,t])=>{i.searchParams.append(e,t)}));const a=await fetch(i.toString(),o);if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);const{data:r}=await a.json(),s=this.powerups.findIndex((t=>t.id===e.id));if(-1!==s){const e=Object.assign({},this.powerups[s]),i=null==r?void 0:r[0];if(i&&(null===(t=i.games)||void 0===t?void 0:t.items)){e.games.items=[...e.games.items,...i.games.items];const t=[...this.powerups];t[s]=e,this.powerups=t}}}catch(e){console.error("Failed to load more games:",e)}}initializeGamesObserver(e){let t=this.gameObservers.get(e.id);t&&t.disconnect(),t=new IntersectionObserver((i=>{i.forEach((i=>{i.isIntersecting&&(this.loadMoreGames(e),t.unobserve(i.target),this.gameObservers.delete(e.id))}))})),this.gameObservers.set(e.id,t),setTimeout((()=>{const i=this.stylingContainer.querySelector(`.PowerUpItem[data-powerup-id="${e.id}"] .Game:last-child`);i&&t.observe(i)}),200)}componentDidUpdate(){this.powerups.forEach((e=>{var t,i;(null===(t=e.games)||void 0===t?void 0:t.items.length)<(null===(i=e.games)||void 0===i?void 0:i.total)&&this.initializeGamesObserver(e)}))}render(){return t("div",{key:"7de60fedad83668fcff2f4a1ea02b489b80d3b12",class:"PowerUpsContainer",ref:e=>this.stylingContainer=e},this.isLoading?t("p",null,"Loading..."):this.total?[t("div",{class:"PowerUps"},this.powerups.map((e=>{var i,o;return t("div",{class:"PowerUpItem Card","data-powerup-id":e.id},t("div",{class:"CardLeft"},t("div",{class:"MainInfo"},t("div",{class:"DisplayName"}," ",e.displayName||"-"," "),t("div",{class:"Title2 PowerUpMultiplier"},t("span",{class:"BoostingPeriod"},t("span",{class:"Period"},e.boostingPeriod.minutes||e.boostingPeriod.numberOfRounds," "),w(e.boostingPeriod.mode===n.TIME_PERIOD?"min":"rounds",this.language)," "),t("span",{class:"Multiplier"},"| X ",e.multiplier.coefficient," "),t("span",{class:"MultiplierMode"},"| ",w(e.multiplier.mode,this.language)," "),e.expireTime&&[t("span",null," | "),t("span",{class:"ExpireCount"},t("time-count",{"expire-time":e.expireTime,language:this.language}))]),t("div",{class:"Description"},e.description)),t("div",{class:"TermsC"},this.openTermsPage?t("a",{href:e.termsUrl?e.termsUrl:"#",target:"_blank"},w("termsCon",this.language)):t("span",{onClick:this.onTermsUrlClick.bind(this,e.termsUrl)},w("termsCon",this.language)," "))),t("div",{class:"GamesContent CardRight"},t("div",{class:"GamesTitle"},t("span",{class:"Title2"}," ",w("games",this.language)),t("span",{class:"GamesAmount"}," ( ",(null===(i=e.games)||void 0===i?void 0:i.total)||0," ) ")),t("div",{class:"GameTitleTip"},w("selectGameToActive",this.language)),t("div",{class:"GamesList"},t("div",{class:"Games"},null===(o=e.games)||void 0===o?void 0:o.items.map((e=>t("div",{class:"Game"},t("ui-image",{src:e.thumbnail}),t("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},t("div",{class:"GameStartBtn"},t("div",{class:"PlayIcon"}),t("span",null,w("playNow",this.language)))))))))))}))),t("div",{class:"Pagination"},this.total&&this.total>this.limit&&t("bonus-pagination-nav",{offset:this.offset,limit:this.limit,"secondary-arrows-active":!0,"table-id":this.tableId,total:this.total}))]:t("div",{class:"EmptyPowerups"},t("div",{class:"Icon",innerHTML:'<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<rect width="52" height="52" fill="url(#pattern0_1132_30534)"/>\n<defs>\n<pattern id="pattern0_1132_30534" patternContentUnits="objectBoundingBox" width="1" height="1">\n<use xlink:href="#image0_1132_30534" transform="scale(0.01)"/>\n</pattern>\n<image id="image0_1132_30534" width="100" height="100" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHlElEQVR4nO2daYwURRTH/4tnvPCI9xE1ahQTNZmp6gXRzar4wTtGvPWLUeIVPxgVNWbizqvZRdTAGoioEQwaFDWK0YBCvMUbJWJIBD8QOUIEowhEQFjzepu4WaZ6qnp6tqub+iX9hexUV/W/Xh3vvSoAj8fj8Xg8Ho/H4/F4ikapB8PLNYiyws2S8LBU6JEKU4TCNKkwWSjUhML9ZYWrRRfOPGUy9sm6zoWio4IDpMI1/NElYalU6LN5hMI2SVgoFUgqdI6djT2yblP+6ENbuYqLJGGmJGy0FSFWIMIqQZgoFUZk3Uz3qWBYmXC5VPg2TRFinvmS0J51s51EKnQKws9DJMRgq5kjqzgp62/gBOcoHC4VXs5CiEGibBaERzsq2BO7K6KK84XCykQfUOGvaGibJxVms6hC4Q0ehiJL25Kw3M9kD47D7oYkPBCugEw/FmGFJEwVCteafDDu6SWF06XCOKnwqiBssBDmd1nFBdgtqGAY7xcMe+u2aDjr5N8189pSBfsJhRsF4VNDUbaw+Ci8GISZBuP5v5LwXKsmWqlwnlD4yECU7WxhKCqSMNVgaPom6EZpKOrDFiMJaxqJUq7iOhQNSag0aji7PYZ6lROu8ghzDYavC1EURA2XScKOGKvYyH+T8VBabTjRF2H1Va7ieElYFzNxr3dlt1wm3BXNG9olce73KZKwIKaBf7PnFg4RiRJnKY8gr4STZsySNlAYAweJPMM6QTYF3TgReUNWcFCDFcyDcHuvNC9mWT4HeUMojI8RYx672OEwIys4Iq5DlQgSeaGjgn11jRGEzeVunIwcEEYl9UPu28gLcROjIDxmWx6HYjlimDTaF/Z2hek8jFr9sA9tkvCxZqm+I+jCGcgDugCTUFg/agIOtCkrchCujsqYbbvsjIaen6LO8N3obhxi8/uyQkfM0NsD1+HQaIx1PG5rGUJh7aAyZplaSmQZSwb17IW2lhK65Ot3sJXOx+j5o2sE2d5OOLYZMWxEqStGQlFEFTfpOhlbEFxGKnyhqfx80zJ4WBKEZXEbtDhRYsX4/5luWp+zJmJ/3sRqyumC0yk7hK2aio+zKUvUMDKKClqJYijGEv47q/oQXtdY2+dwFfaIaj9eDadZl2cpSqvEiNp2p0aQrSMq2BsuIhXu1lR6TdIyTUUZNQHHtEqMRosVZ5e/ktCrEWRBM+WaiGKQUJdYjJ3zWkzixFVwEUF4T1PhKU2XbSJKi8TYiS6VlXOJ4SI8wbXSZS2SiZKKGEyY6VjfOqtwEUFYrOlB96b1Do63C8IfRmIQlpYIR6f1bkF4SzOHTYKLSIXlmo9zW5rvCWq4wkCMjTzRp/leXcaMILwAF9Hl5rKzESkx0Ddl8Fj7vpLsRYTCM3ARqfC1pgc9lIEYqYsiCO9r2qfgItp0GsKTzZZtuOmr+9g4JBu0b5HGQsbDRdh0NR/lnQwsI11L6UOb1p9VxQ1wEV5NaXrosqRlmrpDJOHKJL4vU0o9OEFX7lBlWlpTUjhXM2TtEE/gKNvybH1TSR2SJrAV6NpmG3QbMtjJxmky9SpetsyPNRqm6uwzDPcp1sOXVHhe1yHgMoLwgebjvWIZD1lsahkJd/TG7hy2KD4sqmlXL1wmINyh+QCbbEw7ULg+PJZgKYaJKByJ5IikRV3GxAjrpmNxJ6KGw3ReUaFwu01ZGlGMfVP1RLEVIyyHMEszH23gg0BwnejMX93V1ljLCXWQKPaRvgGiJBEj6MKpMZZqHAbOlKCGQGviNdxiXV6/KIuTem1DUQjLbMVgJGFGzHDVibwgFT7RWMmqJMvEZt0fSX7PQuqOJwiF711Ph921MfpDOpPhOKVp2Esq/KCzDr7cBnlDN5dIFopwKRxGKjylE0MQfmz2VHAmcGKcJPypEWWdq9dZcO/XWjfn9FYxGnmFl7oxk+LyQOFIuLYgiUmYEIQXkWvYS6oJfcr+HrcorZh3GmLEul0IK9orOBR55+wKDo4J7/KK5Zesh6+ghktiU4kIW3mhgiLAFiAaXb1EWJfJ0egKhvGZlZjNX/gECvehCFhF+ihcffVaH6xJSLQL/9CgXk1HPJ2gibDrakm4tVVnwqMhlCThn0Z1EQov5WoD2IoYuBy4CmPvcUoWw1E/TkjQLsV3tYzeXO43kogh+ucU7URf57a3WXzu3TbxLUySJtwTnRXU3tIw6NnOV9CiCNiEXUs9GC4JbyaxHM4jFoSnOcWI877Yknji5Wv6BOFZnht0J7AaDFFrZQ0XowgkOp/RhzbObDQeRlr5EOamne2YGc0elmlnNwv7vuJuDWrRIwi/8WXNKAppnlyShHad674Fz2o+SsBnCFEU2BfVipNLQb9P6bWkt4vGWoTCl3zmkW+cQJFolRgDYd8ROyjDvNrk145v4csvwx15grOOuWAoxKgXNCpXMSq6uoP/J4R3BeGrKHPxVw4ohR++/98nRQc1O3ORiNAMSZPYPC3Ai+EQXgyH8GI4hBfDIbwYDuHFcAgvhkN4MRzCi+EQXgyH8GI4hBcjLzfBDfDaupaDW3g4WcBbhuuieDEcEsWL4Q5hnpOfMzwej8fj8Xg8Ho/H4/GgyPwHN+MBWXHaP7AAAAAASUVORK5CYII="/>\n</defs>\n</svg>\n'}),t("span",{class:"NoPowerTitle"},w("nothingHere",this.language)),t("span",null,w("noPowerUps")),t("span",null,w("gotoShop")),t("div",null)))}handleDataConfigChange(){this.loadData().catch(console.error)}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&a(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&r(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){d(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await d(this.translationUrl),this.loadData().catch(console.error)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&r(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&a(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.gameObservers.forEach((e=>e.disconnect())),this.gameObservers.clear()}static get assetsDirs(){return["assets"]}static get watchers(){return{offset:["loadData"],limit:["loadData"],language:["loadData"],session:["loadData","handleDataConfigChange"],endpoint:["loadData","handleDataConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};m.style=':host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px;font-size:1.11rem}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted{-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51);text-decoration:none}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));position:relative;min-width:132px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{display:none;transition:display;transition-duration:0.2s;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .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%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .GameStartBtn{width:98px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, #03832D 0%, #4DC071 100%);border:1px solid #FFFFFF;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.PowerUpsContainer .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}';export{m as B,w as t}
@@ -1,9 +1,9 @@
1
- import{t}from"./bonus-elevate-powerups-31713cf4.js";export{B as bonus_elevate_powerups}from"./bonus-elevate-powerups-31713cf4.js";import{r as e,c as n,h as i,H as r,g as s}from"./index-c7067e6d.js";const a=["pt-br","en","es-mx","hu","hr"],o={en:{firstPage:"|<",lastPage:">|",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},hu:{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},hr:{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},"pt-br":{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},"es-mx":{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"}},h=(t,e,n)=>{const i=e;let r=o[void 0!==i&&a.includes(i)?i:"en"][t];if(void 0!==n)for(const[t,e]of Object.entries(n.values)){const n=new RegExp(`{${t}}`,"g");r=r.replace(n,e)}return r},u=class{constructor(t){e(this,t),this.reloadPageEmitter=n(this,"reloadPageByType",7),this.total=1,this.limit=10,this.offset=0,this.tableId="default",this.language="en",this.translationUrl="",this.arrowsActive=!0,this.secondaryArrowsActive=!0,this.displayPageNumbers=!0,this.displayRangeOfTotal=void 0,this.navItemAccount=5,this.endPageIndex=0,this.pagesArray=void 0,this.currentPage=1,this.showAsEllipsisMid=!this.arrowsActive}pageLimitChangedHandler(t){this.limit=t.detail.limit?t.detail.limit:this.limit,this.currentPage=1,this.offset=0,this.updatePageStatus(),"pageLimitChanged"==t.type&&this.reloadPageEmitter.emit({offset:0,limit:this.limit,tableId:this.tableId})}goTo(t){"..."==t||0==t||parseInt(t.toString(),10)>this.endPageIndex+1||(this.currentPage=t,this.reloadPageEmitter.emit({offset:(this.currentPage-1)*this.limit,limit:this.limit,tableId:this.tableId}))}renderPageList(){return i("ul",{class:"PaginationArea"},this.pagesArray.map((t=>i("li",{class:"PageItem "+(this.currentPage==t?"Active":""),onClick:()=>{this.goTo(t)}},t))))}renderStylingWrapper(){return i("general-styling-wrapper",{targetTranslations:o,translationUrl:this.translationUrl})}generateNavItemsByType(t,e){if(this.endPageIndex<t)return Array.from({length:this.endPageIndex+1},((t,e)=>e+1));let n=[],i=Math.floor(t/2);const r=this.endPageIndex+1;return e?this.currentPage<i||this.currentPage>r-i+1?(n=Array.from({length:i},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i},((t,e)=>this.endPageIndex-1+e)))):this.currentPage==i?(n=Array.from({length:i+1},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i-1},((t,e)=>this.endPageIndex+e)))):this.currentPage==r-i+1?(n=Array.from({length:i-1},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i+1},((t,e)=>this.endPageIndex-2+e)))):(n=[1,"..."],n=n.concat([this.currentPage-1],[this.currentPage],[this.currentPage+1]),n=n.concat(["...",r])):this.currentPage<=t-i?(n=Array.from({length:t-1},((t,e)=>e+1)),n.push("...")):this.currentPage>r-(t-i)?(n=Array.from({length:t-1},((e,n)=>r-(t-2)+n)),n.unshift("...")):(n=Array.from({length:t-2},((t,e)=>this.currentPage+e-i+1)),n.push("..."),n.unshift("...")),n}updatePageStatus(){this.endPageIndex=Math.ceil(this.total/this.limit)-1,this.endPageIndex=this.endPageIndex<0?this.endPageIndex=0:this.endPageIndex,this.pagesArray=this.generateNavItemsByType(this.navItemAccount,this.showAsEllipsisMid)}componentWillRender(){this.currentPage=Math.floor(this.offset/this.limit)+1,this.updatePageStatus()}render(){return i("div",{key:"77610598f3ce40796b8d486fd27725fc68b61878",class:"PageNavigationWrapper"},this.displayRangeOfTotal&&this.total>0&&i("span",{key:"879bd2f268a18ea3c9cb2bb706d23c8db0634592",class:"PageOfMessage"},h("pageOfTotal",this.language,{values:{start:(this.currentPage-1)*this.limit+1,end:this.currentPage*this.limit>this.total?this.total:this.currentPage*this.limit,total:this.total}})),i("div",{key:"590af1c2fcb70d782b318c505deb507a8376e13b",class:"PageNavigation"},this.arrowsActive&&i("div",{key:"2d4746e889a43d6199ad7f305676d79bdbaa4f04",class:"PageArrow FirstPage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(1)}},h("firstPage",this.language)),this.secondaryArrowsActive&&i("span",{key:"89b588abdf7b77e3cdc00f44bbad27c432146f97",class:"PageArrow PrePage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(this.currentPage-1)}},h("prePage",this.language)),this.displayPageNumbers&&this.renderPageList(),this.secondaryArrowsActive&&i("span",{key:"097710df72de15cd1b0c03dfb2ac7870c99e12c0",class:"PageArrow NextPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.currentPage+1)}},h("nextPage",this.language)),this.arrowsActive&&i("div",{key:"a61296f3e627bc012545618c0fda239a1356da1f",class:"PageArrow LastPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.endPageIndex+1)}}," ",h("lastPage",this.language)," "),this.renderStylingWrapper()))}};
1
+ import{t}from"./bonus-elevate-powerups-0d3660aa.js";export{B as bonus_elevate_powerups}from"./bonus-elevate-powerups-0d3660aa.js";import{r as e,c as n,h as i,H as r,g as s}from"./index-c7067e6d.js";const a=["pt-br","en","es-mx","hu","hr"],o={en:{firstPage:"|<",lastPage:">|",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},hu:{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},hr:{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},"pt-br":{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"},"es-mx":{firstPage:"First",lastPage:"Last",prePage:"<",nextPage:">",pageOfTotal:"{start}-{end} of {total}"}},h=(t,e,n)=>{const i=e;let r=o[void 0!==i&&a.includes(i)?i:"en"][t];if(void 0!==n)for(const[t,e]of Object.entries(n.values)){const n=new RegExp(`{${t}}`,"g");r=r.replace(n,e)}return r},u=class{constructor(t){e(this,t),this.reloadPageEmitter=n(this,"reloadPageByType",7),this.total=1,this.limit=10,this.offset=0,this.tableId="default",this.language="en",this.translationUrl="",this.arrowsActive=!0,this.secondaryArrowsActive=!0,this.displayPageNumbers=!0,this.displayRangeOfTotal=void 0,this.navItemAccount=5,this.endPageIndex=0,this.pagesArray=void 0,this.currentPage=1,this.showAsEllipsisMid=!this.arrowsActive}pageLimitChangedHandler(t){this.limit=t.detail.limit?t.detail.limit:this.limit,this.currentPage=1,this.offset=0,this.updatePageStatus(),"pageLimitChanged"==t.type&&this.reloadPageEmitter.emit({offset:0,limit:this.limit,tableId:this.tableId})}goTo(t){"..."==t||0==t||parseInt(t.toString(),10)>this.endPageIndex+1||(this.currentPage=t,this.reloadPageEmitter.emit({offset:(this.currentPage-1)*this.limit,limit:this.limit,tableId:this.tableId}))}renderPageList(){return i("ul",{class:"PaginationArea"},this.pagesArray.map((t=>i("li",{class:"PageItem "+(this.currentPage==t?"Active":""),onClick:()=>{this.goTo(t)}},t))))}renderStylingWrapper(){return i("general-styling-wrapper",{targetTranslations:o,translationUrl:this.translationUrl})}generateNavItemsByType(t,e){if(this.endPageIndex<t)return Array.from({length:this.endPageIndex+1},((t,e)=>e+1));let n=[],i=Math.floor(t/2);const r=this.endPageIndex+1;return e?this.currentPage<i||this.currentPage>r-i+1?(n=Array.from({length:i},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i},((t,e)=>this.endPageIndex-1+e)))):this.currentPage==i?(n=Array.from({length:i+1},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i-1},((t,e)=>this.endPageIndex+e)))):this.currentPage==r-i+1?(n=Array.from({length:i-1},((t,e)=>e+1)),n.push("..."),n=n.concat(Array.from({length:i+1},((t,e)=>this.endPageIndex-2+e)))):(n=[1,"..."],n=n.concat([this.currentPage-1],[this.currentPage],[this.currentPage+1]),n=n.concat(["...",r])):this.currentPage<=t-i?(n=Array.from({length:t-1},((t,e)=>e+1)),n.push("...")):this.currentPage>r-(t-i)?(n=Array.from({length:t-1},((e,n)=>r-(t-2)+n)),n.unshift("...")):(n=Array.from({length:t-2},((t,e)=>this.currentPage+e-i+1)),n.push("..."),n.unshift("...")),n}updatePageStatus(){this.endPageIndex=Math.ceil(this.total/this.limit)-1,this.endPageIndex=this.endPageIndex<0?this.endPageIndex=0:this.endPageIndex,this.pagesArray=this.generateNavItemsByType(this.navItemAccount,this.showAsEllipsisMid)}componentWillRender(){this.currentPage=Math.floor(this.offset/this.limit)+1,this.updatePageStatus()}render(){return i("div",{key:"77610598f3ce40796b8d486fd27725fc68b61878",class:"PageNavigationWrapper"},this.displayRangeOfTotal&&this.total>0&&i("span",{key:"879bd2f268a18ea3c9cb2bb706d23c8db0634592",class:"PageOfMessage"},h("pageOfTotal",this.language,{values:{start:(this.currentPage-1)*this.limit+1,end:this.currentPage*this.limit>this.total?this.total:this.currentPage*this.limit,total:this.total}})),i("div",{key:"590af1c2fcb70d782b318c505deb507a8376e13b",class:"PageNavigation"},this.arrowsActive&&i("div",{key:"2d4746e889a43d6199ad7f305676d79bdbaa4f04",class:"PageArrow FirstPage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(1)}},h("firstPage",this.language)),this.secondaryArrowsActive&&i("span",{key:"89b588abdf7b77e3cdc00f44bbad27c432146f97",class:"PageArrow PrePage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(this.currentPage-1)}},h("prePage",this.language)),this.displayPageNumbers&&this.renderPageList(),this.secondaryArrowsActive&&i("span",{key:"097710df72de15cd1b0c03dfb2ac7870c99e12c0",class:"PageArrow NextPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.currentPage+1)}},h("nextPage",this.language)),this.arrowsActive&&i("div",{key:"a61296f3e627bc012545618c0fda239a1356da1f",class:"PageArrow LastPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.endPageIndex+1)}}," ",h("lastPage",this.language)," "),this.renderStylingWrapper()))}};
2
2
  //! moment.js
3
3
  //! version : 2.29.4
4
4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
5
5
  //! license : MIT
6
6
  //! momentjs.com
7
- var c,d;function l(){return c.apply(null,arguments)}function f(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function m(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function v(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(g(t,e))return!1;return!0}function w(t){return void 0===t}function y(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function Y(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function b(t,e,n,i){return Re(t,e,n,i,!0).utc()}function M(t){return null==t._pf&&(t._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}),t._pf}function D(t){if(null==t._isValid){var e=M(t),n=d.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function S(t){var e=b(NaN);return null!=t?Y(M(e),t):M(e).userInvalidated=!0,e}u.style=":host{display:block}.PageNavigationWrapper{display:flex;flex-direction:row;height:100%;align-content:center}.PageNavigationWrapper .PageOfMessage{margin:5px;padding:5px 6px;margin:2px}.PageNavigation{display:flex;flex-direction:row;align-items:center}.PageNavigation .PageArrow{color:var(--emw--color-primary, #777676);padding:6px 5px;cursor:pointer;font-weight:bold;width:1.2rem;text-align:center}.PageNavigation .PageArrow.Disabled{color:var(--emw--color-gray-100, #e0e0e0)}ul.PaginationArea{list-style:none;padding:0px;margin:0px;display:flex}ul.PaginationArea li.PageItem{cursor:pointer;padding:5px 6px;margin:2px;width:0.9rem;text-align:center}ul.PaginationArea li.PageItem.Active,ul.PaginationArea li.PageItem:hover{font-weight:bold;color:var(--emw--color-primary, #f5f1f1);background-color:var(--emw--color-secondary, #8c8989);border-radius:0.3rem}",d=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var N=l.momentProperties=[],x=!1;function T(t,e){var n,i,r,s=N.length;if(w(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),w(e._i)||(t._i=e._i),w(e._f)||(t._f=e._f),w(e._l)||(t._l=e._l),w(e._strict)||(t._strict=e._strict),w(e._tzm)||(t._tzm=e._tzm),w(e._isUTC)||(t._isUTC=e._isUTC),w(e._offset)||(t._offset=e._offset),w(e._pf)||(t._pf=M(e)),w(e._locale)||(t._locale=e._locale),s>0)for(n=0;n<s;n++)w(r=e[i=N[n]])||(t[i]=r);return t}function _(t){T(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,l.updateOffset(this),x=!1)}function H(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function P(t){!1===l.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function W(t,e){var n=!0;return Y((function(){if(null!=l.deprecationHandler&&l.deprecationHandler(null,t),n){var i,r,s,a=[],o=arguments.length;for(r=0;r<o;r++){if(i="","object"==typeof arguments[r]){for(s in i+="\n["+r+"] ",arguments[0])g(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[r];a.push(i)}P(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var A,G={};function $(t,e){null!=l.deprecationHandler&&l.deprecationHandler(t,e),G[t]||(P(e),G[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var n,i=Y({},t);for(n in e)g(e,n)&&(m(t[n])&&m(e[n])?(i[n]={},Y(i[n],t[n]),Y(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)g(t,n)&&!g(e,n)&&m(t[n])&&(i[n]=Y({},i[n]));return i}function O(t){null!=t&&this.set(t)}function I(t,e,n){var i=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null,A=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var C=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},j={};function Z(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(j[t]=r),e&&(j[e[0]]=function(){return I(r.apply(this,arguments),e[1],e[2])}),n&&(j[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=z(e,t.localeData()),R[e]=R[e]||function(t){var e,n,i,r=t.match(C);for(e=0,n=r.length;e<n;e++)r[e]=j[r[e]]?j[r[e]]:(i=r[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,s="";for(i=0;i<n;i++)s+=E(r[i])?r[i].call(e,t):r[i];return s}}(e),R[e](t)):t.localeData().invalidDate()}function z(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(F.lastIndex=0;n>=0&&F.test(t);)t=t.replace(F,i),F.lastIndex=0,n-=1;return t}var q={};function J(t,e){var n=t.toLowerCase();q[n]=q[n+"s"]=q[e]=t}function Q(t){return"string"==typeof t?q[t]||q[t.toLowerCase()]:void 0}function X(t){var e,n,i={};for(n in t)g(t,n)&&(e=Q(n))&&(i[e]=t[n]);return i}var V={};function K(t,e){V[t]=e}function tt(t){return t%4==0&&t%100!=0||t%400==0}function et(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function nt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=et(e)),n}function it(t,e){return function(n){return null!=n?(st(this,t,n),l.updateOffset(this,e),this):rt(this,t)}}function rt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function st(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tt(t.year())&&1===t.month()&&29===t.date()?(n=nt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var at,ot=/\d/,ht=/\d\d/,ut=/\d{3}/,ct=/\d{4}/,dt=/[+-]?\d{6}/,lt=/\d\d?/,ft=/\d\d\d\d?/,mt=/\d\d\d\d\d\d?/,gt=/\d{1,3}/,vt=/\d{1,4}/,wt=/[+-]?\d{1,6}/,yt=/\d+/,kt=/[+-]?\d+/,pt=/Z|[+-]\d\d:?\d\d/gi,Yt=/Z|[+-]\d\d(?::?\d\d)?/gi,bt=/[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 Mt(t,e,n){at[t]=E(e)?e:function(t){return t&&n?n:e}}function Dt(t,e){return g(at,t)?at[t](e._strict,e._locale):new RegExp(St(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function St(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}at={};var Nt={};function xt(t,e){var n,i,r=e;for("string"==typeof t&&(t=[t]),y(e)&&(r=function(t,n){n[e]=nt(t)}),i=t.length,n=0;n<i;n++)Nt[t[n]]=r}function Tt(t,e){xt(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function _t(t,e,n){null!=e&&g(Nt,t)&&Nt[t](e,n._a,n,t)}var Ht,Pt=0,Wt=1,At=2,Gt=3,$t=4,Et=5,Lt=6,Ot=7,It=8;function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?tt(t)?29:28:31-n%7%2}Ht=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Z("M",["MM",2],"Mo",(function(){return this.month()+1})),Z("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Z("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),J("month","M"),K("month",8),Mt("M",lt),Mt("MM",lt,ht),Mt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Mt("MMMM",(function(t,e){return e.monthsRegex(t)})),xt(["M","MM"],(function(t,e){e[Wt]=nt(t)-1})),xt(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Wt]=r:M(n).invalidMonth=t}));var Ft="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Zt=bt,Ut=bt;function zt(t,e,n){var i,r,s,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=b([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,a))?r:null:-1!==(r=Ht.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,a))||-1!==(r=Ht.call(this._longMonthsParse,a))?r:null:-1!==(r=Ht.call(this._longMonthsParse,a))||-1!==(r=Ht.call(this._shortMonthsParse,a))?r:null}function qt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=nt(e);else if(!y(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Jt(t){return null!=t?(qt(this,t),l.updateOffset(this,!0),this):rt(this,"Month")}function Bt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],s=[];for(e=0;e<12;e++)n=b([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),s.sort(t),e=0;e<12;e++)i[e]=St(i[e]),r[e]=St(r[e]);for(e=0;e<24;e++)s[e]=St(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qt(t){return tt(t)?366:365}Z("Y",0,0,(function(){var t=this.year();return t<=9999?I(t,4):"+"+t})),Z(0,["YY",2],0,(function(){return this.year()%100})),Z(0,["YYYY",4],0,"year"),Z(0,["YYYYY",5],0,"year"),Z(0,["YYYYYY",6,!0],0,"year"),J("year","y"),K("year",1),Mt("Y",kt),Mt("YY",lt,ht),Mt("YYYY",vt,ct),Mt("YYYYY",wt,dt),Mt("YYYYYY",wt,dt),xt(["YYYYY","YYYYYY"],Pt),xt("YYYY",(function(t,e){e[Pt]=2===t.length?l.parseTwoDigitYear(t):nt(t)})),xt("YY",(function(t,e){e[Pt]=l.parseTwoDigitYear(t)})),xt("Y",(function(t,e){e[Pt]=parseInt(t,10)})),l.parseTwoDigitYear=function(t){return nt(t)+(nt(t)>68?1900:2e3)};var Xt=it("FullYear",!0);function Vt(t,e,n,i,r,s,a){var o;return t<100&&t>=0?(o=new Date(t+400,e,n,i,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,i,r,s,a),o}function Kt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function te(t,e,n){var i=7+e-n;return-(7+Kt(t,0,i).getUTCDay()-e)%7+i-1}function ee(t,e,n,i,r){var s,a,o=1+7*(e-1)+(7+n-i)%7+te(t,i,r);return o<=0?a=Qt(s=t-1)+o:o>Qt(t)?(s=t+1,a=o-Qt(t)):(s=t,a=o),{year:s,dayOfYear:a}}function ne(t,e,n){var i,r,s=te(t.year(),e,n),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?i=a+ie(r=t.year()-1,e,n):a>ie(t.year(),e,n)?(i=a-ie(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function ie(t,e,n){var i=te(t,e,n),r=te(t+1,e,n);return(Qt(t)-i+r)/7}function re(t,e){return t.slice(e,7).concat(t.slice(0,e))}Z("w",["ww",2],"wo","week"),Z("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),K("week",5),K("isoWeek",5),Mt("w",lt),Mt("ww",lt,ht),Mt("W",lt),Mt("WW",lt,ht),Tt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=nt(t)})),Z("d",0,"do","day"),Z("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Z("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Z("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Z("e",0,0,"weekday"),Z("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),K("day",11),K("weekday",11),K("isoWeekday",11),Mt("d",lt),Mt("e",lt),Mt("E",lt),Mt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Mt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Mt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Tt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:M(n).invalidWeekday=t})),Tt(["d","e","E"],(function(t,e,n,i){e[i]=nt(t)}));var se="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ae="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),he=bt,ue=bt,ce=bt;function de(t,e,n){var i,r,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=b([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,a))||-1!==(r=Ht.call(this._shortWeekdaysParse,a))||-1!==(r=Ht.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,a))||-1!==(r=Ht.call(this._weekdaysParse,a))||-1!==(r=Ht.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,a))||-1!==(r=Ht.call(this._weekdaysParse,a))||-1!==(r=Ht.call(this._shortWeekdaysParse,a))?r:null}function le(){function t(t,e){return e.length-t.length}var e,n,i,r,s,a=[],o=[],h=[],u=[];for(e=0;e<7;e++)n=b([2e3,1]).day(e),i=St(this.weekdaysMin(n,"")),r=St(this.weekdaysShort(n,"")),s=St(this.weekdays(n,"")),a.push(i),o.push(r),h.push(s),u.push(i),u.push(r),u.push(s);a.sort(t),o.sort(t),h.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function fe(){return this.hours()%12||12}function me(t,e){Z(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ge(t,e){return e._meridiemParse}Z("H",["HH",2],0,"hour"),Z("h",["hh",2],0,fe),Z("k",["kk",2],0,(function(){return this.hours()||24})),Z("hmm",0,0,(function(){return""+fe.apply(this)+I(this.minutes(),2)})),Z("hmmss",0,0,(function(){return""+fe.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),Z("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),Z("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),me("a",!0),me("A",!1),J("hour","h"),K("hour",13),Mt("a",ge),Mt("A",ge),Mt("H",lt),Mt("h",lt),Mt("k",lt),Mt("HH",lt,ht),Mt("hh",lt,ht),Mt("kk",lt,ht),Mt("hmm",ft),Mt("hmmss",mt),Mt("Hmm",ft),Mt("Hmmss",mt),xt(["H","HH"],Gt),xt(["k","kk"],(function(t,e){var n=nt(t);e[Gt]=24===n?0:n})),xt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),xt(["h","hh"],(function(t,e,n){e[Gt]=nt(t),M(n).bigHour=!0})),xt("hmm",(function(t,e,n){var i=t.length-2;e[Gt]=nt(t.substr(0,i)),e[$t]=nt(t.substr(i)),M(n).bigHour=!0})),xt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Gt]=nt(t.substr(0,i)),e[$t]=nt(t.substr(i,2)),e[Et]=nt(t.substr(r)),M(n).bigHour=!0})),xt("Hmm",(function(t,e){var n=t.length-2;e[Gt]=nt(t.substr(0,n)),e[$t]=nt(t.substr(n))})),xt("Hmmss",(function(t,e){var n=t.length-4,i=t.length-2;e[Gt]=nt(t.substr(0,n)),e[$t]=nt(t.substr(n,2)),e[Et]=nt(t.substr(i))}));var ve,we=it("Hours",!0),ye={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:Ft,monthsShort:Rt,week:{dow:0,doy:6},weekdays:se,weekdaysMin:oe,weekdaysShort:ae,meridiemParse:/[ap]\.?m?\.?/i},ke={},pe={};function Ye(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function be(t){return t?t.toLowerCase().replace("_","-"):t}function Me(t){var e=null;if(void 0===ke[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ve._abbr,require("./locale/"+t),De(e)}catch(e){ke[t]=null}return ke[t]}function De(t,e){var n;return t&&((n=w(e)?Ne(t):Se(t,e))?ve=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ve._abbr}function Se(t,e){if(null!==e){var n,i=ye;if(e.abbr=t,null!=ke[t])$("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."),i=ke[t]._config;else if(null!=e.parentLocale)if(null!=ke[e.parentLocale])i=ke[e.parentLocale]._config;else{if(null==(n=Me(e.parentLocale)))return pe[e.parentLocale]||(pe[e.parentLocale]=[]),pe[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ke[t]=new O(L(i,e)),pe[t]&&pe[t].forEach((function(t){Se(t.name,t.config)})),De(t),ke[t]}return delete ke[t],null}function Ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ve;if(!f(t)){if(e=Me(t))return e;t=[t]}return function(t){for(var e,n,i,r,s=0;s<t.length;){for(e=(r=be(t[s]).split("-")).length,n=(n=be(t[s+1]))?n.split("-"):null;e>0;){if(i=Me(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&Ye(r,n)>=e-1)break;e--}s++}return ve}(t)}function xe(t){var e,n=t._a;return n&&-2===M(t).overflow&&(e=n[Wt]<0||n[Wt]>11?Wt:n[At]<1||n[At]>Ct(n[Pt],n[Wt])?At:n[Gt]<0||n[Gt]>24||24===n[Gt]&&(0!==n[$t]||0!==n[Et]||0!==n[Lt])?Gt:n[$t]<0||n[$t]>59?$t:n[Et]<0||n[Et]>59?Et:n[Lt]<0||n[Lt]>999?Lt:-1,M(t)._overflowDayOfYear&&(e<Pt||e>At)&&(e=At),M(t)._overflowWeeks&&-1===e&&(e=Ot),M(t)._overflowWeekday&&-1===e&&(e=It),M(t).overflow=e),t}var Te=/^\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)?)?$/,_e=/^\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)?)?$/,He=/Z|[+-]\d\d(?::?\d\d)?/,Pe=[["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]],We=[["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/]],Ae=/^\/?Date\((-?\d+)/i,Ge=/^(?:(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}))$/,$e={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ee(t){var e,n,i,r,s,a,o=t._i,h=Te.exec(o)||_e.exec(o),u=Pe.length,c=We.length;if(h){for(M(t).iso=!0,e=0,n=u;e<n;e++)if(Pe[e][1].exec(h[1])){r=Pe[e][0],i=!1!==Pe[e][2];break}if(null==r)return void(t._isValid=!1);if(h[3]){for(e=0,n=c;e<n;e++)if(We[e][1].exec(h[3])){s=(h[2]||" ")+We[e][0];break}if(null==s)return void(t._isValid=!1)}if(!i&&null!=s)return void(t._isValid=!1);if(h[4]){if(!He.exec(h[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),Ce(t)}else t._isValid=!1}function Le(t){var e,n,i,r,s,a,o,h,u,c=Ge.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],i=c[2],r=c[5],s=c[6],a=c[7],o=[(h=c[4],u=parseInt(h,10),u<=49?2e3+u:u<=999?1900+u:u),Rt.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,n){return!t||ae.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(M(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e=o,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return $e[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),t._d=Kt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),M(t).rfc2822=!0}else t._isValid=!1}function Oe(t,e,n){return null!=t?t:null!=e?e:n}function Ie(t){var e,n,i,r,s,a=[];if(!t._d){for(i=function(t){var e=new Date(l.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[At]&&null==t._a[Wt]&&function(t){var e,n,i,r,s,a,o,h,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(s=1,a=4,n=Oe(e.GG,t._a[Pt],ne(je(),1,4).year),i=Oe(e.W,1),((r=Oe(e.E,1))<1||r>7)&&(h=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,u=ne(je(),s,a),n=Oe(e.gg,t._a[Pt],u.year),i=Oe(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(h=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(h=!0)):r=s),i<1||i>ie(n,s,a)?M(t)._overflowWeeks=!0:null!=h?M(t)._overflowWeekday=!0:(o=ee(n,i,r,s,a),t._a[Pt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=Oe(t._a[Pt],i[Pt]),(t._dayOfYear>Qt(s)||0===t._dayOfYear)&&(M(t)._overflowDayOfYear=!0),n=Kt(s,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[At]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Gt]&&0===t._a[$t]&&0===t._a[Et]&&0===t._a[Lt]&&(t._nextDay=!0,t._a[Gt]=0),t._d=(t._useUTC?Kt:Vt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Gt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(M(t).weekdayMismatch=!0)}}function Ce(t){if(t._f!==l.ISO_8601)if(t._f!==l.RFC_2822){t._a=[],M(t).empty=!0;var e,n,i,r,s,a,o,h=""+t._i,u=h.length,c=0;for(o=(i=z(t._f,t._locale).match(C)||[]).length,e=0;e<o;e++)(n=(h.match(Dt(r=i[e],t))||[])[0])&&((s=h.substr(0,h.indexOf(n))).length>0&&M(t).unusedInput.push(s),h=h.slice(h.indexOf(n)+n.length),c+=n.length),j[r]?(n?M(t).empty=!1:M(t).unusedTokens.push(r),_t(r,n,t)):t._strict&&!n&&M(t).unusedTokens.push(r);M(t).charsLeftOver=u-c,h.length>0&&M(t).unusedInput.push(h),t._a[Gt]<=12&&!0===M(t).bigHour&&t._a[Gt]>0&&(M(t).bigHour=void 0),M(t).parsedDateParts=t._a.slice(0),M(t).meridiem=t._meridiem,t._a[Gt]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[Gt],t._meridiem),null!==(a=M(t).era)&&(t._a[Pt]=t._locale.erasConvertYear(a,t._a[Pt])),Ie(t),xe(t)}else Le(t);else Ee(t)}function Fe(t){var e=t._i,n=t._f;return t._locale=t._locale||Ne(t._l),null===e||void 0===n&&""===e?S({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),H(e)?new _(xe(e)):(k(e)?t._d=e:f(n)?function(t){var e,n,i,r,s,a,o=!1,h=t._f.length;if(0===h)return M(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<h;r++)s=0,a=!1,e=T({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ce(e),D(e)&&(a=!0),s+=M(e).charsLeftOver,s+=10*M(e).unusedTokens.length,M(e).score=s,o?s<i&&(i=s,n=e):(null==i||s<i||a)&&(i=s,n=e,a&&(o=!0));Y(t,n||e)}(t):n?Ce(t):function(t){var e=t._i;w(e)?t._d=new Date(l.now()):k(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=Ae.exec(t._i);null===e?(Ee(t),!1===t._isValid&&(delete t._isValid,Le(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:l.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):f(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Ie(t)):m(e)?function(t){if(!t._d){var e=X(t._i);t._a=p([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Ie(t)}}(t):y(e)?t._d=new Date(e):l.createFromInputFallback(t)}(t),D(t)||(t._d=null),t))}function Re(t,e,n,i,r){var s,a={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(m(t)&&v(t)||f(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=i,(s=new _(xe(Fe(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function je(t,e,n,i){return Re(t,e,n,i,!1)}l.createFromInputFallback=W("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),l.ISO_8601=function(){},l.RFC_2822=function(){};var Ze=W("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:S()})),Ue=W("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:S()}));function ze(t,e){var n,i;if(1===e.length&&f(e[0])&&(e=e[0]),!e.length)return je();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var qe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Je(t){var e=X(t),n=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,h=e.minute||0,u=e.second||0,c=e.millisecond||0;this._isValid=function(t){var e,n,i=!1,r=qe.length;for(e in t)if(g(t,e)&&(-1===Ht.call(qe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[qe[n]]){if(i)return!1;parseFloat(t[qe[n]])!==nt(t[qe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*u+6e4*h+1e3*o*60*60,this._days=+a+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=Ne(),this._bubble()}function Be(t){return t instanceof Je}function Qe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Xe(t,e){Z(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+I(~~(t/60),2)+e+I(~~t%60,2)}))}Xe("Z",":"),Xe("ZZ",""),Mt("Z",Yt),Mt("ZZ",Yt),xt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Ke(Yt,t)}));var Ve=/([\+\-]|\d\d)/gi;function Ke(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Ve)||["-",0,0])[1]+nt(n[2]))?0:"+"===n[0]?i:-i}function tn(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(H(t)||k(t)?t.valueOf():je(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),l.updateOffset(n,!1),n):je(t).local()}function en(t){return-Math.round(t._d.getTimezoneOffset())}function nn(){return!!this.isValid()&&this._isUTC&&0===this._offset}l.updateOffset=function(){};var rn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function an(t,e){var n,i,r,s,a,o,h=t,u=null;return Be(t)?h={ms:t._milliseconds,d:t._days,M:t._months}:y(t)||!isNaN(+t)?(h={},e?h[e]=+t:h.milliseconds=+t):(u=rn.exec(t))?(n="-"===u[1]?-1:1,h={y:0,d:nt(u[At])*n,h:nt(u[Gt])*n,m:nt(u[$t])*n,s:nt(u[Et])*n,ms:nt(Qe(1e3*u[Lt]))*n}):(u=sn.exec(t))?h={y:on(u[2],n="-"===u[1]?-1:1),M:on(u[3],n),w:on(u[4],n),d:on(u[5],n),h:on(u[6],n),m:on(u[7],n),s:on(u[8],n)}:null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(s=je(h.from),a=je(h.to),r=s.isValid()&&a.isValid()?(a=tn(a,s),s.isBefore(a)?o=hn(s,a):((o=hn(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(h={}).ms=r.milliseconds,h.M=r.months),i=new Je(h),Be(t)&&g(t,"_locale")&&(i._locale=t._locale),Be(t)&&g(t,"_isValid")&&(i._isValid=t._isValid),i}function on(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function hn(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function un(t,e){return function(n,i){var r;return null===i||isNaN(+i)||($(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),cn(this,an(n,i),t),this}}function cn(t,e,n,i){var r=e._milliseconds,s=Qe(e._days),a=Qe(e._months);t.isValid()&&(i=null==i||i,a&&qt(t,rt(t,"Month")+a*n),s&&st(t,"Date",rt(t,"Date")+s*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&l.updateOffset(t,s||a))}an.fn=Je.prototype,an.invalid=function(){return an(NaN)};var dn=un(1,"add"),ln=un(-1,"subtract");function fn(t){return"string"==typeof t||t instanceof String}function mn(t,e){if(t.date()<e.date())return-mn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function gn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Ne(t))&&(this._locale=e),this)}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var vn=W("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function wn(){return this._locale}var yn=1e3,kn=6e4,pn=36e5,Yn=126227808e5;function bn(t,e){return(t%e+e)%e}function Mn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Yn:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Yn:Date.UTC(t,e,n)}function Sn(t,e){return e.erasAbbrRegex(t)}function Nn(){var t,e,n=[],i=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)i.push(St(a[t].name)),n.push(St(a[t].abbr)),r.push(St(a[t].narrow)),s.push(St(a[t].name)),s.push(St(a[t].abbr)),s.push(St(a[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function xn(t,e){Z(0,[t,t.length],0,e)}function Tn(t,e,n,i,r){var s;return null==t?ne(this,i,r).year:(e>(s=ie(t,i,r))&&(e=s),_n.call(this,t,e,n,i,r))}function _n(t,e,n,i,r){var s=ee(t,e,n,i,r),a=Kt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Z("N",0,0,"eraAbbr"),Z("NN",0,0,"eraAbbr"),Z("NNN",0,0,"eraAbbr"),Z("NNNN",0,0,"eraName"),Z("NNNNN",0,0,"eraNarrow"),Z("y",["y",1],"yo","eraYear"),Z("y",["yy",2],0,"eraYear"),Z("y",["yyy",3],0,"eraYear"),Z("y",["yyyy",4],0,"eraYear"),Mt("N",Sn),Mt("NN",Sn),Mt("NNN",Sn),Mt("NNNN",(function(t,e){return e.erasNameRegex(t)})),Mt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),xt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?M(n).era=r:M(n).invalidEra=t})),Mt("y",yt),Mt("yy",yt),Mt("yyy",yt),Mt("yyyy",yt),Mt("yo",(function(t,e){return e._eraYearOrdinalRegex||yt})),xt(["y","yy","yyy","yyyy"],Pt),xt(["yo"],(function(t,e,n){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),e[Pt]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),Z(0,["gg",2],0,(function(){return this.weekYear()%100})),Z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),K("weekYear",1),K("isoWeekYear",1),Mt("G",kt),Mt("g",kt),Mt("GG",lt,ht),Mt("gg",lt,ht),Mt("GGGG",vt,ct),Mt("gggg",vt,ct),Mt("GGGGG",wt,dt),Mt("ggggg",wt,dt),Tt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=nt(t)})),Tt(["gg","GG"],(function(t,e,n,i){e[i]=l.parseTwoDigitYear(t)})),Z("Q",0,"Qo","quarter"),J("quarter","Q"),K("quarter",7),Mt("Q",ot),xt("Q",(function(t,e){e[Wt]=3*(nt(t)-1)})),Z("D",["DD",2],"Do","date"),J("date","D"),K("date",9),Mt("D",lt),Mt("DD",lt,ht),Mt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),xt(["D","DD"],At),xt("Do",(function(t,e){e[At]=nt(t.match(lt)[0])}));var Hn=it("Date",!0);Z("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),K("dayOfYear",4),Mt("DDD",gt),Mt("DDDD",ut),xt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=nt(t)})),Z("m",["mm",2],0,"minute"),J("minute","m"),K("minute",14),Mt("m",lt),Mt("mm",lt,ht),xt(["m","mm"],$t);var Pn=it("Minutes",!1);Z("s",["ss",2],0,"second"),J("second","s"),K("second",15),Mt("s",lt),Mt("ss",lt,ht),xt(["s","ss"],Et);var Wn,An,Gn=it("Seconds",!1);for(Z("S",0,0,(function(){return~~(this.millisecond()/100)})),Z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Z(0,["SSS",3],0,"millisecond"),Z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),K("millisecond",16),Mt("S",gt,ot),Mt("SS",gt,ht),Mt("SSS",gt,ut),Wn="SSSS";Wn.length<=9;Wn+="S")Mt(Wn,yt);function $n(t,e){e[Lt]=nt(1e3*("0."+t))}for(Wn="S";Wn.length<=9;Wn+="S")xt(Wn,$n);An=it("Milliseconds",!1),Z("z",0,0,"zoneAbbr"),Z("zz",0,0,"zoneName");var En=_.prototype;function Ln(t){return t}En.add=dn,En.calendar=function(t,e){var n;1===arguments.length&&(arguments[0]?H(n=arguments[0])||k(n)||fn(n)||y(n)||function(t){var e=f(t),n=!1;return e&&(n=0===t.filter((function(e){return!y(e)&&fn(t)})).length),e&&n}(n)||function(t){var e,n=m(t)&&!v(t),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=r.length;for(e=0;e<s;e+=1)i=i||g(t,r[e]);return n&&i}(n)||null==n?(t=arguments[0],e=void 0):function(t){var e,n=m(t)&&!v(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)i=i||g(t,r[e]);return n&&i}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||je(),r=tn(i,this).startOf("day"),s=l.calendarFormat(this,r)||"sameElse",a=e&&(E(e[s])?e[s].call(this,i):e[s]);return this.format(a||this.localeData().calendar(s,this,je(i)))},En.clone=function(){return new _(this)},En.diff=function(t,e,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=tn(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=Q(e)){case"year":s=mn(this,i)/12;break;case"month":s=mn(this,i);break;case"quarter":s=mn(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:et(s)},En.endOf=function(t){var e,n;if(void 0===(t=Q(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Dn:Mn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=pn-bn(e+(this._isUTC?0:this.utcOffset()*kn),pn)-1;break;case"minute":e=this._d.valueOf(),e+=kn-bn(e,kn)-1;break;case"second":e=this._d.valueOf(),e+=yn-bn(e,yn)-1}return this._d.setTime(e),l.updateOffset(this,!0),this},En.format=function(t){t||(t=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},En.from=function(t,e){return this.isValid()&&(H(t)&&t.isValid()||je(t).isValid())?an({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},En.fromNow=function(t){return this.from(je(),t)},En.to=function(t,e){return this.isValid()&&(H(t)&&t.isValid()||je(t).isValid())?an({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},En.toNow=function(t){return this.to(je(),t)},En.get=function(t){return E(this[t=Q(t)])?this[t]():this},En.invalidAt=function(){return M(this).overflow},En.isAfter=function(t,e){var n=H(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},En.isBefore=function(t,e){var n=H(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},En.isBetween=function(t,e,n,i){var r=H(t)?t:je(t),s=H(e)?e:je(e);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n))},En.isSame=function(t,e){var n,i=H(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},En.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},En.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},En.isValid=function(){return D(this)},En.lang=vn,En.locale=gn,En.localeData=wn,En.max=Ue,En.min=Ze,En.parsingFlags=function(){return Y({},M(this))},En.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)g(t,e)&&n.push({unit:e,priority:V[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=X(t)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if(E(this[t=Q(t)]))return this[t](e);return this},En.startOf=function(t){var e,n;if(void 0===(t=Q(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Dn:Mn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=bn(e+(this._isUTC?0:this.utcOffset()*kn),pn);break;case"minute":e=this._d.valueOf(),e-=bn(e,kn);break;case"second":e=this._d.valueOf(),e-=bn(e,yn)}return this._d.setTime(e),l.updateOffset(this,!0),this},En.subtract=ln,En.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},En.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},En.toDate=function(){return new Date(this.valueOf())},En.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},En.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(En[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),En.toJSON=function(){return this.isValid()?this.toISOString():null},En.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},En.unix=function(){return Math.floor(this.valueOf()/1e3)},En.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},En.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},En.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},En.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},En.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},En.eraYear=function(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-l(r[t].since).year())*n+r[t].offset;return this.year()},En.year=Xt,En.isLeapYear=function(){return tt(this.year())},En.weekYear=function(t){return Tn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},En.isoWeekYear=function(t){return Tn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},En.quarter=En.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},En.month=Jt,En.daysInMonth=function(){return Ct(this.year(),this.month())},En.week=En.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},En.isoWeek=En.isoWeeks=function(t){var e=ne(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},En.weeksInYear=function(){var t=this.localeData()._week;return ie(this.year(),t.dow,t.doy)},En.weeksInWeekYear=function(){var t=this.localeData()._week;return ie(this.weekYear(),t.dow,t.doy)},En.isoWeeksInYear=function(){return ie(this.year(),1,4)},En.isoWeeksInISOWeekYear=function(){return ie(this.isoWeekYear(),1,4)},En.date=Hn,En.day=En.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},En.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},En.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},En.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},En.hour=En.hours=we,En.minute=En.minutes=Pn,En.second=En.seconds=Gn,En.millisecond=En.milliseconds=An,En.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ke(Yt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=en(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?cn(this,an(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:en(this)},En.utc=function(t){return this.utcOffset(0,t)},En.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(en(this),"m")),this},En.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ke(pt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},En.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?je(t).utcOffset():0,(this.utcOffset()-t)%60==0)},En.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},En.isLocal=function(){return!!this.isValid()&&!this._isUTC},En.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},En.isUtc=nn,En.isUTC=nn,En.zoneAbbr=function(){return this._isUTC?"UTC":""},En.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},En.dates=W("dates accessor is deprecated. Use date instead.",Hn),En.months=W("months accessor is deprecated. Use month instead",Jt),En.years=W("years accessor is deprecated. Use year instead",Xt),En.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),En.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!w(this._isDSTShifted))return this._isDSTShifted;var t,e={};return T(e,this),(e=Fe(e))._a?(t=e._isUTC?b(e._a):je(e._a),this._isDSTShifted=this.isValid()&&function(t,e){var n,i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(n=0;n<i;n++)nt(t[n])!==nt(e[n])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var On=O.prototype;function In(t,e,n,i){var r=Ne(),s=b().set(i,e);return r[n](s,t)}function Cn(t,e,n){if(y(t)&&(e=t,t=void 0),t=t||"",null!=e)return In(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=In(t,i,n,"month");return r}function Fn(t,e,n,i){"boolean"==typeof t?(y(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,y(e)&&(n=e,e=void 0),e=e||"");var r,s=Ne(),a=t?s._week.dow:0,o=[];if(null!=n)return In(e,(n+a)%7,i,"day");for(r=0;r<7;r++)o[r]=In(e,(r+a)%7,i,"day");return o}On.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return E(i)?i.call(e,n):i},On.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(C).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},On.invalidDate=function(){return this._invalidDate},On.ordinal=function(t){return this._ordinal.replace("%d",t)},On.preparse=Ln,On.postformat=Ln,On.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return E(r)?r(t,e,n,i):r.replace(/%d/i,t)},On.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)},On.set=function(t){var e,n;for(n in t)g(t,n)&&(E(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},On.eras=function(){var t,e,n,i=this._eras||Ne("en")._eras;for(t=0,e=i.length;t<e;++t)switch("string"==typeof i[t].since&&(n=l(i[t].since).startOf("day"),i[t].since=n.valueOf()),typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":n=l(i[t].until).startOf("day").valueOf(),i[t].until=n.valueOf()}return i},On.erasParse=function(t,e,n){var i,r,s,a,o,h=this.eras();for(t=t.toUpperCase(),i=0,r=h.length;i<r;++i)if(s=h[i].name.toUpperCase(),a=h[i].abbr.toUpperCase(),o=h[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return h[i];break;case"NNNN":if(s===t)return h[i];break;case"NNNNN":if(o===t)return h[i]}else if([s,a,o].indexOf(t)>=0)return h[i]},On.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?l(t.since).year():l(t.since).year()+(e-t.offset)*n},On.erasAbbrRegex=function(t){return g(this,"_erasAbbrRegex")||Nn.call(this),t?this._erasAbbrRegex:this._erasRegex},On.erasNameRegex=function(t){return g(this,"_erasNameRegex")||Nn.call(this),t?this._erasNameRegex:this._erasRegex},On.erasNarrowRegex=function(t){return g(this,"_erasNarrowRegex")||Nn.call(this),t?this._erasNarrowRegex:this._erasRegex},On.months=function(t,e){return t?f(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||jt).test(e)?"format":"standalone"][t.month()]:f(this._months)?this._months:this._months.standalone},On.monthsShort=function(t,e){return t?f(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[jt.test(e)?"format":"standalone"][t.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},On.monthsParse=function(t,e,n){var i,r,s;if(this._monthsParseExact)return zt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=b([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},On.monthsRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ut),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},On.monthsShortRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},On.week=function(t){return ne(t,this._week.dow,this._week.doy).week},On.firstDayOfYear=function(){return this._week.doy},On.firstDayOfWeek=function(){return this._week.dow},On.weekdays=function(t,e){var n=f(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?re(n,this._week.dow):t?n[t.day()]:n},On.weekdaysMin=function(t){return!0===t?re(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},On.weekdaysShort=function(t){return!0===t?re(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},On.weekdaysParse=function(t,e,n){var i,r,s;if(this._weekdaysParseExact)return de.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=b([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},On.weekdaysRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=he),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},On.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ue),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},On.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ce),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},On.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},On.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},De("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(t){var e=t%10;return t+(1===nt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),l.lang=W("moment.lang is deprecated. Use moment.locale instead.",De),l.langData=W("moment.langData is deprecated. Use moment.localeData instead.",Ne);var Rn=Math.abs;function jn(t,e,n,i){var r=an(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Zn(t){return t<0?Math.floor(t):Math.ceil(t)}function Un(t){return 4800*t/146097}function zn(t){return 146097*t/4800}function qn(t){return function(){return this.as(t)}}var Jn=qn("ms"),Bn=qn("s"),Qn=qn("m"),Xn=qn("h"),Vn=qn("d"),Kn=qn("w"),ti=qn("M"),ei=qn("Q"),ni=qn("y");function ii(t){return function(){return this.isValid()?this._data[t]:NaN}}var ri=ii("milliseconds"),si=ii("seconds"),ai=ii("minutes"),oi=ii("hours"),hi=ii("days"),ui=ii("months"),ci=ii("years"),di=Math.round,li={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function fi(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var mi=Math.abs;function gi(t){return(t>0)-(t<0)||+t}function vi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,a,o,h=mi(this._milliseconds)/1e3,u=mi(this._days),c=mi(this._months),d=this.asSeconds();return d?(t=et(h/60),e=et(t/60),h%=60,t%=60,n=et(c/12),c%=12,i=h?h.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=gi(this._months)!==gi(d)?"-":"",a=gi(this._days)!==gi(d)?"-":"",o=gi(this._milliseconds)!==gi(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(c?s+c+"M":"")+(u?a+u+"D":"")+(e||t||h?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(h?o+i+"S":"")):"P0D"}var wi=Je.prototype;wi.isValid=function(){return this._isValid},wi.abs=function(){var t=this._data;return this._milliseconds=Rn(this._milliseconds),this._days=Rn(this._days),this._months=Rn(this._months),t.milliseconds=Rn(t.milliseconds),t.seconds=Rn(t.seconds),t.minutes=Rn(t.minutes),t.hours=Rn(t.hours),t.months=Rn(t.months),t.years=Rn(t.years),this},wi.add=function(t,e){return jn(this,t,e,1)},wi.subtract=function(t,e){return jn(this,t,e,-1)},wi.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=Q(t))||"quarter"===t||"year"===t)switch(n=this._months+Un(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(zn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},wi.asMilliseconds=Jn,wi.asSeconds=Bn,wi.asMinutes=Qn,wi.asHours=Xn,wi.asDays=Vn,wi.asWeeks=Kn,wi.asMonths=ti,wi.asQuarters=ei,wi.asYears=ni,wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*nt(this._months/12):NaN},wi._bubble=function(){var t,e,n,i,r,s=this._milliseconds,a=this._days,o=this._months,h=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Zn(zn(o)+a),a=0,o=0),h.milliseconds=s%1e3,t=et(s/1e3),h.seconds=t%60,e=et(t/60),h.minutes=e%60,n=et(e/60),h.hours=n%24,a+=et(n/24),o+=r=et(Un(a)),a-=Zn(zn(r)),i=et(o/12),o%=12,h.days=a,h.months=o,h.years=i,this},wi.clone=function(){return an(this)},wi.get=function(t){return t=Q(t),this.isValid()?this[t+"s"]():NaN},wi.milliseconds=ri,wi.seconds=si,wi.minutes=ai,wi.hours=oi,wi.days=hi,wi.weeks=function(){return et(this.days()/7)},wi.months=ui,wi.years=ci,wi.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=li;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},li,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),i=function(t,e,n,i){var r=an(t).abs(),s=di(r.as("s")),a=di(r.as("m")),o=di(r.as("h")),h=di(r.as("d")),u=di(r.as("M")),c=di(r.as("w")),d=di(r.as("y")),l=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||h<=1&&["d"]||h<n.d&&["dd",h];return null!=n.w&&(l=l||c<=1&&["w"]||c<n.w&&["ww",c]),(l=l||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=e,l[3]=+t>0,l[4]=i,fi.apply(null,l)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},wi.toISOString=vi,wi.toString=vi,wi.toJSON=vi,wi.locale=gn,wi.localeData=wn,wi.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vi),wi.lang=vn,Z("X",0,0,"unix"),Z("x",0,0,"valueOf"),Mt("x",kt),Mt("X",/[+-]?\d+(\.\d{1,3})?/),xt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),xt("x",(function(t,e,n){n._d=new Date(nt(t))})),
7
+ var c,d;function l(){return c.apply(null,arguments)}function f(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function m(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function v(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(g(t,e))return!1;return!0}function w(t){return void 0===t}function y(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function Y(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function b(t,e,n,i){return Re(t,e,n,i,!0).utc()}function M(t){return null==t._pf&&(t._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}),t._pf}function D(t){if(null==t._isValid){var e=M(t),n=d.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function S(t){var e=b(NaN);return null!=t?Y(M(e),t):M(e).userInvalidated=!0,e}u.style=":host{display:block}.PageNavigationWrapper{display:flex;flex-direction:row;height:100%;align-content:center}.PageNavigationWrapper .PageOfMessage{margin:5px;padding:5px 6px;margin:2px}.PageNavigation{display:flex;flex-direction:row;align-items:center}.PageNavigation .PageArrow{color:var(--emw--color-primary, #777676);padding:6px 5px;cursor:pointer;font-weight:bold;width:1.2rem;text-align:center}.PageNavigation .PageArrow.Disabled{color:var(--emw--color-gray-100, #e0e0e0)}ul.PaginationArea{list-style:none;padding:0px;margin:0px;display:flex}ul.PaginationArea li.PageItem{cursor:pointer;padding:5px 6px;margin:2px;width:0.9rem;text-align:center}ul.PaginationArea li.PageItem.Active,ul.PaginationArea li.PageItem:hover{font-weight:bold;color:var(--emw--color-primary, #f5f1f1);background-color:var(--emw--color-secondary, #8c8989);border-radius:0.3rem}",d=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var N=l.momentProperties=[],x=!1;function T(t,e){var n,i,r,s=N.length;if(w(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),w(e._i)||(t._i=e._i),w(e._f)||(t._f=e._f),w(e._l)||(t._l=e._l),w(e._strict)||(t._strict=e._strict),w(e._tzm)||(t._tzm=e._tzm),w(e._isUTC)||(t._isUTC=e._isUTC),w(e._offset)||(t._offset=e._offset),w(e._pf)||(t._pf=M(e)),w(e._locale)||(t._locale=e._locale),s>0)for(n=0;n<s;n++)w(r=e[i=N[n]])||(t[i]=r);return t}function H(t){T(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,l.updateOffset(this),x=!1)}function _(t){return t instanceof H||null!=t&&null!=t._isAMomentObject}function P(t){!1===l.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function W(t,e){var n=!0;return Y((function(){if(null!=l.deprecationHandler&&l.deprecationHandler(null,t),n){var i,r,s,a=[],o=arguments.length;for(r=0;r<o;r++){if(i="","object"==typeof arguments[r]){for(s in i+="\n["+r+"] ",arguments[0])g(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[r];a.push(i)}P(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var A,G={};function $(t,e){null!=l.deprecationHandler&&l.deprecationHandler(t,e),G[t]||(P(e),G[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var n,i=Y({},t);for(n in e)g(e,n)&&(m(t[n])&&m(e[n])?(i[n]={},Y(i[n],t[n]),Y(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)g(t,n)&&!g(e,n)&&m(t[n])&&(i[n]=Y({},i[n]));return i}function O(t){null!=t&&this.set(t)}function I(t,e,n){var i=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null,A=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var C=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},j={};function Z(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(j[t]=r),e&&(j[e[0]]=function(){return I(r.apply(this,arguments),e[1],e[2])}),n&&(j[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=z(e,t.localeData()),R[e]=R[e]||function(t){var e,n,i,r=t.match(C);for(e=0,n=r.length;e<n;e++)r[e]=j[r[e]]?j[r[e]]:(i=r[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,s="";for(i=0;i<n;i++)s+=E(r[i])?r[i].call(e,t):r[i];return s}}(e),R[e](t)):t.localeData().invalidDate()}function z(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(F.lastIndex=0;n>=0&&F.test(t);)t=t.replace(F,i),F.lastIndex=0,n-=1;return t}var q={};function J(t,e){var n=t.toLowerCase();q[n]=q[n+"s"]=q[e]=t}function Q(t){return"string"==typeof t?q[t]||q[t.toLowerCase()]:void 0}function X(t){var e,n,i={};for(n in t)g(t,n)&&(e=Q(n))&&(i[e]=t[n]);return i}var V={};function K(t,e){V[t]=e}function tt(t){return t%4==0&&t%100!=0||t%400==0}function et(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function nt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=et(e)),n}function it(t,e){return function(n){return null!=n?(st(this,t,n),l.updateOffset(this,e),this):rt(this,t)}}function rt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function st(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tt(t.year())&&1===t.month()&&29===t.date()?(n=nt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var at,ot=/\d/,ht=/\d\d/,ut=/\d{3}/,ct=/\d{4}/,dt=/[+-]?\d{6}/,lt=/\d\d?/,ft=/\d\d\d\d?/,mt=/\d\d\d\d\d\d?/,gt=/\d{1,3}/,vt=/\d{1,4}/,wt=/[+-]?\d{1,6}/,yt=/\d+/,kt=/[+-]?\d+/,pt=/Z|[+-]\d\d:?\d\d/gi,Yt=/Z|[+-]\d\d(?::?\d\d)?/gi,bt=/[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 Mt(t,e,n){at[t]=E(e)?e:function(t){return t&&n?n:e}}function Dt(t,e){return g(at,t)?at[t](e._strict,e._locale):new RegExp(St(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function St(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}at={};var Nt={};function xt(t,e){var n,i,r=e;for("string"==typeof t&&(t=[t]),y(e)&&(r=function(t,n){n[e]=nt(t)}),i=t.length,n=0;n<i;n++)Nt[t[n]]=r}function Tt(t,e){xt(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function Ht(t,e,n){null!=e&&g(Nt,t)&&Nt[t](e,n._a,n,t)}var _t,Pt=0,Wt=1,At=2,Gt=3,$t=4,Et=5,Lt=6,Ot=7,It=8;function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?tt(t)?29:28:31-n%7%2}_t=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Z("M",["MM",2],"Mo",(function(){return this.month()+1})),Z("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Z("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),J("month","M"),K("month",8),Mt("M",lt),Mt("MM",lt,ht),Mt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Mt("MMMM",(function(t,e){return e.monthsRegex(t)})),xt(["M","MM"],(function(t,e){e[Wt]=nt(t)-1})),xt(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Wt]=r:M(n).invalidMonth=t}));var Ft="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Zt=bt,Ut=bt;function zt(t,e,n){var i,r,s,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=b([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,a))?r:null:-1!==(r=_t.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,a))||-1!==(r=_t.call(this._longMonthsParse,a))?r:null:-1!==(r=_t.call(this._longMonthsParse,a))||-1!==(r=_t.call(this._shortMonthsParse,a))?r:null}function qt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=nt(e);else if(!y(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Jt(t){return null!=t?(qt(this,t),l.updateOffset(this,!0),this):rt(this,"Month")}function Bt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],s=[];for(e=0;e<12;e++)n=b([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),s.sort(t),e=0;e<12;e++)i[e]=St(i[e]),r[e]=St(r[e]);for(e=0;e<24;e++)s[e]=St(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qt(t){return tt(t)?366:365}Z("Y",0,0,(function(){var t=this.year();return t<=9999?I(t,4):"+"+t})),Z(0,["YY",2],0,(function(){return this.year()%100})),Z(0,["YYYY",4],0,"year"),Z(0,["YYYYY",5],0,"year"),Z(0,["YYYYYY",6,!0],0,"year"),J("year","y"),K("year",1),Mt("Y",kt),Mt("YY",lt,ht),Mt("YYYY",vt,ct),Mt("YYYYY",wt,dt),Mt("YYYYYY",wt,dt),xt(["YYYYY","YYYYYY"],Pt),xt("YYYY",(function(t,e){e[Pt]=2===t.length?l.parseTwoDigitYear(t):nt(t)})),xt("YY",(function(t,e){e[Pt]=l.parseTwoDigitYear(t)})),xt("Y",(function(t,e){e[Pt]=parseInt(t,10)})),l.parseTwoDigitYear=function(t){return nt(t)+(nt(t)>68?1900:2e3)};var Xt=it("FullYear",!0);function Vt(t,e,n,i,r,s,a){var o;return t<100&&t>=0?(o=new Date(t+400,e,n,i,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,i,r,s,a),o}function Kt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function te(t,e,n){var i=7+e-n;return-(7+Kt(t,0,i).getUTCDay()-e)%7+i-1}function ee(t,e,n,i,r){var s,a,o=1+7*(e-1)+(7+n-i)%7+te(t,i,r);return o<=0?a=Qt(s=t-1)+o:o>Qt(t)?(s=t+1,a=o-Qt(t)):(s=t,a=o),{year:s,dayOfYear:a}}function ne(t,e,n){var i,r,s=te(t.year(),e,n),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?i=a+ie(r=t.year()-1,e,n):a>ie(t.year(),e,n)?(i=a-ie(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function ie(t,e,n){var i=te(t,e,n),r=te(t+1,e,n);return(Qt(t)-i+r)/7}function re(t,e){return t.slice(e,7).concat(t.slice(0,e))}Z("w",["ww",2],"wo","week"),Z("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),K("week",5),K("isoWeek",5),Mt("w",lt),Mt("ww",lt,ht),Mt("W",lt),Mt("WW",lt,ht),Tt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=nt(t)})),Z("d",0,"do","day"),Z("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Z("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Z("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Z("e",0,0,"weekday"),Z("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),K("day",11),K("weekday",11),K("isoWeekday",11),Mt("d",lt),Mt("e",lt),Mt("E",lt),Mt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Mt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Mt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Tt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:M(n).invalidWeekday=t})),Tt(["d","e","E"],(function(t,e,n,i){e[i]=nt(t)}));var se="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ae="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),he=bt,ue=bt,ce=bt;function de(t,e,n){var i,r,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=b([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,a))||-1!==(r=_t.call(this._shortWeekdaysParse,a))||-1!==(r=_t.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,a))||-1!==(r=_t.call(this._weekdaysParse,a))||-1!==(r=_t.call(this._minWeekdaysParse,a))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,a))||-1!==(r=_t.call(this._weekdaysParse,a))||-1!==(r=_t.call(this._shortWeekdaysParse,a))?r:null}function le(){function t(t,e){return e.length-t.length}var e,n,i,r,s,a=[],o=[],h=[],u=[];for(e=0;e<7;e++)n=b([2e3,1]).day(e),i=St(this.weekdaysMin(n,"")),r=St(this.weekdaysShort(n,"")),s=St(this.weekdays(n,"")),a.push(i),o.push(r),h.push(s),u.push(i),u.push(r),u.push(s);a.sort(t),o.sort(t),h.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function fe(){return this.hours()%12||12}function me(t,e){Z(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ge(t,e){return e._meridiemParse}Z("H",["HH",2],0,"hour"),Z("h",["hh",2],0,fe),Z("k",["kk",2],0,(function(){return this.hours()||24})),Z("hmm",0,0,(function(){return""+fe.apply(this)+I(this.minutes(),2)})),Z("hmmss",0,0,(function(){return""+fe.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),Z("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),Z("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),me("a",!0),me("A",!1),J("hour","h"),K("hour",13),Mt("a",ge),Mt("A",ge),Mt("H",lt),Mt("h",lt),Mt("k",lt),Mt("HH",lt,ht),Mt("hh",lt,ht),Mt("kk",lt,ht),Mt("hmm",ft),Mt("hmmss",mt),Mt("Hmm",ft),Mt("Hmmss",mt),xt(["H","HH"],Gt),xt(["k","kk"],(function(t,e){var n=nt(t);e[Gt]=24===n?0:n})),xt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),xt(["h","hh"],(function(t,e,n){e[Gt]=nt(t),M(n).bigHour=!0})),xt("hmm",(function(t,e,n){var i=t.length-2;e[Gt]=nt(t.substr(0,i)),e[$t]=nt(t.substr(i)),M(n).bigHour=!0})),xt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Gt]=nt(t.substr(0,i)),e[$t]=nt(t.substr(i,2)),e[Et]=nt(t.substr(r)),M(n).bigHour=!0})),xt("Hmm",(function(t,e){var n=t.length-2;e[Gt]=nt(t.substr(0,n)),e[$t]=nt(t.substr(n))})),xt("Hmmss",(function(t,e){var n=t.length-4,i=t.length-2;e[Gt]=nt(t.substr(0,n)),e[$t]=nt(t.substr(n,2)),e[Et]=nt(t.substr(i))}));var ve,we=it("Hours",!0),ye={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:Ft,monthsShort:Rt,week:{dow:0,doy:6},weekdays:se,weekdaysMin:oe,weekdaysShort:ae,meridiemParse:/[ap]\.?m?\.?/i},ke={},pe={};function Ye(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function be(t){return t?t.toLowerCase().replace("_","-"):t}function Me(t){var e=null;if(void 0===ke[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ve._abbr,require("./locale/"+t),De(e)}catch(e){ke[t]=null}return ke[t]}function De(t,e){var n;return t&&((n=w(e)?Ne(t):Se(t,e))?ve=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ve._abbr}function Se(t,e){if(null!==e){var n,i=ye;if(e.abbr=t,null!=ke[t])$("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."),i=ke[t]._config;else if(null!=e.parentLocale)if(null!=ke[e.parentLocale])i=ke[e.parentLocale]._config;else{if(null==(n=Me(e.parentLocale)))return pe[e.parentLocale]||(pe[e.parentLocale]=[]),pe[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ke[t]=new O(L(i,e)),pe[t]&&pe[t].forEach((function(t){Se(t.name,t.config)})),De(t),ke[t]}return delete ke[t],null}function Ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ve;if(!f(t)){if(e=Me(t))return e;t=[t]}return function(t){for(var e,n,i,r,s=0;s<t.length;){for(e=(r=be(t[s]).split("-")).length,n=(n=be(t[s+1]))?n.split("-"):null;e>0;){if(i=Me(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&Ye(r,n)>=e-1)break;e--}s++}return ve}(t)}function xe(t){var e,n=t._a;return n&&-2===M(t).overflow&&(e=n[Wt]<0||n[Wt]>11?Wt:n[At]<1||n[At]>Ct(n[Pt],n[Wt])?At:n[Gt]<0||n[Gt]>24||24===n[Gt]&&(0!==n[$t]||0!==n[Et]||0!==n[Lt])?Gt:n[$t]<0||n[$t]>59?$t:n[Et]<0||n[Et]>59?Et:n[Lt]<0||n[Lt]>999?Lt:-1,M(t)._overflowDayOfYear&&(e<Pt||e>At)&&(e=At),M(t)._overflowWeeks&&-1===e&&(e=Ot),M(t)._overflowWeekday&&-1===e&&(e=It),M(t).overflow=e),t}var Te=/^\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)?)?$/,He=/^\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)?)?$/,_e=/Z|[+-]\d\d(?::?\d\d)?/,Pe=[["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]],We=[["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/]],Ae=/^\/?Date\((-?\d+)/i,Ge=/^(?:(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}))$/,$e={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ee(t){var e,n,i,r,s,a,o=t._i,h=Te.exec(o)||He.exec(o),u=Pe.length,c=We.length;if(h){for(M(t).iso=!0,e=0,n=u;e<n;e++)if(Pe[e][1].exec(h[1])){r=Pe[e][0],i=!1!==Pe[e][2];break}if(null==r)return void(t._isValid=!1);if(h[3]){for(e=0,n=c;e<n;e++)if(We[e][1].exec(h[3])){s=(h[2]||" ")+We[e][0];break}if(null==s)return void(t._isValid=!1)}if(!i&&null!=s)return void(t._isValid=!1);if(h[4]){if(!_e.exec(h[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),Ce(t)}else t._isValid=!1}function Le(t){var e,n,i,r,s,a,o,h,u,c=Ge.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],i=c[2],r=c[5],s=c[6],a=c[7],o=[(h=c[4],u=parseInt(h,10),u<=49?2e3+u:u<=999?1900+u:u),Rt.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,n){return!t||ae.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(M(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e=o,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return $e[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),t._d=Kt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),M(t).rfc2822=!0}else t._isValid=!1}function Oe(t,e,n){return null!=t?t:null!=e?e:n}function Ie(t){var e,n,i,r,s,a=[];if(!t._d){for(i=function(t){var e=new Date(l.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[At]&&null==t._a[Wt]&&function(t){var e,n,i,r,s,a,o,h,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(s=1,a=4,n=Oe(e.GG,t._a[Pt],ne(je(),1,4).year),i=Oe(e.W,1),((r=Oe(e.E,1))<1||r>7)&&(h=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,u=ne(je(),s,a),n=Oe(e.gg,t._a[Pt],u.year),i=Oe(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(h=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(h=!0)):r=s),i<1||i>ie(n,s,a)?M(t)._overflowWeeks=!0:null!=h?M(t)._overflowWeekday=!0:(o=ee(n,i,r,s,a),t._a[Pt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=Oe(t._a[Pt],i[Pt]),(t._dayOfYear>Qt(s)||0===t._dayOfYear)&&(M(t)._overflowDayOfYear=!0),n=Kt(s,0,t._dayOfYear),t._a[Wt]=n.getUTCMonth(),t._a[At]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Gt]&&0===t._a[$t]&&0===t._a[Et]&&0===t._a[Lt]&&(t._nextDay=!0,t._a[Gt]=0),t._d=(t._useUTC?Kt:Vt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Gt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(M(t).weekdayMismatch=!0)}}function Ce(t){if(t._f!==l.ISO_8601)if(t._f!==l.RFC_2822){t._a=[],M(t).empty=!0;var e,n,i,r,s,a,o,h=""+t._i,u=h.length,c=0;for(o=(i=z(t._f,t._locale).match(C)||[]).length,e=0;e<o;e++)(n=(h.match(Dt(r=i[e],t))||[])[0])&&((s=h.substr(0,h.indexOf(n))).length>0&&M(t).unusedInput.push(s),h=h.slice(h.indexOf(n)+n.length),c+=n.length),j[r]?(n?M(t).empty=!1:M(t).unusedTokens.push(r),Ht(r,n,t)):t._strict&&!n&&M(t).unusedTokens.push(r);M(t).charsLeftOver=u-c,h.length>0&&M(t).unusedInput.push(h),t._a[Gt]<=12&&!0===M(t).bigHour&&t._a[Gt]>0&&(M(t).bigHour=void 0),M(t).parsedDateParts=t._a.slice(0),M(t).meridiem=t._meridiem,t._a[Gt]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[Gt],t._meridiem),null!==(a=M(t).era)&&(t._a[Pt]=t._locale.erasConvertYear(a,t._a[Pt])),Ie(t),xe(t)}else Le(t);else Ee(t)}function Fe(t){var e=t._i,n=t._f;return t._locale=t._locale||Ne(t._l),null===e||void 0===n&&""===e?S({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),_(e)?new H(xe(e)):(k(e)?t._d=e:f(n)?function(t){var e,n,i,r,s,a,o=!1,h=t._f.length;if(0===h)return M(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<h;r++)s=0,a=!1,e=T({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ce(e),D(e)&&(a=!0),s+=M(e).charsLeftOver,s+=10*M(e).unusedTokens.length,M(e).score=s,o?s<i&&(i=s,n=e):(null==i||s<i||a)&&(i=s,n=e,a&&(o=!0));Y(t,n||e)}(t):n?Ce(t):function(t){var e=t._i;w(e)?t._d=new Date(l.now()):k(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=Ae.exec(t._i);null===e?(Ee(t),!1===t._isValid&&(delete t._isValid,Le(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:l.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):f(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Ie(t)):m(e)?function(t){if(!t._d){var e=X(t._i);t._a=p([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Ie(t)}}(t):y(e)?t._d=new Date(e):l.createFromInputFallback(t)}(t),D(t)||(t._d=null),t))}function Re(t,e,n,i,r){var s,a={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(m(t)&&v(t)||f(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=i,(s=new H(xe(Fe(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function je(t,e,n,i){return Re(t,e,n,i,!1)}l.createFromInputFallback=W("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),l.ISO_8601=function(){},l.RFC_2822=function(){};var Ze=W("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:S()})),Ue=W("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:S()}));function ze(t,e){var n,i;if(1===e.length&&f(e[0])&&(e=e[0]),!e.length)return je();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var qe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Je(t){var e=X(t),n=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,h=e.minute||0,u=e.second||0,c=e.millisecond||0;this._isValid=function(t){var e,n,i=!1,r=qe.length;for(e in t)if(g(t,e)&&(-1===_t.call(qe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[qe[n]]){if(i)return!1;parseFloat(t[qe[n]])!==nt(t[qe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*u+6e4*h+1e3*o*60*60,this._days=+a+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=Ne(),this._bubble()}function Be(t){return t instanceof Je}function Qe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Xe(t,e){Z(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+I(~~(t/60),2)+e+I(~~t%60,2)}))}Xe("Z",":"),Xe("ZZ",""),Mt("Z",Yt),Mt("ZZ",Yt),xt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Ke(Yt,t)}));var Ve=/([\+\-]|\d\d)/gi;function Ke(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Ve)||["-",0,0])[1]+nt(n[2]))?0:"+"===n[0]?i:-i}function tn(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(_(t)||k(t)?t.valueOf():je(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),l.updateOffset(n,!1),n):je(t).local()}function en(t){return-Math.round(t._d.getTimezoneOffset())}function nn(){return!!this.isValid()&&this._isUTC&&0===this._offset}l.updateOffset=function(){};var rn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function an(t,e){var n,i,r,s,a,o,h=t,u=null;return Be(t)?h={ms:t._milliseconds,d:t._days,M:t._months}:y(t)||!isNaN(+t)?(h={},e?h[e]=+t:h.milliseconds=+t):(u=rn.exec(t))?(n="-"===u[1]?-1:1,h={y:0,d:nt(u[At])*n,h:nt(u[Gt])*n,m:nt(u[$t])*n,s:nt(u[Et])*n,ms:nt(Qe(1e3*u[Lt]))*n}):(u=sn.exec(t))?h={y:on(u[2],n="-"===u[1]?-1:1),M:on(u[3],n),w:on(u[4],n),d:on(u[5],n),h:on(u[6],n),m:on(u[7],n),s:on(u[8],n)}:null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(s=je(h.from),a=je(h.to),r=s.isValid()&&a.isValid()?(a=tn(a,s),s.isBefore(a)?o=hn(s,a):((o=hn(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(h={}).ms=r.milliseconds,h.M=r.months),i=new Je(h),Be(t)&&g(t,"_locale")&&(i._locale=t._locale),Be(t)&&g(t,"_isValid")&&(i._isValid=t._isValid),i}function on(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function hn(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function un(t,e){return function(n,i){var r;return null===i||isNaN(+i)||($(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),cn(this,an(n,i),t),this}}function cn(t,e,n,i){var r=e._milliseconds,s=Qe(e._days),a=Qe(e._months);t.isValid()&&(i=null==i||i,a&&qt(t,rt(t,"Month")+a*n),s&&st(t,"Date",rt(t,"Date")+s*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&l.updateOffset(t,s||a))}an.fn=Je.prototype,an.invalid=function(){return an(NaN)};var dn=un(1,"add"),ln=un(-1,"subtract");function fn(t){return"string"==typeof t||t instanceof String}function mn(t,e){if(t.date()<e.date())return-mn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function gn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Ne(t))&&(this._locale=e),this)}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var vn=W("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function wn(){return this._locale}var yn=1e3,kn=6e4,pn=36e5,Yn=126227808e5;function bn(t,e){return(t%e+e)%e}function Mn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Yn:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Yn:Date.UTC(t,e,n)}function Sn(t,e){return e.erasAbbrRegex(t)}function Nn(){var t,e,n=[],i=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)i.push(St(a[t].name)),n.push(St(a[t].abbr)),r.push(St(a[t].narrow)),s.push(St(a[t].name)),s.push(St(a[t].abbr)),s.push(St(a[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function xn(t,e){Z(0,[t,t.length],0,e)}function Tn(t,e,n,i,r){var s;return null==t?ne(this,i,r).year:(e>(s=ie(t,i,r))&&(e=s),Hn.call(this,t,e,n,i,r))}function Hn(t,e,n,i,r){var s=ee(t,e,n,i,r),a=Kt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Z("N",0,0,"eraAbbr"),Z("NN",0,0,"eraAbbr"),Z("NNN",0,0,"eraAbbr"),Z("NNNN",0,0,"eraName"),Z("NNNNN",0,0,"eraNarrow"),Z("y",["y",1],"yo","eraYear"),Z("y",["yy",2],0,"eraYear"),Z("y",["yyy",3],0,"eraYear"),Z("y",["yyyy",4],0,"eraYear"),Mt("N",Sn),Mt("NN",Sn),Mt("NNN",Sn),Mt("NNNN",(function(t,e){return e.erasNameRegex(t)})),Mt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),xt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?M(n).era=r:M(n).invalidEra=t})),Mt("y",yt),Mt("yy",yt),Mt("yyy",yt),Mt("yyyy",yt),Mt("yo",(function(t,e){return e._eraYearOrdinalRegex||yt})),xt(["y","yy","yyy","yyyy"],Pt),xt(["yo"],(function(t,e,n){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),e[Pt]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),Z(0,["gg",2],0,(function(){return this.weekYear()%100})),Z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),K("weekYear",1),K("isoWeekYear",1),Mt("G",kt),Mt("g",kt),Mt("GG",lt,ht),Mt("gg",lt,ht),Mt("GGGG",vt,ct),Mt("gggg",vt,ct),Mt("GGGGG",wt,dt),Mt("ggggg",wt,dt),Tt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=nt(t)})),Tt(["gg","GG"],(function(t,e,n,i){e[i]=l.parseTwoDigitYear(t)})),Z("Q",0,"Qo","quarter"),J("quarter","Q"),K("quarter",7),Mt("Q",ot),xt("Q",(function(t,e){e[Wt]=3*(nt(t)-1)})),Z("D",["DD",2],"Do","date"),J("date","D"),K("date",9),Mt("D",lt),Mt("DD",lt,ht),Mt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),xt(["D","DD"],At),xt("Do",(function(t,e){e[At]=nt(t.match(lt)[0])}));var _n=it("Date",!0);Z("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),K("dayOfYear",4),Mt("DDD",gt),Mt("DDDD",ut),xt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=nt(t)})),Z("m",["mm",2],0,"minute"),J("minute","m"),K("minute",14),Mt("m",lt),Mt("mm",lt,ht),xt(["m","mm"],$t);var Pn=it("Minutes",!1);Z("s",["ss",2],0,"second"),J("second","s"),K("second",15),Mt("s",lt),Mt("ss",lt,ht),xt(["s","ss"],Et);var Wn,An,Gn=it("Seconds",!1);for(Z("S",0,0,(function(){return~~(this.millisecond()/100)})),Z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Z(0,["SSS",3],0,"millisecond"),Z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),K("millisecond",16),Mt("S",gt,ot),Mt("SS",gt,ht),Mt("SSS",gt,ut),Wn="SSSS";Wn.length<=9;Wn+="S")Mt(Wn,yt);function $n(t,e){e[Lt]=nt(1e3*("0."+t))}for(Wn="S";Wn.length<=9;Wn+="S")xt(Wn,$n);An=it("Milliseconds",!1),Z("z",0,0,"zoneAbbr"),Z("zz",0,0,"zoneName");var En=H.prototype;function Ln(t){return t}En.add=dn,En.calendar=function(t,e){var n;1===arguments.length&&(arguments[0]?_(n=arguments[0])||k(n)||fn(n)||y(n)||function(t){var e=f(t),n=!1;return e&&(n=0===t.filter((function(e){return!y(e)&&fn(t)})).length),e&&n}(n)||function(t){var e,n=m(t)&&!v(t),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=r.length;for(e=0;e<s;e+=1)i=i||g(t,r[e]);return n&&i}(n)||null==n?(t=arguments[0],e=void 0):function(t){var e,n=m(t)&&!v(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)i=i||g(t,r[e]);return n&&i}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||je(),r=tn(i,this).startOf("day"),s=l.calendarFormat(this,r)||"sameElse",a=e&&(E(e[s])?e[s].call(this,i):e[s]);return this.format(a||this.localeData().calendar(s,this,je(i)))},En.clone=function(){return new H(this)},En.diff=function(t,e,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=tn(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=Q(e)){case"year":s=mn(this,i)/12;break;case"month":s=mn(this,i);break;case"quarter":s=mn(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:et(s)},En.endOf=function(t){var e,n;if(void 0===(t=Q(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Dn:Mn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=pn-bn(e+(this._isUTC?0:this.utcOffset()*kn),pn)-1;break;case"minute":e=this._d.valueOf(),e+=kn-bn(e,kn)-1;break;case"second":e=this._d.valueOf(),e+=yn-bn(e,yn)-1}return this._d.setTime(e),l.updateOffset(this,!0),this},En.format=function(t){t||(t=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},En.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||je(t).isValid())?an({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},En.fromNow=function(t){return this.from(je(),t)},En.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||je(t).isValid())?an({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},En.toNow=function(t){return this.to(je(),t)},En.get=function(t){return E(this[t=Q(t)])?this[t]():this},En.invalidAt=function(){return M(this).overflow},En.isAfter=function(t,e){var n=_(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},En.isBefore=function(t,e){var n=_(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},En.isBetween=function(t,e,n,i){var r=_(t)?t:je(t),s=_(e)?e:je(e);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n))},En.isSame=function(t,e){var n,i=_(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=Q(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},En.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},En.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},En.isValid=function(){return D(this)},En.lang=vn,En.locale=gn,En.localeData=wn,En.max=Ue,En.min=Ze,En.parsingFlags=function(){return Y({},M(this))},En.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)g(t,e)&&n.push({unit:e,priority:V[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=X(t)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if(E(this[t=Q(t)]))return this[t](e);return this},En.startOf=function(t){var e,n;if(void 0===(t=Q(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Dn:Mn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=bn(e+(this._isUTC?0:this.utcOffset()*kn),pn);break;case"minute":e=this._d.valueOf(),e-=bn(e,kn);break;case"second":e=this._d.valueOf(),e-=bn(e,yn)}return this._d.setTime(e),l.updateOffset(this,!0),this},En.subtract=ln,En.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},En.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},En.toDate=function(){return new Date(this.valueOf())},En.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},En.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(En[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),En.toJSON=function(){return this.isValid()?this.toISOString():null},En.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},En.unix=function(){return Math.floor(this.valueOf()/1e3)},En.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},En.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},En.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},En.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},En.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},En.eraYear=function(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-l(r[t].since).year())*n+r[t].offset;return this.year()},En.year=Xt,En.isLeapYear=function(){return tt(this.year())},En.weekYear=function(t){return Tn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},En.isoWeekYear=function(t){return Tn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},En.quarter=En.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},En.month=Jt,En.daysInMonth=function(){return Ct(this.year(),this.month())},En.week=En.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},En.isoWeek=En.isoWeeks=function(t){var e=ne(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},En.weeksInYear=function(){var t=this.localeData()._week;return ie(this.year(),t.dow,t.doy)},En.weeksInWeekYear=function(){var t=this.localeData()._week;return ie(this.weekYear(),t.dow,t.doy)},En.isoWeeksInYear=function(){return ie(this.year(),1,4)},En.isoWeeksInISOWeekYear=function(){return ie(this.isoWeekYear(),1,4)},En.date=_n,En.day=En.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},En.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},En.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},En.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},En.hour=En.hours=we,En.minute=En.minutes=Pn,En.second=En.seconds=Gn,En.millisecond=En.milliseconds=An,En.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ke(Yt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=en(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?cn(this,an(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:en(this)},En.utc=function(t){return this.utcOffset(0,t)},En.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(en(this),"m")),this},En.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ke(pt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},En.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?je(t).utcOffset():0,(this.utcOffset()-t)%60==0)},En.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},En.isLocal=function(){return!!this.isValid()&&!this._isUTC},En.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},En.isUtc=nn,En.isUTC=nn,En.zoneAbbr=function(){return this._isUTC?"UTC":""},En.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},En.dates=W("dates accessor is deprecated. Use date instead.",_n),En.months=W("months accessor is deprecated. Use month instead",Jt),En.years=W("years accessor is deprecated. Use year instead",Xt),En.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),En.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!w(this._isDSTShifted))return this._isDSTShifted;var t,e={};return T(e,this),(e=Fe(e))._a?(t=e._isUTC?b(e._a):je(e._a),this._isDSTShifted=this.isValid()&&function(t,e){var n,i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(n=0;n<i;n++)nt(t[n])!==nt(e[n])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var On=O.prototype;function In(t,e,n,i){var r=Ne(),s=b().set(i,e);return r[n](s,t)}function Cn(t,e,n){if(y(t)&&(e=t,t=void 0),t=t||"",null!=e)return In(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=In(t,i,n,"month");return r}function Fn(t,e,n,i){"boolean"==typeof t?(y(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,y(e)&&(n=e,e=void 0),e=e||"");var r,s=Ne(),a=t?s._week.dow:0,o=[];if(null!=n)return In(e,(n+a)%7,i,"day");for(r=0;r<7;r++)o[r]=In(e,(r+a)%7,i,"day");return o}On.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return E(i)?i.call(e,n):i},On.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(C).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},On.invalidDate=function(){return this._invalidDate},On.ordinal=function(t){return this._ordinal.replace("%d",t)},On.preparse=Ln,On.postformat=Ln,On.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return E(r)?r(t,e,n,i):r.replace(/%d/i,t)},On.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)},On.set=function(t){var e,n;for(n in t)g(t,n)&&(E(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},On.eras=function(){var t,e,n,i=this._eras||Ne("en")._eras;for(t=0,e=i.length;t<e;++t)switch("string"==typeof i[t].since&&(n=l(i[t].since).startOf("day"),i[t].since=n.valueOf()),typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":n=l(i[t].until).startOf("day").valueOf(),i[t].until=n.valueOf()}return i},On.erasParse=function(t,e,n){var i,r,s,a,o,h=this.eras();for(t=t.toUpperCase(),i=0,r=h.length;i<r;++i)if(s=h[i].name.toUpperCase(),a=h[i].abbr.toUpperCase(),o=h[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return h[i];break;case"NNNN":if(s===t)return h[i];break;case"NNNNN":if(o===t)return h[i]}else if([s,a,o].indexOf(t)>=0)return h[i]},On.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?l(t.since).year():l(t.since).year()+(e-t.offset)*n},On.erasAbbrRegex=function(t){return g(this,"_erasAbbrRegex")||Nn.call(this),t?this._erasAbbrRegex:this._erasRegex},On.erasNameRegex=function(t){return g(this,"_erasNameRegex")||Nn.call(this),t?this._erasNameRegex:this._erasRegex},On.erasNarrowRegex=function(t){return g(this,"_erasNarrowRegex")||Nn.call(this),t?this._erasNarrowRegex:this._erasRegex},On.months=function(t,e){return t?f(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||jt).test(e)?"format":"standalone"][t.month()]:f(this._months)?this._months:this._months.standalone},On.monthsShort=function(t,e){return t?f(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[jt.test(e)?"format":"standalone"][t.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},On.monthsParse=function(t,e,n){var i,r,s;if(this._monthsParseExact)return zt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=b([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},On.monthsRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ut),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},On.monthsShortRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},On.week=function(t){return ne(t,this._week.dow,this._week.doy).week},On.firstDayOfYear=function(){return this._week.doy},On.firstDayOfWeek=function(){return this._week.dow},On.weekdays=function(t,e){var n=f(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?re(n,this._week.dow):t?n[t.day()]:n},On.weekdaysMin=function(t){return!0===t?re(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},On.weekdaysShort=function(t){return!0===t?re(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},On.weekdaysParse=function(t,e,n){var i,r,s;if(this._weekdaysParseExact)return de.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=b([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},On.weekdaysRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=he),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},On.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ue),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},On.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||le.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ce),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},On.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},On.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},De("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(t){var e=t%10;return t+(1===nt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),l.lang=W("moment.lang is deprecated. Use moment.locale instead.",De),l.langData=W("moment.langData is deprecated. Use moment.localeData instead.",Ne);var Rn=Math.abs;function jn(t,e,n,i){var r=an(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Zn(t){return t<0?Math.floor(t):Math.ceil(t)}function Un(t){return 4800*t/146097}function zn(t){return 146097*t/4800}function qn(t){return function(){return this.as(t)}}var Jn=qn("ms"),Bn=qn("s"),Qn=qn("m"),Xn=qn("h"),Vn=qn("d"),Kn=qn("w"),ti=qn("M"),ei=qn("Q"),ni=qn("y");function ii(t){return function(){return this.isValid()?this._data[t]:NaN}}var ri=ii("milliseconds"),si=ii("seconds"),ai=ii("minutes"),oi=ii("hours"),hi=ii("days"),ui=ii("months"),ci=ii("years"),di=Math.round,li={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function fi(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var mi=Math.abs;function gi(t){return(t>0)-(t<0)||+t}function vi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,a,o,h=mi(this._milliseconds)/1e3,u=mi(this._days),c=mi(this._months),d=this.asSeconds();return d?(t=et(h/60),e=et(t/60),h%=60,t%=60,n=et(c/12),c%=12,i=h?h.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=gi(this._months)!==gi(d)?"-":"",a=gi(this._days)!==gi(d)?"-":"",o=gi(this._milliseconds)!==gi(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(c?s+c+"M":"")+(u?a+u+"D":"")+(e||t||h?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(h?o+i+"S":"")):"P0D"}var wi=Je.prototype;wi.isValid=function(){return this._isValid},wi.abs=function(){var t=this._data;return this._milliseconds=Rn(this._milliseconds),this._days=Rn(this._days),this._months=Rn(this._months),t.milliseconds=Rn(t.milliseconds),t.seconds=Rn(t.seconds),t.minutes=Rn(t.minutes),t.hours=Rn(t.hours),t.months=Rn(t.months),t.years=Rn(t.years),this},wi.add=function(t,e){return jn(this,t,e,1)},wi.subtract=function(t,e){return jn(this,t,e,-1)},wi.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=Q(t))||"quarter"===t||"year"===t)switch(n=this._months+Un(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(zn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},wi.asMilliseconds=Jn,wi.asSeconds=Bn,wi.asMinutes=Qn,wi.asHours=Xn,wi.asDays=Vn,wi.asWeeks=Kn,wi.asMonths=ti,wi.asQuarters=ei,wi.asYears=ni,wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*nt(this._months/12):NaN},wi._bubble=function(){var t,e,n,i,r,s=this._milliseconds,a=this._days,o=this._months,h=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Zn(zn(o)+a),a=0,o=0),h.milliseconds=s%1e3,t=et(s/1e3),h.seconds=t%60,e=et(t/60),h.minutes=e%60,n=et(e/60),h.hours=n%24,a+=et(n/24),o+=r=et(Un(a)),a-=Zn(zn(r)),i=et(o/12),o%=12,h.days=a,h.months=o,h.years=i,this},wi.clone=function(){return an(this)},wi.get=function(t){return t=Q(t),this.isValid()?this[t+"s"]():NaN},wi.milliseconds=ri,wi.seconds=si,wi.minutes=ai,wi.hours=oi,wi.days=hi,wi.weeks=function(){return et(this.days()/7)},wi.months=ui,wi.years=ci,wi.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=li;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},li,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),i=function(t,e,n,i){var r=an(t).abs(),s=di(r.as("s")),a=di(r.as("m")),o=di(r.as("h")),h=di(r.as("d")),u=di(r.as("M")),c=di(r.as("w")),d=di(r.as("y")),l=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||h<=1&&["d"]||h<n.d&&["dd",h];return null!=n.w&&(l=l||c<=1&&["w"]||c<n.w&&["ww",c]),(l=l||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=e,l[3]=+t>0,l[4]=i,fi.apply(null,l)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},wi.toISOString=vi,wi.toString=vi,wi.toJSON=vi,wi.locale=gn,wi.localeData=wn,wi.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vi),wi.lang=vn,Z("X",0,0,"unix"),Z("x",0,0,"valueOf"),Mt("x",kt),Mt("X",/[+-]?\d+(\.\d{1,3})?/),xt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),xt("x",(function(t,e,n){n._d=new Date(nt(t))})),
8
8
  //! moment.js
9
- l.version="2.29.4",c=je,l.fn=En,l.min=function(){return ze("isBefore",[].slice.call(arguments,0))},l.max=function(){return ze("isAfter",[].slice.call(arguments,0))},l.now=function(){return Date.now?Date.now():+new Date},l.utc=b,l.unix=function(t){return je(1e3*t)},l.months=function(t,e){return Cn(t,e,"months")},l.isDate=k,l.locale=De,l.invalid=S,l.duration=an,l.isMoment=H,l.weekdays=function(t,e,n){return Fn(t,e,n,"weekdays")},l.parseZone=function(){return je.apply(null,arguments).parseZone()},l.localeData=Ne,l.isDuration=Be,l.monthsShort=function(t,e){return Cn(t,e,"monthsShort")},l.weekdaysMin=function(t,e,n){return Fn(t,e,n,"weekdaysMin")},l.defineLocale=Se,l.updateLocale=function(t,e){if(null!=e){var n,i,r=ye;null!=ke[t]&&null!=ke[t].parentLocale?ke[t].set(L(ke[t]._config,e)):(null!=(i=Me(t))&&(r=i._config),e=L(r,e),null==i&&(e.abbr=t),(n=new O(e)).parentLocale=ke[t],ke[t]=n),De(t)}else null!=ke[t]&&(null!=ke[t].parentLocale?(ke[t]=ke[t].parentLocale,t===De()&&De(t)):null!=ke[t]&&delete ke[t]);return ke[t]},l.locales=function(){return A(ke)},l.weekdaysShort=function(t,e,n){return Fn(t,e,n,"weekdaysShort")},l.normalizeUnits=Q,l.relativeTimeRounding=function(t){return void 0===t?di:"function"==typeof t&&(di=t,!0)},l.relativeTimeThreshold=function(t,e){return void 0!==li[t]&&(void 0===e?li[t]:(li[t]=e,"s"===t&&(li.ss=e-1),!0))},l.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},l.prototype=En,l.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"};const yi=class{constructor(t){e(this,t),this.expireTime=void 0,this.language="en",this.displayTime=void 0,this.isExpireInDay1=!1}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()}updateDisplayTime(){const e=l(),n=l(this.expireTime);if(!n.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=l.duration(n.diff(e));if(this.isExpireInDay1=i.asDays()>1,i.asMilliseconds()<=0)return this.displayTime="00:00:00",void clearInterval(this.timer);const r=Math.floor(i.asHours());if(r>=48)this.displayTime=`${Math.floor(i.asDays())} ${t("days",this.language)}`;else if(r>=24)this.displayTime="1 day";else{const t=r,e=i.minutes(),n=i.seconds();this.displayTime=[t,e,n].map((t=>String(t).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"8432bdb52f3b5ecd2600c68179a0ee55d785c20c",class:"Label"},t("expiresIn",this.language)),i("span",{key:"fbec64ff41b9dbddd5ef6913e6f778771f55e143",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"]}}},ki=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 t=new Image;t.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,t.onload=null)},t.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const e=t.target.__uxComponent;e&&(e.shouldLoad=!0,e.handleSrc()),window.EMUxObserver.unobserve(t.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i(r,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:t=>this.image=t,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 s(this)}static get watchers(){return{src:["handleSrc"]}}};ki.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 pi=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(t,e){e!==t&&this.handleStructure(t)}handleStylingProps(t){switch(typeof t){case"number":return 0===t?0:`${t}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(t)||t.endsWith("px")||t.endsWith("%")?t:"unset"}}handleStructure(t){switch(t){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(((t,e)=>i("div",{key:e,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 t="";switch(this.structure){case"logo":t=`\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":t=`\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":t=`\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":t=`\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":t=`\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":t=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:t=""}return i(r,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},i("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},t),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};pi.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{u as bonus_pagination_nav,yi as time_count,ki as ui_image,pi as ui_skeleton}
9
+ l.version="2.29.4",c=je,l.fn=En,l.min=function(){return ze("isBefore",[].slice.call(arguments,0))},l.max=function(){return ze("isAfter",[].slice.call(arguments,0))},l.now=function(){return Date.now?Date.now():+new Date},l.utc=b,l.unix=function(t){return je(1e3*t)},l.months=function(t,e){return Cn(t,e,"months")},l.isDate=k,l.locale=De,l.invalid=S,l.duration=an,l.isMoment=_,l.weekdays=function(t,e,n){return Fn(t,e,n,"weekdays")},l.parseZone=function(){return je.apply(null,arguments).parseZone()},l.localeData=Ne,l.isDuration=Be,l.monthsShort=function(t,e){return Cn(t,e,"monthsShort")},l.weekdaysMin=function(t,e,n){return Fn(t,e,n,"weekdaysMin")},l.defineLocale=Se,l.updateLocale=function(t,e){if(null!=e){var n,i,r=ye;null!=ke[t]&&null!=ke[t].parentLocale?ke[t].set(L(ke[t]._config,e)):(null!=(i=Me(t))&&(r=i._config),e=L(r,e),null==i&&(e.abbr=t),(n=new O(e)).parentLocale=ke[t],ke[t]=n),De(t)}else null!=ke[t]&&(null!=ke[t].parentLocale?(ke[t]=ke[t].parentLocale,t===De()&&De(t)):null!=ke[t]&&delete ke[t]);return ke[t]},l.locales=function(){return A(ke)},l.weekdaysShort=function(t,e,n){return Fn(t,e,n,"weekdaysShort")},l.normalizeUnits=Q,l.relativeTimeRounding=function(t){return void 0===t?di:"function"==typeof t&&(di=t,!0)},l.relativeTimeThreshold=function(t,e){return void 0!==li[t]&&(void 0===e?li[t]:(li[t]=e,"s"===t&&(li.ss=e-1),!0))},l.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},l.prototype=En,l.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"};const yi=class{constructor(t){e(this,t),this.expireTime=void 0,this.language="en",this.displayTime=void 0,this.isExpireInDay1=!1}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()}updateDisplayTime(){const e=l(),n=l(this.expireTime);if(!n.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=l.duration(n.diff(e));if(this.isExpireInDay1=i.asDays()>1,i.asMilliseconds()<=0)return this.displayTime="00:00:00",void clearInterval(this.timer);const r=Math.floor(i.asHours());if(r>=48)this.displayTime=`${Math.floor(i.asDays())} ${t("days",this.language)}`;else if(r>=24)this.displayTime="1 day";else{const t=r,e=i.minutes(),n=i.seconds();this.displayTime=[t,e,n].map((t=>String(t).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"3a88fe23897c0ad3a813d6999d6fac291bca33c1",class:`Label ${this.isExpireInDay1&&"Highlighted"}`},t("expiresIn",this.language)),i("span",{key:"8ff6e7a5224f3e3e5732b3d7d5b0d4942526bf5b",class:"TimeCountDown "+(this.isExpireInDay1?"Highlighted":"")},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"]}}},ki=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 t=new Image;t.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,t.onload=null)},t.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const e=t.target.__uxComponent;e&&(e.shouldLoad=!0,e.handleSrc()),window.EMUxObserver.unobserve(t.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i(r,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:t=>this.image=t,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 s(this)}static get watchers(){return{src:["handleSrc"]}}};ki.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 pi=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(t,e){e!==t&&this.handleStructure(t)}handleStylingProps(t){switch(typeof t){case"number":return 0===t?0:`${t}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(t)||t.endsWith("px")||t.endsWith("%")?t:"unset"}}handleStructure(t){switch(t){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(((t,e)=>i("div",{key:e,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 t="";switch(this.structure){case"logo":t=`\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":t=`\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":t=`\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":t=`\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":t=`\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":t=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:t=""}return i(r,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},i("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},t),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};pi.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{u as bonus_pagination_nav,yi as time_count,ki as ui_image,pi as ui_skeleton}
@@ -1 +1 @@
1
- export{B as BonusElevatePowerups}from"./bonus-elevate-powerups-31713cf4.js";import"./index-c7067e6d.js";
1
+ export{B as BonusElevatePowerups}from"./bonus-elevate-powerups-0d3660aa.js";import"./index-c7067e6d.js";
@@ -148,10 +148,11 @@ const TRANSLATIONS = {
148
148
  coins: 'Coins',
149
149
  xp: 'XP',
150
150
  expiresIn: 'EXPIRES IN ',
151
+ playNow: 'Start Now!',
151
152
  nothingHere: 'Nothing here -- yet!',
152
- noPowerUps: 'No power-ups have been used at the moment.',
153
- gotoShop: 'Go to shop to check power-ups availability.',
154
- termsCon: 'Read full Terms & Conditions',
153
+ noPowerUps: 'No power-ups at the moment.',
154
+ gotoShop: 'Go to the shop to check power-ups availability.',
155
+ termsCon: 'Read full Terms & Conditions > ',
155
156
  games: 'Games',
156
157
  selectGameToActive: 'Select the game to activate power-up',
157
158
  days: 'days'
@@ -207,7 +208,7 @@ const powerUpGameSearchConditions = {
207
208
  fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail)"
208
209
  };
209
210
 
210
- const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount{background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51)}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));cursor:pointer;position:relative}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{transition:opacity;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask{opacity:1;mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask .PlayBtn{border:2px solid var(--emw--color-powup-gray, #f0f0f0);padding:5px 3px;border-radius:3px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}";
211
+ const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px;font-size:1.11rem}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted{-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51);text-decoration:none}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));position:relative;min-width:132px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{display:none;transition:display;transition-duration:0.2s;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .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%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .GameStartBtn{width:98px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, #03832D 0%, #4DC071 100%);border:1px solid #FFFFFF;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.PowerUpsContainer .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}";
211
212
  const BonusElevatePowerupsStyle0 = bonusElevatePowerupsCss;
212
213
 
213
214
  const BonusElevatePowerups = class {
@@ -362,7 +363,7 @@ const BonusElevatePowerups = class {
362
363
  return index.h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id }, index.h("div", { class: 'CardLeft' }, index.h("div", { class: 'MainInfo' }, index.h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), index.h("div", { class: 'Title2 PowerUpMultiplier' }, index.h("span", { class: 'BoostingPeriod' }, index.h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), index.h("span", { class: 'Multiplier' }, "| X ", powerup.multiplier.coefficient, " "), index.h("span", { class: 'MultiplierMode' }, "| ", translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [index.h("span", null, " | "), index.h("span", { class: 'ExpireCount' }, index.h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), index.h("div", { class: 'Description' }, powerup.description)), index.h("div", { class: 'TermsC' }, this.openTermsPage
363
364
  ? index.h("a", { href: powerup.termsUrl ? powerup.termsUrl : '#', target: '_blank' }, translate('termsCon', this.language))
364
365
  : index.h("span", { onClick: this.onTermsUrlClick.bind(this, powerup.termsUrl) }, translate('termsCon', this.language), " "))), index.h("div", { class: 'GamesContent CardRight' }, index.h("div", { class: 'GamesTitle' }, index.h("span", { class: 'Title2' }, " ", translate('games', this.language)), index.h("span", { class: 'GamesAmount' }, " ( ", ((_a = powerup.games) === null || _a === void 0 ? void 0 : _a.total) || 0, " ) ")), index.h("div", { class: 'GameTitleTip' }, translate('selectGameToActive', this.language)), index.h("div", { class: 'GamesList' }, index.h("div", { class: 'Games' }, (_b = powerup.games) === null || _b === void 0 ? void 0 : _b.items.map(g => {
365
- return index.h("div", { class: 'Game' }, index.h("ui-image", { src: g.thumbnail }), index.h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, index.h("span", { class: 'PlayBtn' }, "Start Now!")));
366
+ return index.h("div", { class: 'Game' }, index.h("ui-image", { src: g.thumbnail }), index.h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, index.h("div", { class: 'GameStartBtn' }, index.h("div", { class: 'PlayIcon' }), index.h("span", null, translate('playNow', this.language)))));
366
367
  })))));
367
368
  })), index.h("div", { class: 'Pagination' }, this.total && this.total > this.limit &&
368
369
  index.h("bonus-pagination-nav", { offset: this.offset, limit: this.limit, "secondary-arrows-active": true, "table-id": this.tableId, total: this.total }))]);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const bonusElevatePowerups = require('./bonus-elevate-powerups-59f31a54.js');
5
+ const bonusElevatePowerups = require('./bonus-elevate-powerups-849d8986.js');
6
6
  const index = require('./index-3dbb4007.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE = 'en';
@@ -5936,8 +5936,8 @@ const TimeCount = class {
5936
5936
  render() {
5937
5937
  return [
5938
5938
  this.isExpireInDay1 &&
5939
- index.h("span", { key: '8432bdb52f3b5ecd2600c68179a0ee55d785c20c', class: 'Label' }, bonusElevatePowerups.translate('expiresIn', this.language)),
5940
- index.h("span", { key: 'fbec64ff41b9dbddd5ef6913e6f778771f55e143', class: 'TimeCountDown' }, this.displayTime)
5939
+ index.h("span", { key: '3a88fe23897c0ad3a813d6999d6fac291bca33c1', class: `Label ${this.isExpireInDay1 && 'Highlighted'}` }, bonusElevatePowerups.translate('expiresIn', this.language)),
5940
+ index.h("span", { key: '8ff6e7a5224f3e3e5732b3d7d5b0d4942526bf5b', class: `TimeCountDown ${this.isExpireInDay1 ? 'Highlighted' : ''}` }, this.displayTime)
5941
5941
  ];
5942
5942
  }
5943
5943
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const bonusElevatePowerups = require('./bonus-elevate-powerups-59f31a54.js');
5
+ const bonusElevatePowerups = require('./bonus-elevate-powerups-849d8986.js');
6
6
  require('./index-3dbb4007.js');
7
7
 
8
8
 
@@ -121,18 +121,21 @@
121
121
  overflow: hidden;
122
122
  height: 22px;
123
123
  gap: 12px;
124
+ font-size: 1.11rem;
124
125
  }
125
126
  .PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier {
126
127
  text-transform: uppercase;
127
128
  font-size: 0.85em;
128
129
  color: var(--emw--color-gray-dark, #727672);
129
130
  }
130
- .PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount {
131
- background-image: linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%);
132
- }
133
131
  .PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label {
134
132
  text-transform: uppercase;
135
133
  }
134
+ .PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted {
135
+ -webkit-background-clip: text;
136
+ background-clip: text;
137
+ background-image: linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%);
138
+ }
136
139
  .PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount, .PowerUpsContainer .PowerUps .Card .CardLeft .TermsC {
137
140
  display: inline-block;
138
141
  -webkit-background-clip: text;
@@ -147,6 +150,7 @@
147
150
  }
148
151
  .PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a {
149
152
  color: var(--emw--color-powup-light-green, #18CE51);
153
+ text-decoration: none;
150
154
  }
151
155
  .PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span {
152
156
  cursor: pointer;
@@ -195,13 +199,13 @@
195
199
  }
196
200
  .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game {
197
201
  width: calc((100% - 30px) / var(--game-amount-line));
198
- cursor: pointer;
199
202
  position: relative;
203
+ min-width: 132px;
200
204
  }
201
205
  .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask {
202
- transition: opacity;
206
+ display: none;
207
+ transition: display;
203
208
  transition-duration: 0.2s;
204
- opacity: 0;
205
209
  position: absolute;
206
210
  width: 70%;
207
211
  height: 100%;
@@ -213,8 +217,10 @@
213
217
  opacity: 0.4;
214
218
  filter: blur(1.5px);
215
219
  }
216
- .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask {
220
+ .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn {
217
221
  opacity: 1;
222
+ }
223
+ .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask {
218
224
  mix-blend-mode: screen;
219
225
  background-color: var(--emw--color-powup-green, #24B24E);
220
226
  display: flex;
@@ -227,12 +233,27 @@
227
233
  top: 0;
228
234
  border-radius: 8px;
229
235
  }
230
- .PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask .PlayBtn {
231
- border: 2px solid var(--emw--color-powup-gray, #f0f0f0);
232
- padding: 5px 3px;
233
- border-radius: 3px;
234
- }
235
236
  .PowerUpsContainer .Pagination {
236
237
  display: flex;
237
238
  justify-content: center;
239
+ }
240
+ .PowerUpsContainer .GameStartBtn {
241
+ width: 98px;
242
+ height: 22px;
243
+ border-radius: 8px;
244
+ opacity: 1;
245
+ padding: 4px 5px;
246
+ background: linear-gradient(180deg, #03832D 0%, #4DC071 100%);
247
+ border: 1px solid #FFFFFF;
248
+ display: flex;
249
+ align-items: center;
250
+ justify-content: space-between;
251
+ cursor: pointer;
252
+ }
253
+ .PowerUpsContainer .GameStartBtn .PlayIcon {
254
+ 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>');
255
+ height: 16px;
256
+ width: 16px;
257
+ background-repeat: no-repeat;
258
+ background-size: contain;
238
259
  }
@@ -157,7 +157,7 @@ export class BonusElevatePowerups {
157
157
  return h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id }, h("div", { class: 'CardLeft' }, h("div", { class: 'MainInfo' }, h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), h("div", { class: 'Title2 PowerUpMultiplier' }, h("span", { class: 'BoostingPeriod' }, h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), h("span", { class: 'Multiplier' }, "| X ", powerup.multiplier.coefficient, " "), h("span", { class: 'MultiplierMode' }, "| ", translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [h("span", null, " | "), h("span", { class: 'ExpireCount' }, h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), h("div", { class: 'Description' }, powerup.description)), h("div", { class: 'TermsC' }, this.openTermsPage
158
158
  ? h("a", { href: powerup.termsUrl ? powerup.termsUrl : '#', target: '_blank' }, translate('termsCon', this.language))
159
159
  : h("span", { onClick: this.onTermsUrlClick.bind(this, powerup.termsUrl) }, translate('termsCon', this.language), " "))), h("div", { class: 'GamesContent CardRight' }, h("div", { class: 'GamesTitle' }, h("span", { class: 'Title2' }, " ", translate('games', this.language)), h("span", { class: 'GamesAmount' }, " ( ", ((_a = powerup.games) === null || _a === void 0 ? void 0 : _a.total) || 0, " ) ")), h("div", { class: 'GameTitleTip' }, translate('selectGameToActive', this.language)), h("div", { class: 'GamesList' }, h("div", { class: 'Games' }, (_b = powerup.games) === null || _b === void 0 ? void 0 : _b.items.map(g => {
160
- return h("div", { class: 'Game' }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, h("span", { class: 'PlayBtn' }, "Start Now!")));
160
+ return h("div", { class: 'Game' }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, h("div", { class: 'GameStartBtn' }, h("div", { class: 'PlayIcon' }), h("span", null, translate('playNow', this.language)))));
161
161
  })))));
162
162
  })), h("div", { class: 'Pagination' }, this.total && this.total > this.limit &&
163
163
  h("bonus-pagination-nav", { offset: this.offset, limit: this.limit, "secondary-arrows-active": true, "table-id": this.tableId, total: this.total }))]);
@@ -54,8 +54,8 @@ export class TimeCount {
54
54
  render() {
55
55
  return [
56
56
  this.isExpireInDay1 &&
57
- h("span", { key: '8432bdb52f3b5ecd2600c68179a0ee55d785c20c', class: 'Label' }, translate('expiresIn', this.language)),
58
- h("span", { key: 'fbec64ff41b9dbddd5ef6913e6f778771f55e143', class: 'TimeCountDown' }, this.displayTime)
57
+ h("span", { key: '3a88fe23897c0ad3a813d6999d6fac291bca33c1', class: `Label ${this.isExpireInDay1 && 'Highlighted'}` }, translate('expiresIn', this.language)),
58
+ h("span", { key: '8ff6e7a5224f3e3e5732b3d7d5b0d4942526bf5b', class: `TimeCountDown ${this.isExpireInDay1 ? 'Highlighted' : ''}` }, this.displayTime)
59
59
  ];
60
60
  }
61
61
  static get is() { return "time-count"; }
@@ -6,10 +6,11 @@ const TRANSLATIONS = {
6
6
  coins: 'Coins',
7
7
  xp: 'XP',
8
8
  expiresIn: 'EXPIRES IN ',
9
+ playNow: 'Start Now!',
9
10
  nothingHere: 'Nothing here -- yet!',
10
- noPowerUps: 'No power-ups have been used at the moment.',
11
- gotoShop: 'Go to shop to check power-ups availability.',
12
- termsCon: 'Read full Terms & Conditions',
11
+ noPowerUps: 'No power-ups at the moment.',
12
+ gotoShop: 'Go to the shop to check power-ups availability.',
13
+ termsCon: 'Read full Terms & Conditions > ',
13
14
  games: 'Games',
14
15
  selectGameToActive: 'Select the game to activate power-up',
15
16
  days: 'days'
@@ -146,10 +146,11 @@ const TRANSLATIONS = {
146
146
  coins: 'Coins',
147
147
  xp: 'XP',
148
148
  expiresIn: 'EXPIRES IN ',
149
+ playNow: 'Start Now!',
149
150
  nothingHere: 'Nothing here -- yet!',
150
- noPowerUps: 'No power-ups have been used at the moment.',
151
- gotoShop: 'Go to shop to check power-ups availability.',
152
- termsCon: 'Read full Terms & Conditions',
151
+ noPowerUps: 'No power-ups at the moment.',
152
+ gotoShop: 'Go to the shop to check power-ups availability.',
153
+ termsCon: 'Read full Terms & Conditions > ',
153
154
  games: 'Games',
154
155
  selectGameToActive: 'Select the game to activate power-up',
155
156
  days: 'days'
@@ -205,7 +206,7 @@ const powerUpGameSearchConditions = {
205
206
  fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail)"
206
207
  };
207
208
 
208
- const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount{background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51)}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));cursor:pointer;position:relative}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{transition:opacity;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask{opacity:1;mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask .PlayBtn{border:2px solid var(--emw--color-powup-gray, #f0f0f0);padding:5px 3px;border-radius:3px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}";
209
+ const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px;font-size:1.11rem}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted{-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51);text-decoration:none}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));position:relative;min-width:132px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{display:none;transition:display;transition-duration:0.2s;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .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%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .GameStartBtn{width:98px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, #03832D 0%, #4DC071 100%);border:1px solid #FFFFFF;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.PowerUpsContainer .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}";
209
210
  const BonusElevatePowerupsStyle0 = bonusElevatePowerupsCss;
210
211
 
211
212
  const BonusElevatePowerups = class {
@@ -360,7 +361,7 @@ const BonusElevatePowerups = class {
360
361
  return h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id }, h("div", { class: 'CardLeft' }, h("div", { class: 'MainInfo' }, h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), h("div", { class: 'Title2 PowerUpMultiplier' }, h("span", { class: 'BoostingPeriod' }, h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), h("span", { class: 'Multiplier' }, "| X ", powerup.multiplier.coefficient, " "), h("span", { class: 'MultiplierMode' }, "| ", translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [h("span", null, " | "), h("span", { class: 'ExpireCount' }, h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), h("div", { class: 'Description' }, powerup.description)), h("div", { class: 'TermsC' }, this.openTermsPage
361
362
  ? h("a", { href: powerup.termsUrl ? powerup.termsUrl : '#', target: '_blank' }, translate('termsCon', this.language))
362
363
  : h("span", { onClick: this.onTermsUrlClick.bind(this, powerup.termsUrl) }, translate('termsCon', this.language), " "))), h("div", { class: 'GamesContent CardRight' }, h("div", { class: 'GamesTitle' }, h("span", { class: 'Title2' }, " ", translate('games', this.language)), h("span", { class: 'GamesAmount' }, " ( ", ((_a = powerup.games) === null || _a === void 0 ? void 0 : _a.total) || 0, " ) ")), h("div", { class: 'GameTitleTip' }, translate('selectGameToActive', this.language)), h("div", { class: 'GamesList' }, h("div", { class: 'Games' }, (_b = powerup.games) === null || _b === void 0 ? void 0 : _b.items.map(g => {
363
- return h("div", { class: 'Game' }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, h("span", { class: 'PlayBtn' }, "Start Now!")));
364
+ return h("div", { class: 'Game' }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: this.onGameClick.bind(this, g) }, h("div", { class: 'GameStartBtn' }, h("div", { class: 'PlayIcon' }), h("span", null, translate('playNow', this.language)))));
364
365
  })))));
365
366
  })), h("div", { class: 'Pagination' }, this.total && this.total > this.limit &&
366
367
  h("bonus-pagination-nav", { offset: this.offset, limit: this.limit, "secondary-arrows-active": true, "table-id": this.tableId, total: this.total }))]);
@@ -1,5 +1,5 @@
1
- import { t as translate$1 } from './bonus-elevate-powerups-31713cf4.js';
2
- export { B as bonus_elevate_powerups } from './bonus-elevate-powerups-31713cf4.js';
1
+ import { t as translate$1 } from './bonus-elevate-powerups-0d3660aa.js';
2
+ export { B as bonus_elevate_powerups } from './bonus-elevate-powerups-0d3660aa.js';
3
3
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c7067e6d.js';
4
4
 
5
5
  const DEFAULT_LANGUAGE = 'en';
@@ -5933,8 +5933,8 @@ const TimeCount = class {
5933
5933
  render() {
5934
5934
  return [
5935
5935
  this.isExpireInDay1 &&
5936
- h("span", { key: '8432bdb52f3b5ecd2600c68179a0ee55d785c20c', class: 'Label' }, translate$1('expiresIn', this.language)),
5937
- h("span", { key: 'fbec64ff41b9dbddd5ef6913e6f778771f55e143', class: 'TimeCountDown' }, this.displayTime)
5936
+ h("span", { key: '3a88fe23897c0ad3a813d6999d6fac291bca33c1', class: `Label ${this.isExpireInDay1 && 'Highlighted'}` }, translate$1('expiresIn', this.language)),
5937
+ h("span", { key: '8ff6e7a5224f3e3e5732b3d7d5b0d4942526bf5b', class: `TimeCountDown ${this.isExpireInDay1 ? 'Highlighted' : ''}` }, this.displayTime)
5938
5938
  ];
5939
5939
  }
5940
5940
  static get watchers() { return {
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { B as BonusElevatePowerups } from './bonus-elevate-powerups-31713cf4.js';
1
+ export { B as BonusElevatePowerups } from './bonus-elevate-powerups-0d3660aa.js';
2
2
  import './index-c7067e6d.js';
@@ -37,6 +37,7 @@ export interface PowerUp {
37
37
  multiplier: PowerUpMultiplier;
38
38
  boostingPeriod: PowerUpBoostingPeriod;
39
39
  triggerMethod: PowerUpTriggerMethod;
40
+ powerUpName?: string;
40
41
  displayName: string;
41
42
  description?: string;
42
43
  validity: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/bonus-elevate-powerups",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1 +0,0 @@
1
- import{r as e,h as t}from"./index-c7067e6d.js";const i="__WIDGET_GLOBAL_STYLE_CACHE__";function o(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function a(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function r(e,t,o,a=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!a)return o=function(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,(t=>{e&&(i.innerHTML=t,e.appendChild(i))}))}(e,t),o;window[i]||(window[i]={}),o=function(e,t){return window.emMessageBus.subscribe(t,(o=>{if(!e)return;const a=e.getRootNode(),r=window[i];let s=r[t]&&r[t].sheet;s?r[t].refCount=r[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(o),r[t]={sheet:s,refCount:1});const n=a.adoptedStyleSheets||[];n.includes(s)||(a.adoptedStyleSheets=[...n,s])}))}(e,t);const r=o.unsubscribe.bind(o);return o.unsubscribe=()=>{if(window[i][t]){const e=window[i][t];e.refCount>1?e.refCount=e.refCount-1:delete window[i][t]}r()},o}var s,n,l;!function(e){e.COINS="coins",e.XP="xp"}(s||(s={})),function(e){e.TIME_PERIOD="timePeriod",e.NUMBER_OF_ROUNDS="numberOfRounds"}(n||(n={})),function(e){e[e.ACTIVE=0]="ACTIVE",e[e.ACTIVATED=1]="ACTIVATED",e[e.EXPIRED=2]="EXPIRED",e[e.CONSUMED=3]="CONSUMED",e[e.DISABLED=4]="DISABLED",e[e.ENABLED=6]="ENABLED"}(l||(l={}));const p={en:{min:"MIN",rounds:"Rounds",coins:"Coins",xp:"XP",expiresIn:"EXPIRES IN ",nothingHere:"Nothing here -- yet!",noPowerUps:"No power-ups have been used at the moment.",gotoShop:"Go to shop to check power-ups availability.",termsCon:"Read full Terms & Conditions",games:"Games",selectGameToActive:"Select the game to activate power-up",days:"days"}},d=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{p[t]||(p[t]={});for(let i in e[t])p[t][i]=e[t][i]})),t(!0)}))})),w=(e,t,i)=>{let o=p[void 0!==t&&t in p?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");o=o.replace(i,t)}return o},h={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${l.ACTIVE},${l.ACTIVATED}`},m={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"},c=class{constructor(t){e(this,t),this.tableId="powerups",this.gameObservers=new Map,this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl="",this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=10,this.openTermsPage=!0,this.isLoading=!0,this.powerups=[],this.offset=0,this.total=void 0}onReloadPageByType(e){const{limit:t,offset:i,tableId:o}=e.detail;o===this.tableId&&(this.offset=i,this.limit=t)}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=${this.offset},limit=${this.limit},games(limit=20,offset=0)`);let t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};Object.entries(h).forEach((([t,i])=>{e.searchParams.append(t,i)})),e.searchParams.append("language",this.language);const i=await fetch(e,t);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:o,total:a}=await i.json();this.powerups=o,this.total=a}catch(e){"AbortError"!==e.name&&(console.error("Failed to load powerups history:",e),window.postMessage({type:"peHistoryLoaderError",error:e}))}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}onTermsUrlClick(e){window.postMessage({type:"onPowerupTermsUrlClicked",termsUrl:e},"*")}async loadMoreGames(e){var t;if(!(e.games.items.length>=e.games.total))try{const i=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${e.games.items.length})`),o={headers:{"x-SessionId":this.session}};i.searchParams.append("filter",`id=${e.powerUpID}`),Object.entries(m).forEach((([e,t])=>{i.searchParams.append(e,t)}));const a=await fetch(i.toString(),o);if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);const{data:r}=await a.json(),s=this.powerups.findIndex((t=>t.id===e.id));if(-1!==s){const e=Object.assign({},this.powerups[s]),i=null==r?void 0:r[0];if(i&&(null===(t=i.games)||void 0===t?void 0:t.items)){e.games.items=[...e.games.items,...i.games.items];const t=[...this.powerups];t[s]=e,this.powerups=t}}}catch(e){console.error("Failed to load more games:",e)}}initializeGamesObserver(e){let t=this.gameObservers.get(e.id);t&&t.disconnect(),t=new IntersectionObserver((i=>{i.forEach((i=>{i.isIntersecting&&(this.loadMoreGames(e),t.unobserve(i.target),this.gameObservers.delete(e.id))}))})),this.gameObservers.set(e.id,t),setTimeout((()=>{const i=this.stylingContainer.querySelector(`.PowerUpItem[data-powerup-id="${e.id}"] .Game:last-child`);i&&t.observe(i)}),200)}componentDidUpdate(){this.powerups.forEach((e=>{var t,i;(null===(t=e.games)||void 0===t?void 0:t.items.length)<(null===(i=e.games)||void 0===i?void 0:i.total)&&this.initializeGamesObserver(e)}))}render(){return t("div",{key:"7de60fedad83668fcff2f4a1ea02b489b80d3b12",class:"PowerUpsContainer",ref:e=>this.stylingContainer=e},this.isLoading?t("p",null,"Loading..."):this.total?[t("div",{class:"PowerUps"},this.powerups.map((e=>{var i,o;return t("div",{class:"PowerUpItem Card","data-powerup-id":e.id},t("div",{class:"CardLeft"},t("div",{class:"MainInfo"},t("div",{class:"DisplayName"}," ",e.displayName||"-"," "),t("div",{class:"Title2 PowerUpMultiplier"},t("span",{class:"BoostingPeriod"},t("span",{class:"Period"},e.boostingPeriod.minutes||e.boostingPeriod.numberOfRounds," "),w(e.boostingPeriod.mode===n.TIME_PERIOD?"min":"rounds",this.language)," "),t("span",{class:"Multiplier"},"| X ",e.multiplier.coefficient," "),t("span",{class:"MultiplierMode"},"| ",w(e.multiplier.mode,this.language)," "),e.expireTime&&[t("span",null," | "),t("span",{class:"ExpireCount"},t("time-count",{"expire-time":e.expireTime,language:this.language}))]),t("div",{class:"Description"},e.description)),t("div",{class:"TermsC"},this.openTermsPage?t("a",{href:e.termsUrl?e.termsUrl:"#",target:"_blank"},w("termsCon",this.language)):t("span",{onClick:this.onTermsUrlClick.bind(this,e.termsUrl)},w("termsCon",this.language)," "))),t("div",{class:"GamesContent CardRight"},t("div",{class:"GamesTitle"},t("span",{class:"Title2"}," ",w("games",this.language)),t("span",{class:"GamesAmount"}," ( ",(null===(i=e.games)||void 0===i?void 0:i.total)||0," ) ")),t("div",{class:"GameTitleTip"},w("selectGameToActive",this.language)),t("div",{class:"GamesList"},t("div",{class:"Games"},null===(o=e.games)||void 0===o?void 0:o.items.map((e=>t("div",{class:"Game"},t("ui-image",{src:e.thumbnail}),t("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},t("span",{class:"PlayBtn"},"Start Now!")))))))))}))),t("div",{class:"Pagination"},this.total&&this.total>this.limit&&t("bonus-pagination-nav",{offset:this.offset,limit:this.limit,"secondary-arrows-active":!0,"table-id":this.tableId,total:this.total}))]:t("div",{class:"EmptyPowerups"},t("div",{class:"Icon",innerHTML:'<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<rect width="52" height="52" fill="url(#pattern0_1132_30534)"/>\n<defs>\n<pattern id="pattern0_1132_30534" patternContentUnits="objectBoundingBox" width="1" height="1">\n<use xlink:href="#image0_1132_30534" transform="scale(0.01)"/>\n</pattern>\n<image id="image0_1132_30534" width="100" height="100" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHlElEQVR4nO2daYwURRTH/4tnvPCI9xE1ahQTNZmp6gXRzar4wTtGvPWLUeIVPxgVNWbizqvZRdTAGoioEQwaFDWK0YBCvMUbJWJIBD8QOUIEowhEQFjzepu4WaZ6qnp6tqub+iX9hexUV/W/Xh3vvSoAj8fj8Xg8Ho/H4/F4ikapB8PLNYiyws2S8LBU6JEKU4TCNKkwWSjUhML9ZYWrRRfOPGUy9sm6zoWio4IDpMI1/NElYalU6LN5hMI2SVgoFUgqdI6djT2yblP+6ENbuYqLJGGmJGy0FSFWIMIqQZgoFUZk3Uz3qWBYmXC5VPg2TRFinvmS0J51s51EKnQKws9DJMRgq5kjqzgp62/gBOcoHC4VXs5CiEGibBaERzsq2BO7K6KK84XCykQfUOGvaGibJxVms6hC4Q0ehiJL25Kw3M9kD47D7oYkPBCugEw/FmGFJEwVCteafDDu6SWF06XCOKnwqiBssBDmd1nFBdgtqGAY7xcMe+u2aDjr5N8189pSBfsJhRsF4VNDUbaw+Ci8GISZBuP5v5LwXKsmWqlwnlD4yECU7WxhKCqSMNVgaPom6EZpKOrDFiMJaxqJUq7iOhQNSag0aji7PYZ6lROu8ghzDYavC1EURA2XScKOGKvYyH+T8VBabTjRF2H1Va7ieElYFzNxr3dlt1wm3BXNG9olce73KZKwIKaBf7PnFg4RiRJnKY8gr4STZsySNlAYAweJPMM6QTYF3TgReUNWcFCDFcyDcHuvNC9mWT4HeUMojI8RYx672OEwIys4Iq5DlQgSeaGjgn11jRGEzeVunIwcEEYl9UPu28gLcROjIDxmWx6HYjlimDTaF/Z2hek8jFr9sA9tkvCxZqm+I+jCGcgDugCTUFg/agIOtCkrchCujsqYbbvsjIaen6LO8N3obhxi8/uyQkfM0NsD1+HQaIx1PG5rGUJh7aAyZplaSmQZSwb17IW2lhK65Ot3sJXOx+j5o2sE2d5OOLYZMWxEqStGQlFEFTfpOhlbEFxGKnyhqfx80zJ4WBKEZXEbtDhRYsX4/5luWp+zJmJ/3sRqyumC0yk7hK2aio+zKUvUMDKKClqJYijGEv47q/oQXtdY2+dwFfaIaj9eDadZl2cpSqvEiNp2p0aQrSMq2BsuIhXu1lR6TdIyTUUZNQHHtEqMRosVZ5e/ktCrEWRBM+WaiGKQUJdYjJ3zWkzixFVwEUF4T1PhKU2XbSJKi8TYiS6VlXOJ4SI8wbXSZS2SiZKKGEyY6VjfOqtwEUFYrOlB96b1Do63C8IfRmIQlpYIR6f1bkF4SzOHTYKLSIXlmo9zW5rvCWq4wkCMjTzRp/leXcaMILwAF9Hl5rKzESkx0Ddl8Fj7vpLsRYTCM3ARqfC1pgc9lIEYqYsiCO9r2qfgItp0GsKTzZZtuOmr+9g4JBu0b5HGQsbDRdh0NR/lnQwsI11L6UOb1p9VxQ1wEV5NaXrosqRlmrpDJOHKJL4vU0o9OEFX7lBlWlpTUjhXM2TtEE/gKNvybH1TSR2SJrAV6NpmG3QbMtjJxmky9SpetsyPNRqm6uwzDPcp1sOXVHhe1yHgMoLwgebjvWIZD1lsahkJd/TG7hy2KD4sqmlXL1wmINyh+QCbbEw7ULg+PJZgKYaJKByJ5IikRV3GxAjrpmNxJ6KGw3ReUaFwu01ZGlGMfVP1RLEVIyyHMEszH23gg0BwnejMX93V1ljLCXWQKPaRvgGiJBEj6MKpMZZqHAbOlKCGQGviNdxiXV6/KIuTem1DUQjLbMVgJGFGzHDVibwgFT7RWMmqJMvEZt0fSX7PQuqOJwiF711Ph921MfpDOpPhOKVp2Esq/KCzDr7cBnlDN5dIFopwKRxGKjylE0MQfmz2VHAmcGKcJPypEWWdq9dZcO/XWjfn9FYxGnmFl7oxk+LyQOFIuLYgiUmYEIQXkWvYS6oJfcr+HrcorZh3GmLEul0IK9orOBR55+wKDo4J7/KK5Zesh6+ghktiU4kIW3mhgiLAFiAaXb1EWJfJ0egKhvGZlZjNX/gECvehCFhF+ihcffVaH6xJSLQL/9CgXk1HPJ2gibDrakm4tVVnwqMhlCThn0Z1EQov5WoD2IoYuBy4CmPvcUoWw1E/TkjQLsV3tYzeXO43kogh+ucU7URf57a3WXzu3TbxLUySJtwTnRXU3tIw6NnOV9CiCNiEXUs9GC4JbyaxHM4jFoSnOcWI877Yknji5Wv6BOFZnht0J7AaDFFrZQ0XowgkOp/RhzbObDQeRlr5EOamne2YGc0elmlnNwv7vuJuDWrRIwi/8WXNKAppnlyShHad674Fz2o+SsBnCFEU2BfVipNLQb9P6bWkt4vGWoTCl3zmkW+cQJFolRgDYd8ROyjDvNrk145v4csvwx15grOOuWAoxKgXNCpXMSq6uoP/J4R3BeGrKHPxVw4ohR++/98nRQc1O3ORiNAMSZPYPC3Ai+EQXgyH8GI4hBfDIbwYDuHFcAgvhkN4MRzCi+EQXgyH8GI4hBcjLzfBDfDaupaDW3g4WcBbhuuieDEcEsWL4Q5hnpOfMzwej8fj8Xg8Ho/H4/GgyPwHN+MBWXHaP7AAAAAASUVORK5CYII="/>\n</defs>\n</svg>\n'}),t("span",{class:"NoPowerTitle"},w("nothingHere",this.language)),t("span",null,w("noPowerUps")),t("span",null,w("gotoShop")),t("div",null)))}handleDataConfigChange(){this.loadData().catch(console.error)}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&a(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&r(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){d(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await d(this.translationUrl),this.loadData().catch(console.error)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&r(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&a(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.gameObservers.forEach((e=>e.disconnect())),this.gameObservers.clear()}static get assetsDirs(){return["assets"]}static get watchers(){return{offset:["loadData"],limit:["loadData"],language:["loadData"],session:["loadData","handleDataConfigChange"],endpoint:["loadData","handleDataConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};c.style=":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:300px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount{background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text;color:transparent}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:var(--emw--color-powup-light-green, #18CE51)}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{padding:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));cursor:pointer;position:relative}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{transition:opacity;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask{opacity:1;mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask .PlayBtn{border:2px solid var(--emw--color-powup-gray, #f0f0f0);padding:5px 3px;border-radius:3px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}";export{c as B,w as t}