Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

celia

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celia - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

array/chunk-479d732e.js

32

array.js
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -34,15 +34,14 @@ * Released under the MIT License.

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function grep (elems, callback, isOpposite) {
var matches = [];
if (elems) {
var i = 0;
var length = elems.length;
isOpposite = !!isOpposite;
for (; i < length; i++) {
if (!callback(elems[i], i) === isOpposite) {
matches[matches.length] = elems[i];
}
isOpposite = !!isOpposite;
forEach$1(elems, function (elem, i) {
if (!callback(elem, i) === isOpposite) {
append$1(matches, elem);
}
}
});
return matches;

@@ -72,8 +71,7 @@ }

function join (first, second) {
var len = +second.length;
var i = first.length;
for (var j = 0; j < len; j++) {
first[i++] = second[j];
}
forEach$1(second, function (elem) {
first[i++] = elem;
});

@@ -149,6 +147,2 @@ // 如果first是arrayLike, 那就需要手动更新长度

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function map (elems, callback, context) {

@@ -155,0 +149,0 @@ var ret = [];

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(n=n||self).celia=r()}(this,function(){"use strict";function i(n,r){return r?n.bind(r):n}function e(n,r,t){for(var e=i(r,t),u=0,o=n.length,f=void 0;!1!==f&&u<o;u++)f=e(n[u],u,n)}function u(n,r,t){if(r){if(r.indexOf)return r.indexOf(n,t);for(var e=r.length,u=t?t<0?Math.max(0,e+t):t:0;u<e;u++)if(u in r&&r[u]===n)return u}return-1}function o(n,r){for(var t=+r.length,e=n.length,u=0;u<t;u++)n[e++]=r[u];return n.length=e,n}function f(n){return null==n}function c(n){return"number"==typeof n}function a(n){return!f(n)&&c(n.length)&&!("function"==typeof n)}var l=Array.prototype.push;function p(n,r,t){n&&(a(n)?e(n,r,t):c(n)?function(n,r,t){for(var e=i(r,t),u=0,o=void 0;!1!==o&&u<n;u++)o=e(u,u,u)}(n,r,t):function(n,r,t){var e=i(r,t);for(var u in n)if(!1===e(n[u],u,n))break}(n,r,t))}function v(n,r){return n.splice(r,1),r}return{append:function(n,r){if(n)return n[n.length]=r},forEach:function(n,r,t){return n&&e(n,r,t)},grep:function(n,r,t){var e=[];if(n){var u=0,o=n.length;for(t=!!t;u<o;u++)!r(n[u],u)===t&&(e[e.length]=n[u])}return e},inArray:u,includes:function(n,r){return-1!==u(r,n)},join:o,makeArray:function(n,r){var t=r||[];return n&&(a(Object(n))?o(t,"string"==typeof n?[n]:n):t.push?t.push(n):l.call(t,n)),t},map:function(n,r,t){var e=[],u=i(r,t);return p(n,function(n){var r,t;f(n=u(n))||(t=n,(r=e)[r.length]=t)}),e},remove:function(n,r){var t=u(r,n);return 0<=t?(v(n,t),r):null},removeAt:v,toArray:function(n){return n&&[].concat(n)}}});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t()}(this,function(){"use strict";function f(n,t){return t?n.bind(t):n}function e(n,t,r){for(var e=f(t,r),u=0,o=n.length,i=void 0;!1!==i&&u<o;u++)i=e(n[u],u,n)}function o(n,t,r){return n&&e(n,t,r)}function i(n,t){n[n.length]=t}function u(n,t,r){if(t){if(t.indexOf)return t.indexOf(n,r);for(var e=t.length,u=r?r<0?Math.max(0,e+r):r:0;u<e;u++)if(u in t&&t[u]===n)return u}return-1}function c(t,n){var r=t.length;return o(n,function(n){t[r++]=n}),t.length=r,t}function a(n){return null==n}function l(n){return"number"==typeof n}function p(n){return!a(n)&&l(n.length)&&!("function"==typeof n)}var d=Array.prototype.push;function v(n,t,r){n&&(p(n)?e(n,t,r):l(n)?function(n,t,r){for(var e=f(t,r),u=0,o=void 0;!1!==o&&u<n;u++)o=e(u,u,u)}(n,t,r):function(n,t,r){var e=f(t,r);for(var u in n)if(!1===e(n[u],u,n))break}(n,t,r))}function h(n,t){return n.splice(t,1),t}return{append:function(n,t){if(n)return n[n.length]=t},forEach:o,grep:function(n,r,e){var u=[];return e=!!e,o(n,function(n,t){!r(n,t)===e&&i(u,n)}),u},inArray:u,includes:function(n,t){return-1!==u(t,n)},join:c,makeArray:function(n,t){var r=t||[];return n&&(p(Object(n))?c(r,"string"==typeof n?[n]:n):r.push?r.push(n):d.call(r,n)),r},map:function(n,t,r){var e=[],u=f(t,r);return v(n,function(n){a(n=u(n))||i(e,n)}),e},remove:function(n,t){var r=u(t,n);return 0<=r?(h(n,r),t):null},removeAt:h,toArray:function(n){return n&&[].concat(n)}}});
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-7ad506f8.js");function forEach(r,c,u){return r&&__chunk_1.forEach(r,c,u)}module.exports=forEach;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js");module.exports=__chunk_2.forEach;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";function grep(r,e,t){var n=[];if(r){var g=0,o=r.length;for(t=!!t;g<o;g++)!e(r[g],g)===t&&(n[n.length]=r[g])}return n}module.exports=grep;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js"),__chunk_3=require("./chunk-b5694aee.js");function grep(e,u,n){var c=[];return n=!!n,__chunk_2.forEach(e,function(e,r){!u(e,r)===n&&__chunk_3.append(c,e)}),c}module.exports=grep;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";function join(n,t){for(var e=+t.length,o=n.length,r=0;r<e;r++)n[o++]=t[r];return n.length=o,n}module.exports=join;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js");function join(e,n){var r=e.length;return __chunk_2.forEach(n,function(n){e[r++]=n}),e.length=r,e}module.exports=join;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var join=require("./join.js"),__chunk_2=require("./chunk-2a0959ac.js");function isString(r){return"string"==typeof r}var ref=Array.prototype,push=ref.push;function makeArray(r,e){var u=e||[];return r&&(__chunk_2.isArrayLike(Object(r))?join(u,isString(r)?[r]:r):u.push?u.push(r):push.call(u,r)),u}module.exports=makeArray;
"use strict";require("./chunk-479d732e.js"),require("./chunk-8d98b4c2.js");var join=require("./join.js"),__chunk_4=require("./chunk-ca5471b6.js");function isString(r){return"string"==typeof r}var ref=Array.prototype,push=ref.push;function makeArray(r,e){var u=e||[];return r&&(__chunk_4.isArrayLike(Object(r))?join(u,isString(r)?[r]:r):u.push?u.push(r):push.call(u,r)),u}module.exports=makeArray;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-7ad506f8.js"),__chunk_2=require("./chunk-2a0959ac.js");function forIn(r,n,_){var a=__chunk_1.iteratorCallback(n,_);for(var c in r)if(!1===a(r[c],c,r))break}function forNumber(r,n,_){for(var a=__chunk_1.iteratorCallback(n,_),c=0,u=void 0;!1!==u&&c<r;c++)u=a(c,c,c)}function each(r,n,_){r&&(__chunk_2.isArrayLike(r)?__chunk_1.forEach(r,n,_):__chunk_2.isNumber(r)?forNumber(r,n,_):forIn(r,n,_))}function append(r,n){r[r.length]=n}function map(r,n,_){var a=[],c=__chunk_1.iteratorCallback(n,_);return each(r,function(r){r=c(r),__chunk_2.isNil(r)||append(a,r)}),a}module.exports=map;
"use strict";var __chunk_1=require("./chunk-479d732e.js"),__chunk_3=require("./chunk-b5694aee.js"),__chunk_4=require("./chunk-ca5471b6.js");function forIn(r,_,n){var u=__chunk_1.iteratorCallback(_,n);for(var c in r)if(!1===u(r[c],c,r))break}function forNumber(r,_,n){for(var u=__chunk_1.iteratorCallback(_,n),c=0,a=void 0;!1!==a&&c<r;c++)a=u(c,c,c)}function each(r,_,n){r&&(__chunk_4.isArrayLike(r)?__chunk_1.forEach(r,_,n):__chunk_4.isNumber(r)?forNumber(r,_,n):forIn(r,_,n))}function map(r,_,n){var u=[],c=__chunk_1.iteratorCallback(_,n);return each(r,function(r){r=c(r),__chunk_4.isNil(r)||__chunk_3.append(u,r)}),u}module.exports=map;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -28,15 +28,14 @@ * Released under the MIT License.

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function grep (elems, callback, isOpposite) {
var matches = [];
if (elems) {
var i = 0;
var length = elems.length;
isOpposite = !!isOpposite;
for (; i < length; i++) {
if (!callback(elems[i], i) === isOpposite) {
matches[matches.length] = elems[i];
}
isOpposite = !!isOpposite;
forEach$1(elems, function (elem, i) {
if (!callback(elem, i) === isOpposite) {
append$1(matches, elem);
}
}
});
return matches;

@@ -66,8 +65,7 @@ }

function join (first, second) {
var len = +second.length;
var i = first.length;
for (var j = 0; j < len; j++) {
first[i++] = second[j];
}
forEach$1(second, function (elem) {
first[i++] = elem;
});

@@ -143,6 +141,2 @@ // 如果first是arrayLike, 那就需要手动更新长度

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function map (elems, callback, context) {

@@ -149,0 +143,0 @@ var ret = [];

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -34,15 +34,14 @@ * Released under the MIT License.

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function grep (elems, callback, isOpposite) {
var matches = [];
if (elems) {
var i = 0;
var length = elems.length;
isOpposite = !!isOpposite;
for (; i < length; i++) {
if (!callback(elems[i], i) === isOpposite) {
matches[matches.length] = elems[i];
}
isOpposite = !!isOpposite;
forEach$1(elems, function (elem, i) {
if (!callback(elem, i) === isOpposite) {
append$1(matches, elem);
}
}
});
return matches;

@@ -72,8 +71,7 @@ }

function join (first, second) {
var len = +second.length;
var i = first.length;
for (var j = 0; j < len; j++) {
first[i++] = second[j];
}
forEach$1(second, function (elem) {
first[i++] = elem;
});

@@ -149,6 +147,2 @@ // 如果first是arrayLike, 那就需要手动更新长度

function append$1 (arr, obj) {
arr[arr.length] = obj;
}
function map (elems, callback, context) {

@@ -155,0 +149,0 @@ var ret = [];

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).celia=n()}(this,function(){"use strict";function c(e,n){return n?e.bind(n):e}function i(e,n,t){for(var r=c(n,t),u=0,a=e.length,i=void 0;!1!==i&&u<a;u++)i=r(e[u],u,e)}function e(e,n,t){return e&&i(e,n,t)}function r(e,n,t){if(n){if(n.indexOf)return n.indexOf(e,t);for(var r=n.length,u=t?t<0?Math.max(0,r+t):t:0;u<r;u++)if(u in n&&n[u]===e)return u}return-1}function u(e,n){for(var t=+n.length,r=e.length,u=0;u<t;u++)e[r++]=n[u];return e.length=r,e}function s(e){return null==e}function n(e){return"function"==typeof e}function a(e){return"number"==typeof e}function o(e){return!s(e)&&a(e.length)&&!n(e)}function d(e){return"string"==typeof e}var f=Array.prototype.push;function l(e,n,t){var r=c(n,t);for(var u in e)if(!1===r(e[u],u,e))break}function m(e,n,t){for(var r=c(n,t),u=0,a=void 0;!1!==a&&u<e;u++)a=r(u,u,u)}function h(e,n,t){e&&(o(e)?i(e,n,t):a(e)?m(e,n,t):l(e,n,t))}function g(e,n){return e.splice(n,1),n}var t={append:function(e,n){if(e)return e[e.length]=n},forEach:e,grep:function(e,n,t){var r=[];if(e){var u=0,a=e.length;for(t=!!t;u<a;u++)!n(e[u],u)===t&&(r[r.length]=e[u])}return r},inArray:r,includes:function(e,n){return-1!==r(n,e)},join:u,makeArray:function(e,n){var t=n||[];return e&&(o(Object(e))?u(t,d(e)?[e]:e):t.push?t.push(e):f.call(t,e)),t},map:function(e,n,t){var r=[],u=c(n,t);return h(e,function(e){var n,t;s(e=u(e))||(t=e,(n=r)[n.length]=t)}),r},remove:function(e,n){var t=r(n,e);return 0<=t?(g(e,t),n):null},removeAt:g,toArray:function(e){return e&&[].concat(e)}},v=/-([a-z])/g;function Y(e){return!s(e)&&"object"==typeof e}function p(e,n){return n?new Date(Date.UTC(e[0],e[1]||0,s(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)):new Date(e[0],e[1]||0,s(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)}var M={},S=function(e,n){M[e]=M[e.slice(0,-1)]=M[n]=n};function b(e,n){return M[e]||n}S("years","Y"),S("months","M"),S("dates","D"),S("days","d"),S("hours","h"),S("minutes","m"),S("seconds","s"),S("milliseconds","ms");var y={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function D(e){return e=b(e,"ms"),y[e]}function H(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(Y(n))l(n,function(e,n){var t=D(n);r[t]+=e});else{var u=D(t);r[u]+=n}return e.setTime(+p(r)),e}function w(e){return new Date(+e)}function k(e){var n=e.getFullYear();return n%4==0&&n%100!=0||n%400==0}var x=[31,28,31,30,31,30,31,31,30,31,30,31],A=[31,29,31,30,31,30,31,31,30,31,30,31];function O(e){return k(e)?A:x}function j(e){return void 0===e}var T=/^\/?Date\((-?\d+)/i,Z=/^\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+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,F=[["YYYY-MM-DD",/(\d{4})-(\d\d)-(\d\d)/],["YYYY-MM",/(\d{4})-(\d\d)/,!1],["YYYYMMDD",/(\d{4})(\d\d)(\d\d)/],["YYYYMM",/(\d{4})(\d\d)/,!1],["YYYY",/\d{4}/,!1]],C=/^\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+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,I=/\[.*?\]|Y{2,4}|y{2,4}|M{1,2}|D{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|SSS|Z{1,2}/g,U=[["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/]],B=/(Z)|[+-](\d\d)(?::?(\d\d))?/,E=(new Date).getTimezoneOffset(),L=Object.prototype.toString;function N(e){return L.call(e)}function W(e){return"[object Date]"===N(e)}function z(e,n,t){if(!d(e))return p(e,!0===n);if(d(n))return p(function(t,r){var e,n=r.length,u=[],a=!1;if(m(n,function(e){var n=t.charAt(e);switch(r.charAt(e)){case"Y":case"y":u[0]=(u[0]||"")+n;break;case"M":u[1]=(u[1]||"")+n;break;case"D":case"d":u[2]=(u[2]||"")+n;break;case"H":case"h":u[3]=(u[3]||"")+n;break;case"m":u[4]=(u[4]||"")+n;break;case"s":u[5]=(u[5]||"")+n;break;case"S":u[6]=(u[6]||"")+n;break;case"Z":a=!0}}),u=u.map(function(e){return parseInt(e,10)}),a)if(e=B.exec(t.slice(-1<r.indexOf("ZZ")?-5:-6))){var i=E;if(!e[1]){var c="+"===e[0].charAt(0)?1:-1;u[3]-=e[2]*c,u[4]-=(e[3]||0)*c}u[4]-=i}else u.isUTC=a&-1<t.indexOf("Z");return s(u[1])||(u[1]-=1),u}(e,n),t);var r=function(e){var t,r,u=[],a=C.exec(e)||Z.exec(e);if(a){if(i(F,function(e,n){if(r=e[1].exec(a[1]))return m(3,function(e){u[e]=parseInt(r[e+1]||1,10)}),u[1]-=1,t=!1!==e[2],!1}),e.indexOf(u[0]))return e;if(r=null,a[3]&&i(U,function(e){if(r=e[1].exec(a[3]))return u=u.concat(r.slice(1).map(function(e){return parseInt(e,10)})),!1}),!t&&r)return u;if(r=null,a[4]){r=B.exec(a[4]);var n=E;r[1]||(u[3]-=r[2],u[4]-=r[3]||0),u[4]-=n}return u}return 4===e.length&&F[4][1].test(e)?((u=[parseInt(e,10),0,1]).isUTC=!0,u):e}(e);if(r!==e)return p(r,r.isUTC||!0===n);var u=T.exec(e);return new Date(null!==u?+u[1]:e)}function P(e,n,t){return e=s(e)?new Date:e.length?z(e,n,t):a(e)?new Date(e):W(e)?new Date(+e):e._i&&e.isValid()?new Date(+e):new Date}function V(e,n){var t=12*(n.getFullYear()-e.getFullYear())+(n.getMonth()-e.getMonth()),r=H(w(e),t,"months");return-(t+(n<r?(n-r)/(r-H(w(e),t-1,"months")):(n-r)/(H(w(e),t+1,"months")-r)))||0}function $(e,n){switch(n=b(n)){case"Y":e.setMonth(0);case"M":e.setDate(1);case"D":case"d":e.setHours(0);case"h":e.setMinutes(0);case"m":e.setSeconds(0);case"s":e.setMilliseconds(0)}return e}function R(e,n){return"ms"===(n=b(n,"ms"))||($(e,n),H(e,1,n),H(e,-1,"ms")),e}function _(e,n){return void 0===n&&(n=2),("000000"+e).slice(-n)}function q(e,n){var t;return e<0?(t="+",e=Math.abs(e)):t="-",""+t+_(Math.floor(e/60))+(n?"":":")+_(Math.floor(e%60))}function G(e){return 12<(e=e||24)?e-12:e}function J(e,n,t,r){if(n=P(n),"ms"===(t=b(t,"ms")))switch(r){case"before":return+e<+n;case"after":return+n<+e;default:return+e==+n}else{var u=+n;switch(r){case"before":return+R(w(e),t)<u;case"after":return+$(w(e),t)>u;default:return+$(w(e),t)<=u&&u<=+R(w(e),t)}}}function K(e,n,t){return J(e,n,t,"after")}function Q(e,n,t){return J(e,n,t,"before")}var X={add:H,clone:w,dayOfYear:function(e,n){var t=O(e),r=e.getMonth(),u=0;return m(r,function(e){u+=t[e]}),u+=e.getDate(),j(n)?u:(e.setTime(+e+864e5*(n-u)),e)},daysInMonth:function(e){return O(e)[e.getMonth()]},diff:function(e,n,t,r){var u,a;switch(n=P(n),t=b(t)){case"Y":u=V(e,n)/12;break;case"M":u=V(e,n);break;case"s":u=(e-n)/1e3;break;case"m":u=(e-n)/6e4;break;case"h":u=(e-n)/36e5;break;case"d":u=(e-n)/864e5;break;default:u=e-n}return r?u:(a=u)<0?Math.ceil(a)||0:Math.floor(a)},endOf:R,format:function(n,e){return e&&"UTC"!==e?e.replace(I,function(e){switch(e){case"YY":return String(n.getFullYear()).slice(-2);case"YYYY":case"yyyy":return n.getFullYear();case"M":return n.getMonth()+1;case"MM":return _(n.getMonth()+1);case"D":case"d":return n.getDate();case"DD":case"dd":return _(n.getDate());case"H":return n.getHours();case"HH":return _(n.getHours());case"h":return G(n.getHours());case"hh":return _(G(n.getHours()));case"m":return n.getMinutes();case"mm":return _(n.getMinutes());case"s":return n.getSeconds();case"ss":return _(n.getSeconds());case"SSS":return _(n.getMilliseconds(),3);case"Z":return q(E);case"ZZ":return q(E,!0);default:return e}}):n.toISOString()},isAfter:K,isBefore:Q,isBetween:function(e,n,t,r,u){return("("===(u=u||"()").charAt(0)?K(e,n,r):!Q(e,n,r))&&(")"===u.charAt(1)?Q(e,t,r):!K(e,t,r))},isLeapYear:k,isSame:function(e,n,t){return J(e,n,t)},isSameOrAfter:function(e,n,t){return!Q(e,n,t)},isSameOrBefore:function(e,n,t){return!K(e,n,t)},isValid:function(e){return"Invalid Date"!==e.toString()},parse:P,startOf:$,subtract:function(e,n,t){return H(e,-n,t)}};var ee={};return"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(e){ee["[object "+e+"]"]=e.toLowerCase()}),{array:t,camelCase:function(e){return e.replace(v,function(e,n){return n.toUpperCase()})},date:X,each:h,forEach:e,forIn:function(e,n,t){return e&&l(e,n,t)},forNumber:function(e,n,t){return e&&m(e,n,t)},isArrayLike:o,isAsyncFunction:function(e){return"[object AsyncFunction]"===N(e)},isBoolean:function(e){return"boolean"==typeof e},isDate:W,isFunction:n,isNil:s,isNumber:a,isObject:Y,isPromiseLike:function(e){return!!e&&n(e.then)},isString:d,isUndefined:j,sleep:function(n){return new Promise(function(e){setTimeout(e,n)})},type:function(e){return s(e)?e+"":Y(e)||n(e)?ee[N(e)]||"object":typeof e}}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).celia=n()}(this,function(){"use strict";function c(e,n){return n?e.bind(n):e}function a(e,n,t){for(var r=c(n,t),u=0,i=e.length,a=void 0;!1!==a&&u<i;u++)a=r(e[u],u,e)}function i(e,n,t){return e&&a(e,n,t)}function s(e,n){e[e.length]=n}function r(e,n,t){if(n){if(n.indexOf)return n.indexOf(e,t);for(var r=n.length,u=t?t<0?Math.max(0,r+t):t:0;u<r;u++)if(u in n&&n[u]===e)return u}return-1}function u(n,e){var t=n.length;return i(e,function(e){n[t++]=e}),n.length=t,n}function o(e){return null==e}function n(e){return"function"==typeof e}function d(e){return"number"==typeof e}function f(e){return!o(e)&&d(e.length)&&!n(e)}function l(e){return"string"==typeof e}var m=Array.prototype.push;function h(e,n,t){var r=c(n,t);for(var u in e)if(!1===r(e[u],u,e))break}function g(e,n,t){for(var r=c(n,t),u=0,i=void 0;!1!==i&&u<e;u++)i=r(u,u,u)}function v(e,n,t){e&&(f(e)?a(e,n,t):d(e)?g(e,n,t):h(e,n,t))}function Y(e,n){return e.splice(n,1),n}var e={append:function(e,n){if(e)return e[e.length]=n},forEach:i,grep:function(e,t,r){var u=[];return r=!!r,i(e,function(e,n){!t(e,n)===r&&s(u,e)}),u},inArray:r,includes:function(e,n){return-1!==r(n,e)},join:u,makeArray:function(e,n){var t=n||[];return e&&(f(Object(e))?u(t,l(e)?[e]:e):t.push?t.push(e):m.call(t,e)),t},map:function(e,n,t){var r=[],u=c(n,t);return v(e,function(e){o(e=u(e))||s(r,e)}),r},remove:function(e,n){var t=r(n,e);return 0<=t?(Y(e,t),n):null},removeAt:Y,toArray:function(e){return e&&[].concat(e)}},t=/-([a-z])/g;function p(e){return!o(e)&&"object"==typeof e}function M(e,n){return n?new Date(Date.UTC(e[0],e[1]||0,o(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)):new Date(e[0],e[1]||0,o(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)}var S={},b=function(e,n){S[e]=S[e.slice(0,-1)]=S[n]=n};function y(e,n){return S[e]||n}b("years","Y"),b("months","M"),b("dates","D"),b("days","d"),b("hours","h"),b("minutes","m"),b("seconds","s"),b("milliseconds","ms");var D={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function H(e){return e=y(e,"ms"),D[e]}function w(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(p(n))h(n,function(e,n){var t=H(n);r[t]+=e});else{var u=H(t);r[u]+=n}return e.setTime(+M(r)),e}function k(e){return new Date(+e)}function x(e){var n=e.getFullYear();return n%4==0&&n%100!=0||n%400==0}var A=[31,28,31,30,31,30,31,31,30,31,30,31],O=[31,29,31,30,31,30,31,31,30,31,30,31];function j(e){return x(e)?O:A}function T(e){return void 0===e}var Z=/^\/?Date\((-?\d+)/i,F=/^\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+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,C=[["YYYY-MM-DD",/(\d{4})-(\d\d)-(\d\d)/],["YYYY-MM",/(\d{4})-(\d\d)/,!1],["YYYYMMDD",/(\d{4})(\d\d)(\d\d)/],["YYYYMM",/(\d{4})(\d\d)/,!1],["YYYY",/\d{4}/,!1]],I=/^\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+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,U=/\[.*?\]|Y{2,4}|y{2,4}|M{1,2}|D{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|SSS|Z{1,2}/g,B=[["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/]],E=/(Z)|[+-](\d\d)(?::?(\d\d))?/,L=(new Date).getTimezoneOffset(),N=Object.prototype.toString;function W(e){return N.call(e)}function z(e){return"[object Date]"===W(e)}function P(e,n,t){if(!l(e))return M(e,!0===n);if(l(n))return M(function(t,r){var e,n=r.length,u=[],i=!1;if(g(n,function(e){var n=t.charAt(e);switch(r.charAt(e)){case"Y":case"y":u[0]=(u[0]||"")+n;break;case"M":u[1]=(u[1]||"")+n;break;case"D":case"d":u[2]=(u[2]||"")+n;break;case"H":case"h":u[3]=(u[3]||"")+n;break;case"m":u[4]=(u[4]||"")+n;break;case"s":u[5]=(u[5]||"")+n;break;case"S":u[6]=(u[6]||"")+n;break;case"Z":i=!0}}),u=u.map(function(e){return parseInt(e,10)}),i)if(e=E.exec(t.slice(-1<r.indexOf("ZZ")?-5:-6))){var a=L;if(!e[1]){var c="+"===e[0].charAt(0)?1:-1;u[3]-=e[2]*c,u[4]-=(e[3]||0)*c}u[4]-=a}else u.isUTC=i&-1<t.indexOf("Z");return o(u[1])||(u[1]-=1),u}(e,n),t);var r=function(e){var t,r,u=[],i=I.exec(e)||F.exec(e);if(i){if(a(C,function(e,n){if(r=e[1].exec(i[1]))return g(3,function(e){u[e]=parseInt(r[e+1]||1,10)}),u[1]-=1,t=!1!==e[2],!1}),e.indexOf(u[0]))return e;if(r=null,i[3]&&a(B,function(e){if(r=e[1].exec(i[3]))return u=u.concat(r.slice(1).map(function(e){return parseInt(e,10)})),!1}),!t&&r)return u;if(r=null,i[4]){r=E.exec(i[4]);var n=L;r[1]||(u[3]-=r[2],u[4]-=r[3]||0),u[4]-=n}return u}return 4===e.length&&C[4][1].test(e)?((u=[parseInt(e,10),0,1]).isUTC=!0,u):e}(e);if(r!==e)return M(r,r.isUTC||!0===n);var u=Z.exec(e);return new Date(null!==u?+u[1]:e)}function V(e,n,t){return e=o(e)?new Date:e.length?P(e,n,t):d(e)?new Date(e):z(e)?new Date(+e):e._i&&e.isValid()?new Date(+e):new Date}function $(e,n){var t=12*(n.getFullYear()-e.getFullYear())+(n.getMonth()-e.getMonth()),r=w(k(e),t,"months");return-(t+(n<r?(n-r)/(r-w(k(e),t-1,"months")):(n-r)/(w(k(e),t+1,"months")-r)))||0}function R(e,n){switch(n=y(n)){case"Y":e.setMonth(0);case"M":e.setDate(1);case"D":case"d":e.setHours(0);case"h":e.setMinutes(0);case"m":e.setSeconds(0);case"s":e.setMilliseconds(0)}return e}function _(e,n){return"ms"===(n=y(n,"ms"))||(R(e,n),w(e,1,n),w(e,-1,"ms")),e}function q(e,n){return void 0===n&&(n=2),("000000"+e).slice(-n)}function G(e,n){var t;return e<0?(t="+",e=Math.abs(e)):t="-",""+t+q(Math.floor(e/60))+(n?"":":")+q(Math.floor(e%60))}function J(e){return 12<(e=e||24)?e-12:e}function K(e,n,t,r){if(n=V(n),"ms"===(t=y(t,"ms")))switch(r){case"before":return+e<+n;case"after":return+n<+e;default:return+e==+n}else{var u=+n;switch(r){case"before":return+_(k(e),t)<u;case"after":return+R(k(e),t)>u;default:return+R(k(e),t)<=u&&u<=+_(k(e),t)}}}function Q(e,n,t){return K(e,n,t,"after")}function X(e,n,t){return K(e,n,t,"before")}var ee={add:w,clone:k,dayOfYear:function(e,n){var t=j(e),r=e.getMonth(),u=0;return g(r,function(e){u+=t[e]}),u+=e.getDate(),T(n)?u:(e.setTime(+e+864e5*(n-u)),e)},daysInMonth:function(e){return j(e)[e.getMonth()]},diff:function(e,n,t,r){var u,i;switch(n=V(n),t=y(t)){case"Y":u=$(e,n)/12;break;case"M":u=$(e,n);break;case"s":u=(e-n)/1e3;break;case"m":u=(e-n)/6e4;break;case"h":u=(e-n)/36e5;break;case"d":u=(e-n)/864e5;break;default:u=e-n}return r?u:(i=u)<0?Math.ceil(i)||0:Math.floor(i)},endOf:_,format:function(n,e){return e&&"UTC"!==e?e.replace(U,function(e){switch(e){case"YY":return String(n.getFullYear()).slice(-2);case"YYYY":case"yyyy":return n.getFullYear();case"M":return n.getMonth()+1;case"MM":return q(n.getMonth()+1);case"D":case"d":return n.getDate();case"DD":case"dd":return q(n.getDate());case"H":return n.getHours();case"HH":return q(n.getHours());case"h":return J(n.getHours());case"hh":return q(J(n.getHours()));case"m":return n.getMinutes();case"mm":return q(n.getMinutes());case"s":return n.getSeconds();case"ss":return q(n.getSeconds());case"SSS":return q(n.getMilliseconds(),3);case"Z":return G(L);case"ZZ":return G(L,!0);default:return e}}):n.toISOString()},isAfter:Q,isBefore:X,isBetween:function(e,n,t,r,u){return("("===(u=u||"()").charAt(0)?Q(e,n,r):!X(e,n,r))&&(")"===u.charAt(1)?X(e,t,r):!Q(e,t,r))},isLeapYear:x,isSame:function(e,n,t){return K(e,n,t)},isSameOrAfter:function(e,n,t){return!X(e,n,t)},isSameOrBefore:function(e,n,t){return!Q(e,n,t)},isValid:function(e){return"Invalid Date"!==e.toString()},parse:V,startOf:R,subtract:function(e,n,t){return w(e,-n,t)}};var ne={};return"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(e){ne["[object "+e+"]"]=e.toLowerCase()}),{array:e,camelCase:function(e){return e.replace(t,function(e,n){return n.toUpperCase()})},date:ee,each:v,forEach:i,forIn:function(e,n,t){return e&&h(e,n,t)},forNumber:function(e,n,t){return e&&g(e,n,t)},isArrayLike:f,isAsyncFunction:function(e){return"[object AsyncFunction]"===W(e)},isBoolean:function(e){return"boolean"==typeof e},isDate:z,isFunction:n,isNil:o,isNumber:d,isObject:p,isPromiseLike:function(e){return!!e&&n(e.then)},isString:l,isUndefined:T,sleep:function(n){return new Promise(function(e){setTimeout(e,n)})},type:function(e){return o(e)?e+"":p(e)||n(e)?ne[W(e)]||"object":typeof e}}});
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-0cb3fc16.js"),__chunk_2=require("./chunk-5ac2012c.js"),__chunk_3=require("./chunk-6fce3905.js");function isObject(e){return!__chunk_1.isNil(e)&&"object"==typeof e}function forIn(e,n,t){var r=__chunk_2.iteratorCallback(n,t);for(var c in e)if(!1===r(e[c],c,e))break}var indexOfUnits={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function getIndex(e){return e=__chunk_3.normalizeUnit(e,"ms"),indexOfUnits[e]}function add(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(isObject(n))forIn(n,function(e,n){var t=getIndex(n);r[t]+=e});else{var c=getIndex(t);r[c]+=n}return e.setTime(+__chunk_1.parseArray(r)),e}module.exports=add;
"use strict";var __chunk_1=require("./chunk-1975bbb1.js"),__chunk_2=require("./chunk-27959177.js"),__chunk_3=require("./chunk-d2dca2a0.js");function isObject(e){return!__chunk_1.isNil(e)&&"object"==typeof e}function forIn(e,n,t){var r=__chunk_2.iteratorCallback(n,t);for(var i in e)if(!1===r(e[i],i,e))break}var indexOfUnits={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function getIndex(e){return e=__chunk_3.normalizeUnit(e,"ms"),indexOfUnits[e]}function add(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(isObject(n))forIn(n,function(e,n){var t=getIndex(n);r[t]+=e});else{var i=getIndex(t);r[i]+=n}return e.setTime(+__chunk_1.parseArray(r)),e}module.exports=add;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js"),require("./isLeapYear.js");var __chunk_4=require("./chunk-1060fd37.js"),__chunk_5=require("./chunk-a0229133.js");function isUndefined(e){return void 0===e}function dayOfYear(e,r){var n=__chunk_4.daysInYear(e),u=e.getMonth(),i=0;return __chunk_5.forNumber(u,function(e){i+=n[e]}),i+=e.getDate(),isUndefined(r)?i:(e.setTime(+e+864e5*(r-i)),e)}module.exports=dayOfYear;
"use strict";require("./chunk-27959177.js"),require("./isLeapYear.js");var __chunk_4=require("./chunk-8034083a.js"),__chunk_5=require("./chunk-bbdf02a0.js");function isUndefined(e){return void 0===e}function dayOfYear(e,r){var n=__chunk_4.daysInYear(e),u=e.getMonth(),i=0;return __chunk_5.forNumber(u,function(e){i+=n[e]}),i+=e.getDate(),isUndefined(r)?i:(e.setTime(+e+864e5*(r-i)),e)}module.exports=dayOfYear;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./isLeapYear.js");var __chunk_4=require("./chunk-1060fd37.js");function daysInMonth(e){return __chunk_4.daysInYear(e)[e.getMonth()]}module.exports=daysInMonth;
"use strict";require("./isLeapYear.js");var __chunk_4=require("./chunk-8034083a.js");function daysInMonth(e){return __chunk_4.daysInYear(e)[e.getMonth()]}module.exports=daysInMonth;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-6fce3905.js"),clone=require("./clone.js");require("./chunk-a0229133.js"),require("./chunk-fbabc482.js");var parse=require("./parse.js");function monthDiff(e,r){var a=12*(r.getFullYear()-e.getFullYear())+(r.getMonth()-e.getMonth()),n=add(clone(e),a,"months");return-(a+(r<n?(r-n)/(n-add(clone(e),a-1,"months")):(r-n)/(add(clone(e),a+1,"months")-n)))||0}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function diff(e,r,a,n){var c;switch(r=parse(r),a=__chunk_3.normalizeUnit(a)){case"Y":c=monthDiff(e,r)/12;break;case"M":c=monthDiff(e,r);break;case"s":c=(e-r)/1e3;break;case"m":c=(e-r)/6e4;break;case"h":c=(e-r)/36e5;break;case"d":c=(e-r)/864e5;break;default:c=e-r}return n?c:absFloor(c)}module.exports=diff;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");require("./chunk-27959177.js");var __chunk_3=require("./chunk-d2dca2a0.js"),clone=require("./clone.js");require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js");var parse=require("./parse.js");function monthDiff(e,r){var a=12*(r.getFullYear()-e.getFullYear())+(r.getMonth()-e.getMonth()),n=add(clone(e),a,"months");return-(a+(r<n?(r-n)/(n-add(clone(e),a-1,"months")):(r-n)/(add(clone(e),a+1,"months")-n)))||0}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function diff(e,r,a,n){var s;switch(r=parse(r),a=__chunk_3.normalizeUnit(a)){case"Y":s=monthDiff(e,r)/12;break;case"M":s=monthDiff(e,r);break;case"s":s=(e-r)/1e3;break;case"m":s=(e-r)/6e4;break;case"h":s=(e-r)/36e5;break;case"d":s=(e-r)/864e5;break;default:s=e-r}return n?s:absFloor(s)}module.exports=diff;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-6fce3905.js"),startOf=require("./startOf.js");function endOf(r,e){return"ms"===(e=__chunk_3.normalizeUnit(e,"ms"))||(startOf(r,e),add(r,1,e),add(r,-1,"ms")),r}module.exports=endOf;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");require("./chunk-27959177.js");var __chunk_3=require("./chunk-d2dca2a0.js"),startOf=require("./startOf.js");function endOf(r,e){return"ms"===(e=__chunk_3.normalizeUnit(e,"ms"))||(startOf(r,e),add(r,1,e),add(r,-1,"ms")),r}module.exports=endOf;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_6=require("./chunk-fbabc482.js");function padLeft(e,t){return void 0===t&&(t=2),("000000"+e).slice(-t)}function timezone(e,t){var r;return e<0?(r="+",e=Math.abs(e)):r="-",""+r+padLeft(Math.floor(e/60))+(t?"":":")+padLeft(Math.floor(e%60))}function h12(e){return 12<(e=e||24)?e-12:e}function format(t,e){return e&&"UTC"!==e?e.replace(__chunk_6.FORMAT_REGEX,function(e){switch(e){case"YY":return String(t.getFullYear()).slice(-2);case"YYYY":case"yyyy":return t.getFullYear();case"M":return t.getMonth()+1;case"MM":return padLeft(t.getMonth()+1);case"D":case"d":return t.getDate();case"DD":case"dd":return padLeft(t.getDate());case"H":return t.getHours();case"HH":return padLeft(t.getHours());case"h":return h12(t.getHours());case"hh":return padLeft(h12(t.getHours()));case"m":return t.getMinutes();case"mm":return padLeft(t.getMinutes());case"s":return t.getSeconds();case"ss":return padLeft(t.getSeconds());case"SSS":return padLeft(t.getMilliseconds(),3);case"Z":return timezone(__chunk_6.TIMEZONE_OFFSET);case"ZZ":return timezone(__chunk_6.TIMEZONE_OFFSET,!0);default:return e}}):t.toISOString()}module.exports=format;
"use strict";var __chunk_6=require("./chunk-3090b5b5.js");function padLeft(e,t){return void 0===t&&(t=2),("000000"+e).slice(-t)}function timezone(e,t){var r;return e<0?(r="+",e=Math.abs(e)):r="-",""+r+padLeft(Math.floor(e/60))+(t?"":":")+padLeft(Math.floor(e%60))}function h12(e){return 12<(e=e||24)?e-12:e}function format(t,e){return e&&"UTC"!==e?e.replace(__chunk_6.FORMAT_REGEX,function(e){switch(e){case"YY":return String(t.getFullYear()).slice(-2);case"YYYY":case"yyyy":return t.getFullYear();case"M":return t.getMonth()+1;case"MM":return padLeft(t.getMonth()+1);case"D":case"d":return t.getDate();case"DD":case"dd":return padLeft(t.getDate());case"H":return t.getHours();case"HH":return padLeft(t.getHours());case"h":return h12(t.getHours());case"hh":return padLeft(h12(t.getHours()));case"m":return t.getMinutes();case"mm":return padLeft(t.getMinutes());case"s":return t.getSeconds();case"ss":return padLeft(t.getSeconds());case"SSS":return padLeft(t.getMilliseconds(),3);case"Z":return timezone(__chunk_6.TIMEZONE_OFFSET);case"ZZ":return timezone(__chunk_6.TIMEZONE_OFFSET,!0);default:return e}}):t.toISOString()}module.exports=format;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isAfter(e,r,u){return __chunk_7.compare(e,r,u,"after")}module.exports=isAfter;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isAfter(e,r,u){return __chunk_7.compare(e,r,u,"after")}module.exports=isAfter;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isBefore(e,r,u){return __chunk_7.compare(e,r,u,"before")}module.exports=isBefore;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isBefore(e,r,u){return __chunk_7.compare(e,r,u,"before")}module.exports=isBefore;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isAfter=require("./isAfter.js"),isBefore=require("./isBefore.js");function isBetween(e,r,s,i,u){return("("===(u=u||"()").charAt(0)?isAfter(e,r,i):!isBefore(e,r,i))&&(")"===u.charAt(1)?isBefore(e,s,i):!isAfter(e,s,i))}module.exports=isBetween;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isAfter=require("./isAfter.js"),isBefore=require("./isBefore.js");function isBetween(e,r,s,i,u){return("("===(u=u||"()").charAt(0)?isAfter(e,r,i):!isBefore(e,r,i))&&(")"===u.charAt(1)?isBefore(e,s,i):!isAfter(e,s,i))}module.exports=isBetween;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isSame(e,r,u){return __chunk_7.compare(e,r,u)}module.exports=isSame;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isSame(e,r,u){return __chunk_7.compare(e,r,u)}module.exports=isSame;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isBefore=require("./isBefore.js");function isSameOrAfter(e,r,s){return!isBefore(e,r,s)}module.exports=isSameOrAfter;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isBefore=require("./isBefore.js");function isSameOrAfter(e,r,s){return!isBefore(e,r,s)}module.exports=isSameOrAfter;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isAfter=require("./isAfter.js");function isSameOrBefore(e,r,s){return!isAfter(e,r,s)}module.exports=isSameOrBefore;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isAfter=require("./isAfter.js");function isSameOrBefore(e,r,s){return!isAfter(e,r,s)}module.exports=isSameOrBefore;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-0cb3fc16.js"),__chunk_2=require("./chunk-5ac2012c.js"),__chunk_5=require("./chunk-a0229133.js"),__chunk_6=require("./chunk-fbabc482.js");function isString(r){return"string"==typeof r}function forEach(r,e,n){for(var t=__chunk_2.iteratorCallback(e,n),c=0,_=r.length,a=void 0;!1!==a&&c<_;c++)a=t(r[c],c,r)}function isNumber(r){return"number"==typeof r}var toString=Object.prototype.toString;function toString$1(r){return toString.call(r)}function isDate(r){return"[object Date]"===toString$1(r)}function extractFrom(r){var n,t,c=[],_=__chunk_6.EXTENDED_ISO_REGEX.exec(r)||__chunk_6.BASIC_ISO_REGEX.exec(r);if(_){if(forEach(__chunk_6.DATES_REGEX,function(r,e){if(t=r[1].exec(_[1]))return __chunk_5.forNumber(3,function(r){c[r]=parseInt(t[r+1]||1,10)}),c[1]-=1,n=!1!==r[2],!1}),r.indexOf(c[0]))return r;if(t=null,_[3]&&forEach(__chunk_6.TIMES_REGEX,function(r){if(t=r[1].exec(_[3]))return c=c.concat(t.slice(1).map(function(r){return parseInt(r,10)})),!1}),!n&&t)return c;if(t=null,_[4]){t=__chunk_6.TZ_REGEX.exec(_[4]);var e=__chunk_6.TIMEZONE_OFFSET;t[1]||(c[3]-=t[2],c[4]-=t[3]||0),c[4]-=e}return c}return 4===r.length&&__chunk_6.DATES_REGEX[4][1].test(r)?((c=[parseInt(r,10),0,1]).isUTC=!0,c):r}function parseFromFormat(n,t){var r,e=t.length,c=[],_=!1;if(__chunk_5.forNumber(e,function(r){var e=n.charAt(r);switch(t.charAt(r)){case"Y":case"y":c[0]=(c[0]||"")+e;break;case"M":c[1]=(c[1]||"")+e;break;case"D":case"d":c[2]=(c[2]||"")+e;break;case"H":case"h":c[3]=(c[3]||"")+e;break;case"m":c[4]=(c[4]||"")+e;break;case"s":c[5]=(c[5]||"")+e;break;case"S":c[6]=(c[6]||"")+e;break;case"Z":_=!0}}),c=c.map(function(r){return parseInt(r,10)}),_)if(r=__chunk_6.TZ_REGEX.exec(n.slice(-1<t.indexOf("ZZ")?-5:-6))){var a=__chunk_6.TIMEZONE_OFFSET;if(!r[1]){var u="+"===r[0].charAt(0)?1:-1;c[3]-=r[2]*u,c[4]-=(r[3]||0)*u}c[4]-=a}else c.isUTC=_&-1<n.indexOf("Z");return __chunk_1.isNil(c[1])||(c[1]-=1),c}function parseStringOrArray(r,e,n){if(!isString(r))return __chunk_1.parseArray(r,!0===e);if(isString(e))return __chunk_1.parseArray(parseFromFormat(r,e),n);var t=extractFrom(r);if(t!==r)return __chunk_1.parseArray(t,t.isUTC||!0===e);var c=__chunk_6.ASP_NET_JSON_REGEX.exec(r);return new Date(null!==c?+c[1]:r)}function parse(r,e,n){return r=__chunk_1.isNil(r)?new Date:r.length?parseStringOrArray(r,e,n):isNumber(r)?new Date(r):isDate(r)?new Date(+r):r._i&&r.isValid()?new Date(+r):new Date}module.exports=parse;
"use strict";var __chunk_1=require("./chunk-1975bbb1.js"),__chunk_2=require("./chunk-27959177.js"),__chunk_5=require("./chunk-bbdf02a0.js"),__chunk_6=require("./chunk-3090b5b5.js");function isString(r){return"string"==typeof r}function forEach(r,e,n){for(var t=__chunk_2.iteratorCallback(e,n),_=0,c=r.length,a=void 0;!1!==a&&_<c;_++)a=t(r[_],_,r)}function isNumber(r){return"number"==typeof r}var toString=Object.prototype.toString;function toString$1(r){return toString.call(r)}function isDate(r){return"[object Date]"===toString$1(r)}function extractFrom(r){var n,t,_=[],c=__chunk_6.EXTENDED_ISO_REGEX.exec(r)||__chunk_6.BASIC_ISO_REGEX.exec(r);if(c){if(forEach(__chunk_6.DATES_REGEX,function(r,e){if(t=r[1].exec(c[1]))return __chunk_5.forNumber(3,function(r){_[r]=parseInt(t[r+1]||1,10)}),_[1]-=1,n=!1!==r[2],!1}),r.indexOf(_[0]))return r;if(t=null,c[3]&&forEach(__chunk_6.TIMES_REGEX,function(r){if(t=r[1].exec(c[3]))return _=_.concat(t.slice(1).map(function(r){return parseInt(r,10)})),!1}),!n&&t)return _;if(t=null,c[4]){t=__chunk_6.TZ_REGEX.exec(c[4]);var e=__chunk_6.TIMEZONE_OFFSET;t[1]||(_[3]-=t[2],_[4]-=t[3]||0),_[4]-=e}return _}return 4===r.length&&__chunk_6.DATES_REGEX[4][1].test(r)?((_=[parseInt(r,10),0,1]).isUTC=!0,_):r}function parseFromFormat(n,t){var r,e=t.length,_=[],c=!1;if(__chunk_5.forNumber(e,function(r){var e=n.charAt(r);switch(t.charAt(r)){case"Y":case"y":_[0]=(_[0]||"")+e;break;case"M":_[1]=(_[1]||"")+e;break;case"D":case"d":_[2]=(_[2]||"")+e;break;case"H":case"h":_[3]=(_[3]||"")+e;break;case"m":_[4]=(_[4]||"")+e;break;case"s":_[5]=(_[5]||"")+e;break;case"S":_[6]=(_[6]||"")+e;break;case"Z":c=!0}}),_=_.map(function(r){return parseInt(r,10)}),c)if(r=__chunk_6.TZ_REGEX.exec(n.slice(-1<t.indexOf("ZZ")?-5:-6))){var a=__chunk_6.TIMEZONE_OFFSET;if(!r[1]){var u="+"===r[0].charAt(0)?1:-1;_[3]-=r[2]*u,_[4]-=(r[3]||0)*u}_[4]-=a}else _.isUTC=c&-1<n.indexOf("Z");return __chunk_1.isNil(_[1])||(_[1]-=1),_}function parseStringOrArray(r,e,n){if(!isString(r))return __chunk_1.parseArray(r,!0===e);if(isString(e))return __chunk_1.parseArray(parseFromFormat(r,e),n);var t=extractFrom(r);if(t!==r)return __chunk_1.parseArray(t,t.isUTC||!0===e);var _=__chunk_6.ASP_NET_JSON_REGEX.exec(r);return new Date(null!==_?+_[1]:r)}function parse(r,e,n){return r=__chunk_1.isNil(r)?new Date:r.length?parseStringOrArray(r,e,n):isNumber(r)?new Date(r):isDate(r)?new Date(+r):r._i&&r.isValid()?new Date(+r):new Date}module.exports=parse;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_3=require("./chunk-6fce3905.js");function startOf(s,e){switch(e=__chunk_3.normalizeUnit(e)){case"Y":s.setMonth(0);case"M":s.setDate(1);case"D":case"d":s.setHours(0);case"h":s.setMinutes(0);case"m":s.setSeconds(0);case"s":s.setMilliseconds(0)}return s}module.exports=startOf;
"use strict";var __chunk_3=require("./chunk-d2dca2a0.js");function startOf(s,e){switch(e=__chunk_3.normalizeUnit(e)){case"Y":s.setMonth(0);case"M":s.setDate(1);case"D":case"d":s.setHours(0);case"h":s.setMinutes(0);case"m":s.setSeconds(0);case"s":s.setMilliseconds(0)}return s}module.exports=startOf;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");function subtract(r,e,u){return add(r,-e,u)}require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),module.exports=subtract;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");function subtract(r,u,e){return add(r,-u,e)}require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),module.exports=subtract;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -30,2 +30,3 @@ * Released under the MIT License.

var classListSupported = 'classList' in document.body;
// export const classListSupported = false;
var firstElementChildSupported = 'firstElementChild' in document.body;

@@ -197,2 +198,9 @@

function forNumber (value, iterator, context) {
var cb = iteratorCallback(iterator, context);
for (var i = 0, returnValue = (void 0); returnValue !== false && i < value; i++) {
returnValue = cb(i, i, i);
}
}
function fragmentForList(arr) {

@@ -233,11 +241,11 @@ var frag = document.createDocumentFragment();

var len = list.length;
var elem;
if (len) {
var last = len - 1;
for (var i = 0, j = last; i < j; i++) {
fallback(list[i], frag.cloneNode(true));
}
fallback(list[last], frag);
forNumber(last, function (i) { return fallback(list[i], frag.cloneNode(true)); });
elem = list[last];
} else {
fallback(list, frag);
elem = list;
}
fallback(elem, frag);
}

@@ -273,3 +281,5 @@ return list;

return domManip(dom, args, 'appendChild');
return domManip(dom, args, 'appendChild'/*, (el, child) => {
el.appendChild(child);
} */);
}

@@ -921,3 +931,2 @@

console.log('firstElementChildSupported', firstElementChildSupported);
var firstElementChild = firstElementChildSupported ? function (elem) {

@@ -924,0 +933,0 @@ return elem.firstElementChild;

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e()}(this,function(){"use strict";var a=/^\s*<(\w+|!)[^>]*>/,c=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,e=/[^\x20\t\r\n\f]+/g;function r(n){return"string"==typeof n}function u(n){return Array.isArray(n)?n:r(n)&&n.match(e)||[]}var n="classList"in document.body,t="firstElementChild"in document.body,l={for:"htmlFor",class:"className"};["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"].forEach(function(n){l[n.toLowerCase()]=n});var d=document.createElement("div"),i=["Webkit","Moz","ms"],o=d.style;var f={nextElementSibling:"nextSibling",previousElementSibling:"previousSibling"};function s(n,e){return e?n.bind(e):n}function v(n,e,t){for(var r=s(e,t),i=0,o=n.length,u=void 0;!1!==u&&i<o;i++)u=r(n[i],i,n)}function p(n){return n&&(-1<n.length?n[0]:n)}function m(n,e){return n&&(-1<n.length?v(n,e):e(n)),n}function h(n,e){n[n.length]=e}var g=n?function(e,n){n.forEach(function(n){e.classList.add(n)})}:function(n,e){var t=u(n.className),r=t.slice(0);e.forEach(function(n){-1===r.indexOf(n)&&h(r,n)}),(t=t.join(" "))!==(r=r.join(" "))&&(n.className=r)};function y(n){return null==n}function b(n,e,t){var r=s(e,t);for(var i in n)if(!1===r(n[i],i,n))break}function E(n,e){var t=[],r=e||function(n){h(t,n)};return v(n.childNodes,function(n,e){var t=0;1===n.nodeType&&r(n,++t,e)}),t}function C(n,e,t){var r,i,o,u=n.match(c);if(u){var f=document.createElement(u[1]);i=function(n,e){f.setAttribute(e,n)},(r=e)&&b(r,i,o),t(f)}else a.test(n)?(d.innerHTML=n,E(d,t)):t(document.createTextNode(n))}function x(n){var t=document.createDocumentFragment();return v(n,function(n){var e;1===n.nodeType?t.appendChild(n):r(n)||(y(e=n)||"number"!=typeof e.length||"function"==typeof e)?C(n,null,function(n){t.appendChild(n)}):v(n,function(n){t.appendChild(n)})}),t}function N(n,e,t,r){if(n){t&&document.body[t]&&(r=function(n,e){n[t](e)});var i=x(e),o=n.length;if(o){for(var u=o-1,f=0,a=u;f<a;f++)r(n[f],i.cloneNode(!0));r(n[u],i)}else r(n,i)}return n}function S(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"appendChild")}function w(n){return void 0===n}function P(n,e,t){var r=[];return m(n,function(n){t(n,e,function(n){!function(n,e){if(n)n[n.length]=e}(r,n)})}),r}var D=/-([a-z])/g;var L={};function T(n,e,t){var r=n.style;if(e=L[e]||(L[e]=function(n){if(n in o)return n;for(var e=n[0].toUpperCase()+n.slice(1),t=i.length;t--;)if((n=i[t]+e)in o)return n}(e)||e),y(t))return r[e];r[e]=t}function A(n,e,t){var r,i,o="";return(t=t||((i=(r=n).ownerDocument.defaultView)&&i.opener||(i=window),i.getComputedStyle(r)))&&(o=t.getPropertyValue(e)||t[e]),o}var j=1,M="expando9527",O={};function B(n,e,t){var r=n[M],i=O[r||-1];if(w(t))return i&&i[e];i||(n[M]=r=++j,i=O[r]={}),i[e]=t}function V(n){m(n,function(n){if(1===n.nodeType)if("textContent"in n)n.textContent="";else for(var e;e=n.firstChild;)n.removeChild(e)})}function k(n,r){return m(n,function(n){var e=n.style.display||"",t=B(n,"display");(w(t)&&(B(n,"display",e),t=e),r)?e?"none"===e&&(n.style.display="none"===t?"":t):"none"===A(n,"display")&&(n.style.display="block"):n.style.display="none"}),n}function H(n,e,t){var r=n[e];if(r)t(r);else{for(e=f[e];(n=n[e])&&1!==n.nodeType;);n&&t(n)}}function z(n,e,t){if(e in n)for(;n=n[e];)t(n);else for(e=f[e];(n=n[e])&&1===n.nodeType;)t(n)}function F(n,e,t){return n&&v(n,e,t)}function U(n,e){var t,r=function(n,e,t){if(e){if(e.indexOf)return e.indexOf(n,t);for(var r=e.length,i=t?t<0?Math.max(0,r+t):t:0;i<r;i++)if(i in e&&e[i]===n)return i}return-1}(e,n);return 0<=r?(t=r,n.splice(t,1),e):null}var I=window.removeEventListener?function(n,e,t){n.removeEventListener(e,t,!1)}:function(n,e,t){n.detachEvent("on"+e,t)};var W=window.addEventListener?function(n,e,t){n.addEventListener(e,t,!1)}:function(n,e,t){n.attachEvent("on"+e,t)};function $(n,e,t){return w(t)?(f=e,(u=p(u=n))&&u[f]):(r=n,o=t,i=l[i=e]||i,m(r,function(n){n[i]=o}),r);var r,i,o,u,f}var q=n?function(e,n){n.forEach(function(n){e.classList.remove(n)})}:function(n,e){var t=u(n.className),r=t.slice(0);e.forEach(function(n){var e=r.indexOf(n);-1<e&&r.splice(e,1)}),(t=t.join(" "))!==(r=r.join(" "))&&(n.className=r)};console.log("firstElementChildSupported",t);var G=t?function(n){return n.firstElementChild}:function(n){var e=n.firstChild;return e&&1===e.nodeType?e:null};return{addClass:function(n,e){var t=u(e);return m(n,function(n){g(n,t)}),n},after:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"after",function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n.nextSibling)})},append:S,attr:function(n,e,t){return w(t)?(f=e,(u=p(u=n))&&u.getAttribute(f)):(i=e,o=t,m(r=n,function(n){n.setAttribute(i,o)}),r);var r,i,o,u,f},before:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"before",function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n)})},children:function(n){return P(n,"",function(n,e,t){E(n,t)})},css:function(n,e,t){var r,i,o,u,f;return e=e.replace(D,function(n,e){return e.toUpperCase()}),w(t)?(f=e,(u=p(u=n))?A(u,f):""):(i=e,o=t,m(r=n,function(n){T(n,i,o)}),r)},data:function(e,r,t){if(y(i=r)||"object"!=typeof i){if(y(r))return(e=p(e))&&B(e,"data");if(w(t)){var n=B(e,"data");return n&&n[r]}return m(e,function(n){var e=B(n,"data");e||B(n,"data",e={}),e[r]=t}),e}return m(e,function(n){var t=B(n,"data");t||B(e,"data",t={}),b(r,function(n,e){t[e]=n})}),e;var i},empty:V,hasClass:function(n,e){var i=!1,o=u(e);return m(n,function(n){if(e=o,t=!1,r=u(n.className),v(e,function(n){if(-1<r.indexOf(n))return!(t=!0)}),t)return!(i=!0);var e,t,r}),i},hide:function(n){return k(n)},html:function(n,e){return y(e)?(n=p(n))&&n.innerHTML:(m(n,1===e.nodeType?function(n){V(n),S(n,e)}:function(n){n.innerHTML=String(e)}),n)},next:function(n){return P(n,"nextElementSibling",H)},nextAll:function(n){return P(n,"nextElementSibling",z)},off:function(n,e,i){return m(n,function(t){var r=B(t,"events");B(t,"handle")&&(w(e)?F(r,function(n,e){I(t,e,n),delete r[e]}):F(e.split(" "),function(n){w(i)?(I(t,n,r[n]),delete r[n]):U(r[n],i)}))}),n},on:function(n,e,f){return m(n,function(t){var r,i,n,o=B(t,"events"),u=B(t,"handle");o||B(t,"events",o={}),u||B(t,"handle",(i=o,(n=function(e){if(e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){e.cancelBubble=!0}),e.target||(e.target=e.srcElement||document),w(e.defaultPrevented)){var n=e.preventDefault;n=n.bind(e),e.preventDefault=function(){e.defaultPrevented=!0,n()},e.defaultPrevented=!1}e.isDefaultPrevented=function(){return e.defaultPrevented||!1===e.returnValue},F(i[e.type],function(n){return n.call(r,e)});try{delete e.preventDefault,delete e.stopPropagation,delete e.isDefaultPrevented}catch(n){e.preventDefault=null,e.stopPropagation=null,e.isDefaultPrevented=null}}).elem=r=t,u=n)),e.split(" ").forEach(function(n){var e=o[n];e||(W(t,n,u),e=o[n]=[]),e[e.length]=f})}),n},parent:function(n){return P(n,"",function(n,e,t){var r=n.parentNode;r&&t(r)})},prepend:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"prepend",function(n,e){n.insertBefore(e,n.firstChild)})},prev:function(n){return P(n,"previousElementSibling",H)},prevAll:function(n){return P(n,"previousElementSibling",z)},prop:$,remove:function(n){return m(n,function(n){var e=n.parentNode;e&&e.removeChild(n)}),n},removeAttr:function(n,e){var t=u(e);return m(n,function(e){t.forEach(function(n){e.removeAttribute(n)})}),n},removeClass:function(n,e){if(!arguments.length)return $(n,"className","");var t=u(e);return m(n,function(n){q(n,t)}),n},removeData:function(n){for(var t=[],e=arguments.length-1;0<e--;)t[e]=arguments[e+1];var r=t[0]?function(n){var e=B(n,"data");e&&v(t,function(n){delete e[n]})}:function(){B(n,"data",{})};return m(n,r),n},removeProp:function(n,e){return m(n,function(n){delete n[l[e]||e]}),n},show:function(n){return k(n,!0)},wrap:function(o,u){return u&&(C(u,null,function(n){return u=n,!1}),m(o,function(n,e){var t,r=e?u.cloneNode(!0):u,i=n.parentNode;for(i&&i.replaceChild(r,o);t=G(n);)r=t;r.appendChild(n)})),o}}});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e()}(this,function(){"use strict";var a=/^\s*<(\w+|!)[^>]*>/,c=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,e=/[^\x20\t\r\n\f]+/g;function r(n){return"string"==typeof n}function u(n){return Array.isArray(n)?n:r(n)&&n.match(e)||[]}var n="classList"in document.body,t="firstElementChild"in document.body,l={for:"htmlFor",class:"className"};["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"].forEach(function(n){l[n.toLowerCase()]=n});var d=document.createElement("div"),i=["Webkit","Moz","ms"],o=d.style;var f={nextElementSibling:"nextSibling",previousElementSibling:"previousSibling"};function v(n,e){return e?n.bind(e):n}function s(n,e,t){for(var r=v(e,t),i=0,o=n.length,u=void 0;!1!==u&&i<o;i++)u=r(n[i],i,n)}function p(n){return n&&(-1<n.length?n[0]:n)}function m(n,e){return n&&(-1<n.length?s(n,e):e(n)),n}function h(n,e){n[n.length]=e}var g=n?function(e,n){n.forEach(function(n){e.classList.add(n)})}:function(n,e){var t=u(n.className),r=t.slice(0);e.forEach(function(n){-1===r.indexOf(n)&&h(r,n)}),(t=t.join(" "))!==(r=r.join(" "))&&(n.className=r)};function y(n){return null==n}function b(n,e,t){var r=v(e,t);for(var i in n)if(!1===r(n[i],i,n))break}function E(n,e){var t=[],r=e||function(n){h(t,n)};return s(n.childNodes,function(n,e){var t=0;1===n.nodeType&&r(n,++t,e)}),t}function x(n,e,t){var r,i,o,u=n.match(c);if(u){var f=document.createElement(u[1]);i=function(n,e){f.setAttribute(e,n)},(r=e)&&b(r,i,o),t(f)}else a.test(n)?(d.innerHTML=n,E(d,t)):t(document.createTextNode(n))}function C(n){var t=document.createDocumentFragment();return s(n,function(n){var e;1===n.nodeType?t.appendChild(n):r(n)||(y(e=n)||"number"!=typeof e.length||"function"==typeof e)?x(n,null,function(n){t.appendChild(n)}):s(n,function(n){t.appendChild(n)})}),t}function N(e,n,t,r){if(e){t&&document.body[t]&&(r=function(n,e){n[t](e)});var i,o=C(n),u=e.length;if(u){var f=u-1;!function(n,e,t){for(var r=v(e,t),i=0,o=void 0;!1!==o&&i<n;i++)o=r(i,i,i)}(f,function(n){return r(e[n],o.cloneNode(!0))}),i=e[f]}else i=e;r(i,o)}return e}function w(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"appendChild")}function P(n){return void 0===n}function S(n,e,t){var r=[];return m(n,function(n){t(n,e,function(n){!function(n,e){if(n)n[n.length]=e}(r,n)})}),r}var D=/-([a-z])/g;var L={};function T(n,e,t){var r=n.style;if(e=L[e]||(L[e]=function(n){if(n in o)return n;for(var e=n[0].toUpperCase()+n.slice(1),t=i.length;t--;)if((n=i[t]+e)in o)return n}(e)||e),y(t))return r[e];r[e]=t}function A(n,e,t){var r,i,o="";return(t=t||((i=(r=n).ownerDocument.defaultView)&&i.opener||(i=window),i.getComputedStyle(r)))&&(o=t.getPropertyValue(e)||t[e]),o}var j=1,M="expando9527",O={};function B(n,e,t){var r=n[M],i=O[r||-1];if(P(t))return i&&i[e];i||(n[M]=r=++j,i=O[r]={}),i[e]=t}function V(n){m(n,function(n){if(1===n.nodeType)if("textContent"in n)n.textContent="";else for(var e;e=n.firstChild;)n.removeChild(e)})}function k(n,r){return m(n,function(n){var e=n.style.display||"",t=B(n,"display");(P(t)&&(B(n,"display",e),t=e),r)?e?"none"===e&&(n.style.display="none"===t?"":t):"none"===A(n,"display")&&(n.style.display="block"):n.style.display="none"}),n}function H(n,e,t){var r=n[e];if(r)t(r);else{for(e=f[e];(n=n[e])&&1!==n.nodeType;);n&&t(n)}}function z(n,e,t){if(e in n)for(;n=n[e];)t(n);else for(e=f[e];(n=n[e])&&1===n.nodeType;)t(n)}function F(n,e,t){return n&&s(n,e,t)}function U(n,e){var t,r=function(n,e,t){if(e){if(e.indexOf)return e.indexOf(n,t);for(var r=e.length,i=t?t<0?Math.max(0,r+t):t:0;i<r;i++)if(i in e&&e[i]===n)return i}return-1}(e,n);return 0<=r?(t=r,n.splice(t,1),e):null}var I=window.removeEventListener?function(n,e,t){n.removeEventListener(e,t,!1)}:function(n,e,t){n.detachEvent("on"+e,t)};var W=window.addEventListener?function(n,e,t){n.addEventListener(e,t,!1)}:function(n,e,t){n.attachEvent("on"+e,t)};function $(n,e,t){return P(t)?(f=e,(u=p(u=n))&&u[f]):(r=n,o=t,i=l[i=e]||i,m(r,function(n){n[i]=o}),r);var r,i,o,u,f}var q=n?function(e,n){n.forEach(function(n){e.classList.remove(n)})}:function(n,e){var t=u(n.className),r=t.slice(0);e.forEach(function(n){var e=r.indexOf(n);-1<e&&r.splice(e,1)}),(t=t.join(" "))!==(r=r.join(" "))&&(n.className=r)};var G=t?function(n){return n.firstElementChild}:function(n){var e=n.firstChild;return e&&1===e.nodeType?e:null};return{addClass:function(n,e){var t=u(e);return m(n,function(n){g(n,t)}),n},after:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"after",function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n.nextSibling)})},append:w,attr:function(n,e,t){return P(t)?(f=e,(u=p(u=n))&&u.getAttribute(f)):(i=e,o=t,m(r=n,function(n){n.setAttribute(i,o)}),r);var r,i,o,u,f},before:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"before",function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n)})},children:function(n){return S(n,"",function(n,e,t){E(n,t)})},css:function(n,e,t){var r,i,o,u,f;return e=e.replace(D,function(n,e){return e.toUpperCase()}),P(t)?(f=e,(u=p(u=n))?A(u,f):""):(i=e,o=t,m(r=n,function(n){T(n,i,o)}),r)},data:function(e,r,t){if(y(i=r)||"object"!=typeof i){if(y(r))return(e=p(e))&&B(e,"data");if(P(t)){var n=B(e,"data");return n&&n[r]}return m(e,function(n){var e=B(n,"data");e||B(n,"data",e={}),e[r]=t}),e}return m(e,function(n){var t=B(n,"data");t||B(e,"data",t={}),b(r,function(n,e){t[e]=n})}),e;var i},empty:V,hasClass:function(n,e){var i=!1,o=u(e);return m(n,function(n){if(e=o,t=!1,r=u(n.className),s(e,function(n){if(-1<r.indexOf(n))return!(t=!0)}),t)return!(i=!0);var e,t,r}),i},hide:function(n){return k(n)},html:function(n,e){return y(e)?(n=p(n))&&n.innerHTML:(m(n,1===e.nodeType?function(n){V(n),w(n,e)}:function(n){n.innerHTML=String(e)}),n)},next:function(n){return S(n,"nextElementSibling",H)},nextAll:function(n){return S(n,"nextElementSibling",z)},off:function(n,e,i){return m(n,function(t){var r=B(t,"events");B(t,"handle")&&(P(e)?F(r,function(n,e){I(t,e,n),delete r[e]}):F(e.split(" "),function(n){P(i)?(I(t,n,r[n]),delete r[n]):U(r[n],i)}))}),n},on:function(n,e,f){return m(n,function(t){var r,i,n,o=B(t,"events"),u=B(t,"handle");o||B(t,"events",o={}),u||B(t,"handle",(i=o,(n=function(e){if(e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){e.cancelBubble=!0}),e.target||(e.target=e.srcElement||document),P(e.defaultPrevented)){var n=e.preventDefault;n=n.bind(e),e.preventDefault=function(){e.defaultPrevented=!0,n()},e.defaultPrevented=!1}e.isDefaultPrevented=function(){return e.defaultPrevented||!1===e.returnValue},F(i[e.type],function(n){return n.call(r,e)});try{delete e.preventDefault,delete e.stopPropagation,delete e.isDefaultPrevented}catch(n){e.preventDefault=null,e.stopPropagation=null,e.isDefaultPrevented=null}}).elem=r=t,u=n)),e.split(" ").forEach(function(n){var e=o[n];e||(W(t,n,u),e=o[n]=[]),e[e.length]=f})}),n},parent:function(n){return S(n,"",function(n,e,t){var r=n.parentNode;r&&t(r)})},prepend:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return N(n,e,"prepend",function(n,e){n.insertBefore(e,n.firstChild)})},prev:function(n){return S(n,"previousElementSibling",H)},prevAll:function(n){return S(n,"previousElementSibling",z)},prop:$,remove:function(n){return m(n,function(n){var e=n.parentNode;e&&e.removeChild(n)}),n},removeAttr:function(n,e){var t=u(e);return m(n,function(e){t.forEach(function(n){e.removeAttribute(n)})}),n},removeClass:function(n,e){if(!arguments.length)return $(n,"className","");var t=u(e);return m(n,function(n){q(n,t)}),n},removeData:function(n){for(var t=[],e=arguments.length-1;0<e--;)t[e]=arguments[e+1];var r=t[0]?function(n){var e=B(n,"data");e&&s(t,function(n){delete e[n]})}:function(){B(n,"data",{})};return m(n,r),n},removeProp:function(n,e){return m(n,function(n){delete n[l[e]||e]}),n},show:function(n){return k(n,!0)},wrap:function(o,u){return u&&(x(u,null,function(n){return u=n,!1}),m(o,function(n,e){var t,r=e?u.cloneNode(!0):u,i=n.parentNode;for(i&&i.replaceChild(r,o);t=G(n);)r=t;r.appendChild(n)})),o}}});
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_7=require("./chunk-56b022d1.js"),addClass=__chunk_4.classListSupported?function(s,c){c.forEach(function(c){s.classList.add(c)})}:function(c,s){var n=__chunk_3.classesToArray(c.className),u=n.slice(0);s.forEach(function(c){-1===u.indexOf(c)&&__chunk_7.append(u,c)}),(n=n.join(" "))!==(u=u.join(" "))&&(c.className=u)};function addClass$1(c,s){var n=__chunk_3.classesToArray(s);return __chunk_6.checkDom(c,function(c){addClass(c,n)}),c}module.exports=addClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_7=require("./chunk-b5694aee.js"),addClass=__chunk_4.classListSupported?function(s,c){c.forEach(function(c){s.classList.add(c)})}:function(c,s){var a=__chunk_3.classesToArray(c.className),e=a.slice(0);s.forEach(function(c){-1===e.indexOf(c)&&__chunk_7.append(e,c)}),(a=a.join(" "))!==(e=e.join(" "))&&(c.className=e)};function addClass$1(c,s){var a=__chunk_3.classesToArray(s);return __chunk_6.checkDom(c,function(c){addClass(c,a)}),c}module.exports=addClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function after(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"after",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e.nextSibling)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=after;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function after(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"after",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e.nextSibling)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=after;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function append(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"appendChild")}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=append;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function append(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"appendChild")}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=append;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js");function getAttribute(t,e){return(t=__chunk_6.firstNode(t))&&t.getAttribute(e)}function setAttribute(t,e,u){return __chunk_6.checkDom(t,function(t){t.setAttribute(e,u)}),t}function attr(t,e,u){return __chunk_13.isUndefined(u)?getAttribute(t,e):setAttribute(t,e,u)}module.exports=attr;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js");function getAttribute(t,e){return(t=__chunk_6.firstNode(t))&&t.getAttribute(e)}function setAttribute(t,e,u){return __chunk_6.checkDom(t,function(t){t.setAttribute(e,u)}),t}function attr(t,e,u){return __chunk_13.isUndefined(u)?getAttribute(t,e):setAttribute(t,e,u)}module.exports=attr;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function before(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"before",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=before;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function before(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"before",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=before;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-56b022d1.js");var __chunk_12=require("./chunk-baef53ec.js"),__chunk_14=require("./chunk-e833b706.js");function children(e){return __chunk_14.dir(e,"",function(e,u,c){__chunk_12.childNodes(e,c)})}module.exports=children;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-b5694aee.js");var __chunk_12=require("./chunk-f630e37c.js"),__chunk_14=require("./chunk-1767ca0a.js");function children(e){return __chunk_14.dir(e,"",function(e,u,c){__chunk_12.childNodes(e,c)})}module.exports=children;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_8=require("./chunk-d577de8f.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_15=require("./chunk-a84020f0.js"),DASH_ALPHA_REGEX=/-([a-z])/g;function camelCase(e){return e.replace(DASH_ALPHA_REGEX,function(e,r){return r.toUpperCase()})}var cssProps={};function style(e,r,n){var c=e.style;if(r=cssProps[r]||(cssProps[r]=__chunk_4.vendorPropName(r)||r),__chunk_8.isNil(n))return c[r];c[r]=n}function getter(e,r){return(e=__chunk_6.firstNode(e))?__chunk_15.curCSS(e,r):""}function setter(e,r,n){return __chunk_6.checkDom(e,function(e){style(e,r,n)}),e}function css(e,r,n){return r=camelCase(r),__chunk_13.isUndefined(n)?getter(e,r):setter(e,r,n)}module.exports=css;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_8=require("./chunk-984e61d1.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_15=require("./chunk-1a25c08c.js"),DASH_ALPHA_REGEX=/-([a-z])/g;function camelCase(e){return e.replace(DASH_ALPHA_REGEX,function(e,r){return r.toUpperCase()})}var cssProps={};function style(e,r,c){var n=e.style;if(r=cssProps[r]||(cssProps[r]=__chunk_4.vendorPropName(r)||r),__chunk_8.isNil(c))return n[r];n[r]=c}function getter(e,r){return(e=__chunk_6.firstNode(e))?__chunk_15.curCSS(e,r):""}function setter(e,r,c){return __chunk_6.checkDom(e,function(e){style(e,r,c)}),e}function css(e,r,c){return r=camelCase(r),__chunk_13.isUndefined(c)?getter(e,r):setter(e,r,c)}module.exports=css;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_8=require("./chunk-d577de8f.js"),__chunk_10=require("./chunk-f2d50846.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js");function isObject(_){return!__chunk_8.isNil(_)&&"object"==typeof _}function data(n,u,e){if(isObject(u))return __chunk_6.checkDom(n,function(_){var e=__chunk_16.expandoStore(_,"data");e||__chunk_16.expandoStore(n,"data",e={}),__chunk_10.forIn(u,function(_,n){e[n]=_})}),n;if(__chunk_8.isNil(u))return(n=__chunk_6.firstNode(n))&&__chunk_16.expandoStore(n,"data");if(__chunk_13.isUndefined(e)){var _=__chunk_16.expandoStore(n,"data");return _&&_[u]}return __chunk_6.checkDom(n,function(_){var n=__chunk_16.expandoStore(_,"data");n||__chunk_16.expandoStore(_,"data",n={}),n[u]=e}),n}module.exports=data;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_8=require("./chunk-984e61d1.js"),__chunk_10=require("./chunk-25fdb641.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js");function isObject(_){return!__chunk_8.isNil(_)&&"object"==typeof _}function data(n,u,e){if(isObject(u))return __chunk_6.checkDom(n,function(_){var e=__chunk_16.expandoStore(_,"data");e||__chunk_16.expandoStore(n,"data",e={}),__chunk_10.forIn(u,function(_,n){e[n]=_})}),n;if(__chunk_8.isNil(u))return(n=__chunk_6.firstNode(n))&&__chunk_16.expandoStore(n,"data");if(__chunk_13.isUndefined(e)){var _=__chunk_16.expandoStore(n,"data");return _&&_[u]}return __chunk_6.checkDom(n,function(_){var n=__chunk_16.expandoStore(_,"data");n||__chunk_16.expandoStore(_,"data",n={}),n[u]=e}),n}module.exports=data;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function empty(e){__chunk_6.checkDom(e,function(e){if(1===e.nodeType)if("textContent"in e)e.textContent="";else for(var t;t=e.firstChild;)e.removeChild(t)})}module.exports=empty;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function empty(e){__chunk_6.checkDom(e,function(e){if(1===e.nodeType)if("textContent"in e)e.textContent="";else for(var t;t=e.firstChild;)e.removeChild(t)})}module.exports=empty;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_5=require("./chunk-7ad506f8.js"),__chunk_6=require("./chunk-cf5dc476.js");function hasClass(r,s){var c=!1,u=__chunk_3.classesToArray(r.className);return __chunk_5.forEach(s,function(r){if(-1<u.indexOf(r))return!(c=!0)}),c}function hasClass$1(r,s){var c=!1,u=__chunk_3.classesToArray(s);return __chunk_6.checkDom(r,function(r){if(hasClass(r,u))return!(c=!0)}),c}module.exports=hasClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_5=require("./chunk-479d732e.js"),__chunk_6=require("./chunk-0a7dfc22.js");function hasClass(r,s){var u=!1,c=__chunk_3.classesToArray(r.className);return __chunk_5.forEach(s,function(r){if(-1<c.indexOf(r))return!(u=!0)}),u}function hasClass$1(r,s){var u=!1,c=__chunk_3.classesToArray(s);return __chunk_6.checkDom(r,function(r){if(hasClass(r,c))return!(u=!0)}),u}module.exports=hasClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-13089cd6.js"),require("./chunk-a84020f0.js"),require("./chunk-f2d48995.js");var __chunk_17=require("./chunk-cc63483a.js");function hide(e){return __chunk_17.showHide(e)}module.exports=hide;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-132a4ff9.js"),require("./chunk-1a25c08c.js"),require("./chunk-b8c23555.js");var __chunk_17=require("./chunk-30c35215.js");function hide(e){return __chunk_17.showHide(e)}module.exports=hide;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-56b022d1.js");var __chunk_8=require("./chunk-d577de8f.js");require("./chunk-0d387eab.js"),require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js");var append=require("./append.js"),empty=require("./empty.js");function html(e,r){if(__chunk_8.isNil(r))return(e=__chunk_6.firstNode(e))&&e.innerHTML;var u=1===r.nodeType?function(e){empty(e),append(e,r)}:function(e){e.innerHTML=String(r)};return __chunk_6.checkDom(e,u),e}module.exports=html;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-b5694aee.js");var __chunk_8=require("./chunk-984e61d1.js");require("./chunk-77b2f1ce.js"),require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js");var append=require("./append.js"),empty=require("./empty.js");function html(e,r){if(__chunk_8.isNil(r))return(e=__chunk_6.firstNode(e))&&e.innerHTML;var u=1===r.nodeType?function(e){empty(e),append(e,r)}:function(e){e.innerHTML=String(r)};return __chunk_6.checkDom(e,u),e}module.exports=html;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_18=require("./chunk-0d15c835.js");function next(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_18.sibling)}module.exports=next;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_18=require("./chunk-d96db0de.js");function next(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_18.sibling)}module.exports=next;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_19=require("./chunk-42c174f2.js");function nextAll(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_19.siblings)}module.exports=nextAll;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_19=require("./chunk-960bde42.js");function nextAll(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_19.siblings)}module.exports=nextAll;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js"),__chunk_20=require("./chunk-a836d813.js");function inArray(e,n,r){if(n){if(n.indexOf)return n.indexOf(e,r);for(var t=n.length,u=r?r<0?Math.max(0,t+r):r:0;u<t;u++)if(u in n&&n[u]===e)return u}return-1}function removeAt(e,n){return e.splice(n,1),n}function remove(e,n){var r=inArray(n,e);return 0<=r?(removeAt(e,r),n):null}var removeEventListenerFn=window.removeEventListener?function(e,n,r){e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent("on"+n,r)};function off(e,n,u){return __chunk_6.checkDom(e,function(r){var t=__chunk_16.expandoStore(r,"events");__chunk_16.expandoStore(r,"handle")&&(__chunk_13.isUndefined(n)?__chunk_20.forEach(t,function(e,n){removeEventListenerFn(r,n,e),delete t[n]}):__chunk_20.forEach(n.split(" "),function(e){__chunk_13.isUndefined(u)?(removeEventListenerFn(r,e,t[e]),delete t[e]):remove(t[e],u)}))}),e}module.exports=off;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js"),__chunk_20=require("./chunk-17a83ae0.js");function inArray(e,n,r){if(n){if(n.indexOf)return n.indexOf(e,r);for(var t=n.length,u=r?r<0?Math.max(0,t+r):r:0;u<t;u++)if(u in n&&n[u]===e)return u}return-1}function removeAt(e,n){return e.splice(n,1),n}function remove(e,n){var r=inArray(n,e);return 0<=r?(removeAt(e,r),n):null}var removeEventListenerFn=window.removeEventListener?function(e,n,r){e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent("on"+n,r)};function off(e,n,u){return __chunk_6.checkDom(e,function(r){var t=__chunk_16.expandoStore(r,"events");__chunk_16.expandoStore(r,"handle")&&(__chunk_13.isUndefined(n)?__chunk_20.forEach(t,function(e,n){removeEventListenerFn(r,n,e),delete t[n]}):__chunk_20.forEach(n.split(" "),function(e){__chunk_13.isUndefined(u)?(removeEventListenerFn(r,e,t[e]),delete t[e]):remove(t[e],u)}))}),e}module.exports=off;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js"),__chunk_20=require("./chunk-a836d813.js"),addEventListenerFn=window.addEventListener?function(e,n,t){e.addEventListener(n,t,!1)}:function(e,n,t){e.attachEvent("on"+n,t)};function createEventHandler(t,r){var e=function(n){if(n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),n.target||(n.target=n.srcElement||document),__chunk_13.isUndefined(n.defaultPrevented)){var e=n.preventDefault;e=e.bind(n),n.preventDefault=function(){n.defaultPrevented=!0,e()},n.defaultPrevented=!1}n.isDefaultPrevented=function(){return n.defaultPrevented||!1===n.returnValue},__chunk_20.forEach(r[n.type],function(e){return e.call(t,n)});try{delete n.preventDefault,delete n.stopPropagation,delete n.isDefaultPrevented}catch(e){n.preventDefault=null,n.stopPropagation=null,n.isDefaultPrevented=null}};return e.elem=t,e}function on(e,n,a){return __chunk_6.checkDom(e,function(t){var r=__chunk_16.expandoStore(t,"events"),u=__chunk_16.expandoStore(t,"handle");r||__chunk_16.expandoStore(t,"events",r={}),u||__chunk_16.expandoStore(t,"handle",u=createEventHandler(t,r)),n.split(" ").forEach(function(e){var n=r[e];n||(addEventListenerFn(t,e,u),n=r[e]=[]),n[n.length]=a})}),e}module.exports=on;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js"),__chunk_20=require("./chunk-17a83ae0.js"),addEventListenerFn=window.addEventListener?function(e,n,t){e.addEventListener(n,t,!1)}:function(e,n,t){e.attachEvent("on"+n,t)};function createEventHandler(t,r){var e=function(n){if(n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),n.target||(n.target=n.srcElement||document),__chunk_13.isUndefined(n.defaultPrevented)){var e=n.preventDefault;e=e.bind(n),n.preventDefault=function(){n.defaultPrevented=!0,e()},n.defaultPrevented=!1}n.isDefaultPrevented=function(){return n.defaultPrevented||!1===n.returnValue},__chunk_20.forEach(r[n.type],function(e){return e.call(t,n)});try{delete n.preventDefault,delete n.stopPropagation,delete n.isDefaultPrevented}catch(e){n.preventDefault=null,n.stopPropagation=null,n.isDefaultPrevented=null}};return e.elem=t,e}function on(e,n,a){return __chunk_6.checkDom(e,function(t){var r=__chunk_16.expandoStore(t,"events"),u=__chunk_16.expandoStore(t,"handle");r||__chunk_16.expandoStore(t,"events",r={}),u||__chunk_16.expandoStore(t,"handle",u=createEventHandler(t,r)),n.split(" ").forEach(function(e){var n=r[e];n||(addEventListenerFn(t,e,u),n=r[e]=[]),n[n.length]=a})}),e}module.exports=on;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js");function parent(r){return __chunk_14.dir(r,"",function(r,e,n){var u=r.parentNode;u&&n(u)})}module.exports=parent;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js");function parent(r){return __chunk_14.dir(r,"",function(r,e,n){var u=r.parentNode;u&&n(u)})}module.exports=parent;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function prepend(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"prepend",function(e,r){e.insertBefore(r,e.firstChild)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=prepend;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function prepend(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"prepend",function(e,r){e.insertBefore(r,e.firstChild)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=prepend;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_18=require("./chunk-0d15c835.js");function prev(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_18.sibling)}module.exports=prev;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_18=require("./chunk-d96db0de.js");function prev(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_18.sibling)}module.exports=prev;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_19=require("./chunk-42c174f2.js");function prevAll(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_19.siblings)}module.exports=prevAll;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_19=require("./chunk-960bde42.js");function prevAll(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_19.siblings)}module.exports=prevAll;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js");function getProperty(r,e){return(r=__chunk_6.firstNode(r))&&r[e]}function setProperty(r,e,n){return e=__chunk_4.propFix[e]||e,__chunk_6.checkDom(r,function(r){r[e]=n}),r}function prop(r,e,n){return __chunk_13.isUndefined(n)?getProperty(r,e):setProperty(r,e,n)}module.exports=prop;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js");function getProperty(r,e){return(r=__chunk_6.firstNode(r))&&r[e]}function setProperty(r,e,n){return e=__chunk_4.propFix[e]||e,__chunk_6.checkDom(r,function(r){r[e]=n}),r}function prop(r,e,n){return __chunk_13.isUndefined(n)?getProperty(r,e):setProperty(r,e,n)}module.exports=prop;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function remove(e){return __chunk_6.checkDom(e,function(e){var r=e.parentNode;r&&r.removeChild(e)}),e}module.exports=remove;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function remove(e){return __chunk_6.checkDom(e,function(e){var r=e.parentNode;r&&r.removeChild(e)}),e}module.exports=remove;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function removeAttr(r,e){var c=__chunk_3.classesToArray(e);return __chunk_6.checkDom(r,function(e){c.forEach(function(r){e.removeAttribute(r)})}),r}module.exports=removeAttr;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function removeAttr(e,r){var u=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(r){u.forEach(function(e){r.removeAttribute(e)})}),e}module.exports=removeAttr;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-13089cd6.js");var prop=require("./prop.js"),removeClass=__chunk_4.classListSupported?function(r,e){e.forEach(function(e){r.classList.remove(e)})}:function(e,r){var c=__chunk_3.classesToArray(e.className),s=c.slice(0);r.forEach(function(e){var r=s.indexOf(e);-1<r&&s.splice(r,1)}),(c=c.join(" "))!==(s=s.join(" "))&&(e.className=s)};function removeClass$1(e,r){if(!arguments.length)return prop(e,"className","");var c=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(e){removeClass(e,c)}),e}module.exports=removeClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-132a4ff9.js");var prop=require("./prop.js"),removeClass=__chunk_4.classListSupported?function(r,e){e.forEach(function(e){r.classList.remove(e)})}:function(e,r){var s=__chunk_3.classesToArray(e.className),c=s.slice(0);r.forEach(function(e){var r=c.indexOf(e);-1<r&&c.splice(r,1)}),(s=s.join(" "))!==(c=c.join(" "))&&(e.className=c)};function removeClass$1(e,r){if(!arguments.length)return prop(e,"className","");var s=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(e){removeClass(e,s)}),e}module.exports=removeClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_5=require("./chunk-7ad506f8.js"),__chunk_6=require("./chunk-cf5dc476.js");require("./chunk-13089cd6.js");var __chunk_16=require("./chunk-f2d48995.js");function removeData(e){for(var r=[],n=arguments.length-1;0<n--;)r[n]=arguments[n+1];var c=r[0]?function(e){var n=__chunk_16.expandoStore(e,"data");n&&__chunk_5.forEach(r,function(e){delete n[e]})}:function(){__chunk_16.expandoStore(e,"data",{})};return __chunk_6.checkDom(e,c),e}module.exports=removeData;
"use strict";var __chunk_5=require("./chunk-479d732e.js"),__chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-132a4ff9.js");var __chunk_16=require("./chunk-b8c23555.js");function removeData(e){for(var r=[],n=arguments.length-1;0<n--;)r[n]=arguments[n+1];var u=r[0]?function(e){var n=__chunk_16.expandoStore(e,"data");n&&__chunk_5.forEach(r,function(e){delete n[e]})}:function(){__chunk_16.expandoStore(e,"data",{})};return __chunk_6.checkDom(e,u),e}module.exports=removeData;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function removeProp(e,r){return __chunk_6.checkDom(e,function(e){delete e[__chunk_4.propFix[r]||r]}),e}module.exports=removeProp;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function removeProp(e,r){return __chunk_6.checkDom(e,function(e){delete e[__chunk_4.propFix[r]||r]}),e}module.exports=removeProp;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-13089cd6.js"),require("./chunk-a84020f0.js"),require("./chunk-f2d48995.js");var __chunk_17=require("./chunk-cc63483a.js");function show(u){return __chunk_17.showHide(u,!0)}module.exports=show;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-132a4ff9.js"),require("./chunk-1a25c08c.js"),require("./chunk-b8c23555.js");var __chunk_17=require("./chunk-30c35215.js");function show(e){return __chunk_17.showHide(e,!0)}module.exports=show;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js");var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-56b022d1.js"),require("./chunk-f2d50846.js");var __chunk_11=require("./chunk-8a200498.js");require("./chunk-baef53ec.js"),console.log("firstElementChildSupported",__chunk_4.firstElementChildSupported);var firstElementChild=__chunk_4.firstElementChildSupported?function(e){return e.firstElementChild}:function(e){var r=e.firstChild;return r&&1===r.nodeType?r:null};function wrap(i,t){return t&&(__chunk_11.fragment(t,null,function(e){return t=e,!1}),__chunk_6.checkDom(i,function(e,r){var n,u=r?t.cloneNode(!0):t,c=e.parentNode;for(c&&c.replaceChild(u,i);n=firstElementChild(e);)u=n;u.appendChild(e)})),i}module.exports=wrap;
"use strict";require("./chunk-59a4e7e2.js");var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-b5694aee.js"),require("./chunk-25fdb641.js");var __chunk_11=require("./chunk-7eb269d7.js");require("./chunk-f630e37c.js");var firstElementChild=__chunk_4.firstElementChildSupported?function(e){return e.firstElementChild}:function(e){var r=e.firstChild;return r&&1===r.nodeType?r:null};function wrap(i,t){return t&&(__chunk_11.fragment(t,null,function(e){return t=e,!1}),__chunk_6.checkDom(i,function(e,r){var n,u=r?t.cloneNode(!0):t,c=e.parentNode;for(c&&c.replaceChild(u,i);n=firstElementChild(e);)u=n;u.appendChild(e)})),i}module.exports=wrap;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-0e7911d6.js");require("./isNil.js"),require("./isFunction.js");var isNumber=require("./isNumber.js"),isArrayLike=require("./isArrayLike.js"),__chunk_4=require("./chunk-fcb4da67.js"),__chunk_5=require("./chunk-a0229133.js");function each(r,e,u){r&&(isArrayLike(r)?__chunk_3.forEach(r,e,u):isNumber(r)?__chunk_5.forNumber(r,e,u):__chunk_4.forIn(r,e,u))}module.exports=each;
"use strict";require("./chunk-27959177.js");var __chunk_3=require("./chunk-e62c25d8.js");require("./isNil.js"),require("./isFunction.js");var isNumber=require("./isNumber.js"),isArrayLike=require("./isArrayLike.js"),__chunk_4=require("./chunk-b1ebecac.js"),__chunk_5=require("./chunk-bbdf02a0.js");function each(r,e,u){r&&(isArrayLike(r)?__chunk_3.forEach(r,e,u):isNumber(r)?__chunk_5.forNumber(r,e,u):__chunk_4.forIn(r,e,u))}module.exports=each;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-0e7911d6.js");function forEach(r,c,u){return r&&__chunk_3.forEach(r,c,u)}module.exports=forEach;
"use strict";require("./chunk-27959177.js");var __chunk_3=require("./chunk-e62c25d8.js");function forEach(r,c,u){return r&&__chunk_3.forEach(r,c,u)}module.exports=forEach;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js");var __chunk_4=require("./chunk-fcb4da67.js");function forIn(r,n,u){return r&&__chunk_4.forIn(r,n,u)}module.exports=forIn;
"use strict";require("./chunk-27959177.js");var __chunk_4=require("./chunk-b1ebecac.js");function forIn(r,e,n){return r&&__chunk_4.forIn(r,e,n)}module.exports=forIn;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js");var __chunk_5=require("./chunk-a0229133.js");function forNumber(r,u,e){return r&&__chunk_5.forNumber(r,u,e)}module.exports=forNumber;
"use strict";require("./chunk-27959177.js");var __chunk_5=require("./chunk-bbdf02a0.js");function forNumber(r,u,e){return r&&__chunk_5.forNumber(r,u,e)}module.exports=forNumber;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0c83f589.js"),require("./chunk-5ac2012c.js"),require("./chunk-0e7911d6.js");var forEach=require("./forEach.js"),array=require("./array.js"),isNil=require("./isNil.js"),isFunction=require("./isFunction.js"),isNumber=require("./isNumber.js"),isArrayLike=require("./isArrayLike.js"),isString=require("./isString.js");require("./chunk-fcb4da67.js"),require("./chunk-a0229133.js");var each=require("./each.js"),camelCase=require("./camelCase.js"),isObject=require("./isObject.js"),date=require("./date.js"),isUndefined=require("./isUndefined.js");require("./chunk-c8dfdf38.js");var isDate=require("./isDate.js"),forIn=require("./forIn.js"),forNumber=require("./forNumber.js"),isAsyncFunction=require("./isAsyncFunction.js"),isBoolean=require("./isBoolean.js"),isPromiseLike=require("./isPromiseLike.js"),sleep=require("./sleep.js"),type=require("./type.js"),index={array:array,camelCase:camelCase,date:date,each:each,forEach:forEach,forIn:forIn,forNumber:forNumber,isArrayLike:isArrayLike,isAsyncFunction:isAsyncFunction,isBoolean:isBoolean,isDate:isDate,isFunction:isFunction,isNil:isNil,isNumber:isNumber,isObject:isObject,isPromiseLike:isPromiseLike,isString:isString,isUndefined:isUndefined,sleep:sleep,type:type};module.exports=index;
"use strict";require("./chunk-e2b3dc6d.js"),require("./chunk-27959177.js"),require("./chunk-e62c25d8.js");var forEach=require("./forEach.js"),array=require("./array.js"),isNil=require("./isNil.js"),isFunction=require("./isFunction.js"),isNumber=require("./isNumber.js"),isArrayLike=require("./isArrayLike.js"),isString=require("./isString.js");require("./chunk-b1ebecac.js"),require("./chunk-bbdf02a0.js");var each=require("./each.js"),camelCase=require("./camelCase.js"),isObject=require("./isObject.js"),date=require("./date.js"),isUndefined=require("./isUndefined.js");require("./chunk-917a4e3b.js");var isDate=require("./isDate.js"),forIn=require("./forIn.js"),forNumber=require("./forNumber.js"),isAsyncFunction=require("./isAsyncFunction.js"),isBoolean=require("./isBoolean.js"),isPromiseLike=require("./isPromiseLike.js"),sleep=require("./sleep.js"),type=require("./type.js"),index={array:array,camelCase:camelCase,date:date,each:each,forEach:forEach,forIn:forIn,forNumber:forNumber,isArrayLike:isArrayLike,isAsyncFunction:isAsyncFunction,isBoolean:isBoolean,isDate:isDate,isFunction:isFunction,isNil:isNil,isNumber:isNumber,isObject:isObject,isPromiseLike:isPromiseLike,isString:isString,isUndefined:isUndefined,sleep:sleep,type:type};module.exports=index;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_6=require("./chunk-c8dfdf38.js");function isAsyncFunction(n){return"[object AsyncFunction]"===__chunk_6.toString(n)}module.exports=isAsyncFunction;
"use strict";var __chunk_6=require("./chunk-917a4e3b.js");function isAsyncFunction(n){return"[object AsyncFunction]"===__chunk_6.toString(n)}module.exports=isAsyncFunction;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_6=require("./chunk-c8dfdf38.js");function isDate(t){return"[object Date]"===__chunk_6.toString(t)}module.exports=isDate;
"use strict";var __chunk_6=require("./chunk-917a4e3b.js");function isDate(e){return"[object Date]"===__chunk_6.toString(e)}module.exports=isDate;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-7ad506f8.js");function forEach(r,c,u){return r&&__chunk_1.forEach(r,c,u)}module.exports=forEach;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js");module.exports=__chunk_2.forEach;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";function grep(r,e,t){var n=[];if(r){var g=0,o=r.length;for(t=!!t;g<o;g++)!e(r[g],g)===t&&(n[n.length]=r[g])}return n}module.exports=grep;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js"),__chunk_3=require("./chunk-b5694aee.js");function grep(e,u,n){var c=[];return n=!!n,__chunk_2.forEach(e,function(e,r){!u(e,r)===n&&__chunk_3.append(c,e)}),c}module.exports=grep;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";function join(n,t){for(var e=+t.length,o=n.length,r=0;r<e;r++)n[o++]=t[r];return n.length=o,n}module.exports=join;
"use strict";require("./chunk-479d732e.js");var __chunk_2=require("./chunk-8d98b4c2.js");function join(e,n){var r=e.length;return __chunk_2.forEach(n,function(n){e[r++]=n}),e.length=r,e}module.exports=join;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var join=require("./join.js"),__chunk_2=require("./chunk-2a0959ac.js");function isString(r){return"string"==typeof r}var ref=Array.prototype,push=ref.push;function makeArray(r,e){var u=e||[];return r&&(__chunk_2.isArrayLike(Object(r))?join(u,isString(r)?[r]:r):u.push?u.push(r):push.call(u,r)),u}module.exports=makeArray;
"use strict";require("./chunk-479d732e.js"),require("./chunk-8d98b4c2.js");var join=require("./join.js"),__chunk_4=require("./chunk-ca5471b6.js");function isString(r){return"string"==typeof r}var ref=Array.prototype,push=ref.push;function makeArray(r,e){var u=e||[];return r&&(__chunk_4.isArrayLike(Object(r))?join(u,isString(r)?[r]:r):u.push?u.push(r):push.call(u,r)),u}module.exports=makeArray;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-7ad506f8.js"),__chunk_2=require("./chunk-2a0959ac.js");function forIn(r,n,_){var a=__chunk_1.iteratorCallback(n,_);for(var c in r)if(!1===a(r[c],c,r))break}function forNumber(r,n,_){for(var a=__chunk_1.iteratorCallback(n,_),c=0,u=void 0;!1!==u&&c<r;c++)u=a(c,c,c)}function each(r,n,_){r&&(__chunk_2.isArrayLike(r)?__chunk_1.forEach(r,n,_):__chunk_2.isNumber(r)?forNumber(r,n,_):forIn(r,n,_))}function append(r,n){r[r.length]=n}function map(r,n,_){var a=[],c=__chunk_1.iteratorCallback(n,_);return each(r,function(r){r=c(r),__chunk_2.isNil(r)||append(a,r)}),a}module.exports=map;
"use strict";var __chunk_1=require("./chunk-479d732e.js"),__chunk_3=require("./chunk-b5694aee.js"),__chunk_4=require("./chunk-ca5471b6.js");function forIn(r,_,n){var u=__chunk_1.iteratorCallback(_,n);for(var c in r)if(!1===u(r[c],c,r))break}function forNumber(r,_,n){for(var u=__chunk_1.iteratorCallback(_,n),c=0,a=void 0;!1!==a&&c<r;c++)a=u(c,c,c)}function each(r,_,n){r&&(__chunk_4.isArrayLike(r)?__chunk_1.forEach(r,_,n):__chunk_4.isNumber(r)?forNumber(r,_,n):forIn(r,_,n))}function map(r,_,n){var u=[],c=__chunk_1.iteratorCallback(_,n);return each(r,function(r){r=c(r),__chunk_4.isNil(r)||__chunk_3.append(u,r)}),u}module.exports=map;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-0cb3fc16.js"),__chunk_2=require("./chunk-5ac2012c.js"),__chunk_3=require("./chunk-6fce3905.js");function isObject(e){return!__chunk_1.isNil(e)&&"object"==typeof e}function forIn(e,n,t){var r=__chunk_2.iteratorCallback(n,t);for(var c in e)if(!1===r(e[c],c,e))break}var indexOfUnits={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function getIndex(e){return e=__chunk_3.normalizeUnit(e,"ms"),indexOfUnits[e]}function add(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(isObject(n))forIn(n,function(e,n){var t=getIndex(n);r[t]+=e});else{var c=getIndex(t);r[c]+=n}return e.setTime(+__chunk_1.parseArray(r)),e}module.exports=add;
"use strict";var __chunk_1=require("./chunk-1975bbb1.js"),__chunk_2=require("./chunk-27959177.js"),__chunk_3=require("./chunk-d2dca2a0.js");function isObject(e){return!__chunk_1.isNil(e)&&"object"==typeof e}function forIn(e,n,t){var r=__chunk_2.iteratorCallback(n,t);for(var i in e)if(!1===r(e[i],i,e))break}var indexOfUnits={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function getIndex(e){return e=__chunk_3.normalizeUnit(e,"ms"),indexOfUnits[e]}function add(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(isObject(n))forIn(n,function(e,n){var t=getIndex(n);r[t]+=e});else{var i=getIndex(t);r[i]+=n}return e.setTime(+__chunk_1.parseArray(r)),e}module.exports=add;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-5ac2012c.js"),require("./isLeapYear.js");var __chunk_4=require("./chunk-1060fd37.js"),__chunk_5=require("./chunk-a0229133.js");function isUndefined(e){return void 0===e}function dayOfYear(e,r){var n=__chunk_4.daysInYear(e),u=e.getMonth(),i=0;return __chunk_5.forNumber(u,function(e){i+=n[e]}),i+=e.getDate(),isUndefined(r)?i:(e.setTime(+e+864e5*(r-i)),e)}module.exports=dayOfYear;
"use strict";require("./chunk-27959177.js"),require("./isLeapYear.js");var __chunk_4=require("./chunk-8034083a.js"),__chunk_5=require("./chunk-bbdf02a0.js");function isUndefined(e){return void 0===e}function dayOfYear(e,r){var n=__chunk_4.daysInYear(e),u=e.getMonth(),i=0;return __chunk_5.forNumber(u,function(e){i+=n[e]}),i+=e.getDate(),isUndefined(r)?i:(e.setTime(+e+864e5*(r-i)),e)}module.exports=dayOfYear;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./isLeapYear.js");var __chunk_4=require("./chunk-1060fd37.js");function daysInMonth(e){return __chunk_4.daysInYear(e)[e.getMonth()]}module.exports=daysInMonth;
"use strict";require("./isLeapYear.js");var __chunk_4=require("./chunk-8034083a.js");function daysInMonth(e){return __chunk_4.daysInYear(e)[e.getMonth()]}module.exports=daysInMonth;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-6fce3905.js"),clone=require("./clone.js");require("./chunk-a0229133.js"),require("./chunk-fbabc482.js");var parse=require("./parse.js");function monthDiff(e,r){var a=12*(r.getFullYear()-e.getFullYear())+(r.getMonth()-e.getMonth()),n=add(clone(e),a,"months");return-(a+(r<n?(r-n)/(n-add(clone(e),a-1,"months")):(r-n)/(add(clone(e),a+1,"months")-n)))||0}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function diff(e,r,a,n){var c;switch(r=parse(r),a=__chunk_3.normalizeUnit(a)){case"Y":c=monthDiff(e,r)/12;break;case"M":c=monthDiff(e,r);break;case"s":c=(e-r)/1e3;break;case"m":c=(e-r)/6e4;break;case"h":c=(e-r)/36e5;break;case"d":c=(e-r)/864e5;break;default:c=e-r}return n?c:absFloor(c)}module.exports=diff;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");require("./chunk-27959177.js");var __chunk_3=require("./chunk-d2dca2a0.js"),clone=require("./clone.js");require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js");var parse=require("./parse.js");function monthDiff(e,r){var a=12*(r.getFullYear()-e.getFullYear())+(r.getMonth()-e.getMonth()),n=add(clone(e),a,"months");return-(a+(r<n?(r-n)/(n-add(clone(e),a-1,"months")):(r-n)/(add(clone(e),a+1,"months")-n)))||0}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function diff(e,r,a,n){var s;switch(r=parse(r),a=__chunk_3.normalizeUnit(a)){case"Y":s=monthDiff(e,r)/12;break;case"M":s=monthDiff(e,r);break;case"s":s=(e-r)/1e3;break;case"m":s=(e-r)/6e4;break;case"h":s=(e-r)/36e5;break;case"d":s=(e-r)/864e5;break;default:s=e-r}return n?s:absFloor(s)}module.exports=diff;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");require("./chunk-5ac2012c.js");var __chunk_3=require("./chunk-6fce3905.js"),startOf=require("./startOf.js");function endOf(r,e){return"ms"===(e=__chunk_3.normalizeUnit(e,"ms"))||(startOf(r,e),add(r,1,e),add(r,-1,"ms")),r}module.exports=endOf;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");require("./chunk-27959177.js");var __chunk_3=require("./chunk-d2dca2a0.js"),startOf=require("./startOf.js");function endOf(r,e){return"ms"===(e=__chunk_3.normalizeUnit(e,"ms"))||(startOf(r,e),add(r,1,e),add(r,-1,"ms")),r}module.exports=endOf;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_6=require("./chunk-fbabc482.js");function padLeft(e,t){return void 0===t&&(t=2),("000000"+e).slice(-t)}function timezone(e,t){var r;return e<0?(r="+",e=Math.abs(e)):r="-",""+r+padLeft(Math.floor(e/60))+(t?"":":")+padLeft(Math.floor(e%60))}function h12(e){return 12<(e=e||24)?e-12:e}function format(t,e){return e&&"UTC"!==e?e.replace(__chunk_6.FORMAT_REGEX,function(e){switch(e){case"YY":return String(t.getFullYear()).slice(-2);case"YYYY":case"yyyy":return t.getFullYear();case"M":return t.getMonth()+1;case"MM":return padLeft(t.getMonth()+1);case"D":case"d":return t.getDate();case"DD":case"dd":return padLeft(t.getDate());case"H":return t.getHours();case"HH":return padLeft(t.getHours());case"h":return h12(t.getHours());case"hh":return padLeft(h12(t.getHours()));case"m":return t.getMinutes();case"mm":return padLeft(t.getMinutes());case"s":return t.getSeconds();case"ss":return padLeft(t.getSeconds());case"SSS":return padLeft(t.getMilliseconds(),3);case"Z":return timezone(__chunk_6.TIMEZONE_OFFSET);case"ZZ":return timezone(__chunk_6.TIMEZONE_OFFSET,!0);default:return e}}):t.toISOString()}module.exports=format;
"use strict";var __chunk_6=require("./chunk-3090b5b5.js");function padLeft(e,t){return void 0===t&&(t=2),("000000"+e).slice(-t)}function timezone(e,t){var r;return e<0?(r="+",e=Math.abs(e)):r="-",""+r+padLeft(Math.floor(e/60))+(t?"":":")+padLeft(Math.floor(e%60))}function h12(e){return 12<(e=e||24)?e-12:e}function format(t,e){return e&&"UTC"!==e?e.replace(__chunk_6.FORMAT_REGEX,function(e){switch(e){case"YY":return String(t.getFullYear()).slice(-2);case"YYYY":case"yyyy":return t.getFullYear();case"M":return t.getMonth()+1;case"MM":return padLeft(t.getMonth()+1);case"D":case"d":return t.getDate();case"DD":case"dd":return padLeft(t.getDate());case"H":return t.getHours();case"HH":return padLeft(t.getHours());case"h":return h12(t.getHours());case"hh":return padLeft(h12(t.getHours()));case"m":return t.getMinutes();case"mm":return padLeft(t.getMinutes());case"s":return t.getSeconds();case"ss":return padLeft(t.getSeconds());case"SSS":return padLeft(t.getMilliseconds(),3);case"Z":return timezone(__chunk_6.TIMEZONE_OFFSET);case"ZZ":return timezone(__chunk_6.TIMEZONE_OFFSET,!0);default:return e}}):t.toISOString()}module.exports=format;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isAfter(e,r,u){return __chunk_7.compare(e,r,u,"after")}module.exports=isAfter;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isAfter(e,r,u){return __chunk_7.compare(e,r,u,"after")}module.exports=isAfter;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isBefore(e,r,u){return __chunk_7.compare(e,r,u,"before")}module.exports=isBefore;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isBefore(e,r,u){return __chunk_7.compare(e,r,u,"before")}module.exports=isBefore;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isAfter=require("./isAfter.js"),isBefore=require("./isBefore.js");function isBetween(e,r,s,i,u){return("("===(u=u||"()").charAt(0)?isAfter(e,r,i):!isBefore(e,r,i))&&(")"===u.charAt(1)?isBefore(e,s,i):!isAfter(e,s,i))}module.exports=isBetween;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isAfter=require("./isAfter.js"),isBefore=require("./isBefore.js");function isBetween(e,r,s,i,u){return("("===(u=u||"()").charAt(0)?isAfter(e,r,i):!isBefore(e,r,i))&&(")"===u.charAt(1)?isBefore(e,s,i):!isAfter(e,s,i))}module.exports=isBetween;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-7073ab4e.js");function isSame(e,r,u){return __chunk_7.compare(e,r,u)}module.exports=isSame;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js");var __chunk_7=require("./chunk-935c9982.js");function isSame(e,r,u){return __chunk_7.compare(e,r,u)}module.exports=isSame;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isBefore=require("./isBefore.js");function isSameOrAfter(e,r,s){return!isBefore(e,r,s)}module.exports=isSameOrAfter;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isBefore=require("./isBefore.js");function isSameOrAfter(e,r,s){return!isBefore(e,r,s)}module.exports=isSameOrAfter;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js"),require("./add.js"),require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),require("./clone.js"),require("./chunk-a0229133.js"),require("./chunk-fbabc482.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-7073ab4e.js");var isAfter=require("./isAfter.js");function isSameOrBefore(e,r,s){return!isAfter(e,r,s)}module.exports=isSameOrBefore;
"use strict";require("./chunk-1975bbb1.js"),require("./add.js"),require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),require("./clone.js"),require("./chunk-bbdf02a0.js"),require("./chunk-3090b5b5.js"),require("./parse.js"),require("./startOf.js"),require("./endOf.js"),require("./chunk-935c9982.js");var isAfter=require("./isAfter.js");function isSameOrBefore(e,r,s){return!isAfter(e,r,s)}module.exports=isSameOrBefore;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_1=require("./chunk-0cb3fc16.js"),__chunk_2=require("./chunk-5ac2012c.js"),__chunk_5=require("./chunk-a0229133.js"),__chunk_6=require("./chunk-fbabc482.js");function isString(r){return"string"==typeof r}function forEach(r,e,n){for(var t=__chunk_2.iteratorCallback(e,n),c=0,_=r.length,a=void 0;!1!==a&&c<_;c++)a=t(r[c],c,r)}function isNumber(r){return"number"==typeof r}var toString=Object.prototype.toString;function toString$1(r){return toString.call(r)}function isDate(r){return"[object Date]"===toString$1(r)}function extractFrom(r){var n,t,c=[],_=__chunk_6.EXTENDED_ISO_REGEX.exec(r)||__chunk_6.BASIC_ISO_REGEX.exec(r);if(_){if(forEach(__chunk_6.DATES_REGEX,function(r,e){if(t=r[1].exec(_[1]))return __chunk_5.forNumber(3,function(r){c[r]=parseInt(t[r+1]||1,10)}),c[1]-=1,n=!1!==r[2],!1}),r.indexOf(c[0]))return r;if(t=null,_[3]&&forEach(__chunk_6.TIMES_REGEX,function(r){if(t=r[1].exec(_[3]))return c=c.concat(t.slice(1).map(function(r){return parseInt(r,10)})),!1}),!n&&t)return c;if(t=null,_[4]){t=__chunk_6.TZ_REGEX.exec(_[4]);var e=__chunk_6.TIMEZONE_OFFSET;t[1]||(c[3]-=t[2],c[4]-=t[3]||0),c[4]-=e}return c}return 4===r.length&&__chunk_6.DATES_REGEX[4][1].test(r)?((c=[parseInt(r,10),0,1]).isUTC=!0,c):r}function parseFromFormat(n,t){var r,e=t.length,c=[],_=!1;if(__chunk_5.forNumber(e,function(r){var e=n.charAt(r);switch(t.charAt(r)){case"Y":case"y":c[0]=(c[0]||"")+e;break;case"M":c[1]=(c[1]||"")+e;break;case"D":case"d":c[2]=(c[2]||"")+e;break;case"H":case"h":c[3]=(c[3]||"")+e;break;case"m":c[4]=(c[4]||"")+e;break;case"s":c[5]=(c[5]||"")+e;break;case"S":c[6]=(c[6]||"")+e;break;case"Z":_=!0}}),c=c.map(function(r){return parseInt(r,10)}),_)if(r=__chunk_6.TZ_REGEX.exec(n.slice(-1<t.indexOf("ZZ")?-5:-6))){var a=__chunk_6.TIMEZONE_OFFSET;if(!r[1]){var u="+"===r[0].charAt(0)?1:-1;c[3]-=r[2]*u,c[4]-=(r[3]||0)*u}c[4]-=a}else c.isUTC=_&-1<n.indexOf("Z");return __chunk_1.isNil(c[1])||(c[1]-=1),c}function parseStringOrArray(r,e,n){if(!isString(r))return __chunk_1.parseArray(r,!0===e);if(isString(e))return __chunk_1.parseArray(parseFromFormat(r,e),n);var t=extractFrom(r);if(t!==r)return __chunk_1.parseArray(t,t.isUTC||!0===e);var c=__chunk_6.ASP_NET_JSON_REGEX.exec(r);return new Date(null!==c?+c[1]:r)}function parse(r,e,n){return r=__chunk_1.isNil(r)?new Date:r.length?parseStringOrArray(r,e,n):isNumber(r)?new Date(r):isDate(r)?new Date(+r):r._i&&r.isValid()?new Date(+r):new Date}module.exports=parse;
"use strict";var __chunk_1=require("./chunk-1975bbb1.js"),__chunk_2=require("./chunk-27959177.js"),__chunk_5=require("./chunk-bbdf02a0.js"),__chunk_6=require("./chunk-3090b5b5.js");function isString(r){return"string"==typeof r}function forEach(r,e,n){for(var t=__chunk_2.iteratorCallback(e,n),_=0,c=r.length,a=void 0;!1!==a&&_<c;_++)a=t(r[_],_,r)}function isNumber(r){return"number"==typeof r}var toString=Object.prototype.toString;function toString$1(r){return toString.call(r)}function isDate(r){return"[object Date]"===toString$1(r)}function extractFrom(r){var n,t,_=[],c=__chunk_6.EXTENDED_ISO_REGEX.exec(r)||__chunk_6.BASIC_ISO_REGEX.exec(r);if(c){if(forEach(__chunk_6.DATES_REGEX,function(r,e){if(t=r[1].exec(c[1]))return __chunk_5.forNumber(3,function(r){_[r]=parseInt(t[r+1]||1,10)}),_[1]-=1,n=!1!==r[2],!1}),r.indexOf(_[0]))return r;if(t=null,c[3]&&forEach(__chunk_6.TIMES_REGEX,function(r){if(t=r[1].exec(c[3]))return _=_.concat(t.slice(1).map(function(r){return parseInt(r,10)})),!1}),!n&&t)return _;if(t=null,c[4]){t=__chunk_6.TZ_REGEX.exec(c[4]);var e=__chunk_6.TIMEZONE_OFFSET;t[1]||(_[3]-=t[2],_[4]-=t[3]||0),_[4]-=e}return _}return 4===r.length&&__chunk_6.DATES_REGEX[4][1].test(r)?((_=[parseInt(r,10),0,1]).isUTC=!0,_):r}function parseFromFormat(n,t){var r,e=t.length,_=[],c=!1;if(__chunk_5.forNumber(e,function(r){var e=n.charAt(r);switch(t.charAt(r)){case"Y":case"y":_[0]=(_[0]||"")+e;break;case"M":_[1]=(_[1]||"")+e;break;case"D":case"d":_[2]=(_[2]||"")+e;break;case"H":case"h":_[3]=(_[3]||"")+e;break;case"m":_[4]=(_[4]||"")+e;break;case"s":_[5]=(_[5]||"")+e;break;case"S":_[6]=(_[6]||"")+e;break;case"Z":c=!0}}),_=_.map(function(r){return parseInt(r,10)}),c)if(r=__chunk_6.TZ_REGEX.exec(n.slice(-1<t.indexOf("ZZ")?-5:-6))){var a=__chunk_6.TIMEZONE_OFFSET;if(!r[1]){var u="+"===r[0].charAt(0)?1:-1;_[3]-=r[2]*u,_[4]-=(r[3]||0)*u}_[4]-=a}else _.isUTC=c&-1<n.indexOf("Z");return __chunk_1.isNil(_[1])||(_[1]-=1),_}function parseStringOrArray(r,e,n){if(!isString(r))return __chunk_1.parseArray(r,!0===e);if(isString(e))return __chunk_1.parseArray(parseFromFormat(r,e),n);var t=extractFrom(r);if(t!==r)return __chunk_1.parseArray(t,t.isUTC||!0===e);var _=__chunk_6.ASP_NET_JSON_REGEX.exec(r);return new Date(null!==_?+_[1]:r)}function parse(r,e,n){return r=__chunk_1.isNil(r)?new Date:r.length?parseStringOrArray(r,e,n):isNumber(r)?new Date(r):isDate(r)?new Date(+r):r._i&&r.isValid()?new Date(+r):new Date}module.exports=parse;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_3=require("./chunk-6fce3905.js");function startOf(s,e){switch(e=__chunk_3.normalizeUnit(e)){case"Y":s.setMonth(0);case"M":s.setDate(1);case"D":case"d":s.setHours(0);case"h":s.setMinutes(0);case"m":s.setSeconds(0);case"s":s.setMilliseconds(0)}return s}module.exports=startOf;
"use strict";var __chunk_3=require("./chunk-d2dca2a0.js");function startOf(s,e){switch(e=__chunk_3.normalizeUnit(e)){case"Y":s.setMonth(0);case"M":s.setDate(1);case"D":case"d":s.setHours(0);case"h":s.setMinutes(0);case"m":s.setSeconds(0);case"s":s.setMilliseconds(0)}return s}module.exports=startOf;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-0cb3fc16.js");var add=require("./add.js");function subtract(r,e,u){return add(r,-e,u)}require("./chunk-5ac2012c.js"),require("./chunk-6fce3905.js"),module.exports=subtract;
"use strict";require("./chunk-1975bbb1.js");var add=require("./add.js");function subtract(r,u,e){return add(r,-u,e)}require("./chunk-27959177.js"),require("./chunk-d2dca2a0.js"),module.exports=subtract;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_7=require("./chunk-56b022d1.js"),addClass=__chunk_4.classListSupported?function(s,c){c.forEach(function(c){s.classList.add(c)})}:function(c,s){var n=__chunk_3.classesToArray(c.className),u=n.slice(0);s.forEach(function(c){-1===u.indexOf(c)&&__chunk_7.append(u,c)}),(n=n.join(" "))!==(u=u.join(" "))&&(c.className=u)};function addClass$1(c,s){var n=__chunk_3.classesToArray(s);return __chunk_6.checkDom(c,function(c){addClass(c,n)}),c}module.exports=addClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_7=require("./chunk-b5694aee.js"),addClass=__chunk_4.classListSupported?function(s,c){c.forEach(function(c){s.classList.add(c)})}:function(c,s){var a=__chunk_3.classesToArray(c.className),e=a.slice(0);s.forEach(function(c){-1===e.indexOf(c)&&__chunk_7.append(e,c)}),(a=a.join(" "))!==(e=e.join(" "))&&(c.className=e)};function addClass$1(c,s){var a=__chunk_3.classesToArray(s);return __chunk_6.checkDom(c,function(c){addClass(c,a)}),c}module.exports=addClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function after(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"after",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e.nextSibling)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=after;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function after(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"after",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e.nextSibling)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=after;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function append(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"appendChild")}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=append;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function append(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"appendChild")}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=append;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js");function getAttribute(t,e){return(t=__chunk_6.firstNode(t))&&t.getAttribute(e)}function setAttribute(t,e,u){return __chunk_6.checkDom(t,function(t){t.setAttribute(e,u)}),t}function attr(t,e,u){return __chunk_13.isUndefined(u)?getAttribute(t,e):setAttribute(t,e,u)}module.exports=attr;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js");function getAttribute(t,e){return(t=__chunk_6.firstNode(t))&&t.getAttribute(e)}function setAttribute(t,e,u){return __chunk_6.checkDom(t,function(t){t.setAttribute(e,u)}),t}function attr(t,e,u){return __chunk_13.isUndefined(u)?getAttribute(t,e):setAttribute(t,e,u)}module.exports=attr;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function before(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"before",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=before;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function before(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"before",function(e,r){var u=e.parentNode;u&&u.insertBefore(r,e)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=before;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-56b022d1.js");var __chunk_12=require("./chunk-baef53ec.js"),__chunk_14=require("./chunk-e833b706.js");function children(e){return __chunk_14.dir(e,"",function(e,u,c){__chunk_12.childNodes(e,c)})}module.exports=children;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-b5694aee.js");var __chunk_12=require("./chunk-f630e37c.js"),__chunk_14=require("./chunk-1767ca0a.js");function children(e){return __chunk_14.dir(e,"",function(e,u,c){__chunk_12.childNodes(e,c)})}module.exports=children;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_8=require("./chunk-d577de8f.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_15=require("./chunk-a84020f0.js"),DASH_ALPHA_REGEX=/-([a-z])/g;function camelCase(e){return e.replace(DASH_ALPHA_REGEX,function(e,r){return r.toUpperCase()})}var cssProps={};function style(e,r,n){var c=e.style;if(r=cssProps[r]||(cssProps[r]=__chunk_4.vendorPropName(r)||r),__chunk_8.isNil(n))return c[r];c[r]=n}function getter(e,r){return(e=__chunk_6.firstNode(e))?__chunk_15.curCSS(e,r):""}function setter(e,r,n){return __chunk_6.checkDom(e,function(e){style(e,r,n)}),e}function css(e,r,n){return r=camelCase(r),__chunk_13.isUndefined(n)?getter(e,r):setter(e,r,n)}module.exports=css;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_8=require("./chunk-984e61d1.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_15=require("./chunk-1a25c08c.js"),DASH_ALPHA_REGEX=/-([a-z])/g;function camelCase(e){return e.replace(DASH_ALPHA_REGEX,function(e,r){return r.toUpperCase()})}var cssProps={};function style(e,r,c){var n=e.style;if(r=cssProps[r]||(cssProps[r]=__chunk_4.vendorPropName(r)||r),__chunk_8.isNil(c))return n[r];n[r]=c}function getter(e,r){return(e=__chunk_6.firstNode(e))?__chunk_15.curCSS(e,r):""}function setter(e,r,c){return __chunk_6.checkDom(e,function(e){style(e,r,c)}),e}function css(e,r,c){return r=camelCase(r),__chunk_13.isUndefined(c)?getter(e,r):setter(e,r,c)}module.exports=css;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_8=require("./chunk-d577de8f.js"),__chunk_10=require("./chunk-f2d50846.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js");function isObject(_){return!__chunk_8.isNil(_)&&"object"==typeof _}function data(n,u,e){if(isObject(u))return __chunk_6.checkDom(n,function(_){var e=__chunk_16.expandoStore(_,"data");e||__chunk_16.expandoStore(n,"data",e={}),__chunk_10.forIn(u,function(_,n){e[n]=_})}),n;if(__chunk_8.isNil(u))return(n=__chunk_6.firstNode(n))&&__chunk_16.expandoStore(n,"data");if(__chunk_13.isUndefined(e)){var _=__chunk_16.expandoStore(n,"data");return _&&_[u]}return __chunk_6.checkDom(n,function(_){var n=__chunk_16.expandoStore(_,"data");n||__chunk_16.expandoStore(_,"data",n={}),n[u]=e}),n}module.exports=data;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_8=require("./chunk-984e61d1.js"),__chunk_10=require("./chunk-25fdb641.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js");function isObject(_){return!__chunk_8.isNil(_)&&"object"==typeof _}function data(n,u,e){if(isObject(u))return __chunk_6.checkDom(n,function(_){var e=__chunk_16.expandoStore(_,"data");e||__chunk_16.expandoStore(n,"data",e={}),__chunk_10.forIn(u,function(_,n){e[n]=_})}),n;if(__chunk_8.isNil(u))return(n=__chunk_6.firstNode(n))&&__chunk_16.expandoStore(n,"data");if(__chunk_13.isUndefined(e)){var _=__chunk_16.expandoStore(n,"data");return _&&_[u]}return __chunk_6.checkDom(n,function(_){var n=__chunk_16.expandoStore(_,"data");n||__chunk_16.expandoStore(_,"data",n={}),n[u]=e}),n}module.exports=data;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function empty(e){__chunk_6.checkDom(e,function(e){if(1===e.nodeType)if("textContent"in e)e.textContent="";else for(var t;t=e.firstChild;)e.removeChild(t)})}module.exports=empty;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function empty(e){__chunk_6.checkDom(e,function(e){if(1===e.nodeType)if("textContent"in e)e.textContent="";else for(var t;t=e.firstChild;)e.removeChild(t)})}module.exports=empty;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_5=require("./chunk-7ad506f8.js"),__chunk_6=require("./chunk-cf5dc476.js");function hasClass(r,s){var c=!1,u=__chunk_3.classesToArray(r.className);return __chunk_5.forEach(s,function(r){if(-1<u.indexOf(r))return!(c=!0)}),c}function hasClass$1(r,s){var c=!1,u=__chunk_3.classesToArray(s);return __chunk_6.checkDom(r,function(r){if(hasClass(r,u))return!(c=!0)}),c}module.exports=hasClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_5=require("./chunk-479d732e.js"),__chunk_6=require("./chunk-0a7dfc22.js");function hasClass(r,s){var u=!1,c=__chunk_3.classesToArray(r.className);return __chunk_5.forEach(s,function(r){if(-1<c.indexOf(r))return!(u=!0)}),u}function hasClass$1(r,s){var u=!1,c=__chunk_3.classesToArray(s);return __chunk_6.checkDom(r,function(r){if(hasClass(r,c))return!(u=!0)}),u}module.exports=hasClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-13089cd6.js"),require("./chunk-a84020f0.js"),require("./chunk-f2d48995.js");var __chunk_17=require("./chunk-cc63483a.js");function hide(e){return __chunk_17.showHide(e)}module.exports=hide;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-132a4ff9.js"),require("./chunk-1a25c08c.js"),require("./chunk-b8c23555.js");var __chunk_17=require("./chunk-30c35215.js");function hide(e){return __chunk_17.showHide(e)}module.exports=hide;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-56b022d1.js");var __chunk_8=require("./chunk-d577de8f.js");require("./chunk-0d387eab.js"),require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js");var append=require("./append.js"),empty=require("./empty.js");function html(e,r){if(__chunk_8.isNil(r))return(e=__chunk_6.firstNode(e))&&e.innerHTML;var u=1===r.nodeType?function(e){empty(e),append(e,r)}:function(e){e.innerHTML=String(r)};return __chunk_6.checkDom(e,u),e}module.exports=html;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-b5694aee.js");var __chunk_8=require("./chunk-984e61d1.js");require("./chunk-77b2f1ce.js"),require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js");var append=require("./append.js"),empty=require("./empty.js");function html(e,r){if(__chunk_8.isNil(r))return(e=__chunk_6.firstNode(e))&&e.innerHTML;var u=1===r.nodeType?function(e){empty(e),append(e,r)}:function(e){e.innerHTML=String(r)};return __chunk_6.checkDom(e,u),e}module.exports=html;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_18=require("./chunk-0d15c835.js");function next(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_18.sibling)}module.exports=next;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_18=require("./chunk-d96db0de.js");function next(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_18.sibling)}module.exports=next;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_19=require("./chunk-42c174f2.js");function nextAll(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_19.siblings)}module.exports=nextAll;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_19=require("./chunk-960bde42.js");function nextAll(e){return __chunk_14.dir(e,"nextElementSibling",__chunk_19.siblings)}module.exports=nextAll;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js"),__chunk_20=require("./chunk-a836d813.js");function inArray(e,n,r){if(n){if(n.indexOf)return n.indexOf(e,r);for(var t=n.length,u=r?r<0?Math.max(0,t+r):r:0;u<t;u++)if(u in n&&n[u]===e)return u}return-1}function removeAt(e,n){return e.splice(n,1),n}function remove(e,n){var r=inArray(n,e);return 0<=r?(removeAt(e,r),n):null}var removeEventListenerFn=window.removeEventListener?function(e,n,r){e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent("on"+n,r)};function off(e,n,u){return __chunk_6.checkDom(e,function(r){var t=__chunk_16.expandoStore(r,"events");__chunk_16.expandoStore(r,"handle")&&(__chunk_13.isUndefined(n)?__chunk_20.forEach(t,function(e,n){removeEventListenerFn(r,n,e),delete t[n]}):__chunk_20.forEach(n.split(" "),function(e){__chunk_13.isUndefined(u)?(removeEventListenerFn(r,e,t[e]),delete t[e]):remove(t[e],u)}))}),e}module.exports=off;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js"),__chunk_20=require("./chunk-17a83ae0.js");function inArray(e,n,r){if(n){if(n.indexOf)return n.indexOf(e,r);for(var t=n.length,u=r?r<0?Math.max(0,t+r):r:0;u<t;u++)if(u in n&&n[u]===e)return u}return-1}function removeAt(e,n){return e.splice(n,1),n}function remove(e,n){var r=inArray(n,e);return 0<=r?(removeAt(e,r),n):null}var removeEventListenerFn=window.removeEventListener?function(e,n,r){e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent("on"+n,r)};function off(e,n,u){return __chunk_6.checkDom(e,function(r){var t=__chunk_16.expandoStore(r,"events");__chunk_16.expandoStore(r,"handle")&&(__chunk_13.isUndefined(n)?__chunk_20.forEach(t,function(e,n){removeEventListenerFn(r,n,e),delete t[n]}):__chunk_20.forEach(n.split(" "),function(e){__chunk_13.isUndefined(u)?(removeEventListenerFn(r,e,t[e]),delete t[e]):remove(t[e],u)}))}),e}module.exports=off;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js"),__chunk_16=require("./chunk-f2d48995.js"),__chunk_20=require("./chunk-a836d813.js"),addEventListenerFn=window.addEventListener?function(e,n,t){e.addEventListener(n,t,!1)}:function(e,n,t){e.attachEvent("on"+n,t)};function createEventHandler(t,r){var e=function(n){if(n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),n.target||(n.target=n.srcElement||document),__chunk_13.isUndefined(n.defaultPrevented)){var e=n.preventDefault;e=e.bind(n),n.preventDefault=function(){n.defaultPrevented=!0,e()},n.defaultPrevented=!1}n.isDefaultPrevented=function(){return n.defaultPrevented||!1===n.returnValue},__chunk_20.forEach(r[n.type],function(e){return e.call(t,n)});try{delete n.preventDefault,delete n.stopPropagation,delete n.isDefaultPrevented}catch(e){n.preventDefault=null,n.stopPropagation=null,n.isDefaultPrevented=null}};return e.elem=t,e}function on(e,n,a){return __chunk_6.checkDom(e,function(t){var r=__chunk_16.expandoStore(t,"events"),u=__chunk_16.expandoStore(t,"handle");r||__chunk_16.expandoStore(t,"events",r={}),u||__chunk_16.expandoStore(t,"handle",u=createEventHandler(t,r)),n.split(" ").forEach(function(e){var n=r[e];n||(addEventListenerFn(t,e,u),n=r[e]=[]),n[n.length]=a})}),e}module.exports=on;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js"),__chunk_16=require("./chunk-b8c23555.js"),__chunk_20=require("./chunk-17a83ae0.js"),addEventListenerFn=window.addEventListener?function(e,n,t){e.addEventListener(n,t,!1)}:function(e,n,t){e.attachEvent("on"+n,t)};function createEventHandler(t,r){var e=function(n){if(n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),n.target||(n.target=n.srcElement||document),__chunk_13.isUndefined(n.defaultPrevented)){var e=n.preventDefault;e=e.bind(n),n.preventDefault=function(){n.defaultPrevented=!0,e()},n.defaultPrevented=!1}n.isDefaultPrevented=function(){return n.defaultPrevented||!1===n.returnValue},__chunk_20.forEach(r[n.type],function(e){return e.call(t,n)});try{delete n.preventDefault,delete n.stopPropagation,delete n.isDefaultPrevented}catch(e){n.preventDefault=null,n.stopPropagation=null,n.isDefaultPrevented=null}};return e.elem=t,e}function on(e,n,a){return __chunk_6.checkDom(e,function(t){var r=__chunk_16.expandoStore(t,"events"),u=__chunk_16.expandoStore(t,"handle");r||__chunk_16.expandoStore(t,"events",r={}),u||__chunk_16.expandoStore(t,"handle",u=createEventHandler(t,r)),n.split(" ").forEach(function(e){var n=r[e];n||(addEventListenerFn(t,e,u),n=r[e]=[]),n[n.length]=a})}),e}module.exports=on;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js");function parent(r){return __chunk_14.dir(r,"",function(r,e,n){var u=r.parentNode;u&&n(u)})}module.exports=parent;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js");function parent(r){return __chunk_14.dir(r,"",function(r,e,n){var u=r.parentNode;u&&n(u)})}module.exports=parent;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js"),require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-56b022d1.js"),require("./chunk-d577de8f.js");var __chunk_9=require("./chunk-0d387eab.js");function prepend(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"prepend",function(e,r){e.insertBefore(r,e.firstChild)})}require("./chunk-f2d50846.js"),require("./chunk-8a200498.js"),require("./chunk-baef53ec.js"),module.exports=prepend;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js"),require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-b5694aee.js"),require("./chunk-984e61d1.js");var __chunk_9=require("./chunk-77b2f1ce.js");function prepend(e){for(var r=[],u=arguments.length-1;0<u--;)r[u]=arguments[u+1];return __chunk_9.domManip(e,r,"prepend",function(e,r){e.insertBefore(r,e.firstChild)})}require("./chunk-25fdb641.js"),require("./chunk-7eb269d7.js"),require("./chunk-f630e37c.js"),module.exports=prepend;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_18=require("./chunk-0d15c835.js");function prev(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_18.sibling)}module.exports=prev;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_18=require("./chunk-d96db0de.js");function prev(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_18.sibling)}module.exports=prev;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-619deb81.js"),require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js");var __chunk_14=require("./chunk-e833b706.js"),__chunk_19=require("./chunk-42c174f2.js");function prevAll(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_19.siblings)}module.exports=prevAll;
"use strict";require("./chunk-c4f6194a.js"),require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js");var __chunk_14=require("./chunk-1767ca0a.js"),__chunk_19=require("./chunk-960bde42.js");function prevAll(e){return __chunk_14.dir(e,"previousElementSibling",__chunk_19.siblings)}module.exports=prevAll;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js"),__chunk_13=require("./chunk-13089cd6.js");function getProperty(r,e){return(r=__chunk_6.firstNode(r))&&r[e]}function setProperty(r,e,n){return e=__chunk_4.propFix[e]||e,__chunk_6.checkDom(r,function(r){r[e]=n}),r}function prop(r,e,n){return __chunk_13.isUndefined(n)?getProperty(r,e):setProperty(r,e,n)}module.exports=prop;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js"),__chunk_13=require("./chunk-132a4ff9.js");function getProperty(r,e){return(r=__chunk_6.firstNode(r))&&r[e]}function setProperty(r,e,n){return e=__chunk_4.propFix[e]||e,__chunk_6.checkDom(r,function(r){r[e]=n}),r}function prop(r,e,n){return __chunk_13.isUndefined(n)?getProperty(r,e):setProperty(r,e,n)}module.exports=prop;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function remove(e){return __chunk_6.checkDom(e,function(e){var r=e.parentNode;r&&r.removeChild(e)}),e}module.exports=remove;
"use strict";require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function remove(e){return __chunk_6.checkDom(e,function(e){var r=e.parentNode;r&&r.removeChild(e)}),e}module.exports=remove;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function removeAttr(r,e){var c=__chunk_3.classesToArray(e);return __chunk_6.checkDom(r,function(e){c.forEach(function(r){e.removeAttribute(r)})}),r}module.exports=removeAttr;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function removeAttr(e,r){var u=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(r){u.forEach(function(e){r.removeAttribute(e)})}),e}module.exports=removeAttr;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js"),require("./chunk-fc07047e.js");var __chunk_3=require("./chunk-abd355a9.js"),__chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-13089cd6.js");var prop=require("./prop.js"),removeClass=__chunk_4.classListSupported?function(r,e){e.forEach(function(e){r.classList.remove(e)})}:function(e,r){var c=__chunk_3.classesToArray(e.className),s=c.slice(0);r.forEach(function(e){var r=s.indexOf(e);-1<r&&s.splice(r,1)}),(c=c.join(" "))!==(s=s.join(" "))&&(e.className=s)};function removeClass$1(e,r){if(!arguments.length)return prop(e,"className","");var c=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(e){removeClass(e,c)}),e}module.exports=removeClass$1;
"use strict";require("./chunk-59a4e7e2.js"),require("./chunk-37a0aca0.js");var __chunk_3=require("./chunk-cae1bb77.js"),__chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-132a4ff9.js");var prop=require("./prop.js"),removeClass=__chunk_4.classListSupported?function(r,e){e.forEach(function(e){r.classList.remove(e)})}:function(e,r){var s=__chunk_3.classesToArray(e.className),c=s.slice(0);r.forEach(function(e){var r=c.indexOf(e);-1<r&&c.splice(r,1)}),(s=s.join(" "))!==(c=c.join(" "))&&(e.className=c)};function removeClass$1(e,r){if(!arguments.length)return prop(e,"className","");var s=__chunk_3.classesToArray(r);return __chunk_6.checkDom(e,function(e){removeClass(e,s)}),e}module.exports=removeClass$1;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_5=require("./chunk-7ad506f8.js"),__chunk_6=require("./chunk-cf5dc476.js");require("./chunk-13089cd6.js");var __chunk_16=require("./chunk-f2d48995.js");function removeData(e){for(var r=[],n=arguments.length-1;0<n--;)r[n]=arguments[n+1];var c=r[0]?function(e){var n=__chunk_16.expandoStore(e,"data");n&&__chunk_5.forEach(r,function(e){delete n[e]})}:function(){__chunk_16.expandoStore(e,"data",{})};return __chunk_6.checkDom(e,c),e}module.exports=removeData;
"use strict";var __chunk_5=require("./chunk-479d732e.js"),__chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-132a4ff9.js");var __chunk_16=require("./chunk-b8c23555.js");function removeData(e){for(var r=[],n=arguments.length-1;0<n--;)r[n]=arguments[n+1];var u=r[0]?function(e){var n=__chunk_16.expandoStore(e,"data");n&&__chunk_5.forEach(r,function(e){delete n[e]})}:function(){__chunk_16.expandoStore(e,"data",{})};return __chunk_6.checkDom(e,u),e}module.exports=removeData;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");function removeProp(e,r){return __chunk_6.checkDom(e,function(e){delete e[__chunk_4.propFix[r]||r]}),e}module.exports=removeProp;
"use strict";var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");function removeProp(e,r){return __chunk_6.checkDom(e,function(e){delete e[__chunk_4.propFix[r]||r]}),e}module.exports=removeProp;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-7ad506f8.js"),require("./chunk-cf5dc476.js"),require("./chunk-13089cd6.js"),require("./chunk-a84020f0.js"),require("./chunk-f2d48995.js");var __chunk_17=require("./chunk-cc63483a.js");function show(u){return __chunk_17.showHide(u,!0)}module.exports=show;
"use strict";require("./chunk-479d732e.js"),require("./chunk-0a7dfc22.js"),require("./chunk-132a4ff9.js"),require("./chunk-1a25c08c.js"),require("./chunk-b8c23555.js");var __chunk_17=require("./chunk-30c35215.js");function show(e){return __chunk_17.showHide(e,!0)}module.exports=show;
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";require("./chunk-e37cb146.js");var __chunk_4=require("./chunk-619deb81.js");require("./chunk-7ad506f8.js");var __chunk_6=require("./chunk-cf5dc476.js");require("./chunk-56b022d1.js"),require("./chunk-f2d50846.js");var __chunk_11=require("./chunk-8a200498.js");require("./chunk-baef53ec.js"),console.log("firstElementChildSupported",__chunk_4.firstElementChildSupported);var firstElementChild=__chunk_4.firstElementChildSupported?function(e){return e.firstElementChild}:function(e){var r=e.firstChild;return r&&1===r.nodeType?r:null};function wrap(i,t){return t&&(__chunk_11.fragment(t,null,function(e){return t=e,!1}),__chunk_6.checkDom(i,function(e,r){var n,u=r?t.cloneNode(!0):t,c=e.parentNode;for(c&&c.replaceChild(u,i);n=firstElementChild(e);)u=n;u.appendChild(e)})),i}module.exports=wrap;
"use strict";require("./chunk-59a4e7e2.js");var __chunk_4=require("./chunk-c4f6194a.js");require("./chunk-479d732e.js");var __chunk_6=require("./chunk-0a7dfc22.js");require("./chunk-b5694aee.js"),require("./chunk-25fdb641.js");var __chunk_11=require("./chunk-7eb269d7.js");require("./chunk-f630e37c.js");var firstElementChild=__chunk_4.firstElementChildSupported?function(e){return e.firstElementChild}:function(e){var r=e.firstChild;return r&&1===r.nodeType?r:null};function wrap(i,t){return t&&(__chunk_11.fragment(t,null,function(e){return t=e,!1}),__chunk_6.checkDom(i,function(e,r){var n,u=r?t.cloneNode(!0):t,c=e.parentNode;for(c&&c.replaceChild(u,i);n=firstElementChild(e);)u=n;u.appendChild(e)})),i}module.exports=wrap;
{
"name": "celia",
"version": "2.1.0",
"version": "2.1.1",
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -160,2 +160,5 @@ # celia

- added manipulation for dom
- finished all method for manipulating DOM
### 2.1.1
- performance optimization
/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

export const classListSupported = 'classList' in document.body;
// export const classListSupported = false;
export const firstElementChildSupported = 'firstElementChild' in document.body;

@@ -3,0 +4,0 @@

@@ -5,2 +5,3 @@ import forEach from '../_forEach';

import fragment from './_fragment';
import forNumber from '../_forNumber';

@@ -42,13 +43,13 @@ function fragmentForList(arr) {

const len = list.length;
let elem;
if (len) {
const last = len - 1;
for (let i = 0, j = last; i < j; i++) {
fallback(list[i], frag.cloneNode(true));
}
fallback(list[last], frag);
forNumber(last, i => fallback(list[i], frag.cloneNode(true)));
elem = list[last];
} else {
fallback(list, frag);
elem = list;
}
fallback(elem, frag);
}
return list;
}

