@bigbinary/neeto-image-uploader-frontend 1.2.16 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1041 -945
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1042 -946
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -440,7 +440,7 @@ function looksLikeObjectPath(key, nsSeparator, keySeparator) {
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
function ownKeys$5$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
443
|
-
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5$1(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
443
|
+
function _objectSpread$5$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5$1(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
444
444
|
function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
|
|
445
445
|
function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
446
446
|
function deepFind(obj, path) {
|
|
@@ -582,7 +582,7 @@ var ResourceStore = function (_EventEmitter) {
|
|
|
582
582
|
if (deep) {
|
|
583
583
|
deepExtend(pack, resources, overwrite);
|
|
584
584
|
} else {
|
|
585
|
-
pack = _objectSpread$5(_objectSpread$5({}, pack), resources);
|
|
585
|
+
pack = _objectSpread$5$1(_objectSpread$5$1({}, pack), resources);
|
|
586
586
|
}
|
|
587
587
|
setPath(this.data, path, pack);
|
|
588
588
|
if (!options.silent) this.emit('added', lng, ns, resources);
|
|
@@ -605,7 +605,7 @@ var ResourceStore = function (_EventEmitter) {
|
|
|
605
605
|
key: "getResourceBundle",
|
|
606
606
|
value: function getResourceBundle(lng, ns) {
|
|
607
607
|
if (!ns) ns = this.options.defaultNS;
|
|
608
|
-
if (this.options.compatibilityAPI === 'v1') return _objectSpread$5(_objectSpread$5({}, {}), this.getResource(lng, ns));
|
|
608
|
+
if (this.options.compatibilityAPI === 'v1') return _objectSpread$5$1(_objectSpread$5$1({}, {}), this.getResource(lng, ns));
|
|
609
609
|
return this.getResource(lng, ns);
|
|
610
610
|
}
|
|
611
611
|
}, {
|
|
@@ -2122,8 +2122,8 @@ function transformOptions(options) {
|
|
|
2122
2122
|
return options;
|
|
2123
2123
|
}
|
|
2124
2124
|
|
|
2125
|
-
function ownKeys$
|
|
2126
|
-
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$
|
|
2125
|
+
function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2126
|
+
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2127
2127
|
function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
|
|
2128
2128
|
function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
2129
2129
|
function noop$1() {}
|
|
@@ -2789,9 +2789,9 @@ function cape(m) {
|
|
|
2789
2789
|
return unes[m];
|
|
2790
2790
|
}
|
|
2791
2791
|
|
|
2792
|
-
function ownKeys$
|
|
2792
|
+
function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
2793
2793
|
|
|
2794
|
-
function _objectSpread$
|
|
2794
|
+
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$7(Object(source), true).forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2795
2795
|
var defaultOptions = {
|
|
2796
2796
|
bindI18n: 'languageChanged',
|
|
2797
2797
|
bindI18nStore: '',
|
|
@@ -2805,7 +2805,7 @@ var i18nInstance;
|
|
|
2805
2805
|
var I18nContext = React__default["default"].createContext();
|
|
2806
2806
|
function setDefaults() {
|
|
2807
2807
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
2808
|
-
defaultOptions = _objectSpread$
|
|
2808
|
+
defaultOptions = _objectSpread$5(_objectSpread$5({}, defaultOptions), options);
|
|
2809
2809
|
}
|
|
2810
2810
|
function getDefaults() {
|
|
2811
2811
|
return defaultOptions;
|
|
@@ -2932,9 +2932,9 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
2932
2932
|
var _excluded$1 = ["format"],
|
|
2933
2933
|
_excluded2$1 = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
2934
2934
|
|
|
2935
|
-
function ownKeys$
|
|
2935
|
+
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
2936
2936
|
|
|
2937
|
-
function _objectSpread$
|
|
2937
|
+
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$6(Object(source), true).forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2938
2938
|
|
|
2939
2939
|
function hasChildren(node, checkLength) {
|
|
2940
2940
|
if (!node) return false;
|
|
@@ -2960,7 +2960,7 @@ function getAsArray(data) {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
|
|
2962
2962
|
function mergeProps(source, target) {
|
|
2963
|
-
var newTarget = _objectSpread$
|
|
2963
|
+
var newTarget = _objectSpread$4({}, target);
|
|
2964
2964
|
|
|
2965
2965
|
newTarget.props = Object.assign(source.props, target.props);
|
|
2966
2966
|
return newTarget;
|
|
@@ -3030,7 +3030,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
3030
3030
|
getData(children);
|
|
3031
3031
|
var ast = c.parse("<0>".concat(targetString, "</0>"));
|
|
3032
3032
|
|
|
3033
|
-
var opts = _objectSpread$
|
|
3033
|
+
var opts = _objectSpread$4(_objectSpread$4({}, data), combinedTOpts);
|
|
3034
3034
|
|
|
3035
3035
|
function renderInner(child, node, rootReactNode) {
|
|
3036
3036
|
var childs = getChildren(child);
|
|
@@ -3040,7 +3040,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
3040
3040
|
|
|
3041
3041
|
function pushTranslatedJSX(child, inner, mem, i, isVoid) {
|
|
3042
3042
|
if (child.dummy) child.children = inner;
|
|
3043
|
-
mem.push(React__default["default"].cloneElement(child, _objectSpread$
|
|
3043
|
+
mem.push(React__default["default"].cloneElement(child, _objectSpread$4(_objectSpread$4({}, child.props), {}, {
|
|
3044
3044
|
key: i
|
|
3045
3045
|
}), isVoid ? undefined : inner));
|
|
3046
3046
|
}
|
|
@@ -3072,7 +3072,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
3072
3072
|
} else if (isEmptyTransWithHTML) {
|
|
3073
3073
|
var _inner = mapAST(reactNodes, node.children, rootReactNode);
|
|
3074
3074
|
|
|
3075
|
-
mem.push(React__default["default"].cloneElement(child, _objectSpread$
|
|
3075
|
+
mem.push(React__default["default"].cloneElement(child, _objectSpread$4(_objectSpread$4({}, child.props), {}, {
|
|
3076
3076
|
key: i
|
|
3077
3077
|
}), _inner));
|
|
3078
3078
|
} else if (Number.isNaN(parseFloat(node.name))) {
|
|
@@ -3103,11 +3103,11 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
3103
3103
|
var content = node.children[0] ? translationContent : null;
|
|
3104
3104
|
if (content) mem.push(content);
|
|
3105
3105
|
} else if (node.children.length === 1 && translationContent) {
|
|
3106
|
-
mem.push(React__default["default"].cloneElement(child, _objectSpread$
|
|
3106
|
+
mem.push(React__default["default"].cloneElement(child, _objectSpread$4(_objectSpread$4({}, child.props), {}, {
|
|
3107
3107
|
key: i
|
|
3108
3108
|
}), translationContent));
|
|
3109
3109
|
} else {
|
|
3110
|
-
mem.push(React__default["default"].cloneElement(child, _objectSpread$
|
|
3110
|
+
mem.push(React__default["default"].cloneElement(child, _objectSpread$4(_objectSpread$4({}, child.props), {}, {
|
|
3111
3111
|
key: i
|
|
3112
3112
|
})));
|
|
3113
3113
|
}
|
|
@@ -3170,7 +3170,7 @@ function Trans(_ref) {
|
|
|
3170
3170
|
|
|
3171
3171
|
if (context) tOptions.context = context;
|
|
3172
3172
|
|
|
3173
|
-
var reactI18nextOptions = _objectSpread$
|
|
3173
|
+
var reactI18nextOptions = _objectSpread$4(_objectSpread$4({}, getDefaults()), i18n.options && i18n.options.react);
|
|
3174
3174
|
|
|
3175
3175
|
var namespaces = ns || t.ns || defaultNSFromContext || i18n.options && i18n.options.defaultNS;
|
|
3176
3176
|
namespaces = typeof namespaces === 'string' ? [namespaces] : namespaces || ['translation'];
|
|
@@ -3178,13 +3178,13 @@ function Trans(_ref) {
|
|
|
3178
3178
|
var hashTransKey = reactI18nextOptions.hashTransKey;
|
|
3179
3179
|
var key = i18nKey || (hashTransKey ? hashTransKey(defaultValue) : defaultValue);
|
|
3180
3180
|
var interpolationOverride = values ? tOptions.interpolation : {
|
|
3181
|
-
interpolation: _objectSpread$
|
|
3181
|
+
interpolation: _objectSpread$4(_objectSpread$4({}, tOptions.interpolation), {}, {
|
|
3182
3182
|
prefix: '#$?',
|
|
3183
3183
|
suffix: '?$#'
|
|
3184
3184
|
})
|
|
3185
3185
|
};
|
|
3186
3186
|
|
|
3187
|
-
var combinedTOpts = _objectSpread$
|
|
3187
|
+
var combinedTOpts = _objectSpread$4(_objectSpread$4(_objectSpread$4(_objectSpread$4({}, tOptions), {}, {
|
|
3188
3188
|
count: count
|
|
3189
3189
|
}, values), interpolationOverride), {}, {
|
|
3190
3190
|
defaultValue: defaultValue,
|
|
@@ -3229,9 +3229,9 @@ function _slicedToArray$2(arr, i) {
|
|
|
3229
3229
|
return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$2();
|
|
3230
3230
|
}
|
|
3231
3231
|
|
|
3232
|
-
function ownKeys$
|
|
3232
|
+
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
3233
3233
|
|
|
3234
|
-
function _objectSpread$
|
|
3234
|
+
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
3235
3235
|
function useTranslation(ns) {
|
|
3236
3236
|
var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3237
3237
|
var i18nFromProps = props.i18n;
|
|
@@ -3259,7 +3259,7 @@ function useTranslation(ns) {
|
|
|
3259
3259
|
|
|
3260
3260
|
if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');
|
|
3261
3261
|
|
|
3262
|
-
var i18nOptions = _objectSpread$
|
|
3262
|
+
var i18nOptions = _objectSpread$3(_objectSpread$3(_objectSpread$3({}, getDefaults()), i18n.options.react), props);
|
|
3263
3263
|
|
|
3264
3264
|
var useSuspense = i18nOptions.useSuspense,
|
|
3265
3265
|
keyPrefix = i18nOptions.keyPrefix;
|
|
@@ -3590,7 +3590,7 @@ function _defineProperty$3(obj, key, value) {
|
|
|
3590
3590
|
return obj;
|
|
3591
3591
|
}
|
|
3592
3592
|
|
|
3593
|
-
function ownKeys$
|
|
3593
|
+
function ownKeys$4(object, enumerableOnly) {
|
|
3594
3594
|
var keys = Object.keys(object);
|
|
3595
3595
|
|
|
3596
3596
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3609,13 +3609,13 @@ function _objectSpread2$1(target) {
|
|
|
3609
3609
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3610
3610
|
|
|
3611
3611
|
if (i % 2) {
|
|
3612
|
-
ownKeys$
|
|
3612
|
+
ownKeys$4(Object(source), true).forEach(function (key) {
|
|
3613
3613
|
_defineProperty$3(target, key, source[key]);
|
|
3614
3614
|
});
|
|
3615
3615
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
3616
3616
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3617
3617
|
} else {
|
|
3618
|
-
ownKeys$
|
|
3618
|
+
ownKeys$4(Object(source)).forEach(function (key) {
|
|
3619
3619
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3620
3620
|
});
|
|
3621
3621
|
}
|
|
@@ -7377,7 +7377,7 @@ function _defineProperty$2(obj, key, value) {
|
|
|
7377
7377
|
return obj;
|
|
7378
7378
|
}
|
|
7379
7379
|
|
|
7380
|
-
function ownKeys$
|
|
7380
|
+
function ownKeys$3(object, enumerableOnly) {
|
|
7381
7381
|
var keys = Object.keys(object);
|
|
7382
7382
|
|
|
7383
7383
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -7396,13 +7396,13 @@ function _objectSpread2(target) {
|
|
|
7396
7396
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
7397
7397
|
|
|
7398
7398
|
if (i % 2) {
|
|
7399
|
-
ownKeys$
|
|
7399
|
+
ownKeys$3(Object(source), true).forEach(function (key) {
|
|
7400
7400
|
_defineProperty$2(target, key, source[key]);
|
|
7401
7401
|
});
|
|
7402
7402
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
7403
7403
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7404
7404
|
} else {
|
|
7405
|
-
ownKeys$
|
|
7405
|
+
ownKeys$3(Object(source)).forEach(function (key) {
|
|
7406
7406
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7407
7407
|
});
|
|
7408
7408
|
}
|
|
@@ -9121,7 +9121,7 @@ var ASSETS_FETCH_URL = (cov_l0ywmw7at().s[11]++, IS_DEVELOPMENT_OR_HEROKU_ENV ?
|
|
|
9121
9121
|
|
|
9122
9122
|
function cov_8ssccub0() {
|
|
9123
9123
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageEditor/index.jsx";
|
|
9124
|
-
var hash = "
|
|
9124
|
+
var hash = "3cb03c9e73348f1bf4fb721796541b497a55f472";
|
|
9125
9125
|
var global = new Function("return this")();
|
|
9126
9126
|
var gcv = "__coverage__";
|
|
9127
9127
|
var coverageData = {
|
|
@@ -9284,7 +9284,7 @@ function cov_8ssccub0() {
|
|
|
9284
9284
|
},
|
|
9285
9285
|
end: {
|
|
9286
9286
|
line: 58,
|
|
9287
|
-
column:
|
|
9287
|
+
column: 64
|
|
9288
9288
|
}
|
|
9289
9289
|
},
|
|
9290
9290
|
"16": {
|
|
@@ -9415,18 +9415,18 @@ function cov_8ssccub0() {
|
|
|
9415
9415
|
},
|
|
9416
9416
|
end: {
|
|
9417
9417
|
line: 27,
|
|
9418
|
-
column:
|
|
9418
|
+
column: 32
|
|
9419
9419
|
}
|
|
9420
9420
|
},
|
|
9421
9421
|
type: "default-arg",
|
|
9422
9422
|
locations: [{
|
|
9423
9423
|
start: {
|
|
9424
9424
|
line: 27,
|
|
9425
|
-
column:
|
|
9425
|
+
column: 28
|
|
9426
9426
|
},
|
|
9427
9427
|
end: {
|
|
9428
9428
|
line: 27,
|
|
9429
|
-
column:
|
|
9429
|
+
column: 32
|
|
9430
9430
|
}
|
|
9431
9431
|
}],
|
|
9432
9432
|
line: 27
|
|
@@ -9555,7 +9555,7 @@ function cov_8ssccub0() {
|
|
|
9555
9555
|
"3": [0, 0]
|
|
9556
9556
|
},
|
|
9557
9557
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9558
|
-
hash: "
|
|
9558
|
+
hash: "3cb03c9e73348f1bf4fb721796541b497a55f472"
|
|
9559
9559
|
};
|
|
9560
9560
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9561
9561
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9575,8 +9575,8 @@ cov_8ssccub0().s[0]++;
|
|
|
9575
9575
|
var ImageEditor = function ImageEditor(_ref) {
|
|
9576
9576
|
var image = _ref.image,
|
|
9577
9577
|
handleReset = _ref.handleReset,
|
|
9578
|
-
_ref$
|
|
9579
|
-
|
|
9578
|
+
_ref$handleImageEditC = _ref.handleImageEditComplete,
|
|
9579
|
+
handleImageEditComplete = _ref$handleImageEditC === void 0 ? (cov_8ssccub0().b[0][0]++, pure.noop) : _ref$handleImageEditC,
|
|
9580
9580
|
_ref$signedId = _ref.signedId,
|
|
9581
9581
|
signedId = _ref$signedId === void 0 ? (cov_8ssccub0().b[1][0]++, "") : _ref$signedId;
|
|
9582
9582
|
cov_8ssccub0().f[0]++;
|
|
@@ -9612,7 +9612,7 @@ var ImageEditor = function ImageEditor(_ref) {
|
|
|
9612
9612
|
}),
|
|
9613
9613
|
signedId: signedId
|
|
9614
9614
|
}, {
|
|
9615
|
-
onSuccess:
|
|
9615
|
+
onSuccess: handleImageEditComplete
|
|
9616
9616
|
});
|
|
9617
9617
|
};
|
|
9618
9618
|
cov_8ssccub0().s[10]++;
|
|
@@ -9634,7 +9634,7 @@ var ImageEditor = function ImageEditor(_ref) {
|
|
|
9634
9634
|
imageRef: imageRef
|
|
9635
9635
|
}));
|
|
9636
9636
|
cov_8ssccub0().s[15]++;
|
|
9637
|
-
|
|
9637
|
+
handleImageEditComplete(ramda.mergeRight(image, {
|
|
9638
9638
|
url: newURL
|
|
9639
9639
|
}));
|
|
9640
9640
|
};
|
|
@@ -9869,9 +9869,94 @@ var directUploadsApi = (cov_1ukp3guhfu().s[4]++, {
|
|
|
9869
9869
|
update: update
|
|
9870
9870
|
});
|
|
9871
9871
|
|
|
9872
|
+
function cov_1ukzvmo2ut() {
|
|
9873
|
+
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/constants/query.js";
|
|
9874
|
+
var hash = "84dca07a5663f77afbdfe2e01ab5dc61ad289828";
|
|
9875
|
+
var global = new Function("return this")();
|
|
9876
|
+
var gcv = "__coverage__";
|
|
9877
|
+
var coverageData = {
|
|
9878
|
+
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/constants/query.js",
|
|
9879
|
+
statementMap: {
|
|
9880
|
+
"0": {
|
|
9881
|
+
start: {
|
|
9882
|
+
line: 1,
|
|
9883
|
+
column: 26
|
|
9884
|
+
},
|
|
9885
|
+
end: {
|
|
9886
|
+
line: 4,
|
|
9887
|
+
column: 1
|
|
9888
|
+
}
|
|
9889
|
+
},
|
|
9890
|
+
"1": {
|
|
9891
|
+
start: {
|
|
9892
|
+
line: 6,
|
|
9893
|
+
column: 33
|
|
9894
|
+
},
|
|
9895
|
+
end: {
|
|
9896
|
+
line: 6,
|
|
9897
|
+
column: 40
|
|
9898
|
+
}
|
|
9899
|
+
},
|
|
9900
|
+
"2": {
|
|
9901
|
+
start: {
|
|
9902
|
+
line: 8,
|
|
9903
|
+
column: 35
|
|
9904
|
+
},
|
|
9905
|
+
end: {
|
|
9906
|
+
line: 8,
|
|
9907
|
+
column: 42
|
|
9908
|
+
}
|
|
9909
|
+
},
|
|
9910
|
+
"3": {
|
|
9911
|
+
start: {
|
|
9912
|
+
line: 10,
|
|
9913
|
+
column: 34
|
|
9914
|
+
},
|
|
9915
|
+
end: {
|
|
9916
|
+
line: 10,
|
|
9917
|
+
column: 41
|
|
9918
|
+
}
|
|
9919
|
+
}
|
|
9920
|
+
},
|
|
9921
|
+
fnMap: {},
|
|
9922
|
+
branchMap: {},
|
|
9923
|
+
s: {
|
|
9924
|
+
"0": 0,
|
|
9925
|
+
"1": 0,
|
|
9926
|
+
"2": 0,
|
|
9927
|
+
"3": 0
|
|
9928
|
+
},
|
|
9929
|
+
f: {},
|
|
9930
|
+
b: {},
|
|
9931
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9932
|
+
hash: "84dca07a5663f77afbdfe2e01ab5dc61ad289828"
|
|
9933
|
+
};
|
|
9934
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
9935
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
9936
|
+
coverage[path] = coverageData;
|
|
9937
|
+
}
|
|
9938
|
+
var actualCoverage = coverage[path];
|
|
9939
|
+
{
|
|
9940
|
+
// @ts-ignore
|
|
9941
|
+
cov_1ukzvmo2ut = function () {
|
|
9942
|
+
return actualCoverage;
|
|
9943
|
+
};
|
|
9944
|
+
}
|
|
9945
|
+
return actualCoverage;
|
|
9946
|
+
}
|
|
9947
|
+
cov_1ukzvmo2ut();
|
|
9948
|
+
var QUERY_KEYS = (cov_1ukzvmo2ut().s[0]++, {
|
|
9949
|
+
ASSETS_LSIT: "assets-list",
|
|
9950
|
+
UNSPLASH_LIST: "unsplash-list"
|
|
9951
|
+
});
|
|
9952
|
+
var ASSETS_STALE_TIME = (cov_1ukzvmo2ut().s[1]++, 900000); // 15 mins
|
|
9953
|
+
|
|
9954
|
+
var UNSPLASH_STALE_TIME = (cov_1ukzvmo2ut().s[2]++, 900000);
|
|
9955
|
+
(cov_1ukzvmo2ut().s[3]++, 100000);
|
|
9956
|
+
|
|
9872
9957
|
function cov_20wespd2q6() {
|
|
9873
9958
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/hooks/useDirectUploads.js";
|
|
9874
|
-
var hash = "
|
|
9959
|
+
var hash = "d9726001d441435c253e8bfbfa160531de06fce6";
|
|
9875
9960
|
var global = new Function("return this")();
|
|
9876
9961
|
var gcv = "__coverage__";
|
|
9877
9962
|
var coverageData = {
|
|
@@ -9879,41 +9964,61 @@ function cov_20wespd2q6() {
|
|
|
9879
9964
|
statementMap: {
|
|
9880
9965
|
"0": {
|
|
9881
9966
|
start: {
|
|
9882
|
-
line:
|
|
9967
|
+
line: 6,
|
|
9883
9968
|
column: 22
|
|
9884
9969
|
},
|
|
9885
9970
|
end: {
|
|
9886
|
-
line:
|
|
9887
|
-
column:
|
|
9971
|
+
line: 15,
|
|
9972
|
+
column: 1
|
|
9888
9973
|
}
|
|
9889
9974
|
},
|
|
9890
9975
|
"1": {
|
|
9891
9976
|
start: {
|
|
9892
|
-
line:
|
|
9893
|
-
column:
|
|
9977
|
+
line: 7,
|
|
9978
|
+
column: 22
|
|
9894
9979
|
},
|
|
9895
9980
|
end: {
|
|
9896
|
-
line:
|
|
9897
|
-
column:
|
|
9981
|
+
line: 7,
|
|
9982
|
+
column: 38
|
|
9898
9983
|
}
|
|
9899
9984
|
},
|
|
9900
9985
|
"2": {
|
|
9901
9986
|
start: {
|
|
9902
|
-
line:
|
|
9987
|
+
line: 9,
|
|
9988
|
+
column: 2
|
|
9989
|
+
},
|
|
9990
|
+
end: {
|
|
9991
|
+
line: 14,
|
|
9992
|
+
column: 5
|
|
9993
|
+
}
|
|
9994
|
+
},
|
|
9995
|
+
"3": {
|
|
9996
|
+
start: {
|
|
9997
|
+
line: 12,
|
|
9998
|
+
column: 6
|
|
9999
|
+
},
|
|
10000
|
+
end: {
|
|
10001
|
+
line: 12,
|
|
10002
|
+
column: 60
|
|
10003
|
+
}
|
|
10004
|
+
},
|
|
10005
|
+
"4": {
|
|
10006
|
+
start: {
|
|
10007
|
+
line: 17,
|
|
9903
10008
|
column: 22
|
|
9904
10009
|
},
|
|
9905
10010
|
end: {
|
|
9906
|
-
line:
|
|
10011
|
+
line: 17,
|
|
9907
10012
|
column: 78
|
|
9908
10013
|
}
|
|
9909
10014
|
},
|
|
9910
|
-
"
|
|
10015
|
+
"5": {
|
|
9911
10016
|
start: {
|
|
9912
|
-
line:
|
|
10017
|
+
line: 17,
|
|
9913
10018
|
column: 33
|
|
9914
10019
|
},
|
|
9915
10020
|
end: {
|
|
9916
|
-
line:
|
|
10021
|
+
line: 17,
|
|
9917
10022
|
column: 78
|
|
9918
10023
|
}
|
|
9919
10024
|
}
|
|
@@ -9923,49 +10028,73 @@ function cov_20wespd2q6() {
|
|
|
9923
10028
|
name: "(anonymous_0)",
|
|
9924
10029
|
decl: {
|
|
9925
10030
|
start: {
|
|
9926
|
-
line:
|
|
10031
|
+
line: 6,
|
|
9927
10032
|
column: 22
|
|
9928
10033
|
},
|
|
9929
10034
|
end: {
|
|
9930
|
-
line:
|
|
10035
|
+
line: 6,
|
|
9931
10036
|
column: 23
|
|
9932
10037
|
}
|
|
9933
10038
|
},
|
|
9934
10039
|
loc: {
|
|
9935
10040
|
start: {
|
|
9936
|
-
line:
|
|
10041
|
+
line: 6,
|
|
9937
10042
|
column: 33
|
|
9938
10043
|
},
|
|
9939
10044
|
end: {
|
|
9940
|
-
line:
|
|
9941
|
-
column:
|
|
10045
|
+
line: 15,
|
|
10046
|
+
column: 1
|
|
9942
10047
|
}
|
|
9943
10048
|
},
|
|
9944
|
-
line:
|
|
10049
|
+
line: 6
|
|
9945
10050
|
},
|
|
9946
10051
|
"1": {
|
|
9947
10052
|
name: "(anonymous_1)",
|
|
9948
10053
|
decl: {
|
|
9949
10054
|
start: {
|
|
9950
|
-
line:
|
|
10055
|
+
line: 11,
|
|
10056
|
+
column: 15
|
|
10057
|
+
},
|
|
10058
|
+
end: {
|
|
10059
|
+
line: 11,
|
|
10060
|
+
column: 16
|
|
10061
|
+
}
|
|
10062
|
+
},
|
|
10063
|
+
loc: {
|
|
10064
|
+
start: {
|
|
10065
|
+
line: 11,
|
|
10066
|
+
column: 21
|
|
10067
|
+
},
|
|
10068
|
+
end: {
|
|
10069
|
+
line: 13,
|
|
10070
|
+
column: 5
|
|
10071
|
+
}
|
|
10072
|
+
},
|
|
10073
|
+
line: 11
|
|
10074
|
+
},
|
|
10075
|
+
"2": {
|
|
10076
|
+
name: "(anonymous_2)",
|
|
10077
|
+
decl: {
|
|
10078
|
+
start: {
|
|
10079
|
+
line: 17,
|
|
9951
10080
|
column: 22
|
|
9952
10081
|
},
|
|
9953
10082
|
end: {
|
|
9954
|
-
line:
|
|
10083
|
+
line: 17,
|
|
9955
10084
|
column: 23
|
|
9956
10085
|
}
|
|
9957
10086
|
},
|
|
9958
10087
|
loc: {
|
|
9959
10088
|
start: {
|
|
9960
|
-
line:
|
|
10089
|
+
line: 17,
|
|
9961
10090
|
column: 33
|
|
9962
10091
|
},
|
|
9963
10092
|
end: {
|
|
9964
|
-
line:
|
|
10093
|
+
line: 17,
|
|
9965
10094
|
column: 78
|
|
9966
10095
|
}
|
|
9967
10096
|
},
|
|
9968
|
-
line:
|
|
10097
|
+
line: 17
|
|
9969
10098
|
}
|
|
9970
10099
|
},
|
|
9971
10100
|
branchMap: {},
|
|
@@ -9973,15 +10102,18 @@ function cov_20wespd2q6() {
|
|
|
9973
10102
|
"0": 0,
|
|
9974
10103
|
"1": 0,
|
|
9975
10104
|
"2": 0,
|
|
9976
|
-
"3": 0
|
|
10105
|
+
"3": 0,
|
|
10106
|
+
"4": 0,
|
|
10107
|
+
"5": 0
|
|
9977
10108
|
},
|
|
9978
10109
|
f: {
|
|
9979
10110
|
"0": 0,
|
|
9980
|
-
"1": 0
|
|
10111
|
+
"1": 0,
|
|
10112
|
+
"2": 0
|
|
9981
10113
|
},
|
|
9982
10114
|
b: {},
|
|
9983
10115
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9984
|
-
hash: "
|
|
10116
|
+
hash: "d9726001d441435c253e8bfbfa160531de06fce6"
|
|
9985
10117
|
};
|
|
9986
10118
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9987
10119
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9997,16 +10129,25 @@ function cov_20wespd2q6() {
|
|
|
9997
10129
|
return actualCoverage;
|
|
9998
10130
|
}
|
|
9999
10131
|
cov_20wespd2q6();
|
|
10132
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10133
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10000
10134
|
cov_20wespd2q6().s[0]++;
|
|
10001
10135
|
var useCreateBlob = function useCreateBlob(options) {
|
|
10002
10136
|
cov_20wespd2q6().f[0]++;
|
|
10003
|
-
cov_20wespd2q6().s[1]
|
|
10004
|
-
|
|
10137
|
+
var queryClient = (cov_20wespd2q6().s[1]++, reactQuery.useQueryClient());
|
|
10138
|
+
cov_20wespd2q6().s[2]++;
|
|
10139
|
+
return reactQuery.useMutation(directUploadsApi.create, _objectSpread$2(_objectSpread$2({}, options), {}, {
|
|
10140
|
+
onSuccess: function onSuccess() {
|
|
10141
|
+
cov_20wespd2q6().f[1]++;
|
|
10142
|
+
cov_20wespd2q6().s[3]++;
|
|
10143
|
+
queryClient.invalidateQueries(QUERY_KEYS.ASSETS_LIST);
|
|
10144
|
+
}
|
|
10145
|
+
}));
|
|
10005
10146
|
};
|
|
10006
|
-
cov_20wespd2q6().s[
|
|
10147
|
+
cov_20wespd2q6().s[4]++;
|
|
10007
10148
|
var useUpdateBlob = function useUpdateBlob(options) {
|
|
10008
|
-
cov_20wespd2q6().f[
|
|
10009
|
-
cov_20wespd2q6().s[
|
|
10149
|
+
cov_20wespd2q6().f[2]++;
|
|
10150
|
+
cov_20wespd2q6().s[5]++;
|
|
10010
10151
|
return reactQuery.useMutation(directUploadsApi.update, options);
|
|
10011
10152
|
};
|
|
10012
10153
|
|
|
@@ -12805,7 +12946,7 @@ var useDropzoneWithValidation = function useDropzoneWithValidation(_ref) {
|
|
|
12805
12946
|
id: blob.signed_id,
|
|
12806
12947
|
payload: {
|
|
12807
12948
|
metadata: {
|
|
12808
|
-
|
|
12949
|
+
organizationKey: initializers.globalProps.organization.publicApiKey,
|
|
12809
12950
|
url: blob.blob_url,
|
|
12810
12951
|
height: 200,
|
|
12811
12952
|
width: 200
|
|
@@ -12858,7 +12999,7 @@ var useDropzoneWithValidation = function useDropzoneWithValidation(_ref) {
|
|
|
12858
12999
|
fileName: file.name,
|
|
12859
13000
|
folder: (cov_sedvezotl().b[4][0]++, initializers.globalProps.imageKit.folder) || (cov_sedvezotl().b[4][1]++, IMAGE_KIT_DEFAULT_FOLDER),
|
|
12860
13001
|
customMetadata: {
|
|
12861
|
-
|
|
13002
|
+
organizationKey: initializers.globalProps.organization.publicApiKey,
|
|
12862
13003
|
appName: initializers.globalProps.appName
|
|
12863
13004
|
}
|
|
12864
13005
|
});
|
|
@@ -13246,137 +13387,52 @@ var assetsApi = (cov_2os1rrqd86().s[2]++, {
|
|
|
13246
13387
|
fetch: fetch
|
|
13247
13388
|
});
|
|
13248
13389
|
|
|
13249
|
-
function
|
|
13250
|
-
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/
|
|
13251
|
-
var hash = "
|
|
13390
|
+
function cov_1j8zq3as6y() {
|
|
13391
|
+
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/hooks/useAssetsApi.js";
|
|
13392
|
+
var hash = "1a577ae8afd7cf5d4a6396d31f43383c0cf2c21f";
|
|
13252
13393
|
var global = new Function("return this")();
|
|
13253
13394
|
var gcv = "__coverage__";
|
|
13254
13395
|
var coverageData = {
|
|
13255
|
-
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/
|
|
13396
|
+
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/hooks/useAssetsApi.js",
|
|
13256
13397
|
statementMap: {
|
|
13257
13398
|
"0": {
|
|
13258
13399
|
start: {
|
|
13259
|
-
line:
|
|
13260
|
-
column:
|
|
13400
|
+
line: 7,
|
|
13401
|
+
column: 24
|
|
13261
13402
|
},
|
|
13262
13403
|
end: {
|
|
13263
|
-
line:
|
|
13264
|
-
column:
|
|
13404
|
+
line: 7,
|
|
13405
|
+
column: 34
|
|
13265
13406
|
}
|
|
13266
13407
|
},
|
|
13267
13408
|
"1": {
|
|
13268
13409
|
start: {
|
|
13269
|
-
line:
|
|
13270
|
-
column:
|
|
13410
|
+
line: 9,
|
|
13411
|
+
column: 23
|
|
13271
13412
|
},
|
|
13272
13413
|
end: {
|
|
13273
|
-
line:
|
|
13274
|
-
column:
|
|
13414
|
+
line: 14,
|
|
13415
|
+
column: 3
|
|
13275
13416
|
}
|
|
13276
13417
|
},
|
|
13277
13418
|
"2": {
|
|
13278
13419
|
start: {
|
|
13279
|
-
line:
|
|
13280
|
-
column:
|
|
13420
|
+
line: 10,
|
|
13421
|
+
column: 2
|
|
13281
13422
|
},
|
|
13282
13423
|
end: {
|
|
13283
|
-
line:
|
|
13284
|
-
column:
|
|
13424
|
+
line: 14,
|
|
13425
|
+
column: 3
|
|
13285
13426
|
}
|
|
13286
13427
|
},
|
|
13287
13428
|
"3": {
|
|
13288
13429
|
start: {
|
|
13289
|
-
line:
|
|
13290
|
-
column:
|
|
13430
|
+
line: 12,
|
|
13431
|
+
column: 10
|
|
13291
13432
|
},
|
|
13292
13433
|
end: {
|
|
13293
|
-
line:
|
|
13294
|
-
column:
|
|
13295
|
-
}
|
|
13296
|
-
}
|
|
13297
|
-
},
|
|
13298
|
-
fnMap: {},
|
|
13299
|
-
branchMap: {},
|
|
13300
|
-
s: {
|
|
13301
|
-
"0": 0,
|
|
13302
|
-
"1": 0,
|
|
13303
|
-
"2": 0,
|
|
13304
|
-
"3": 0
|
|
13305
|
-
},
|
|
13306
|
-
f: {},
|
|
13307
|
-
b: {},
|
|
13308
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
13309
|
-
hash: "84dca07a5663f77afbdfe2e01ab5dc61ad289828"
|
|
13310
|
-
};
|
|
13311
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
13312
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
13313
|
-
coverage[path] = coverageData;
|
|
13314
|
-
}
|
|
13315
|
-
var actualCoverage = coverage[path];
|
|
13316
|
-
{
|
|
13317
|
-
// @ts-ignore
|
|
13318
|
-
cov_1ukzvmo2ut = function () {
|
|
13319
|
-
return actualCoverage;
|
|
13320
|
-
};
|
|
13321
|
-
}
|
|
13322
|
-
return actualCoverage;
|
|
13323
|
-
}
|
|
13324
|
-
cov_1ukzvmo2ut();
|
|
13325
|
-
var QUERY_KEYS = (cov_1ukzvmo2ut().s[0]++, {
|
|
13326
|
-
ASSETS_LSIT: "assets-list",
|
|
13327
|
-
UNSPLASH_LIST: "unsplash-list"
|
|
13328
|
-
});
|
|
13329
|
-
var ASSETS_STALE_TIME = (cov_1ukzvmo2ut().s[1]++, 900000); // 15 mins
|
|
13330
|
-
|
|
13331
|
-
var UNSPLASH_STALE_TIME = (cov_1ukzvmo2ut().s[2]++, 900000);
|
|
13332
|
-
(cov_1ukzvmo2ut().s[3]++, 100000);
|
|
13333
|
-
|
|
13334
|
-
function cov_1j8zq3as6y() {
|
|
13335
|
-
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/hooks/useAssetsApi.js";
|
|
13336
|
-
var hash = "1a577ae8afd7cf5d4a6396d31f43383c0cf2c21f";
|
|
13337
|
-
var global = new Function("return this")();
|
|
13338
|
-
var gcv = "__coverage__";
|
|
13339
|
-
var coverageData = {
|
|
13340
|
-
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/hooks/useAssetsApi.js",
|
|
13341
|
-
statementMap: {
|
|
13342
|
-
"0": {
|
|
13343
|
-
start: {
|
|
13344
|
-
line: 7,
|
|
13345
|
-
column: 24
|
|
13346
|
-
},
|
|
13347
|
-
end: {
|
|
13348
|
-
line: 7,
|
|
13349
|
-
column: 34
|
|
13350
|
-
}
|
|
13351
|
-
},
|
|
13352
|
-
"1": {
|
|
13353
|
-
start: {
|
|
13354
|
-
line: 9,
|
|
13355
|
-
column: 23
|
|
13356
|
-
},
|
|
13357
|
-
end: {
|
|
13358
|
-
line: 14,
|
|
13359
|
-
column: 3
|
|
13360
|
-
}
|
|
13361
|
-
},
|
|
13362
|
-
"2": {
|
|
13363
|
-
start: {
|
|
13364
|
-
line: 10,
|
|
13365
|
-
column: 2
|
|
13366
|
-
},
|
|
13367
|
-
end: {
|
|
13368
|
-
line: 14,
|
|
13369
|
-
column: 3
|
|
13370
|
-
}
|
|
13371
|
-
},
|
|
13372
|
-
"3": {
|
|
13373
|
-
start: {
|
|
13374
|
-
line: 12,
|
|
13375
|
-
column: 10
|
|
13376
|
-
},
|
|
13377
|
-
end: {
|
|
13378
|
-
line: 12,
|
|
13379
|
-
column: 42
|
|
13434
|
+
line: 12,
|
|
13435
|
+
column: 42
|
|
13380
13436
|
}
|
|
13381
13437
|
}
|
|
13382
13438
|
},
|
|
@@ -14267,7 +14323,7 @@ _default = lib.default = MasonryInfiniteScroller;
|
|
|
14267
14323
|
|
|
14268
14324
|
function cov_2pomp2sey4() {
|
|
14269
14325
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/InfiniteScroller.jsx";
|
|
14270
|
-
var hash = "
|
|
14326
|
+
var hash = "c473cb3866c3f7dc827cf95f47e8e5075c178fe5";
|
|
14271
14327
|
var global = new Function("return this")();
|
|
14272
14328
|
var gcv = "__coverage__";
|
|
14273
14329
|
var coverageData = {
|
|
@@ -14279,7 +14335,7 @@ function cov_2pomp2sey4() {
|
|
|
14279
14335
|
column: 25
|
|
14280
14336
|
},
|
|
14281
14337
|
end: {
|
|
14282
|
-
line:
|
|
14338
|
+
line: 84,
|
|
14283
14339
|
column: 1
|
|
14284
14340
|
}
|
|
14285
14341
|
},
|
|
@@ -14299,7 +14355,7 @@ function cov_2pomp2sey4() {
|
|
|
14299
14355
|
column: 2
|
|
14300
14356
|
},
|
|
14301
14357
|
end: {
|
|
14302
|
-
line:
|
|
14358
|
+
line: 83,
|
|
14303
14359
|
column: 4
|
|
14304
14360
|
}
|
|
14305
14361
|
},
|
|
@@ -14309,7 +14365,7 @@ function cov_2pomp2sey4() {
|
|
|
14309
14365
|
column: 10
|
|
14310
14366
|
},
|
|
14311
14367
|
end: {
|
|
14312
|
-
line:
|
|
14368
|
+
line: 79,
|
|
14313
14369
|
column: 16
|
|
14314
14370
|
}
|
|
14315
14371
|
},
|
|
@@ -14325,12 +14381,12 @@ function cov_2pomp2sey4() {
|
|
|
14325
14381
|
},
|
|
14326
14382
|
"5": {
|
|
14327
14383
|
start: {
|
|
14328
|
-
line:
|
|
14329
|
-
column:
|
|
14384
|
+
line: 74,
|
|
14385
|
+
column: 35
|
|
14330
14386
|
},
|
|
14331
14387
|
end: {
|
|
14332
|
-
line:
|
|
14333
|
-
column:
|
|
14388
|
+
line: 74,
|
|
14389
|
+
column: 58
|
|
14334
14390
|
}
|
|
14335
14391
|
}
|
|
14336
14392
|
},
|
|
@@ -14353,7 +14409,7 @@ function cov_2pomp2sey4() {
|
|
|
14353
14409
|
column: 6
|
|
14354
14410
|
},
|
|
14355
14411
|
end: {
|
|
14356
|
-
line:
|
|
14412
|
+
line: 84,
|
|
14357
14413
|
column: 1
|
|
14358
14414
|
}
|
|
14359
14415
|
},
|
|
@@ -14377,7 +14433,7 @@ function cov_2pomp2sey4() {
|
|
|
14377
14433
|
column: 10
|
|
14378
14434
|
},
|
|
14379
14435
|
end: {
|
|
14380
|
-
line:
|
|
14436
|
+
line: 79,
|
|
14381
14437
|
column: 16
|
|
14382
14438
|
}
|
|
14383
14439
|
},
|
|
@@ -14411,25 +14467,25 @@ function cov_2pomp2sey4() {
|
|
|
14411
14467
|
name: "(anonymous_3)",
|
|
14412
14468
|
decl: {
|
|
14413
14469
|
start: {
|
|
14414
|
-
line:
|
|
14415
|
-
column:
|
|
14470
|
+
line: 74,
|
|
14471
|
+
column: 29
|
|
14416
14472
|
},
|
|
14417
14473
|
end: {
|
|
14418
|
-
line:
|
|
14419
|
-
column:
|
|
14474
|
+
line: 74,
|
|
14475
|
+
column: 30
|
|
14420
14476
|
}
|
|
14421
14477
|
},
|
|
14422
14478
|
loc: {
|
|
14423
14479
|
start: {
|
|
14424
|
-
line:
|
|
14425
|
-
column:
|
|
14480
|
+
line: 74,
|
|
14481
|
+
column: 35
|
|
14426
14482
|
},
|
|
14427
14483
|
end: {
|
|
14428
|
-
line:
|
|
14429
|
-
column:
|
|
14484
|
+
line: 74,
|
|
14485
|
+
column: 58
|
|
14430
14486
|
}
|
|
14431
14487
|
},
|
|
14432
|
-
line:
|
|
14488
|
+
line: 74
|
|
14433
14489
|
}
|
|
14434
14490
|
},
|
|
14435
14491
|
branchMap: {
|
|
@@ -14489,18 +14545,18 @@ function cov_2pomp2sey4() {
|
|
|
14489
14545
|
},
|
|
14490
14546
|
end: {
|
|
14491
14547
|
line: 18,
|
|
14492
|
-
column:
|
|
14548
|
+
column: 25
|
|
14493
14549
|
}
|
|
14494
14550
|
},
|
|
14495
14551
|
type: "default-arg",
|
|
14496
14552
|
locations: [{
|
|
14497
14553
|
start: {
|
|
14498
14554
|
line: 18,
|
|
14499
|
-
column:
|
|
14555
|
+
column: 21
|
|
14500
14556
|
},
|
|
14501
14557
|
end: {
|
|
14502
14558
|
line: 18,
|
|
14503
|
-
column:
|
|
14559
|
+
column: 25
|
|
14504
14560
|
}
|
|
14505
14561
|
}],
|
|
14506
14562
|
line: 18
|
|
@@ -14569,7 +14625,7 @@ function cov_2pomp2sey4() {
|
|
|
14569
14625
|
column: 17
|
|
14570
14626
|
},
|
|
14571
14627
|
end: {
|
|
14572
|
-
line:
|
|
14628
|
+
line: 76,
|
|
14573
14629
|
column: 17
|
|
14574
14630
|
}
|
|
14575
14631
|
},
|
|
@@ -14589,8 +14645,8 @@ function cov_2pomp2sey4() {
|
|
|
14589
14645
|
column: 18
|
|
14590
14646
|
},
|
|
14591
14647
|
end: {
|
|
14592
|
-
line:
|
|
14593
|
-
column:
|
|
14648
|
+
line: 75,
|
|
14649
|
+
column: 20
|
|
14594
14650
|
}
|
|
14595
14651
|
}],
|
|
14596
14652
|
line: 71
|
|
@@ -14619,7 +14675,7 @@ function cov_2pomp2sey4() {
|
|
|
14619
14675
|
"5": [0, 0]
|
|
14620
14676
|
},
|
|
14621
14677
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14622
|
-
hash: "
|
|
14678
|
+
hash: "c473cb3866c3f7dc827cf95f47e8e5075c178fe5"
|
|
14623
14679
|
};
|
|
14624
14680
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
14625
14681
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -14643,8 +14699,8 @@ var InfiniteScroller = function InfiniteScroller(_ref) {
|
|
|
14643
14699
|
loadMore = _ref$loadMore === void 0 ? (cov_2pomp2sey4().b[1][0]++, pure.noop) : _ref$loadMore,
|
|
14644
14700
|
tab = _ref.tab,
|
|
14645
14701
|
images = _ref.images,
|
|
14646
|
-
_ref$
|
|
14647
|
-
|
|
14702
|
+
_ref$setSelectedImage = _ref.setSelectedImage,
|
|
14703
|
+
setSelectedImage = _ref$setSelectedImage === void 0 ? (cov_2pomp2sey4().b[2][0]++, pure.noop) : _ref$setSelectedImage,
|
|
14648
14704
|
_ref$handleUnsplashIm = _ref.handleUnsplashImageSelect,
|
|
14649
14705
|
handleUnsplashImageSelect = _ref$handleUnsplashIm === void 0 ? (cov_2pomp2sey4().b[3][0]++, pure.noop) : _ref$handleUnsplashIm;
|
|
14650
14706
|
cov_2pomp2sey4().f[0]++;
|
|
@@ -14696,7 +14752,7 @@ var InfiniteScroller = function InfiniteScroller(_ref) {
|
|
|
14696
14752
|
onClick: function onClick() {
|
|
14697
14753
|
cov_2pomp2sey4().f[3]++;
|
|
14698
14754
|
cov_2pomp2sey4().s[5]++;
|
|
14699
|
-
return
|
|
14755
|
+
return setSelectedImage(image);
|
|
14700
14756
|
}
|
|
14701
14757
|
})))));
|
|
14702
14758
|
})));
|
|
@@ -14704,7 +14760,7 @@ var InfiniteScroller = function InfiniteScroller(_ref) {
|
|
|
14704
14760
|
|
|
14705
14761
|
function cov_10brjehl2r() {
|
|
14706
14762
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/Assets.jsx";
|
|
14707
|
-
var hash = "
|
|
14763
|
+
var hash = "a71ba387ca16e5ae7c32643d4ef9f02583072e0c";
|
|
14708
14764
|
var global = new Function("return this")();
|
|
14709
14765
|
var gcv = "__coverage__";
|
|
14710
14766
|
var coverageData = {
|
|
@@ -14716,7 +14772,7 @@ function cov_10brjehl2r() {
|
|
|
14716
14772
|
column: 15
|
|
14717
14773
|
},
|
|
14718
14774
|
end: {
|
|
14719
|
-
line:
|
|
14775
|
+
line: 40,
|
|
14720
14776
|
column: 1
|
|
14721
14777
|
}
|
|
14722
14778
|
},
|
|
@@ -14733,7 +14789,7 @@ function cov_10brjehl2r() {
|
|
|
14733
14789
|
"2": {
|
|
14734
14790
|
start: {
|
|
14735
14791
|
line: 16,
|
|
14736
|
-
column:
|
|
14792
|
+
column: 44
|
|
14737
14793
|
},
|
|
14738
14794
|
end: {
|
|
14739
14795
|
line: 19,
|
|
@@ -14766,7 +14822,7 @@ function cov_10brjehl2r() {
|
|
|
14766
14822
|
column: 2
|
|
14767
14823
|
},
|
|
14768
14824
|
end: {
|
|
14769
|
-
line:
|
|
14825
|
+
line: 39,
|
|
14770
14826
|
column: 4
|
|
14771
14827
|
}
|
|
14772
14828
|
}
|
|
@@ -14787,10 +14843,10 @@ function cov_10brjehl2r() {
|
|
|
14787
14843
|
loc: {
|
|
14788
14844
|
start: {
|
|
14789
14845
|
line: 13,
|
|
14790
|
-
column:
|
|
14846
|
+
column: 57
|
|
14791
14847
|
},
|
|
14792
14848
|
end: {
|
|
14793
|
-
line:
|
|
14849
|
+
line: 40,
|
|
14794
14850
|
column: 1
|
|
14795
14851
|
}
|
|
14796
14852
|
},
|
|
@@ -14862,7 +14918,7 @@ function cov_10brjehl2r() {
|
|
|
14862
14918
|
column: 9
|
|
14863
14919
|
},
|
|
14864
14920
|
end: {
|
|
14865
|
-
line:
|
|
14921
|
+
line: 39,
|
|
14866
14922
|
column: 3
|
|
14867
14923
|
}
|
|
14868
14924
|
},
|
|
@@ -14873,16 +14929,16 @@ function cov_10brjehl2r() {
|
|
|
14873
14929
|
column: 4
|
|
14874
14930
|
},
|
|
14875
14931
|
end: {
|
|
14876
|
-
line:
|
|
14877
|
-
column:
|
|
14932
|
+
line: 34,
|
|
14933
|
+
column: 6
|
|
14878
14934
|
}
|
|
14879
14935
|
}, {
|
|
14880
14936
|
start: {
|
|
14881
|
-
line:
|
|
14937
|
+
line: 36,
|
|
14882
14938
|
column: 4
|
|
14883
14939
|
},
|
|
14884
14940
|
end: {
|
|
14885
|
-
line:
|
|
14941
|
+
line: 38,
|
|
14886
14942
|
column: 10
|
|
14887
14943
|
}
|
|
14888
14944
|
}],
|
|
@@ -14906,7 +14962,7 @@ function cov_10brjehl2r() {
|
|
|
14906
14962
|
"2": [0, 0]
|
|
14907
14963
|
},
|
|
14908
14964
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14909
|
-
hash: "
|
|
14965
|
+
hash: "a71ba387ca16e5ae7c32643d4ef9f02583072e0c"
|
|
14910
14966
|
};
|
|
14911
14967
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
14912
14968
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -14924,7 +14980,7 @@ function cov_10brjehl2r() {
|
|
|
14924
14980
|
cov_10brjehl2r();
|
|
14925
14981
|
cov_10brjehl2r().s[0]++;
|
|
14926
14982
|
var Assets = function Assets(_ref) {
|
|
14927
|
-
var
|
|
14983
|
+
var setSelectedImage = _ref.setSelectedImage,
|
|
14928
14984
|
debouncedQuery = _ref.debouncedQuery;
|
|
14929
14985
|
cov_10brjehl2r().f[0]++;
|
|
14930
14986
|
var _ref2 = (cov_10brjehl2r().s[1]++, useTranslation()),
|
|
@@ -14935,9 +14991,9 @@ var Assets = function Assets(_ref) {
|
|
|
14935
14991
|
})),
|
|
14936
14992
|
_ref3$data = _ref3.data,
|
|
14937
14993
|
images = _ref3$data === void 0 ? (cov_10brjehl2r().b[0][0]++, []) : _ref3$data,
|
|
14938
|
-
|
|
14994
|
+
isFetching = _ref3.isFetching;
|
|
14939
14995
|
cov_10brjehl2r().s[3]++;
|
|
14940
|
-
if (
|
|
14996
|
+
if (isFetching) {
|
|
14941
14997
|
cov_10brjehl2r().b[1][0]++;
|
|
14942
14998
|
cov_10brjehl2r().s[4]++;
|
|
14943
14999
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14949,7 +15005,7 @@ var Assets = function Assets(_ref) {
|
|
|
14949
15005
|
cov_10brjehl2r().s[5]++;
|
|
14950
15006
|
return pure.isNotEmpty(images) ? (cov_10brjehl2r().b[2][0]++, /*#__PURE__*/React__default["default"].createElement(InfiniteScroller, {
|
|
14951
15007
|
images: images,
|
|
14952
|
-
|
|
15008
|
+
setSelectedImage: setSelectedImage,
|
|
14953
15009
|
tab: TABS[0].key
|
|
14954
15010
|
})) : (cov_10brjehl2r().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14955
15011
|
className: "flex items-center justify-center"
|
|
@@ -15372,13 +15428,13 @@ var useFetchUnsplashImages = function useFetchUnsplashImages(_ref2) {
|
|
|
15372
15428
|
}, options));
|
|
15373
15429
|
};
|
|
15374
15430
|
|
|
15375
|
-
function
|
|
15376
|
-
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/
|
|
15377
|
-
var hash = "
|
|
15431
|
+
function cov_1hbj0u25oo() {
|
|
15432
|
+
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/utils.js";
|
|
15433
|
+
var hash = "870cb6de5c05330de38467ffa73657cf7d079c56";
|
|
15378
15434
|
var global = new Function("return this")();
|
|
15379
15435
|
var gcv = "__coverage__";
|
|
15380
15436
|
var coverageData = {
|
|
15381
|
-
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/
|
|
15437
|
+
path: "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/utils.js",
|
|
15382
15438
|
statementMap: {
|
|
15383
15439
|
"0": {
|
|
15384
15440
|
start: {
|
|
@@ -15703,7 +15759,7 @@ function cov_1wbab1h362() {
|
|
|
15703
15759
|
"1": [0, 0]
|
|
15704
15760
|
},
|
|
15705
15761
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
15706
|
-
hash: "
|
|
15762
|
+
hash: "870cb6de5c05330de38467ffa73657cf7d079c56"
|
|
15707
15763
|
};
|
|
15708
15764
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
15709
15765
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -15712,69 +15768,69 @@ function cov_1wbab1h362() {
|
|
|
15712
15768
|
var actualCoverage = coverage[path];
|
|
15713
15769
|
{
|
|
15714
15770
|
// @ts-ignore
|
|
15715
|
-
|
|
15771
|
+
cov_1hbj0u25oo = function () {
|
|
15716
15772
|
return actualCoverage;
|
|
15717
15773
|
};
|
|
15718
15774
|
}
|
|
15719
15775
|
return actualCoverage;
|
|
15720
15776
|
}
|
|
15721
|
-
|
|
15722
|
-
|
|
15777
|
+
cov_1hbj0u25oo();
|
|
15778
|
+
cov_1hbj0u25oo().s[0]++;
|
|
15723
15779
|
var uploadWithDirectUpload = function uploadWithDirectUpload(file) {
|
|
15724
|
-
|
|
15725
|
-
|
|
15780
|
+
cov_1hbj0u25oo().f[0]++;
|
|
15781
|
+
cov_1hbj0u25oo().s[1]++;
|
|
15726
15782
|
return new Promise(function (resolve, reject) {
|
|
15727
|
-
|
|
15728
|
-
var upload = (
|
|
15729
|
-
|
|
15783
|
+
cov_1hbj0u25oo().f[1]++;
|
|
15784
|
+
var upload = (cov_1hbj0u25oo().s[2]++, new activestorage.DirectUpload(file, "/api/direct_uploads"));
|
|
15785
|
+
cov_1hbj0u25oo().s[3]++;
|
|
15730
15786
|
upload.create(function (error, blob) {
|
|
15731
|
-
|
|
15732
|
-
|
|
15787
|
+
cov_1hbj0u25oo().f[2]++;
|
|
15788
|
+
cov_1hbj0u25oo().s[4]++;
|
|
15733
15789
|
if (error) {
|
|
15734
|
-
|
|
15735
|
-
|
|
15790
|
+
cov_1hbj0u25oo().b[0][0]++;
|
|
15791
|
+
cov_1hbj0u25oo().s[5]++;
|
|
15736
15792
|
reject(error);
|
|
15737
|
-
|
|
15793
|
+
cov_1hbj0u25oo().s[6]++;
|
|
15738
15794
|
return;
|
|
15739
15795
|
} else {
|
|
15740
|
-
|
|
15796
|
+
cov_1hbj0u25oo().b[0][1]++;
|
|
15741
15797
|
}
|
|
15742
|
-
var payload = (
|
|
15798
|
+
var payload = (cov_1hbj0u25oo().s[7]++, {
|
|
15743
15799
|
id: blob.signed_id,
|
|
15744
15800
|
payload: {
|
|
15745
15801
|
metadata: {
|
|
15746
|
-
|
|
15802
|
+
organizationKey: initializers.globalProps.organization.publicApiKey,
|
|
15747
15803
|
url: blob.blob_url,
|
|
15748
15804
|
height: 200,
|
|
15749
15805
|
width: 200
|
|
15750
15806
|
}
|
|
15751
15807
|
}
|
|
15752
15808
|
});
|
|
15753
|
-
|
|
15809
|
+
cov_1hbj0u25oo().s[8]++;
|
|
15754
15810
|
directUploadsApi.update(payload);
|
|
15755
|
-
|
|
15811
|
+
cov_1hbj0u25oo().s[9]++;
|
|
15756
15812
|
resolve(ramda.mergeRight(pure.keysToCamelCase(blob), {
|
|
15757
15813
|
url: blob.blob_url
|
|
15758
15814
|
}));
|
|
15759
15815
|
});
|
|
15760
15816
|
});
|
|
15761
15817
|
};
|
|
15762
|
-
|
|
15818
|
+
cov_1hbj0u25oo().s[10]++;
|
|
15763
15819
|
var uploadWithImageKit = /*#__PURE__*/function () {
|
|
15764
15820
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(file) {
|
|
15765
15821
|
var imagekit;
|
|
15766
15822
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
15767
15823
|
while (1) switch (_context.prev = _context.next) {
|
|
15768
15824
|
case 0:
|
|
15769
|
-
|
|
15770
|
-
imagekit = (
|
|
15771
|
-
|
|
15825
|
+
cov_1hbj0u25oo().f[3]++;
|
|
15826
|
+
imagekit = (cov_1hbj0u25oo().s[11]++, new ImageKit(initializers.globalProps.imageKit));
|
|
15827
|
+
cov_1hbj0u25oo().s[12]++;
|
|
15772
15828
|
return _context.abrupt("return", imagekit.upload({
|
|
15773
15829
|
file: file,
|
|
15774
15830
|
fileName: UNSPLASH_DEFAULT_NAME,
|
|
15775
|
-
folder: (
|
|
15831
|
+
folder: (cov_1hbj0u25oo().b[1][0]++, initializers.globalProps.imageKit.folder) || (cov_1hbj0u25oo().b[1][1]++, IMAGE_KIT_DEFAULT_FOLDER),
|
|
15776
15832
|
customMetadata: {
|
|
15777
|
-
|
|
15833
|
+
organizationKey: initializers.globalProps.organization.publicApiKey,
|
|
15778
15834
|
appName: initializers.globalProps.appName
|
|
15779
15835
|
}
|
|
15780
15836
|
}));
|
|
@@ -15791,7 +15847,7 @@ var uploadWithImageKit = /*#__PURE__*/function () {
|
|
|
15791
15847
|
|
|
15792
15848
|
function cov_28odpwq50i() {
|
|
15793
15849
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/Unsplash.jsx";
|
|
15794
|
-
var hash = "
|
|
15850
|
+
var hash = "e056be1757669955145c1d0219959ffac38ce998";
|
|
15795
15851
|
var global = new Function("return this")();
|
|
15796
15852
|
var gcv = "__coverage__";
|
|
15797
15853
|
var coverageData = {
|
|
@@ -15799,351 +15855,351 @@ function cov_28odpwq50i() {
|
|
|
15799
15855
|
statementMap: {
|
|
15800
15856
|
"0": {
|
|
15801
15857
|
start: {
|
|
15802
|
-
line:
|
|
15858
|
+
line: 21,
|
|
15803
15859
|
column: 24
|
|
15804
15860
|
},
|
|
15805
15861
|
end: {
|
|
15806
|
-
line:
|
|
15862
|
+
line: 109,
|
|
15807
15863
|
column: 1
|
|
15808
15864
|
}
|
|
15809
15865
|
},
|
|
15810
15866
|
"1": {
|
|
15811
15867
|
start: {
|
|
15812
|
-
line:
|
|
15868
|
+
line: 26,
|
|
15813
15869
|
column: 32
|
|
15814
15870
|
},
|
|
15815
15871
|
end: {
|
|
15816
|
-
line:
|
|
15872
|
+
line: 26,
|
|
15817
15873
|
column: 46
|
|
15818
15874
|
}
|
|
15819
15875
|
},
|
|
15820
15876
|
"2": {
|
|
15821
15877
|
start: {
|
|
15822
|
-
line:
|
|
15878
|
+
line: 27,
|
|
15823
15879
|
column: 30
|
|
15824
15880
|
},
|
|
15825
15881
|
end: {
|
|
15826
|
-
line:
|
|
15882
|
+
line: 27,
|
|
15827
15883
|
column: 42
|
|
15828
15884
|
}
|
|
15829
15885
|
},
|
|
15830
15886
|
"3": {
|
|
15831
15887
|
start: {
|
|
15832
|
-
line:
|
|
15888
|
+
line: 28,
|
|
15833
15889
|
column: 30
|
|
15834
15890
|
},
|
|
15835
15891
|
end: {
|
|
15836
|
-
line:
|
|
15892
|
+
line: 28,
|
|
15837
15893
|
column: 41
|
|
15838
15894
|
}
|
|
15839
15895
|
},
|
|
15840
15896
|
"4": {
|
|
15841
15897
|
start: {
|
|
15842
|
-
line:
|
|
15898
|
+
line: 29,
|
|
15843
15899
|
column: 28
|
|
15844
15900
|
},
|
|
15845
15901
|
end: {
|
|
15846
|
-
line:
|
|
15902
|
+
line: 29,
|
|
15847
15903
|
column: 43
|
|
15848
15904
|
}
|
|
15849
15905
|
},
|
|
15850
15906
|
"5": {
|
|
15851
15907
|
start: {
|
|
15852
|
-
line:
|
|
15908
|
+
line: 31,
|
|
15853
15909
|
column: 20
|
|
15854
15910
|
},
|
|
15855
15911
|
end: {
|
|
15856
|
-
line:
|
|
15912
|
+
line: 36,
|
|
15857
15913
|
column: 3
|
|
15858
15914
|
}
|
|
15859
15915
|
},
|
|
15860
15916
|
"6": {
|
|
15861
15917
|
start: {
|
|
15862
|
-
line:
|
|
15918
|
+
line: 32,
|
|
15863
15919
|
column: 4
|
|
15864
15920
|
},
|
|
15865
15921
|
end: {
|
|
15866
|
-
line:
|
|
15922
|
+
line: 32,
|
|
15867
15923
|
column: 76
|
|
15868
15924
|
}
|
|
15869
15925
|
},
|
|
15870
15926
|
"7": {
|
|
15871
15927
|
start: {
|
|
15872
|
-
line:
|
|
15928
|
+
line: 34,
|
|
15873
15929
|
column: 4
|
|
15874
15930
|
},
|
|
15875
15931
|
end: {
|
|
15876
|
-
line:
|
|
15932
|
+
line: 34,
|
|
15877
15933
|
column: 19
|
|
15878
15934
|
}
|
|
15879
15935
|
},
|
|
15880
15936
|
"8": {
|
|
15881
15937
|
start: {
|
|
15882
|
-
line:
|
|
15938
|
+
line: 35,
|
|
15883
15939
|
column: 4
|
|
15884
15940
|
},
|
|
15885
15941
|
end: {
|
|
15886
|
-
line:
|
|
15942
|
+
line: 35,
|
|
15887
15943
|
column: 36
|
|
15888
15944
|
}
|
|
15889
15945
|
},
|
|
15890
15946
|
"9": {
|
|
15891
15947
|
start: {
|
|
15892
|
-
line:
|
|
15948
|
+
line: 38,
|
|
15893
15949
|
column: 36
|
|
15894
15950
|
},
|
|
15895
15951
|
end: {
|
|
15896
|
-
line:
|
|
15952
|
+
line: 60,
|
|
15897
15953
|
column: 3
|
|
15898
15954
|
}
|
|
15899
15955
|
},
|
|
15900
15956
|
"10": {
|
|
15901
15957
|
start: {
|
|
15902
|
-
line:
|
|
15958
|
+
line: 39,
|
|
15903
15959
|
column: 4
|
|
15904
15960
|
},
|
|
15905
15961
|
end: {
|
|
15906
|
-
line:
|
|
15962
|
+
line: 59,
|
|
15907
15963
|
column: 5
|
|
15908
15964
|
}
|
|
15909
15965
|
},
|
|
15910
15966
|
"11": {
|
|
15911
15967
|
start: {
|
|
15912
|
-
line:
|
|
15968
|
+
line: 40,
|
|
15913
15969
|
column: 6
|
|
15914
15970
|
},
|
|
15915
15971
|
end: {
|
|
15916
|
-
line:
|
|
15972
|
+
line: 40,
|
|
15917
15973
|
column: 27
|
|
15918
15974
|
}
|
|
15919
15975
|
},
|
|
15920
15976
|
"12": {
|
|
15921
15977
|
start: {
|
|
15922
|
-
line:
|
|
15978
|
+
line: 41,
|
|
15923
15979
|
column: 23
|
|
15924
15980
|
},
|
|
15925
15981
|
end: {
|
|
15926
|
-
line:
|
|
15982
|
+
line: 44,
|
|
15927
15983
|
column: 7
|
|
15928
15984
|
}
|
|
15929
15985
|
},
|
|
15930
15986
|
"13": {
|
|
15931
15987
|
start: {
|
|
15932
|
-
line:
|
|
15988
|
+
line: 46,
|
|
15933
15989
|
column: 19
|
|
15934
15990
|
},
|
|
15935
15991
|
end: {
|
|
15936
|
-
line:
|
|
15992
|
+
line: 48,
|
|
15937
15993
|
column: 8
|
|
15938
15994
|
}
|
|
15939
15995
|
},
|
|
15940
15996
|
"14": {
|
|
15941
15997
|
start: {
|
|
15942
|
-
line:
|
|
15998
|
+
line: 50,
|
|
15943
15999
|
column: 21
|
|
15944
16000
|
},
|
|
15945
16001
|
end: {
|
|
15946
|
-
line:
|
|
16002
|
+
line: 52,
|
|
15947
16003
|
column: 40
|
|
15948
16004
|
}
|
|
15949
16005
|
},
|
|
15950
16006
|
"15": {
|
|
15951
16007
|
start: {
|
|
15952
|
-
line:
|
|
16008
|
+
line: 54,
|
|
15953
16009
|
column: 6
|
|
15954
16010
|
},
|
|
15955
16011
|
end: {
|
|
15956
|
-
line:
|
|
15957
|
-
column:
|
|
16012
|
+
line: 54,
|
|
16013
|
+
column: 31
|
|
15958
16014
|
}
|
|
15959
16015
|
},
|
|
15960
16016
|
"16": {
|
|
15961
16017
|
start: {
|
|
15962
|
-
line:
|
|
16018
|
+
line: 56,
|
|
15963
16019
|
column: 6
|
|
15964
16020
|
},
|
|
15965
16021
|
end: {
|
|
15966
|
-
line:
|
|
16022
|
+
line: 56,
|
|
15967
16023
|
column: 26
|
|
15968
16024
|
}
|
|
15969
16025
|
},
|
|
15970
16026
|
"17": {
|
|
15971
16027
|
start: {
|
|
15972
|
-
line:
|
|
16028
|
+
line: 58,
|
|
15973
16029
|
column: 6
|
|
15974
16030
|
},
|
|
15975
16031
|
end: {
|
|
15976
|
-
line:
|
|
16032
|
+
line: 58,
|
|
15977
16033
|
column: 28
|
|
15978
16034
|
}
|
|
15979
16035
|
},
|
|
15980
16036
|
"18": {
|
|
15981
16037
|
start: {
|
|
15982
|
-
line:
|
|
16038
|
+
line: 62,
|
|
15983
16039
|
column: 18
|
|
15984
16040
|
},
|
|
15985
16041
|
end: {
|
|
15986
|
-
line:
|
|
16042
|
+
line: 62,
|
|
15987
16043
|
column: 38
|
|
15988
16044
|
}
|
|
15989
16045
|
},
|
|
15990
16046
|
"19": {
|
|
15991
16047
|
start: {
|
|
15992
|
-
line:
|
|
16048
|
+
line: 62,
|
|
15993
16049
|
column: 24
|
|
15994
16050
|
},
|
|
15995
16051
|
end: {
|
|
15996
|
-
line:
|
|
16052
|
+
line: 62,
|
|
15997
16053
|
column: 38
|
|
15998
16054
|
}
|
|
15999
16055
|
},
|
|
16000
16056
|
"20": {
|
|
16001
16057
|
start: {
|
|
16002
|
-
line:
|
|
16058
|
+
line: 64,
|
|
16003
16059
|
column: 16
|
|
16004
16060
|
},
|
|
16005
16061
|
end: {
|
|
16006
|
-
line:
|
|
16062
|
+
line: 64,
|
|
16007
16063
|
column: 32
|
|
16008
16064
|
}
|
|
16009
16065
|
},
|
|
16010
16066
|
"21": {
|
|
16011
16067
|
start: {
|
|
16012
|
-
line:
|
|
16068
|
+
line: 66,
|
|
16013
16069
|
column: 34
|
|
16014
16070
|
},
|
|
16015
16071
|
end: {
|
|
16016
|
-
line:
|
|
16072
|
+
line: 75,
|
|
16017
16073
|
column: 3
|
|
16018
16074
|
}
|
|
16019
16075
|
},
|
|
16020
16076
|
"22": {
|
|
16021
16077
|
start: {
|
|
16022
|
-
line:
|
|
16078
|
+
line: 77,
|
|
16023
16079
|
column: 19
|
|
16024
16080
|
},
|
|
16025
16081
|
end: {
|
|
16026
|
-
line:
|
|
16082
|
+
line: 84,
|
|
16027
16083
|
column: 9
|
|
16028
16084
|
}
|
|
16029
16085
|
},
|
|
16030
16086
|
"23": {
|
|
16031
16087
|
start: {
|
|
16032
|
-
line:
|
|
16088
|
+
line: 78,
|
|
16033
16089
|
column: 4
|
|
16034
16090
|
},
|
|
16035
16091
|
end: {
|
|
16036
|
-
line:
|
|
16092
|
+
line: 78,
|
|
16037
16093
|
column: 39
|
|
16038
16094
|
}
|
|
16039
16095
|
},
|
|
16040
16096
|
"24": {
|
|
16041
16097
|
start: {
|
|
16042
|
-
line:
|
|
16098
|
+
line: 78,
|
|
16043
16099
|
column: 32
|
|
16044
16100
|
},
|
|
16045
16101
|
end: {
|
|
16046
|
-
line:
|
|
16102
|
+
line: 78,
|
|
16047
16103
|
column: 39
|
|
16048
16104
|
}
|
|
16049
16105
|
},
|
|
16050
16106
|
"25": {
|
|
16051
16107
|
start: {
|
|
16052
|
-
line:
|
|
16108
|
+
line: 80,
|
|
16053
16109
|
column: 4
|
|
16054
16110
|
},
|
|
16055
16111
|
end: {
|
|
16056
|
-
line:
|
|
16112
|
+
line: 83,
|
|
16057
16113
|
column: 5
|
|
16058
16114
|
}
|
|
16059
16115
|
},
|
|
16060
16116
|
"26": {
|
|
16061
16117
|
start: {
|
|
16062
|
-
line:
|
|
16118
|
+
line: 81,
|
|
16063
16119
|
column: 6
|
|
16064
16120
|
},
|
|
16065
16121
|
end: {
|
|
16066
|
-
line:
|
|
16122
|
+
line: 81,
|
|
16067
16123
|
column: 22
|
|
16068
16124
|
}
|
|
16069
16125
|
},
|
|
16070
16126
|
"27": {
|
|
16071
16127
|
start: {
|
|
16072
|
-
line:
|
|
16128
|
+
line: 82,
|
|
16073
16129
|
column: 6
|
|
16074
16130
|
},
|
|
16075
16131
|
end: {
|
|
16076
|
-
line:
|
|
16132
|
+
line: 82,
|
|
16077
16133
|
column: 16
|
|
16078
16134
|
}
|
|
16079
16135
|
},
|
|
16080
16136
|
"28": {
|
|
16081
16137
|
start: {
|
|
16082
|
-
line:
|
|
16138
|
+
line: 86,
|
|
16083
16139
|
column: 2
|
|
16084
16140
|
},
|
|
16085
16141
|
end: {
|
|
16086
|
-
line:
|
|
16142
|
+
line: 90,
|
|
16087
16143
|
column: 23
|
|
16088
16144
|
}
|
|
16089
16145
|
},
|
|
16090
16146
|
"29": {
|
|
16091
16147
|
start: {
|
|
16092
|
-
line:
|
|
16148
|
+
line: 87,
|
|
16093
16149
|
column: 4
|
|
16094
16150
|
},
|
|
16095
16151
|
end: {
|
|
16096
|
-
line:
|
|
16152
|
+
line: 87,
|
|
16097
16153
|
column: 17
|
|
16098
16154
|
}
|
|
16099
16155
|
},
|
|
16100
16156
|
"30": {
|
|
16101
16157
|
start: {
|
|
16102
|
-
line:
|
|
16158
|
+
line: 88,
|
|
16103
16159
|
column: 4
|
|
16104
16160
|
},
|
|
16105
16161
|
end: {
|
|
16106
|
-
line:
|
|
16162
|
+
line: 88,
|
|
16107
16163
|
column: 18
|
|
16108
16164
|
}
|
|
16109
16165
|
},
|
|
16110
16166
|
"31": {
|
|
16111
16167
|
start: {
|
|
16112
|
-
line:
|
|
16168
|
+
line: 89,
|
|
16113
16169
|
column: 4
|
|
16114
16170
|
},
|
|
16115
16171
|
end: {
|
|
16116
|
-
line:
|
|
16172
|
+
line: 89,
|
|
16117
16173
|
column: 14
|
|
16118
16174
|
}
|
|
16119
16175
|
},
|
|
16120
16176
|
"32": {
|
|
16121
16177
|
start: {
|
|
16122
|
-
line:
|
|
16178
|
+
line: 92,
|
|
16123
16179
|
column: 2
|
|
16124
16180
|
},
|
|
16125
16181
|
end: {
|
|
16126
|
-
line:
|
|
16182
|
+
line: 98,
|
|
16127
16183
|
column: 3
|
|
16128
16184
|
}
|
|
16129
16185
|
},
|
|
16130
16186
|
"33": {
|
|
16131
16187
|
start: {
|
|
16132
|
-
line:
|
|
16188
|
+
line: 93,
|
|
16133
16189
|
column: 4
|
|
16134
16190
|
},
|
|
16135
16191
|
end: {
|
|
16136
|
-
line:
|
|
16192
|
+
line: 97,
|
|
16137
16193
|
column: 6
|
|
16138
16194
|
}
|
|
16139
16195
|
},
|
|
16140
16196
|
"34": {
|
|
16141
16197
|
start: {
|
|
16142
|
-
line:
|
|
16198
|
+
line: 100,
|
|
16143
16199
|
column: 2
|
|
16144
16200
|
},
|
|
16145
16201
|
end: {
|
|
16146
|
-
line:
|
|
16202
|
+
line: 108,
|
|
16147
16203
|
column: 4
|
|
16148
16204
|
}
|
|
16149
16205
|
}
|
|
@@ -16153,257 +16209,257 @@ function cov_28odpwq50i() {
|
|
|
16153
16209
|
name: "(anonymous_0)",
|
|
16154
16210
|
decl: {
|
|
16155
16211
|
start: {
|
|
16156
|
-
line:
|
|
16212
|
+
line: 21,
|
|
16157
16213
|
column: 24
|
|
16158
16214
|
},
|
|
16159
16215
|
end: {
|
|
16160
|
-
line:
|
|
16216
|
+
line: 21,
|
|
16161
16217
|
column: 25
|
|
16162
16218
|
}
|
|
16163
16219
|
},
|
|
16164
16220
|
loc: {
|
|
16165
16221
|
start: {
|
|
16166
|
-
line:
|
|
16167
|
-
column:
|
|
16222
|
+
line: 25,
|
|
16223
|
+
column: 6
|
|
16168
16224
|
},
|
|
16169
16225
|
end: {
|
|
16170
|
-
line:
|
|
16226
|
+
line: 109,
|
|
16171
16227
|
column: 1
|
|
16172
16228
|
}
|
|
16173
16229
|
},
|
|
16174
|
-
line:
|
|
16230
|
+
line: 25
|
|
16175
16231
|
},
|
|
16176
16232
|
"1": {
|
|
16177
16233
|
name: "(anonymous_1)",
|
|
16178
16234
|
decl: {
|
|
16179
16235
|
start: {
|
|
16180
|
-
line:
|
|
16236
|
+
line: 31,
|
|
16181
16237
|
column: 20
|
|
16182
16238
|
},
|
|
16183
16239
|
end: {
|
|
16184
|
-
line:
|
|
16240
|
+
line: 31,
|
|
16185
16241
|
column: 21
|
|
16186
16242
|
}
|
|
16187
16243
|
},
|
|
16188
16244
|
loc: {
|
|
16189
16245
|
start: {
|
|
16190
|
-
line:
|
|
16246
|
+
line: 31,
|
|
16191
16247
|
column: 54
|
|
16192
16248
|
},
|
|
16193
16249
|
end: {
|
|
16194
|
-
line:
|
|
16250
|
+
line: 36,
|
|
16195
16251
|
column: 3
|
|
16196
16252
|
}
|
|
16197
16253
|
},
|
|
16198
|
-
line:
|
|
16254
|
+
line: 31
|
|
16199
16255
|
},
|
|
16200
16256
|
"2": {
|
|
16201
16257
|
name: "(anonymous_2)",
|
|
16202
16258
|
decl: {
|
|
16203
16259
|
start: {
|
|
16204
|
-
line:
|
|
16260
|
+
line: 38,
|
|
16205
16261
|
column: 36
|
|
16206
16262
|
},
|
|
16207
16263
|
end: {
|
|
16208
|
-
line:
|
|
16264
|
+
line: 38,
|
|
16209
16265
|
column: 37
|
|
16210
16266
|
}
|
|
16211
16267
|
},
|
|
16212
16268
|
loc: {
|
|
16213
16269
|
start: {
|
|
16214
|
-
line:
|
|
16270
|
+
line: 38,
|
|
16215
16271
|
column: 51
|
|
16216
16272
|
},
|
|
16217
16273
|
end: {
|
|
16218
|
-
line:
|
|
16274
|
+
line: 60,
|
|
16219
16275
|
column: 3
|
|
16220
16276
|
}
|
|
16221
16277
|
},
|
|
16222
|
-
line:
|
|
16278
|
+
line: 38
|
|
16223
16279
|
},
|
|
16224
16280
|
"3": {
|
|
16225
16281
|
name: "(anonymous_3)",
|
|
16226
16282
|
decl: {
|
|
16227
16283
|
start: {
|
|
16228
|
-
line:
|
|
16284
|
+
line: 62,
|
|
16229
16285
|
column: 18
|
|
16230
16286
|
},
|
|
16231
16287
|
end: {
|
|
16232
|
-
line:
|
|
16288
|
+
line: 62,
|
|
16233
16289
|
column: 19
|
|
16234
16290
|
}
|
|
16235
16291
|
},
|
|
16236
16292
|
loc: {
|
|
16237
16293
|
start: {
|
|
16238
|
-
line:
|
|
16294
|
+
line: 62,
|
|
16239
16295
|
column: 24
|
|
16240
16296
|
},
|
|
16241
16297
|
end: {
|
|
16242
|
-
line:
|
|
16298
|
+
line: 62,
|
|
16243
16299
|
column: 38
|
|
16244
16300
|
}
|
|
16245
16301
|
},
|
|
16246
|
-
line:
|
|
16302
|
+
line: 62
|
|
16247
16303
|
},
|
|
16248
16304
|
"4": {
|
|
16249
16305
|
name: "(anonymous_4)",
|
|
16250
16306
|
decl: {
|
|
16251
16307
|
start: {
|
|
16252
|
-
line:
|
|
16308
|
+
line: 77,
|
|
16253
16309
|
column: 35
|
|
16254
16310
|
},
|
|
16255
16311
|
end: {
|
|
16256
|
-
line:
|
|
16312
|
+
line: 77,
|
|
16257
16313
|
column: 36
|
|
16258
16314
|
}
|
|
16259
16315
|
},
|
|
16260
16316
|
loc: {
|
|
16261
16317
|
start: {
|
|
16262
|
-
line:
|
|
16318
|
+
line: 77,
|
|
16263
16319
|
column: 41
|
|
16264
16320
|
},
|
|
16265
16321
|
end: {
|
|
16266
|
-
line:
|
|
16322
|
+
line: 84,
|
|
16267
16323
|
column: 3
|
|
16268
16324
|
}
|
|
16269
16325
|
},
|
|
16270
|
-
line:
|
|
16326
|
+
line: 77
|
|
16271
16327
|
},
|
|
16272
16328
|
"5": {
|
|
16273
16329
|
name: "(anonymous_5)",
|
|
16274
16330
|
decl: {
|
|
16275
16331
|
start: {
|
|
16276
|
-
line:
|
|
16332
|
+
line: 86,
|
|
16277
16333
|
column: 12
|
|
16278
16334
|
},
|
|
16279
16335
|
end: {
|
|
16280
|
-
line:
|
|
16336
|
+
line: 86,
|
|
16281
16337
|
column: 13
|
|
16282
16338
|
}
|
|
16283
16339
|
},
|
|
16284
16340
|
loc: {
|
|
16285
16341
|
start: {
|
|
16286
|
-
line:
|
|
16342
|
+
line: 86,
|
|
16287
16343
|
column: 18
|
|
16288
16344
|
},
|
|
16289
16345
|
end: {
|
|
16290
|
-
line:
|
|
16346
|
+
line: 90,
|
|
16291
16347
|
column: 3
|
|
16292
16348
|
}
|
|
16293
16349
|
},
|
|
16294
|
-
line:
|
|
16350
|
+
line: 86
|
|
16295
16351
|
}
|
|
16296
16352
|
},
|
|
16297
16353
|
branchMap: {
|
|
16298
16354
|
"0": {
|
|
16299
16355
|
loc: {
|
|
16300
16356
|
start: {
|
|
16301
|
-
line:
|
|
16357
|
+
line: 31,
|
|
16302
16358
|
column: 23
|
|
16303
16359
|
},
|
|
16304
16360
|
end: {
|
|
16305
|
-
line:
|
|
16361
|
+
line: 31,
|
|
16306
16362
|
column: 35
|
|
16307
16363
|
}
|
|
16308
16364
|
},
|
|
16309
16365
|
type: "default-arg",
|
|
16310
16366
|
locations: [{
|
|
16311
16367
|
start: {
|
|
16312
|
-
line:
|
|
16368
|
+
line: 31,
|
|
16313
16369
|
column: 33
|
|
16314
16370
|
},
|
|
16315
16371
|
end: {
|
|
16316
|
-
line:
|
|
16372
|
+
line: 31,
|
|
16317
16373
|
column: 35
|
|
16318
16374
|
}
|
|
16319
16375
|
}],
|
|
16320
|
-
line:
|
|
16376
|
+
line: 31
|
|
16321
16377
|
},
|
|
16322
16378
|
"1": {
|
|
16323
16379
|
loc: {
|
|
16324
16380
|
start: {
|
|
16325
|
-
line:
|
|
16381
|
+
line: 32,
|
|
16326
16382
|
column: 4
|
|
16327
16383
|
},
|
|
16328
16384
|
end: {
|
|
16329
|
-
line:
|
|
16385
|
+
line: 32,
|
|
16330
16386
|
column: 75
|
|
16331
16387
|
}
|
|
16332
16388
|
},
|
|
16333
16389
|
type: "cond-expr",
|
|
16334
16390
|
locations: [{
|
|
16335
16391
|
start: {
|
|
16336
|
-
line:
|
|
16392
|
+
line: 32,
|
|
16337
16393
|
column: 24
|
|
16338
16394
|
},
|
|
16339
16395
|
end: {
|
|
16340
|
-
line:
|
|
16396
|
+
line: 32,
|
|
16341
16397
|
column: 42
|
|
16342
16398
|
}
|
|
16343
16399
|
}, {
|
|
16344
16400
|
start: {
|
|
16345
|
-
line:
|
|
16401
|
+
line: 32,
|
|
16346
16402
|
column: 45
|
|
16347
16403
|
},
|
|
16348
16404
|
end: {
|
|
16349
|
-
line:
|
|
16405
|
+
line: 32,
|
|
16350
16406
|
column: 75
|
|
16351
16407
|
}
|
|
16352
16408
|
}],
|
|
16353
|
-
line:
|
|
16409
|
+
line: 32
|
|
16354
16410
|
},
|
|
16355
16411
|
"2": {
|
|
16356
16412
|
loc: {
|
|
16357
16413
|
start: {
|
|
16358
|
-
line:
|
|
16414
|
+
line: 50,
|
|
16359
16415
|
column: 21
|
|
16360
16416
|
},
|
|
16361
16417
|
end: {
|
|
16362
|
-
line:
|
|
16418
|
+
line: 52,
|
|
16363
16419
|
column: 40
|
|
16364
16420
|
}
|
|
16365
16421
|
},
|
|
16366
16422
|
type: "cond-expr",
|
|
16367
16423
|
locations: [{
|
|
16368
16424
|
start: {
|
|
16369
|
-
line:
|
|
16425
|
+
line: 51,
|
|
16370
16426
|
column: 10
|
|
16371
16427
|
},
|
|
16372
16428
|
end: {
|
|
16373
|
-
line:
|
|
16429
|
+
line: 51,
|
|
16374
16430
|
column: 44
|
|
16375
16431
|
}
|
|
16376
16432
|
}, {
|
|
16377
16433
|
start: {
|
|
16378
|
-
line:
|
|
16434
|
+
line: 52,
|
|
16379
16435
|
column: 10
|
|
16380
16436
|
},
|
|
16381
16437
|
end: {
|
|
16382
|
-
line:
|
|
16438
|
+
line: 52,
|
|
16383
16439
|
column: 40
|
|
16384
16440
|
}
|
|
16385
16441
|
}],
|
|
16386
|
-
line:
|
|
16442
|
+
line: 50
|
|
16387
16443
|
},
|
|
16388
16444
|
"3": {
|
|
16389
16445
|
loc: {
|
|
16390
16446
|
start: {
|
|
16391
|
-
line:
|
|
16447
|
+
line: 78,
|
|
16392
16448
|
column: 4
|
|
16393
16449
|
},
|
|
16394
16450
|
end: {
|
|
16395
|
-
line:
|
|
16451
|
+
line: 78,
|
|
16396
16452
|
column: 39
|
|
16397
16453
|
}
|
|
16398
16454
|
},
|
|
16399
16455
|
type: "if",
|
|
16400
16456
|
locations: [{
|
|
16401
16457
|
start: {
|
|
16402
|
-
line:
|
|
16458
|
+
line: 78,
|
|
16403
16459
|
column: 4
|
|
16404
16460
|
},
|
|
16405
16461
|
end: {
|
|
16406
|
-
line:
|
|
16462
|
+
line: 78,
|
|
16407
16463
|
column: 39
|
|
16408
16464
|
}
|
|
16409
16465
|
}, {
|
|
@@ -16416,60 +16472,60 @@ function cov_28odpwq50i() {
|
|
|
16416
16472
|
column: undefined
|
|
16417
16473
|
}
|
|
16418
16474
|
}],
|
|
16419
|
-
line:
|
|
16475
|
+
line: 78
|
|
16420
16476
|
},
|
|
16421
16477
|
"4": {
|
|
16422
16478
|
loc: {
|
|
16423
16479
|
start: {
|
|
16424
|
-
line:
|
|
16480
|
+
line: 78,
|
|
16425
16481
|
column: 8
|
|
16426
16482
|
},
|
|
16427
16483
|
end: {
|
|
16428
|
-
line:
|
|
16484
|
+
line: 78,
|
|
16429
16485
|
column: 30
|
|
16430
16486
|
}
|
|
16431
16487
|
},
|
|
16432
16488
|
type: "binary-expr",
|
|
16433
16489
|
locations: [{
|
|
16434
16490
|
start: {
|
|
16435
|
-
line:
|
|
16491
|
+
line: 78,
|
|
16436
16492
|
column: 8
|
|
16437
16493
|
},
|
|
16438
16494
|
end: {
|
|
16439
|
-
line:
|
|
16495
|
+
line: 78,
|
|
16440
16496
|
column: 18
|
|
16441
16497
|
}
|
|
16442
16498
|
}, {
|
|
16443
16499
|
start: {
|
|
16444
|
-
line:
|
|
16500
|
+
line: 78,
|
|
16445
16501
|
column: 22
|
|
16446
16502
|
},
|
|
16447
16503
|
end: {
|
|
16448
|
-
line:
|
|
16504
|
+
line: 78,
|
|
16449
16505
|
column: 30
|
|
16450
16506
|
}
|
|
16451
16507
|
}],
|
|
16452
|
-
line:
|
|
16508
|
+
line: 78
|
|
16453
16509
|
},
|
|
16454
16510
|
"5": {
|
|
16455
16511
|
loc: {
|
|
16456
16512
|
start: {
|
|
16457
|
-
line:
|
|
16513
|
+
line: 80,
|
|
16458
16514
|
column: 4
|
|
16459
16515
|
},
|
|
16460
16516
|
end: {
|
|
16461
|
-
line:
|
|
16517
|
+
line: 83,
|
|
16462
16518
|
column: 5
|
|
16463
16519
|
}
|
|
16464
16520
|
},
|
|
16465
16521
|
type: "if",
|
|
16466
16522
|
locations: [{
|
|
16467
16523
|
start: {
|
|
16468
|
-
line:
|
|
16524
|
+
line: 80,
|
|
16469
16525
|
column: 4
|
|
16470
16526
|
},
|
|
16471
16527
|
end: {
|
|
16472
|
-
line:
|
|
16528
|
+
line: 83,
|
|
16473
16529
|
column: 5
|
|
16474
16530
|
}
|
|
16475
16531
|
}, {
|
|
@@ -16482,27 +16538,27 @@ function cov_28odpwq50i() {
|
|
|
16482
16538
|
column: undefined
|
|
16483
16539
|
}
|
|
16484
16540
|
}],
|
|
16485
|
-
line:
|
|
16541
|
+
line: 80
|
|
16486
16542
|
},
|
|
16487
16543
|
"6": {
|
|
16488
16544
|
loc: {
|
|
16489
16545
|
start: {
|
|
16490
|
-
line:
|
|
16546
|
+
line: 92,
|
|
16491
16547
|
column: 2
|
|
16492
16548
|
},
|
|
16493
16549
|
end: {
|
|
16494
|
-
line:
|
|
16550
|
+
line: 98,
|
|
16495
16551
|
column: 3
|
|
16496
16552
|
}
|
|
16497
16553
|
},
|
|
16498
16554
|
type: "if",
|
|
16499
16555
|
locations: [{
|
|
16500
16556
|
start: {
|
|
16501
|
-
line:
|
|
16557
|
+
line: 92,
|
|
16502
16558
|
column: 2
|
|
16503
16559
|
},
|
|
16504
16560
|
end: {
|
|
16505
|
-
line:
|
|
16561
|
+
line: 98,
|
|
16506
16562
|
column: 3
|
|
16507
16563
|
}
|
|
16508
16564
|
}, {
|
|
@@ -16515,7 +16571,7 @@ function cov_28odpwq50i() {
|
|
|
16515
16571
|
column: undefined
|
|
16516
16572
|
}
|
|
16517
16573
|
}],
|
|
16518
|
-
line:
|
|
16574
|
+
line: 92
|
|
16519
16575
|
}
|
|
16520
16576
|
},
|
|
16521
16577
|
s: {
|
|
@@ -16573,7 +16629,7 @@ function cov_28odpwq50i() {
|
|
|
16573
16629
|
"6": [0, 0]
|
|
16574
16630
|
},
|
|
16575
16631
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
16576
|
-
hash: "
|
|
16632
|
+
hash: "e056be1757669955145c1d0219959ffac38ce998"
|
|
16577
16633
|
};
|
|
16578
16634
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
16579
16635
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -16592,7 +16648,7 @@ cov_28odpwq50i();
|
|
|
16592
16648
|
cov_28odpwq50i().s[0]++;
|
|
16593
16649
|
var UnsplashLibrary = function UnsplashLibrary(_ref) {
|
|
16594
16650
|
var debouncedQuery = _ref.debouncedQuery,
|
|
16595
|
-
|
|
16651
|
+
setSelectedImage = _ref.setSelectedImage,
|
|
16596
16652
|
setIsUploading = _ref.setIsUploading;
|
|
16597
16653
|
cov_28odpwq50i().f[0]++;
|
|
16598
16654
|
var _ref2 = (cov_28odpwq50i().s[1]++, React.useState(true)),
|
|
@@ -16665,7 +16721,7 @@ var UnsplashLibrary = function UnsplashLibrary(_ref) {
|
|
|
16665
16721
|
case 22:
|
|
16666
16722
|
result = _context.t0;
|
|
16667
16723
|
cov_28odpwq50i().s[15]++;
|
|
16668
|
-
|
|
16724
|
+
setSelectedImage(result);
|
|
16669
16725
|
_context.next = 31;
|
|
16670
16726
|
break;
|
|
16671
16727
|
case 27:
|
|
@@ -16759,7 +16815,7 @@ var UnsplashLibrary = function UnsplashLibrary(_ref) {
|
|
|
16759
16815
|
|
|
16760
16816
|
function cov_zqbvekg8p() {
|
|
16761
16817
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageLibrary/index.jsx";
|
|
16762
|
-
var hash = "
|
|
16818
|
+
var hash = "370d6ac3f98e926f9b8f68980aa94664d3ea239d";
|
|
16763
16819
|
var global = new Function("return this")();
|
|
16764
16820
|
var gcv = "__coverage__";
|
|
16765
16821
|
var coverageData = {
|
|
@@ -16771,7 +16827,7 @@ function cov_zqbvekg8p() {
|
|
|
16771
16827
|
column: 21
|
|
16772
16828
|
},
|
|
16773
16829
|
end: {
|
|
16774
|
-
line:
|
|
16830
|
+
line: 48,
|
|
16775
16831
|
column: 1
|
|
16776
16832
|
}
|
|
16777
16833
|
},
|
|
@@ -16831,7 +16887,7 @@ function cov_zqbvekg8p() {
|
|
|
16831
16887
|
column: 2
|
|
16832
16888
|
},
|
|
16833
16889
|
end: {
|
|
16834
|
-
line:
|
|
16890
|
+
line: 47,
|
|
16835
16891
|
column: 4
|
|
16836
16892
|
}
|
|
16837
16893
|
},
|
|
@@ -16862,10 +16918,10 @@ function cov_zqbvekg8p() {
|
|
|
16862
16918
|
loc: {
|
|
16863
16919
|
start: {
|
|
16864
16920
|
line: 12,
|
|
16865
|
-
column:
|
|
16921
|
+
column: 68
|
|
16866
16922
|
},
|
|
16867
16923
|
end: {
|
|
16868
|
-
line:
|
|
16924
|
+
line: 48,
|
|
16869
16925
|
column: 1
|
|
16870
16926
|
}
|
|
16871
16927
|
},
|
|
@@ -16928,7 +16984,7 @@ function cov_zqbvekg8p() {
|
|
|
16928
16984
|
column: 7
|
|
16929
16985
|
},
|
|
16930
16986
|
end: {
|
|
16931
|
-
line:
|
|
16987
|
+
line: 45,
|
|
16932
16988
|
column: 7
|
|
16933
16989
|
}
|
|
16934
16990
|
},
|
|
@@ -16939,16 +16995,16 @@ function cov_zqbvekg8p() {
|
|
|
16939
16995
|
column: 8
|
|
16940
16996
|
},
|
|
16941
16997
|
end: {
|
|
16942
|
-
line:
|
|
16943
|
-
column:
|
|
16998
|
+
line: 38,
|
|
16999
|
+
column: 10
|
|
16944
17000
|
}
|
|
16945
17001
|
}, {
|
|
16946
17002
|
start: {
|
|
16947
|
-
line:
|
|
17003
|
+
line: 40,
|
|
16948
17004
|
column: 8
|
|
16949
17005
|
},
|
|
16950
17006
|
end: {
|
|
16951
|
-
line:
|
|
17007
|
+
line: 44,
|
|
16952
17008
|
column: 10
|
|
16953
17009
|
}
|
|
16954
17010
|
}],
|
|
@@ -16974,7 +17030,7 @@ function cov_zqbvekg8p() {
|
|
|
16974
17030
|
"0": [0, 0]
|
|
16975
17031
|
},
|
|
16976
17032
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
16977
|
-
hash: "
|
|
17033
|
+
hash: "370d6ac3f98e926f9b8f68980aa94664d3ea239d"
|
|
16978
17034
|
};
|
|
16979
17035
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
16980
17036
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -16992,7 +17048,7 @@ function cov_zqbvekg8p() {
|
|
|
16992
17048
|
cov_zqbvekg8p();
|
|
16993
17049
|
cov_zqbvekg8p().s[0]++;
|
|
16994
17050
|
var ImageLibrary = function ImageLibrary(_ref) {
|
|
16995
|
-
var
|
|
17051
|
+
var setSelectedImage = _ref.setSelectedImage,
|
|
16996
17052
|
tab = _ref.tab,
|
|
16997
17053
|
setIsUploading = _ref.setIsUploading;
|
|
16998
17054
|
cov_zqbvekg8p().f[0]++;
|
|
@@ -17027,17 +17083,17 @@ var ImageLibrary = function ImageLibrary(_ref) {
|
|
|
17027
17083
|
}
|
|
17028
17084
|
}), tab === TABS[0].key ? (cov_zqbvekg8p().b[0][0]++, /*#__PURE__*/React__default["default"].createElement(Assets, {
|
|
17029
17085
|
debouncedQuery: debouncedQuery,
|
|
17030
|
-
|
|
17086
|
+
setSelectedImage: setSelectedImage
|
|
17031
17087
|
})) : (cov_zqbvekg8p().b[0][1]++, /*#__PURE__*/React__default["default"].createElement(UnsplashLibrary, {
|
|
17032
17088
|
debouncedQuery: debouncedQuery,
|
|
17033
|
-
|
|
17034
|
-
|
|
17089
|
+
setIsUploading: setIsUploading,
|
|
17090
|
+
setSelectedImage: setSelectedImage
|
|
17035
17091
|
})));
|
|
17036
17092
|
};
|
|
17037
17093
|
|
|
17038
17094
|
function cov_2my1w2udyi() {
|
|
17039
17095
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/Modal/index.jsx";
|
|
17040
|
-
var hash = "
|
|
17096
|
+
var hash = "ed194744e65faee4db8cb2231a84321ffef530ba";
|
|
17041
17097
|
var global = new Function("return this")();
|
|
17042
17098
|
var gcv = "__coverage__";
|
|
17043
17099
|
var coverageData = {
|
|
@@ -17049,7 +17105,7 @@ function cov_2my1w2udyi() {
|
|
|
17049
17105
|
column: 14
|
|
17050
17106
|
},
|
|
17051
17107
|
end: {
|
|
17052
|
-
line:
|
|
17108
|
+
line: 158,
|
|
17053
17109
|
column: 1
|
|
17054
17110
|
}
|
|
17055
17111
|
},
|
|
@@ -17066,11 +17122,11 @@ function cov_2my1w2udyi() {
|
|
|
17066
17122
|
"2": {
|
|
17067
17123
|
start: {
|
|
17068
17124
|
line: 27,
|
|
17069
|
-
column:
|
|
17125
|
+
column: 44
|
|
17070
17126
|
},
|
|
17071
17127
|
end: {
|
|
17072
17128
|
line: 27,
|
|
17073
|
-
column:
|
|
17129
|
+
column: 56
|
|
17074
17130
|
}
|
|
17075
17131
|
},
|
|
17076
17132
|
"3": {
|
|
@@ -17106,260 +17162,220 @@ function cov_2my1w2udyi() {
|
|
|
17106
17162
|
"6": {
|
|
17107
17163
|
start: {
|
|
17108
17164
|
line: 34,
|
|
17109
|
-
column:
|
|
17165
|
+
column: 27
|
|
17110
17166
|
},
|
|
17111
17167
|
end: {
|
|
17112
|
-
line:
|
|
17113
|
-
column:
|
|
17168
|
+
line: 37,
|
|
17169
|
+
column: 3
|
|
17114
17170
|
}
|
|
17115
17171
|
},
|
|
17116
17172
|
"7": {
|
|
17117
17173
|
start: {
|
|
17118
|
-
line:
|
|
17119
|
-
column:
|
|
17174
|
+
line: 35,
|
|
17175
|
+
column: 4
|
|
17120
17176
|
},
|
|
17121
17177
|
end: {
|
|
17122
|
-
line:
|
|
17123
|
-
column:
|
|
17178
|
+
line: 35,
|
|
17179
|
+
column: 14
|
|
17124
17180
|
}
|
|
17125
17181
|
},
|
|
17126
17182
|
"8": {
|
|
17127
17183
|
start: {
|
|
17128
17184
|
line: 36,
|
|
17129
|
-
column:
|
|
17185
|
+
column: 4
|
|
17130
17186
|
},
|
|
17131
17187
|
end: {
|
|
17132
|
-
line:
|
|
17133
|
-
column:
|
|
17188
|
+
line: 36,
|
|
17189
|
+
column: 25
|
|
17134
17190
|
}
|
|
17135
17191
|
},
|
|
17136
17192
|
"9": {
|
|
17137
17193
|
start: {
|
|
17138
|
-
line:
|
|
17139
|
-
column:
|
|
17194
|
+
line: 39,
|
|
17195
|
+
column: 34
|
|
17140
17196
|
},
|
|
17141
17197
|
end: {
|
|
17142
|
-
line:
|
|
17143
|
-
column:
|
|
17198
|
+
line: 66,
|
|
17199
|
+
column: 3
|
|
17144
17200
|
}
|
|
17145
17201
|
},
|
|
17146
17202
|
"10": {
|
|
17147
17203
|
start: {
|
|
17148
|
-
line:
|
|
17204
|
+
line: 40,
|
|
17149
17205
|
column: 4
|
|
17150
17206
|
},
|
|
17151
17207
|
end: {
|
|
17152
|
-
line:
|
|
17153
|
-
column:
|
|
17208
|
+
line: 64,
|
|
17209
|
+
column: 5
|
|
17154
17210
|
}
|
|
17155
17211
|
},
|
|
17156
17212
|
"11": {
|
|
17157
17213
|
start: {
|
|
17158
17214
|
line: 41,
|
|
17159
|
-
column:
|
|
17215
|
+
column: 6
|
|
17160
17216
|
},
|
|
17161
17217
|
end: {
|
|
17162
|
-
line:
|
|
17163
|
-
column:
|
|
17218
|
+
line: 44,
|
|
17219
|
+
column: 9
|
|
17164
17220
|
}
|
|
17165
17221
|
},
|
|
17166
17222
|
"12": {
|
|
17167
17223
|
start: {
|
|
17168
|
-
line:
|
|
17169
|
-
column:
|
|
17224
|
+
line: 46,
|
|
17225
|
+
column: 22
|
|
17170
17226
|
},
|
|
17171
17227
|
end: {
|
|
17172
|
-
line:
|
|
17173
|
-
column:
|
|
17228
|
+
line: 53,
|
|
17229
|
+
column: 7
|
|
17174
17230
|
}
|
|
17175
17231
|
},
|
|
17176
17232
|
"13": {
|
|
17177
17233
|
start: {
|
|
17178
|
-
line:
|
|
17234
|
+
line: 55,
|
|
17179
17235
|
column: 6
|
|
17180
17236
|
},
|
|
17181
17237
|
end: {
|
|
17182
|
-
line:
|
|
17183
|
-
column:
|
|
17238
|
+
line: 63,
|
|
17239
|
+
column: 9
|
|
17184
17240
|
}
|
|
17185
17241
|
},
|
|
17186
17242
|
"14": {
|
|
17187
17243
|
start: {
|
|
17188
|
-
line:
|
|
17189
|
-
column:
|
|
17244
|
+
line: 57,
|
|
17245
|
+
column: 10
|
|
17190
17246
|
},
|
|
17191
17247
|
end: {
|
|
17192
|
-
line:
|
|
17193
|
-
column:
|
|
17248
|
+
line: 60,
|
|
17249
|
+
column: 13
|
|
17194
17250
|
}
|
|
17195
17251
|
},
|
|
17196
17252
|
"15": {
|
|
17197
17253
|
start: {
|
|
17198
|
-
line:
|
|
17199
|
-
column:
|
|
17254
|
+
line: 65,
|
|
17255
|
+
column: 4
|
|
17200
17256
|
},
|
|
17201
17257
|
end: {
|
|
17202
|
-
line:
|
|
17203
|
-
column:
|
|
17258
|
+
line: 65,
|
|
17259
|
+
column: 23
|
|
17204
17260
|
}
|
|
17205
17261
|
},
|
|
17206
17262
|
"16": {
|
|
17207
17263
|
start: {
|
|
17208
|
-
line:
|
|
17209
|
-
column:
|
|
17264
|
+
line: 69,
|
|
17265
|
+
column: 4
|
|
17210
17266
|
},
|
|
17211
17267
|
end: {
|
|
17212
|
-
line:
|
|
17213
|
-
column:
|
|
17268
|
+
line: 74,
|
|
17269
|
+
column: 6
|
|
17214
17270
|
}
|
|
17215
17271
|
},
|
|
17216
17272
|
"17": {
|
|
17217
17273
|
start: {
|
|
17218
|
-
line:
|
|
17219
|
-
column:
|
|
17220
|
-
},
|
|
17274
|
+
line: 76,
|
|
17275
|
+
column: 31
|
|
17276
|
+
},
|
|
17221
17277
|
end: {
|
|
17222
|
-
line:
|
|
17223
|
-
column:
|
|
17278
|
+
line: 76,
|
|
17279
|
+
column: 62
|
|
17224
17280
|
}
|
|
17225
17281
|
},
|
|
17226
17282
|
"18": {
|
|
17227
17283
|
start: {
|
|
17228
|
-
line:
|
|
17229
|
-
column:
|
|
17284
|
+
line: 76,
|
|
17285
|
+
column: 37
|
|
17230
17286
|
},
|
|
17231
17287
|
end: {
|
|
17232
|
-
line:
|
|
17233
|
-
column:
|
|
17288
|
+
line: 76,
|
|
17289
|
+
column: 62
|
|
17234
17290
|
}
|
|
17235
17291
|
},
|
|
17236
17292
|
"19": {
|
|
17237
17293
|
start: {
|
|
17238
|
-
line:
|
|
17239
|
-
column: 4
|
|
17240
|
-
},
|
|
17241
|
-
end: {
|
|
17242
|
-
line: 63,
|
|
17243
|
-
column: 18
|
|
17244
|
-
}
|
|
17245
|
-
},
|
|
17246
|
-
"20": {
|
|
17247
|
-
start: {
|
|
17248
|
-
line: 67,
|
|
17249
|
-
column: 4
|
|
17250
|
-
},
|
|
17251
|
-
end: {
|
|
17252
|
-
line: 72,
|
|
17253
|
-
column: 6
|
|
17254
|
-
}
|
|
17255
|
-
},
|
|
17256
|
-
"21": {
|
|
17257
|
-
start: {
|
|
17258
|
-
line: 73,
|
|
17259
|
-
column: 25
|
|
17260
|
-
},
|
|
17261
|
-
end: {
|
|
17262
|
-
line: 73,
|
|
17263
|
-
column: 56
|
|
17264
|
-
}
|
|
17265
|
-
},
|
|
17266
|
-
"22": {
|
|
17267
|
-
start: {
|
|
17268
|
-
line: 73,
|
|
17269
|
-
column: 31
|
|
17270
|
-
},
|
|
17271
|
-
end: {
|
|
17272
|
-
line: 73,
|
|
17273
|
-
column: 56
|
|
17274
|
-
}
|
|
17275
|
-
},
|
|
17276
|
-
"23": {
|
|
17277
|
-
start: {
|
|
17278
|
-
line: 75,
|
|
17294
|
+
line: 77,
|
|
17279
17295
|
column: 18
|
|
17280
17296
|
},
|
|
17281
17297
|
end: {
|
|
17282
|
-
line:
|
|
17283
|
-
column:
|
|
17298
|
+
line: 79,
|
|
17299
|
+
column: 4
|
|
17284
17300
|
}
|
|
17285
17301
|
},
|
|
17286
|
-
"
|
|
17302
|
+
"20": {
|
|
17287
17303
|
start: {
|
|
17288
|
-
line:
|
|
17304
|
+
line: 81,
|
|
17289
17305
|
column: 2
|
|
17290
17306
|
},
|
|
17291
17307
|
end: {
|
|
17292
|
-
line:
|
|
17308
|
+
line: 83,
|
|
17293
17309
|
column: 15
|
|
17294
17310
|
}
|
|
17295
17311
|
},
|
|
17296
|
-
"
|
|
17312
|
+
"21": {
|
|
17297
17313
|
start: {
|
|
17298
|
-
line:
|
|
17314
|
+
line: 82,
|
|
17299
17315
|
column: 4
|
|
17300
17316
|
},
|
|
17301
17317
|
end: {
|
|
17302
|
-
line:
|
|
17318
|
+
line: 82,
|
|
17303
17319
|
column: 30
|
|
17304
17320
|
}
|
|
17305
17321
|
},
|
|
17306
|
-
"
|
|
17322
|
+
"22": {
|
|
17307
17323
|
start: {
|
|
17308
|
-
line:
|
|
17324
|
+
line: 85,
|
|
17309
17325
|
column: 2
|
|
17310
17326
|
},
|
|
17311
17327
|
end: {
|
|
17312
|
-
line:
|
|
17328
|
+
line: 157,
|
|
17313
17329
|
column: 4
|
|
17314
17330
|
}
|
|
17315
17331
|
},
|
|
17316
|
-
"
|
|
17332
|
+
"23": {
|
|
17317
17333
|
start: {
|
|
17318
|
-
line:
|
|
17334
|
+
line: 108,
|
|
17319
17335
|
column: 29
|
|
17320
17336
|
},
|
|
17321
17337
|
end: {
|
|
17322
|
-
line:
|
|
17323
|
-
column:
|
|
17338
|
+
line: 108,
|
|
17339
|
+
column: 49
|
|
17324
17340
|
}
|
|
17325
17341
|
},
|
|
17326
|
-
"
|
|
17342
|
+
"24": {
|
|
17327
17343
|
start: {
|
|
17328
|
-
line:
|
|
17344
|
+
line: 116,
|
|
17329
17345
|
column: 30
|
|
17330
17346
|
},
|
|
17331
17347
|
end: {
|
|
17332
|
-
line:
|
|
17348
|
+
line: 116,
|
|
17333
17349
|
column: 53
|
|
17334
17350
|
}
|
|
17335
17351
|
},
|
|
17336
|
-
"
|
|
17352
|
+
"25": {
|
|
17337
17353
|
start: {
|
|
17338
|
-
line:
|
|
17354
|
+
line: 126,
|
|
17339
17355
|
column: 18
|
|
17340
17356
|
},
|
|
17341
17357
|
end: {
|
|
17342
|
-
line:
|
|
17358
|
+
line: 132,
|
|
17343
17359
|
column: 29
|
|
17344
17360
|
}
|
|
17345
17361
|
},
|
|
17346
|
-
"
|
|
17362
|
+
"26": {
|
|
17347
17363
|
start: {
|
|
17348
|
-
line:
|
|
17349
|
-
column:
|
|
17364
|
+
line: 129,
|
|
17365
|
+
column: 35
|
|
17350
17366
|
},
|
|
17351
17367
|
end: {
|
|
17352
|
-
line:
|
|
17353
|
-
column:
|
|
17368
|
+
line: 129,
|
|
17369
|
+
column: 56
|
|
17354
17370
|
}
|
|
17355
17371
|
},
|
|
17356
|
-
"
|
|
17372
|
+
"27": {
|
|
17357
17373
|
start: {
|
|
17358
|
-
line:
|
|
17374
|
+
line: 138,
|
|
17359
17375
|
column: 16
|
|
17360
17376
|
},
|
|
17361
17377
|
end: {
|
|
17362
|
-
line:
|
|
17378
|
+
line: 144,
|
|
17363
17379
|
column: 18
|
|
17364
17380
|
}
|
|
17365
17381
|
}
|
|
@@ -17380,10 +17396,10 @@ function cov_2my1w2udyi() {
|
|
|
17380
17396
|
loc: {
|
|
17381
17397
|
start: {
|
|
17382
17398
|
line: 25,
|
|
17383
|
-
column:
|
|
17399
|
+
column: 71
|
|
17384
17400
|
},
|
|
17385
17401
|
end: {
|
|
17386
|
-
line:
|
|
17402
|
+
line: 158,
|
|
17387
17403
|
column: 1
|
|
17388
17404
|
}
|
|
17389
17405
|
},
|
|
@@ -17394,21 +17410,21 @@ function cov_2my1w2udyi() {
|
|
|
17394
17410
|
decl: {
|
|
17395
17411
|
start: {
|
|
17396
17412
|
line: 34,
|
|
17397
|
-
column:
|
|
17413
|
+
column: 27
|
|
17398
17414
|
},
|
|
17399
17415
|
end: {
|
|
17400
17416
|
line: 34,
|
|
17401
|
-
column:
|
|
17417
|
+
column: 28
|
|
17402
17418
|
}
|
|
17403
17419
|
},
|
|
17404
17420
|
loc: {
|
|
17405
17421
|
start: {
|
|
17406
17422
|
line: 34,
|
|
17407
|
-
column:
|
|
17423
|
+
column: 33
|
|
17408
17424
|
},
|
|
17409
17425
|
end: {
|
|
17410
|
-
line:
|
|
17411
|
-
column:
|
|
17426
|
+
line: 37,
|
|
17427
|
+
column: 3
|
|
17412
17428
|
}
|
|
17413
17429
|
},
|
|
17414
17430
|
line: 34
|
|
@@ -17417,241 +17433,217 @@ function cov_2my1w2udyi() {
|
|
|
17417
17433
|
name: "(anonymous_2)",
|
|
17418
17434
|
decl: {
|
|
17419
17435
|
start: {
|
|
17420
|
-
line:
|
|
17421
|
-
column:
|
|
17436
|
+
line: 39,
|
|
17437
|
+
column: 34
|
|
17422
17438
|
},
|
|
17423
17439
|
end: {
|
|
17424
|
-
line:
|
|
17425
|
-
column:
|
|
17440
|
+
line: 39,
|
|
17441
|
+
column: 35
|
|
17426
17442
|
}
|
|
17427
17443
|
},
|
|
17428
17444
|
loc: {
|
|
17429
17445
|
start: {
|
|
17430
|
-
line:
|
|
17431
|
-
column:
|
|
17446
|
+
line: 39,
|
|
17447
|
+
column: 49
|
|
17432
17448
|
},
|
|
17433
17449
|
end: {
|
|
17434
|
-
line:
|
|
17450
|
+
line: 66,
|
|
17435
17451
|
column: 3
|
|
17436
17452
|
}
|
|
17437
17453
|
},
|
|
17438
|
-
line:
|
|
17454
|
+
line: 39
|
|
17439
17455
|
},
|
|
17440
17456
|
"3": {
|
|
17441
17457
|
name: "(anonymous_3)",
|
|
17442
17458
|
decl: {
|
|
17443
17459
|
start: {
|
|
17444
|
-
line:
|
|
17445
|
-
column:
|
|
17460
|
+
line: 56,
|
|
17461
|
+
column: 19
|
|
17446
17462
|
},
|
|
17447
17463
|
end: {
|
|
17448
|
-
line:
|
|
17449
|
-
column:
|
|
17464
|
+
line: 56,
|
|
17465
|
+
column: 20
|
|
17450
17466
|
}
|
|
17451
17467
|
},
|
|
17452
17468
|
loc: {
|
|
17453
17469
|
start: {
|
|
17454
|
-
line:
|
|
17455
|
-
column:
|
|
17470
|
+
line: 56,
|
|
17471
|
+
column: 28
|
|
17456
17472
|
},
|
|
17457
17473
|
end: {
|
|
17458
|
-
line:
|
|
17459
|
-
column:
|
|
17474
|
+
line: 61,
|
|
17475
|
+
column: 9
|
|
17460
17476
|
}
|
|
17461
17477
|
},
|
|
17462
|
-
line:
|
|
17478
|
+
line: 56
|
|
17463
17479
|
},
|
|
17464
17480
|
"4": {
|
|
17465
17481
|
name: "(anonymous_4)",
|
|
17466
17482
|
decl: {
|
|
17467
17483
|
start: {
|
|
17468
|
-
line:
|
|
17469
|
-
column:
|
|
17484
|
+
line: 76,
|
|
17485
|
+
column: 31
|
|
17470
17486
|
},
|
|
17471
17487
|
end: {
|
|
17472
|
-
line:
|
|
17473
|
-
column:
|
|
17488
|
+
line: 76,
|
|
17489
|
+
column: 32
|
|
17474
17490
|
}
|
|
17475
17491
|
},
|
|
17476
17492
|
loc: {
|
|
17477
17493
|
start: {
|
|
17478
|
-
line:
|
|
17479
|
-
column:
|
|
17494
|
+
line: 76,
|
|
17495
|
+
column: 37
|
|
17480
17496
|
},
|
|
17481
17497
|
end: {
|
|
17482
|
-
line:
|
|
17483
|
-
column:
|
|
17498
|
+
line: 76,
|
|
17499
|
+
column: 62
|
|
17484
17500
|
}
|
|
17485
17501
|
},
|
|
17486
|
-
line:
|
|
17502
|
+
line: 76
|
|
17487
17503
|
},
|
|
17488
17504
|
"5": {
|
|
17489
17505
|
name: "(anonymous_5)",
|
|
17490
17506
|
decl: {
|
|
17491
17507
|
start: {
|
|
17492
|
-
line:
|
|
17493
|
-
column: 25
|
|
17494
|
-
},
|
|
17495
|
-
end: {
|
|
17496
|
-
line: 73,
|
|
17497
|
-
column: 26
|
|
17498
|
-
}
|
|
17499
|
-
},
|
|
17500
|
-
loc: {
|
|
17501
|
-
start: {
|
|
17502
|
-
line: 73,
|
|
17503
|
-
column: 31
|
|
17504
|
-
},
|
|
17505
|
-
end: {
|
|
17506
|
-
line: 73,
|
|
17507
|
-
column: 56
|
|
17508
|
-
}
|
|
17509
|
-
},
|
|
17510
|
-
line: 73
|
|
17511
|
-
},
|
|
17512
|
-
"6": {
|
|
17513
|
-
name: "(anonymous_6)",
|
|
17514
|
-
decl: {
|
|
17515
|
-
start: {
|
|
17516
|
-
line: 77,
|
|
17508
|
+
line: 81,
|
|
17517
17509
|
column: 12
|
|
17518
17510
|
},
|
|
17519
17511
|
end: {
|
|
17520
|
-
line:
|
|
17512
|
+
line: 81,
|
|
17521
17513
|
column: 13
|
|
17522
17514
|
}
|
|
17523
17515
|
},
|
|
17524
17516
|
loc: {
|
|
17525
17517
|
start: {
|
|
17526
|
-
line:
|
|
17518
|
+
line: 81,
|
|
17527
17519
|
column: 18
|
|
17528
17520
|
},
|
|
17529
17521
|
end: {
|
|
17530
|
-
line:
|
|
17522
|
+
line: 83,
|
|
17531
17523
|
column: 3
|
|
17532
17524
|
}
|
|
17533
17525
|
},
|
|
17534
|
-
line:
|
|
17526
|
+
line: 81
|
|
17535
17527
|
},
|
|
17536
|
-
"
|
|
17537
|
-
name: "(
|
|
17528
|
+
"6": {
|
|
17529
|
+
name: "(anonymous_6)",
|
|
17538
17530
|
decl: {
|
|
17539
17531
|
start: {
|
|
17540
|
-
line:
|
|
17532
|
+
line: 108,
|
|
17541
17533
|
column: 23
|
|
17542
17534
|
},
|
|
17543
17535
|
end: {
|
|
17544
|
-
line:
|
|
17536
|
+
line: 108,
|
|
17545
17537
|
column: 24
|
|
17546
17538
|
}
|
|
17547
17539
|
},
|
|
17548
17540
|
loc: {
|
|
17549
17541
|
start: {
|
|
17550
|
-
line:
|
|
17542
|
+
line: 108,
|
|
17551
17543
|
column: 29
|
|
17552
17544
|
},
|
|
17553
17545
|
end: {
|
|
17554
|
-
line:
|
|
17555
|
-
column:
|
|
17546
|
+
line: 108,
|
|
17547
|
+
column: 49
|
|
17556
17548
|
}
|
|
17557
17549
|
},
|
|
17558
|
-
line:
|
|
17550
|
+
line: 108
|
|
17559
17551
|
},
|
|
17560
|
-
"
|
|
17561
|
-
name: "(
|
|
17552
|
+
"7": {
|
|
17553
|
+
name: "(anonymous_7)",
|
|
17562
17554
|
decl: {
|
|
17563
17555
|
start: {
|
|
17564
|
-
line:
|
|
17556
|
+
line: 116,
|
|
17565
17557
|
column: 21
|
|
17566
17558
|
},
|
|
17567
17559
|
end: {
|
|
17568
|
-
line:
|
|
17560
|
+
line: 116,
|
|
17569
17561
|
column: 22
|
|
17570
17562
|
}
|
|
17571
17563
|
},
|
|
17572
17564
|
loc: {
|
|
17573
17565
|
start: {
|
|
17574
|
-
line:
|
|
17566
|
+
line: 116,
|
|
17575
17567
|
column: 30
|
|
17576
17568
|
},
|
|
17577
17569
|
end: {
|
|
17578
|
-
line:
|
|
17570
|
+
line: 116,
|
|
17579
17571
|
column: 53
|
|
17580
17572
|
}
|
|
17581
17573
|
},
|
|
17582
|
-
line:
|
|
17574
|
+
line: 116
|
|
17583
17575
|
},
|
|
17584
|
-
"
|
|
17585
|
-
name: "(
|
|
17576
|
+
"8": {
|
|
17577
|
+
name: "(anonymous_8)",
|
|
17586
17578
|
decl: {
|
|
17587
17579
|
start: {
|
|
17588
|
-
line:
|
|
17580
|
+
line: 125,
|
|
17589
17581
|
column: 26
|
|
17590
17582
|
},
|
|
17591
17583
|
end: {
|
|
17592
|
-
line:
|
|
17584
|
+
line: 125,
|
|
17593
17585
|
column: 27
|
|
17594
17586
|
}
|
|
17595
17587
|
},
|
|
17596
17588
|
loc: {
|
|
17597
17589
|
start: {
|
|
17598
|
-
line:
|
|
17590
|
+
line: 126,
|
|
17599
17591
|
column: 18
|
|
17600
17592
|
},
|
|
17601
17593
|
end: {
|
|
17602
|
-
line:
|
|
17594
|
+
line: 132,
|
|
17603
17595
|
column: 29
|
|
17604
17596
|
}
|
|
17605
17597
|
},
|
|
17606
|
-
line:
|
|
17598
|
+
line: 126
|
|
17607
17599
|
},
|
|
17608
|
-
"
|
|
17609
|
-
name: "(
|
|
17600
|
+
"9": {
|
|
17601
|
+
name: "(anonymous_9)",
|
|
17610
17602
|
decl: {
|
|
17611
17603
|
start: {
|
|
17612
|
-
line:
|
|
17604
|
+
line: 129,
|
|
17613
17605
|
column: 29
|
|
17614
17606
|
},
|
|
17615
17607
|
end: {
|
|
17616
|
-
line:
|
|
17608
|
+
line: 129,
|
|
17617
17609
|
column: 30
|
|
17618
17610
|
}
|
|
17619
17611
|
},
|
|
17620
17612
|
loc: {
|
|
17621
17613
|
start: {
|
|
17622
|
-
line:
|
|
17614
|
+
line: 129,
|
|
17623
17615
|
column: 35
|
|
17624
17616
|
},
|
|
17625
17617
|
end: {
|
|
17626
|
-
line:
|
|
17627
|
-
column:
|
|
17618
|
+
line: 129,
|
|
17619
|
+
column: 56
|
|
17628
17620
|
}
|
|
17629
17621
|
},
|
|
17630
|
-
line:
|
|
17622
|
+
line: 129
|
|
17631
17623
|
},
|
|
17632
|
-
"
|
|
17633
|
-
name: "(
|
|
17624
|
+
"10": {
|
|
17625
|
+
name: "(anonymous_10)",
|
|
17634
17626
|
decl: {
|
|
17635
17627
|
start: {
|
|
17636
|
-
line:
|
|
17628
|
+
line: 137,
|
|
17637
17629
|
column: 27
|
|
17638
17630
|
},
|
|
17639
17631
|
end: {
|
|
17640
|
-
line:
|
|
17632
|
+
line: 137,
|
|
17641
17633
|
column: 28
|
|
17642
17634
|
}
|
|
17643
17635
|
},
|
|
17644
17636
|
loc: {
|
|
17645
17637
|
start: {
|
|
17646
|
-
line:
|
|
17638
|
+
line: 138,
|
|
17647
17639
|
column: 16
|
|
17648
17640
|
},
|
|
17649
17641
|
end: {
|
|
17650
|
-
line:
|
|
17642
|
+
line: 144,
|
|
17651
17643
|
column: 18
|
|
17652
17644
|
}
|
|
17653
17645
|
},
|
|
17654
|
-
line:
|
|
17646
|
+
line: 138
|
|
17655
17647
|
}
|
|
17656
17648
|
},
|
|
17657
17649
|
branchMap: {
|
|
@@ -17659,22 +17651,22 @@ function cov_2my1w2udyi() {
|
|
|
17659
17651
|
loc: {
|
|
17660
17652
|
start: {
|
|
17661
17653
|
line: 25,
|
|
17662
|
-
column:
|
|
17654
|
+
column: 25
|
|
17663
17655
|
},
|
|
17664
17656
|
end: {
|
|
17665
17657
|
line: 25,
|
|
17666
|
-
column:
|
|
17658
|
+
column: 39
|
|
17667
17659
|
}
|
|
17668
17660
|
},
|
|
17669
17661
|
type: "default-arg",
|
|
17670
17662
|
locations: [{
|
|
17671
17663
|
start: {
|
|
17672
17664
|
line: 25,
|
|
17673
|
-
column:
|
|
17665
|
+
column: 35
|
|
17674
17666
|
},
|
|
17675
17667
|
end: {
|
|
17676
17668
|
line: 25,
|
|
17677
|
-
column:
|
|
17669
|
+
column: 39
|
|
17678
17670
|
}
|
|
17679
17671
|
}],
|
|
17680
17672
|
line: 25
|
|
@@ -17682,143 +17674,167 @@ function cov_2my1w2udyi() {
|
|
|
17682
17674
|
"1": {
|
|
17683
17675
|
loc: {
|
|
17684
17676
|
start: {
|
|
17685
|
-
line:
|
|
17677
|
+
line: 25,
|
|
17678
|
+
column: 41
|
|
17679
|
+
},
|
|
17680
|
+
end: {
|
|
17681
|
+
line: 25,
|
|
17682
|
+
column: 64
|
|
17683
|
+
}
|
|
17684
|
+
},
|
|
17685
|
+
type: "default-arg",
|
|
17686
|
+
locations: [{
|
|
17687
|
+
start: {
|
|
17688
|
+
line: 25,
|
|
17689
|
+
column: 60
|
|
17690
|
+
},
|
|
17691
|
+
end: {
|
|
17692
|
+
line: 25,
|
|
17693
|
+
column: 64
|
|
17694
|
+
}
|
|
17695
|
+
}],
|
|
17696
|
+
line: 25
|
|
17697
|
+
},
|
|
17698
|
+
"2": {
|
|
17699
|
+
loc: {
|
|
17700
|
+
start: {
|
|
17701
|
+
line: 40,
|
|
17686
17702
|
column: 4
|
|
17687
17703
|
},
|
|
17688
17704
|
end: {
|
|
17689
|
-
line:
|
|
17705
|
+
line: 64,
|
|
17690
17706
|
column: 5
|
|
17691
17707
|
}
|
|
17692
17708
|
},
|
|
17693
17709
|
type: "if",
|
|
17694
17710
|
locations: [{
|
|
17695
17711
|
start: {
|
|
17696
|
-
line:
|
|
17712
|
+
line: 40,
|
|
17697
17713
|
column: 4
|
|
17698
17714
|
},
|
|
17699
17715
|
end: {
|
|
17700
|
-
line:
|
|
17716
|
+
line: 64,
|
|
17701
17717
|
column: 5
|
|
17702
17718
|
}
|
|
17703
17719
|
}, {
|
|
17704
17720
|
start: {
|
|
17705
|
-
line:
|
|
17706
|
-
column:
|
|
17721
|
+
line: 45,
|
|
17722
|
+
column: 11
|
|
17707
17723
|
},
|
|
17708
17724
|
end: {
|
|
17709
|
-
line:
|
|
17710
|
-
column:
|
|
17725
|
+
line: 64,
|
|
17726
|
+
column: 5
|
|
17711
17727
|
}
|
|
17712
17728
|
}],
|
|
17713
|
-
line:
|
|
17729
|
+
line: 40
|
|
17714
17730
|
},
|
|
17715
|
-
"
|
|
17731
|
+
"3": {
|
|
17716
17732
|
loc: {
|
|
17717
17733
|
start: {
|
|
17718
|
-
line:
|
|
17734
|
+
line: 92,
|
|
17719
17735
|
column: 7
|
|
17720
17736
|
},
|
|
17721
17737
|
end: {
|
|
17722
|
-
line:
|
|
17738
|
+
line: 96,
|
|
17723
17739
|
column: 7
|
|
17724
17740
|
}
|
|
17725
17741
|
},
|
|
17726
17742
|
type: "binary-expr",
|
|
17727
17743
|
locations: [{
|
|
17728
17744
|
start: {
|
|
17729
|
-
line:
|
|
17745
|
+
line: 92,
|
|
17730
17746
|
column: 7
|
|
17731
17747
|
},
|
|
17732
17748
|
end: {
|
|
17733
|
-
line:
|
|
17749
|
+
line: 92,
|
|
17734
17750
|
column: 18
|
|
17735
17751
|
}
|
|
17736
17752
|
}, {
|
|
17737
17753
|
start: {
|
|
17738
|
-
line:
|
|
17754
|
+
line: 93,
|
|
17739
17755
|
column: 8
|
|
17740
17756
|
},
|
|
17741
17757
|
end: {
|
|
17742
|
-
line:
|
|
17758
|
+
line: 95,
|
|
17743
17759
|
column: 14
|
|
17744
17760
|
}
|
|
17745
17761
|
}],
|
|
17746
|
-
line:
|
|
17762
|
+
line: 92
|
|
17747
17763
|
},
|
|
17748
|
-
"
|
|
17764
|
+
"4": {
|
|
17749
17765
|
loc: {
|
|
17750
17766
|
start: {
|
|
17751
|
-
line:
|
|
17767
|
+
line: 97,
|
|
17752
17768
|
column: 7
|
|
17753
17769
|
},
|
|
17754
17770
|
end: {
|
|
17755
|
-
line:
|
|
17771
|
+
line: 104,
|
|
17756
17772
|
column: 7
|
|
17757
17773
|
}
|
|
17758
17774
|
},
|
|
17759
17775
|
type: "binary-expr",
|
|
17760
17776
|
locations: [{
|
|
17761
17777
|
start: {
|
|
17762
|
-
line:
|
|
17778
|
+
line: 97,
|
|
17763
17779
|
column: 7
|
|
17764
17780
|
},
|
|
17765
17781
|
end: {
|
|
17766
|
-
line:
|
|
17767
|
-
column:
|
|
17782
|
+
line: 97,
|
|
17783
|
+
column: 34
|
|
17768
17784
|
}
|
|
17769
17785
|
}, {
|
|
17770
17786
|
start: {
|
|
17771
|
-
line:
|
|
17772
|
-
column:
|
|
17787
|
+
line: 97,
|
|
17788
|
+
column: 38
|
|
17773
17789
|
},
|
|
17774
17790
|
end: {
|
|
17775
|
-
line:
|
|
17776
|
-
column:
|
|
17791
|
+
line: 97,
|
|
17792
|
+
column: 50
|
|
17777
17793
|
}
|
|
17778
17794
|
}, {
|
|
17779
17795
|
start: {
|
|
17780
|
-
line:
|
|
17796
|
+
line: 98,
|
|
17781
17797
|
column: 8
|
|
17782
17798
|
},
|
|
17783
17799
|
end: {
|
|
17784
|
-
line:
|
|
17800
|
+
line: 103,
|
|
17785
17801
|
column: 14
|
|
17786
17802
|
}
|
|
17787
17803
|
}],
|
|
17788
|
-
line:
|
|
17804
|
+
line: 97
|
|
17789
17805
|
},
|
|
17790
|
-
"
|
|
17806
|
+
"5": {
|
|
17791
17807
|
loc: {
|
|
17792
17808
|
start: {
|
|
17793
|
-
line:
|
|
17809
|
+
line: 105,
|
|
17794
17810
|
column: 7
|
|
17795
17811
|
},
|
|
17796
17812
|
end: {
|
|
17797
|
-
line:
|
|
17813
|
+
line: 154,
|
|
17798
17814
|
column: 7
|
|
17799
17815
|
}
|
|
17800
17816
|
},
|
|
17801
17817
|
type: "cond-expr",
|
|
17802
17818
|
locations: [{
|
|
17803
17819
|
start: {
|
|
17804
|
-
line:
|
|
17820
|
+
line: 106,
|
|
17805
17821
|
column: 8
|
|
17806
17822
|
},
|
|
17807
17823
|
end: {
|
|
17808
|
-
line:
|
|
17824
|
+
line: 111,
|
|
17809
17825
|
column: 10
|
|
17810
17826
|
}
|
|
17811
17827
|
}, {
|
|
17812
17828
|
start: {
|
|
17813
|
-
line:
|
|
17829
|
+
line: 113,
|
|
17814
17830
|
column: 8
|
|
17815
17831
|
},
|
|
17816
17832
|
end: {
|
|
17817
|
-
line:
|
|
17833
|
+
line: 153,
|
|
17818
17834
|
column: 14
|
|
17819
17835
|
}
|
|
17820
17836
|
}],
|
|
17821
|
-
line:
|
|
17837
|
+
line: 105
|
|
17822
17838
|
}
|
|
17823
17839
|
},
|
|
17824
17840
|
s: {
|
|
@@ -17849,11 +17865,7 @@ function cov_2my1w2udyi() {
|
|
|
17849
17865
|
"24": 0,
|
|
17850
17866
|
"25": 0,
|
|
17851
17867
|
"26": 0,
|
|
17852
|
-
"27": 0
|
|
17853
|
-
"28": 0,
|
|
17854
|
-
"29": 0,
|
|
17855
|
-
"30": 0,
|
|
17856
|
-
"31": 0
|
|
17868
|
+
"27": 0
|
|
17857
17869
|
},
|
|
17858
17870
|
f: {
|
|
17859
17871
|
"0": 0,
|
|
@@ -17866,18 +17878,18 @@ function cov_2my1w2udyi() {
|
|
|
17866
17878
|
"7": 0,
|
|
17867
17879
|
"8": 0,
|
|
17868
17880
|
"9": 0,
|
|
17869
|
-
"10": 0
|
|
17870
|
-
"11": 0
|
|
17881
|
+
"10": 0
|
|
17871
17882
|
},
|
|
17872
17883
|
b: {
|
|
17873
17884
|
"0": [0],
|
|
17874
|
-
"1": [0
|
|
17885
|
+
"1": [0],
|
|
17875
17886
|
"2": [0, 0],
|
|
17876
|
-
"3": [0, 0
|
|
17877
|
-
"4": [0, 0]
|
|
17887
|
+
"3": [0, 0],
|
|
17888
|
+
"4": [0, 0, 0],
|
|
17889
|
+
"5": [0, 0]
|
|
17878
17890
|
},
|
|
17879
17891
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
17880
|
-
hash: "
|
|
17892
|
+
hash: "ed194744e65faee4db8cb2231a84321ffef530ba"
|
|
17881
17893
|
};
|
|
17882
17894
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
17883
17895
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -17896,9 +17908,10 @@ cov_2my1w2udyi();
|
|
|
17896
17908
|
cov_2my1w2udyi().s[0]++;
|
|
17897
17909
|
var Modal = function Modal(_ref) {
|
|
17898
17910
|
var isOpen = _ref.isOpen,
|
|
17899
|
-
onClose = _ref.onClose,
|
|
17911
|
+
_ref$onClose = _ref.onClose,
|
|
17912
|
+
onClose = _ref$onClose === void 0 ? (cov_2my1w2udyi().b[0][0]++, pure.noop) : _ref$onClose,
|
|
17900
17913
|
_ref$onUploadComplete = _ref.onUploadComplete,
|
|
17901
|
-
onUploadComplete = _ref$onUploadComplete === void 0 ? (cov_2my1w2udyi().b[
|
|
17914
|
+
onUploadComplete = _ref$onUploadComplete === void 0 ? (cov_2my1w2udyi().b[1][0]++, pure.noop) : _ref$onUploadComplete;
|
|
17902
17915
|
cov_2my1w2udyi().f[0]++;
|
|
17903
17916
|
var _ref2 = (cov_2my1w2udyi().s[1]++, React.useState(TABS[0].key)),
|
|
17904
17917
|
_ref3 = _slicedToArray$2(_ref2, 2),
|
|
@@ -17906,8 +17919,8 @@ var Modal = function Modal(_ref) {
|
|
|
17906
17919
|
setActiveTab = _ref3[1];
|
|
17907
17920
|
var _ref4 = (cov_2my1w2udyi().s[2]++, React.useState({})),
|
|
17908
17921
|
_ref5 = _slicedToArray$2(_ref4, 2),
|
|
17909
|
-
|
|
17910
|
-
|
|
17922
|
+
selectedImage = _ref5[0],
|
|
17923
|
+
setSelectedImage = _ref5[1];
|
|
17911
17924
|
var _ref6 = (cov_2my1w2udyi().s[3]++, React.useState(false)),
|
|
17912
17925
|
_ref7 = _slicedToArray$2(_ref6, 2),
|
|
17913
17926
|
isUploading = _ref7[0],
|
|
@@ -17917,111 +17930,102 @@ var Modal = function Modal(_ref) {
|
|
|
17917
17930
|
var _ref9 = (cov_2my1w2udyi().s[5]++, useCreateBlob()),
|
|
17918
17931
|
createBlob = _ref9.mutate;
|
|
17919
17932
|
cov_2my1w2udyi().s[6]++;
|
|
17920
|
-
var
|
|
17933
|
+
var handleCloseModal = function handleCloseModal() {
|
|
17921
17934
|
cov_2my1w2udyi().f[1]++;
|
|
17922
17935
|
cov_2my1w2udyi().s[7]++;
|
|
17923
|
-
|
|
17936
|
+
onClose();
|
|
17937
|
+
cov_2my1w2udyi().s[8]++;
|
|
17938
|
+
setSelectedImage({});
|
|
17924
17939
|
};
|
|
17925
|
-
cov_2my1w2udyi().s[
|
|
17926
|
-
var
|
|
17940
|
+
cov_2my1w2udyi().s[9]++;
|
|
17941
|
+
var handleImageEditComplete = function handleImageEditComplete(editedImage) {
|
|
17927
17942
|
cov_2my1w2udyi().f[2]++;
|
|
17928
|
-
cov_2my1w2udyi().s[9]++;
|
|
17929
|
-
onClose();
|
|
17930
17943
|
cov_2my1w2udyi().s[10]++;
|
|
17931
|
-
setImage({});
|
|
17932
|
-
};
|
|
17933
|
-
cov_2my1w2udyi().s[11]++;
|
|
17934
|
-
var handleEditComplete = function handleEditComplete(image) {
|
|
17935
|
-
cov_2my1w2udyi().f[3]++;
|
|
17936
|
-
cov_2my1w2udyi().s[12]++;
|
|
17937
17944
|
if (IS_DEVELOPMENT_OR_HEROKU_ENV) {
|
|
17938
|
-
cov_2my1w2udyi().b[
|
|
17939
|
-
cov_2my1w2udyi().s[
|
|
17945
|
+
cov_2my1w2udyi().b[2][0]++;
|
|
17946
|
+
cov_2my1w2udyi().s[11]++;
|
|
17940
17947
|
onUploadComplete({
|
|
17941
|
-
url:
|
|
17942
|
-
signedId:
|
|
17948
|
+
url: editedImage.metadata.url,
|
|
17949
|
+
signedId: editedImage.signedId
|
|
17943
17950
|
});
|
|
17944
|
-
cov_2my1w2udyi().s[14]++;
|
|
17945
|
-
handleClose();
|
|
17946
|
-
cov_2my1w2udyi().s[15]++;
|
|
17947
|
-
return;
|
|
17948
17951
|
} else {
|
|
17949
|
-
cov_2my1w2udyi().b[
|
|
17952
|
+
cov_2my1w2udyi().b[2][1]++;
|
|
17953
|
+
var payload = (cov_2my1w2udyi().s[12]++, {
|
|
17954
|
+
filename: editedImage.name,
|
|
17955
|
+
byte_size: editedImage.size,
|
|
17956
|
+
content_type: editedImage.fileType,
|
|
17957
|
+
checksum: editedImage.fileId,
|
|
17958
|
+
metadata: editedImage,
|
|
17959
|
+
service_name: "imagekitio"
|
|
17960
|
+
});
|
|
17961
|
+
cov_2my1w2udyi().s[13]++;
|
|
17962
|
+
createBlob(payload, {
|
|
17963
|
+
onSuccess: function onSuccess(image) {
|
|
17964
|
+
cov_2my1w2udyi().f[3]++;
|
|
17965
|
+
cov_2my1w2udyi().s[14]++;
|
|
17966
|
+
onUploadComplete({
|
|
17967
|
+
url: image.metadata.url,
|
|
17968
|
+
signedId: image.signedId
|
|
17969
|
+
});
|
|
17970
|
+
},
|
|
17971
|
+
onError: neetoui.Toastr.error
|
|
17972
|
+
});
|
|
17950
17973
|
}
|
|
17951
|
-
|
|
17952
|
-
|
|
17953
|
-
byte_size: image.size,
|
|
17954
|
-
content_type: image.mime,
|
|
17955
|
-
checksum: image.fileId,
|
|
17956
|
-
metadata: image
|
|
17957
|
-
});
|
|
17958
|
-
cov_2my1w2udyi().s[17]++;
|
|
17959
|
-
createBlob(payload, {
|
|
17960
|
-
onSuccess: function onSuccess(image) {
|
|
17961
|
-
cov_2my1w2udyi().f[4]++;
|
|
17962
|
-
cov_2my1w2udyi().s[18]++;
|
|
17963
|
-
onUploadComplete({
|
|
17964
|
-
url: image.metadata.url,
|
|
17965
|
-
signedId: image.signedId
|
|
17966
|
-
});
|
|
17967
|
-
},
|
|
17968
|
-
onError: neetoui.Toastr.error
|
|
17969
|
-
});
|
|
17970
|
-
cov_2my1w2udyi().s[19]++;
|
|
17971
|
-
handleClose();
|
|
17974
|
+
cov_2my1w2udyi().s[15]++;
|
|
17975
|
+
handleCloseModal();
|
|
17972
17976
|
};
|
|
17973
|
-
var _ref10 = (cov_2my1w2udyi().s[
|
|
17977
|
+
var _ref10 = (cov_2my1w2udyi().s[16]++, useDropzoneWithValidation({
|
|
17974
17978
|
maxSize: MAX_IMAGE_SIZE$1,
|
|
17975
17979
|
acceptedTypes: ALLOWED_IMAGE_TYPES$1,
|
|
17976
|
-
onUploadComplete:
|
|
17980
|
+
onUploadComplete: setSelectedImage,
|
|
17977
17981
|
setIsUploading: setIsUploading
|
|
17978
17982
|
})),
|
|
17979
17983
|
getRootProps = _ref10.getRootProps,
|
|
17980
17984
|
getInputProps = _ref10.getInputProps,
|
|
17981
17985
|
isDragActive = _ref10.isDragActive,
|
|
17982
17986
|
inputRef = _ref10.inputRef;
|
|
17983
|
-
cov_2my1w2udyi().s[
|
|
17984
|
-
var
|
|
17987
|
+
cov_2my1w2udyi().s[17]++;
|
|
17988
|
+
var openFileUploadDialog = function openFileUploadDialog() {
|
|
17985
17989
|
var _inputRef$current;
|
|
17986
|
-
cov_2my1w2udyi().f[
|
|
17987
|
-
cov_2my1w2udyi().s[
|
|
17990
|
+
cov_2my1w2udyi().f[4]++;
|
|
17991
|
+
cov_2my1w2udyi().s[18]++;
|
|
17988
17992
|
return (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.click();
|
|
17989
17993
|
};
|
|
17990
|
-
var options = (cov_2my1w2udyi().s[
|
|
17994
|
+
var options = (cov_2my1w2udyi().s[19]++, createOptions([{
|
|
17991
17995
|
key: "local",
|
|
17992
|
-
onClick:
|
|
17996
|
+
onClick: openFileUploadDialog
|
|
17993
17997
|
}]));
|
|
17994
|
-
cov_2my1w2udyi().s[
|
|
17998
|
+
cov_2my1w2udyi().s[20]++;
|
|
17995
17999
|
React.useEffect(function () {
|
|
17996
|
-
cov_2my1w2udyi().f[
|
|
17997
|
-
cov_2my1w2udyi().s[
|
|
18000
|
+
cov_2my1w2udyi().f[5]++;
|
|
18001
|
+
cov_2my1w2udyi().s[21]++;
|
|
17998
18002
|
setActiveTab(TABS[0].key);
|
|
17999
18003
|
}, [isOpen]);
|
|
18000
|
-
cov_2my1w2udyi().s[
|
|
18004
|
+
cov_2my1w2udyi().s[22]++;
|
|
18001
18005
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
18002
18006
|
className: "niu-modal",
|
|
18003
18007
|
isOpen: isOpen,
|
|
18004
18008
|
size: "large",
|
|
18005
|
-
onClose:
|
|
18006
|
-
}, (cov_2my1w2udyi().b[
|
|
18009
|
+
onClose: handleCloseModal
|
|
18010
|
+
}, (cov_2my1w2udyi().b[3][0]++, isUploading) && (cov_2my1w2udyi().b[3][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18007
18011
|
className: "absolute inset-0 z-50 flex h-full items-center justify-center bg-gray-400 opacity-50"
|
|
18008
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Spinner, null))), (cov_2my1w2udyi().b[
|
|
18012
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Spinner, null))), (cov_2my1w2udyi().b[4][0]++, isNilOrEmpty(selectedImage)) && (cov_2my1w2udyi().b[4][1]++, isDragActive) && (cov_2my1w2udyi().b[4][2]++, /*#__PURE__*/React__default["default"].createElement("div", _extends$1({
|
|
18009
18013
|
className: "absolute flex h-full w-full flex-col items-center justify-around rounded-xl border-4 border-dashed border-gray-900 bg-gray-400 opacity-40"
|
|
18010
|
-
}, getRootProps()), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, null, t("common.dropHere")))),
|
|
18011
|
-
|
|
18014
|
+
}, getRootProps()), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, null, t("common.dropHere")))), !isNilOrEmpty(selectedImage) ? (cov_2my1w2udyi().b[5][0]++, /*#__PURE__*/React__default["default"].createElement(ImageEditor, {
|
|
18015
|
+
handleImageEditComplete: handleImageEditComplete,
|
|
18012
18016
|
handleReset: function handleReset() {
|
|
18013
|
-
cov_2my1w2udyi().f[
|
|
18014
|
-
cov_2my1w2udyi().s[
|
|
18015
|
-
return
|
|
18017
|
+
cov_2my1w2udyi().f[6]++;
|
|
18018
|
+
cov_2my1w2udyi().s[23]++;
|
|
18019
|
+
return setSelectedImage({});
|
|
18016
18020
|
},
|
|
18017
|
-
image:
|
|
18018
|
-
signedId:
|
|
18019
|
-
})) : (cov_2my1w2udyi().b[
|
|
18021
|
+
image: selectedImage,
|
|
18022
|
+
signedId: selectedImage === null || selectedImage === void 0 ? void 0 : selectedImage.signedId
|
|
18023
|
+
})) : (cov_2my1w2udyi().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", _extends$1({
|
|
18020
18024
|
className: "h-full flex-col"
|
|
18021
18025
|
}, getRootProps({
|
|
18022
18026
|
onClick: function onClick(event) {
|
|
18023
|
-
cov_2my1w2udyi().f[
|
|
18024
|
-
cov_2my1w2udyi().s[
|
|
18027
|
+
cov_2my1w2udyi().f[7]++;
|
|
18028
|
+
cov_2my1w2udyi().s[24]++;
|
|
18025
18029
|
return event.stopPropagation();
|
|
18026
18030
|
}
|
|
18027
18031
|
})), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
@@ -18033,15 +18037,15 @@ var Modal = function Modal(_ref) {
|
|
|
18033
18037
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Tab, {
|
|
18034
18038
|
size: "small"
|
|
18035
18039
|
}, TABS.map(function (tab) {
|
|
18036
|
-
cov_2my1w2udyi().f[
|
|
18037
|
-
cov_2my1w2udyi().s[
|
|
18040
|
+
cov_2my1w2udyi().f[8]++;
|
|
18041
|
+
cov_2my1w2udyi().s[25]++;
|
|
18038
18042
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Tab.Item, {
|
|
18039
18043
|
active: activeTab === tab.key,
|
|
18040
18044
|
key: tab.key,
|
|
18041
18045
|
onClick: function onClick() {
|
|
18042
|
-
cov_2my1w2udyi().f[
|
|
18043
|
-
cov_2my1w2udyi().s[
|
|
18044
|
-
setActiveTab(tab.key);
|
|
18046
|
+
cov_2my1w2udyi().f[9]++;
|
|
18047
|
+
cov_2my1w2udyi().s[26]++;
|
|
18048
|
+
return setActiveTab(tab.key);
|
|
18045
18049
|
}
|
|
18046
18050
|
}, tab.label);
|
|
18047
18051
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -18051,8 +18055,8 @@ var Modal = function Modal(_ref) {
|
|
|
18051
18055
|
label = _ref11.label,
|
|
18052
18056
|
onClick = _ref11.onClick,
|
|
18053
18057
|
style = _ref11.style;
|
|
18054
|
-
cov_2my1w2udyi().f[
|
|
18055
|
-
cov_2my1w2udyi().s[
|
|
18058
|
+
cov_2my1w2udyi().f[10]++;
|
|
18059
|
+
cov_2my1w2udyi().s[27]++;
|
|
18056
18060
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
18057
18061
|
key: key,
|
|
18058
18062
|
label: label,
|
|
@@ -18061,8 +18065,8 @@ var Modal = function Modal(_ref) {
|
|
|
18061
18065
|
onClick: onClick
|
|
18062
18066
|
});
|
|
18063
18067
|
}))), /*#__PURE__*/React__default["default"].createElement(ImageLibrary, {
|
|
18064
|
-
setImage: setImage,
|
|
18065
18068
|
setIsUploading: setIsUploading,
|
|
18069
|
+
setSelectedImage: setSelectedImage,
|
|
18066
18070
|
tab: activeTab
|
|
18067
18071
|
}))), /*#__PURE__*/React__default["default"].createElement("input", getInputProps()));
|
|
18068
18072
|
};
|
|
@@ -18433,7 +18437,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
18433
18437
|
|
|
18434
18438
|
function cov_1avu3clziw() {
|
|
18435
18439
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageUploader/index.jsx";
|
|
18436
|
-
var hash = "
|
|
18440
|
+
var hash = "dfb1bddf6ad2d106cc08375435d345426efb0acc";
|
|
18437
18441
|
var global = new Function("return this")();
|
|
18438
18442
|
var gcv = "__coverage__";
|
|
18439
18443
|
var coverageData = {
|
|
@@ -18445,7 +18449,7 @@ function cov_1avu3clziw() {
|
|
|
18445
18449
|
column: 22
|
|
18446
18450
|
},
|
|
18447
18451
|
end: {
|
|
18448
|
-
line:
|
|
18452
|
+
line: 183,
|
|
18449
18453
|
column: 1
|
|
18450
18454
|
}
|
|
18451
18455
|
},
|
|
@@ -18609,213 +18613,263 @@ function cov_1avu3clziw() {
|
|
|
18609
18613
|
column: 69
|
|
18610
18614
|
}
|
|
18611
18615
|
},
|
|
18612
|
-
"17": {
|
|
18616
|
+
"17": {
|
|
18617
|
+
start: {
|
|
18618
|
+
line: 41,
|
|
18619
|
+
column: 4
|
|
18620
|
+
},
|
|
18621
|
+
end: {
|
|
18622
|
+
line: 44,
|
|
18623
|
+
column: 7
|
|
18624
|
+
}
|
|
18625
|
+
},
|
|
18626
|
+
"18": {
|
|
18627
|
+
start: {
|
|
18628
|
+
line: 45,
|
|
18629
|
+
column: 4
|
|
18630
|
+
},
|
|
18631
|
+
end: {
|
|
18632
|
+
line: 45,
|
|
18633
|
+
column: 40
|
|
18634
|
+
}
|
|
18635
|
+
},
|
|
18636
|
+
"19": {
|
|
18637
|
+
start: {
|
|
18638
|
+
line: 46,
|
|
18639
|
+
column: 4
|
|
18640
|
+
},
|
|
18641
|
+
end: {
|
|
18642
|
+
line: 46,
|
|
18643
|
+
column: 27
|
|
18644
|
+
}
|
|
18645
|
+
},
|
|
18646
|
+
"20": {
|
|
18647
|
+
start: {
|
|
18648
|
+
line: 49,
|
|
18649
|
+
column: 42
|
|
18650
|
+
},
|
|
18651
|
+
end: {
|
|
18652
|
+
line: 54,
|
|
18653
|
+
column: 3
|
|
18654
|
+
}
|
|
18655
|
+
},
|
|
18656
|
+
"21": {
|
|
18657
|
+
start: {
|
|
18658
|
+
line: 50,
|
|
18659
|
+
column: 4
|
|
18660
|
+
},
|
|
18661
|
+
end: {
|
|
18662
|
+
line: 50,
|
|
18663
|
+
column: 20
|
|
18664
|
+
}
|
|
18665
|
+
},
|
|
18666
|
+
"22": {
|
|
18613
18667
|
start: {
|
|
18614
|
-
line:
|
|
18668
|
+
line: 51,
|
|
18615
18669
|
column: 4
|
|
18616
18670
|
},
|
|
18617
18671
|
end: {
|
|
18618
|
-
line:
|
|
18619
|
-
column:
|
|
18672
|
+
line: 51,
|
|
18673
|
+
column: 20
|
|
18620
18674
|
}
|
|
18621
18675
|
},
|
|
18622
|
-
"
|
|
18676
|
+
"23": {
|
|
18623
18677
|
start: {
|
|
18624
|
-
line:
|
|
18678
|
+
line: 52,
|
|
18625
18679
|
column: 4
|
|
18626
18680
|
},
|
|
18627
18681
|
end: {
|
|
18628
|
-
line:
|
|
18629
|
-
column:
|
|
18682
|
+
line: 52,
|
|
18683
|
+
column: 32
|
|
18630
18684
|
}
|
|
18631
18685
|
},
|
|
18632
|
-
"
|
|
18686
|
+
"24": {
|
|
18633
18687
|
start: {
|
|
18634
|
-
line:
|
|
18688
|
+
line: 53,
|
|
18635
18689
|
column: 4
|
|
18636
18690
|
},
|
|
18637
18691
|
end: {
|
|
18638
|
-
line:
|
|
18692
|
+
line: 53,
|
|
18639
18693
|
column: 27
|
|
18640
18694
|
}
|
|
18641
18695
|
},
|
|
18642
|
-
"
|
|
18696
|
+
"25": {
|
|
18643
18697
|
start: {
|
|
18644
|
-
line:
|
|
18645
|
-
column:
|
|
18698
|
+
line: 56,
|
|
18699
|
+
column: 31
|
|
18646
18700
|
},
|
|
18647
18701
|
end: {
|
|
18648
|
-
line:
|
|
18702
|
+
line: 76,
|
|
18649
18703
|
column: 3
|
|
18650
18704
|
}
|
|
18651
18705
|
},
|
|
18652
|
-
"
|
|
18706
|
+
"26": {
|
|
18653
18707
|
start: {
|
|
18654
|
-
line:
|
|
18708
|
+
line: 57,
|
|
18655
18709
|
column: 4
|
|
18656
18710
|
},
|
|
18657
18711
|
end: {
|
|
18658
|
-
line:
|
|
18712
|
+
line: 61,
|
|
18659
18713
|
column: 5
|
|
18660
18714
|
}
|
|
18661
18715
|
},
|
|
18662
|
-
"
|
|
18716
|
+
"27": {
|
|
18663
18717
|
start: {
|
|
18664
|
-
line:
|
|
18718
|
+
line: 58,
|
|
18665
18719
|
column: 6
|
|
18666
18720
|
},
|
|
18667
18721
|
end: {
|
|
18668
|
-
line:
|
|
18722
|
+
line: 58,
|
|
18669
18723
|
column: 73
|
|
18670
18724
|
}
|
|
18671
18725
|
},
|
|
18672
|
-
"
|
|
18726
|
+
"28": {
|
|
18673
18727
|
start: {
|
|
18674
|
-
line:
|
|
18728
|
+
line: 60,
|
|
18675
18729
|
column: 6
|
|
18676
18730
|
},
|
|
18677
18731
|
end: {
|
|
18678
|
-
line:
|
|
18732
|
+
line: 60,
|
|
18679
18733
|
column: 13
|
|
18680
18734
|
}
|
|
18681
18735
|
},
|
|
18682
|
-
"
|
|
18736
|
+
"29": {
|
|
18683
18737
|
start: {
|
|
18684
|
-
line:
|
|
18738
|
+
line: 63,
|
|
18685
18739
|
column: 20
|
|
18686
18740
|
},
|
|
18687
18741
|
end: {
|
|
18688
|
-
line:
|
|
18742
|
+
line: 70,
|
|
18689
18743
|
column: 5
|
|
18690
18744
|
}
|
|
18691
18745
|
},
|
|
18692
|
-
"
|
|
18746
|
+
"30": {
|
|
18693
18747
|
start: {
|
|
18694
|
-
line:
|
|
18748
|
+
line: 72,
|
|
18695
18749
|
column: 4
|
|
18696
18750
|
},
|
|
18697
18751
|
end: {
|
|
18698
|
-
line:
|
|
18752
|
+
line: 75,
|
|
18699
18753
|
column: 7
|
|
18700
18754
|
}
|
|
18701
18755
|
},
|
|
18702
|
-
"
|
|
18756
|
+
"31": {
|
|
18703
18757
|
start: {
|
|
18704
|
-
line:
|
|
18758
|
+
line: 78,
|
|
18705
18759
|
column: 21
|
|
18706
18760
|
},
|
|
18707
18761
|
end: {
|
|
18708
|
-
line:
|
|
18762
|
+
line: 89,
|
|
18709
18763
|
column: 3
|
|
18710
18764
|
}
|
|
18711
18765
|
},
|
|
18712
|
-
"
|
|
18766
|
+
"32": {
|
|
18713
18767
|
start: {
|
|
18714
|
-
line:
|
|
18768
|
+
line: 79,
|
|
18715
18769
|
column: 20
|
|
18716
18770
|
},
|
|
18717
18771
|
end: {
|
|
18718
|
-
line:
|
|
18772
|
+
line: 82,
|
|
18719
18773
|
column: 5
|
|
18720
18774
|
}
|
|
18721
18775
|
},
|
|
18722
|
-
"
|
|
18776
|
+
"33": {
|
|
18723
18777
|
start: {
|
|
18724
|
-
line:
|
|
18778
|
+
line: 84,
|
|
18725
18779
|
column: 4
|
|
18726
18780
|
},
|
|
18727
18781
|
end: {
|
|
18728
|
-
line:
|
|
18782
|
+
line: 87,
|
|
18729
18783
|
column: 7
|
|
18730
18784
|
}
|
|
18731
18785
|
},
|
|
18732
|
-
"
|
|
18786
|
+
"34": {
|
|
18733
18787
|
start: {
|
|
18734
|
-
line:
|
|
18788
|
+
line: 88,
|
|
18735
18789
|
column: 4
|
|
18736
18790
|
},
|
|
18737
18791
|
end: {
|
|
18738
|
-
line:
|
|
18792
|
+
line: 88,
|
|
18739
18793
|
column: 27
|
|
18740
18794
|
}
|
|
18741
18795
|
},
|
|
18742
|
-
"
|
|
18796
|
+
"35": {
|
|
18743
18797
|
start: {
|
|
18744
|
-
line:
|
|
18798
|
+
line: 92,
|
|
18745
18799
|
column: 4
|
|
18746
18800
|
},
|
|
18747
18801
|
end: {
|
|
18748
|
-
line:
|
|
18802
|
+
line: 97,
|
|
18749
18803
|
column: 6
|
|
18750
18804
|
}
|
|
18751
18805
|
},
|
|
18752
|
-
"
|
|
18806
|
+
"36": {
|
|
18753
18807
|
start: {
|
|
18754
|
-
line:
|
|
18808
|
+
line: 99,
|
|
18755
18809
|
column: 2
|
|
18756
18810
|
},
|
|
18757
18811
|
end: {
|
|
18758
|
-
line:
|
|
18812
|
+
line: 116,
|
|
18759
18813
|
column: 3
|
|
18760
18814
|
}
|
|
18761
18815
|
},
|
|
18762
|
-
"
|
|
18816
|
+
"37": {
|
|
18763
18817
|
start: {
|
|
18764
|
-
line:
|
|
18818
|
+
line: 100,
|
|
18765
18819
|
column: 4
|
|
18766
18820
|
},
|
|
18767
18821
|
end: {
|
|
18768
|
-
line:
|
|
18822
|
+
line: 115,
|
|
18769
18823
|
column: 6
|
|
18770
18824
|
}
|
|
18771
18825
|
},
|
|
18772
|
-
"
|
|
18826
|
+
"38": {
|
|
18773
18827
|
start: {
|
|
18774
|
-
line:
|
|
18828
|
+
line: 118,
|
|
18775
18829
|
column: 2
|
|
18776
18830
|
},
|
|
18777
18831
|
end: {
|
|
18778
|
-
line:
|
|
18832
|
+
line: 182,
|
|
18779
18833
|
column: 4
|
|
18780
18834
|
}
|
|
18781
18835
|
},
|
|
18782
|
-
"
|
|
18836
|
+
"39": {
|
|
18783
18837
|
start: {
|
|
18784
|
-
line:
|
|
18838
|
+
line: 129,
|
|
18785
18839
|
column: 29
|
|
18786
18840
|
},
|
|
18787
18841
|
end: {
|
|
18788
|
-
line:
|
|
18842
|
+
line: 129,
|
|
18789
18843
|
column: 54
|
|
18790
18844
|
}
|
|
18791
18845
|
},
|
|
18792
|
-
"
|
|
18846
|
+
"40": {
|
|
18793
18847
|
start: {
|
|
18794
|
-
line:
|
|
18848
|
+
line: 157,
|
|
18795
18849
|
column: 27
|
|
18796
18850
|
},
|
|
18797
18851
|
end: {
|
|
18798
|
-
line:
|
|
18852
|
+
line: 157,
|
|
18799
18853
|
column: 49
|
|
18800
18854
|
}
|
|
18801
18855
|
},
|
|
18802
|
-
"
|
|
18856
|
+
"41": {
|
|
18803
18857
|
start: {
|
|
18804
|
-
line:
|
|
18858
|
+
line: 160,
|
|
18805
18859
|
column: 33
|
|
18806
18860
|
},
|
|
18807
18861
|
end: {
|
|
18808
|
-
line:
|
|
18862
|
+
line: 160,
|
|
18809
18863
|
column: 55
|
|
18810
18864
|
}
|
|
18811
18865
|
},
|
|
18812
|
-
"
|
|
18866
|
+
"42": {
|
|
18813
18867
|
start: {
|
|
18814
|
-
line:
|
|
18868
|
+
line: 178,
|
|
18815
18869
|
column: 23
|
|
18816
18870
|
},
|
|
18817
18871
|
end: {
|
|
18818
|
-
line:
|
|
18872
|
+
line: 178,
|
|
18819
18873
|
column: 51
|
|
18820
18874
|
}
|
|
18821
18875
|
}
|
|
@@ -18839,7 +18893,7 @@ function cov_1avu3clziw() {
|
|
|
18839
18893
|
column: 76
|
|
18840
18894
|
},
|
|
18841
18895
|
end: {
|
|
18842
|
-
line:
|
|
18896
|
+
line: 183,
|
|
18843
18897
|
column: 1
|
|
18844
18898
|
}
|
|
18845
18899
|
},
|
|
@@ -18922,20 +18976,20 @@ function cov_1avu3clziw() {
|
|
|
18922
18976
|
decl: {
|
|
18923
18977
|
start: {
|
|
18924
18978
|
line: 49,
|
|
18925
|
-
column:
|
|
18979
|
+
column: 42
|
|
18926
18980
|
},
|
|
18927
18981
|
end: {
|
|
18928
18982
|
line: 49,
|
|
18929
|
-
column:
|
|
18983
|
+
column: 43
|
|
18930
18984
|
}
|
|
18931
18985
|
},
|
|
18932
18986
|
loc: {
|
|
18933
18987
|
start: {
|
|
18934
18988
|
line: 49,
|
|
18935
|
-
column:
|
|
18989
|
+
column: 51
|
|
18936
18990
|
},
|
|
18937
18991
|
end: {
|
|
18938
|
-
line:
|
|
18992
|
+
line: 54,
|
|
18939
18993
|
column: 3
|
|
18940
18994
|
}
|
|
18941
18995
|
},
|
|
@@ -18945,121 +18999,145 @@ function cov_1avu3clziw() {
|
|
|
18945
18999
|
name: "(anonymous_5)",
|
|
18946
19000
|
decl: {
|
|
18947
19001
|
start: {
|
|
18948
|
-
line:
|
|
18949
|
-
column:
|
|
19002
|
+
line: 56,
|
|
19003
|
+
column: 31
|
|
18950
19004
|
},
|
|
18951
19005
|
end: {
|
|
18952
|
-
line:
|
|
18953
|
-
column:
|
|
19006
|
+
line: 56,
|
|
19007
|
+
column: 32
|
|
18954
19008
|
}
|
|
18955
19009
|
},
|
|
18956
19010
|
loc: {
|
|
18957
19011
|
start: {
|
|
18958
|
-
line:
|
|
19012
|
+
line: 56,
|
|
18959
19013
|
column: 40
|
|
18960
19014
|
},
|
|
18961
19015
|
end: {
|
|
18962
|
-
line:
|
|
19016
|
+
line: 76,
|
|
18963
19017
|
column: 3
|
|
18964
19018
|
}
|
|
18965
19019
|
},
|
|
18966
|
-
line:
|
|
19020
|
+
line: 56
|
|
18967
19021
|
},
|
|
18968
19022
|
"6": {
|
|
18969
19023
|
name: "(anonymous_6)",
|
|
18970
19024
|
decl: {
|
|
18971
19025
|
start: {
|
|
18972
|
-
line:
|
|
19026
|
+
line: 78,
|
|
19027
|
+
column: 21
|
|
19028
|
+
},
|
|
19029
|
+
end: {
|
|
19030
|
+
line: 78,
|
|
19031
|
+
column: 22
|
|
19032
|
+
}
|
|
19033
|
+
},
|
|
19034
|
+
loc: {
|
|
19035
|
+
start: {
|
|
19036
|
+
line: 78,
|
|
19037
|
+
column: 40
|
|
19038
|
+
},
|
|
19039
|
+
end: {
|
|
19040
|
+
line: 89,
|
|
19041
|
+
column: 3
|
|
19042
|
+
}
|
|
19043
|
+
},
|
|
19044
|
+
line: 78
|
|
19045
|
+
},
|
|
19046
|
+
"7": {
|
|
19047
|
+
name: "(anonymous_7)",
|
|
19048
|
+
decl: {
|
|
19049
|
+
start: {
|
|
19050
|
+
line: 129,
|
|
18973
19051
|
column: 23
|
|
18974
19052
|
},
|
|
18975
19053
|
end: {
|
|
18976
|
-
line:
|
|
19054
|
+
line: 129,
|
|
18977
19055
|
column: 24
|
|
18978
19056
|
}
|
|
18979
19057
|
},
|
|
18980
19058
|
loc: {
|
|
18981
19059
|
start: {
|
|
18982
|
-
line:
|
|
19060
|
+
line: 129,
|
|
18983
19061
|
column: 29
|
|
18984
19062
|
},
|
|
18985
19063
|
end: {
|
|
18986
|
-
line:
|
|
19064
|
+
line: 129,
|
|
18987
19065
|
column: 54
|
|
18988
19066
|
}
|
|
18989
19067
|
},
|
|
18990
|
-
line:
|
|
19068
|
+
line: 129
|
|
18991
19069
|
},
|
|
18992
|
-
"
|
|
18993
|
-
name: "(
|
|
19070
|
+
"8": {
|
|
19071
|
+
name: "(anonymous_8)",
|
|
18994
19072
|
decl: {
|
|
18995
19073
|
start: {
|
|
18996
|
-
line:
|
|
19074
|
+
line: 157,
|
|
18997
19075
|
column: 21
|
|
18998
19076
|
},
|
|
18999
19077
|
end: {
|
|
19000
|
-
line:
|
|
19078
|
+
line: 157,
|
|
19001
19079
|
column: 22
|
|
19002
19080
|
}
|
|
19003
19081
|
},
|
|
19004
19082
|
loc: {
|
|
19005
19083
|
start: {
|
|
19006
|
-
line:
|
|
19084
|
+
line: 157,
|
|
19007
19085
|
column: 27
|
|
19008
19086
|
},
|
|
19009
19087
|
end: {
|
|
19010
|
-
line:
|
|
19088
|
+
line: 157,
|
|
19011
19089
|
column: 49
|
|
19012
19090
|
}
|
|
19013
19091
|
},
|
|
19014
|
-
line:
|
|
19092
|
+
line: 157
|
|
19015
19093
|
},
|
|
19016
|
-
"
|
|
19017
|
-
name: "(
|
|
19094
|
+
"9": {
|
|
19095
|
+
name: "(anonymous_9)",
|
|
19018
19096
|
decl: {
|
|
19019
19097
|
start: {
|
|
19020
|
-
line:
|
|
19098
|
+
line: 160,
|
|
19021
19099
|
column: 27
|
|
19022
19100
|
},
|
|
19023
19101
|
end: {
|
|
19024
|
-
line:
|
|
19102
|
+
line: 160,
|
|
19025
19103
|
column: 28
|
|
19026
19104
|
}
|
|
19027
19105
|
},
|
|
19028
19106
|
loc: {
|
|
19029
19107
|
start: {
|
|
19030
|
-
line:
|
|
19108
|
+
line: 160,
|
|
19031
19109
|
column: 33
|
|
19032
19110
|
},
|
|
19033
19111
|
end: {
|
|
19034
|
-
line:
|
|
19112
|
+
line: 160,
|
|
19035
19113
|
column: 55
|
|
19036
19114
|
}
|
|
19037
19115
|
},
|
|
19038
|
-
line:
|
|
19116
|
+
line: 160
|
|
19039
19117
|
},
|
|
19040
|
-
"
|
|
19041
|
-
name: "(
|
|
19118
|
+
"10": {
|
|
19119
|
+
name: "(anonymous_10)",
|
|
19042
19120
|
decl: {
|
|
19043
19121
|
start: {
|
|
19044
|
-
line:
|
|
19122
|
+
line: 178,
|
|
19045
19123
|
column: 17
|
|
19046
19124
|
},
|
|
19047
19125
|
end: {
|
|
19048
|
-
line:
|
|
19126
|
+
line: 178,
|
|
19049
19127
|
column: 18
|
|
19050
19128
|
}
|
|
19051
19129
|
},
|
|
19052
19130
|
loc: {
|
|
19053
19131
|
start: {
|
|
19054
|
-
line:
|
|
19132
|
+
line: 178,
|
|
19055
19133
|
column: 23
|
|
19056
19134
|
},
|
|
19057
19135
|
end: {
|
|
19058
|
-
line:
|
|
19136
|
+
line: 178,
|
|
19059
19137
|
column: 51
|
|
19060
19138
|
}
|
|
19061
19139
|
},
|
|
19062
|
-
line:
|
|
19140
|
+
line: 178
|
|
19063
19141
|
}
|
|
19064
19142
|
},
|
|
19065
19143
|
branchMap: {
|
|
@@ -19114,22 +19192,22 @@ function cov_1avu3clziw() {
|
|
|
19114
19192
|
"2": {
|
|
19115
19193
|
loc: {
|
|
19116
19194
|
start: {
|
|
19117
|
-
line:
|
|
19195
|
+
line: 57,
|
|
19118
19196
|
column: 4
|
|
19119
19197
|
},
|
|
19120
19198
|
end: {
|
|
19121
|
-
line:
|
|
19199
|
+
line: 61,
|
|
19122
19200
|
column: 5
|
|
19123
19201
|
}
|
|
19124
19202
|
},
|
|
19125
19203
|
type: "if",
|
|
19126
19204
|
locations: [{
|
|
19127
19205
|
start: {
|
|
19128
|
-
line:
|
|
19206
|
+
line: 57,
|
|
19129
19207
|
column: 4
|
|
19130
19208
|
},
|
|
19131
19209
|
end: {
|
|
19132
|
-
line:
|
|
19210
|
+
line: 61,
|
|
19133
19211
|
column: 5
|
|
19134
19212
|
}
|
|
19135
19213
|
}, {
|
|
@@ -19142,27 +19220,27 @@ function cov_1avu3clziw() {
|
|
|
19142
19220
|
column: undefined
|
|
19143
19221
|
}
|
|
19144
19222
|
}],
|
|
19145
|
-
line:
|
|
19223
|
+
line: 57
|
|
19146
19224
|
},
|
|
19147
19225
|
"3": {
|
|
19148
19226
|
loc: {
|
|
19149
19227
|
start: {
|
|
19150
|
-
line:
|
|
19228
|
+
line: 99,
|
|
19151
19229
|
column: 2
|
|
19152
19230
|
},
|
|
19153
19231
|
end: {
|
|
19154
|
-
line:
|
|
19232
|
+
line: 116,
|
|
19155
19233
|
column: 3
|
|
19156
19234
|
}
|
|
19157
19235
|
},
|
|
19158
19236
|
type: "if",
|
|
19159
19237
|
locations: [{
|
|
19160
19238
|
start: {
|
|
19161
|
-
line:
|
|
19239
|
+
line: 99,
|
|
19162
19240
|
column: 2
|
|
19163
19241
|
},
|
|
19164
19242
|
end: {
|
|
19165
|
-
line:
|
|
19243
|
+
line: 116,
|
|
19166
19244
|
column: 3
|
|
19167
19245
|
}
|
|
19168
19246
|
}, {
|
|
@@ -19175,172 +19253,172 @@ function cov_1avu3clziw() {
|
|
|
19175
19253
|
column: undefined
|
|
19176
19254
|
}
|
|
19177
19255
|
}],
|
|
19178
|
-
line:
|
|
19256
|
+
line: 99
|
|
19179
19257
|
},
|
|
19180
19258
|
"4": {
|
|
19181
19259
|
loc: {
|
|
19182
19260
|
start: {
|
|
19183
|
-
line:
|
|
19261
|
+
line: 102,
|
|
19184
19262
|
column: 9
|
|
19185
19263
|
},
|
|
19186
19264
|
end: {
|
|
19187
|
-
line:
|
|
19265
|
+
line: 113,
|
|
19188
19266
|
column: 9
|
|
19189
19267
|
}
|
|
19190
19268
|
},
|
|
19191
19269
|
type: "cond-expr",
|
|
19192
19270
|
locations: [{
|
|
19193
19271
|
start: {
|
|
19194
|
-
line:
|
|
19272
|
+
line: 103,
|
|
19195
19273
|
column: 10
|
|
19196
19274
|
},
|
|
19197
19275
|
end: {
|
|
19198
|
-
line:
|
|
19276
|
+
line: 108,
|
|
19199
19277
|
column: 16
|
|
19200
19278
|
}
|
|
19201
19279
|
}, {
|
|
19202
19280
|
start: {
|
|
19203
|
-
line:
|
|
19281
|
+
line: 110,
|
|
19204
19282
|
column: 10
|
|
19205
19283
|
},
|
|
19206
19284
|
end: {
|
|
19207
|
-
line:
|
|
19285
|
+
line: 112,
|
|
19208
19286
|
column: 16
|
|
19209
19287
|
}
|
|
19210
19288
|
}],
|
|
19211
|
-
line:
|
|
19289
|
+
line: 102
|
|
19212
19290
|
},
|
|
19213
19291
|
"5": {
|
|
19214
19292
|
loc: {
|
|
19215
19293
|
start: {
|
|
19216
|
-
line:
|
|
19294
|
+
line: 102,
|
|
19217
19295
|
column: 9
|
|
19218
19296
|
},
|
|
19219
19297
|
end: {
|
|
19220
|
-
line:
|
|
19298
|
+
line: 102,
|
|
19221
19299
|
column: 55
|
|
19222
19300
|
}
|
|
19223
19301
|
},
|
|
19224
19302
|
type: "binary-expr",
|
|
19225
19303
|
locations: [{
|
|
19226
19304
|
start: {
|
|
19227
|
-
line:
|
|
19305
|
+
line: 102,
|
|
19228
19306
|
column: 9
|
|
19229
19307
|
},
|
|
19230
19308
|
end: {
|
|
19231
|
-
line:
|
|
19309
|
+
line: 102,
|
|
19232
19310
|
column: 29
|
|
19233
19311
|
}
|
|
19234
19312
|
}, {
|
|
19235
19313
|
start: {
|
|
19236
|
-
line:
|
|
19314
|
+
line: 102,
|
|
19237
19315
|
column: 33
|
|
19238
19316
|
},
|
|
19239
19317
|
end: {
|
|
19240
|
-
line:
|
|
19318
|
+
line: 102,
|
|
19241
19319
|
column: 55
|
|
19242
19320
|
}
|
|
19243
19321
|
}],
|
|
19244
|
-
line:
|
|
19322
|
+
line: 102
|
|
19245
19323
|
},
|
|
19246
19324
|
"6": {
|
|
19247
19325
|
loc: {
|
|
19248
19326
|
start: {
|
|
19249
|
-
line:
|
|
19327
|
+
line: 120,
|
|
19250
19328
|
column: 7
|
|
19251
19329
|
},
|
|
19252
19330
|
end: {
|
|
19253
|
-
line:
|
|
19331
|
+
line: 175,
|
|
19254
19332
|
column: 7
|
|
19255
19333
|
}
|
|
19256
19334
|
},
|
|
19257
19335
|
type: "cond-expr",
|
|
19258
19336
|
locations: [{
|
|
19259
19337
|
start: {
|
|
19260
|
-
line:
|
|
19338
|
+
line: 121,
|
|
19261
19339
|
column: 8
|
|
19262
19340
|
},
|
|
19263
19341
|
end: {
|
|
19264
|
-
line:
|
|
19342
|
+
line: 168,
|
|
19265
19343
|
column: 14
|
|
19266
19344
|
}
|
|
19267
19345
|
}, {
|
|
19268
19346
|
start: {
|
|
19269
|
-
line:
|
|
19347
|
+
line: 170,
|
|
19270
19348
|
column: 8
|
|
19271
19349
|
},
|
|
19272
19350
|
end: {
|
|
19273
|
-
line:
|
|
19351
|
+
line: 174,
|
|
19274
19352
|
column: 10
|
|
19275
19353
|
}
|
|
19276
19354
|
}],
|
|
19277
|
-
line:
|
|
19355
|
+
line: 120
|
|
19278
19356
|
},
|
|
19279
19357
|
"7": {
|
|
19280
19358
|
loc: {
|
|
19281
19359
|
start: {
|
|
19282
|
-
line:
|
|
19360
|
+
line: 147,
|
|
19283
19361
|
column: 24
|
|
19284
19362
|
},
|
|
19285
19363
|
end: {
|
|
19286
|
-
line:
|
|
19364
|
+
line: 147,
|
|
19287
19365
|
column: 73
|
|
19288
19366
|
}
|
|
19289
19367
|
},
|
|
19290
19368
|
type: "binary-expr",
|
|
19291
19369
|
locations: [{
|
|
19292
19370
|
start: {
|
|
19293
|
-
line:
|
|
19371
|
+
line: 147,
|
|
19294
19372
|
column: 24
|
|
19295
19373
|
},
|
|
19296
19374
|
end: {
|
|
19297
|
-
line:
|
|
19375
|
+
line: 147,
|
|
19298
19376
|
column: 52
|
|
19299
19377
|
}
|
|
19300
19378
|
}, {
|
|
19301
19379
|
start: {
|
|
19302
|
-
line:
|
|
19380
|
+
line: 147,
|
|
19303
19381
|
column: 56
|
|
19304
19382
|
},
|
|
19305
19383
|
end: {
|
|
19306
|
-
line:
|
|
19384
|
+
line: 147,
|
|
19307
19385
|
column: 73
|
|
19308
19386
|
}
|
|
19309
19387
|
}],
|
|
19310
|
-
line:
|
|
19388
|
+
line: 147
|
|
19311
19389
|
},
|
|
19312
19390
|
"8": {
|
|
19313
19391
|
loc: {
|
|
19314
19392
|
start: {
|
|
19315
|
-
line:
|
|
19393
|
+
line: 164,
|
|
19316
19394
|
column: 16
|
|
19317
19395
|
},
|
|
19318
19396
|
end: {
|
|
19319
|
-
line:
|
|
19397
|
+
line: 164,
|
|
19320
19398
|
column: 73
|
|
19321
19399
|
}
|
|
19322
19400
|
},
|
|
19323
19401
|
type: "cond-expr",
|
|
19324
19402
|
locations: [{
|
|
19325
19403
|
start: {
|
|
19326
|
-
line:
|
|
19404
|
+
line: 164,
|
|
19327
19405
|
column: 47
|
|
19328
19406
|
},
|
|
19329
19407
|
end: {
|
|
19330
|
-
line:
|
|
19408
|
+
line: 164,
|
|
19331
19409
|
column: 60
|
|
19332
19410
|
}
|
|
19333
19411
|
}, {
|
|
19334
19412
|
start: {
|
|
19335
|
-
line:
|
|
19413
|
+
line: 164,
|
|
19336
19414
|
column: 63
|
|
19337
19415
|
},
|
|
19338
19416
|
end: {
|
|
19339
|
-
line:
|
|
19417
|
+
line: 164,
|
|
19340
19418
|
column: 73
|
|
19341
19419
|
}
|
|
19342
19420
|
}],
|
|
19343
|
-
line:
|
|
19421
|
+
line: 164
|
|
19344
19422
|
}
|
|
19345
19423
|
},
|
|
19346
19424
|
s: {
|
|
@@ -19381,7 +19459,12 @@ function cov_1avu3clziw() {
|
|
|
19381
19459
|
"34": 0,
|
|
19382
19460
|
"35": 0,
|
|
19383
19461
|
"36": 0,
|
|
19384
|
-
"37": 0
|
|
19462
|
+
"37": 0,
|
|
19463
|
+
"38": 0,
|
|
19464
|
+
"39": 0,
|
|
19465
|
+
"40": 0,
|
|
19466
|
+
"41": 0,
|
|
19467
|
+
"42": 0
|
|
19385
19468
|
},
|
|
19386
19469
|
f: {
|
|
19387
19470
|
"0": 0,
|
|
@@ -19393,7 +19476,8 @@ function cov_1avu3clziw() {
|
|
|
19393
19476
|
"6": 0,
|
|
19394
19477
|
"7": 0,
|
|
19395
19478
|
"8": 0,
|
|
19396
|
-
"9": 0
|
|
19479
|
+
"9": 0,
|
|
19480
|
+
"10": 0
|
|
19397
19481
|
},
|
|
19398
19482
|
b: {
|
|
19399
19483
|
"0": [0],
|
|
@@ -19407,7 +19491,7 @@ function cov_1avu3clziw() {
|
|
|
19407
19491
|
"8": [0, 0]
|
|
19408
19492
|
},
|
|
19409
19493
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
19410
|
-
hash: "
|
|
19494
|
+
hash: "dfb1bddf6ad2d106cc08375435d345426efb0acc"
|
|
19411
19495
|
};
|
|
19412
19496
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
19413
19497
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -19496,23 +19580,35 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19496
19580
|
setIsEditorOpen(false);
|
|
19497
19581
|
};
|
|
19498
19582
|
cov_1avu3clziw().s[20]++;
|
|
19499
|
-
var
|
|
19583
|
+
var handleImageSelectionFromLibrary = function handleImageSelectionFromLibrary(image) {
|
|
19500
19584
|
cov_1avu3clziw().f[4]++;
|
|
19501
19585
|
cov_1avu3clziw().s[21]++;
|
|
19586
|
+
setImage(image);
|
|
19587
|
+
cov_1avu3clziw().s[22]++;
|
|
19588
|
+
onChange(image);
|
|
19589
|
+
cov_1avu3clziw().s[23]++;
|
|
19590
|
+
setSignedId(image.signedId);
|
|
19591
|
+
cov_1avu3clziw().s[24]++;
|
|
19592
|
+
setIsEditorOpen(false);
|
|
19593
|
+
};
|
|
19594
|
+
cov_1avu3clziw().s[25]++;
|
|
19595
|
+
var handleUplaodComplete = function handleUplaodComplete(image) {
|
|
19596
|
+
cov_1avu3clziw().f[5]++;
|
|
19597
|
+
cov_1avu3clziw().s[26]++;
|
|
19502
19598
|
if (IS_DEVELOPMENT_OR_HEROKU_ENV) {
|
|
19503
19599
|
cov_1avu3clziw().b[2][0]++;
|
|
19504
|
-
cov_1avu3clziw().s[
|
|
19600
|
+
cov_1avu3clziw().s[27]++;
|
|
19505
19601
|
handleSuccess(ramda.mergeRight(image, {
|
|
19506
19602
|
metadata: {
|
|
19507
19603
|
url: image.url
|
|
19508
19604
|
}
|
|
19509
19605
|
}));
|
|
19510
|
-
cov_1avu3clziw().s[
|
|
19606
|
+
cov_1avu3clziw().s[28]++;
|
|
19511
19607
|
return;
|
|
19512
19608
|
} else {
|
|
19513
19609
|
cov_1avu3clziw().b[2][1]++;
|
|
19514
19610
|
}
|
|
19515
|
-
var payload = (cov_1avu3clziw().s[
|
|
19611
|
+
var payload = (cov_1avu3clziw().s[29]++, {
|
|
19516
19612
|
filename: image.name,
|
|
19517
19613
|
byte_size: image.size,
|
|
19518
19614
|
content_type: image.fileType,
|
|
@@ -19520,13 +19616,13 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19520
19616
|
metadata: image,
|
|
19521
19617
|
service_name: "imagekitio"
|
|
19522
19618
|
});
|
|
19523
|
-
cov_1avu3clziw().s[
|
|
19619
|
+
cov_1avu3clziw().s[30]++;
|
|
19524
19620
|
createBlob(payload, {
|
|
19525
19621
|
onSuccess: handleSuccess,
|
|
19526
19622
|
onError: neetoui.Toastr.error
|
|
19527
19623
|
});
|
|
19528
19624
|
};
|
|
19529
|
-
cov_1avu3clziw().s[
|
|
19625
|
+
cov_1avu3clziw().s[31]++;
|
|
19530
19626
|
var handleEdit = /*#__PURE__*/function () {
|
|
19531
19627
|
var _ref16 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref15) {
|
|
19532
19628
|
var url, payload;
|
|
@@ -19534,8 +19630,8 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19534
19630
|
while (1) switch (_context.prev = _context.next) {
|
|
19535
19631
|
case 0:
|
|
19536
19632
|
url = _ref15.url;
|
|
19537
|
-
cov_1avu3clziw().f[
|
|
19538
|
-
payload = (cov_1avu3clziw().s[
|
|
19633
|
+
cov_1avu3clziw().f[6]++;
|
|
19634
|
+
payload = (cov_1avu3clziw().s[32]++, {
|
|
19539
19635
|
id: signedId,
|
|
19540
19636
|
payload: {
|
|
19541
19637
|
service_name: "imagekitio",
|
|
@@ -19544,12 +19640,12 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19544
19640
|
}
|
|
19545
19641
|
}
|
|
19546
19642
|
});
|
|
19547
|
-
cov_1avu3clziw().s[
|
|
19643
|
+
cov_1avu3clziw().s[33]++;
|
|
19548
19644
|
updateBlob(payload, {
|
|
19549
19645
|
onSuccess: handleSuccess,
|
|
19550
19646
|
onError: neetoui.Toastr.error
|
|
19551
19647
|
});
|
|
19552
|
-
cov_1avu3clziw().s[
|
|
19648
|
+
cov_1avu3clziw().s[34]++;
|
|
19553
19649
|
setIsEditorOpen(false);
|
|
19554
19650
|
case 7:
|
|
19555
19651
|
case "end":
|
|
@@ -19561,20 +19657,20 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19561
19657
|
return _ref16.apply(this, arguments);
|
|
19562
19658
|
};
|
|
19563
19659
|
}();
|
|
19564
|
-
var _ref17 = (cov_1avu3clziw().s[
|
|
19660
|
+
var _ref17 = (cov_1avu3clziw().s[35]++, useDropzoneWithValidation({
|
|
19565
19661
|
maxSize: MAX_IMAGE_SIZE,
|
|
19566
19662
|
acceptedTypes: ALLOWED_IMAGE_TYPES,
|
|
19567
|
-
onUploadComplete:
|
|
19663
|
+
onUploadComplete: handleUplaodComplete,
|
|
19568
19664
|
setIsUploading: setIsUploading
|
|
19569
19665
|
})),
|
|
19570
19666
|
getRootProps = _ref17.getRootProps,
|
|
19571
19667
|
getInputProps = _ref17.getInputProps,
|
|
19572
19668
|
uploadProgress = _ref17.uploadProgress,
|
|
19573
19669
|
inputRef = _ref17.inputRef;
|
|
19574
|
-
cov_1avu3clziw().s[
|
|
19670
|
+
cov_1avu3clziw().s[36]++;
|
|
19575
19671
|
if (isUploading) {
|
|
19576
19672
|
cov_1avu3clziw().b[3][0]++;
|
|
19577
|
-
cov_1avu3clziw().s[
|
|
19673
|
+
cov_1avu3clziw().s[37]++;
|
|
19578
19674
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19579
19675
|
className: className
|
|
19580
19676
|
}, (cov_1avu3clziw().b[5][0]++, uploadProgress !== 0) && (cov_1avu3clziw().b[5][1]++, uploadProgress !== 100) ? (cov_1avu3clziw().b[4][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -19588,7 +19684,7 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19588
19684
|
} else {
|
|
19589
19685
|
cov_1avu3clziw().b[3][1]++;
|
|
19590
19686
|
}
|
|
19591
|
-
cov_1avu3clziw().s[
|
|
19687
|
+
cov_1avu3clziw().s[38]++;
|
|
19592
19688
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19593
19689
|
className: className
|
|
19594
19690
|
}, isNotNilOrEmpty(image.url) ? (cov_1avu3clziw().b[6][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -19605,8 +19701,8 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19605
19701
|
style: "link",
|
|
19606
19702
|
onClick: function onClick() {
|
|
19607
19703
|
var _inputRef$current;
|
|
19608
|
-
cov_1avu3clziw().f[
|
|
19609
|
-
cov_1avu3clziw().s[
|
|
19704
|
+
cov_1avu3clziw().f[7]++;
|
|
19705
|
+
cov_1avu3clziw().s[39]++;
|
|
19610
19706
|
return (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.click();
|
|
19611
19707
|
}
|
|
19612
19708
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -19634,19 +19730,19 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19634
19730
|
isOpen: isEditorOpen,
|
|
19635
19731
|
size: "large",
|
|
19636
19732
|
onClose: function onClose() {
|
|
19637
|
-
cov_1avu3clziw().f[
|
|
19638
|
-
cov_1avu3clziw().s[
|
|
19733
|
+
cov_1avu3clziw().f[8]++;
|
|
19734
|
+
cov_1avu3clziw().s[40]++;
|
|
19639
19735
|
return setIsEditorOpen(false);
|
|
19640
19736
|
}
|
|
19641
19737
|
}, /*#__PURE__*/React__default["default"].createElement(ImageEditor, {
|
|
19642
19738
|
handleReset: function handleReset() {
|
|
19643
|
-
cov_1avu3clziw().f[
|
|
19644
|
-
cov_1avu3clziw().s[
|
|
19739
|
+
cov_1avu3clziw().f[9]++;
|
|
19740
|
+
cov_1avu3clziw().s[41]++;
|
|
19645
19741
|
return setIsEditorOpen(false);
|
|
19646
19742
|
},
|
|
19647
19743
|
image: image,
|
|
19648
19744
|
signedId: signedId,
|
|
19649
|
-
|
|
19745
|
+
handleImageEditComplete: IS_DEVELOPMENT_OR_HEROKU_ENV ? (cov_1avu3clziw().b[8][0]++, handleSuccess) : (cov_1avu3clziw().b[8][1]++, handleEdit)
|
|
19650
19746
|
})))) : (cov_1avu3clziw().b[6][1]++, /*#__PURE__*/React__default["default"].createElement(ImageUpload, {
|
|
19651
19747
|
getInputProps: getInputProps,
|
|
19652
19748
|
getRootProps: getRootProps,
|
|
@@ -19654,11 +19750,11 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19654
19750
|
})), /*#__PURE__*/React__default["default"].createElement(Modal, {
|
|
19655
19751
|
isOpen: isAssetLibraryOpen,
|
|
19656
19752
|
onClose: function onClose() {
|
|
19657
|
-
cov_1avu3clziw().f[
|
|
19658
|
-
cov_1avu3clziw().s[
|
|
19753
|
+
cov_1avu3clziw().f[10]++;
|
|
19754
|
+
cov_1avu3clziw().s[42]++;
|
|
19659
19755
|
return setIsAssetLibraryOpen(false);
|
|
19660
19756
|
},
|
|
19661
|
-
onUploadComplete:
|
|
19757
|
+
onUploadComplete: handleImageSelectionFromLibrary
|
|
19662
19758
|
}));
|
|
19663
19759
|
};
|
|
19664
19760
|
|