Comparing version 6.1.1 to 6.1.2
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -10,3 +10,3 @@ * Released under the MIT License. | ||
var isString = require('./isString.js'); | ||
var __chunk_1 = require('./chunk-4633feec.js'); | ||
var __chunk_1 = require('./chunk-e4257b16.js'); | ||
@@ -13,0 +13,0 @@ function get (object, path) { |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
27
amd.js
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -260,2 +260,25 @@ * Released under the MIT License. | ||
var DASH_ALPHA_REGEX = /[-_. ]+([a-z])/g; | ||
var cache = Object.create(null); | ||
function camelize (value) { | ||
if (isString(value)) { | ||
var hit = cache[value]; | ||
return hit || (cache[value] = value.replace(DASH_ALPHA_REGEX, function (val, letter) { | ||
return letter.toUpperCase(); | ||
})); | ||
} | ||
return value; | ||
} | ||
var cache$1 = Object.create(null); | ||
function capitalize (value) { | ||
if (isString(value)) { | ||
var hit = cache$1[value]; | ||
return hit || (cache$1[value] = value.charAt(0).toUpperCase() + value.slice(1)); | ||
} | ||
return value; | ||
} | ||
function debounce (fn, wait) { | ||
@@ -582,2 +605,4 @@ var timeout = null; | ||
exports.beforeCall = beforeCall; | ||
exports.camelize = camelize; | ||
exports.capitalize = capitalize; | ||
exports.debounce = debounce; | ||
@@ -584,0 +609,0 @@ exports.each = each$1; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
define(["exports"],function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function f(n,t){return t?n.bind(t):n}function i(n,t,r){t=f(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function c(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?c(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=f(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=f(t,r),n)if(!1===t(n[e],e))break}function p(n,t,r){t=f(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function y(n){return"string"==typeof n}var g=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function d(n,t){if(!y(t)||!h.test(t))return n[t];var r;for(g.lastIndex=0;!v(n)&&(r=g.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(b,"$1"):o||e]}return n}function A(n){return"number"==typeof n}function r(n){return A(n)&&isFinite(n)&&n>>0===n}function j(n,t,r,e){var o=[],i=f(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function m(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?m(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var x=Object.assign||t;function C(n){return"function"==typeof n}function N(n){return!v(n)&&A(n.length)&&!C(n)}function S(n,t,r){N(n)?l(n,t,r):A(n)?p(n,t,r):v(n)||i(n,t,r)}function F(n,t){return n?c(n,[],t||1):[]}var I="celia_uid_"+(1e9*Math.random()>>>0),k=0;function D(n){return n[I]||(++k,Object.defineProperty(n,I,{configurable:!0,value:k}),k)}var L=Object.prototype.hasOwnProperty;var P=/^([a-z][a-z\d+\-.]*:)?\/\//i;var T=Object.prototype.toString;function R(n){return T.call(n)}function U(n){return n instanceof Date}var $={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var z=Number.isInteger||r;function B(n){return n instanceof RegExp}var M=Array.isArray;var q=Array.isArray;var H=Array.isArray;var V=Array.isArray;var W={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){W["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._flatten=c,n._forEach=l,n._forIn=s,n._forNumber=p,n._forOwn=i,n._forSlice=a,n._get=d,n._isInteger=r,n._loop=e,n._map=j,n._remove=O,n._removeAt=m,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=x,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=S,n.flatten=F,n.flattenDeep=function(n){return F(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:d(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+D(n):(typeof n)[0]+n},n.getUid=D,n.hasOwn=function(n,t){return L.call(n,t)},n.isAbsoluteURL=function(n){return P.test(n)},n.isArrayLike=N,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===R(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=U,n.isFalsy=function(n){return!!$[n]},n.isFunction=C,n.isInteger=z,n.isNil=v,n.isNumber=A,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===R(n)},n.isPromiseLike=function(n){return!!n&&C(n.then)&&C(n.catch)},n.isRegExp=B,n.isString=y,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return M(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?x({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(q(t)&&q(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(U(t)&&U(e))return+t==+e;if(B(t)&&B(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return j(S,n,t,r)},n.mapObject=function(n,t,r){var e={},o=f(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return H(n)?O(n,t):null},n.removeAt=function(n,t){return V(n)?m(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!y(t)||!h.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(g.lastIndex=0;e=g.exec(t);){var f=e[0],c=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(b,"$1")])&&(s=n[o]={}):c?v(s=n[o=c])&&(s=n[c]=[]):v(s=n[o=f])&&(s=n[f]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=R,n.transform=function(n,e,o){return S(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||C(n)?W[R(n)]||"object":typeof n}}); | ||
define(["exports"],function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function c(n,t){return t?n.bind(t):n}function i(n,t,r){t=c(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function f(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?f(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=c(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=c(t,r),n)if(!1===t(n[e],e))break}function p(n,t,r){t=c(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function y(n){return"string"==typeof n}var g=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function d(n,t){if(!y(t)||!h.test(t))return n[t];var r;for(g.lastIndex=0;!v(n)&&(r=g.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(b,"$1"):o||e]}return n}function j(n){return"number"==typeof n}function r(n){return j(n)&&isFinite(n)&&n>>0===n}function A(n,t,r,e){var o=[],i=c(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function m(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?m(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var x=Object.assign||t;var C=/[-_. ]+([a-z])/g,N=Object.create(null);var S=Object.create(null);function F(n){return"function"==typeof n}function I(n){return!v(n)&&j(n.length)&&!F(n)}function k(n,t,r){I(n)?l(n,t,r):j(n)?p(n,t,r):v(n)||i(n,t,r)}function U(n,t){return n?f(n,[],t||1):[]}var z="celia_uid_"+(1e9*Math.random()>>>0),D=0;function L(n){return n[z]||(++D,Object.defineProperty(n,z,{configurable:!0,value:D}),D)}var P=Object.prototype.hasOwnProperty;var T=/^([a-z][a-z\d+\-.]*:)?\/\//i;var R=Object.prototype.toString;function $(n){return R.call(n)}function B(n){return n instanceof Date}var M={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var q=Number.isInteger||r;function H(n){return n instanceof RegExp}var V=Array.isArray;var W=Array.isArray;var X=Array.isArray;var G=Array.isArray;var J={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){J["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=c,n._flatten=f,n._forEach=l,n._forIn=s,n._forNumber=p,n._forOwn=i,n._forSlice=a,n._get=d,n._isInteger=r,n._loop=e,n._map=A,n._remove=O,n._removeAt=m,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=x,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.camelize=function(n){return y(n)?N[n]||(N[n]=n.replace(C,function(n,t){return t.toUpperCase()})):n},n.capitalize=function(n){return y(n)?S[n]||(S[n]=n.charAt(0).toUpperCase()+n.slice(1)):n},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=k,n.flatten=U,n.flattenDeep=function(n){return U(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:d(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+L(n):(typeof n)[0]+n},n.getUid=L,n.hasOwn=function(n,t){return P.call(n,t)},n.isAbsoluteURL=function(n){return T.test(n)},n.isArrayLike=I,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===$(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=B,n.isFalsy=function(n){return!!M[n]},n.isFunction=F,n.isInteger=q,n.isNil=v,n.isNumber=j,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===$(n)},n.isPromiseLike=function(n){return!!n&&F(n.then)&&F(n.catch)},n.isRegExp=H,n.isString=y,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return V(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?x({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(W(t)&&W(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(B(t)&&B(e))return+t==+e;if(H(t)&&H(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return A(k,n,t,r)},n.mapObject=function(n,t,r){var e={},o=c(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return X(n)?O(n,t):null},n.removeAt=function(n,t){return G(n)?m(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!y(t)||!h.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(g.lastIndex=0;e=g.exec(t);){var c=e[0],f=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(b,"$1")])&&(s=n[o]={}):f?v(s=n[o=f])&&(s=n[f]=[]):v(s=n[o=c])&&(s=n[c]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=$,n.transform=function(n,e,o){return k(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||F(n)?J[$(n)]||"object":typeof n}}); |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
27
cjs.js
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -260,2 +260,25 @@ * Released under the MIT License. | ||
var DASH_ALPHA_REGEX = /[-_. ]+([a-z])/g; | ||
var cache = Object.create(null); | ||
function camelize (value) { | ||
if (isString(value)) { | ||
var hit = cache[value]; | ||
return hit || (cache[value] = value.replace(DASH_ALPHA_REGEX, function (val, letter) { | ||
return letter.toUpperCase(); | ||
})); | ||
} | ||
return value; | ||
} | ||
var cache$1 = Object.create(null); | ||
function capitalize (value) { | ||
if (isString(value)) { | ||
var hit = cache$1[value]; | ||
return hit || (cache$1[value] = value.charAt(0).toUpperCase() + value.slice(1)); | ||
} | ||
return value; | ||
} | ||
function debounce (fn, wait) { | ||
@@ -582,2 +605,4 @@ var timeout = null; | ||
exports.beforeCall = beforeCall; | ||
exports.camelize = camelize; | ||
exports.capitalize = capitalize; | ||
exports.debounce = debounce; | ||
@@ -584,0 +609,0 @@ exports.each = each$1; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
27
es.js
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -258,2 +258,25 @@ * Released under the MIT License. | ||
var DASH_ALPHA_REGEX = /[-_. ]+([a-z])/g; | ||
var cache = Object.create(null); | ||
function camelize (value) { | ||
if (isString(value)) { | ||
var hit = cache[value]; | ||
return hit || (cache[value] = value.replace(DASH_ALPHA_REGEX, function (val, letter) { | ||
return letter.toUpperCase(); | ||
})); | ||
} | ||
return value; | ||
} | ||
var cache$1 = Object.create(null); | ||
function capitalize (value) { | ||
if (isString(value)) { | ||
var hit = cache$1[value]; | ||
return hit || (cache$1[value] = value.charAt(0).toUpperCase() + value.slice(1)); | ||
} | ||
return value; | ||
} | ||
function debounce (fn, wait) { | ||
@@ -557,2 +580,2 @@ var timeout = null; | ||
export { append as _append, _assign, bindContext as _bindContext, flatten as _flatten, forEach as _forEach, forIn as _forIn, forNumber as _forNumber, forOwn as _forOwn, forSlice as _forSlice, get as _get, _isInteger, loop as _loop, map as _map, remove as _remove, removeAt as _removeAt, _repeat, afterCall, alias, aroundCall, assert, assign, assignDeep, beforeCall, debounce, each$1 as each, flatten$1 as flatten, flattenDeep, forIn$1 as forIn, each as forOwn, get$1 as get, getEasyHash, getUid, hasOwn, isAbsoluteURL, isArrayLike, isAsyncFunction, isBoolean, isDate, isFalsy, isFunction, isInteger, isNil, isNumber, isObject, isPlainObject, isPromiseLike, isRegExp, isString, isUndefined, isWindow, looseClone, looseEqual, map$1 as map, mapObject, noop, remove$1 as remove, removeAt$1 as removeAt, set, sleep, toString$1 as toString, transform, type }; | ||
export { append as _append, _assign, bindContext as _bindContext, flatten as _flatten, forEach as _forEach, forIn as _forIn, forNumber as _forNumber, forOwn as _forOwn, forSlice as _forSlice, get as _get, _isInteger, loop as _loop, map as _map, remove as _remove, removeAt as _removeAt, _repeat, afterCall, alias, aroundCall, assert, assign, assignDeep, beforeCall, camelize, capitalize, debounce, each$1 as each, flatten$1 as flatten, flattenDeep, forIn$1 as forIn, each as forOwn, get$1 as get, getEasyHash, getUid, hasOwn, isAbsoluteURL, isArrayLike, isAsyncFunction, isBoolean, isDate, isFalsy, isFunction, isInteger, isNil, isNumber, isObject, isPlainObject, isPromiseLike, isRegExp, isString, isUndefined, isWindow, looseClone, looseEqual, map$1 as map, mapObject, noop, remove$1 as remove, removeAt$1 as removeAt, set, sleep, toString$1 as toString, transform, type }; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -8,3 +8,3 @@ * Released under the MIT License. | ||
import isString from './isString.js'; | ||
import { I as IS_DEEP_PROP_REGEX, P as PROP_NAME_REGEX, E as ESCAPE_CHAR_REGEX } from './chunk-c964c689.js'; | ||
import { I as IS_DEEP_PROP_REGEX, P as PROP_NAME_REGEX, E as ESCAPE_CHAR_REGEX } from './chunk-f960f639.js'; | ||
@@ -11,0 +11,0 @@ function get (object, path) { |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -8,3 +8,3 @@ * Released under the MIT License. | ||
import './isString.js'; | ||
import './chunk-c964c689.js'; | ||
import './chunk-f960f639.js'; | ||
import get$1 from './_get.js'; | ||
@@ -11,0 +11,0 @@ |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -18,3 +18,3 @@ * Released under the MIT License. | ||
export { default as isString } from './isString.js'; | ||
import './chunk-c964c689.js'; | ||
import './chunk-f960f639.js'; | ||
export { default as _get } from './_get.js'; | ||
@@ -36,2 +36,4 @@ export { default as isNumber } from './isNumber.js'; | ||
export { default as beforeCall } from './beforeCall.js'; | ||
export { default as camelize } from './camelize.js'; | ||
export { default as capitalize } from './capitalize.js'; | ||
export { default as debounce } from './debounce.js'; | ||
@@ -38,0 +40,0 @@ export { default as isFunction } from './isFunction.js'; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -8,3 +8,3 @@ * Released under the MIT License. | ||
import isString from './isString.js'; | ||
import { I as IS_DEEP_PROP_REGEX, P as PROP_NAME_REGEX, E as ESCAPE_CHAR_REGEX } from './chunk-c964c689.js'; | ||
import { I as IS_DEEP_PROP_REGEX, P as PROP_NAME_REGEX, E as ESCAPE_CHAR_REGEX } from './chunk-f960f639.js'; | ||
@@ -11,0 +11,0 @@ function set (object, path, value) { |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -10,3 +10,3 @@ * Released under the MIT License. | ||
require('./isString.js'); | ||
require('./chunk-4633feec.js'); | ||
require('./chunk-e4257b16.js'); | ||
var _get = require('./_get.js'); | ||
@@ -13,0 +13,0 @@ |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
27
iife.js
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -261,2 +261,25 @@ * Released under the MIT License. | ||
var DASH_ALPHA_REGEX = /[-_. ]+([a-z])/g; | ||
var cache = Object.create(null); | ||
function camelize (value) { | ||
if (isString(value)) { | ||
var hit = cache[value]; | ||
return hit || (cache[value] = value.replace(DASH_ALPHA_REGEX, function (val, letter) { | ||
return letter.toUpperCase(); | ||
})); | ||
} | ||
return value; | ||
} | ||
var cache$1 = Object.create(null); | ||
function capitalize (value) { | ||
if (isString(value)) { | ||
var hit = cache$1[value]; | ||
return hit || (cache$1[value] = value.charAt(0).toUpperCase() + value.slice(1)); | ||
} | ||
return value; | ||
} | ||
function debounce (fn, wait) { | ||
@@ -583,2 +606,4 @@ var timeout = null; | ||
exports.beforeCall = beforeCall; | ||
exports.camelize = camelize; | ||
exports.capitalize = capitalize; | ||
exports.debounce = debounce; | ||
@@ -585,0 +610,0 @@ exports.each = each$1; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
!function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function f(n,t){return t?n.bind(t):n}function i(n,t,r){t=f(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function c(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?c(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=f(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=f(t,r),n)if(!1===t(n[e],e))break}function y(n,t,r){t=f(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function p(n){return"string"==typeof n}var g=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function d(n,t){if(!p(t)||!h.test(t))return n[t];var r;for(g.lastIndex=0;!v(n)&&(r=g.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(b,"$1"):o||e]}return n}function A(n){return"number"==typeof n}function r(n){return A(n)&&isFinite(n)&&n>>0===n}function j(n,t,r,e){var o=[],i=f(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function m(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?m(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var x=Object.assign||t;function C(n){return"function"==typeof n}function N(n){return!v(n)&&A(n.length)&&!C(n)}function S(n,t,r){N(n)?l(n,t,r):A(n)?y(n,t,r):v(n)||i(n,t,r)}function F(n,t){return n?c(n,[],t||1):[]}var I="celia_uid_"+(1e9*Math.random()>>>0),k=0;function D(n){return n[I]||(++k,Object.defineProperty(n,I,{configurable:!0,value:k}),k)}var L=Object.prototype.hasOwnProperty;var P=/^([a-z][a-z\d+\-.]*:)?\/\//i;var T=Object.prototype.toString;function R(n){return T.call(n)}function U(n){return n instanceof Date}var $={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var z=Number.isInteger||r;function B(n){return n instanceof RegExp}var M=Array.isArray;var q=Array.isArray;var H=Array.isArray;var V=Array.isArray;var W={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){W["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._flatten=c,n._forEach=l,n._forIn=s,n._forNumber=y,n._forOwn=i,n._forSlice=a,n._get=d,n._isInteger=r,n._loop=e,n._map=j,n._remove=O,n._removeAt=m,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=x,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=S,n.flatten=F,n.flattenDeep=function(n){return F(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:d(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+D(n):(typeof n)[0]+n},n.getUid=D,n.hasOwn=function(n,t){return L.call(n,t)},n.isAbsoluteURL=function(n){return P.test(n)},n.isArrayLike=N,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===R(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=U,n.isFalsy=function(n){return!!$[n]},n.isFunction=C,n.isInteger=z,n.isNil=v,n.isNumber=A,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===R(n)},n.isPromiseLike=function(n){return!!n&&C(n.then)&&C(n.catch)},n.isRegExp=B,n.isString=p,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return M(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?x({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(q(t)&&q(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(U(t)&&U(e))return+t==+e;if(B(t)&&B(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return j(S,n,t,r)},n.mapObject=function(n,t,r){var e={},o=f(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return H(n)?O(n,t):null},n.removeAt=function(n,t){return V(n)?m(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!p(t)||!h.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(g.lastIndex=0;e=g.exec(t);){var f=e[0],c=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(b,"$1")])&&(s=n[o]={}):c?v(s=n[o=c])&&(s=n[c]=[]):v(s=n[o=f])&&(s=n[f]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=R,n.transform=function(n,e,o){return S(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||C(n)?W[R(n)]||"object":typeof n}}({}); | ||
!function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function c(n,t){return t?n.bind(t):n}function i(n,t,r){t=c(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function f(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?f(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=c(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=c(t,r),n)if(!1===t(n[e],e))break}function p(n,t,r){t=c(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function y(n){return"string"==typeof n}var g=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function d(n,t){if(!y(t)||!h.test(t))return n[t];var r;for(g.lastIndex=0;!v(n)&&(r=g.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(b,"$1"):o||e]}return n}function j(n){return"number"==typeof n}function r(n){return j(n)&&isFinite(n)&&n>>0===n}function A(n,t,r,e){var o=[],i=c(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function m(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?m(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var C=Object.assign||t;var x=/[-_. ]+([a-z])/g,N=Object.create(null);var S=Object.create(null);function F(n){return"function"==typeof n}function I(n){return!v(n)&&j(n.length)&&!F(n)}function k(n,t,r){I(n)?l(n,t,r):j(n)?p(n,t,r):v(n)||i(n,t,r)}function U(n,t){return n?f(n,[],t||1):[]}var z="celia_uid_"+(1e9*Math.random()>>>0),D=0;function L(n){return n[z]||(++D,Object.defineProperty(n,z,{configurable:!0,value:D}),D)}var P=Object.prototype.hasOwnProperty;var T=/^([a-z][a-z\d+\-.]*:)?\/\//i;var R=Object.prototype.toString;function $(n){return R.call(n)}function B(n){return n instanceof Date}var M={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var q=Number.isInteger||r;function H(n){return n instanceof RegExp}var V=Array.isArray;var W=Array.isArray;var X=Array.isArray;var G=Array.isArray;var J={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){J["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=c,n._flatten=f,n._forEach=l,n._forIn=s,n._forNumber=p,n._forOwn=i,n._forSlice=a,n._get=d,n._isInteger=r,n._loop=e,n._map=A,n._remove=O,n._removeAt=m,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=C,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.camelize=function(n){return y(n)?N[n]||(N[n]=n.replace(x,function(n,t){return t.toUpperCase()})):n},n.capitalize=function(n){return y(n)?S[n]||(S[n]=n.charAt(0).toUpperCase()+n.slice(1)):n},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=k,n.flatten=U,n.flattenDeep=function(n){return U(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:d(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+L(n):(typeof n)[0]+n},n.getUid=L,n.hasOwn=function(n,t){return P.call(n,t)},n.isAbsoluteURL=function(n){return T.test(n)},n.isArrayLike=I,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===$(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=B,n.isFalsy=function(n){return!!M[n]},n.isFunction=F,n.isInteger=q,n.isNil=v,n.isNumber=j,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===$(n)},n.isPromiseLike=function(n){return!!n&&F(n.then)&&F(n.catch)},n.isRegExp=H,n.isString=y,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return V(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?C({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(W(t)&&W(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(B(t)&&B(e))return+t==+e;if(H(t)&&H(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return A(k,n,t,r)},n.mapObject=function(n,t,r){var e={},o=c(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return X(n)?O(n,t):null},n.removeAt=function(n,t){return G(n)?m(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!y(t)||!h.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(g.lastIndex=0;e=g.exec(t);){var c=e[0],f=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(b,"$1")])&&(s=n[o]={}):f?v(s=n[o=f])&&(s=n[f]=[]):v(s=n[o=c])&&(s=n[c]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=$,n.transform=function(n,e,o){return k(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||F(n)?J[$(n)]||"object":typeof n}}({}); |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -20,3 +20,3 @@ * Released under the MIT License. | ||
var isString = require('./isString.js'); | ||
require('./chunk-4633feec.js'); | ||
require('./chunk-e4257b16.js'); | ||
var _get = require('./_get.js'); | ||
@@ -38,2 +38,4 @@ var isNumber = require('./isNumber.js'); | ||
var beforeCall = require('./beforeCall.js'); | ||
var camelize = require('./camelize.js'); | ||
var capitalize = require('./capitalize.js'); | ||
var debounce = require('./debounce.js'); | ||
@@ -104,2 +106,4 @@ var isFunction = require('./isFunction.js'); | ||
exports.beforeCall = beforeCall; | ||
exports.camelize = camelize; | ||
exports.capitalize = capitalize; | ||
exports.debounce = debounce; | ||
@@ -106,0 +110,0 @@ exports.isFunction = isFunction; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
{ | ||
"name": "celia", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"description": "A modern JavaScript utility library delivering modularity, performance, and extras.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -10,3 +10,3 @@ * Released under the MIT License. | ||
var isString = require('./isString.js'); | ||
var __chunk_1 = require('./chunk-4633feec.js'); | ||
var __chunk_1 = require('./chunk-e4257b16.js'); | ||
@@ -13,0 +13,0 @@ function set (object, path, value) { |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
27
umd.js
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -264,2 +264,25 @@ * Released under the MIT License. | ||
var DASH_ALPHA_REGEX = /[-_. ]+([a-z])/g; | ||
var cache = Object.create(null); | ||
function camelize (value) { | ||
if (isString(value)) { | ||
var hit = cache[value]; | ||
return hit || (cache[value] = value.replace(DASH_ALPHA_REGEX, function (val, letter) { | ||
return letter.toUpperCase(); | ||
})); | ||
} | ||
return value; | ||
} | ||
var cache$1 = Object.create(null); | ||
function capitalize (value) { | ||
if (isString(value)) { | ||
var hit = cache$1[value]; | ||
return hit || (cache$1[value] = value.charAt(0).toUpperCase() + value.slice(1)); | ||
} | ||
return value; | ||
} | ||
function debounce (fn, wait) { | ||
@@ -586,2 +609,4 @@ var timeout = null; | ||
exports.beforeCall = beforeCall; | ||
exports.camelize = camelize; | ||
exports.capitalize = capitalize; | ||
exports.debounce = debounce; | ||
@@ -588,0 +613,0 @@ exports.each = each$1; |
/* | ||
* celia.js v6.1.1 | ||
* celia.js v6.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
var n,t;n=this,t=function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function f(n,t){return t?n.bind(t):n}function i(n,t,r){t=f(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function c(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?c(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=f(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=f(t,r),n)if(!1===t(n[e],e))break}function p(n,t,r){t=f(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function y(n){return"string"==typeof n}var d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,g=/\\(\\)?/g,b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function h(n,t){if(!y(t)||!b.test(t))return n[t];var r;for(d.lastIndex=0;!v(n)&&(r=d.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(g,"$1"):o||e]}return n}function m(n){return"number"==typeof n}function r(n){return m(n)&&isFinite(n)&&n>>0===n}function j(n,t,r,e){var o=[],i=f(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function A(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?A(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var x=Object.assign||t;function C(n){return"function"==typeof n}function N(n){return!v(n)&&m(n.length)&&!C(n)}function S(n,t,r){N(n)?l(n,t,r):m(n)?p(n,t,r):v(n)||i(n,t,r)}function F(n,t){return n?c(n,[],t||1):[]}var I="celia_uid_"+(1e9*Math.random()>>>0),k=0;function D(n){return n[I]||(++k,Object.defineProperty(n,I,{configurable:!0,value:k}),k)}var L=Object.prototype.hasOwnProperty;var P=/^([a-z][a-z\d+\-.]*:)?\/\//i;var T=Object.prototype.toString;function R(n){return T.call(n)}function U(n){return n instanceof Date}var $={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var z=Number.isInteger||r;function B(n){return n instanceof RegExp}var M=Array.isArray;var q=Array.isArray;var H=Array.isArray;var V=Array.isArray;var W={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){W["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._flatten=c,n._forEach=l,n._forIn=s,n._forNumber=p,n._forOwn=i,n._forSlice=a,n._get=h,n._isInteger=r,n._loop=e,n._map=j,n._remove=O,n._removeAt=A,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=x,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=S,n.flatten=F,n.flattenDeep=function(n){return F(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:h(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+D(n):(typeof n)[0]+n},n.getUid=D,n.hasOwn=function(n,t){return L.call(n,t)},n.isAbsoluteURL=function(n){return P.test(n)},n.isArrayLike=N,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===R(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=U,n.isFalsy=function(n){return!!$[n]},n.isFunction=C,n.isInteger=z,n.isNil=v,n.isNumber=m,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===R(n)},n.isPromiseLike=function(n){return!!n&&C(n.then)&&C(n.catch)},n.isRegExp=B,n.isString=y,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return M(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?x({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(q(t)&&q(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(U(t)&&U(e))return+t==+e;if(B(t)&&B(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return j(S,n,t,r)},n.mapObject=function(n,t,r){var e={},o=f(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return H(n)?O(n,t):null},n.removeAt=function(n,t){return V(n)?A(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!y(t)||!b.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(d.lastIndex=0;e=d.exec(t);){var f=e[0],c=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(g,"$1")])&&(s=n[o]={}):c?v(s=n[o=c])&&(s=n[c]=[]):v(s=n[o=f])&&(s=n[f]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=R,n.transform=function(n,e,o){return S(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||C(n)?W[R(n)]||"object":typeof n}},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={}); | ||
var n,t;n=this,t=function(n){"use strict";function u(n,t){return n[n.length]=t,n}function v(n){return null==n}function e(n,t,r,e){for(;t<r;t++)e(n[t],t,n)}function c(n,t){return t?n.bind(t):n}function i(n,t,r){t=c(t,r);for(var e=Object.keys(n),o=e.length,i=0,u=void 0;i<o;i++)!1===t(n[u=e[i]],u,n)&&(i=o)}function t(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return e(arguments,1,arguments.length,function(n){v(n)||i(n,function(n,t){r[t]=n})}),r}var o=Array.isArray;function f(n,t,r){return e(n,0,n.length,function(n){0<r?o(n)?f(n,t,--r):u(t,n):o(n)?e(n,0,n.length,function(n){u(t,n)}):u(t,n)}),t}function a(n,t,r,e,o){e=c(e,o);for(var i=t;i<r;i++)!1===e(n[i],i,n)&&(i=r)}function l(n,t,r){a(n,0,n.length,t,r)}function s(n,t,r){for(var e in t=c(t,r),n)if(!1===t(n[e],e))break}function p(n,t,r){t=c(t,r);for(var e=0;e<n;e++)!1===t(e,e,n)&&(e=n)}function y(n){return"string"==typeof n}var b=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,g=/\\(\\)?/g,d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;function h(n,t){if(!y(t)||!d.test(t))return n[t];var r;for(b.lastIndex=0;!v(n)&&(r=b.exec(t));){var e=r[0],o=r[1],i=r[2],u=r[3];n=n[i?u.replace(g,"$1"):o||e]}return n}function j(n){return"number"==typeof n}function r(n){return j(n)&&isFinite(n)&&n>>0===n}function m(n,t,r,e){var o=[],i=c(r,e);return n(t,function(n,t){v(n=i(n,t))||u(o,n)}),o}function A(n,t){return n.splice(t,1)[0]||null}function O(n,t){var r=n.indexOf(t);return-1<r?A(n,r):null}function _(n){return null!==n&&"object"==typeof n}function w(n,t,r){v(n)||i(n,t,r)}var E=Array.isArray;var x=Object.assign||t;var C=/[-_. ]+([a-z])/g,N=Object.create(null);var S=Object.create(null);function F(n){return"function"==typeof n}function I(n){return!v(n)&&j(n.length)&&!F(n)}function k(n,t,r){I(n)?l(n,t,r):j(n)?p(n,t,r):v(n)||i(n,t,r)}function U(n,t){return n?f(n,[],t||1):[]}var z="celia_uid_"+(1e9*Math.random()>>>0),D=0;function L(n){return n[z]||(++D,Object.defineProperty(n,z,{configurable:!0,value:D}),D)}var P=Object.prototype.hasOwnProperty;var T=/^([a-z][a-z\d+\-.]*:)?\/\//i;var R=Object.prototype.toString;function $(n){return R.call(n)}function B(n){return n instanceof Date}var M={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};var q=Number.isInteger||r;function H(n){return n instanceof RegExp}var V=Array.isArray;var W=Array.isArray;var X=Array.isArray;var G=Array.isArray;var J={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){J["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=c,n._flatten=f,n._forEach=l,n._forIn=s,n._forNumber=p,n._forOwn=i,n._forSlice=a,n._get=h,n._isInteger=r,n._loop=e,n._map=m,n._remove=O,n._removeAt=A,n._repeat=function(n,t,r){for(;n<t;n++)r(n,t)},n.afterCall=function(n,t,e){if(_(n)){var o=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];var r=o.apply(this,n);return e.apply(this,n,r)}}},n.alias=function(r,n){_(r)&&w(n,function(n,t){t=r[t],E(n)?n.forEach(function(n){return r[n]=t}):r[n]=t})},n.aroundCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return r.call(this,e,n)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=x,n.assignDeep=function(n){if(v(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return e(arguments,1,arguments.length,function(n){!function r(e,n){var o;v(n)||i(n,function(n,t){_(o=e[t])&&_(n)?r(o,n):e[t]=n})}(t,n)}),t},n.beforeCall=function(n,t,r){if(_(n)){var e=n[t];n[t]=function(){return r.apply(this,arguments),e.apply(this,arguments)}}},n.camelize=function(n){return y(n)?N[n]||(N[n]=n.replace(C,function(n,t){return t.toUpperCase()})):n},n.capitalize=function(n){return y(n)?S[n]||(S[n]=n.charAt(0).toUpperCase()+n.slice(1)):n},n.debounce=function(n,t){var r=null;function e(){null!==r&&(clearTimeout(r),r=null)}function o(){e(),r=setTimeout(n,t)}return o.cancel=e,o},n.each=k,n.flatten=U,n.flattenDeep=function(n){return U(n,Number.MAX_VALUE)},n.forIn=function(n,t,r){v(n)||s(n,t,r)},n.forOwn=w,n.get=function(n,t,r){var e=v(n)?void 0:h(n,t);return void 0===e?r:e},n.getEasyHash=function(n){return _(n)?"o"+L(n):(typeof n)[0]+n},n.getUid=L,n.hasOwn=function(n,t){return P.call(n,t)},n.isAbsoluteURL=function(n){return T.test(n)},n.isArrayLike=I,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===$(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=B,n.isFalsy=function(n){return!!M[n]},n.isFunction=F,n.isInteger=q,n.isNil=v,n.isNumber=j,n.isObject=_,n.isPlainObject=function(n){return!v(n)&&"[object Object]"===$(n)},n.isPromiseLike=function(n){return!!n&&F(n.then)&&F(n.catch)},n.isRegExp=H,n.isString=y,n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function r(n){var e=n;return V(n)?(e=[],n.forEach(function(n,t){e[t]=r(n)})):_(n)&&(e={},i(n,function(n,t){e[t]=r(n)})),e}(n):function(n){return _(n)?x({},n):n}(n)},n.looseEqual=function r(t,e){if(t===e)return!0;if(_(t)&&_(e)){if(W(t)&&W(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(B(t)&&B(e))return+t==+e;if(H(t)&&H(e))return t.toString()===e.toString();var n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(function(n){return r(t[n],e[n])})}return!1},n.map=function(n,t,r){return m(k,n,t,r)},n.mapObject=function(n,t,r){var e={},o=c(t,r);return w(n,function(n,t){v(n=o(n,t))||(e[t]=n)}),e},n.noop=function(){},n.remove=function(n,t){return X(n)?O(n,t):null},n.removeAt=function(n,t){return G(n)?A(n,t):null},n.set=function(n,t,r){if(!v(n)){if(!y(t)||!d.test(t))return void(n[t]=r);var e,o,i=[],u=0;for(b.lastIndex=0;e=b.exec(t);){var c=e[0],f=e[1],a=e[2],l=e[3],s=void 0;a?v(s=n[o=l.replace(g,"$1")])&&(s=n[o]={}):f?v(s=n[o=f])&&(s=n[f]=[]):v(s=n[o=c])&&(s=n[c]={}),n=s,i[u++]=s}(n=i[u-2])[o]=r}},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=$,n.transform=function(n,e,o){return k(n,function(n,t,r){return e(o,n,t,r)}),o},n.type=function(n){return v(n)?n+"":_(n)||F(n)?J[$(n)]||"object":typeof n}},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158411
142
4991