@@ -0,15 +1,13 @@

import forEach from '../forEach';
import append from '../_internal/_array/_append';
export default function (elems, callback, isOpposite) {
let matches = [];
if (elems) {
let i = 0;
const length = elems.length;
isOpposite = !!isOpposite;
for (; i < length; i++) {
if (!callback(elems[i], i) === isOpposite) {
matches[matches.length] = elems[i];
}
isOpposite = !!isOpposite;
forEach(elems, (elem, i) => {
if (!callback(elem, i) === isOpposite) {
append(matches, elem);
}
}
});
return matches;
}

@@ -0,8 +1,9 @@

import forEach from '../forEach';
export default function (first, second) {
let len = +second.length;
let i = first.length;
for (let j = 0; j < len; j++) {
first[i++] = second[j];
}
forEach(second, (elem) => {
first[i++] = elem;
});

@@ -9,0 +10,0 @@ // 如果first是arrayLike, 那就需要手动更新长度

@@ -9,3 +9,5 @@ import domManip from '../_internal/_dom/_domManip';

export default function (dom, ...args) {
return domManip(dom, args, 'appendChild');
return domManip(dom, args, 'appendChild'/*, (el, child) => {
el.appendChild(child);
} */);
}
import checkDom from '../_internal/_dom/_checkDom';
import fragment from '../_internal/_dom/_fragment';
import { firstElementChildSupported } from '../_internal/_dom/_domConsts';
console.log('firstElementChildSupported', firstElementChildSupported);
const firstElementChild = firstElementChildSupported ? function (elem) {

@@ -6,0 +6,0 @@ return elem.firstElementChild;

/*!
* celia.js v2.1.0
* celia.js v2.1.1
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
"use strict";var isNil=require("./isNil.js"),isFunction=require("./isFunction.js"),isObject=require("./isObject.js"),__chunk_6=require("./chunk-c8dfdf38.js"),RAW_DATA_TYPES={};function type(e){return isNil(e)?e+"":isObject(e)||isFunction(e)?RAW_DATA_TYPES[__chunk_6.toString(e)]||"object":typeof e}"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(e){RAW_DATA_TYPES["[object "+e+"]"]=e.toLowerCase()}),module.exports=type;
"use strict";var isNil=require("./isNil.js"),isFunction=require("./isFunction.js"),isObject=require("./isObject.js"),__chunk_6=require("./chunk-917a4e3b.js"),RAW_DATA_TYPES={};function type(e){return isNil(e)?e+"":isObject(e)||isFunction(e)?RAW_DATA_TYPES[__chunk_6.toString(e)]||"object":typeof e}"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(e){RAW_DATA_TYPES["[object "+e+"]"]=e.toLowerCase()}),module.exports=type;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc