mirror of
https://github.com/osmarks/website
synced 2024-12-25 09:30:31 +00:00
4 lines
56 KiB
JavaScript
4 lines
56 KiB
JavaScript
|
// Moment.js 2.24.0
|
||
|
// MIT-licensed
|
||
|
(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t():typeof define==="function"&&define.amd?define(t):e.moment=t()})(this,function(){"use strict";var t;function l(){return t.apply(null,arguments)}function e(e){t=e}function a(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function o(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function u(e){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(e).length===0}else{var t;for(t in e){if(e.hasOwnProperty(t)){return false}}return true}}function s(e){return e===void 0}function f(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function r(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function n(e,t){var n=[],i;for(i=0;i<e.length;++i){n.push(t(e[i],i))}return n}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t){if(d(t,n)){e[n]=t[n]}}if(d(t,"toString")){e.toString=t.toString}if(d(t,"valueOf")){e.valueOf=t.valueOf}return e}function c(e,t,n,i){return zn(e,t,n,i,true).utc()}function i(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],meridiem:null,rfc2822:false,weekdayMismatch:false}}function m(e){if(e._pf==null){e._pf=i()}return e._pf}var _;if(Array.prototype.some){_=Array.prototype.some}else{_=function(e){var t=Object(this);var n=t.length>>>0;for(var i=0;i<n;i++){if(i in t&&e.call(this,t[i],i,t)){return true}}return false}}function y(e){if(e._isValid==null){var t=m(e);var n=_.call(t.parsedDateParts,function(e){return e!=null});var i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict){i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined}if(Object.isFrozen==null||!Object.isFrozen(e)){e._isValid=i}else{return i}}return e._isValid}function v(e){var t=c(NaN);if(e!=null){h(m(t),e)}else{m(t).userInvalidated=true}return t}var g=l.momentProperties=[];function p(e,t){var n,i,r;if(!s(t._isAMomentObject)){e._isAMomentObject=t._isAMomentObject}if(!s(t._i)){e._i=t._i}if(!s(t._f)){e._f=t._f}if(!s(t._l)){e._l=t._l}if(!s(t._strict)){e._strict=t._strict}if(!s(t._tzm)){e._tzm=t._tzm}if(!s(t._isUTC)){e._isUTC=t._isUTC}if(!s(t._offset)){e._offset=t._offset}if(!s(t._pf)){e._pf=m(t)}if(!s(t._locale)){e._locale=t._locale}if(g.length>0){for(n=0;n<g.length;n++){i=g[n];r=t[i];if(!s(r)){e[i]=r}}}return e}var w=false;function M(e){p(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(w===false){w=true;l.updateOffset(this);w=false}}function k(e){return e instanceof M||e!=null&&e._isAMomentObject!=null}function S(e){if(e<0){return Math.ceil(e)||0}else{return Math.floor(e)}}function D(e){var t=+e,n=0;if(t!==0&&isFinite(t)){n=S(t)}return n}function Y(e,t,n){var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0,a;for(a=0;a<i;a++){if(n&&e[a]!==t[a]||!n&&D(e[a])!==D(t[a])){s++}}return s+r}function O(e){if(l.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+e)}}function T(r,s){var a=true;return h(function(){if(l.deprecationHandler!=null){l.deprecationHandler(null,r)}if(a){var e=[];var t;for(var n=0;n<arguments.length;n++){t="";if(typeof arguments[n]==="object"){t+="\n["+n+"] ";for(var i in arguments[0]){t+=i+": "+arguments[0][i]+", "}t=t.slice(0,-2)}else{t=arguments[n]}e.push(t)}O(r+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);a=false}return s.apply(this,arguments)},s)}var b={};function x(e,t){if(l.deprecationHandler!=null){l.deprecationHandler(e,t)}if(!b[e]){O(t);b[e]=true}}l.suppressDeprecationWarnings=false;l.deprecationHandler=null;function P(e){return e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}
|