@everymatrix/bonus-powerups-ingame-detail 0.0.38 → 0.0.39

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 (25) hide show
  1. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-d09fecb4.js +11 -0
  2. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.esm.js +1 -1
  3. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail_5.entry.js +1 -1
  4. package/dist/bonus-powerups-ingame-detail/index.esm.js +1 -1
  5. package/dist/cjs/{bonus-powerups-ingame-detail-890cdb8d.js → bonus-powerups-ingame-detail-4150cbc5.js} +31 -16
  6. package/dist/cjs/bonus-powerups-ingame-detail.cjs.js +1 -1
  7. package/dist/cjs/bonus-powerups-ingame-detail_5.cjs.entry.js +8 -7
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.css +37 -0
  11. package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.js +30 -15
  12. package/dist/collection/components/smart-loader/smart-loader.js +1 -1
  13. package/dist/collection/components/time-count/time-count.js +24 -5
  14. package/dist/collection/utils/locale.utils.js +3 -1
  15. package/dist/esm/{bonus-powerups-ingame-detail-5c496211.js → bonus-powerups-ingame-detail-d09fecb4.js} +31 -16
  16. package/dist/esm/bonus-powerups-ingame-detail.js +1 -1
  17. package/dist/esm/bonus-powerups-ingame-detail_5.entry.js +9 -8
  18. package/dist/esm/index.js +1 -1
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-detail/.stencil/libs/common/src/types/casino/powerups.d.ts +5 -0
  21. package/dist/types/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.d.ts +5 -1
  22. package/dist/types/components/time-count/time-count.d.ts +1 -0
  23. package/dist/types/components.d.ts +4 -2
  24. package/package.json +1 -1
  25. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-5c496211.js +0 -11
@@ -0,0 +1,11 @@
1
+ import{r as t,c as n,h as e}from"./index-b0d6c89f.js";const i="__WIDGET_GLOBAL_STYLE_CACHE__";function r(t,n){if(t){const e=document.createElement("style");e.innerHTML=n,t.appendChild(e)}}function s(t,n){if(!t||!n)return;const e=new URL(n);fetch(e.href).then((t=>t.text())).then((n=>{const e=document.createElement("style");e.innerHTML=n,t&&t.appendChild(e)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}function o(t,n,e,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return e=function(t,n){const e=document.createElement("style");return window.emMessageBus.subscribe(n,(n=>{t&&(e.innerHTML=n,t.appendChild(e))}))}(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 a=r.adoptedStyleSheets||[];a.includes(o)||(r.adoptedStyleSheets=[...a,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}const a={en:{playNow:"Play Now",history:"History",available:"Available",duration:"Duration",multiplier:"Multiplier",endDate:"End date",endsIn:"Ends in",days:"Days",xp:"XP",coins:"Coins",minutes:"min",rounds:"rounds",round:"round",termsAndConditions:"Terms & Conditions ",playResponsibly:"Terms & Conditions apply. 18+. Play responsibly.",seeAll:"See All",games:"Games",poweringTooltip:"Power-up is currently unavailable as you have already activated other power-up.",activateTips:"In case of activation the countdown starts immediately.",activate:"Activate",activeSuccess:"Activated a power-up",activeError:"Failed to activate power-up."}},u=t=>new Promise((n=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((n=>{a[n]||(a[n]={});for(let e in t[n])a[n][e]=t[n][e]})),n(!0)}))})),h=(t,n,e)=>{let i=a[void 0!==n&&n in a?n:"en"][t];if(void 0!==e)for(const[t,n]of Object.entries(e.values)){const e=new RegExp(`{${t}}`,"g");i=i.replace(e,n)}return i};var d,c,l;!function(t){t.COINS="coins",t.XP="xp"}(d||(d={})),function(t){t.TIME_PERIOD="timePeriod",t.NUMBER_OF_ROUNDS="numberOfRounds"}(c||(c={})),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"}(l||(l={}));const f={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,usedNumberOfRounds,currentTime,activatedAt,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${l.ACTIVE},${l.ACTIVATED}`},m={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"},p='<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.87935 2.15646e-07L4 4.54064e-07C4.27614 4.54064e-07 4.5 0.223858 4.5 0.5C4.5 0.776143 4.27614 1 4 1H2.9C2.47171 1 2.18056 1.00039 1.95552 1.01878C1.73631 1.03669 1.62421 1.06915 1.54601 1.10899C1.35785 1.20487 1.20487 1.35785 1.10899 1.54601C1.06915 1.62421 1.03669 1.73631 1.01878 1.95552C1.00039 2.18056 1 2.47171 1 2.9V7.1C1 7.52829 1.00039 7.81944 1.01878 8.04448C1.03669 8.26369 1.06915 8.37579 1.10899 8.45399C1.20487 8.64215 1.35785 8.79513 1.54601 8.89101C1.62421 8.93085 1.73631 8.96331 1.95552 8.98122C2.18056 8.99961 2.47171 9 2.9 9H7.1C7.52829 9 7.81944 8.99961 8.04448 8.98122C8.26369 8.96331 8.37579 8.93085 8.45399 8.89101C8.64215 8.79513 8.79513 8.64215 8.89101 8.45399C8.93085 8.37579 8.96331 8.26369 8.98122 8.04448C8.99961 7.81944 9 7.52829 9 7.1V6C9 5.72386 9.22386 5.5 9.5 5.5C9.77614 5.5 10 5.72386 10 6V7.12066C10 7.52314 10 7.85532 9.9779 8.12591C9.95494 8.40696 9.90566 8.66531 9.78201 8.90798C9.59027 9.28431 9.28431 9.59027 8.90798 9.78201C8.66531 9.90566 8.40696 9.95494 8.12591 9.9779C7.85532 10 7.52314 10 7.12066 10H2.87934C2.47686 10 2.14468 10 1.87409 9.9779C1.59304 9.95494 1.33469 9.90566 1.09202 9.78201C0.715696 9.59027 0.409734 9.28431 0.217988 8.90798C0.094342 8.66531 0.0450599 8.40696 0.0220973 8.12591C-1.14068e-05 7.85532 -6.16205e-06 7.52314 2.15646e-07 7.12065V2.87935C-6.16205e-06 2.47687 -1.14068e-05 2.14469 0.0220973 1.87409C0.0450599 1.59304 0.094342 1.33469 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.33469 0.094342 1.59304 0.0450599 1.87409 0.0220973C2.14469 -1.14068e-05 2.47687 -6.16205e-06 2.87935 2.15646e-07ZM5.99999 0.500005C5.99999 0.223863 6.22385 5.22244e-06 6.49999 5.22244e-06H9.49999C9.77613 5.22244e-06 9.99999 0.223863 9.99999 0.500005L9.99999 3.5C9.99999 3.77615 9.77613 4 9.49999 4.00001C9.22385 4.00001 8.99999 3.77615 8.99999 3.50001L8.99999 1.70711L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355C4.45119 5.15829 4.45118 4.84171 4.64645 4.64645L8.29288 1.00001H6.49999C6.22385 1.00001 5.99999 0.776148 5.99999 0.500005Z" fill="#00B541"/>\n</svg>\n';"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var v={exports:{}};!function(t){t.exports=function(){var n,e;function i(){return n.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(o(t,n))return!1;return!0}function u(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,n){var e,i=[],r=t.length;for(e=0;e<r;++e)i.push(n(t[e],e));return i}function l(t,n){for(var e in n)o(n,e)&&(t[e]=n[e]);return o(n,"toString")&&(t.toString=n.toString),o(n,"valueOf")&&(t.valueOf=n.valueOf),t}function f(t,n,e,i){return Wn(t,n,e,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var n=m(t),i=e.call(n.parsedDateParts,(function(t){return null!=t})),r=!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&&(r=r&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var n=f(NaN);return null!=t?l(m(n),t):m(n).userInvalidated=!0,n}e=Array.prototype.some?Array.prototype.some:function(t){var n,e=Object(this),i=e.length>>>0;for(n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var g=i.momentProperties=[],w=!1;function y(t,n){var e,i,r,s=g.length;if(u(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),u(n._i)||(t._i=n._i),u(n._f)||(t._f=n._f),u(n._l)||(t._l=n._l),u(n._strict)||(t._strict=n._strict),u(n._tzm)||(t._tzm=n._tzm),u(n._isUTC)||(t._isUTC=n._isUTC),u(n._offset)||(t._offset=n._offset),u(n._pf)||(t._pf=m(n)),u(n._locale)||(t._locale=n._locale),s>0)for(e=0;e<s;e++)u(r=n[i=g[e]])||(t[i]=r);return t}function D(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,i.updateOffset(this),w=!1)}function Y(t){return t instanceof D||null!=t&&null!=t._isAMomentObject}function M(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function b(t,n){var e=!0;return l((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),e){var r,s,a,u=[],h=arguments.length;for(s=0;s<h;s++){if(r="","object"==typeof arguments[s]){for(a in r+="\n["+s+"] ",arguments[0])o(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[s];u.push(r)}M(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),e=!1}return n.apply(this,arguments)}),n)}var S,N={};function x(t,n){null!=i.deprecationHandler&&i.deprecationHandler(t,n),N[t]||(M(n),N[t]=!0)}function k(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,n){var e,i=l({},t);for(e in n)o(n,e)&&(s(t[e])&&s(n[e])?(i[e]={},l(i[e],t[e]),l(i[e],n[e])):null!=n[e]?i[e]=n[e]:delete i[e]);for(e in t)o(t,e)&&!o(n,e)&&s(t[e])&&(i[e]=l({},i[e]));return i}function T(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var n,e=[];for(n in t)o(t,n)&&e.push(n);return e};function G(t,n,e){var i=""+Math.abs(t);return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,n-i.length)).toString().substr(1)+i}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_={},W={};function E(t,n,e,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(W[t]=r),n&&(W[n[0]]=function(){return G(r.apply(this,arguments),n[1],n[2])}),e&&(W[e]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function L(t,n){return t.isValid()?(n=A(n,t.localeData()),_[n]=_[n]||function(t){var n,e,i,r=t.match(I);for(n=0,e=r.length;n<e;n++)r[n]=W[r[n]]?W[r[n]]:(i=r[n]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(n){var i,s="";for(i=0;i<e;i++)s+=k(r[i])?r[i].call(n,t):r[i];return s}}(n),_[n](t)):t.localeData().invalidDate()}function A(t,n){var e=5;function i(t){return n.longDateFormat(t)||t}for(H.lastIndex=0;e>=0&&H.test(t);)t=t.replace(H,i),H.lastIndex=0,e-=1;return t}var U={};function P(t,n){var e=t.toLowerCase();U[e]=U[e+"s"]=U[n]=t}function F(t){return"string"==typeof t?U[t]||U[t.toLowerCase()]:void 0}function R(t){var n,e,i={};for(e in t)o(t,e)&&(n=F(e))&&(i[n]=t[e]);return i}var j={};function O(t,n){j[t]=n}function Z(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function $(t){var n=+t,e=0;return 0!==n&&isFinite(n)&&(e=B(n)),e}function z(t,n){return function(e){return null!=e?(J(this,t,e),i.updateOffset(this,n),this):q(this,t)}}function q(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function J(t,n,e){t.isValid()&&!isNaN(e)&&("FullYear"===n&&Z(t.year())&&1===t.month()&&29===t.date()?(e=$(e),t._d["set"+(t._isUTC?"UTC":"")+n](e,t.month(),Gt(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](e))}var V,Q=/\d/,X=/\d\d/,K=/\d{3}/,tt=/\d{4}/,nt=/[+-]?\d{6}/,et=/\d\d?/,it=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,st=/\d{1,3}/,ot=/\d{1,4}/,at=/[+-]?\d{1,6}/,ut=/\d+/,ht=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ct=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[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 ft(t,n,e){V[t]=k(n)?n:function(t){return t&&e?e:n}}function mt(t,n){return o(V,t)?V[t](n._strict,n._locale):new RegExp(pt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,e,i,r){return n||e||i||r}))))}function pt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}V={};var vt={};function gt(t,n){var e,i,r=n;for("string"==typeof t&&(t=[t]),h(n)&&(r=function(t,e){e[n]=$(t)}),i=t.length,e=0;e<i;e++)vt[t[e]]=r}function wt(t,n){gt(t,(function(t,e,i,r){i._w=i._w||{},n(t,i._w,i,r)}))}function yt(t,n,e){null!=n&&o(vt,t)&&vt[t](n,e._a,e,t)}var Dt,Yt=0,Mt=1,bt=2,St=3,Nt=4,xt=5,kt=6,Ct=7,Tt=8;function Gt(t,n){if(isNaN(t)||isNaN(n))return NaN;var e,i=(n%(e=12)+e)%e;return t+=(n-i)/12,1===i?Z(t)?29:28:31-i%7%2}Dt=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},E("M",["MM",2],"Mo",(function(){return this.month()+1})),E("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),E("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),P("month","M"),O("month",8),ft("M",et),ft("MM",et,X),ft("MMM",(function(t,n){return n.monthsShortRegex(t)})),ft("MMMM",(function(t,n){return n.monthsRegex(t)})),gt(["M","MM"],(function(t,n){n[Mt]=$(t)-1})),gt(["MMM","MMMM"],(function(t,n,e,i){var r=e._locale.monthsParse(t,i,e._strict);null!=r?n[Mt]=r:m(e).invalidMonth=t}));var It="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ht="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_t=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Wt=lt,Et=lt;function Lt(t,n,e){var i,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return e?"MMM"===n?-1!==(r=Dt.call(this._shortMonthsParse,o))?r:null:-1!==(r=Dt.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=Dt.call(this._shortMonthsParse,o))||-1!==(r=Dt.call(this._longMonthsParse,o))?r:null:-1!==(r=Dt.call(this._longMonthsParse,o))||-1!==(r=Dt.call(this._shortMonthsParse,o))?r:null}function At(t,n){var e;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=$(n);else if(!h(n=t.localeData().monthsParse(n)))return t;return e=Math.min(t.date(),Gt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,e),t}function Ut(t){return null!=t?(At(this,t),i.updateOffset(this,!0),this):q(this,"Month")}function Pt(){function t(t,n){return n.length-t.length}var n,e,i=[],r=[],s=[];for(n=0;n<12;n++)e=f([2e3,n]),i.push(this.monthsShort(e,"")),r.push(this.months(e,"")),s.push(this.months(e,"")),s.push(this.monthsShort(e,""));for(i.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)i[n]=pt(i[n]),r[n]=pt(r[n]);for(n=0;n<24;n++)s[n]=pt(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ft(t){return Z(t)?366:365}E("Y",0,0,(function(){var t=this.year();return t<=9999?G(t,4):"+"+t})),E(0,["YY",2],0,(function(){return this.year()%100})),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),P("year","y"),O("year",1),ft("Y",ht),ft("YY",et,X),ft("YYYY",ot,tt),ft("YYYYY",at,nt),ft("YYYYYY",at,nt),gt(["YYYYY","YYYYYY"],Yt),gt("YYYY",(function(t,n){n[Yt]=2===t.length?i.parseTwoDigitYear(t):$(t)})),gt("YY",(function(t,n){n[Yt]=i.parseTwoDigitYear(t)})),gt("Y",(function(t,n){n[Yt]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return $(t)+($(t)>68?1900:2e3)};var Rt=z("FullYear",!0);function jt(t,n,e,i,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,n,e,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,n,e,i,r,s,o),a}function Ot(t){var n,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,e)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function Zt(t,n,e){var i=7+n-e;return-(7+Ot(t,0,i).getUTCDay()-n)%7+i-1}function Bt(t,n,e,i,r){var s,o,a=1+7*(n-1)+(7+e-i)%7+Zt(t,i,r);return a<=0?o=Ft(s=t-1)+a:a>Ft(t)?(s=t+1,o=a-Ft(t)):(s=t,o=a),{year:s,dayOfYear:o}}function $t(t,n,e){var i,r,s=Zt(t.year(),n,e),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?i=o+zt(r=t.year()-1,n,e):o>zt(t.year(),n,e)?(i=o-zt(t.year(),n,e),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function zt(t,n,e){var i=Zt(t,n,e),r=Zt(t+1,n,e);return(Ft(t)-i+r)/7}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),O("week",5),O("isoWeek",5),ft("w",et),ft("ww",et,X),ft("W",et),ft("WW",et,X),wt(["w","ww","W","WW"],(function(t,n,e,i){n[i.substr(0,1)]=$(t)}));function qt(t,n){return t.slice(n,7).concat(t.slice(0,n))}E("d",0,"do","day"),E("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),E("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),E("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),O("day",11),O("weekday",11),O("isoWeekday",11),ft("d",et),ft("e",et),ft("E",et),ft("dd",(function(t,n){return n.weekdaysMinRegex(t)})),ft("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),ft("dddd",(function(t,n){return n.weekdaysRegex(t)})),wt(["dd","ddd","dddd"],(function(t,n,e,i){var r=e._locale.weekdaysParse(t,i,e._strict);null!=r?n.d=r:m(e).invalidWeekday=t})),wt(["d","e","E"],(function(t,n,e,i){n[i]=$(t)}));var Jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=lt,Kt=lt,tn=lt;function nn(t,n,e){var i,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return e?"dddd"===n?-1!==(r=Dt.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Dt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._shortWeekdaysParse,o))||-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Dt.call(this._shortWeekdaysParse,o))||-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,o))||-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._shortWeekdaysParse,o))?r:null}function en(){function t(t,n){return n.length-t.length}var n,e,i,r,s,o=[],a=[],u=[],h=[];for(n=0;n<7;n++)e=f([2e3,1]).day(n),i=pt(this.weekdaysMin(e,"")),r=pt(this.weekdaysShort(e,"")),s=pt(this.weekdays(e,"")),o.push(i),a.push(r),u.push(s),h.push(i),h.push(r),h.push(s);o.sort(t),a.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function rn(){return this.hours()%12||12}function sn(t,n){E(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function on(t,n){return n._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,rn),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+rn.apply(this)+G(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+rn.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+G(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)})),sn("a",!0),sn("A",!1),P("hour","h"),O("hour",13),ft("a",on),ft("A",on),ft("H",et),ft("h",et),ft("k",et),ft("HH",et,X),ft("hh",et,X),ft("kk",et,X),ft("hmm",it),ft("hmmss",rt),ft("Hmm",it),ft("Hmmss",rt),gt(["H","HH"],St),gt(["k","kk"],(function(t,n){var e=$(t);n[St]=24===e?0:e})),gt(["a","A"],(function(t,n,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),gt(["h","hh"],(function(t,n,e){n[St]=$(t),m(e).bigHour=!0})),gt("hmm",(function(t,n,e){var i=t.length-2;n[St]=$(t.substr(0,i)),n[Nt]=$(t.substr(i)),m(e).bigHour=!0})),gt("hmmss",(function(t,n,e){var i=t.length-4,r=t.length-2;n[St]=$(t.substr(0,i)),n[Nt]=$(t.substr(i,2)),n[xt]=$(t.substr(r)),m(e).bigHour=!0})),gt("Hmm",(function(t,n){var e=t.length-2;n[St]=$(t.substr(0,e)),n[Nt]=$(t.substr(e))})),gt("Hmmss",(function(t,n){var e=t.length-4,i=t.length-2;n[St]=$(t.substr(0,e)),n[Nt]=$(t.substr(e,2)),n[xt]=$(t.substr(i))}));var an=z("Hours",!0);var un,hn={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:It,monthsShort:Ht,week:{dow:0,doy:6},weekdays:Jt,weekdaysMin:Qt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},dn={},cn={};function ln(t,n){var e,i=Math.min(t.length,n.length);for(e=0;e<i;e+=1)if(t[e]!==n[e])return e;return i}function fn(t){return t?t.toLowerCase().replace("_","-"):t}function mn(n){var e=null;if(void 0===dn[n]&&t&&t.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(n))try{e=un._abbr,function(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./locale/"+n),pn(e)}catch(t){dn[n]=null}return dn[n]}function pn(t,n){var e;return t&&((e=u(n)?gn(t):vn(t,n))?un=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),un._abbr}function vn(t,n){if(null!==n){var e,i=hn;if(n.abbr=t,null!=dn[t])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=dn[t]._config;else if(null!=n.parentLocale)if(null!=dn[n.parentLocale])i=dn[n.parentLocale]._config;else{if(null==(e=mn(n.parentLocale)))return cn[n.parentLocale]||(cn[n.parentLocale]=[]),cn[n.parentLocale].push({name:t,config:n}),null;i=e._config}return dn[t]=new T(C(i,n)),cn[t]&&cn[t].forEach((function(t){vn(t.name,t.config)})),pn(t),dn[t]}return delete dn[t],null}function gn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return un;if(!r(t)){if(n=mn(t))return n;t=[t]}return function(t){for(var n,e,i,r,s=0;s<t.length;){for(n=(r=fn(t[s]).split("-")).length,e=(e=fn(t[s+1]))?e.split("-"):null;n>0;){if(i=mn(r.slice(0,n).join("-")))return i;if(e&&e.length>=n&&ln(r,e)>=n-1)break;n--}s++}return un}(t)}function wn(t){var n,e=t._a;return e&&-2===m(t).overflow&&(n=e[Mt]<0||e[Mt]>11?Mt:e[bt]<1||e[bt]>Gt(e[Yt],e[Mt])?bt:e[St]<0||e[St]>24||24===e[St]&&(0!==e[Nt]||0!==e[xt]||0!==e[kt])?St:e[Nt]<0||e[Nt]>59?Nt:e[xt]<0||e[xt]>59?xt:e[kt]<0||e[kt]>999?kt:-1,m(t)._overflowDayOfYear&&(n<Yt||n>bt)&&(n=bt),m(t)._overflowWeeks&&-1===n&&(n=Ct),m(t)._overflowWeekday&&-1===n&&(n=Tt),m(t).overflow=n),t}var yn=/^\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)?)?$/,Dn=/^\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)?)?$/,Yn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["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]],bn=[["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/]],Sn=/^\/?Date\((-?\d+)/i,Nn=/^(?:(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}))$/,xn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kn(t){var n,e,i,r,s,o,a=t._i,u=yn.exec(a)||Dn.exec(a),h=Mn.length,d=bn.length;if(u){for(m(t).iso=!0,n=0,e=h;n<e;n++)if(Mn[n][1].exec(u[1])){r=Mn[n][0],i=!1!==Mn[n][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(n=0,e=d;n<e;n++)if(bn[n][1].exec(u[3])){s=(u[2]||" ")+bn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!i&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Yn.exec(u[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),Hn(t)}else t._isValid=!1}function Cn(t){var n=parseInt(t,10);return n<=49?2e3+n:n<=999?1900+n:n}function Tn(t){var n,e,i,r,s,o,a,u=Nn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(e=u[3],i=u[2],r=u[5],s=u[6],o=u[7],a=[Cn(u[4]),Ht.indexOf(e),parseInt(i,10),parseInt(r,10),parseInt(s,10)],o&&a.push(parseInt(o,10)),!function(t,n,e){return!t||Vt.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(m(e).weekdayMismatch=!0,e._isValid=!1,!1)}(u[1],n=a,t))return;t._a=n,t._tzm=function(t,n,e){if(t)return xn[t];if(n)return 0;var i=parseInt(e,10),r=i%100;return(i-r)/100*60+r}(u[8],u[9],u[10]),t._d=Ot.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Gn(t,n,e){return null!=t?t:null!=n?n:e}function In(t){var n,e,r,s,o,a=[];if(!t._d){for(r=function(t){var n=new Date(i.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[bt]&&null==t._a[Mt]&&function(t){var n,e,i,r,s,o,a,u,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,o=4,e=Gn(n.GG,t._a[Yt],$t(En(),1,4).year),i=Gn(n.W,1),((r=Gn(n.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=$t(En(),s,o),e=Gn(n.gg,t._a[Yt],h.year),i=Gn(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(u=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(u=!0)):r=s),i<1||i>zt(e,s,o)?m(t)._overflowWeeks=!0:null!=u?m(t)._overflowWeekday=!0:(a=Bt(e,i,r,s,o),t._a[Yt]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=Gn(t._a[Yt],r[Yt]),(t._dayOfYear>Ft(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),e=Ot(o,0,t._dayOfYear),t._a[Mt]=e.getUTCMonth(),t._a[bt]=e.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=a[n]=r[n];for(;n<7;n++)t._a[n]=a[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[St]&&0===t._a[Nt]&&0===t._a[xt]&&0===t._a[kt]&&(t._nextDay=!0,t._a[St]=0),t._d=(t._useUTC?Ot:jt).apply(null,a),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[St]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(m(t).weekdayMismatch=!0)}}function Hn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],m(t).empty=!0;var n,e,r,s,o,a,u,h=""+t._i,d=h.length,c=0;for(u=(r=A(t._f,t._locale).match(I)||[]).length,n=0;n<u;n++)(e=(h.match(mt(s=r[n],t))||[])[0])&&((o=h.substr(0,h.indexOf(e))).length>0&&m(t).unusedInput.push(o),h=h.slice(h.indexOf(e)+e.length),c+=e.length),W[s]?(e?m(t).empty=!1:m(t).unusedTokens.push(s),yt(s,e,t)):t._strict&&!e&&m(t).unusedTokens.push(s);m(t).charsLeftOver=d-c,h.length>0&&m(t).unusedInput.push(h),t._a[St]<=12&&!0===m(t).bigHour&&t._a[St]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[St]=function(t,n,e){var i;return null==e?n:null!=t.meridiemHour?t.meridiemHour(n,e):null!=t.isPM?((i=t.isPM(e))&&n<12&&(n+=12),i||12!==n||(n=0),n):n}(t._locale,t._a[St],t._meridiem),null!==(a=m(t).era)&&(t._a[Yt]=t._locale.erasConvertYear(a,t._a[Yt])),In(t),wn(t)}else Tn(t);else kn(t)}function _n(t){var n=t._i,e=t._f;return t._locale=t._locale||gn(t._l),null===n||void 0===e&&""===n?v({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),Y(n)?new D(wn(n)):(d(n)?t._d=n:r(e)?function(t){var n,e,i,r,s,o,a=!1,u=t._f.length;if(0===u)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,o=!1,n=y({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],Hn(n),p(n)&&(o=!0),s+=m(n).charsLeftOver,s+=10*m(n).unusedTokens.length,m(n).score=s,a?s<i&&(i=s,e=n):(null==i||s<i||o)&&(i=s,e=n,o&&(a=!0));l(t,e||n)}(t):e?Hn(t):function(t){var n=t._i;u(n)?t._d=new Date(i.now()):d(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Sn.exec(t._i);null===n?(kn(t),!1===t._isValid&&(delete t._isValid,Tn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):r(n)?(t._a=c(n.slice(0),(function(t){return parseInt(t,10)})),In(t)):s(n)?function(t){if(!t._d){var n=R(t._i);t._a=c([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)})),In(t)}}(t):h(n)?t._d=new Date(n):i.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Wn(t,n,e,i,o){var u,h={};return!0!==n&&!1!==n||(i=n,n=void 0),!0!==e&&!1!==e||(i=e,e=void 0),(s(t)&&a(t)||r(t)&&0===t.length)&&(t=void 0),h._isAMomentObject=!0,h._useUTC=h._isUTC=o,h._l=e,h._i=t,h._f=n,h._strict=i,(u=new D(wn(_n(h))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function En(t,n,e,i){return Wn(t,n,e,i,!1)}i.createFromInputFallback=b("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":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ln=b("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=En.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),An=b("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=En.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Un(t,n){var e,i;if(1===n.length&&r(n[0])&&(n=n[0]),!n.length)return En();for(e=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][t](e)||(e=n[i]);return e}var Pn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fn(t){var n=R(t),e=n.year||0,i=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,a=n.day||0,u=n.hour||0,h=n.minute||0,d=n.second||0,c=n.millisecond||0;this._isValid=function(t){var n,e,i=!1,r=Pn.length;for(n in t)if(o(t,n)&&(-1===Dt.call(Pn,n)||null!=t[n]&&isNaN(t[n])))return!1;for(e=0;e<r;++e)if(t[Pn[e]]){if(i)return!1;parseFloat(t[Pn[e]])!==$(t[Pn[e]])&&(i=!0)}return!0}(n),this._milliseconds=+c+1e3*d+6e4*h+1e3*u*60*60,this._days=+a+7*s,this._months=+r+3*i+12*e,this._data={},this._locale=gn(),this._bubble()}function Rn(t){return t instanceof Fn}function jn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function On(t,n){E(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+G(~~(t/60),2)+n+G(~~t%60,2)}))}On("Z",":"),On("ZZ",""),ft("Z",ct),ft("ZZ",ct),gt(["Z","ZZ"],(function(t,n,e){e._useUTC=!0,e._tzm=Bn(ct,t)}));var Zn=/([\+\-]|\d\d)/gi;function Bn(t,n){var e,i,r=(n||"").match(t);return null===r?null:0===(i=60*(e=((r[r.length-1]||[])+"").match(Zn)||["-",0,0])[1]+$(e[2]))?0:"+"===e[0]?i:-i}function $n(t,n){var e,r;return n._isUTC?(e=n.clone(),r=(Y(t)||d(t)?t.valueOf():En(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),i.updateOffset(e,!1),e):En(t).local()}function zn(t){return-Math.round(t._d.getTimezoneOffset())}function qn(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Jn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qn(t,n){var e,i,r,s,a,u,d=t,c=null;return Rn(t)?d={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(d={},n?d[n]=+t:d.milliseconds=+t):(c=Jn.exec(t))?(e="-"===c[1]?-1:1,d={y:0,d:$(c[bt])*e,h:$(c[St])*e,m:$(c[Nt])*e,s:$(c[xt])*e,ms:$(jn(1e3*c[kt]))*e}):(c=Vn.exec(t))?d={y:Xn(c[2],e="-"===c[1]?-1:1),M:Xn(c[3],e),w:Xn(c[4],e),d:Xn(c[5],e),h:Xn(c[6],e),m:Xn(c[7],e),s:Xn(c[8],e)}:null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=En(d.from),a=En(d.to),r=s.isValid()&&a.isValid()?(a=$n(a,s),s.isBefore(a)?u=Kn(s,a):((u=Kn(a,s)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),i=new Fn(d),Rn(t)&&o(t,"_locale")&&(i._locale=t._locale),Rn(t)&&o(t,"_isValid")&&(i._isValid=t._isValid),i}function Xn(t,n){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n}function Kn(t,n){var e={};return e.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(e.months,"M").isAfter(n)&&--e.months,e.milliseconds=+n-+t.clone().add(e.months,"M"),e}function te(t,n){return function(e,i){var r;return null===i||isNaN(+i)||(x(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=e,e=i,i=r),ne(this,Qn(e,i),t),this}}function ne(t,n,e,r){var s=n._milliseconds,o=jn(n._days),a=jn(n._months);t.isValid()&&(r=null==r||r,a&&At(t,q(t,"Month")+a*e),o&&J(t,"Date",q(t,"Date")+o*e),s&&t._d.setTime(t._d.valueOf()+s*e),r&&i.updateOffset(t,o||a))}Qn.fn=Fn.prototype,Qn.invalid=function(){return Qn(NaN)};var ee=te(1,"add"),ie=te(-1,"subtract");function re(t){return"string"==typeof t||t instanceof String}function se(t){return Y(t)||d(t)||re(t)||h(t)||function(t){var n=r(t),e=!1;return n&&(e=0===t.filter((function(n){return!h(n)&&re(t)})).length),n&&e}(t)||function(t){var n,e=s(t)&&!a(t),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=r.length;for(n=0;n<u;n+=1)i=i||o(t,r[n]);return e&&i}(t)||null==t}function oe(t,n){if(t.date()<n.date())return-oe(n,t);var e=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(e,"months");return-(e+(n-i<0?(n-i)/(i-t.clone().add(e-1,"months")):(n-i)/(t.clone().add(e+1,"months")-i)))||0}function ae(t){var n;return void 0===t?this._locale._abbr:(null!=(n=gn(t))&&(this._locale=n),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ue=b("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 he(){return this._locale}var de=1e3,ce=6e4,le=36e5,fe=126227808e5;function me(t,n){return(t%n+n)%n}function pe(t,n,e){return t<100&&t>=0?new Date(t+400,n,e)-fe:new Date(t,n,e).valueOf()}function ve(t,n,e){return t<100&&t>=0?Date.UTC(t+400,n,e)-fe:Date.UTC(t,n,e)}function ge(t,n){return n.erasAbbrRegex(t)}function we(){var t,n,e=[],i=[],r=[],s=[],o=this.eras();for(t=0,n=o.length;t<n;++t)i.push(pt(o[t].name)),e.push(pt(o[t].abbr)),r.push(pt(o[t].narrow)),s.push(pt(o[t].name)),s.push(pt(o[t].abbr)),s.push(pt(o[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ye(t,n){E(0,[t,t.length],0,n)}function De(t,n,e,i,r){var s;return null==t?$t(this,i,r).year:(n>(s=zt(t,i,r))&&(n=s),Ye.call(this,t,n,e,i,r))}function Ye(t,n,e,i,r){var s=Bt(t,n,e,i,r),o=Ot(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),ft("N",ge),ft("NN",ge),ft("NNN",ge),ft("NNNN",(function(t,n){return n.erasNameRegex(t)})),ft("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),gt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,e,i){var r=e._locale.erasParse(t,i,e._strict);r?m(e).era=r:m(e).invalidEra=t})),ft("y",ut),ft("yy",ut),ft("yyy",ut),ft("yyyy",ut),ft("yo",(function(t,n){return n._eraYearOrdinalRegex||ut})),gt(["y","yy","yyy","yyyy"],Yt),gt(["yo"],(function(t,n,e){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),n[Yt]=e._locale.eraYearOrdinalParse?e._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ye("gggg","weekYear"),ye("ggggg","weekYear"),ye("GGGG","isoWeekYear"),ye("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),ft("G",ht),ft("g",ht),ft("GG",et,X),ft("gg",et,X),ft("GGGG",ot,tt),ft("gggg",ot,tt),ft("GGGGG",at,nt),ft("ggggg",at,nt),wt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,e,i){n[i.substr(0,2)]=$(t)})),wt(["gg","GG"],(function(t,n,e,r){n[r]=i.parseTwoDigitYear(t)})),E("Q",0,"Qo","quarter"),P("quarter","Q"),O("quarter",7),ft("Q",Q),gt("Q",(function(t,n){n[Mt]=3*($(t)-1)})),E("D",["DD",2],"Do","date"),P("date","D"),O("date",9),ft("D",et),ft("DD",et,X),ft("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),gt(["D","DD"],bt),gt("Do",(function(t,n){n[bt]=$(t.match(et)[0])}));var Me=z("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),O("dayOfYear",4),ft("DDD",st),ft("DDDD",K),gt(["DDD","DDDD"],(function(t,n,e){e._dayOfYear=$(t)})),E("m",["mm",2],0,"minute"),P("minute","m"),O("minute",14),ft("m",et),ft("mm",et,X),gt(["m","mm"],Nt);var be=z("Minutes",!1);E("s",["ss",2],0,"second"),P("second","s"),O("second",15),ft("s",et),ft("ss",et,X),gt(["s","ss"],xt);var Se,Ne,xe=z("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),O("millisecond",16),ft("S",st,Q),ft("SS",st,X),ft("SSS",st,K),Se="SSSS";Se.length<=9;Se+="S")ft(Se,ut);function ke(t,n){n[kt]=$(1e3*("0."+t))}for(Se="S";Se.length<=9;Se+="S")gt(Se,ke);Ne=z("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var Ce=D.prototype;function Te(t){return t}Ce.add=ee,Ce.calendar=function(t,n){1===arguments.length&&(arguments[0]?se(arguments[0])?(t=arguments[0],n=void 0):function(t){var n,e=s(t)&&!a(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)i=i||o(t,r[n]);return e&&i}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var e=t||En(),r=$n(e,this).startOf("day"),u=i.calendarFormat(this,r)||"sameElse",h=n&&(k(n[u])?n[u].call(this,e):n[u]);return this.format(h||this.localeData().calendar(u,this,En(e)))},Ce.clone=function(){return new D(this)},Ce.diff=function(t,n,e){var i,r,s;if(!this.isValid())return NaN;if(!(i=$n(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),n=F(n)){case"year":s=oe(this,i)/12;break;case"month":s=oe(this,i);break;case"quarter":s=oe(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return e?s:B(s)},Ce.endOf=function(t){var n,e;if(void 0===(t=F(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?ve:pe,t){case"year":n=e(this.year()+1,0,1)-1;break;case"quarter":n=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=e(this.year(),this.month()+1,1)-1;break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=le-me(n+(this._isUTC?0:this.utcOffset()*ce),le)-1;break;case"minute":n=this._d.valueOf(),n+=ce-me(n,ce)-1;break;case"second":n=this._d.valueOf(),n+=de-me(n,de)-1}return this._d.setTime(n),i.updateOffset(this,!0),this},Ce.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var n=L(this,t);return this.localeData().postformat(n)},Ce.from=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||En(t).isValid())?Qn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ce.fromNow=function(t){return this.from(En(),t)},Ce.to=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||En(t).isValid())?Qn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ce.toNow=function(t){return this.to(En(),t)},Ce.get=function(t){return k(this[t=F(t)])?this[t]():this},Ce.invalidAt=function(){return m(this).overflow},Ce.isAfter=function(t,n){var e=Y(t)?t:En(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(n).valueOf())},Ce.isBefore=function(t,n){var e=Y(t)?t:En(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(n).valueOf()<e.valueOf())},Ce.isBetween=function(t,n,e,i){var r=Y(t)?t:En(t),s=Y(n)?n:En(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,e):!this.isBefore(r,e))&&(")"===i[1]?this.isBefore(s,e):!this.isAfter(s,e))},Ce.isSame=function(t,n){var e,i=Y(t)?t:En(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()===i.valueOf():(e=i.valueOf(),this.clone().startOf(n).valueOf()<=e&&e<=this.clone().endOf(n).valueOf()))},Ce.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Ce.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Ce.isValid=function(){return p(this)},Ce.lang=ue,Ce.locale=ae,Ce.localeData=he,Ce.max=An,Ce.min=Ln,Ce.parsingFlags=function(){return l({},m(this))},Ce.set=function(t,n){if("object"==typeof t){var e,i=function(t){var n,e=[];for(n in t)o(t,n)&&e.push({unit:n,priority:j[n]});return e.sort((function(t,n){return t.priority-n.priority})),e}(t=R(t)),r=i.length;for(e=0;e<r;e++)this[i[e].unit](t[i[e].unit])}else if(k(this[t=F(t)]))return this[t](n);return this},Ce.startOf=function(t){var n,e;if(void 0===(t=F(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?ve:pe,t){case"year":n=e(this.year(),0,1);break;case"quarter":n=e(this.year(),this.month()-this.month()%3,1);break;case"month":n=e(this.year(),this.month(),1);break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=e(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=me(n+(this._isUTC?0:this.utcOffset()*ce),le);break;case"minute":n=this._d.valueOf(),n-=me(n,ce);break;case"second":n=this._d.valueOf(),n-=me(n,de)}return this._d.setTime(n),i.updateOffset(this,!0),this},Ce.subtract=ie,Ce.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ce.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()}},Ce.toDate=function(){return new Date(this.valueOf())},Ce.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,e=n?this.clone().utc():this;return e.year()<0||e.year()>9999?L(e,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(e,"Z")):L(e,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ce.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,e="moment",i="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ce[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ce.toJSON=function(){return this.isValid()?this.toISOString():null},Ce.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ce.unix=function(){return Math.floor(this.valueOf()/1e3)},Ce.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ce.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ce.eraName=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].name;if(i[t].until<=e&&e<=i[t].since)return i[t].name}return""},Ce.eraNarrow=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].narrow;if(i[t].until<=e&&e<=i[t].since)return i[t].narrow}return""},Ce.eraAbbr=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].abbr;if(i[t].until<=e&&e<=i[t].since)return i[t].abbr}return""},Ce.eraYear=function(){var t,n,e,r,s=this.localeData().eras();for(t=0,n=s.length;t<n;++t)if(e=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-i(s[t].since).year())*e+s[t].offset;return this.year()},Ce.year=Rt,Ce.isLeapYear=function(){return Z(this.year())},Ce.weekYear=function(t){return De.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ce.isoWeekYear=function(t){return De.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Ce.quarter=Ce.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ce.month=Ut,Ce.daysInMonth=function(){return Gt(this.year(),this.month())},Ce.week=Ce.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Ce.isoWeek=Ce.isoWeeks=function(t){var n=$t(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Ce.weeksInYear=function(){var t=this.localeData()._week;return zt(this.year(),t.dow,t.doy)},Ce.weeksInWeekYear=function(){var t=this.localeData()._week;return zt(this.weekYear(),t.dow,t.doy)},Ce.isoWeeksInYear=function(){return zt(this.year(),1,4)},Ce.isoWeeksInISOWeekYear=function(){return zt(this.isoWeekYear(),1,4)},Ce.date=Me,Ce.day=Ce.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},Ce.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")},Ce.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},Ce.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")},Ce.hour=Ce.hours=an,Ce.minute=Ce.minutes=be,Ce.second=Ce.seconds=xe,Ce.millisecond=Ce.milliseconds=Ne,Ce.utcOffset=function(t,n,e){var r,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Bn(ct,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&n&&(r=zn(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==t&&(!n||this._changeInProgress?ne(this,Qn(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:zn(this)},Ce.utc=function(t){return this.utcOffset(0,t)},Ce.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(zn(this),"m")),this},Ce.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Bn(dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Ce.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?En(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Ce.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ce.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ce.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ce.isUtc=qn,Ce.isUTC=qn,Ce.zoneAbbr=function(){return this._isUTC?"UTC":""},Ce.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ce.dates=b("dates accessor is deprecated. Use date instead.",Me),Ce.months=b("months accessor is deprecated. Use month instead",Ut),Ce.years=b("years accessor is deprecated. Use year instead",Rt),Ce.zone=b("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()})),Ce.isDSTShifted=b("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,n={};return y(n,this),(n=_n(n))._a?(t=n._isUTC?f(n._a):En(n._a),this._isDSTShifted=this.isValid()&&function(t,n,e){var i,r=Math.min(t.length,n.length),s=Math.abs(t.length-n.length),o=0;for(i=0;i<r;i++)(e&&t[i]!==n[i]||!e&&$(t[i])!==$(n[i]))&&o++;return o+s}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ge=T.prototype;function Ie(t,n,e,i){var r=gn(),s=f().set(i,n);return r[e](s,t)}function He(t,n,e){if(h(t)&&(n=t,t=void 0),t=t||"",null!=n)return Ie(t,n,e,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ie(t,i,e,"month");return r}function _e(t,n,e,i){"boolean"==typeof t?(h(n)&&(e=n,n=void 0),n=n||""):(e=n=t,t=!1,h(n)&&(e=n,n=void 0),n=n||"");var r,s=gn(),o=t?s._week.dow:0,a=[];if(null!=e)return Ie(n,(e+o)%7,i,"day");for(r=0;r<7;r++)a[r]=Ie(n,(r+o)%7,i,"day");return a}Ge.calendar=function(t,n,e){var i=this._calendar[t]||this._calendar.sameElse;return k(i)?i.call(n,e):i},Ge.longDateFormat=function(t){var n=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return n||!e?n:(this._longDateFormat[t]=e.match(I).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Ge.invalidDate=function(){return this._invalidDate},Ge.ordinal=function(t){return this._ordinal.replace("%d",t)},Ge.preparse=Te,Ge.postformat=Te,Ge.relativeTime=function(t,n,e,i){var r=this._relativeTime[e];return k(r)?r(t,n,e,i):r.replace(/%d/i,t)},Ge.pastFuture=function(t,n){var e=this._relativeTime[t>0?"future":"past"];return k(e)?e(n):e.replace(/%s/i,n)},Ge.set=function(t){var n,e;for(e in t)o(t,e)&&(k(n=t[e])?this[e]=n:this["_"+e]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ge.eras=function(){var t,n,e,r=this._eras||gn("en")._eras;for(t=0,n=r.length;t<n;++t)switch("string"==typeof r[t].since&&(e=i(r[t].since).startOf("day"),r[t].since=e.valueOf()),typeof r[t].until){case"undefined":r[t].until=1/0;break;case"string":e=i(r[t].until).startOf("day").valueOf(),r[t].until=e.valueOf()}return r},Ge.erasParse=function(t,n,e){var i,r,s,o,a,u=this.eras();for(t=t.toUpperCase(),i=0,r=u.length;i<r;++i)if(s=u[i].name.toUpperCase(),o=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),e)switch(n){case"N":case"NN":case"NNN":if(o===t)return u[i];break;case"NNNN":if(s===t)return u[i];break;case"NNNNN":if(a===t)return u[i]}else if([s,o,a].indexOf(t)>=0)return u[i]},Ge.erasConvertYear=function(t,n){var e=t.since<=t.until?1:-1;return void 0===n?i(t.since).year():i(t.since).year()+(n-t.offset)*e},Ge.erasAbbrRegex=function(t){return o(this,"_erasAbbrRegex")||we.call(this),t?this._erasAbbrRegex:this._erasRegex},Ge.erasNameRegex=function(t){return o(this,"_erasNameRegex")||we.call(this),t?this._erasNameRegex:this._erasRegex},Ge.erasNarrowRegex=function(t){return o(this,"_erasNarrowRegex")||we.call(this),t?this._erasNarrowRegex:this._erasRegex},Ge.months=function(t,n){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||_t).test(n)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},Ge.monthsShort=function(t,n){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[_t.test(n)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ge.monthsParse=function(t,n,e){var i,r,s;if(this._monthsParseExact)return Lt.call(this,t,n,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),e&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),e||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),e&&"MMMM"===n&&this._longMonthsParse[i].test(t))return i;if(e&&"MMM"===n&&this._shortMonthsParse[i].test(t))return i;if(!e&&this._monthsParse[i].test(t))return i}},Ge.monthsRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Pt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Ge.monthsShortRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Pt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Ge.week=function(t){return $t(t,this._week.dow,this._week.doy).week},Ge.firstDayOfYear=function(){return this._week.doy},Ge.firstDayOfWeek=function(){return this._week.dow},Ge.weekdays=function(t,n){var e=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?qt(e,this._week.dow):t?e[t.day()]:e},Ge.weekdaysMin=function(t){return!0===t?qt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Ge.weekdaysShort=function(t){return!0===t?qt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Ge.weekdaysParse=function(t,n,e){var i,r,s;if(this._weekdaysParseExact)return nn.call(this,t,n,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),e&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),e&&"dddd"===n&&this._fullWeekdaysParse[i].test(t))return i;if(e&&"ddd"===n&&this._shortWeekdaysParse[i].test(t))return i;if(e&&"dd"===n&&this._minWeekdaysParse[i].test(t))return i;if(!e&&this._weekdaysParse[i].test(t))return i}},Ge.weekdaysRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Ge.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ge.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ge.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ge.meridiem=function(t,n,e){return t>11?e?"pm":"PM":e?"am":"AM"},pn("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===$(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),i.lang=b("moment.lang is deprecated. Use moment.locale instead.",pn),i.langData=b("moment.langData is deprecated. Use moment.localeData instead.",gn);var We=Math.abs;function Ee(t,n,e,i){var r=Qn(n,e);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Le(t){return t<0?Math.floor(t):Math.ceil(t)}function Ae(t){return 4800*t/146097}function Ue(t){return 146097*t/4800}function Pe(t){return function(){return this.as(t)}}var Fe=Pe("ms"),Re=Pe("s"),je=Pe("m"),Oe=Pe("h"),Ze=Pe("d"),Be=Pe("w"),$e=Pe("M"),ze=Pe("Q"),qe=Pe("y");function Je(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ve=Je("milliseconds"),Qe=Je("seconds"),Xe=Je("minutes"),Ke=Je("hours"),ti=Je("days"),ni=Je("months"),ei=Je("years");var ii=Math.round,ri={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function si(t,n,e,i,r){return r.relativeTime(n||1,!!e,t,i)}var oi=Math.abs;function ai(t){return(t>0)-(t<0)||+t}function ui(){if(!this.isValid())return this.localeData().invalidDate();var t,n,e,i,r,s,o,a,u=oi(this._milliseconds)/1e3,h=oi(this._days),d=oi(this._months),c=this.asSeconds();return c?(t=B(u/60),n=B(t/60),u%=60,t%=60,e=B(d/12),d%=12,i=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=ai(this._months)!==ai(c)?"-":"",o=ai(this._days)!==ai(c)?"-":"",a=ai(this._milliseconds)!==ai(c)?"-":"",r+"P"+(e?s+e+"Y":"")+(d?s+d+"M":"")+(h?o+h+"D":"")+(n||t||u?"T":"")+(n?a+n+"H":"")+(t?a+t+"M":"")+(u?a+i+"S":"")):"P0D"}var hi=Fn.prototype;return hi.isValid=function(){return this._isValid},hi.abs=function(){var t=this._data;return this._milliseconds=We(this._milliseconds),this._days=We(this._days),this._months=We(this._months),t.milliseconds=We(t.milliseconds),t.seconds=We(t.seconds),t.minutes=We(t.minutes),t.hours=We(t.hours),t.months=We(t.months),t.years=We(t.years),this},hi.add=function(t,n){return Ee(this,t,n,1)},hi.subtract=function(t,n){return Ee(this,t,n,-1)},hi.as=function(t){if(!this.isValid())return NaN;var n,e,i=this._milliseconds;if("month"===(t=F(t))||"quarter"===t||"year"===t)switch(e=this._months+Ae(n=this._days+i/864e5),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(n=this._days+Math.round(Ue(this._months)),t){case"week":return n/7+i/6048e5;case"day":return n+i/864e5;case"hour":return 24*n+i/36e5;case"minute":return 1440*n+i/6e4;case"second":return 86400*n+i/1e3;case"millisecond":return Math.floor(864e5*n)+i;default:throw new Error("Unknown unit "+t)}},hi.asMilliseconds=Fe,hi.asSeconds=Re,hi.asMinutes=je,hi.asHours=Oe,hi.asDays=Ze,hi.asWeeks=Be,hi.asMonths=$e,hi.asQuarters=ze,hi.asYears=qe,hi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},hi._bubble=function(){var t,n,e,i,r,s=this._milliseconds,o=this._days,a=this._months,u=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Le(Ue(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=B(s/1e3),u.seconds=t%60,n=B(t/60),u.minutes=n%60,e=B(n/60),u.hours=e%24,o+=B(e/24),a+=r=B(Ae(o)),o-=Le(Ue(r)),i=B(a/12),a%=12,u.days=o,u.months=a,u.years=i,this},hi.clone=function(){return Qn(this)},hi.get=function(t){return t=F(t),this.isValid()?this[t+"s"]():NaN},hi.milliseconds=Ve,hi.seconds=Qe,hi.minutes=Xe,hi.hours=Ke,hi.days=ti,hi.weeks=function(){return B(this.days()/7)},hi.months=ni,hi.years=ei,hi.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var e,i,r=!1,s=ri;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},ri,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),i=function(t,n,e,i){var r=Qn(t).abs(),s=ii(r.as("s")),o=ii(r.as("m")),a=ii(r.as("h")),u=ii(r.as("d")),h=ii(r.as("M")),d=ii(r.as("w")),c=ii(r.as("y")),l=s<=e.ss&&["s",s]||s<e.s&&["ss",s]||o<=1&&["m"]||o<e.m&&["mm",o]||a<=1&&["h"]||a<e.h&&["hh",a]||u<=1&&["d"]||u<e.d&&["dd",u];return null!=e.w&&(l=l||d<=1&&["w"]||d<e.w&&["ww",d]),(l=l||h<=1&&["M"]||h<e.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,l[3]=+t>0,l[4]=i,si.apply(null,l)}(this,!r,s,e=this.localeData()),r&&(i=e.pastFuture(+this,i)),e.postformat(i)},hi.toISOString=ui,hi.toString=ui,hi.toJSON=ui,hi.locale=ae,hi.localeData=he,hi.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ui),hi.lang=ue,E("X",0,0,"unix"),E("x",0,0,"valueOf"),ft("x",ht),ft("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",(function(t,n,e){e._d=new Date(1e3*parseFloat(t))})),gt("x",(function(t,n,e){e._d=new Date($(t))})),
2
+ //! moment.js
3
+ i.version="2.29.4",n=En,i.fn=Ce,i.min=function(){return Un("isBefore",[].slice.call(arguments,0))},i.max=function(){return Un("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(t){return En(1e3*t)},i.months=function(t,n){return He(t,n,"months")},i.isDate=d,i.locale=pn,i.invalid=v,i.duration=Qn,i.isMoment=Y,i.weekdays=function(t,n,e){return _e(t,n,e,"weekdays")},i.parseZone=function(){return En.apply(null,arguments).parseZone()},i.localeData=gn,i.isDuration=Rn,i.monthsShort=function(t,n){return He(t,n,"monthsShort")},i.weekdaysMin=function(t,n,e){return _e(t,n,e,"weekdaysMin")},i.defineLocale=vn,i.updateLocale=function(t,n){if(null!=n){var e,i,r=hn;null!=dn[t]&&null!=dn[t].parentLocale?dn[t].set(C(dn[t]._config,n)):(null!=(i=mn(t))&&(r=i._config),n=C(r,n),null==i&&(n.abbr=t),(e=new T(n)).parentLocale=dn[t],dn[t]=e),pn(t)}else null!=dn[t]&&(null!=dn[t].parentLocale?(dn[t]=dn[t].parentLocale,t===pn()&&pn(t)):null!=dn[t]&&delete dn[t]);return dn[t]},i.locales=function(){return S(dn)},i.weekdaysShort=function(t,n,e){return _e(t,n,e,"weekdaysShort")},i.normalizeUnits=F,i.relativeTimeRounding=function(t){return void 0===t?ii:"function"==typeof t&&(ii=t,!0)},i.relativeTimeThreshold=function(t,n){return void 0!==ri[t]&&(void 0===n?ri[t]:(ri[t]=n,"s"===t&&(ri.ss=n-1),!0))},i.calendarFormat=function(t,n){var e=t.diff(n,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},i.prototype=Ce,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}(v);const g=v.exports;
4
+ //! moment.js
5
+ //! version : 2.29.4
6
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
7
+ //! license : MIT
8
+ //! momentjs.com
9
+ var w,y;function D(){return w.apply(null,arguments)}function Y(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function M(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function b(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function S(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(b(t,n))return!1;return!0}function N(t){return void 0===t}function x(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function C(t,n){var e,i=[],r=t.length;for(e=0;e<r;++e)i.push(n(t[e],e));return i}function T(t,n){for(var e in n)b(n,e)&&(t[e]=n[e]);return b(n,"toString")&&(t.toString=n.toString),b(n,"valueOf")&&(t.valueOf=n.valueOf),t}function G(t,n,e,i){return Vn(t,n,e,i,!0).utc()}function I(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 H(t){if(null==t._isValid){var n=I(t),e=y.call(n.parsedDateParts,(function(t){return null!=t})),i=!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&&e);if(t._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function _(t){var n=G(NaN);return null!=t?T(I(n),t):I(n).userInvalidated=!0,n}y=Array.prototype.some?Array.prototype.some:function(t){var n,e=Object(this),i=e.length>>>0;for(n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var W=D.momentProperties=[],E=!1;function L(t,n){var e,i,r,s=W.length;if(N(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),N(n._i)||(t._i=n._i),N(n._f)||(t._f=n._f),N(n._l)||(t._l=n._l),N(n._strict)||(t._strict=n._strict),N(n._tzm)||(t._tzm=n._tzm),N(n._isUTC)||(t._isUTC=n._isUTC),N(n._offset)||(t._offset=n._offset),N(n._pf)||(t._pf=I(n)),N(n._locale)||(t._locale=n._locale),s>0)for(e=0;e<s;e++)N(r=n[i=W[e]])||(t[i]=r);return t}function A(t){L(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===E&&(E=!0,D.updateOffset(this),E=!1)}function U(t){return t instanceof A||null!=t&&null!=t._isAMomentObject}function P(t){!1===D.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function F(t,n){var e=!0;return T((function(){if(null!=D.deprecationHandler&&D.deprecationHandler(null,t),e){var i,r,s,o=[],a=arguments.length;for(r=0;r<a;r++){if(i="","object"==typeof arguments[r]){for(s in i+="\n["+r+"] ",arguments[0])b(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[r];o.push(i)}P(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),e=!1}return n.apply(this,arguments)}),n)}var R,j={};function O(t,n){null!=D.deprecationHandler&&D.deprecationHandler(t,n),j[t]||(P(n),j[t]=!0)}function Z(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function B(t,n){var e,i=T({},t);for(e in n)b(n,e)&&(M(t[e])&&M(n[e])?(i[e]={},T(i[e],t[e]),T(i[e],n[e])):null!=n[e]?i[e]=n[e]:delete i[e]);for(e in t)b(t,e)&&!b(n,e)&&M(t[e])&&(i[e]=T({},i[e]));return i}function $(t){null!=t&&this.set(t)}function z(t,n,e){var i=""+Math.abs(t);return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,n-i.length)).toString().substr(1)+i}D.suppressDeprecationWarnings=!1,D.deprecationHandler=null,R=Object.keys?Object.keys:function(t){var n,e=[];for(n in t)b(t,n)&&e.push(n);return e};var q=/(\[[^\[]*\])|(\\)?([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,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},Q={};function X(t,n,e,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Q[t]=r),n&&(Q[n[0]]=function(){return z(r.apply(this,arguments),n[1],n[2])}),e&&(Q[e]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function K(t,n){return t.isValid()?(n=tt(n,t.localeData()),V[n]=V[n]||function(t){var n,e,i,r=t.match(q);for(n=0,e=r.length;n<e;n++)r[n]=Q[r[n]]?Q[r[n]]:(i=r[n]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(n){var i,s="";for(i=0;i<e;i++)s+=Z(r[i])?r[i].call(n,t):r[i];return s}}(n),V[n](t)):t.localeData().invalidDate()}function tt(t,n){var e=5;function i(t){return n.longDateFormat(t)||t}for(J.lastIndex=0;e>=0&&J.test(t);)t=t.replace(J,i),J.lastIndex=0,e-=1;return t}var nt={};function et(t,n){var e=t.toLowerCase();nt[e]=nt[e+"s"]=nt[n]=t}function it(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function rt(t){var n,e,i={};for(e in t)b(t,e)&&(n=it(e))&&(i[n]=t[e]);return i}var st={};function ot(t,n){st[t]=n}function at(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var n=+t,e=0;return 0!==n&&isFinite(n)&&(e=ut(n)),e}function dt(t,n){return function(e){return null!=e?(lt(this,t,e),D.updateOffset(this,n),this):ct(this,t)}}function ct(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function lt(t,n,e){t.isValid()&&!isNaN(e)&&("FullYear"===n&&at(t.year())&&1===t.month()&&29===t.date()?(e=ht(e),t._d["set"+(t._isUTC?"UTC":"")+n](e,t.month(),zt(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](e))}var ft,mt=/\d/,pt=/\d\d/,vt=/\d{3}/,gt=/\d{4}/,wt=/[+-]?\d{6}/,yt=/\d\d?/,Dt=/\d\d\d\d?/,Yt=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,bt=/\d{1,4}/,St=/[+-]?\d{1,6}/,Nt=/\d+/,xt=/[+-]?\d+/,kt=/Z|[+-]\d\d:?\d\d/gi,Ct=/Z|[+-]\d\d(?::?\d\d)?/gi,Tt=/[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 Gt(t,n,e){ft[t]=Z(n)?n:function(t){return t&&e?e:n}}function It(t,n){return b(ft,t)?ft[t](n._strict,n._locale):new RegExp(Ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,e,i,r){return n||e||i||r}))))}function Ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ft={};var _t={};function Wt(t,n){var e,i,r=n;for("string"==typeof t&&(t=[t]),x(n)&&(r=function(t,e){e[n]=ht(t)}),i=t.length,e=0;e<i;e++)_t[t[e]]=r}function Et(t,n){Wt(t,(function(t,e,i,r){i._w=i._w||{},n(t,i._w,i,r)}))}function Lt(t,n,e){null!=n&&b(_t,t)&&_t[t](n,e._a,e,t)}var At,Ut=0,Pt=1,Ft=2,Rt=3,jt=4,Ot=5,Zt=6,Bt=7,$t=8;function zt(t,n){if(isNaN(t)||isNaN(n))return NaN;var e=(n%12+12)%12;return t+=(n-e)/12,1===e?at(t)?29:28:31-e%7%2}At=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},X("M",["MM",2],"Mo",(function(){return this.month()+1})),X("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),X("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),et("month","M"),ot("month",8),Gt("M",yt),Gt("MM",yt,pt),Gt("MMM",(function(t,n){return n.monthsShortRegex(t)})),Gt("MMMM",(function(t,n){return n.monthsRegex(t)})),Wt(["M","MM"],(function(t,n){n[Pt]=ht(t)-1})),Wt(["MMM","MMMM"],(function(t,n,e,i){var r=e._locale.monthsParse(t,i,e._strict);null!=r?n[Pt]=r:I(e).invalidMonth=t}));var qt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Jt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Vt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Qt=Tt,Xt=Tt;function Kt(t,n,e){var i,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=G([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return e?"MMM"===n?-1!==(r=At.call(this._shortMonthsParse,o))?r:null:-1!==(r=At.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=At.call(this._shortMonthsParse,o))||-1!==(r=At.call(this._longMonthsParse,o))?r:null:-1!==(r=At.call(this._longMonthsParse,o))||-1!==(r=At.call(this._shortMonthsParse,o))?r:null}function tn(t,n){var e;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=ht(n);else if(!x(n=t.localeData().monthsParse(n)))return t;return e=Math.min(t.date(),zt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,e),t}function nn(t){return null!=t?(tn(this,t),D.updateOffset(this,!0),this):ct(this,"Month")}function en(){function t(t,n){return n.length-t.length}var n,e,i=[],r=[],s=[];for(n=0;n<12;n++)e=G([2e3,n]),i.push(this.monthsShort(e,"")),r.push(this.months(e,"")),s.push(this.months(e,"")),s.push(this.monthsShort(e,""));for(i.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)i[n]=Ht(i[n]),r[n]=Ht(r[n]);for(n=0;n<24;n++)s[n]=Ht(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function rn(t){return at(t)?366:365}X("Y",0,0,(function(){var t=this.year();return t<=9999?z(t,4):"+"+t})),X(0,["YY",2],0,(function(){return this.year()%100})),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),et("year","y"),ot("year",1),Gt("Y",xt),Gt("YY",yt,pt),Gt("YYYY",bt,gt),Gt("YYYYY",St,wt),Gt("YYYYYY",St,wt),Wt(["YYYYY","YYYYYY"],Ut),Wt("YYYY",(function(t,n){n[Ut]=2===t.length?D.parseTwoDigitYear(t):ht(t)})),Wt("YY",(function(t,n){n[Ut]=D.parseTwoDigitYear(t)})),Wt("Y",(function(t,n){n[Ut]=parseInt(t,10)})),D.parseTwoDigitYear=function(t){return ht(t)+(ht(t)>68?1900:2e3)};var sn=dt("FullYear",!0);function on(t,n,e,i,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,n,e,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,n,e,i,r,s,o),a}function an(t){var n,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,e)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function un(t,n,e){var i=7+n-e;return-(7+an(t,0,i).getUTCDay()-n)%7+i-1}function hn(t,n,e,i,r){var s,o,a=1+7*(n-1)+(7+e-i)%7+un(t,i,r);return a<=0?o=rn(s=t-1)+a:a>rn(t)?(s=t+1,o=a-rn(t)):(s=t,o=a),{year:s,dayOfYear:o}}function dn(t,n,e){var i,r,s=un(t.year(),n,e),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?i=o+cn(r=t.year()-1,n,e):o>cn(t.year(),n,e)?(i=o-cn(t.year(),n,e),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function cn(t,n,e){var i=un(t,n,e),r=un(t+1,n,e);return(rn(t)-i+r)/7}function ln(t,n){return t.slice(n,7).concat(t.slice(0,n))}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),et("week","w"),et("isoWeek","W"),ot("week",5),ot("isoWeek",5),Gt("w",yt),Gt("ww",yt,pt),Gt("W",yt),Gt("WW",yt,pt),Et(["w","ww","W","WW"],(function(t,n,e,i){n[i.substr(0,1)]=ht(t)})),X("d",0,"do","day"),X("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),X("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),X("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),et("day","d"),et("weekday","e"),et("isoWeekday","E"),ot("day",11),ot("weekday",11),ot("isoWeekday",11),Gt("d",yt),Gt("e",yt),Gt("E",yt),Gt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),Gt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),Gt("dddd",(function(t,n){return n.weekdaysRegex(t)})),Et(["dd","ddd","dddd"],(function(t,n,e,i){var r=e._locale.weekdaysParse(t,i,e._strict);null!=r?n.d=r:I(e).invalidWeekday=t})),Et(["d","e","E"],(function(t,n,e,i){n[i]=ht(t)}));var fn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),pn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vn=Tt,gn=Tt,wn=Tt;function yn(t,n,e){var i,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=G([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return e?"dddd"===n?-1!==(r=At.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=At.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._shortWeekdaysParse,o))||-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=At.call(this._shortWeekdaysParse,o))||-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:-1!==(r=At.call(this._minWeekdaysParse,o))||-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._shortWeekdaysParse,o))?r:null}function Dn(){function t(t,n){return n.length-t.length}var n,e,i,r,s,o=[],a=[],u=[],h=[];for(n=0;n<7;n++)e=G([2e3,1]).day(n),i=Ht(this.weekdaysMin(e,"")),r=Ht(this.weekdaysShort(e,"")),s=Ht(this.weekdays(e,"")),o.push(i),a.push(r),u.push(s),h.push(i),h.push(r),h.push(s);o.sort(t),a.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Yn(){return this.hours()%12||12}function Mn(t,n){X(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function bn(t,n){return n._meridiemParse}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,Yn),X("k",["kk",2],0,(function(){return this.hours()||24})),X("hmm",0,0,(function(){return""+Yn.apply(this)+z(this.minutes(),2)})),X("hmmss",0,0,(function(){return""+Yn.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),X("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),X("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),Mn("a",!0),Mn("A",!1),et("hour","h"),ot("hour",13),Gt("a",bn),Gt("A",bn),Gt("H",yt),Gt("h",yt),Gt("k",yt),Gt("HH",yt,pt),Gt("hh",yt,pt),Gt("kk",yt,pt),Gt("hmm",Dt),Gt("hmmss",Yt),Gt("Hmm",Dt),Gt("Hmmss",Yt),Wt(["H","HH"],Rt),Wt(["k","kk"],(function(t,n){var e=ht(t);n[Rt]=24===e?0:e})),Wt(["a","A"],(function(t,n,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),Wt(["h","hh"],(function(t,n,e){n[Rt]=ht(t),I(e).bigHour=!0})),Wt("hmm",(function(t,n,e){var i=t.length-2;n[Rt]=ht(t.substr(0,i)),n[jt]=ht(t.substr(i)),I(e).bigHour=!0})),Wt("hmmss",(function(t,n,e){var i=t.length-4,r=t.length-2;n[Rt]=ht(t.substr(0,i)),n[jt]=ht(t.substr(i,2)),n[Ot]=ht(t.substr(r)),I(e).bigHour=!0})),Wt("Hmm",(function(t,n){var e=t.length-2;n[Rt]=ht(t.substr(0,e)),n[jt]=ht(t.substr(e))})),Wt("Hmmss",(function(t,n){var e=t.length-4,i=t.length-2;n[Rt]=ht(t.substr(0,e)),n[jt]=ht(t.substr(e,2)),n[Ot]=ht(t.substr(i))}));var Sn,Nn=dt("Hours",!0),xn={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:qt,monthsShort:Jt,week:{dow:0,doy:6},weekdays:fn,weekdaysMin:pn,weekdaysShort:mn,meridiemParse:/[ap]\.?m?\.?/i},kn={},Cn={};function Tn(t,n){var e,i=Math.min(t.length,n.length);for(e=0;e<i;e+=1)if(t[e]!==n[e])return e;return i}function Gn(t){return t?t.toLowerCase().replace("_","-"):t}function In(t){var n=null;if(void 0===kn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=Sn._abbr,require("./locale/"+t),Hn(n)}catch(n){kn[t]=null}return kn[t]}function Hn(t,n){var e;return t&&((e=N(n)?Wn(t):_n(t,n))?Sn=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Sn._abbr}function _n(t,n){if(null!==n){var e,i=xn;if(n.abbr=t,null!=kn[t])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=kn[t]._config;else if(null!=n.parentLocale)if(null!=kn[n.parentLocale])i=kn[n.parentLocale]._config;else{if(null==(e=In(n.parentLocale)))return Cn[n.parentLocale]||(Cn[n.parentLocale]=[]),Cn[n.parentLocale].push({name:t,config:n}),null;i=e._config}return kn[t]=new $(B(i,n)),Cn[t]&&Cn[t].forEach((function(t){_n(t.name,t.config)})),Hn(t),kn[t]}return delete kn[t],null}function Wn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Sn;if(!Y(t)){if(n=In(t))return n;t=[t]}return function(t){for(var n,e,i,r,s=0;s<t.length;){for(n=(r=Gn(t[s]).split("-")).length,e=(e=Gn(t[s+1]))?e.split("-"):null;n>0;){if(i=In(r.slice(0,n).join("-")))return i;if(e&&e.length>=n&&Tn(r,e)>=n-1)break;n--}s++}return Sn}(t)}function En(t){var n,e=t._a;return e&&-2===I(t).overflow&&(n=e[Pt]<0||e[Pt]>11?Pt:e[Ft]<1||e[Ft]>zt(e[Ut],e[Pt])?Ft:e[Rt]<0||e[Rt]>24||24===e[Rt]&&(0!==e[jt]||0!==e[Ot]||0!==e[Zt])?Rt:e[jt]<0||e[jt]>59?jt:e[Ot]<0||e[Ot]>59?Ot:e[Zt]<0||e[Zt]>999?Zt:-1,I(t)._overflowDayOfYear&&(n<Ut||n>Ft)&&(n=Ft),I(t)._overflowWeeks&&-1===n&&(n=Bt),I(t)._overflowWeekday&&-1===n&&(n=$t),I(t).overflow=n),t}var Ln=/^\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)?)?$/,An=/^\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)?)?$/,Un=/Z|[+-]\d\d(?::?\d\d)?/,Pn=[["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]],Fn=[["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/]],Rn=/^\/?Date\((-?\d+)/i,jn=/^(?:(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}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t){var n,e,i,r,s,o,a=t._i,u=Ln.exec(a)||An.exec(a),h=Pn.length,d=Fn.length;if(u){for(I(t).iso=!0,n=0,e=h;n<e;n++)if(Pn[n][1].exec(u[1])){r=Pn[n][0],i=!1!==Pn[n][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(n=0,e=d;n<e;n++)if(Fn[n][1].exec(u[3])){s=(u[2]||" ")+Fn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!i&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Un.exec(u[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),qn(t)}else t._isValid=!1}function Bn(t){var n,e,i,r,s,o,a,u,h,d=jn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(e=d[3],i=d[2],r=d[5],s=d[6],o=d[7],a=[(u=d[4],h=parseInt(u,10),h<=49?2e3+h:h<=999?1900+h:h),Jt.indexOf(e),parseInt(i,10),parseInt(r,10),parseInt(s,10)],o&&a.push(parseInt(o,10)),!function(t,n,e){return!t||mn.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(I(e).weekdayMismatch=!0,e._isValid=!1,!1)}(d[1],n=a,t))return;t._a=n,t._tzm=function(t,n,e){if(t)return On[t];if(n)return 0;var i=parseInt(e,10),r=i%100;return(i-r)/100*60+r}(d[8],d[9],d[10]),t._d=an.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),I(t).rfc2822=!0}else t._isValid=!1}function $n(t,n,e){return null!=t?t:null!=n?n:e}function zn(t){var n,e,i,r,s,o=[];if(!t._d){for(i=function(t){var n=new Date(D.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Ft]&&null==t._a[Pt]&&function(t){var n,e,i,r,s,o,a,u,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,o=4,e=$n(n.GG,t._a[Ut],dn(Qn(),1,4).year),i=$n(n.W,1),((r=$n(n.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=dn(Qn(),s,o),e=$n(n.gg,t._a[Ut],h.year),i=$n(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(u=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(u=!0)):r=s),i<1||i>cn(e,s,o)?I(t)._overflowWeeks=!0:null!=u?I(t)._overflowWeekday=!0:(a=hn(e,i,r,s,o),t._a[Ut]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=$n(t._a[Ut],i[Ut]),(t._dayOfYear>rn(s)||0===t._dayOfYear)&&(I(t)._overflowDayOfYear=!0),e=an(s,0,t._dayOfYear),t._a[Pt]=e.getUTCMonth(),t._a[Ft]=e.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=i[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Rt]&&0===t._a[jt]&&0===t._a[Ot]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Rt]=0),t._d=(t._useUTC?an:on).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[Rt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(I(t).weekdayMismatch=!0)}}function qn(t){if(t._f!==D.ISO_8601)if(t._f!==D.RFC_2822){t._a=[],I(t).empty=!0;var n,e,i,r,s,o,a,u=""+t._i,h=u.length,d=0;for(a=(i=tt(t._f,t._locale).match(q)||[]).length,n=0;n<a;n++)(e=(u.match(It(r=i[n],t))||[])[0])&&((s=u.substr(0,u.indexOf(e))).length>0&&I(t).unusedInput.push(s),u=u.slice(u.indexOf(e)+e.length),d+=e.length),Q[r]?(e?I(t).empty=!1:I(t).unusedTokens.push(r),Lt(r,e,t)):t._strict&&!e&&I(t).unusedTokens.push(r);I(t).charsLeftOver=h-d,u.length>0&&I(t).unusedInput.push(u),t._a[Rt]<=12&&!0===I(t).bigHour&&t._a[Rt]>0&&(I(t).bigHour=void 0),I(t).parsedDateParts=t._a.slice(0),I(t).meridiem=t._meridiem,t._a[Rt]=function(t,n,e){var i;return null==e?n:null!=t.meridiemHour?t.meridiemHour(n,e):null!=t.isPM?((i=t.isPM(e))&&n<12&&(n+=12),i||12!==n||(n=0),n):n}(t._locale,t._a[Rt],t._meridiem),null!==(o=I(t).era)&&(t._a[Ut]=t._locale.erasConvertYear(o,t._a[Ut])),zn(t),En(t)}else Bn(t);else Zn(t)}function Jn(t){var n=t._i,e=t._f;return t._locale=t._locale||Wn(t._l),null===n||void 0===e&&""===n?_({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),U(n)?new A(En(n)):(k(n)?t._d=n:Y(e)?function(t){var n,e,i,r,s,o,a=!1,u=t._f.length;if(0===u)return I(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,o=!1,n=L({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],qn(n),H(n)&&(o=!0),s+=I(n).charsLeftOver,s+=10*I(n).unusedTokens.length,I(n).score=s,a?s<i&&(i=s,e=n):(null==i||s<i||o)&&(i=s,e=n,o&&(a=!0));T(t,e||n)}(t):e?qn(t):function(t){var n=t._i;N(n)?t._d=new Date(D.now()):k(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Rn.exec(t._i);null===n?(Zn(t),!1===t._isValid&&(delete t._isValid,Bn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:D.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):Y(n)?(t._a=C(n.slice(0),(function(t){return parseInt(t,10)})),zn(t)):M(n)?function(t){if(!t._d){var n=rt(t._i);t._a=C([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)})),zn(t)}}(t):x(n)?t._d=new Date(n):D.createFromInputFallback(t)}(t),H(t)||(t._d=null),t))}function Vn(t,n,e,i,r){var s,o={};return!0!==n&&!1!==n||(i=n,n=void 0),!0!==e&&!1!==e||(i=e,e=void 0),(M(t)&&S(t)||Y(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=e,o._i=t,o._f=n,o._strict=i,(s=new A(En(Jn(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Qn(t,n,e,i){return Vn(t,n,e,i,!1)}D.createFromInputFallback=F("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),D.ISO_8601=function(){},D.RFC_2822=function(){};var Xn=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Qn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:_()})),Kn=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Qn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:_()}));function te(t,n){var e,i;if(1===n.length&&Y(n[0])&&(n=n[0]),!n.length)return Qn();for(e=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][t](e)||(e=n[i]);return e}var ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ee(t){var n=rt(t),e=n.year||0,i=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,o=n.day||0,a=n.hour||0,u=n.minute||0,h=n.second||0,d=n.millisecond||0;this._isValid=function(t){var n,e,i=!1,r=ne.length;for(n in t)if(b(t,n)&&(-1===At.call(ne,n)||null!=t[n]&&isNaN(t[n])))return!1;for(e=0;e<r;++e)if(t[ne[e]]){if(i)return!1;parseFloat(t[ne[e]])!==ht(t[ne[e]])&&(i=!0)}return!0}(n),this._milliseconds=+d+1e3*h+6e4*u+1e3*a*60*60,this._days=+o+7*s,this._months=+r+3*i+12*e,this._data={},this._locale=Wn(),this._bubble()}function ie(t){return t instanceof ee}function re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function se(t,n){X(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+z(~~(t/60),2)+n+z(~~t%60,2)}))}se("Z",":"),se("ZZ",""),Gt("Z",Ct),Gt("ZZ",Ct),Wt(["Z","ZZ"],(function(t,n,e){e._useUTC=!0,e._tzm=ae(Ct,t)}));var oe=/([\+\-]|\d\d)/gi;function ae(t,n){var e,i,r=(n||"").match(t);return null===r?null:0===(i=60*(e=((r[r.length-1]||[])+"").match(oe)||["-",0,0])[1]+ht(e[2]))?0:"+"===e[0]?i:-i}function ue(t,n){var e,i;return n._isUTC?(e=n.clone(),i=(U(t)||k(t)?t.valueOf():Qn(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+i),D.updateOffset(e,!1),e):Qn(t).local()}function he(t){return-Math.round(t._d.getTimezoneOffset())}function de(){return!!this.isValid()&&this._isUTC&&0===this._offset}D.updateOffset=function(){};var ce=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,le=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function fe(t,n){var e,i,r,s,o,a,u=t,h=null;return ie(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:x(t)||!isNaN(+t)?(u={},n?u[n]=+t:u.milliseconds=+t):(h=ce.exec(t))?(e="-"===h[1]?-1:1,u={y:0,d:ht(h[Ft])*e,h:ht(h[Rt])*e,m:ht(h[jt])*e,s:ht(h[Ot])*e,ms:ht(re(1e3*h[Zt]))*e}):(h=le.exec(t))?u={y:me(h[2],e="-"===h[1]?-1:1),M:me(h[3],e),w:me(h[4],e),d:me(h[5],e),h:me(h[6],e),m:me(h[7],e),s:me(h[8],e)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Qn(u.from),o=Qn(u.to),r=s.isValid()&&o.isValid()?(o=ue(o,s),s.isBefore(o)?a=pe(s,o):((a=pe(o,s)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new ee(u),ie(t)&&b(t,"_locale")&&(i._locale=t._locale),ie(t)&&b(t,"_isValid")&&(i._isValid=t._isValid),i}function me(t,n){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*n}function pe(t,n){var e={};return e.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(e.months,"M").isAfter(n)&&--e.months,e.milliseconds=+n-+t.clone().add(e.months,"M"),e}function ve(t,n){return function(e,i){var r;return null===i||isNaN(+i)||(O(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=e,e=i,i=r),ge(this,fe(e,i),t),this}}function ge(t,n,e,i){var r=n._milliseconds,s=re(n._days),o=re(n._months);t.isValid()&&(i=null==i||i,o&&tn(t,ct(t,"Month")+o*e),s&&lt(t,"Date",ct(t,"Date")+s*e),r&&t._d.setTime(t._d.valueOf()+r*e),i&&D.updateOffset(t,s||o))}fe.fn=ee.prototype,fe.invalid=function(){return fe(NaN)};var we=ve(1,"add"),ye=ve(-1,"subtract");function De(t){return"string"==typeof t||t instanceof String}function Ye(t,n){if(t.date()<n.date())return-Ye(n,t);var e=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(e,"months");return-(e+(n-i<0?(n-i)/(i-t.clone().add(e-1,"months")):(n-i)/(t.clone().add(e+1,"months")-i)))||0}function Me(t){var n;return void 0===t?this._locale._abbr:(null!=(n=Wn(t))&&(this._locale=n),this)}D.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",D.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var be=F("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 Se(){return this._locale}var Ne=1e3,xe=6e4,ke=36e5,Ce=126227808e5;function Te(t,n){return(t%n+n)%n}function Ge(t,n,e){return t<100&&t>=0?new Date(t+400,n,e)-Ce:new Date(t,n,e).valueOf()}function Ie(t,n,e){return t<100&&t>=0?Date.UTC(t+400,n,e)-Ce:Date.UTC(t,n,e)}function He(t,n){return n.erasAbbrRegex(t)}function _e(){var t,n,e=[],i=[],r=[],s=[],o=this.eras();for(t=0,n=o.length;t<n;++t)i.push(Ht(o[t].name)),e.push(Ht(o[t].abbr)),r.push(Ht(o[t].narrow)),s.push(Ht(o[t].name)),s.push(Ht(o[t].abbr)),s.push(Ht(o[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function We(t,n){X(0,[t,t.length],0,n)}function Ee(t,n,e,i,r){var s;return null==t?dn(this,i,r).year:(n>(s=cn(t,i,r))&&(n=s),Le.call(this,t,n,e,i,r))}function Le(t,n,e,i,r){var s=hn(t,n,e,i,r),o=an(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}X("N",0,0,"eraAbbr"),X("NN",0,0,"eraAbbr"),X("NNN",0,0,"eraAbbr"),X("NNNN",0,0,"eraName"),X("NNNNN",0,0,"eraNarrow"),X("y",["y",1],"yo","eraYear"),X("y",["yy",2],0,"eraYear"),X("y",["yyy",3],0,"eraYear"),X("y",["yyyy",4],0,"eraYear"),Gt("N",He),Gt("NN",He),Gt("NNN",He),Gt("NNNN",(function(t,n){return n.erasNameRegex(t)})),Gt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),Wt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,e,i){var r=e._locale.erasParse(t,i,e._strict);r?I(e).era=r:I(e).invalidEra=t})),Gt("y",Nt),Gt("yy",Nt),Gt("yyy",Nt),Gt("yyyy",Nt),Gt("yo",(function(t,n){return n._eraYearOrdinalRegex||Nt})),Wt(["y","yy","yyy","yyyy"],Ut),Wt(["yo"],(function(t,n,e){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),n[Ut]=e._locale.eraYearOrdinalParse?e._locale.eraYearOrdinalParse(t,i):parseInt(t,10)})),X(0,["gg",2],0,(function(){return this.weekYear()%100})),X(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),We("gggg","weekYear"),We("ggggg","weekYear"),We("GGGG","isoWeekYear"),We("GGGGG","isoWeekYear"),et("weekYear","gg"),et("isoWeekYear","GG"),ot("weekYear",1),ot("isoWeekYear",1),Gt("G",xt),Gt("g",xt),Gt("GG",yt,pt),Gt("gg",yt,pt),Gt("GGGG",bt,gt),Gt("gggg",bt,gt),Gt("GGGGG",St,wt),Gt("ggggg",St,wt),Et(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,e,i){n[i.substr(0,2)]=ht(t)})),Et(["gg","GG"],(function(t,n,e,i){n[i]=D.parseTwoDigitYear(t)})),X("Q",0,"Qo","quarter"),et("quarter","Q"),ot("quarter",7),Gt("Q",mt),Wt("Q",(function(t,n){n[Pt]=3*(ht(t)-1)})),X("D",["DD",2],"Do","date"),et("date","D"),ot("date",9),Gt("D",yt),Gt("DD",yt,pt),Gt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),Wt(["D","DD"],Ft),Wt("Do",(function(t,n){n[Ft]=ht(t.match(yt)[0])}));var Ae=dt("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),et("dayOfYear","DDD"),ot("dayOfYear",4),Gt("DDD",Mt),Gt("DDDD",vt),Wt(["DDD","DDDD"],(function(t,n,e){e._dayOfYear=ht(t)})),X("m",["mm",2],0,"minute"),et("minute","m"),ot("minute",14),Gt("m",yt),Gt("mm",yt,pt),Wt(["m","mm"],jt);var Ue=dt("Minutes",!1);X("s",["ss",2],0,"second"),et("second","s"),ot("second",15),Gt("s",yt),Gt("ss",yt,pt),Wt(["s","ss"],Ot);var Pe,Fe,Re=dt("Seconds",!1);for(X("S",0,0,(function(){return~~(this.millisecond()/100)})),X(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),X(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),X(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),X(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),X(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),X(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),et("millisecond","ms"),ot("millisecond",16),Gt("S",Mt,mt),Gt("SS",Mt,pt),Gt("SSS",Mt,vt),Pe="SSSS";Pe.length<=9;Pe+="S")Gt(Pe,Nt);function je(t,n){n[Zt]=ht(1e3*("0."+t))}for(Pe="S";Pe.length<=9;Pe+="S")Wt(Pe,je);Fe=dt("Milliseconds",!1),X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var Oe=A.prototype;function Ze(t){return t}Oe.add=we,Oe.calendar=function(t,n){var e;1===arguments.length&&(arguments[0]?U(e=arguments[0])||k(e)||De(e)||x(e)||function(t){var n=Y(t),e=!1;return n&&(e=0===t.filter((function(n){return!x(n)&&De(t)})).length),n&&e}(e)||function(t){var n,e=M(t)&&!S(t),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=r.length;for(n=0;n<s;n+=1)i=i||b(t,r[n]);return e&&i}(e)||null==e?(t=arguments[0],n=void 0):function(t){var n,e=M(t)&&!S(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)i=i||b(t,r[n]);return e&&i}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var i=t||Qn(),r=ue(i,this).startOf("day"),s=D.calendarFormat(this,r)||"sameElse",o=n&&(Z(n[s])?n[s].call(this,i):n[s]);return this.format(o||this.localeData().calendar(s,this,Qn(i)))},Oe.clone=function(){return new A(this)},Oe.diff=function(t,n,e){var i,r,s;if(!this.isValid())return NaN;if(!(i=ue(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),n=it(n)){case"year":s=Ye(this,i)/12;break;case"month":s=Ye(this,i);break;case"quarter":s=Ye(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return e?s:ut(s)},Oe.endOf=function(t){var n,e;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Ie:Ge,t){case"year":n=e(this.year()+1,0,1)-1;break;case"quarter":n=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=e(this.year(),this.month()+1,1)-1;break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=ke-Te(n+(this._isUTC?0:this.utcOffset()*xe),ke)-1;break;case"minute":n=this._d.valueOf(),n+=xe-Te(n,xe)-1;break;case"second":n=this._d.valueOf(),n+=Ne-Te(n,Ne)-1}return this._d.setTime(n),D.updateOffset(this,!0),this},Oe.format=function(t){t||(t=this.isUtc()?D.defaultFormatUtc:D.defaultFormat);var n=K(this,t);return this.localeData().postformat(n)},Oe.from=function(t,n){return this.isValid()&&(U(t)&&t.isValid()||Qn(t).isValid())?fe({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Oe.fromNow=function(t){return this.from(Qn(),t)},Oe.to=function(t,n){return this.isValid()&&(U(t)&&t.isValid()||Qn(t).isValid())?fe({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Oe.toNow=function(t){return this.to(Qn(),t)},Oe.get=function(t){return Z(this[t=it(t)])?this[t]():this},Oe.invalidAt=function(){return I(this).overflow},Oe.isAfter=function(t,n){var e=U(t)?t:Qn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(n).valueOf())},Oe.isBefore=function(t,n){var e=U(t)?t:Qn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(n).valueOf()<e.valueOf())},Oe.isBetween=function(t,n,e,i){var r=U(t)?t:Qn(t),s=U(n)?n:Qn(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,e):!this.isBefore(r,e))&&(")"===i[1]?this.isBefore(s,e):!this.isAfter(s,e))},Oe.isSame=function(t,n){var e,i=U(t)?t:Qn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()===i.valueOf():(e=i.valueOf(),this.clone().startOf(n).valueOf()<=e&&e<=this.clone().endOf(n).valueOf()))},Oe.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Oe.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Oe.isValid=function(){return H(this)},Oe.lang=be,Oe.locale=Me,Oe.localeData=Se,Oe.max=Kn,Oe.min=Xn,Oe.parsingFlags=function(){return T({},I(this))},Oe.set=function(t,n){if("object"==typeof t){var e,i=function(t){var n,e=[];for(n in t)b(t,n)&&e.push({unit:n,priority:st[n]});return e.sort((function(t,n){return t.priority-n.priority})),e}(t=rt(t)),r=i.length;for(e=0;e<r;e++)this[i[e].unit](t[i[e].unit])}else if(Z(this[t=it(t)]))return this[t](n);return this},Oe.startOf=function(t){var n,e;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Ie:Ge,t){case"year":n=e(this.year(),0,1);break;case"quarter":n=e(this.year(),this.month()-this.month()%3,1);break;case"month":n=e(this.year(),this.month(),1);break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=e(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Te(n+(this._isUTC?0:this.utcOffset()*xe),ke);break;case"minute":n=this._d.valueOf(),n-=Te(n,xe);break;case"second":n=this._d.valueOf(),n-=Te(n,Ne)}return this._d.setTime(n),D.updateOffset(this,!0),this},Oe.subtract=ye,Oe.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Oe.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()}},Oe.toDate=function(){return new Date(this.valueOf())},Oe.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,e=n?this.clone().utc():this;return e.year()<0||e.year()>9999?K(e,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",K(e,"Z")):K(e,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Oe.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,e="moment",i="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Oe.toJSON=function(){return this.isValid()?this.toISOString():null},Oe.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Oe.unix=function(){return Math.floor(this.valueOf()/1e3)},Oe.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Oe.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Oe.eraName=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].name;if(i[t].until<=e&&e<=i[t].since)return i[t].name}return""},Oe.eraNarrow=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].narrow;if(i[t].until<=e&&e<=i[t].since)return i[t].narrow}return""},Oe.eraAbbr=function(){var t,n,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t){if(e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until)return i[t].abbr;if(i[t].until<=e&&e<=i[t].since)return i[t].abbr}return""},Oe.eraYear=function(){var t,n,e,i,r=this.localeData().eras();for(t=0,n=r.length;t<n;++t)if(e=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-D(r[t].since).year())*e+r[t].offset;return this.year()},Oe.year=sn,Oe.isLeapYear=function(){return at(this.year())},Oe.weekYear=function(t){return Ee.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Oe.isoWeekYear=function(t){return Ee.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Oe.quarter=Oe.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Oe.month=nn,Oe.daysInMonth=function(){return zt(this.year(),this.month())},Oe.week=Oe.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Oe.isoWeek=Oe.isoWeeks=function(t){var n=dn(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Oe.weeksInYear=function(){var t=this.localeData()._week;return cn(this.year(),t.dow,t.doy)},Oe.weeksInWeekYear=function(){var t=this.localeData()._week;return cn(this.weekYear(),t.dow,t.doy)},Oe.isoWeeksInYear=function(){return cn(this.year(),1,4)},Oe.isoWeeksInISOWeekYear=function(){return cn(this.isoWeekYear(),1,4)},Oe.date=Ae,Oe.day=Oe.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},Oe.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")},Oe.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},Oe.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")},Oe.hour=Oe.hours=Nn,Oe.minute=Oe.minutes=Ue,Oe.second=Oe.seconds=Re,Oe.millisecond=Oe.milliseconds=Fe,Oe.utcOffset=function(t,n,e){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=ae(Ct,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&n&&(i=he(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?ge(this,fe(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,D.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:he(this)},Oe.utc=function(t){return this.utcOffset(0,t)},Oe.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(he(this),"m")),this},Oe.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ae(kt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Oe.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Qn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Oe.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Oe.isLocal=function(){return!!this.isValid()&&!this._isUTC},Oe.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Oe.isUtc=de,Oe.isUTC=de,Oe.zoneAbbr=function(){return this._isUTC?"UTC":""},Oe.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Oe.dates=F("dates accessor is deprecated. Use date instead.",Ae),Oe.months=F("months accessor is deprecated. Use month instead",nn),Oe.years=F("years accessor is deprecated. Use year instead",sn),Oe.zone=F("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()})),Oe.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!N(this._isDSTShifted))return this._isDSTShifted;var t,n={};return L(n,this),(n=Jn(n))._a?(t=n._isUTC?G(n._a):Qn(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var e,i=Math.min(t.length,n.length),r=Math.abs(t.length-n.length),s=0;for(e=0;e<i;e++)ht(t[e])!==ht(n[e])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Be=$.prototype;function $e(t,n,e,i){var r=Wn(),s=G().set(i,n);return r[e](s,t)}function ze(t,n,e){if(x(t)&&(n=t,t=void 0),t=t||"",null!=n)return $e(t,n,e,"month");var i,r=[];for(i=0;i<12;i++)r[i]=$e(t,i,e,"month");return r}function qe(t,n,e,i){"boolean"==typeof t?(x(n)&&(e=n,n=void 0),n=n||""):(e=n=t,t=!1,x(n)&&(e=n,n=void 0),n=n||"");var r,s=Wn(),o=t?s._week.dow:0,a=[];if(null!=e)return $e(n,(e+o)%7,i,"day");for(r=0;r<7;r++)a[r]=$e(n,(r+o)%7,i,"day");return a}Be.calendar=function(t,n,e){var i=this._calendar[t]||this._calendar.sameElse;return Z(i)?i.call(n,e):i},Be.longDateFormat=function(t){var n=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return n||!e?n:(this._longDateFormat[t]=e.match(q).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Be.invalidDate=function(){return this._invalidDate},Be.ordinal=function(t){return this._ordinal.replace("%d",t)},Be.preparse=Ze,Be.postformat=Ze,Be.relativeTime=function(t,n,e,i){var r=this._relativeTime[e];return Z(r)?r(t,n,e,i):r.replace(/%d/i,t)},Be.pastFuture=function(t,n){var e=this._relativeTime[t>0?"future":"past"];return Z(e)?e(n):e.replace(/%s/i,n)},Be.set=function(t){var n,e;for(e in t)b(t,e)&&(Z(n=t[e])?this[e]=n:this["_"+e]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Be.eras=function(){var t,n,e,i=this._eras||Wn("en")._eras;for(t=0,n=i.length;t<n;++t)switch("string"==typeof i[t].since&&(e=D(i[t].since).startOf("day"),i[t].since=e.valueOf()),typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":e=D(i[t].until).startOf("day").valueOf(),i[t].until=e.valueOf()}return i},Be.erasParse=function(t,n,e){var i,r,s,o,a,u=this.eras();for(t=t.toUpperCase(),i=0,r=u.length;i<r;++i)if(s=u[i].name.toUpperCase(),o=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),e)switch(n){case"N":case"NN":case"NNN":if(o===t)return u[i];break;case"NNNN":if(s===t)return u[i];break;case"NNNNN":if(a===t)return u[i]}else if([s,o,a].indexOf(t)>=0)return u[i]},Be.erasConvertYear=function(t,n){var e=t.since<=t.until?1:-1;return void 0===n?D(t.since).year():D(t.since).year()+(n-t.offset)*e},Be.erasAbbrRegex=function(t){return b(this,"_erasAbbrRegex")||_e.call(this),t?this._erasAbbrRegex:this._erasRegex},Be.erasNameRegex=function(t){return b(this,"_erasNameRegex")||_e.call(this),t?this._erasNameRegex:this._erasRegex},Be.erasNarrowRegex=function(t){return b(this,"_erasNarrowRegex")||_e.call(this),t?this._erasNarrowRegex:this._erasRegex},Be.months=function(t,n){return t?Y(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Vt).test(n)?"format":"standalone"][t.month()]:Y(this._months)?this._months:this._months.standalone},Be.monthsShort=function(t,n){return t?Y(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Vt.test(n)?"format":"standalone"][t.month()]:Y(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Be.monthsParse=function(t,n,e){var i,r,s;if(this._monthsParseExact)return Kt.call(this,t,n,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=G([2e3,i]),e&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),e||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),e&&"MMMM"===n&&this._longMonthsParse[i].test(t))return i;if(e&&"MMM"===n&&this._shortMonthsParse[i].test(t))return i;if(!e&&this._monthsParse[i].test(t))return i}},Be.monthsRegex=function(t){return this._monthsParseExact?(b(this,"_monthsRegex")||en.call(this),t?this._monthsStrictRegex:this._monthsRegex):(b(this,"_monthsRegex")||(this._monthsRegex=Xt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Be.monthsShortRegex=function(t){return this._monthsParseExact?(b(this,"_monthsRegex")||en.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(b(this,"_monthsShortRegex")||(this._monthsShortRegex=Qt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Be.week=function(t){return dn(t,this._week.dow,this._week.doy).week},Be.firstDayOfYear=function(){return this._week.doy},Be.firstDayOfWeek=function(){return this._week.dow},Be.weekdays=function(t,n){var e=Y(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?ln(e,this._week.dow):t?e[t.day()]:e},Be.weekdaysMin=function(t){return!0===t?ln(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Be.weekdaysShort=function(t){return!0===t?ln(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Be.weekdaysParse=function(t,n,e){var i,r,s;if(this._weekdaysParseExact)return yn.call(this,t,n,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=G([2e3,1]).day(i),e&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),e&&"dddd"===n&&this._fullWeekdaysParse[i].test(t))return i;if(e&&"ddd"===n&&this._shortWeekdaysParse[i].test(t))return i;if(e&&"dd"===n&&this._minWeekdaysParse[i].test(t))return i;if(!e&&this._weekdaysParse[i].test(t))return i}},Be.weekdaysRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(b(this,"_weekdaysRegex")||(this._weekdaysRegex=vn),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Be.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(b(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Be.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(b(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Be.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Be.meridiem=function(t,n,e){return t>11?e?"pm":"PM":e?"am":"AM"},Hn("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===ht(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),D.lang=F("moment.lang is deprecated. Use moment.locale instead.",Hn),D.langData=F("moment.langData is deprecated. Use moment.localeData instead.",Wn);var Je=Math.abs;function Ve(t,n,e,i){var r=fe(n,e);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Qe(t){return t<0?Math.floor(t):Math.ceil(t)}function Xe(t){return 4800*t/146097}function Ke(t){return 146097*t/4800}function ti(t){return function(){return this.as(t)}}var ni=ti("ms"),ei=ti("s"),ii=ti("m"),ri=ti("h"),si=ti("d"),oi=ti("w"),ai=ti("M"),ui=ti("Q"),hi=ti("y");function di(t){return function(){return this.isValid()?this._data[t]:NaN}}var ci=di("milliseconds"),li=di("seconds"),fi=di("minutes"),mi=di("hours"),pi=di("days"),vi=di("months"),gi=di("years"),wi=Math.round,yi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Di(t,n,e,i,r){return r.relativeTime(n||1,!!e,t,i)}var Yi=Math.abs;function Mi(t){return(t>0)-(t<0)||+t}function bi(){if(!this.isValid())return this.localeData().invalidDate();var t,n,e,i,r,s,o,a,u=Yi(this._milliseconds)/1e3,h=Yi(this._days),d=Yi(this._months),c=this.asSeconds();return c?(t=ut(u/60),n=ut(t/60),u%=60,t%=60,e=ut(d/12),d%=12,i=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=Mi(this._months)!==Mi(c)?"-":"",o=Mi(this._days)!==Mi(c)?"-":"",a=Mi(this._milliseconds)!==Mi(c)?"-":"",r+"P"+(e?s+e+"Y":"")+(d?s+d+"M":"")+(h?o+h+"D":"")+(n||t||u?"T":"")+(n?a+n+"H":"")+(t?a+t+"M":"")+(u?a+i+"S":"")):"P0D"}var Si=ee.prototype;Si.isValid=function(){return this._isValid},Si.abs=function(){var t=this._data;return this._milliseconds=Je(this._milliseconds),this._days=Je(this._days),this._months=Je(this._months),t.milliseconds=Je(t.milliseconds),t.seconds=Je(t.seconds),t.minutes=Je(t.minutes),t.hours=Je(t.hours),t.months=Je(t.months),t.years=Je(t.years),this},Si.add=function(t,n){return Ve(this,t,n,1)},Si.subtract=function(t,n){return Ve(this,t,n,-1)},Si.as=function(t){if(!this.isValid())return NaN;var n,e,i=this._milliseconds;if("month"===(t=it(t))||"quarter"===t||"year"===t)switch(e=this._months+Xe(n=this._days+i/864e5),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(n=this._days+Math.round(Ke(this._months)),t){case"week":return n/7+i/6048e5;case"day":return n+i/864e5;case"hour":return 24*n+i/36e5;case"minute":return 1440*n+i/6e4;case"second":return 86400*n+i/1e3;case"millisecond":return Math.floor(864e5*n)+i;default:throw new Error("Unknown unit "+t)}},Si.asMilliseconds=ni,Si.asSeconds=ei,Si.asMinutes=ii,Si.asHours=ri,Si.asDays=si,Si.asWeeks=oi,Si.asMonths=ai,Si.asQuarters=ui,Si.asYears=hi,Si.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN},Si._bubble=function(){var t,n,e,i,r,s=this._milliseconds,o=this._days,a=this._months,u=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Qe(Ke(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=ut(s/1e3),u.seconds=t%60,n=ut(t/60),u.minutes=n%60,e=ut(n/60),u.hours=e%24,o+=ut(e/24),a+=r=ut(Xe(o)),o-=Qe(Ke(r)),i=ut(a/12),a%=12,u.days=o,u.months=a,u.years=i,this},Si.clone=function(){return fe(this)},Si.get=function(t){return t=it(t),this.isValid()?this[t+"s"]():NaN},Si.milliseconds=ci,Si.seconds=li,Si.minutes=fi,Si.hours=mi,Si.days=pi,Si.weeks=function(){return ut(this.days()/7)},Si.months=vi,Si.years=gi,Si.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var e,i,r=!1,s=yi;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},yi,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),i=function(t,n,e,i){var r=fe(t).abs(),s=wi(r.as("s")),o=wi(r.as("m")),a=wi(r.as("h")),u=wi(r.as("d")),h=wi(r.as("M")),d=wi(r.as("w")),c=wi(r.as("y")),l=s<=e.ss&&["s",s]||s<e.s&&["ss",s]||o<=1&&["m"]||o<e.m&&["mm",o]||a<=1&&["h"]||a<e.h&&["hh",a]||u<=1&&["d"]||u<e.d&&["dd",u];return null!=e.w&&(l=l||d<=1&&["w"]||d<e.w&&["ww",d]),(l=l||h<=1&&["M"]||h<e.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,l[3]=+t>0,l[4]=i,Di.apply(null,l)}(this,!r,s,e=this.localeData()),r&&(i=e.pastFuture(+this,i)),e.postformat(i)},Si.toISOString=bi,Si.toString=bi,Si.toJSON=bi,Si.locale=Me,Si.localeData=Se,Si.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bi),Si.lang=be,X("X",0,0,"unix"),X("x",0,0,"valueOf"),Gt("x",xt),Gt("X",/[+-]?\d+(\.\d{1,3})?/),Wt("X",(function(t,n,e){e._d=new Date(1e3*parseFloat(t))})),Wt("x",(function(t,n,e){e._d=new Date(ht(t))})),
10
+ //! moment.js
11
+ D.version="2.29.4",w=Qn,D.fn=Oe,D.min=function(){return te("isBefore",[].slice.call(arguments,0))},D.max=function(){return te("isAfter",[].slice.call(arguments,0))},D.now=function(){return Date.now?Date.now():+new Date},D.utc=G,D.unix=function(t){return Qn(1e3*t)},D.months=function(t,n){return ze(t,n,"months")},D.isDate=k,D.locale=Hn,D.invalid=_,D.duration=fe,D.isMoment=U,D.weekdays=function(t,n,e){return qe(t,n,e,"weekdays")},D.parseZone=function(){return Qn.apply(null,arguments).parseZone()},D.localeData=Wn,D.isDuration=ie,D.monthsShort=function(t,n){return ze(t,n,"monthsShort")},D.weekdaysMin=function(t,n,e){return qe(t,n,e,"weekdaysMin")},D.defineLocale=_n,D.updateLocale=function(t,n){if(null!=n){var e,i,r=xn;null!=kn[t]&&null!=kn[t].parentLocale?kn[t].set(B(kn[t]._config,n)):(null!=(i=In(t))&&(r=i._config),n=B(r,n),null==i&&(n.abbr=t),(e=new $(n)).parentLocale=kn[t],kn[t]=e),Hn(t)}else null!=kn[t]&&(null!=kn[t].parentLocale?(kn[t]=kn[t].parentLocale,t===Hn()&&Hn(t)):null!=kn[t]&&delete kn[t]);return kn[t]},D.locales=function(){return R(kn)},D.weekdaysShort=function(t,n,e){return qe(t,n,e,"weekdaysShort")},D.normalizeUnits=it,D.relativeTimeRounding=function(t){return void 0===t?wi:"function"==typeof t&&(wi=t,!0)},D.relativeTimeThreshold=function(t,n){return void 0!==yi[t]&&(void 0===n?yi[t]:(yi[t]=n,"s"===t&&(yi.ss=n-1),!0))},D.calendarFormat=function(t,n){var e=t.diff(n,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},D.prototype=Oe,D.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Ni=class{constructor(e){t(this,e),this.showMoreGamesEvent=n(this,"showMoreGames",7),this.backFromPowerupDetailEvent=n(this,"backFromPowerupDetail",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.pid=void 0,this.powerupId=void 0,this.isPowering=!1,this.isValidForGame=void 0,this.powerUp=null,this.powerUpGames=void 0,this.isLoading=!0,this.isLoadingGames=!0,this.limit=20,this.showConfirmModal=!1,this.activeMessage=void 0,this.showToasting=!1}showPowerupDetailsHandler(t){this.pid=t.detail.id}activePowerupHandler(t){this.showConfirmModal=!1,t.detail.id===this.pid&&this.activePowerUp(this.powerUp)}async loadPowerUpById(){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`),n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};t.searchParams.append("filter",`id=${this.pid}`),Object.entries(f).forEach((([n,e])=>{t.searchParams.append(n,e)}));const e=await fetch(t.href,n);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const{data:i}=await e.json();i.length&&(this.powerUp=i[0],this.powerUpGames=this.powerUp.games,this.powerupId=this.powerUp.powerUpID),this.loadGamesByPID()}catch(t){console.error("Failed to load Power-ups:",t),4003===t.errorCode&&window.postMessage({type:t.errorMessage})}finally{this.isLoading=!1}}}async loadGamesByPID(){var t,n,e,i,r,s;if(this.endpoint&&this.session&&this.powerupId){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${(null===(n=null===(t=this.powerUpGames)||void 0===t?void 0:t.items)||void 0===n?void 0:n.length)||0})`),s={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(m).forEach((([t,n])=>{r.searchParams.append(t,n)})),r.searchParams.append("language",this.language);const o=await fetch(r,s);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);const a=await o.json();this.powerUpGames=Object.assign(Object.assign({},this.powerUpGames),{items:[...(null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||[],...(null===(i=a.games)||void 0===i?void 0:i.items)||[]]})}catch(t){"AbortError"!==t.name&&console.error("Failed to load more games:",t)}finally{(null===(s=null===(r=this.abortController)||void 0===r?void 0:r.signal)||void 0===s?void 0:s.aborted)||(this.isLoadingGames=!1)}}}onActivateBtnClick(){this.isPowering||this.isLoading||!this.isValidForGame||(this.showConfirmModal=!0)}async activePowerUp(t){if(!this.endpoint||!this.session||t.status===l.ACTIVATING||this.isPowering)return;const n=t.status;t.status=l.ACTIVATING,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const e=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:t.id})};const r=await fetch(e.href,i);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);const s=await r.json();(null==s?void 0:s.success)?this.powerUp=Object.assign(Object.assign({},t),{status:l.ACTIVATED,activatedAt:D(new Date).format("YYYY-MM-DD HH:mm:ssZ")}):(t.status=n,console.error(s.errorMessage)),this.showMessage({isSuccessed:s.success,info:h(s.success?"activeSuccess":"activeError",this.language),detail:s.errorMessage})}catch(e){t.status=n,this.showMessage({isSuccessed:!1,info:e.errorMessage}),console.error(e)}}showMessage(t){this.activeMessage=t,this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1}),2e3)}onGameClick(t){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:t.slug}})}showMoreGames(){this.showMoreGamesEvent.emit(this.powerUp.id)}backTo(){this.backFromPowerupDetailEvent.emit()}render(){var t,n,i,r,s,o;return e("div",{key:"82a743fbda08f6da0212461cb9f212cee98b9c7d",class:`IngamePowerUpDetailContainer ${this.isPowering?"Powering":"UnPowering"}\n ${this.isValidForGame?"ValidForGame":"NotValidForGame"} Status_${null===(t=this.powerUp)||void 0===t?void 0:t.status} `,ref:t=>this.stylingContainer=t},e("div",{key:"4c03c07fcf88443f2af8250db83ba816f8c6a9d2",class:"MainContainer "+(this.showConfirmModal?"Hidden":"")},e("div",{key:"1fd2b135425a82e585872fa6d221d3307629c257",class:"TopBar"},e("div",{key:"eecb290e0f25a71e5c6e1cadb532c7d11e09ac52",onClick:this.backTo.bind(this),class:"ReturnIcon CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),e("div",{key:"d04fcfdcfe21e0eae05b6148baa1c8f50347a284",class:"Title"}," ",(null===(n=this.powerUp)||void 0===n?void 0:n.powerUpName)||""," ")),this.isLoading?e("div",{class:"Loading"},e("smart-loader",null)):null==this.powerUp?e("div",{class:"NoData"},"No data found "):e("div",{class:"DetailInfo"},e("div",{class:"Description"},this.powerUp.description),e("div",{class:"MultiplierContainer Card CircleLinearBorder"},e("div",{class:"FlexRow CircleInner"},e("div",{class:"Duration"},e("div",{class:"Label"}," ",h("duration",this.language)," "),e("div",{class:"Value"},e("span",null," ",this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"]),e("span",null," ",h("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":this.powerUp.boostingPeriod.numberOfRounds>1?"rounds":"round")))),e("div",{class:"Multiplier"},e("div",{class:"Label"}," ",h("multiplier",this.language)," "),e("div",{class:"Value"},this.powerUp.multiplier.coefficient,"x ",h("coins"===this.powerUp.multiplier.mode?"coins":"xp"))),e("div",{class:"ExpireTime"},e("div",{class:"Label"}," ",h(this.powerUp.status===l.ACTIVATED?"endsIn":"endDate",this.language)," "),e("div",{class:"Value"},this.powerUp.status===l.ACTIVATED&&this.powerUp.boostingPeriod.mode===c.NUMBER_OF_ROUNDS?e("div",{class:"LeftRounds"},e("span",null,this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds," "),e("span",null," ",h(this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds>1?"rounds":"round",this.language))):e("time-count-detail",{pid:this.powerUp.id,page:"detail","expire-time":(o=this.powerUp,o.activatedAt&&o.status==l.ACTIVATED?g(o.activatedAt).add(o.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):o.expireTime),lang:this.language}))))),e("div",{class:"TermsUrl"},e("div",{class:"Label"},this.powerUp.termsUrl?[e("a",{href:this.powerUp.termsUrl,target:"_blank"},h("termsAndConditions",this.language)),e("div",{class:"GoToOpenIcon",innerHTML:p})]:e("div",null,h("termsAndConditions",this.language),e("div",{class:"GoToOpenIcon",innerHTML:p}))),e("div",{class:"TextContent"},h("playResponsibly",this.language))),e("div",{class:"GamesWrapper Card CircleLinearBorder"},e("div",{class:"CircleInner"},e("div",{class:"FlexRow GamesHeader"},e("div",{class:"RowLeft"},e("div",{class:"GamesTitle"}," ",h("games",this.language)," "),e("div",{class:"GamesTotal TextContent"},"( ",this.powerUp.games.total," )")),e("div",{class:"RowRight",onClick:this.showMoreGames.bind(this)},e("div",{class:"TextContent"},h("seeAll",this.language)),e("div",{class:"DetailIcon"},e("div",{innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})))),e("div",{class:"Games FlexRow"},e("div",{class:"Container"},this.powerUp.games.total&&this.powerUp.games.items.map((t=>e("div",{class:"Game"},e("ui-image",{src:t.thumbnail,onClick:this.onGameClick.bind(this,t)}),e("div",{class:"GameMask",onClick:this.onGameClick.bind(this,t)},e("div",{class:"GameStartBtn"},e("div",{class:"PlayIcon"}),e("span",null,h("playNow",this.language))))))))))))),this.powerUp&&this.powerUp.status!=l.ACTIVATED&&e("div",{key:"c7e6846585f6274e1b69d54ad77c377a3e20fdca",class:"BottomBar FlexRow "+(this.showConfirmModal?"Hidden":"")},e("div",{key:"2ff9aae76204fc44c86c515f323f23d23acbc878",class:"ActiveTips"}," ",h(this.isPowering?"poweringTooltip":"activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===l.ACTIVE||this.powerUp.status===l.ACTIVATING)&&e("div",{key:"332e3923f9e8b523efb453880a15d04b9866d938",class:`ActiveBtn CircleLinearBorder ${this.isPowering||!this.isValidForGame?"Disabled":""} ${this.powerUp.status===l.ACTIVATING?"Activating":""}`,onClick:this.onActivateBtnClick.bind(this,this.powerUp)},e("div",{key:"e177638fdb12759ce293d5274da756d0ff9cd589",class:"content"}," ",h("activate",this.language)))),this.showConfirmModal&&e("active-confirm-modal",{key:"ea27c8935411fb10f86a37e3bca01a0e3acbf6f8","is-open":!0,pid:this.pid,language:this.language}),e("div",{key:"3a0d3d94e9e2b64acce7964e0eb1dbf040a5dcf6",class:`ToastWrapper ${this.showToasting?"Shown":"Hidden"} ${(null===(i=this.activeMessage)||void 0===i?void 0:i.isSuccessed)?"Success":"Failed"}`},e("div",{key:"6e7b5a3333cc8a90cec83218181471e992b5909e",class:"Details"},e("span",{key:"7c44e2773b5363900e1b347d23e4f6f68d33753c",class:"Info"},null===(r=this.activeMessage)||void 0===r?void 0:r.info),(null===(s=this.activeMessage)||void 0===s?void 0:s.detail)&&e("span",{key:"3156e14c96bf4101076ce9cdc62590203551e881",class:"Detail"}," - [ ",this.activeMessage.detail," ]"))))}handleClientStylingChange(t,n){t!=n&&r(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,n){t!=n&&s(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(t,n){t!=n&&o(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&o(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&r(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.timerId&&clearTimeout(this.timerId)}handleNewTranslations(){u(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await u(this.translationUrl),this.loadPowerUpById()}static get watchers(){return{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};Ni.style=':host{display:block;height:100%}.IngamePowerUpDetailContainer{gap:5px;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);height:100%;justify-content:space-between;flex-direction:column}.IngamePowerUpDetailContainer .Hidden{opacity:0 !important;transition:opacity 0.5s ease-in-out}.IngamePowerUpDetailContainer .ToastWrapper{position:absolute;width:80%;display:flex;gap:10px;align-items:center;opacity:0;z-index:1000;transition:opacity 0.5s ease-out;bottom:10px;right:10px;height:40px;border-top-left-radius:8px;border-bottom-left-radius:8px;border-width:1px;padding:8px 15px}.IngamePowerUpDetailContainer .ToastWrapper.Shown{opacity:1}.IngamePowerUpDetailContainer .ToastWrapper.Hidden{opacity:0;z-index:-1;display:inherit}.IngamePowerUpDetailContainer .ToastWrapper.Failed,.IngamePowerUpDetailContainer .ToastWrapper.Success{padding:10px;border-radius:10px;background:linear-gradient(180deg, #262849 0%, #191B31 50%, #16102A 100%)}.IngamePowerUpDetailContainer .ToastWrapper.Success{border:1px solid;border-image-source:linear-gradient(94.32deg, var(--emw--ingame-color-pth-primary1, #9500FF) 4.41%, var(--emw--ingame-color-pth-primary2, #232EC4) 113.86%)}.IngamePowerUpDetailContainer .ToastWrapper.Failed{border:1px solid var(--emw--ingame-color-light-red, #FF4D4F)}.IngamePowerUpDetailContainer .CircleLinearBorder{position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpDetailContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpDetailContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpDetailContainer .FlexRow{display:flex;flex-direction:row;width:100%}.IngamePowerUpDetailContainer .FlexRow .RowLeft,.IngamePowerUpDetailContainer .FlexRow .RowRight{display:flex;flex-direction:row;align-items:center}.IngamePowerUpDetailContainer .NoData,.IngamePowerUpDetailContainer .Loading{padding:15px}.IngamePowerUpDetailContainer .MainContainer{padding:15px;opacity:1}.IngamePowerUpDetailContainer .MainContainer.Hidden{opacity:0}.IngamePowerUpDetailContainer .TopBar{display:flex;align-items:center;padding:0}.IngamePowerUpDetailContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpDetailContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpDetailContainer .TopBar .Title{font-weight:600;font-size:1.2rem;line-height:100%;text-align:center;vertical-align:middle;flex:1;color:var(--emw--ingame-color-neutural-95, #EDEFF2);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpDetailContainer .DetailInfo .Description,.IngamePowerUpDetailContainer .DetailInfo .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpDetailContainer .DetailInfo .Card{margin-top:20px;width:100%;height:74px;color:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));backdrop-filter:blur(22.9411773682px);display:flex;flex-direction:row;align-content:space-around;text-align:center}.IngamePowerUpDetailContainer .DetailInfo .Card .Label{color:var(--emw--ingame-color-neutural-95, #C9CACB)}.IngamePowerUpDetailContainer .DetailInfo .Card .Value{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .CircleLinearBorder::before{background:linear-gradient(0deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.1568627451)), var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.07))), linear-gradient(358deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.15)) 33.61%, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.11)) 89.19%);top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:21px}.IngamePowerUpDetailContainer .DetailInfo .CircleInner{background-color:var(--emw--ingame-color-neutural, rgba(9, 9, 9, 0.5019607843));width:calc(100% - 31px);border-radius:19px;z-index:1;padding:15px;height:calc(100% - 32px);align-items:center;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a .GoToOpenIcon{margin-left:10px;display:inline}.IngamePowerUpDetailContainer .DetailInfo .Card.MultiplierContainer{width:100%}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper{height:126px;flex-direction:column;display:flex;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader{justify-content:space-between}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowLeft{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .GamesTitle{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight .DetailIcon{height:23px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Games{width:100%;overflow:Hidden}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Container{width:fit-content;display:flex}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game{height:60px;width:85px;margin:10px;position:relative}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%;font-size:0.85rem;color:var(--emw--ingame-color-text, #fff)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpDetailContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpDetailContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpDetailContainer .ActiveBtn.Disabled:hover,.IngamePowerUpDetailContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpDetailContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpDetailContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpDetailContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}.IngamePowerUpDetailContainer .BottomBar{width:calc(100% - 30px);height:60px;opacity:1;gap:8px;padding:15px;background:rgba(9, 9, 9, 0.8);border-top:2px solid;border-image-source:linear-gradient(89.94deg, var(--emw--ingame-color-powerup-primary2, #003E5C) 0.05%, var(--emw--ingame-color-powerup-primary1, #113B21) 87.69%);backdrop-filter:blur(32.1176490784px);border-image-slice:1;align-items:center;border-radius:0 0 20px 20px}.IngamePowerUpDetailContainer .BottomBar.Hidden{opacity:0}';export{Ni as B,D as h,h as t}
@@ -1 +1 @@
1
- import{p as e,b as i}from"./index-b0d6c89f.js";export{s as setNonce}from"./index-b0d6c89f.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((async e=>(await t(),i([["bonus-powerups-ingame-detail_5",[[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[514],powerupId:[513,"powerup-id"],isPowering:[516,"is-powering"],isValidForGame:[516,"is-valid-for-game"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32],showConfirmModal:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"smart-loader"],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
1
+ import{p as e,b as i}from"./index-b0d6c89f.js";export{s as setNonce}from"./index-b0d6c89f.js";import{g as a}from"./app-globals-0f993ce5.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((async e=>(await a(),i([["bonus-powerups-ingame-detail_5",[[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[514],powerupId:[513,"powerup-id"],isPowering:[516,"is-powering"],isValidForGame:[516,"is-valid-for-game"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32],showConfirmModal:[32],activeMessage:[32],showToasting:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"smart-loader"],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],page:[513],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
@@ -1 +1 @@
1
- import{h as e,t}from"./bonus-powerups-ingame-detail-5c496211.js";export{B as bonus_powerups_ingame_detail}from"./bonus-powerups-ingame-detail-5c496211.js";import{r as i,h as s,c as n,H as a,g as r}from"./index-b0d6c89f.js";const o=class{constructor(e){i(this,e)}render(){return s("div",{key:"a83aa98cb8a07943ed48b66af6478e8edcf84e83",class:"smart-loader"},s("div",{key:"a2192fc53e7436de4e46e9eb9141cad569b1ecb4",class:"smart-item"}),s("div",{key:"f71c8489a78652840bc39f60b5e445af1d4c676f",class:"smart-item"}),s("div",{key:"db246a12ef00b6ed9fb504ec68a21cf582a4636d",class:"smart-item"}))}};o.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const l=class{constructor(e){i(this,e),this.timeCountDownEvent=n(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const i=e(),s=e(this.expireTime);if(!s.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const n=e.duration(s.diff(i));if(this.isExpireInDay1=!0,this.timeLeft=n.asMinutes(),n.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:0,pid:this.pid});const a=Math.floor(n.asHours());if(a>=48)this.displayTime=`${Math.floor(n.asDays())} ${t("days",this.language)}`;else if(a>=24)this.displayTime="1 day";else{const e=a,t=n.minutes(),i=n.seconds();this.displayTime=[e,t,i].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&s("span",{key:"ea6c84c65bcf2df9f2b59d332cbb9f7b29c51c9c",class:"Label"},t("expiresIn",this.language)," "),s("span",{key:"675b6b81aa1388fe1d9d6231931e5fa32c0a998e",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},h=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return s(a,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&s("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),s("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};h.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const c=class{constructor(e){i(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return s("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return s("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>s("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return s(a,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},s("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};c.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{o as smart_loader,l as time_count_detail,h as ui_image,c as ui_skeleton}
1
+ import{h as e,t}from"./bonus-powerups-ingame-detail-d09fecb4.js";export{B as bonus_powerups_ingame_detail}from"./bonus-powerups-ingame-detail-d09fecb4.js";import{r as i,h as s,c as n,H as a,g as r}from"./index-b0d6c89f.js";const o=class{constructor(e){i(this,e)}render(){return s("div",{key:"5bbbb1166faa01bd23bbb4a692b7cef0f878102e",class:"smart-loader"},s("div",{key:"b62dbeadb2ff02fdc29ceeb31ebe442f66c35572",class:"smart-item"}),s("div",{key:"b7152fb4439c2853c64ba4aad8b405452a2ea042",class:"smart-item"}),s("div",{key:"9d471334457132745758512e0619dba41dd74ce0",class:"smart-item"}))}};o.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const l=class{constructor(e){i(this,e),this.timeCountDownEvent=n(this,"powerDetailTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.page="default",this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const i=e(),s=e(this.expireTime);if(!s.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const n=e.duration(s.diff(i));if(this.isExpireInDay1=!0,this.timeLeft=n.asMinutes(),n.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:0,pid:this.pid});const a=Math.floor(n.asHours());if(a>=48)this.displayTime=`${Math.floor(n.asDays())} ${t("days",this.language)}`;else if(a>=24)this.displayTime="1 day";else{const e=a,t=n.minutes(),i=n.seconds();this.displayTime=[e,t,i].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&s("span",{key:"3ed6721a8e6f35e9bb520115270d4e5c6b9a6f7e",class:"Label"},t("expiresIn",this.language)," "),s("span",{key:"43488d9863473e1ee5b9cbec1d6b4124b2a75281",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},h=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return s(a,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&s("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),s("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};h.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const c=class{constructor(e){i(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return s("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return s("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>s("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return s(a,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},s("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};c.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{o as smart_loader,l as time_count_detail,h as ui_image,c as ui_skeleton}
@@ -1 +1 @@
1
- export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-5c496211.js";import"./index-b0d6c89f.js";
1
+ export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-d09fecb4.js";import"./index-b0d6c89f.js";