Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// loadMoreButtonColor: startWithOpacity: '1', startWithColor: 'color-1'
loadMoreButtonBorderWidth: 1,
// loadMoreButtonBorderColor: startWithColor: 'color-5'
loadMoreButtonBorderRadius: 0,
imageInfoType: Consts.infoType.NO_BACKGROUND,
itemBorderWidth: 0,
// itemBorderColor: 'color-5'
itemBorderRadius: 0,
itemEnableShadow: false,
// itemShadowOpacityAndColor: startWithColor: 'color-5', startWithOpacity: 0.2
itemShadowBlur: 20,
itemShadowDirection: 135,
itemShadowSize: 10,
imageLoadingMode: Consts.loadingMode.BLUR,
// imageLoadingColor: startWithColor: 'color-3'
expandAnimation: Consts.expandAnimations.NO_EFFECT,
// oneColorAnimationColor: startWithColor: 'color-1',
imageQuality: 90,
usmToggle: false,
usm_a: 0,
usm_r: 0,
usm_t: 0,
videoSound: false,
videoSpeed: '1',
videoLoop: true,
};
export function formatValue(val) {
if (Number(val) === parseInt(val)) {
return Number(val);
} else if (val === 'true') {