@everymatrix/bonus-elevate-powerups 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bonus-elevate-powerups/app-globals-0f993ce5.js +1 -0
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups-550b383c.js +1 -0
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups.esm.js +1 -0
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups_5.entry.js +9 -0
- package/dist/bonus-elevate-powerups/index-c7067e6d.js +2 -0
- package/dist/bonus-elevate-powerups/index.esm.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/bonus-elevate-powerups-5d4f1cfd.js +399 -0
- package/dist/cjs/bonus-elevate-powerups.cjs.js +25 -0
- package/dist/cjs/bonus-elevate-powerups_5.cjs.entry.js +6182 -0
- package/dist/cjs/index-3dbb4007.js +1316 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/assets/clear-search.svg +9 -0
- package/dist/collection/assets/left-arrow.svg +3 -0
- package/dist/collection/collection-manifest.json +32 -0
- package/dist/collection/components/bonus-elevate-powerups/bonus-elevate-powerups.css +224 -0
- package/dist/collection/components/bonus-elevate-powerups/bonus-elevate-powerups.js +388 -0
- package/dist/collection/components/bonus-elevate-powerups/index.js +1 -0
- package/dist/collection/components/time-count/time-count.js +86 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +43 -0
- package/dist/collection/utils/utils.js +10 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/bonus-elevate-powerups-550b383c.js +397 -0
- package/dist/esm/bonus-elevate-powerups.js +20 -0
- package/dist/esm/bonus-elevate-powerups_5.entry.js +6174 -0
- package/dist/esm/index-c7067e6d.js +1287 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +20 -0
- package/dist/stencil.config.js +20 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/libs/common/src/types/casino/powerups.d.ts +57 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/packages/stencil/bonus-elevate-powerups/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/packages/stencil/bonus-elevate-powerups/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/packages/stencil/bonus-elevate-powerups/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/packages/stencil/bonus-elevate-powerups/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-elevate-powerups/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/bonus-elevate-powerups/bonus-elevate-powerups.d.ts +36 -0
- package/dist/types/components/bonus-elevate-powerups/index.d.ts +1 -0
- package/dist/types/components/time-count/time-count.d.ts +10 -0
- package/dist/types/components.d.ts +66 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +9 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|
|
@@ -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 s(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(),s=window[i];let r=s[t]&&s[t].sheet;r?s[t].refCount=s[t].refCount+1:(r=new CSSStyleSheet,r.replaceSync(o),s[t]={sheet:r,refCount:1});const n=a.adoptedStyleSheets||[];n.includes(r)||(a.adoptedStyleSheets=[...n,r])}))}(e,t);const s=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]}s()},o}var r,n,p;!function(e){e[e.COINS=1]="COINS",e[e.XP=2]="XP"}(r||(r={})),function(e){e[e.TIME_PERIOD=1]="TIME_PERIOD",e[e.NUMBER_OF_ROUNDS=2]="NUMBER_OF_ROUNDS"}(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"}(p||(p={}));const l={en:{min:"MIN",rounds:"Rounds",coins:"Coins",xp:"XP",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"}},d=(e,t,i)=>{let o=l[void 0!==t&&t in l?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},w={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,thumbnail,launchUrl)",status:`${p.ACTIVE},${p.ACTIVATED}`},h={expand:"games",fields:"id,powerUpID,games(id,gameId,name,thumbnail,launchUrl)"},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.language="en",this.endpoint=void 0,this.session=void 0,this.pageSize=20,this.isLoading=!0,this.powerups=[],this.offset=0,this.limit=this.pageSize,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(w).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)}}}onGamesHover(e){window.postMessage({type:"PowerUpHover",game:e},"*")}async loadMoreGames(e){var t;if(!(e.games.items.length>=e.games.total))try{const i=new URL(`${this.endpoint}/v1/elevate/powerups?pagination=games(limit=20,offset=${e.games.items.length})`),o={headers:{"x-SessionId":this.session}};i.searchParams.append("filter",`powerUpID=${e.powerUpID}`),Object.entries(h).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:s}=await a.json(),r=this.powerups.findIndex((t=>t.id===e.id));if(-1!==r){const e=Object.assign({},this.powerups[r]),i=null==s?void 0:s[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[r]=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:"b40ca849d3de46834e9c7b6dee8d275756921d07",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||"Title"," "),t("div",{class:"Title2 PowerUpMultiplier"},t("span",{class:"BoostingPeriod"},t("span",{class:"Period"},e.boostingPeriod.minutes||e.boostingPeriod.numberOfRounds," "),d(e.boostingPeriod.mode===n.TIME_PERIOD?"min":"rounds")," "),t("span",{class:"Multiplier"},"| X",e.multiplier.coefficient," "),t("span",{class:"MultiplierMode"},"| ",d(e.multiplier.mode===r.XP?"xp":"coins")," "),"| ",t("span",{class:"ExpireCount"}," ",t("time-count",{"expire-time":e.expireTime}))),t("div",{class:"Description"},"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aperiam autem corporis est harum minus, nam neque nisi quibusdam quod reiciendis rerum saepe temporibus veritatis voluptas! Aperiam cupiditate optio rem?")),t("div",{class:"TermsC"},d("termsCon",this.language))),t("div",{class:"GamesContent CardRight"},t("div",{class:"GamesTitle"},t("span",{class:"Title2"}," ",d("games",this.language)),t("span",{class:"GamesAmount"},"( ",null===(i=e.games)||void 0===i?void 0:i.total," )")),t("div",{class:"GameTitleTip"},d("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.onGamesHover.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"},d("nothingHere",this.language)),t("span",null,d("noPowerUps")),t("span",null,d("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&&s(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentWillLoad(){this.loadData().catch(console.error)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&s(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"]}}};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}.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 .Card{width:100%;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;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:#C8D6CE;overflow-y:auto;height:calc(100% - 60px)}.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 .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 .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{m as B}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,b as a}from"./index-c7067e6d.js";export{s as setNonce}from"./index-c7067e6d.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a([["bonus-elevate-powerups_5",[[1,"bonus-elevate-powerups",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[513],endpoint:[513],session:[513],pageSize:[514,"page-size"],isLoading:[32],powerups:[32],offset:[32],limit:[32],total:[32]},[[8,"reloadPageByType","onReloadPageByType"]],{offset:["loadData"],limit:["loadData"],language:["loadData"],session:["loadData","handleDataConfigChange"],endpoint:["loadData","handleDataConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"bonus-pagination-nav",{total:[1538],limit:[1538],offset:[1538],tableId:[1537,"table-id"],language:[1537],translationUrl:[513,"translation-url"],arrowsActive:[1540,"arrows-active"],secondaryArrowsActive:[1540,"secondary-arrows-active"],displayPageNumbers:[1540,"display-page-numbers"],displayRangeOfTotal:[1540,"display-range-of-total"],navItemAccount:[1538,"nav-item-account"],endPageIndex:[32],pagesArray:[32],currentPage:[32],showAsEllipsisMid:[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"time-count",{expireTime:[1,"expire-time"],displayTime:[32]},null,{expireTime:["startTimeChanged"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export{B as bonus_elevate_powerups}from"./bonus-elevate-powerups-550b383c.js";import{r as t,c as e,h as n,H as i,g as r}from"./index-c7067e6d.js";const s=["pt-br","en","es-mx","hu","hr"],a={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}"}},o=(t,e,n)=>{const i=e;let r=a[void 0!==i&&s.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},h=class{constructor(n){t(this,n),this.reloadPageEmitter=e(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 n("ul",{class:"PaginationArea"},this.pagesArray.map((t=>n("li",{class:"PageItem "+(this.currentPage==t?"Active":""),onClick:()=>{this.goTo(t)}},t))))}renderStylingWrapper(){return n("general-styling-wrapper",{targetTranslations:a,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 n("div",{key:"77610598f3ce40796b8d486fd27725fc68b61878",class:"PageNavigationWrapper"},this.displayRangeOfTotal&&this.total>0&&n("span",{key:"879bd2f268a18ea3c9cb2bb706d23c8db0634592",class:"PageOfMessage"},o("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}})),n("div",{key:"590af1c2fcb70d782b318c505deb507a8376e13b",class:"PageNavigation"},this.arrowsActive&&n("div",{key:"2d4746e889a43d6199ad7f305676d79bdbaa4f04",class:"PageArrow FirstPage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(1)}},o("firstPage",this.language)),this.secondaryArrowsActive&&n("span",{key:"89b588abdf7b77e3cdc00f44bbad27c432146f97",class:"PageArrow PrePage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(this.currentPage-1)}},o("prePage",this.language)),this.displayPageNumbers&&this.renderPageList(),this.secondaryArrowsActive&&n("span",{key:"097710df72de15cd1b0c03dfb2ac7870c99e12c0",class:"PageArrow NextPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.currentPage+1)}},o("nextPage",this.language)),this.arrowsActive&&n("div",{key:"a61296f3e627bc012545618c0fda239a1356da1f",class:"PageArrow LastPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.endPageIndex+1)}}," ",o("lastPage",this.language)," "),this.renderStylingWrapper()))}};
|
|
2
|
+
//! moment.js
|
|
3
|
+
//! version : 2.29.4
|
|
4
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
|
+
//! license : MIT
|
|
6
|
+
//! momentjs.com
|
|
7
|
+
var u,c;function d(){return u.apply(null,arguments)}function l(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function f(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function m(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function g(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(m(t,e))return!1;return!0}function v(t){return void 0===t}function w(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function y(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function k(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function p(t,e){for(var n in e)m(e,n)&&(t[n]=e[n]);return m(e,"toString")&&(t.toString=e.toString),m(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Y(t,e,n,i){return Fe(t,e,n,i,!0).utc()}function b(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 M(t){if(null==t._isValid){var e=b(t),n=c.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 D(t){var e=Y(NaN);return null!=t?p(b(e),t):b(e).userInvalidated=!0,e}h.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}",c=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 S=d.momentProperties=[],N=!1;function x(t,e){var n,i,r,s=S.length;if(v(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),v(e._i)||(t._i=e._i),v(e._f)||(t._f=e._f),v(e._l)||(t._l=e._l),v(e._strict)||(t._strict=e._strict),v(e._tzm)||(t._tzm=e._tzm),v(e._isUTC)||(t._isUTC=e._isUTC),v(e._offset)||(t._offset=e._offset),v(e._pf)||(t._pf=b(e)),v(e._locale)||(t._locale=e._locale),s>0)for(n=0;n<s;n++)v(r=e[i=S[n]])||(t[i]=r);return t}function T(t){x(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===N&&(N=!0,d.updateOffset(this),N=!1)}function _(t){return t instanceof T||null!=t&&null!=t._isAMomentObject}function H(t){!1===d.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,e){var n=!0;return p((function(){if(null!=d.deprecationHandler&&d.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])m(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[r];a.push(i)}H(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var W,A={};function G(t,e){null!=d.deprecationHandler&&d.deprecationHandler(t,e),A[t]||(H(e),A[t]=!0)}function $(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function E(t,e){var n,i=p({},t);for(n in e)m(e,n)&&(f(t[n])&&f(e[n])?(i[n]={},p(i[n],t[n]),p(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)m(t,n)&&!m(e,n)&&f(t[n])&&(i[n]=p({},i[n]));return i}function L(t){null!=t&&this.set(t)}function O(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}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null,W=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)m(t,e)&&n.push(e);return n};var I=/(\[[^\[]*\])|(\\)?([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,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},R={};function j(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(R[t]=r),e&&(R[e[0]]=function(){return O(r.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Z(t,e){return t.isValid()?(e=U(e,t.localeData()),F[e]=F[e]||function(t){var e,n,i,r=t.match(I);for(e=0,n=r.length;e<n;e++)r[e]=R[r[e]]?R[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+=$(r[i])?r[i].call(e,t):r[i];return s}}(e),F[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(C.lastIndex=0;n>=0&&C.test(t);)t=t.replace(C,i),C.lastIndex=0,n-=1;return t}var z={};function q(t,e){var n=t.toLowerCase();z[n]=z[n+"s"]=z[e]=t}function J(t){return"string"==typeof t?z[t]||z[t.toLowerCase()]:void 0}function Q(t){var e,n,i={};for(n in t)m(t,n)&&(e=J(n))&&(i[e]=t[n]);return i}var X={};function V(t,e){X[t]=e}function K(t){return t%4==0&&t%100!=0||t%400==0}function tt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function et(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=tt(e)),n}function nt(t,e){return function(n){return null!=n?(rt(this,t,n),d.updateOffset(this,e),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function rt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&K(t.year())&&1===t.month()&&29===t.date()?(n=et(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),It(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var st,at=/\d/,ot=/\d\d/,ht=/\d{3}/,ut=/\d{4}/,ct=/[+-]?\d{6}/,dt=/\d\d?/,lt=/\d\d\d\d?/,ft=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,gt=/\d{1,4}/,vt=/[+-]?\d{1,6}/,wt=/\d+/,yt=/[+-]?\d+/,kt=/Z|[+-]\d\d:?\d\d/gi,pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Yt=/[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 bt(t,e,n){st[t]=$(e)?e:function(t){return t&&n?n:e}}function Mt(t,e){return m(st,t)?st[t](e._strict,e._locale):new RegExp(Dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function Dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}st={};var St={};function Nt(t,e){var n,i,r=e;for("string"==typeof t&&(t=[t]),w(e)&&(r=function(t,n){n[e]=et(t)}),i=t.length,n=0;n<i;n++)St[t[n]]=r}function xt(t,e){Nt(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function Tt(t,e,n){null!=e&&m(St,t)&&St[t](e,n._a,n,t)}var _t,Ht=0,Pt=1,Wt=2,At=3,Gt=4,$t=5,Et=6,Lt=7,Ot=8;function It(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?K(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},j("M",["MM",2],"Mo",(function(){return this.month()+1})),j("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),j("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),q("month","M"),V("month",8),bt("M",dt),bt("MM",dt,ot),bt("MMM",(function(t,e){return e.monthsShortRegex(t)})),bt("MMMM",(function(t,e){return e.monthsRegex(t)})),Nt(["M","MM"],(function(t,e){e[Pt]=et(t)-1})),Nt(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Pt]=r:b(n).invalidMonth=t}));var Ct="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ft="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jt=Yt,Zt=Yt;function Ut(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=Y([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 zt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=et(e);else if(!w(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),It(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function qt(t){return null!=t?(zt(this,t),d.updateOffset(this,!0),this):it(this,"Month")}function Jt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],s=[];for(e=0;e<12;e++)n=Y([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]=Dt(i[e]),r[e]=Dt(r[e]);for(e=0;e<24;e++)s[e]=Dt(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 Bt(t){return K(t)?366:365}j("Y",0,0,(function(){var t=this.year();return t<=9999?O(t,4):"+"+t})),j(0,["YY",2],0,(function(){return this.year()%100})),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),q("year","y"),V("year",1),bt("Y",yt),bt("YY",dt,ot),bt("YYYY",gt,ut),bt("YYYYY",vt,ct),bt("YYYYYY",vt,ct),Nt(["YYYYY","YYYYYY"],Ht),Nt("YYYY",(function(t,e){e[Ht]=2===t.length?d.parseTwoDigitYear(t):et(t)})),Nt("YY",(function(t,e){e[Ht]=d.parseTwoDigitYear(t)})),Nt("Y",(function(t,e){e[Ht]=parseInt(t,10)})),d.parseTwoDigitYear=function(t){return et(t)+(et(t)>68?1900:2e3)};var Qt=nt("FullYear",!0);function Xt(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 Vt(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 Kt(t,e,n){var i=7+e-n;return-(7+Vt(t,0,i).getUTCDay()-e)%7+i-1}function te(t,e,n,i,r){var s,a,o=1+7*(e-1)+(7+n-i)%7+Kt(t,i,r);return o<=0?a=Bt(s=t-1)+o:o>Bt(t)?(s=t+1,a=o-Bt(t)):(s=t,a=o),{year:s,dayOfYear:a}}function ee(t,e,n){var i,r,s=Kt(t.year(),e,n),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?i=a+ne(r=t.year()-1,e,n):a>ne(t.year(),e,n)?(i=a-ne(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function ne(t,e,n){var i=Kt(t,e,n),r=Kt(t+1,e,n);return(Bt(t)-i+r)/7}function ie(t,e){return t.slice(e,7).concat(t.slice(0,e))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),V("week",5),V("isoWeek",5),bt("w",dt),bt("ww",dt,ot),bt("W",dt),bt("WW",dt,ot),xt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=et(t)})),j("d",0,"do","day"),j("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),j("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),j("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),bt("d",dt),bt("e",dt),bt("E",dt),bt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),bt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),bt("dddd",(function(t,e){return e.weekdaysRegex(t)})),xt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:b(n).invalidWeekday=t})),xt(["d","e","E"],(function(t,e,n,i){e[i]=et(t)}));var re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),se="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ae="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),oe=Yt,he=Yt,ue=Yt;function ce(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=Y([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 de(){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=Y([2e3,1]).day(e),i=Dt(this.weekdaysMin(n,"")),r=Dt(this.weekdaysShort(n,"")),s=Dt(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 le(){return this.hours()%12||12}function fe(t,e){j(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function me(t,e){return e._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,le),j("k",["kk",2],0,(function(){return this.hours()||24})),j("hmm",0,0,(function(){return""+le.apply(this)+O(this.minutes(),2)})),j("hmmss",0,0,(function(){return""+le.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)})),j("Hmm",0,0,(function(){return""+this.hours()+O(this.minutes(),2)})),j("Hmmss",0,0,(function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)})),fe("a",!0),fe("A",!1),q("hour","h"),V("hour",13),bt("a",me),bt("A",me),bt("H",dt),bt("h",dt),bt("k",dt),bt("HH",dt,ot),bt("hh",dt,ot),bt("kk",dt,ot),bt("hmm",lt),bt("hmmss",ft),bt("Hmm",lt),bt("Hmmss",ft),Nt(["H","HH"],At),Nt(["k","kk"],(function(t,e){var n=et(t);e[At]=24===n?0:n})),Nt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Nt(["h","hh"],(function(t,e,n){e[At]=et(t),b(n).bigHour=!0})),Nt("hmm",(function(t,e,n){var i=t.length-2;e[At]=et(t.substr(0,i)),e[Gt]=et(t.substr(i)),b(n).bigHour=!0})),Nt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[At]=et(t.substr(0,i)),e[Gt]=et(t.substr(i,2)),e[$t]=et(t.substr(r)),b(n).bigHour=!0})),Nt("Hmm",(function(t,e){var n=t.length-2;e[At]=et(t.substr(0,n)),e[Gt]=et(t.substr(n))})),Nt("Hmmss",(function(t,e){var n=t.length-4,i=t.length-2;e[At]=et(t.substr(0,n)),e[Gt]=et(t.substr(n,2)),e[$t]=et(t.substr(i))}));var ge,ve=nt("Hours",!0),we={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:Ct,monthsShort:Ft,week:{dow:0,doy:6},weekdays:re,weekdaysMin:ae,weekdaysShort:se,meridiemParse:/[ap]\.?m?\.?/i},ye={},ke={};function pe(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 Ye(t){return t?t.toLowerCase().replace("_","-"):t}function be(t){var e=null;if(void 0===ye[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ge._abbr,require("./locale/"+t),Me(e)}catch(e){ye[t]=null}return ye[t]}function Me(t,e){var n;return t&&((n=v(e)?Se(t):De(t,e))?ge=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ge._abbr}function De(t,e){if(null!==e){var n,i=we;if(e.abbr=t,null!=ye[t])G("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=ye[t]._config;else if(null!=e.parentLocale)if(null!=ye[e.parentLocale])i=ye[e.parentLocale]._config;else{if(null==(n=be(e.parentLocale)))return ke[e.parentLocale]||(ke[e.parentLocale]=[]),ke[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ye[t]=new L(E(i,e)),ke[t]&&ke[t].forEach((function(t){De(t.name,t.config)})),Me(t),ye[t]}return delete ye[t],null}function Se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ge;if(!l(t)){if(e=be(t))return e;t=[t]}return function(t){for(var e,n,i,r,s=0;s<t.length;){for(e=(r=Ye(t[s]).split("-")).length,n=(n=Ye(t[s+1]))?n.split("-"):null;e>0;){if(i=be(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&pe(r,n)>=e-1)break;e--}s++}return ge}(t)}function Ne(t){var e,n=t._a;return n&&-2===b(t).overflow&&(e=n[Pt]<0||n[Pt]>11?Pt:n[Wt]<1||n[Wt]>It(n[Ht],n[Pt])?Wt:n[At]<0||n[At]>24||24===n[At]&&(0!==n[Gt]||0!==n[$t]||0!==n[Et])?At:n[Gt]<0||n[Gt]>59?Gt:n[$t]<0||n[$t]>59?$t:n[Et]<0||n[Et]>999?Et:-1,b(t)._overflowDayOfYear&&(e<Ht||e>Wt)&&(e=Wt),b(t)._overflowWeeks&&-1===e&&(e=Lt),b(t)._overflowWeekday&&-1===e&&(e=Ot),b(t).overflow=e),t}var xe=/^\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)?)?$/,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=/Z|[+-]\d\d(?::?\d\d)?/,He=[["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]],Pe=[["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/]],We=/^\/?Date\((-?\d+)/i,Ae=/^(?:(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}))$/,Ge={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $e(t){var e,n,i,r,s,a,o=t._i,h=xe.exec(o)||Te.exec(o),u=He.length,c=Pe.length;if(h){for(b(t).iso=!0,e=0,n=u;e<n;e++)if(He[e][1].exec(h[1])){r=He[e][0],i=!1!==He[e][2];break}if(null==r)return void(t._isValid=!1);if(h[3]){for(e=0,n=c;e<n;e++)if(Pe[e][1].exec(h[3])){s=(h[2]||" ")+Pe[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||""),Ie(t)}else t._isValid=!1}function Ee(t){var e,n,i,r,s,a,o,h,u,c=Ae.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),Ft.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,n){return!t||se.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(b(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 Ge[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=Vt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),b(t).rfc2822=!0}else t._isValid=!1}function Le(t,e,n){return null!=t?t:null!=e?e:n}function Oe(t){var e,n,i,r,s,a=[];if(!t._d){for(i=function(t){var e=new Date(d.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[Wt]&&null==t._a[Pt]&&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=Le(e.GG,t._a[Ht],ee(Re(),1,4).year),i=Le(e.W,1),((r=Le(e.E,1))<1||r>7)&&(h=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,u=ee(Re(),s,a),n=Le(e.gg,t._a[Ht],u.year),i=Le(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>ne(n,s,a)?b(t)._overflowWeeks=!0:null!=h?b(t)._overflowWeekday=!0:(o=te(n,i,r,s,a),t._a[Ht]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=Le(t._a[Ht],i[Ht]),(t._dayOfYear>Bt(s)||0===t._dayOfYear)&&(b(t)._overflowDayOfYear=!0),n=Vt(s,0,t._dayOfYear),t._a[Pt]=n.getUTCMonth(),t._a[Wt]=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[At]&&0===t._a[Gt]&&0===t._a[$t]&&0===t._a[Et]&&(t._nextDay=!0,t._a[At]=0),t._d=(t._useUTC?Vt:Xt).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[At]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(b(t).weekdayMismatch=!0)}}function Ie(t){if(t._f!==d.ISO_8601)if(t._f!==d.RFC_2822){t._a=[],b(t).empty=!0;var e,n,i,r,s,a,o,h=""+t._i,u=h.length,c=0;for(o=(i=U(t._f,t._locale).match(I)||[]).length,e=0;e<o;e++)(n=(h.match(Mt(r=i[e],t))||[])[0])&&((s=h.substr(0,h.indexOf(n))).length>0&&b(t).unusedInput.push(s),h=h.slice(h.indexOf(n)+n.length),c+=n.length),R[r]?(n?b(t).empty=!1:b(t).unusedTokens.push(r),Tt(r,n,t)):t._strict&&!n&&b(t).unusedTokens.push(r);b(t).charsLeftOver=u-c,h.length>0&&b(t).unusedInput.push(h),t._a[At]<=12&&!0===b(t).bigHour&&t._a[At]>0&&(b(t).bigHour=void 0),b(t).parsedDateParts=t._a.slice(0),b(t).meridiem=t._meridiem,t._a[At]=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[At],t._meridiem),null!==(a=b(t).era)&&(t._a[Ht]=t._locale.erasConvertYear(a,t._a[Ht])),Oe(t),Ne(t)}else Ee(t);else $e(t)}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||Se(t._l),null===e||void 0===n&&""===e?D({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),_(e)?new T(Ne(e)):(y(e)?t._d=e:l(n)?function(t){var e,n,i,r,s,a,o=!1,h=t._f.length;if(0===h)return b(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<h;r++)s=0,a=!1,e=x({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ie(e),M(e)&&(a=!0),s+=b(e).charsLeftOver,s+=10*b(e).unusedTokens.length,b(e).score=s,o?s<i&&(i=s,n=e):(null==i||s<i||a)&&(i=s,n=e,a&&(o=!0));p(t,n||e)}(t):n?Ie(t):function(t){var e=t._i;v(e)?t._d=new Date(d.now()):y(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=We.exec(t._i);null===e?($e(t),!1===t._isValid&&(delete t._isValid,Ee(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:d.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):l(e)?(t._a=k(e.slice(0),(function(t){return parseInt(t,10)})),Oe(t)):f(e)?function(t){if(!t._d){var e=Q(t._i);t._a=k([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)})),Oe(t)}}(t):w(e)?t._d=new Date(e):d.createFromInputFallback(t)}(t),M(t)||(t._d=null),t))}function Fe(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),(f(t)&&g(t)||l(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 T(Ne(Ce(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Re(t,e,n,i){return Fe(t,e,n,i,!1)}d.createFromInputFallback=P("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":""))})),d.ISO_8601=function(){},d.RFC_2822=function(){};var je=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Re.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:D()})),Ze=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Re.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:D()}));function Ue(t,e){var n,i;if(1===e.length&&l(e[0])&&(e=e[0]),!e.length)return Re();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var ze=["year","quarter","month","week","day","hour","minute","second","millisecond"];function qe(t){var e=Q(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=ze.length;for(e in t)if(m(t,e)&&(-1===_t.call(ze,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[ze[n]]){if(i)return!1;parseFloat(t[ze[n]])!==et(t[ze[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=Se(),this._bubble()}function Je(t){return t instanceof qe}function Be(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Qe(t,e){j(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+O(~~(t/60),2)+e+O(~~t%60,2)}))}Qe("Z",":"),Qe("ZZ",""),bt("Z",pt),bt("ZZ",pt),Nt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Ve(pt,t)}));var Xe=/([\+\-]|\d\d)/gi;function Ve(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Xe)||["-",0,0])[1]+et(n[2]))?0:"+"===n[0]?i:-i}function Ke(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(_(t)||y(t)?t.valueOf():Re(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),d.updateOffset(n,!1),n):Re(t).local()}function tn(t){return-Math.round(t._d.getTimezoneOffset())}function en(){return!!this.isValid()&&this._isUTC&&0===this._offset}d.updateOffset=function(){};var nn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,rn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function sn(t,e){var n,i,r,s,a,o,h=t,u=null;return Je(t)?h={ms:t._milliseconds,d:t._days,M:t._months}:w(t)||!isNaN(+t)?(h={},e?h[e]=+t:h.milliseconds=+t):(u=nn.exec(t))?(n="-"===u[1]?-1:1,h={y:0,d:et(u[Wt])*n,h:et(u[At])*n,m:et(u[Gt])*n,s:et(u[$t])*n,ms:et(Be(1e3*u[Et]))*n}):(u=rn.exec(t))?h={y:an(u[2],n="-"===u[1]?-1:1),M:an(u[3],n),w:an(u[4],n),d:an(u[5],n),h:an(u[6],n),m:an(u[7],n),s:an(u[8],n)}:null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(s=Re(h.from),a=Re(h.to),r=s.isValid()&&a.isValid()?(a=Ke(a,s),s.isBefore(a)?o=on(s,a):((o=on(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(h={}).ms=r.milliseconds,h.M=r.months),i=new qe(h),Je(t)&&m(t,"_locale")&&(i._locale=t._locale),Je(t)&&m(t,"_isValid")&&(i._isValid=t._isValid),i}function an(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function on(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 hn(t,e){return function(n,i){var r;return null===i||isNaN(+i)||(G(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),un(this,sn(n,i),t),this}}function un(t,e,n,i){var r=e._milliseconds,s=Be(e._days),a=Be(e._months);t.isValid()&&(i=null==i||i,a&&zt(t,it(t,"Month")+a*n),s&&rt(t,"Date",it(t,"Date")+s*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&d.updateOffset(t,s||a))}sn.fn=qe.prototype,sn.invalid=function(){return sn(NaN)};var cn=hn(1,"add"),dn=hn(-1,"subtract");function ln(t){return"string"==typeof t||t instanceof String}function fn(t,e){if(t.date()<e.date())return-fn(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 mn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Se(t))&&(this._locale=e),this)}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gn=P("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 vn(){return this._locale}var wn=1e3,yn=6e4,kn=36e5,pn=126227808e5;function Yn(t,e){return(t%e+e)%e}function bn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-pn:new Date(t,e,n).valueOf()}function Mn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-pn:Date.UTC(t,e,n)}function Dn(t,e){return e.erasAbbrRegex(t)}function Sn(){var t,e,n=[],i=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)i.push(Dt(a[t].name)),n.push(Dt(a[t].abbr)),r.push(Dt(a[t].narrow)),s.push(Dt(a[t].name)),s.push(Dt(a[t].abbr)),s.push(Dt(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 Nn(t,e){j(0,[t,t.length],0,e)}function xn(t,e,n,i,r){var s;return null==t?ee(this,i,r).year:(e>(s=ne(t,i,r))&&(e=s),Tn.call(this,t,e,n,i,r))}function Tn(t,e,n,i,r){var s=te(t,e,n,i,r),a=Vt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),bt("N",Dn),bt("NN",Dn),bt("NNN",Dn),bt("NNNN",(function(t,e){return e.erasNameRegex(t)})),bt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Nt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?b(n).era=r:b(n).invalidEra=t})),bt("y",wt),bt("yy",wt),bt("yyy",wt),bt("yyyy",wt),bt("yo",(function(t,e){return e._eraYearOrdinalRegex||wt})),Nt(["y","yy","yyy","yyyy"],Ht),Nt(["yo"],(function(t,e,n){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),e[Ht]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),j(0,["gg",2],0,(function(){return this.weekYear()%100})),j(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Nn("gggg","weekYear"),Nn("ggggg","weekYear"),Nn("GGGG","isoWeekYear"),Nn("GGGGG","isoWeekYear"),q("weekYear","gg"),q("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),bt("G",yt),bt("g",yt),bt("GG",dt,ot),bt("gg",dt,ot),bt("GGGG",gt,ut),bt("gggg",gt,ut),bt("GGGGG",vt,ct),bt("ggggg",vt,ct),xt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=et(t)})),xt(["gg","GG"],(function(t,e,n,i){e[i]=d.parseTwoDigitYear(t)})),j("Q",0,"Qo","quarter"),q("quarter","Q"),V("quarter",7),bt("Q",at),Nt("Q",(function(t,e){e[Pt]=3*(et(t)-1)})),j("D",["DD",2],"Do","date"),q("date","D"),V("date",9),bt("D",dt),bt("DD",dt,ot),bt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Nt(["D","DD"],Wt),Nt("Do",(function(t,e){e[Wt]=et(t.match(dt)[0])}));var _n=nt("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),V("dayOfYear",4),bt("DDD",mt),bt("DDDD",ht),Nt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=et(t)})),j("m",["mm",2],0,"minute"),q("minute","m"),V("minute",14),bt("m",dt),bt("mm",dt,ot),Nt(["m","mm"],Gt);var Hn=nt("Minutes",!1);j("s",["ss",2],0,"second"),q("second","s"),V("second",15),bt("s",dt),bt("ss",dt,ot),Nt(["s","ss"],$t);var Pn,Wn,An=nt("Seconds",!1);for(j("S",0,0,(function(){return~~(this.millisecond()/100)})),j(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),j(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),j(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),j(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),j(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),j(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),q("millisecond","ms"),V("millisecond",16),bt("S",mt,at),bt("SS",mt,ot),bt("SSS",mt,ht),Pn="SSSS";Pn.length<=9;Pn+="S")bt(Pn,wt);function Gn(t,e){e[Et]=et(1e3*("0."+t))}for(Pn="S";Pn.length<=9;Pn+="S")Nt(Pn,Gn);Wn=nt("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var $n=T.prototype;function En(t){return t}$n.add=cn,$n.calendar=function(t,e){var n;1===arguments.length&&(arguments[0]?_(n=arguments[0])||y(n)||ln(n)||w(n)||function(t){var e=l(t),n=!1;return e&&(n=0===t.filter((function(e){return!w(e)&&ln(t)})).length),e&&n}(n)||function(t){var e,n=f(t)&&!g(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||m(t,r[e]);return n&&i}(n)||null==n?(t=arguments[0],e=void 0):function(t){var e,n=f(t)&&!g(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)i=i||m(t,r[e]);return n&&i}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||Re(),r=Ke(i,this).startOf("day"),s=d.calendarFormat(this,r)||"sameElse",a=e&&($(e[s])?e[s].call(this,i):e[s]);return this.format(a||this.localeData().calendar(s,this,Re(i)))},$n.clone=function(){return new T(this)},$n.diff=function(t,e,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=Ke(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=J(e)){case"year":s=fn(this,i)/12;break;case"month":s=fn(this,i);break;case"quarter":s=fn(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:tt(s)},$n.endOf=function(t){var e,n;if(void 0===(t=J(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Mn:bn,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+=kn-Yn(e+(this._isUTC?0:this.utcOffset()*yn),kn)-1;break;case"minute":e=this._d.valueOf(),e+=yn-Yn(e,yn)-1;break;case"second":e=this._d.valueOf(),e+=wn-Yn(e,wn)-1}return this._d.setTime(e),d.updateOffset(this,!0),this},$n.format=function(t){t||(t=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var e=Z(this,t);return this.localeData().postformat(e)},$n.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Re(t).isValid())?sn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},$n.fromNow=function(t){return this.from(Re(),t)},$n.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Re(t).isValid())?sn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},$n.toNow=function(t){return this.to(Re(),t)},$n.get=function(t){return $(this[t=J(t)])?this[t]():this},$n.invalidAt=function(){return b(this).overflow},$n.isAfter=function(t,e){var n=_(t)?t:Re(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=J(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},$n.isBefore=function(t,e){var n=_(t)?t:Re(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=J(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},$n.isBetween=function(t,e,n,i){var r=_(t)?t:Re(t),s=_(e)?e:Re(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))},$n.isSame=function(t,e){var n,i=_(t)?t:Re(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=J(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},$n.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},$n.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},$n.isValid=function(){return M(this)},$n.lang=gn,$n.locale=mn,$n.localeData=vn,$n.max=Ze,$n.min=je,$n.parsingFlags=function(){return p({},b(this))},$n.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)m(t,e)&&n.push({unit:e,priority:X[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=Q(t)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if($(this[t=J(t)]))return this[t](e);return this},$n.startOf=function(t){var e,n;if(void 0===(t=J(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Mn:bn,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-=Yn(e+(this._isUTC?0:this.utcOffset()*yn),kn);break;case"minute":e=this._d.valueOf(),e-=Yn(e,yn);break;case"second":e=this._d.valueOf(),e-=Yn(e,wn)}return this._d.setTime(e),d.updateOffset(this,!0),this},$n.subtract=dn,$n.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},$n.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()}},$n.toDate=function(){return new Date(this.valueOf())},$n.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?Z(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):$(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Z(n,"Z")):Z(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},$n.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&&($n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),$n.toJSON=function(){return this.isValid()?this.toISOString():null},$n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},$n.unix=function(){return Math.floor(this.valueOf()/1e3)},$n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},$n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},$n.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""},$n.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""},$n.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""},$n.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()-d(r[t].since).year())*n+r[t].offset;return this.year()},$n.year=Qt,$n.isLeapYear=function(){return K(this.year())},$n.weekYear=function(t){return xn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},$n.isoWeekYear=function(t){return xn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},$n.quarter=$n.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},$n.month=qt,$n.daysInMonth=function(){return It(this.year(),this.month())},$n.week=$n.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},$n.isoWeek=$n.isoWeeks=function(t){var e=ee(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},$n.weeksInYear=function(){var t=this.localeData()._week;return ne(this.year(),t.dow,t.doy)},$n.weeksInWeekYear=function(){var t=this.localeData()._week;return ne(this.weekYear(),t.dow,t.doy)},$n.isoWeeksInYear=function(){return ne(this.year(),1,4)},$n.isoWeeksInISOWeekYear=function(){return ne(this.isoWeekYear(),1,4)},$n.date=_n,$n.day=$n.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},$n.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")},$n.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},$n.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")},$n.hour=$n.hours=ve,$n.minute=$n.minutes=Hn,$n.second=$n.seconds=An,$n.millisecond=$n.milliseconds=Wn,$n.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=Ve(pt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=tn(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?un(this,sn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:tn(this)},$n.utc=function(t){return this.utcOffset(0,t)},$n.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(tn(this),"m")),this},$n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ve(kt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},$n.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Re(t).utcOffset():0,(this.utcOffset()-t)%60==0)},$n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},$n.isLocal=function(){return!!this.isValid()&&!this._isUTC},$n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},$n.isUtc=en,$n.isUTC=en,$n.zoneAbbr=function(){return this._isUTC?"UTC":""},$n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},$n.dates=P("dates accessor is deprecated. Use date instead.",_n),$n.months=P("months accessor is deprecated. Use month instead",qt),$n.years=P("years accessor is deprecated. Use year instead",Qt),$n.zone=P("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()})),$n.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!v(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),(e=Ce(e))._a?(t=e._isUTC?Y(e._a):Re(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++)et(t[n])!==et(e[n])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ln=L.prototype;function On(t,e,n,i){var r=Se(),s=Y().set(i,e);return r[n](s,t)}function In(t,e,n){if(w(t)&&(e=t,t=void 0),t=t||"",null!=e)return On(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=On(t,i,n,"month");return r}function Cn(t,e,n,i){"boolean"==typeof t?(w(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,w(e)&&(n=e,e=void 0),e=e||"");var r,s=Se(),a=t?s._week.dow:0,o=[];if(null!=n)return On(e,(n+a)%7,i,"day");for(r=0;r<7;r++)o[r]=On(e,(r+a)%7,i,"day");return o}Ln.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return $(i)?i.call(e,n):i},Ln.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(I).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Ln.invalidDate=function(){return this._invalidDate},Ln.ordinal=function(t){return this._ordinal.replace("%d",t)},Ln.preparse=En,Ln.postformat=En,Ln.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return $(r)?r(t,e,n,i):r.replace(/%d/i,t)},Ln.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return $(n)?n(e):n.replace(/%s/i,e)},Ln.set=function(t){var e,n;for(n in t)m(t,n)&&($(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)},Ln.eras=function(){var t,e,n,i=this._eras||Se("en")._eras;for(t=0,e=i.length;t<e;++t)switch("string"==typeof i[t].since&&(n=d(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=d(i[t].until).startOf("day").valueOf(),i[t].until=n.valueOf()}return i},Ln.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]},Ln.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?d(t.since).year():d(t.since).year()+(e-t.offset)*n},Ln.erasAbbrRegex=function(t){return m(this,"_erasAbbrRegex")||Sn.call(this),t?this._erasAbbrRegex:this._erasRegex},Ln.erasNameRegex=function(t){return m(this,"_erasNameRegex")||Sn.call(this),t?this._erasNameRegex:this._erasRegex},Ln.erasNarrowRegex=function(t){return m(this,"_erasNarrowRegex")||Sn.call(this),t?this._erasNarrowRegex:this._erasRegex},Ln.months=function(t,e){return t?l(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Rt).test(e)?"format":"standalone"][t.month()]:l(this._months)?this._months:this._months.standalone},Ln.monthsShort=function(t,e){return t?l(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Rt.test(e)?"format":"standalone"][t.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ln.monthsParse=function(t,e,n){var i,r,s;if(this._monthsParseExact)return Ut.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=Y([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}},Ln.monthsRegex=function(t){return this._monthsParseExact?(m(this,"_monthsRegex")||Jt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Zt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Ln.monthsShortRegex=function(t){return this._monthsParseExact?(m(this,"_monthsRegex")||Jt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=jt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Ln.week=function(t){return ee(t,this._week.dow,this._week.doy).week},Ln.firstDayOfYear=function(){return this._week.doy},Ln.firstDayOfWeek=function(){return this._week.dow},Ln.weekdays=function(t,e){var n=l(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?ie(n,this._week.dow):t?n[t.day()]:n},Ln.weekdaysMin=function(t){return!0===t?ie(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Ln.weekdaysShort=function(t){return!0===t?ie(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Ln.weekdaysParse=function(t,e,n){var i,r,s;if(this._weekdaysParseExact)return ce.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=Y([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}},Ln.weekdaysRegex=function(t){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||de.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=oe),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Ln.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||de.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=he),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ln.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||de.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ue),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ln.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ln.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},Me("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===et(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),d.lang=P("moment.lang is deprecated. Use moment.locale instead.",Me),d.langData=P("moment.langData is deprecated. Use moment.localeData instead.",Se);var Fn=Math.abs;function Rn(t,e,n,i){var r=sn(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function jn(t){return t<0?Math.floor(t):Math.ceil(t)}function Zn(t){return 4800*t/146097}function Un(t){return 146097*t/4800}function zn(t){return function(){return this.as(t)}}var qn=zn("ms"),Jn=zn("s"),Bn=zn("m"),Qn=zn("h"),Xn=zn("d"),Vn=zn("w"),Kn=zn("M"),ti=zn("Q"),ei=zn("y");function ni(t){return function(){return this.isValid()?this._data[t]:NaN}}var ii=ni("milliseconds"),ri=ni("seconds"),si=ni("minutes"),ai=ni("hours"),oi=ni("days"),hi=ni("months"),ui=ni("years"),ci=Math.round,di={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function li(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var fi=Math.abs;function mi(t){return(t>0)-(t<0)||+t}function gi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,a,o,h=fi(this._milliseconds)/1e3,u=fi(this._days),c=fi(this._months),d=this.asSeconds();return d?(t=tt(h/60),e=tt(t/60),h%=60,t%=60,n=tt(c/12),c%=12,i=h?h.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=mi(this._months)!==mi(d)?"-":"",a=mi(this._days)!==mi(d)?"-":"",o=mi(this._milliseconds)!==mi(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 vi=qe.prototype;vi.isValid=function(){return this._isValid},vi.abs=function(){var t=this._data;return this._milliseconds=Fn(this._milliseconds),this._days=Fn(this._days),this._months=Fn(this._months),t.milliseconds=Fn(t.milliseconds),t.seconds=Fn(t.seconds),t.minutes=Fn(t.minutes),t.hours=Fn(t.hours),t.months=Fn(t.months),t.years=Fn(t.years),this},vi.add=function(t,e){return Rn(this,t,e,1)},vi.subtract=function(t,e){return Rn(this,t,e,-1)},vi.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=J(t))||"quarter"===t||"year"===t)switch(n=this._months+Zn(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(Un(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)}},vi.asMilliseconds=qn,vi.asSeconds=Jn,vi.asMinutes=Bn,vi.asHours=Qn,vi.asDays=Xn,vi.asWeeks=Vn,vi.asMonths=Kn,vi.asQuarters=ti,vi.asYears=ei,vi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*et(this._months/12):NaN},vi._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*jn(Un(o)+a),a=0,o=0),h.milliseconds=s%1e3,t=tt(s/1e3),h.seconds=t%60,e=tt(t/60),h.minutes=e%60,n=tt(e/60),h.hours=n%24,a+=tt(n/24),o+=r=tt(Zn(a)),a-=jn(Un(r)),i=tt(o/12),o%=12,h.days=a,h.months=o,h.years=i,this},vi.clone=function(){return sn(this)},vi.get=function(t){return t=J(t),this.isValid()?this[t+"s"]():NaN},vi.milliseconds=ii,vi.seconds=ri,vi.minutes=si,vi.hours=ai,vi.days=oi,vi.weeks=function(){return tt(this.days()/7)},vi.months=hi,vi.years=ui,vi.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=di;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},di,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),i=function(t,e,n,i){var r=sn(t).abs(),s=ci(r.as("s")),a=ci(r.as("m")),o=ci(r.as("h")),h=ci(r.as("d")),u=ci(r.as("M")),c=ci(r.as("w")),d=ci(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,li.apply(null,l)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},vi.toISOString=gi,vi.toString=gi,vi.toJSON=gi,vi.locale=mn,vi.localeData=vn,vi.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gi),vi.lang=gn,j("X",0,0,"unix"),j("x",0,0,"valueOf"),bt("x",yt),bt("X",/[+-]?\d+(\.\d{1,3})?/),Nt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Nt("x",(function(t,e,n){n._d=new Date(et(t))})),
|
|
8
|
+
//! moment.js
|
|
9
|
+
d.version="2.29.4",u=Re,d.fn=$n,d.min=function(){return Ue("isBefore",[].slice.call(arguments,0))},d.max=function(){return Ue("isAfter",[].slice.call(arguments,0))},d.now=function(){return Date.now?Date.now():+new Date},d.utc=Y,d.unix=function(t){return Re(1e3*t)},d.months=function(t,e){return In(t,e,"months")},d.isDate=y,d.locale=Me,d.invalid=D,d.duration=sn,d.isMoment=_,d.weekdays=function(t,e,n){return Cn(t,e,n,"weekdays")},d.parseZone=function(){return Re.apply(null,arguments).parseZone()},d.localeData=Se,d.isDuration=Je,d.monthsShort=function(t,e){return In(t,e,"monthsShort")},d.weekdaysMin=function(t,e,n){return Cn(t,e,n,"weekdaysMin")},d.defineLocale=De,d.updateLocale=function(t,e){if(null!=e){var n,i,r=we;null!=ye[t]&&null!=ye[t].parentLocale?ye[t].set(E(ye[t]._config,e)):(null!=(i=be(t))&&(r=i._config),e=E(r,e),null==i&&(e.abbr=t),(n=new L(e)).parentLocale=ye[t],ye[t]=n),Me(t)}else null!=ye[t]&&(null!=ye[t].parentLocale?(ye[t]=ye[t].parentLocale,t===Me()&&Me(t)):null!=ye[t]&&delete ye[t]);return ye[t]},d.locales=function(){return W(ye)},d.weekdaysShort=function(t,e,n){return Cn(t,e,n,"weekdaysShort")},d.normalizeUnits=J,d.relativeTimeRounding=function(t){return void 0===t?ci:"function"==typeof t&&(ci=t,!0)},d.relativeTimeThreshold=function(t,e){return void 0!==di[t]&&(void 0===e?di[t]:(di[t]=e,"s"===t&&(di.ss=e-1),!0))},d.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"},d.prototype=$n,d.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 wi=class{constructor(e){t(this,e),this.expireTime=void 0,this.displayTime=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}updateDisplayTime(){const t=d(),e=d(this.expireTime);if(!e.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const n=d.duration(e.diff(t));if(n.asMilliseconds()<=0)return this.displayTime="00:00:00",void clearInterval(this.timer);const i=Math.floor(n.asHours());if(i>=48)this.displayTime=`${Math.floor(n.asDays())} days`;else if(i>=24)this.displayTime="1 day";else{const t=i,e=n.minutes(),r=n.seconds();this.displayTime=[t,e,r].map((t=>String(t).padStart(2,"0"))).join(":")}}render(){return n("span",{key:"b242dc33814c57b4d72e2ef165dc116187e3312e"},this.displayTime)}static get watchers(){return{expireTime:["startTimeChanged"]}}},yi=class{constructor(e){t(this,e),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 n(i,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&n("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),n("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 r(this)}static get watchers(){return{src:["handleSrc"]}}};yi.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 ki=class{constructor(e){t(this,e),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 n("div",{class:"SkeletonContainer"},n("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n("div",{class:"SkeletonContainer"},n("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((t,e)=>n("div",{key:e,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return n("div",{class:"SkeletonContainer"},n("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n("div",{class:"SkeletonContainer"},n("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 n(i,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},n("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},t),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};ki.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{h as bonus_pagination_nav,wi as time_count,yi as ui_image,ki as ui_skeleton}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],y=[],$=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&f.l?w(b):f.raf(b))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{v(m),v(y),(d=m.length>0)&&f.raf(b)},w=e=>h().then(e),g=$(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>P,unwrapErr:()=>R});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x,P=e=>{if(e.isOk)return e.value;throw e.value},R=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},T=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),U={},W=e=>n(e).$hostElement$,A=(e,t,n)=>{const l=W(e);return{emit:e=>D(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},D=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},F=new WeakMap,H=e=>"sc-"+e.v,N=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=G(n),s=G(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(V);t=t.replace(_,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},q=/\s/,G=e=>e?e.split(q):[],V="Capture",_=RegExp(V+"$"),z=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of B(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of B(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function B(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var I=!1,J=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else if(o=l.$=a.createElement(l.m),z(null,l,I),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=J(e,l,r),s&&o.appendChild(s);return o["s-hn"]=x,o},K=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=J(null,n,o),r&&(l[o].$=r,ee(i,r,t)))},Q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;Z(t),e&&e.remove()}}},X=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),Y=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.i;null===r?(z(e,t,I),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(X(h,m,o))Y(h,m,o),h=t[++i],m=l[++c];else if(X(p,y,o))Y(p,y,o),p=t[--f],y=l[--d];else if(X(h,y,o))Y(h,y,o),ee(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(X(p,m,o))Y(p,m,o),ee(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=J(t&&t[c],n,u):(Y(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=J(t&&t[c],n,c),m=l[++c]),s&&ee(h.$.parentNode,s,h.$)}i>f?K(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&Q(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),K(l,null,t,s,0,s.length-1)):null!==o&&Q(o,0,o.length-1)):e.i!==r&&(l.data=r)},Z=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Z)},ee=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),te=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},ne=(e,t)=>{if(e.l|=16,!(4&e.l))return te(e,e.j),g((()=>le(e,t)));e.l|=512},le=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.k&&(e.k.map((([e,t])=>ae(n,e,t))),e.k=void 0),l=ae(n,"componentWillLoad")),l=oe(l,(()=>ae(n,"componentWillRender"))),oe(l,(()=>re(e,n,t)))},oe=(e,t)=>se(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),se=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,re=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=H(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=F.get(e=e.head||e);if(r||F.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.C)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ie=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.M||T(null,null),r=(e=>e&&e.m===U)(t)?t:L(null,null,t);if(x=l.tagName,o.P&&(r.u=r.u||{},o.P.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.M=r,r.$=s.$=l.shadowRoot||l,M=l["s-sc"],Y(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l?ae(n,"componentDidUpdate"):(e.l|=64,fe(t),ae(n,"componentDidLoad"),e.R(t),l||ue()),e.S&&(e.S(),e.S=void 0),512&e.l&&w((()=>ne(e,!1))),e.l&=-517},ue=()=>{fe(a.documentElement),w((()=>D(u,"appload",{detail:{namespace:"bonus-elevate-powerups"}})))},ae=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},fe=e=>e.classList.add("hydrated"),he=(e,t,l)=>{var o,r;const i=e.prototype;if(t.L||t.T||e.watchers){e.watchers&&!t.T&&(t.T=e.watchers);const c=Object.entries(null!=(o=t.L)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).U.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.U.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.L[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.U.set(t,l),a)){if(o.T&&128&u){const e=o.T[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&ne(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.T)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.T)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.P)||o.push([e,s])),s}))]))}}return e},pe=e=>{ae(e,"disconnectedCallback")},de=(e,l={})=>{var o;const h=[],d=l.exclude||[],m=u.customElements,y=a.head,$=y.querySelector("meta[charset]"),v=a.createElement("style"),b=[];let w,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],L:l[2],W:l[3]};4&c.l&&(S=!0),c.L=l[2],c.W=l[3],c.P=[],c.T=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,U:new Map};l.A=new Promise((e=>l.R=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,me(this,e,c.W)),w&&(clearTimeout(w),w=null),g?b.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.O,o=()=>{};if(1&t.l)me(e,t,l.W),(null==t?void 0:t.t)||(null==t?void 0:t.A)&&t.A.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){te(t,t.j=n);break}}l.L&&Object.entries(l.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.D){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.D;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.F}" was not found`);l.isProxied||(n.T=l.watchers,he(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=H(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ne(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);e.H&&(e.H.map((e=>e())),e.H=void 0),(null==e?void 0:e.t)?pe(e.t):(null==e?void 0:e.A)&&e.A.then((()=>pe(e.t)))}})()))}componentOnReady(){return n(this).A}};c.D=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,he(a,c,1)))}))})),h.length>0&&(S&&(v.textContent+=c),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=f.C)?o:k(a);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,$?$.nextSibling:y.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ue,30)))},me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=$e(e,n),r=ye(t,o),i=ve(n);f.ael(s,l,r,i),(t.H=t.H||[]).push((()=>f.rel(s,l,r,i)))}))},ye=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.k=e.k||[]).push([t,n])}catch(e){s(e)}},$e=(e,t)=>8&t?u:e,ve=e=>({passive:!!(1&e),capture:!!(2&e)}),be=e=>f.C=e;export{U as H,de as b,A as c,W as g,L as h,h as p,l as r,be as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{B as BonusElevatePowerups}from"./bonus-elevate-powerups-550b383c.js";import"./index-c7067e6d.js";
|