//! moment.js
//! version : 2.8.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com

var VERSION = '2.8.3';

import "./duration/all";
import "./locale/all";
import "./moment/all";
import "./units/all";

import { deprecate } from "./utils/deprecate";

import createLocal from "./create/local";
import createUTC from "./create/utc";
import { createInvalid } from "./create/valid";

import { createDuration } from "./duration/create";

import { isMoment, momentPrototype } from "./moment/constructor";
import { isDuration } from "./duration/constructor";

import { normalizeUnits } from "./units/aliases";

import { min, max } from "./moment/min-max";

import { getSetRelativeTimeThreshold } from "./duration/humanize";

import { getSetGlobalLocale, defineLocale, getLocale } from "./locale/locales";
import { listMonths, listMonthsShort, listWeekdays, listWeekdaysShort, listWeekdaysMin } from "./locale/lists";

import { hooks as moment, setHookCallback } from "./utils/hooks";

setHookCallback(createLocal);

// creating with utc
moment.utc = createUTC;

// creating with unix timestamp (in seconds)
moment.unix = function (input) {
    return createLocal(input * 1000);
};

// duration
moment.duration = createDuration;

// version number
moment.version = VERSION;

moment.relativeTimeThreshold = getSetRelativeTimeThreshold;

moment.locale       = getSetGlobalLocale;
moment.defineLocale = defineLocale;
moment.localeData   = getLocale;
moment.lang         = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);
moment.langData     = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);

moment.isMoment   = isMoment;
moment.isDuration = isDuration;

moment.min = min;
moment.max = max;

moment.months        = listMonths;
moment.monthsShort   = listMonthsShort;
moment.weekdays      = listWeekdays;
moment.weekdaysShort = listWeekdaysShort;
moment.weekdaysMin   = listWeekdaysMin;

moment.normalizeUnits = normalizeUnits;

moment.invalid = createInvalid;
moment.fn = momentPrototype();

moment.parseZone = function () {
    return createLocal.apply(null, arguments).parseZone();
};

export { moment };
export default moment;

@@ -469,25 +469,24 @@
 on/create%22;%0A
-%0A
 import %7B isM
@@ -488,31 +488,16 @@
 %7B is
-Moment, momentPrototype
+Duration
  %7D f
@@ -503,22 +503,24 @@
 from %22./
-moment
+duration
 /constru
@@ -531,34 +531,51 @@
 %22;%0Aimport %7B 
-isDuration
+getSetRelativeTimeThreshold
  %7D from %22./d
@@ -582,27 +582,24 @@
 uration/
-constructor
+humanize
 %22;%0A%0Aimpo
@@ -658,16 +658,33 @@
 t %7B 
-min, max
+isMoment, momentPrototype
  %7D f
@@ -701,19 +701,22 @@
 ent/
-min-max
+constructor
 %22;%0A
-%0A
 impo
@@ -724,63 +724,41 @@
 t %7B 
-getSetRelativeTimeThreshold %7D from %22./duration/humanize
+min, max %7D from %22./moment/min-max
 %22;%0A%0A

Reorganize imports