text: "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function clone(t){return JSON.parse(JSON.stringify(t))}function isNumber(t){return"number"==typeof t}function isString(t){return"string"==typeof t}function isArray(t){return t.constructor===Array}function handleRest(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];var n=r?r[0]:{},o=clone(r);return o.shift(),{obj:n,strs:o}}function fetchLast(t,r){var e=clone(r),r=t[r[0]];return 1===e.length?r:(e.shift(),fetchLast(r,e))}function fetchData(r){var e=r;try{for(var t=arguments.length,n=new Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var c=handleRest.apply(void 0,n),f=fetchLast(c.obj,c.strs),e=(f=isNumber(r)&&isString(f)?Number(f):f)||r;"string"==typeof r&&(e="object"===_typeof(e)?JSON.stringify(e):"".concat(e)),_typeof(e)!==_typeof(r)&&(e=r),isArray(r)&&!isArray(e)&&(e=r)}catch(t){e=r}finally{return e}}function fetchObject(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return fetchData.apply(void 0,[{}].concat(r))}function fetchBoolean(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return fetchData.apply(void 0,[!1].concat(r))}function fetchString(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return fetchData.apply(void 0,[""].concat(r))}function fetchNumber(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return fetchData.apply(void 0,[0].concat(r))}function fetchArray(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return fetchData.apply(void 0,[[]].concat(r))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.fetchObject=fetchObject,exports.fetchBoolean=fetchBoolean,exports.fetchString=fetchString,exports.fetchNumber=fetchNumber,exports.fetchArray=fetchArray;