@everymatrix/bonus-elevate-powerups-history 0.0.79 → 0.0.81

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.
Files changed (30) hide show
  1. package/dist/bonus-elevate-powerups-history/bonus-elevate-powerups-history-f700a5a8.js +9 -0
  2. package/dist/bonus-elevate-powerups-history/bonus-elevate-powerups-history.esm.js +1 -1
  3. package/dist/bonus-elevate-powerups-history/bonus-elevate-powerups-history_16.entry.js +6657 -0
  4. package/dist/bonus-elevate-powerups-history/index-4bb6fa75.js +2 -0
  5. package/dist/bonus-elevate-powerups-history/index.esm.js +1 -1
  6. package/dist/cjs/{bonus-elevate-powerups-history-2494a599.js → bonus-elevate-powerups-history-d31ca30d.js} +72 -7
  7. package/dist/cjs/bonus-elevate-powerups-history.cjs.js +2 -2
  8. package/dist/cjs/bonus-elevate-powerups-history_16.cjs.entry.js +15530 -0
  9. package/dist/cjs/{index-c9c2e922.js → index-c157d920.js} +14 -5
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/collection/collection-manifest.json +19 -0
  13. package/dist/collection/components/bonus-elevate-powerups-history/bonus-elevate-powerups-history.css +34 -0
  14. package/dist/collection/components/bonus-elevate-powerups-history/bonus-elevate-powerups-history.js +65 -5
  15. package/dist/collection/utils/utils.js +28 -0
  16. package/dist/esm/{bonus-elevate-powerups-history-e23bd6d0.js → bonus-elevate-powerups-history-f700a5a8.js} +70 -8
  17. package/dist/esm/bonus-elevate-powerups-history.js +3 -3
  18. package/dist/esm/bonus-elevate-powerups-history_16.entry.js +15512 -0
  19. package/dist/esm/{index-ee6f3831.js → index-4bb6fa75.js} +13 -6
  20. package/dist/esm/index.js +2 -2
  21. package/dist/esm/loader.js +3 -3
  22. package/dist/types/components/bonus-elevate-powerups-history/bonus-elevate-powerups-history.d.ts +5 -0
  23. package/dist/types/components.d.ts +2 -0
  24. package/dist/types/utils/utils.d.ts +1 -0
  25. package/package.json +1 -1
  26. package/dist/bonus-elevate-powerups-history/bonus-elevate-powerups-history-e23bd6d0.js +0 -9
  27. package/dist/bonus-elevate-powerups-history/bonus-elevate-powerups-history_2.entry.js +0 -1
  28. package/dist/bonus-elevate-powerups-history/index-ee6f3831.js +0 -2
  29. package/dist/cjs/bonus-elevate-powerups-history_2.cjs.entry.js +0 -210
  30. package/dist/esm/bonus-elevate-powerups-history_2.entry.js +0 -205
@@ -1,5 +1,5 @@
1
1
  const NAMESPACE = 'bonus-elevate-powerups-history';
2
- const BUILD = /* bonus-elevate-powerups-history */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* bonus-elevate-powerups-history */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
5
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -49,10 +49,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
49
49
  }
50
50
  switch(bundleId) {
51
51
 
52
- case 'bonus-elevate-powerups-history_2':
52
+ case 'bonus-elevate-powerups-history_16':
53
53
  return import(
54
54
  /* webpackMode: "lazy" */
55
- './bonus-elevate-powerups-history_2.entry.js').then(processMod, consoleError);
55
+ './bonus-elevate-powerups-history_16.entry.js').then(processMod, consoleError);
56
56
  }
57
57
  }
58
58
  return import(
@@ -1011,6 +1011,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1011
1011
  hostRef.$flags$ |= 128 /* isWatchReady */;
1012
1012
  }
1013
1013
  endNewInstance();
1014
+ fireConnectedCallback(hostRef.$lazyInstance$);
1014
1015
  } else {
1015
1016
  Cstr = elm.constructor;
1016
1017
  const cmpTag = elm.localName;
@@ -1038,6 +1039,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1038
1039
  }
1039
1040
  };
1040
1041
  var fireConnectedCallback = (instance) => {
1042
+ {
1043
+ safeCall(instance, "connectedCallback");
1044
+ }
1041
1045
  };
1042
1046
 
1043
1047
  // src/runtime/connected-callback.ts
@@ -1071,8 +1075,10 @@ var connectedCallback = (elm) => {
1071
1075
  }
1072
1076
  } else {
1073
1077
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1074
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1075
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1078
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1079
+ fireConnectedCallback(hostRef.$lazyInstance$);
1080
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1081
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1076
1082
  }
1077
1083
  }
1078
1084
  endConnected();
@@ -1250,6 +1256,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1250
1256
  };
1251
1257
  var getHostListenerTarget = (elm, flags) => {
1252
1258
  if (flags & 8 /* TargetWindow */) return win;
1259
+ if (flags & 16 /* TargetBody */) return doc.body;
1253
1260
  return elm;
1254
1261
  };
