"use strict";Liferay.Loader.define("dynamic-data-mapping-form-field-type$axios@0.24.0/lib/utils",["module","exports","require","./helpers/bind"],(function(r,e,n){window;{var t=n("./helpers/bind"),i=Object.prototype.toString;function isArray(r){return"[object Array]"===i.call(r)}function isUndefined(r){return void 0===r}function isObject(r){return null!==r&&"object"==typeof r}function isPlainObject(r){if("[object Object]"!==i.call(r))return!1;var e=Object.getPrototypeOf(r);return null===e||e===Object.prototype}function isFunction(r){return"[object Function]"===i.call(r)}function forEach(r,e){if(null!=r)if("object"!=typeof r&&(r=[r]),isArray(r))for(var n=0,t=r.length;n<t;n++)e.call(null,r[n],n,r);else for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.call(null,r[i],i,r)}r.exports={isArray:isArray,isArrayBuffer:function isArrayBuffer(r){return"[object ArrayBuffer]"===i.call(r)},isBuffer:function isBuffer(r){return null!==r&&!isUndefined(r)&&null!==r.constructor&&!isUndefined(r.constructor)&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)},isFormData:function isFormData(r){return"undefined"!=typeof FormData&&r instanceof FormData},isArrayBufferView:function isArrayBufferView(r){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer&&r.buffer instanceof ArrayBuffer},isString:function isString(r){return"string"==typeof r},isNumber:function isNumber(r){return"number"==typeof r},isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:function isDate(r){return"[object Date]"===i.call(r)},isFile:function isFile(r){return"[object File]"===i.call(r)},isBlob:function isBlob(r){return"[object Blob]"===i.call(r)},isFunction:isFunction,isStream:function isStream(r){return isObject(r)&&isFunction(r.pipe)},isURLSearchParams:function isURLSearchParams(r){return"undefined"!=typeof URLSearchParams&&r instanceof URLSearchParams},isStandardBrowserEnv:function isStandardBrowserEnv(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:forEach,merge:function merge(){var r={};function assignValue(e,n){isPlainObject(r[n])&&isPlainObject(e)?r[n]=merge(r[n],e):isPlainObject(e)?r[n]=merge({},e):isArray(e)?r[n]=e.slice():r[n]=e}for(var e=0,n=arguments.length;e<n;e++)forEach(arguments[e],assignValue);return r},extend:function extend(r,e,n){return forEach(e,(function assignValue(e,i){r[i]=n&&"function"==typeof e?t(e,n):e})),r},trim:function trim(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")},stripBOM:function stripBOM(r){return 65279===r.charCodeAt(0)&&(r=r.slice(1)),r}}}}));
//# sourceMappingURL=utils.js.map