1255
1262
  var hostListenerOpts = (flags) => supportsListenerOptions ? {
@@ -1260,4 +1267,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1260
1267
  // src/runtime/nonce.ts
1261
1268
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1262
1269
 
1263
- export { bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
1270
+ export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { B as BonusElevatePowerupsHistory } from './bonus-elevate-powerups-history-e23bd6d0.js';
2
- import './index-ee6f3831.js';
1
+ export { B as BonusElevatePowerupsHistory } from './bonus-elevate-powerups-history-f700a5a8.js';
2
+ import './index-4bb6fa75.js';
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-ee6f3831.js';
2
- export { s as setNonce } from './index-ee6f3831.js';
1
+ import { b as bootstrapLazy } from './index-4bb6fa75.js';
2
+ export { s as setNonce } from './index-4bb6fa75.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["bonus-elevate-powerups-history_2",[[1,"bonus-elevate-powerups-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"translationUrl":[513,"translation-url"],"isLoading":[32],"powerups":[32],"offset":[32],"total":[32]},[[8,"reloadPageByType","onReloadPageByType"]],{"offset":["loadData"],"limit":["loadData"],"language":["loadData"],"session":["loadData"],"endpoint":["loadData"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[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"]]]]]], options);
8
+ return bootstrapLazy(JSON.parse("[[\"bonus-elevate-powerups-history_16\",[[1,\"bonus-elevate-powerups-history\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"endpoint\":[513],\"session\":[513],\"limit\":[514],\"translationUrl\":[513,\"translation-url\"],\"pageLimitOptions\":[1537,\"page-limit-options\"],\"pageLimitSelectOptions\":[32],\"isLoading\":[32],\"powerups\":[32],\"offset\":[32],\"total\":[32]},[[8,\"reloadPageByType\",\"onReloadPageByType\"],[16,\"sendInputValue\",\"onPageLimitChangedHandler\"]],{\"offset\":[\"loadData\"],\"limit\":[\"loadData\"],\"language\":[\"loadData\"],\"session\":[\"loadData\"],\"endpoint\":[\"loadData\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[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\"]]],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,5 +1,6 @@
1
1
  import { PowerUp } from "../../../../../../libs/common/src/types/casino/powerups";
2
2
  import "../../../../../../dist/packages/stencil/bonus-pagination-nav/dist/types/index";
3
+ import "../../../../../../dist/packages/stencil/general-input/dist/types/index";
3
4
  export declare class BonusElevatePowerupsHistory {
4
5
  mbSource: string;
5
6
  clientStyling: string;
@@ -9,6 +10,8 @@ export declare class BonusElevatePowerupsHistory {
9
10
  session: string;
10
11
  limit: number;
11
12
  translationUrl: string;
13
+ pageLimitOptions: string;
14
+ pageLimitSelectOptions: any[];
12
15
  isLoading: boolean;
13
16
  powerups: PowerUp[];
14
17
  offset: number;
@@ -18,6 +21,8 @@ export declare class BonusElevatePowerupsHistory {
18
21
  private tableId;
19
22
  private abortController;
20
23
  onReloadPageByType(e: CustomEvent): void;
24
+ setLimit(): void;
25
+ onPageLimitChangedHandler(event: CustomEvent<any>): void;
21
26
  loadData(): Promise<void>;
22
27
  render(): any;
23
28
  handleClientStylingChange(newValue: any, oldValue: any): void;
@@ -13,6 +13,7 @@ export namespace Components {
13
13
  "language": string;
14
14
  "limit": number;
15
15
  "mbSource": string;
16
+ "pageLimitOptions": string;
16
17
  "session": string;
17
18
  "translationUrl": string;
18
19
  }
@@ -36,6 +37,7 @@ declare namespace LocalJSX {
36
37
  "language"?: string;
37
38
  "limit"?: number;
38
39
  "mbSource"?: string;
40
+ "pageLimitOptions"?: string;
39
41
  "session": string;
40
42
  "translationUrl"?: string;
41
43
  }
@@ -19,3 +19,4 @@ export declare const PowerUpStatusEntry: {
19
19
  label: string;
20
20
  };
21
21
  };
22
+ export declare const generalInputStyling = "\n .historyPageLimits__input [part='input-field'] ::slotted([slot='value']:not([placeholder])) {\n\n text-align: center;\n }\n .historyPageLimits__input .select__input{background: transparent; width: 89px;\n vaadin-select-value-button{\n color: var(--vaadin-input-field-value-color, var(--emw--color-text));\n text-align: center;\n }\n }\n .historyPageLimits__input .select__input::part(toggle-button){\n color: var(--vaadin-input-field-value-color, var(--emw--color-text));\n right: 0px;\n }\n .historyPageLimits__input .select__input::part(input-field) {\n border-radius: 20px;\n background-color: transparent;\n border: 1px solid var(--emw--color-gray-100, #BCFCB10D);\n color: var(--emw--color-black, #000000);\n font-family: inherit;\n font-style: normal;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.5;\n padding: 5px;\n height: 34px;\n }";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/bonus-elevate-powerups-history",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,9 +0,0 @@
1
- import{r as t,h as n}from"./index-ee6f3831.js";const i="__WIDGET_GLOBAL_STYLE_CACHE__";function e(t,n){if(t){const i=document.createElement("style");i.innerHTML=n,t.appendChild(i)}}function r(t,n){if(!t||!n)return;const i=new URL(n);fetch(i.href).then((t=>t.text())).then((n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}function s(t,n,e,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return e=function(t,n){const i=document.createElement("style");return window.emMessageBus.subscribe(n,(n=>{t&&(i.innerHTML=n,t.appendChild(i))}))}(t,n),e;window[i]||(window[i]={}),e=function(t,n){return window.emMessageBus.subscribe(n,(e=>{if(!t)return;const r=t.getRootNode(),s=window[i];let o=s[n]&&s[n].sheet;o?s[n].refCount=s[n].refCount+1:(o=new CSSStyleSheet,o.replaceSync(e),s[n]={sheet:o,refCount:1});const u=r.adoptedStyleSheets||[];u.includes(o)||(r.adoptedStyleSheets=[...u,o])}))}(t,n);const s=e.unsubscribe.bind(e);return e.unsubscribe=()=>{if(window[i][n]){const t=window[i][n];t.refCount>1?t.refCount=t.refCount-1:delete window[i][n]}s()},e}var o,u,a;!function(t){t.COINS="coins",t.XP="xp"}(o||(o={})),function(t){t.TIME_PERIOD="timePeriod",t.NUMBER_OF_ROUNDS="numberOfRounds"}(u||(u={})),function(t){t[t.ACTIVE=0]="ACTIVE",t[t.ACTIVATED=1]="ACTIVATED",t[t.EXPIRED=2]="EXPIRED",t[t.CONSUMED=3]="CONSUMED",t[t.DISABLED=4]="DISABLED",t[t.ENABLED=6]="ENABLED",t[t.ACTIVATING=999]="ACTIVATING"}(a||(a={}));const h={en:{min:"MIN",rounds:"Rounds",coins:"Coins",xp:"XP",consumed:"Used",expired:"Expired",enabled:"Enabled",active:"Active",nothingHere:"Nothing here -- yet!",noPowerUps:"No power-ups have been used at the moment.",gotoShop:"Go to shop to check power-ups availability."}},d=t=>new Promise((n=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((n=>{h[n]||(h[n]={});for(let i in t[n])h[n][i]=t[n][i]})),n(!0)})).catch((t=>{console.error("Failed to load translations:",t),n(!1)}))})),c=(t,n,i)=>{let e=h[void 0!==n&&n in h?n:"en"][t]||t;if(null==i?void 0:i.values)for(const[t,n]of Object.entries(i.values)){const i=new RegExp(`{${t}}`,"g");e=e.replace(i,n)}return e};
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 f,l;function m(){return f.apply(null,arguments)}function v(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function w(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function g(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function p(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(g(t,n))return!1;return!0}function y(t){return void 0===t}function Y(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function M(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function D(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function S(t,n){for(var i in n)g(n,i)&&(t[i]=n[i]);return g(n,"toString")&&(t.toString=n.toString),g(n,"valueOf")&&(t.valueOf=n.valueOf),t}function N(t,n,i,e){return Zn(t,n,i,e,!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 E(t){if(null==t._isValid){var n=b(t),i=l.call(n.parsedDateParts,(function(t){return null!=t})),e=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(t._strict&&(e=e&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return e;t._isValid=e}return t._isValid}function k(t){var n=N(NaN);return null!=t?S(b(n),t):b(n).userInvalidated=!0,n}l=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var x=m.momentProperties=[],T=!1;function H(t,n){var i,e,r,s=x.length;if(y(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),y(n._i)||(t._i=n._i),y(n._f)||(t._f=n._f),y(n._l)||(t._l=n._l),y(n._strict)||(t._strict=n._strict),y(n._tzm)||(t._tzm=n._tzm),y(n._isUTC)||(t._isUTC=n._isUTC),y(n._offset)||(t._offset=n._offset),y(n._pf)||(t._pf=b(n)),y(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)y(r=n[e=x[i]])||(t[e]=r);return t}function G(t){H(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,m.updateOffset(this),T=!1)}function C(t){return t instanceof G||null!=t&&null!=t._isAMomentObject}function A(t){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,n){var i=!0;return S((function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,t),i){var e,r,s,o=[],u=arguments.length;for(r=0;r<u;r++){if(e="","object"==typeof arguments[r]){for(s in e+="\n["+r+"] ",arguments[0])g(arguments[0],s)&&(e+=s+": "+arguments[0][s]+", ");e=e.slice(0,-2)}else e=arguments[r];o.push(e)}A(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var W,U={};function I(t,n){null!=m.deprecationHandler&&m.deprecationHandler(t,n),U[t]||(A(n),U[t]=!0)}function R(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function F(t,n){var i,e=S({},t);for(i in n)g(n,i)&&(w(t[i])&&w(n[i])?(e[i]={},S(e[i],t[i]),S(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)g(t,i)&&!g(n,i)&&w(t[i])&&(e[i]=S({},e[i]));return e}function O(t){null!=t&&this.set(t)}function j(t,n,i){var e=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null,W=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)g(t,n)&&i.push(n);return i};var L=/(\[[^\[]*\])|(\\)?([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,_=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Z={},J={};function K(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(J[t]=r),n&&(J[n[0]]=function(){return j(r.apply(this,arguments),n[1],n[2])}),i&&(J[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function B(t,n){return t.isValid()?(n=X(n,t.localeData()),Z[n]=Z[n]||function(t){var n,i,e,r=t.match(L);for(n=0,i=r.length;n<i;n++)r[n]=J[r[n]]?J[r[n]]:(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=R(r[e])?r[e].call(n,t):r[e];return s}}(n),Z[n](t)):t.localeData().invalidDate()}function X(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(_.lastIndex=0;i>=0&&_.test(t);)t=t.replace(_,e),_.lastIndex=0,i-=1;return t}var q={};function Q(t,n){var i=t.toLowerCase();q[i]=q[i+"s"]=q[n]=t}function z(t){return"string"==typeof t?q[t]||q[t.toLowerCase()]:void 0}function V(t){var n,i,e={};for(i in t)g(t,i)&&(n=z(i))&&(e[n]=t[i]);return e}var $={};function tt(t,n){$[t]=n}function nt(t){return t%4==0&&t%100!=0||t%400==0}function it(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function et(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=it(n)),i}function rt(t,n){return function(i){return null!=i?(ot(this,t,i),m.updateOffset(this,n),this):st(this,t)}}function st(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function ot(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&nt(t.year())&&1===t.month()&&29===t.date()?(i=et(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),jt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var ut,at=/\d/,ht=/\d\d/,dt=/\d{3}/,ct=/\d{4}/,ft=/[+-]?\d{6}/,lt=/\d\d?/,mt=/\d\d\d\d?/,vt=/\d\d\d\d\d\d?/,wt=/\d{1,3}/,gt=/\d{1,4}/,pt=/[+-]?\d{1,6}/,yt=/\d+/,Yt=/[+-]?\d+/,Mt=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,St=/[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 Nt(t,n,i){ut[t]=R(n)?n:function(t){return t&&i?i:n}}function bt(t,n){return g(ut,t)?ut[t](n._strict,n._locale):new RegExp(Et(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function Et(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ut={};var kt={};function xt(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),Y(n)&&(r=function(t,i){i[n]=et(t)}),e=t.length,i=0;i<e;i++)kt[t[i]]=r}function Tt(t,n){xt(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function Ht(t,n,i){null!=n&&g(kt,t)&&kt[t](n,i._a,i,t)}var Gt,Ct=0,At=1,Pt=2,Wt=3,Ut=4,It=5,Rt=6,Ft=7,Ot=8;function jt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i=(n%12+12)%12;return t+=(n-i)/12,1===i?nt(t)?29:28:31-i%7%2}Gt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},K("M",["MM",2],"Mo",(function(){return this.month()+1})),K("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),K("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Q("month","M"),tt("month",8),Nt("M",lt),Nt("MM",lt,ht),Nt("MMM",(function(t,n){return n.monthsShortRegex(t)})),Nt("MMMM",(function(t,n){return n.monthsRegex(t)})),xt(["M","MM"],(function(t,n){n[At]=et(t)-1})),xt(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[At]=r:b(i).invalidMonth=t}));var Lt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Jt=St,Kt=St;function Bt(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=N([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=Gt.call(this._shortMonthsParse,o))?r:null:-1!==(r=Gt.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=Gt.call(this._shortMonthsParse,o))||-1!==(r=Gt.call(this._longMonthsParse,o))?r:null:-1!==(r=Gt.call(this._longMonthsParse,o))||-1!==(r=Gt.call(this._shortMonthsParse,o))?r:null}function Xt(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=et(n);else if(!Y(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),jt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function qt(t){return null!=t?(Xt(this,t),m.updateOffset(this,!0),this):st(this,"Month")}function Qt(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=N([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)e[n]=Et(e[n]),r[n]=Et(r[n]);for(n=0;n<24;n++)s[n]=Et(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function zt(t){return nt(t)?366:365}K("Y",0,0,(function(){var t=this.year();return t<=9999?j(t,4):"+"+t})),K(0,["YY",2],0,(function(){return this.year()%100})),K(0,["YYYY",4],0,"year"),K(0,["YYYYY",5],0,"year"),K(0,["YYYYYY",6,!0],0,"year"),Q("year","y"),tt("year",1),Nt("Y",Yt),Nt("YY",lt,ht),Nt("YYYY",gt,ct),Nt("YYYYY",pt,ft),Nt("YYYYYY",pt,ft),xt(["YYYYY","YYYYYY"],Ct),xt("YYYY",(function(t,n){n[Ct]=2===t.length?m.parseTwoDigitYear(t):et(t)})),xt("YY",(function(t,n){n[Ct]=m.parseTwoDigitYear(t)})),xt("Y",(function(t,n){n[Ct]=parseInt(t,10)})),m.parseTwoDigitYear=function(t){return et(t)+(et(t)>68?1900:2e3)};var Vt=rt("FullYear",!0);function $t(t,n,i,e,r,s,o){var u;return t<100&&t>=0?(u=new Date(t+400,n,i,e,r,s,o),isFinite(u.getFullYear())&&u.setFullYear(t)):u=new Date(t,n,i,e,r,s,o),u}function tn(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function nn(t,n,i){var e=7+n-i;return-(7+tn(t,0,e).getUTCDay()-n)%7+e-1}function en(t,n,i,e,r){var s,o,u=1+7*(n-1)+(7+i-e)%7+nn(t,e,r);return u<=0?o=zt(s=t-1)+u:u>zt(t)?(s=t+1,o=u-zt(t)):(s=t,o=u),{year:s,dayOfYear:o}}function rn(t,n,i){var e,r,s=nn(t.year(),n,i),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?e=o+sn(r=t.year()-1,n,i):o>sn(t.year(),n,i)?(e=o-sn(t.year(),n,i),r=t.year()+1):(r=t.year(),e=o),{week:e,year:r}}function sn(t,n,i){var e=nn(t,n,i),r=nn(t+1,n,i);return(zt(t)-e+r)/7}function on(t,n){return t.slice(n,7).concat(t.slice(0,n))}K("w",["ww",2],"wo","week"),K("W",["WW",2],"Wo","isoWeek"),Q("week","w"),Q("isoWeek","W"),tt("week",5),tt("isoWeek",5),Nt("w",lt),Nt("ww",lt,ht),Nt("W",lt),Nt("WW",lt,ht),Tt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=et(t)})),K("d",0,"do","day"),K("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),K("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),K("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),K("e",0,0,"weekday"),K("E",0,0,"isoWeekday"),Q("day","d"),Q("weekday","e"),Q("isoWeekday","E"),tt("day",11),tt("weekday",11),tt("isoWeekday",11),Nt("d",lt),Nt("e",lt),Nt("E",lt),Nt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),Nt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),Nt("dddd",(function(t,n){return n.weekdaysRegex(t)})),Tt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:b(i).invalidWeekday=t})),Tt(["d","e","E"],(function(t,n,i,e){n[e]=et(t)}));var un="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),an="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),dn=St,cn=St,fn=St;function ln(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=N([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=Gt.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Gt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Gt.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=Gt.call(this._weekdaysParse,o))||-1!==(r=Gt.call(this._shortWeekdaysParse,o))||-1!==(r=Gt.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Gt.call(this._shortWeekdaysParse,o))||-1!==(r=Gt.call(this._weekdaysParse,o))||-1!==(r=Gt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Gt.call(this._minWeekdaysParse,o))||-1!==(r=Gt.call(this._weekdaysParse,o))||-1!==(r=Gt.call(this._shortWeekdaysParse,o))?r:null}function mn(){function t(t,n){return n.length-t.length}var n,i,e,r,s,o=[],u=[],a=[],h=[];for(n=0;n<7;n++)i=N([2e3,1]).day(n),e=Et(this.weekdaysMin(i,"")),r=Et(this.weekdaysShort(i,"")),s=Et(this.weekdays(i,"")),o.push(e),u.push(r),a.push(s),h.push(e),h.push(r),h.push(s);o.sort(t),u.sort(t),a.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vn(){return this.hours()%12||12}function wn(t,n){K(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function gn(t,n){return n._meridiemParse}K("H",["HH",2],0,"hour"),K("h",["hh",2],0,vn),K("k",["kk",2],0,(function(){return this.hours()||24})),K("hmm",0,0,(function(){return""+vn.apply(this)+j(this.minutes(),2)})),K("hmmss",0,0,(function(){return""+vn.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),K("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),K("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),wn("a",!0),wn("A",!1),Q("hour","h"),tt("hour",13),Nt("a",gn),Nt("A",gn),Nt("H",lt),Nt("h",lt),Nt("k",lt),Nt("HH",lt,ht),Nt("hh",lt,ht),Nt("kk",lt,ht),Nt("hmm",mt),Nt("hmmss",vt),Nt("Hmm",mt),Nt("Hmmss",vt),xt(["H","HH"],Wt),xt(["k","kk"],(function(t,n){var i=et(t);n[Wt]=24===i?0:i})),xt(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),xt(["h","hh"],(function(t,n,i){n[Wt]=et(t),b(i).bigHour=!0})),xt("hmm",(function(t,n,i){var e=t.length-2;n[Wt]=et(t.substr(0,e)),n[Ut]=et(t.substr(e)),b(i).bigHour=!0})),xt("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[Wt]=et(t.substr(0,e)),n[Ut]=et(t.substr(e,2)),n[It]=et(t.substr(r)),b(i).bigHour=!0})),xt("Hmm",(function(t,n){var i=t.length-2;n[Wt]=et(t.substr(0,i)),n[Ut]=et(t.substr(i))})),xt("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[Wt]=et(t.substr(0,i)),n[Ut]=et(t.substr(i,2)),n[It]=et(t.substr(e))}));var pn,yn=rt("Hours",!0),Yn={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:Lt,monthsShort:_t,week:{dow:0,doy:6},weekdays:un,weekdaysMin:hn,weekdaysShort:an,meridiemParse:/[ap]\.?m?\.?/i},Mn={},Dn={};function Sn(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function Nn(t){return t?t.toLowerCase().replace("_","-"):t}function bn(t){var n=null;if(void 0===Mn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=pn._abbr,require("./locale/"+t),En(n)}catch(n){Mn[t]=null}return Mn[t]}function En(t,n){var i;return t&&((i=y(n)?xn(t):kn(t,n))?pn=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),pn._abbr}function kn(t,n){if(null!==n){var i,e=Yn;if(n.abbr=t,null!=Mn[t])I("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."),e=Mn[t]._config;else if(null!=n.parentLocale)if(null!=Mn[n.parentLocale])e=Mn[n.parentLocale]._config;else{if(null==(i=bn(n.parentLocale)))return Dn[n.parentLocale]||(Dn[n.parentLocale]=[]),Dn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return Mn[t]=new O(F(e,n)),Dn[t]&&Dn[t].forEach((function(t){kn(t.name,t.config)})),En(t),Mn[t]}return delete Mn[t],null}function xn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return pn;if(!v(t)){if(n=bn(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=Nn(t[s]).split("-")).length,i=(i=Nn(t[s+1]))?i.split("-"):null;n>0;){if(e=bn(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&Sn(r,i)>=n-1)break;n--}s++}return pn}(t)}function Tn(t){var n,i=t._a;return i&&-2===b(t).overflow&&(n=i[At]<0||i[At]>11?At:i[Pt]<1||i[Pt]>jt(i[Ct],i[At])?Pt:i[Wt]<0||i[Wt]>24||24===i[Wt]&&(0!==i[Ut]||0!==i[It]||0!==i[Rt])?Wt:i[Ut]<0||i[Ut]>59?Ut:i[It]<0||i[It]>59?It:i[Rt]<0||i[Rt]>999?Rt:-1,b(t)._overflowDayOfYear&&(n<Ct||n>Pt)&&(n=Pt),b(t)._overflowWeeks&&-1===n&&(n=Ft),b(t)._overflowWeekday&&-1===n&&(n=Ot),b(t).overflow=n),t}var Hn=/^\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)?)?$/,Gn=/^\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)?)?$/,Cn=/Z|[+-]\d\d(?::?\d\d)?/,An=[["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]],Pn=[["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/]],Wn=/^\/?Date\((-?\d+)/i,Un=/^(?:(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}))$/,In={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Rn(t){var n,i,e,r,s,o,u=t._i,a=Hn.exec(u)||Gn.exec(u),h=An.length,d=Pn.length;if(a){for(b(t).iso=!0,n=0,i=h;n<i;n++)if(An[n][1].exec(a[1])){r=An[n][0],e=!1!==An[n][2];break}if(null==r)return void(t._isValid=!1);if(a[3]){for(n=0,i=d;n<i;n++)if(Pn[n][1].exec(a[3])){s=(a[2]||" ")+Pn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(a[4]){if(!Cn.exec(a[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),Ln(t)}else t._isValid=!1}function Fn(t){var n,i,e,r,s,o,u,a,h,d=Un.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],e=d[2],r=d[5],s=d[6],o=d[7],u=[(a=d[4],h=parseInt(a,10),h<=49?2e3+h:h<=999?1900+h:h),_t.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],o&&u.push(parseInt(o,10)),!function(t,n,i){return!t||an.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(b(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],n=u,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return In[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(d[8],d[9],d[10]),t._d=tn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),b(t).rfc2822=!0}else t._isValid=!1}function On(t,n,i){return null!=t?t:null!=n?n:i}function jn(t){var n,i,e,r,s,o=[];if(!t._d){for(e=function(t){var n=new Date(m.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Pt]&&null==t._a[At]&&function(t){var n,i,e,r,s,o,u,a,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,o=4,i=On(n.GG,t._a[Ct],rn(Jn(),1,4).year),e=On(n.W,1),((r=On(n.E,1))<1||r>7)&&(a=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=rn(Jn(),s,o),i=On(n.gg,t._a[Ct],h.year),e=On(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(a=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(a=!0)):r=s),e<1||e>sn(i,s,o)?b(t)._overflowWeeks=!0:null!=a?b(t)._overflowWeekday=!0:(u=en(i,e,r,s,o),t._a[Ct]=u.year,t._dayOfYear=u.dayOfYear)}(t),null!=t._dayOfYear&&(s=On(t._a[Ct],e[Ct]),(t._dayOfYear>zt(s)||0===t._dayOfYear)&&(b(t)._overflowDayOfYear=!0),i=tn(s,0,t._dayOfYear),t._a[At]=i.getUTCMonth(),t._a[Pt]=i.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=e[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Wt]&&0===t._a[Ut]&&0===t._a[It]&&0===t._a[Rt]&&(t._nextDay=!0,t._a[Wt]=0),t._d=(t._useUTC?tn:$t).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(b(t).weekdayMismatch=!0)}}function Ln(t){if(t._f!==m.ISO_8601)if(t._f!==m.RFC_2822){t._a=[],b(t).empty=!0;var n,i,e,r,s,o,u,a=""+t._i,h=a.length,d=0;for(u=(e=X(t._f,t._locale).match(L)||[]).length,n=0;n<u;n++)(i=(a.match(bt(r=e[n],t))||[])[0])&&((s=a.substr(0,a.indexOf(i))).length>0&&b(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),d+=i.length),J[r]?(i?b(t).empty=!1:b(t).unusedTokens.push(r),Ht(r,i,t)):t._strict&&!i&&b(t).unusedTokens.push(r);b(t).charsLeftOver=h-d,a.length>0&&b(t).unusedInput.push(a),t._a[Wt]<=12&&!0===b(t).bigHour&&t._a[Wt]>0&&(b(t).bigHour=void 0),b(t).parsedDateParts=t._a.slice(0),b(t).meridiem=t._meridiem,t._a[Wt]=function(t,n,i){var e;return null==i?n:null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[Wt],t._meridiem),null!==(o=b(t).era)&&(t._a[Ct]=t._locale.erasConvertYear(o,t._a[Ct])),jn(t),Tn(t)}else Fn(t);else Rn(t)}function _n(t){var n=t._i,i=t._f;return t._locale=t._locale||xn(t._l),null===n||void 0===i&&""===n?k({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),C(n)?new G(Tn(n)):(M(n)?t._d=n:v(i)?function(t){var n,i,e,r,s,o,u=!1,a=t._f.length;if(0===a)return b(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<a;r++)s=0,o=!1,n=H({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],Ln(n),E(n)&&(o=!0),s+=b(n).charsLeftOver,s+=10*b(n).unusedTokens.length,b(n).score=s,u?s<e&&(e=s,i=n):(null==e||s<e||o)&&(e=s,i=n,o&&(u=!0));S(t,i||n)}(t):i?Ln(t):function(t){var n=t._i;y(n)?t._d=new Date(m.now()):M(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Wn.exec(t._i);null===n?(Rn(t),!1===t._isValid&&(delete t._isValid,Fn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:m.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):v(n)?(t._a=D(n.slice(0),(function(t){return parseInt(t,10)})),jn(t)):w(n)?function(t){if(!t._d){var n=V(t._i);t._a=D([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),jn(t)}}(t):Y(n)?t._d=new Date(n):m.createFromInputFallback(t)}(t),E(t)||(t._d=null),t))}function Zn(t,n,i,e,r){var s,o={};return!0!==n&&!1!==n||(e=n,n=void 0),!0!==i&&!1!==i||(e=i,i=void 0),(w(t)&&p(t)||v(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=t,o._f=n,o._strict=e,(s=new G(Tn(_n(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Jn(t,n,i,e){return Zn(t,n,i,e,!1)}m.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":""))})),m.ISO_8601=function(){},m.RFC_2822=function(){};var Kn=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Jn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:k()})),Bn=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Jn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:k()}));function Xn(t,n){var i,e;if(1===n.length&&v(n[0])&&(n=n[0]),!n.length)return Jn();for(i=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](i)||(i=n[e]);return i}var qn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Qn(t){var n=V(t),i=n.year||0,e=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,o=n.day||0,u=n.hour||0,a=n.minute||0,h=n.second||0,d=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=qn.length;for(n in t)if(g(t,n)&&(-1===Gt.call(qn,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[qn[i]]){if(e)return!1;parseFloat(t[qn[i]])!==et(t[qn[i]])&&(e=!0)}return!0}(n),this._milliseconds=+d+1e3*h+6e4*a+1e3*u*60*60,this._days=+o+7*s,this._months=+r+3*e+12*i,this._data={},this._locale=xn(),this._bubble()}function zn(t){return t instanceof Qn}function Vn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function $n(t,n){K(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+j(~~(t/60),2)+n+j(~~t%60,2)}))}$n("Z",":"),$n("ZZ",""),Nt("Z",Dt),Nt("ZZ",Dt),xt(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=ni(Dt,t)}));var ti=/([\+\-]|\d\d)/gi;function ni(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(ti)||["-",0,0])[1]+et(i[2]))?0:"+"===i[0]?e:-e}function ii(t,n){var i,e;return n._isUTC?(i=n.clone(),e=(C(t)||M(t)?t.valueOf():Jn(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+e),m.updateOffset(i,!1),i):Jn(t).local()}function ei(t){return-Math.round(t._d.getTimezoneOffset())}function ri(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var si=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ui(t,n){var i,e,r,s,o,u,a=t,h=null;return zn(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:Y(t)||!isNaN(+t)?(a={},n?a[n]=+t:a.milliseconds=+t):(h=si.exec(t))?(i="-"===h[1]?-1:1,a={y:0,d:et(h[Pt])*i,h:et(h[Wt])*i,m:et(h[Ut])*i,s:et(h[It])*i,ms:et(Vn(1e3*h[Rt]))*i}):(h=oi.exec(t))?a={y:ai(h[2],i="-"===h[1]?-1:1),M:ai(h[3],i),w:ai(h[4],i),d:ai(h[5],i),h:ai(h[6],i),m:ai(h[7],i),s:ai(h[8],i)}:null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(s=Jn(a.from),o=Jn(a.to),r=s.isValid()&&o.isValid()?(o=ii(o,s),s.isBefore(o)?u=hi(s,o):((u=hi(o,s)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(a={}).ms=r.milliseconds,a.M=r.months),e=new Qn(a),zn(t)&&g(t,"_locale")&&(e._locale=t._locale),zn(t)&&g(t,"_isValid")&&(e._isValid=t._isValid),e}function ai(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function hi(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function di(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(I(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),ci(this,ui(i,e),t),this}}function ci(t,n,i,e){var r=n._milliseconds,s=Vn(n._days),o=Vn(n._months);t.isValid()&&(e=null==e||e,o&&Xt(t,st(t,"Month")+o*i),s&&ot(t,"Date",st(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),e&&m.updateOffset(t,s||o))}ui.fn=Qn.prototype,ui.invalid=function(){return ui(NaN)};var fi=di(1,"add"),li=di(-1,"subtract");function mi(t){return"string"==typeof t||t instanceof String}function vi(t,n){if(t.date()<n.date())return-vi(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function wi(t){var n;return void 0===t?this._locale._abbr:(null!=(n=xn(t))&&(this._locale=n),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=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 pi(){return this._locale}var yi=1e3,Yi=6e4,Mi=36e5,Di=126227808e5;function Si(t,n){return(t%n+n)%n}function Ni(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-Di:new Date(t,n,i).valueOf()}function bi(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-Di:Date.UTC(t,n,i)}function Ei(t,n){return n.erasAbbrRegex(t)}function ki(){var t,n,i=[],e=[],r=[],s=[],o=this.eras();for(t=0,n=o.length;t<n;++t)e.push(Et(o[t].name)),i.push(Et(o[t].abbr)),r.push(Et(o[t].narrow)),s.push(Et(o[t].name)),s.push(Et(o[t].abbr)),s.push(Et(o[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function xi(t,n){K(0,[t,t.length],0,n)}function Ti(t,n,i,e,r){var s;return null==t?rn(this,e,r).year:(n>(s=sn(t,e,r))&&(n=s),Hi.call(this,t,n,i,e,r))}function Hi(t,n,i,e,r){var s=en(t,n,i,e,r),o=tn(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}K("N",0,0,"eraAbbr"),K("NN",0,0,"eraAbbr"),K("NNN",0,0,"eraAbbr"),K("NNNN",0,0,"eraName"),K("NNNNN",0,0,"eraNarrow"),K("y",["y",1],"yo","eraYear"),K("y",["yy",2],0,"eraYear"),K("y",["yyy",3],0,"eraYear"),K("y",["yyyy",4],0,"eraYear"),Nt("N",Ei),Nt("NN",Ei),Nt("NNN",Ei),Nt("NNNN",(function(t,n){return n.erasNameRegex(t)})),Nt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),xt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?b(i).era=r:b(i).invalidEra=t})),Nt("y",yt),Nt("yy",yt),Nt("yyy",yt),Nt("yyyy",yt),Nt("yo",(function(t,n){return n._eraYearOrdinalRegex||yt})),xt(["y","yy","yyy","yyyy"],Ct),xt(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[Ct]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),K(0,["gg",2],0,(function(){return this.weekYear()%100})),K(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),xi("gggg","weekYear"),xi("ggggg","weekYear"),xi("GGGG","isoWeekYear"),xi("GGGGG","isoWeekYear"),Q("weekYear","gg"),Q("isoWeekYear","GG"),tt("weekYear",1),tt("isoWeekYear",1),Nt("G",Yt),Nt("g",Yt),Nt("GG",lt,ht),Nt("gg",lt,ht),Nt("GGGG",gt,ct),Nt("gggg",gt,ct),Nt("GGGGG",pt,ft),Nt("ggggg",pt,ft),Tt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=et(t)})),Tt(["gg","GG"],(function(t,n,i,e){n[e]=m.parseTwoDigitYear(t)})),K("Q",0,"Qo","quarter"),Q("quarter","Q"),tt("quarter",7),Nt("Q",at),xt("Q",(function(t,n){n[At]=3*(et(t)-1)})),K("D",["DD",2],"Do","date"),Q("date","D"),tt("date",9),Nt("D",lt),Nt("DD",lt,ht),Nt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),xt(["D","DD"],Pt),xt("Do",(function(t,n){n[Pt]=et(t.match(lt)[0])}));var Gi=rt("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear"),Q("dayOfYear","DDD"),tt("dayOfYear",4),Nt("DDD",wt),Nt("DDDD",dt),xt(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=et(t)})),K("m",["mm",2],0,"minute"),Q("minute","m"),tt("minute",14),Nt("m",lt),Nt("mm",lt,ht),xt(["m","mm"],Ut);var Ci=rt("Minutes",!1);K("s",["ss",2],0,"second"),Q("second","s"),tt("second",15),Nt("s",lt),Nt("ss",lt,ht),xt(["s","ss"],It);var Ai,Pi,Wi=rt("Seconds",!1);for(K("S",0,0,(function(){return~~(this.millisecond()/100)})),K(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),K(0,["SSS",3],0,"millisecond"),K(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),K(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),K(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),K(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),K(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),K(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Q("millisecond","ms"),tt("millisecond",16),Nt("S",wt,at),Nt("SS",wt,ht),Nt("SSS",wt,dt),Ai="SSSS";Ai.length<=9;Ai+="S")Nt(Ai,yt);function Ui(t,n){n[Rt]=et(1e3*("0."+t))}for(Ai="S";Ai.length<=9;Ai+="S")xt(Ai,Ui);Pi=rt("Milliseconds",!1),K("z",0,0,"zoneAbbr"),K("zz",0,0,"zoneName");var Ii=G.prototype;function Ri(t){return t}Ii.add=fi,Ii.calendar=function(t,n){var i;1===arguments.length&&(arguments[0]?C(i=arguments[0])||M(i)||mi(i)||Y(i)||function(t){var n=v(t),i=!1;return n&&(i=0===t.filter((function(n){return!Y(n)&&mi(t)})).length),n&&i}(i)||function(t){var n,i=w(t)&&!p(t),e=!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(n=0;n<s;n+=1)e=e||g(t,r[n]);return i&&e}(i)||null==i?(t=arguments[0],n=void 0):function(t){var n,i=w(t)&&!p(t),e=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)e=e||g(t,r[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var e=t||Jn(),r=ii(e,this).startOf("day"),s=m.calendarFormat(this,r)||"sameElse",o=n&&(R(n[s])?n[s].call(this,e):n[s]);return this.format(o||this.localeData().calendar(s,this,Jn(e)))},Ii.clone=function(){return new G(this)},Ii.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=ii(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=z(n)){case"year":s=vi(this,e)/12;break;case"month":s=vi(this,e);break;case"quarter":s=vi(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:it(s)},Ii.endOf=function(t){var n,i;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?bi:Ni,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=Mi-Si(n+(this._isUTC?0:this.utcOffset()*Yi),Mi)-1;break;case"minute":n=this._d.valueOf(),n+=Yi-Si(n,Yi)-1;break;case"second":n=this._d.valueOf(),n+=yi-Si(n,yi)-1}return this._d.setTime(n),m.updateOffset(this,!0),this},Ii.format=function(t){t||(t=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var n=B(this,t);return this.localeData().postformat(n)},Ii.from=function(t,n){return this.isValid()&&(C(t)&&t.isValid()||Jn(t).isValid())?ui({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ii.fromNow=function(t){return this.from(Jn(),t)},Ii.to=function(t,n){return this.isValid()&&(C(t)&&t.isValid()||Jn(t).isValid())?ui({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ii.toNow=function(t){return this.to(Jn(),t)},Ii.get=function(t){return R(this[t=z(t)])?this[t]():this},Ii.invalidAt=function(){return b(this).overflow},Ii.isAfter=function(t,n){var i=C(t)?t:Jn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=z(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},Ii.isBefore=function(t,n){var i=C(t)?t:Jn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=z(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},Ii.isBetween=function(t,n,i,e){var r=C(t)?t:Jn(t),s=C(n)?n:Jn(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i))},Ii.isSame=function(t,n){var i,e=C(t)?t:Jn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=z(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},Ii.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Ii.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Ii.isValid=function(){return E(this)},Ii.lang=gi,Ii.locale=wi,Ii.localeData=pi,Ii.max=Bn,Ii.min=Kn,Ii.parsingFlags=function(){return S({},b(this))},Ii.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)g(t,n)&&i.push({unit:n,priority:$[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=V(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(R(this[t=z(t)]))return this[t](n);return this},Ii.startOf=function(t){var n,i;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?bi:Ni,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Si(n+(this._isUTC?0:this.utcOffset()*Yi),Mi);break;case"minute":n=this._d.valueOf(),n-=Si(n,Yi);break;case"second":n=this._d.valueOf(),n-=Si(n,yi)}return this._d.setTime(n),m.updateOffset(this,!0),this},Ii.subtract=li,Ii.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ii.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()}},Ii.toDate=function(){return new Date(this.valueOf())},Ii.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?B(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(i,"Z")):B(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ii.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i="moment",e="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+i+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ii[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ii.toJSON=function(){return this.isValid()?this.toISOString():null},Ii.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ii.unix=function(){return Math.floor(this.valueOf()/1e3)},Ii.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ii.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ii.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},Ii.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},Ii.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},Ii.eraYear=function(){var t,n,i,e,r=this.localeData().eras();for(t=0,n=r.length;t<n;++t)if(i=r[t].since<=r[t].until?1:-1,e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until||r[t].until<=e&&e<=r[t].since)return(this.year()-m(r[t].since).year())*i+r[t].offset;return this.year()},Ii.year=Vt,Ii.isLeapYear=function(){return nt(this.year())},Ii.weekYear=function(t){return Ti.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ii.isoWeekYear=function(t){return Ti.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Ii.quarter=Ii.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ii.month=qt,Ii.daysInMonth=function(){return jt(this.year(),this.month())},Ii.week=Ii.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Ii.isoWeek=Ii.isoWeeks=function(t){var n=rn(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Ii.weeksInYear=function(){var t=this.localeData()._week;return sn(this.year(),t.dow,t.doy)},Ii.weeksInWeekYear=function(){var t=this.localeData()._week;return sn(this.weekYear(),t.dow,t.doy)},Ii.isoWeeksInYear=function(){return sn(this.year(),1,4)},Ii.isoWeeksInISOWeekYear=function(){return sn(this.isoWeekYear(),1,4)},Ii.date=Gi,Ii.day=Ii.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},Ii.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},Ii.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Ii.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},Ii.hour=Ii.hours=yn,Ii.minute=Ii.minutes=Ci,Ii.second=Ii.seconds=Wi,Ii.millisecond=Ii.milliseconds=Pi,Ii.utcOffset=function(t,n,i){var e,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=ni(Dt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(e=ei(this)),this._offset=t,this._isUTC=!0,null!=e&&this.add(e,"m"),r!==t&&(!n||this._changeInProgress?ci(this,ui(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:ei(this)},Ii.utc=function(t){return this.utcOffset(0,t)},Ii.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ei(this),"m")),this},Ii.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ni(Mt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Ii.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Jn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Ii.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ii.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ii.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ii.isUtc=ri,Ii.isUTC=ri,Ii.zoneAbbr=function(){return this._isUTC?"UTC":""},Ii.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ii.dates=P("dates accessor is deprecated. Use date instead.",Gi),Ii.months=P("months accessor is deprecated. Use month instead",qt),Ii.years=P("years accessor is deprecated. Use year instead",Vt),Ii.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),Ii.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!y(this._isDSTShifted))return this._isDSTShifted;var t,n={};return H(n,this),(n=_n(n))._a?(t=n._isUTC?N(n._a):Jn(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var i,e=Math.min(t.length,n.length),r=Math.abs(t.length-n.length),s=0;for(i=0;i<e;i++)et(t[i])!==et(n[i])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Fi=O.prototype;function Oi(t,n,i,e){var r=xn(),s=N().set(e,n);return r[i](s,t)}function ji(t,n,i){if(Y(t)&&(n=t,t=void 0),t=t||"",null!=n)return Oi(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Oi(t,e,i,"month");return r}function Li(t,n,i,e){"boolean"==typeof t?(Y(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,Y(n)&&(i=n,n=void 0),n=n||"");var r,s=xn(),o=t?s._week.dow:0,u=[];if(null!=i)return Oi(n,(i+o)%7,e,"day");for(r=0;r<7;r++)u[r]=Oi(n,(r+o)%7,e,"day");return u}Fi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return R(e)?e.call(n,i):e},Fi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(L).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Fi.invalidDate=function(){return this._invalidDate},Fi.ordinal=function(t){return this._ordinal.replace("%d",t)},Fi.preparse=Ri,Fi.postformat=Ri,Fi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return R(r)?r(t,n,i,e):r.replace(/%d/i,t)},Fi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return R(i)?i(n):i.replace(/%s/i,n)},Fi.set=function(t){var n,i;for(i in t)g(t,i)&&(R(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Fi.eras=function(){var t,n,i,e=this._eras||xn("en")._eras;for(t=0,n=e.length;t<n;++t)switch("string"==typeof e[t].since&&(i=m(e[t].since).startOf("day"),e[t].since=i.valueOf()),typeof e[t].until){case"undefined":e[t].until=1/0;break;case"string":i=m(e[t].until).startOf("day").valueOf(),e[t].until=i.valueOf()}return e},Fi.erasParse=function(t,n,i){var e,r,s,o,u,a=this.eras();for(t=t.toUpperCase(),e=0,r=a.length;e<r;++e)if(s=a[e].name.toUpperCase(),o=a[e].abbr.toUpperCase(),u=a[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(o===t)return a[e];break;case"NNNN":if(s===t)return a[e];break;case"NNNNN":if(u===t)return a[e]}else if([s,o,u].indexOf(t)>=0)return a[e]},Fi.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?m(t.since).year():m(t.since).year()+(n-t.offset)*i},Fi.erasAbbrRegex=function(t){return g(this,"_erasAbbrRegex")||ki.call(this),t?this._erasAbbrRegex:this._erasRegex},Fi.erasNameRegex=function(t){return g(this,"_erasNameRegex")||ki.call(this),t?this._erasNameRegex:this._erasRegex},Fi.erasNarrowRegex=function(t){return g(this,"_erasNarrowRegex")||ki.call(this),t?this._erasNarrowRegex:this._erasRegex},Fi.months=function(t,n){return t?v(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Zt).test(n)?"format":"standalone"][t.month()]:v(this._months)?this._months:this._months.standalone},Fi.monthsShort=function(t,n){return t?v(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Zt.test(n)?"format":"standalone"][t.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Fi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Bt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=N([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},Fi.monthsRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Kt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Fi.monthsShortRegex=function(t){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Jt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Fi.week=function(t){return rn(t,this._week.dow,this._week.doy).week},Fi.firstDayOfYear=function(){return this._week.doy},Fi.firstDayOfWeek=function(){return this._week.dow},Fi.weekdays=function(t,n){var i=v(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?on(i,this._week.dow):t?i[t.day()]:i},Fi.weekdaysMin=function(t){return!0===t?on(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Fi.weekdaysShort=function(t){return!0===t?on(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Fi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return ln.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=N([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},Fi.weekdaysRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||mn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=dn),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Fi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||mn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=cn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Fi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||mn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Fi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Fi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},En("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 n=t%10;return t+(1===et(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),m.lang=P("moment.lang is deprecated. Use moment.locale instead.",En),m.langData=P("moment.langData is deprecated. Use moment.localeData instead.",xn);var _i=Math.abs;function Zi(t,n,i,e){var r=ui(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function Ji(t){return t<0?Math.floor(t):Math.ceil(t)}function Ki(t){return 4800*t/146097}function Bi(t){return 146097*t/4800}function Xi(t){return function(){return this.as(t)}}var qi=Xi("ms"),Qi=Xi("s"),zi=Xi("m"),Vi=Xi("h"),$i=Xi("d"),te=Xi("w"),ne=Xi("M"),ie=Xi("Q"),ee=Xi("y");function re(t){return function(){return this.isValid()?this._data[t]:NaN}}var se=re("milliseconds"),oe=re("seconds"),ue=re("minutes"),ae=re("hours"),he=re("days"),de=re("months"),ce=re("years"),fe=Math.round,le={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function me(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var ve=Math.abs;function we(t){return(t>0)-(t<0)||+t}function ge(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,o,u,a=ve(this._milliseconds)/1e3,h=ve(this._days),d=ve(this._months),c=this.asSeconds();return c?(t=it(a/60),n=it(t/60),a%=60,t%=60,i=it(d/12),d%=12,e=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=we(this._months)!==we(c)?"-":"",o=we(this._days)!==we(c)?"-":"",u=we(this._milliseconds)!==we(c)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?o+h+"D":"")+(n||t||a?"T":"")+(n?u+n+"H":"")+(t?u+t+"M":"")+(a?u+e+"S":"")):"P0D"}var pe=Qn.prototype;pe.isValid=function(){return this._isValid},pe.abs=function(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this},pe.add=function(t,n){return Zi(this,t,n,1)},pe.subtract=function(t,n){return Zi(this,t,n,-1)},pe.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=z(t))||"quarter"===t||"year"===t)switch(i=this._months+Ki(n=this._days+e/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(Bi(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},pe.asMilliseconds=qi,pe.asSeconds=Qi,pe.asMinutes=zi,pe.asHours=Vi,pe.asDays=$i,pe.asWeeks=te,pe.asMonths=ne,pe.asQuarters=ie,pe.asYears=ee,pe.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*et(this._months/12):NaN},pe._bubble=function(){var t,n,i,e,r,s=this._milliseconds,o=this._days,u=this._months,a=this._data;return s>=0&&o>=0&&u>=0||s<=0&&o<=0&&u<=0||(s+=864e5*Ji(Bi(u)+o),o=0,u=0),a.milliseconds=s%1e3,t=it(s/1e3),a.seconds=t%60,n=it(t/60),a.minutes=n%60,i=it(n/60),a.hours=i%24,o+=it(i/24),u+=r=it(Ki(o)),o-=Ji(Bi(r)),e=it(u/12),u%=12,a.days=o,a.months=u,a.years=e,this},pe.clone=function(){return ui(this)},pe.get=function(t){return t=z(t),this.isValid()?this[t+"s"]():NaN},pe.milliseconds=se,pe.seconds=oe,pe.minutes=ue,pe.hours=ae,pe.days=he,pe.weeks=function(){return it(this.days()/7)},pe.months=de,pe.years=ce,pe.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=le;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},le,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=ui(t).abs(),s=fe(r.as("s")),o=fe(r.as("m")),u=fe(r.as("h")),a=fe(r.as("d")),h=fe(r.as("M")),d=fe(r.as("w")),c=fe(r.as("y")),f=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||o<=1&&["m"]||o<i.m&&["mm",o]||u<=1&&["h"]||u<i.h&&["hh",u]||a<=1&&["d"]||a<i.d&&["dd",a];return null!=i.w&&(f=f||d<=1&&["w"]||d<i.w&&["ww",d]),(f=f||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,f[3]=+t>0,f[4]=e,me.apply(null,f)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},pe.toISOString=ge,pe.toString=ge,pe.toJSON=ge,pe.locale=wi,pe.localeData=pi,pe.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ge),pe.lang=gi,K("X",0,0,"unix"),K("x",0,0,"valueOf"),Nt("x",Yt),Nt("X",/[+-]?\d+(\.\d{1,3})?/),xt("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),xt("x",(function(t,n,i){i._d=new Date(et(t))})),
8
- //! moment.js
9
- m.version="2.29.4",f=Jn,m.fn=Ii,m.min=function(){return Xn("isBefore",[].slice.call(arguments,0))},m.max=function(){return Xn("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=N,m.unix=function(t){return Jn(1e3*t)},m.months=function(t,n){return ji(t,n,"months")},m.isDate=M,m.locale=En,m.invalid=k,m.duration=ui,m.isMoment=C,m.weekdays=function(t,n,i){return Li(t,n,i,"weekdays")},m.parseZone=function(){return Jn.apply(null,arguments).parseZone()},m.localeData=xn,m.isDuration=zn,m.monthsShort=function(t,n){return ji(t,n,"monthsShort")},m.weekdaysMin=function(t,n,i){return Li(t,n,i,"weekdaysMin")},m.defineLocale=kn,m.updateLocale=function(t,n){if(null!=n){var i,e,r=Yn;null!=Mn[t]&&null!=Mn[t].parentLocale?Mn[t].set(F(Mn[t]._config,n)):(null!=(e=bn(t))&&(r=e._config),n=F(r,n),null==e&&(n.abbr=t),(i=new O(n)).parentLocale=Mn[t],Mn[t]=i),En(t)}else null!=Mn[t]&&(null!=Mn[t].parentLocale?(Mn[t]=Mn[t].parentLocale,t===En()&&En(t)):null!=Mn[t]&&delete Mn[t]);return Mn[t]},m.locales=function(){return W(Mn)},m.weekdaysShort=function(t,n,i){return Li(t,n,i,"weekdaysShort")},m.normalizeUnits=z,m.relativeTimeRounding=function(t){return void 0===t?fe:"function"==typeof t&&(fe=t,!0)},m.relativeTimeThreshold=function(t,n){return void 0!==le[t]&&(void 0===n?le[t]:(le[t]=n,"s"===t&&(le.ss=n-1),!0))},m.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},m.prototype=Ii,m.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 ye={[a.ACTIVE]:{label:"active"},[a.ACTIVATED]:{label:"activated"},[a.EXPIRED]:{label:"expired"},[a.CONSUMED]:{label:"consumed"},[a.DISABLED]:{label:"disabled"},[a.ENABLED]:{label:"enabled"}},Ye=class{constructor(n){t(this,n),this.tableId="powerupsHistory",this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=10,this.translationUrl="",this.isLoading=!0,this.powerups=[],this.offset=0,this.total=void 0}onReloadPageByType(t){const{limit:n,offset:i,tableId:e}=t.detail;e===this.tableId&&(this.offset=i,this.limit=n)}async loadData(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/powerups?pagination=offset=${this.offset},limit=${this.limit}`);let n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};t.searchParams.append("language",this.language),t.searchParams.append("status",`${a.CONSUMED},${a.EXPIRED}`);const i=await fetch(t,n);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:e,total:r}=await i.json();this.powerups=e,this.total=r}catch(t){"AbortError"!==t.name&&(console.error("Failed to load powerups history:",t),window.postMessage({type:"peHistoryLoaderError",error:t}))}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}render(){var t;return n("div",{key:"87cc519cc192e9047b1eaa21f982e444f0e1f79a",class:"PowerUpsContainer",ref:t=>this.stylingContainer=t},this.isLoading?n("p",null,"Loading..."):(null===(t=this.powerups)||void 0===t?void 0:t.length)?[n("ul",{class:"PowerUps"},this.powerups.map((t=>{var i;return n("li",{class:"PowerUpItem"},n("div",{class:"HistoryLeft"},n("div",{class:"DisplayName"}," ",t.powerUpName||"-"," "),n("div",{class:"Details"},n("span",{class:"BoostingPeriod"},n("span",{class:"Period"},t.boostingPeriod.minutes||t.boostingPeriod.numberOfRounds," "),c(t.boostingPeriod.mode===u.TIME_PERIOD?"min":"rounds",this.language)," "),n("span",{class:"Multiplier"},"| X ",t.multiplier.coefficient," "),n("span",{class:"MultiplierMode"},"| ",c(t.multiplier.mode,this.language)," "))),n("div",{class:"HistoryRight"},n("div",{class:`Status S${t.status}`},c((null===(i=ye[t.status])||void 0===i?void 0:i.label)||t.status,this.language)),n("div",{class:"HistoryTime"},m(t.status===a.EXPIRED?t.expireTime:t.endTime).format("YYYY-MM-DD HH:mm:ss")," ")))}))),n("div",{class:"Pagination"},this.total&&this.total>this.limit&&n("bonus-pagination-nav",{offset:this.offset,limit:this.limit,secondaryArrowsActive:!0,"table-id":this.tableId,total:this.total}))]:n("div",{class:"EmptyPowerups"},n("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'}),n("span",{class:"NoPowerTitle"},c("nothingHere",this.language)),n("span",null,c("noPowerUps",this.language)),n("span",null,c("gotoShop",this.language)),n("div",null)))}handleClientStylingChange(t,n){t!=n&&e(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,n){t!=n&&r(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(t,n){t!=n&&s(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){d(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await d(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&s(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&e(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&r(this.stylingContainer,this.clientStylingUrl)),this.loadData()}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}static get watchers(){return{offset:["loadData"],limit:["loadData"],language:["loadData"],session:["loadData"],endpoint:["loadData"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};Ye.style=":host{display:block}.PowerUpsContainer{font-size:0.95rem;display:flex;width:100%;flex-direction:column}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2rem;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.2rem;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{width:100%;display:flex;gap:20px;flex-direction:column;padding-inline-start:0}.PowerUpsContainer .PowerUpItem{display:flex;justify-content:space-between;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));opacity:1;font-size:0.9rem;border-radius:12px;padding:20px;gap:4px;text-transform:uppercase}.PowerUpsContainer .PowerUpItem .HistoryRight{text-align:right}.PowerUpsContainer .PowerUpItem .HistoryLeft,.PowerUpsContainer .PowerUpItem .HistoryRight{display:flex;flex-direction:column;gap:8px}.PowerUpsContainer .PowerUpItem .DisplayName{text-transform:none;font-weight:500;line-height:100%;vertical-align:middle;font-size:1.1rem}.PowerUpsContainer .PowerUpItem .Details,.PowerUpsContainer .PowerUpItem .HistoryTime{text-transform:uppercase;font-size:0.85em;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUpItem .Status.S3{color:var(--emw--color-powup-light-green, #18CE51)}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.Disabled{opacity:0.5}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem:hover{background-color:transparent}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem{width:22px;height:22px;line-height:22px;opacity:1;border-radius:22px;padding:6px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem.Active{border-radius:22px;border:2px solid var(--emw--color-powup-green, #24B24E);color:var(--emw--color-powup-green, #24B24E);background-color:transparent}";export{Ye as B}
@@ -1 +0,0 @@
1
- export{B as bonus_elevate_powerups_history}from"./bonus-elevate-powerups-history-e23bd6d0.js";import{r as t,c as e,h as a}from"./index-ee6f3831.js";const i=["pt-br","en","es-mx","hu","hr"],s={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}"}},r=(t,e,a)=>{const r=e;let h=s[void 0!==r&&i.includes(r)?r:"en"][t];if(void 0!==a)for(const[t,e]of Object.entries(a.values)){const a=new RegExp(`{${t}}`,"g");h=h.replace(a,e)}return h},h=class{constructor(a){t(this,a),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 a("ul",{class:"PaginationArea"},this.pagesArray.map((t=>a("li",{class:"PageItem "+(this.currentPage==t?"Active":""),onClick:()=>{this.goTo(t)}},t))))}renderStylingWrapper(){return a("general-styling-wrapper",{targetTranslations:s,translationUrl:this.translationUrl})}generateNavItemsByType(t,e){if(this.endPageIndex<t)return Array.from({length:this.endPageIndex+1},((t,e)=>e+1));let a=[],i=Math.floor(t/2);const s=this.endPageIndex+1;return e?this.currentPage<i||this.currentPage>s-i+1?(a=Array.from({length:i},((t,e)=>e+1)),a.push("..."),a=a.concat(Array.from({length:i},((t,e)=>this.endPageIndex-1+e)))):this.currentPage==i?(a=Array.from({length:i+1},((t,e)=>e+1)),a.push("..."),a=a.concat(Array.from({length:i-1},((t,e)=>this.endPageIndex+e)))):this.currentPage==s-i+1?(a=Array.from({length:i-1},((t,e)=>e+1)),a.push("..."),a=a.concat(Array.from({length:i+1},((t,e)=>this.endPageIndex-2+e)))):(a=[1,"..."],a=a.concat([this.currentPage-1],[this.currentPage],[this.currentPage+1]),a=a.concat(["...",s])):this.currentPage<=t-i?(a=Array.from({length:t-1},((t,e)=>e+1)),a.push("...")):this.currentPage>s-(t-i)?(a=Array.from({length:t-1},((e,a)=>s-(t-2)+a)),a.unshift("...")):(a=Array.from({length:t-2},((t,e)=>this.currentPage+e-i+1)),a.push("..."),a.unshift("...")),a}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 a("div",{key:"77610598f3ce40796b8d486fd27725fc68b61878",class:"PageNavigationWrapper"},this.displayRangeOfTotal&&this.total>0&&a("span",{key:"879bd2f268a18ea3c9cb2bb706d23c8db0634592",class:"PageOfMessage"},r("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}})),a("div",{key:"590af1c2fcb70d782b318c505deb507a8376e13b",class:"PageNavigation"},this.arrowsActive&&a("div",{key:"2d4746e889a43d6199ad7f305676d79bdbaa4f04",class:"PageArrow FirstPage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(1)}},r("firstPage",this.language)),this.secondaryArrowsActive&&a("span",{key:"89b588abdf7b77e3cdc00f44bbad27c432146f97",class:"PageArrow PrePage "+(1==this.currentPage?"Disabled":""),onClick:()=>{this.goTo(this.currentPage-1)}},r("prePage",this.language)),this.displayPageNumbers&&this.renderPageList(),this.secondaryArrowsActive&&a("span",{key:"097710df72de15cd1b0c03dfb2ac7870c99e12c0",class:"PageArrow NextPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.currentPage+1)}},r("nextPage",this.language)),this.arrowsActive&&a("div",{key:"a61296f3e627bc012545618c0fda239a1356da1f",class:"PageArrow LastPage "+(this.currentPage==this.endPageIndex+1?"Disabled":""),onClick:()=>{this.goTo(this.endPageIndex+1)}}," ",r("lastPage",this.language)," "),this.renderStylingWrapper()))}};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}";export{h as bonus_pagination_nav}
@@ -1,2 +0,0 @@
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),S=$(y,!0),g={},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}),W={},A=(e,t,l)=>{const o=(e=>n(e).$hostElement$)(e);return{emit:e=>F(o,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},F=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},N=new WeakMap,U=e=>"sc-"+e.v,D=(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=q(n),s=q(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}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(G);t=t.replace(V,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},H=/\s/,q=e=>e?e.split(H):[],G="Capture",V=RegExp(G+"$"),_=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||g,s=t.u||g;for(const e of z(Object.keys(o)))e in s||D(l,e,o[e],void 0,n,t.l);for(const e of z(Object.keys(s)))D(l,e,o[e],s[e],n,t.l)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var B=!1,I=(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),_(null,l,B),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=I(e,l,r),s&&o.appendChild(s);return o["s-hn"]=x,o},J=(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=I(null,n,o),r&&(l[o].$=r,Z(i,r,t)))},K=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;Y(t),e&&e.remove()}}},Q=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),X=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.i;null===r?(_(e,t,B),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(Q(h,m,o))X(h,m,o),h=t[++i],m=l[++c];else if(Q(p,y,o))X(p,y,o),p=t[--f],y=l[--d];else if(Q(h,y,o))X(h,y,o),Z(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(Q(p,m,o))X(p,m,o),Z(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=I(t&&t[c],n,u):(X(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=I(t&&t[c],n,c),m=l[++c]),s&&Z(h.$.parentNode,s,h.$)}i>f?J(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&K(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),J(l,null,t,s,0,s.length-1)):null!==o&&K(o,0,o.length-1)):e.i!==r&&(l.data=r)},Y=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Y)},Z=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ee=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},te=(e,t)=>{if(e.l|=16,!(4&e.l))return ee(e,e.j),S((()=>ne(e,t)));e.l|=512},ne=(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])=>ue(n,e,t))),e.k=void 0),l=ue(n,"componentWillLoad")),l=le(l,(()=>ue(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=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=U(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=N.get(e=e.head||e);if(r||N.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);re(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ie(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},re=(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===W)(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"],X(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},ie=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,ae(t),ue(n,"componentDidLoad"),e.R(t),l||ce()),e.S&&(e.S(),e.S=void 0),512&e.l&&w((()=>te(e,!1))),e.l&=-517},ce=()=>{ae(a.documentElement),w((()=>F(u,"appload",{detail:{namespace:"bonus-elevate-powerups-history"}})))},ue=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ae=e=>e.classList.add("hydrated"),fe=(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).W.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.W.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.W.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)&&te(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},he=e=>{ue(e,"disconnectedCallback")},pe=(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,S=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],L:l[2],A:l[3]};4&c.l&&(g=!0),c.L=l[2],c.A=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,W:new Map};l.F=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,de(this,e,c.A)),w&&(clearTimeout(w),w=null),S?b.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.O,o=()=>{};if(1&t.l)de(e,t,l.A),(null==t?void 0:t.t)||(null==t?void 0:t.F)&&t.F.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ee(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.N){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.N;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.U}" was not found`);l.isProxied||(n.T=l.watchers,fe(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=U(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=()=>te(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.D&&(e.D.map((e=>e())),e.D=void 0),(null==e?void 0:e.t)?he(e.t):(null==e?void 0:e.F)&&e.F.then((()=>he(e.t)))}})()))}componentOnReady(){return n(this).F}};c.N=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,fe(a,c,1)))}))})),h.length>0&&(g&&(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)}S=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ce,30)))},de=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ye(e,n),r=me(t,o),i=$e(n);f.ael(s,l,r,i),(t.D=t.D||[]).push((()=>f.rel(s,l,r,i)))}))},me=(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)}},ye=(e,t)=>8&t?u:e,$e=e=>({passive:!!(1&e),capture:!!(2&e)}),ve=e=>f.C=e;export{pe as b,A as c,L as h,h as p,l as r,ve as s}