"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getItemAnimator = exports.getFooterContainer = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
var _reactNative = require("react-native");
var _DefaultJSItemAnimator = require("recyclerlistview/src/platform/reactnative/itemanimators/defaultjsanimator/DefaultJSItemAnimator");
// @ts-nocheck

const PlatformConfig = {
  defaultDrawDistance: 2000,
  invertedTransformStyle: {
    transform: [{
      scaleY: -1
    }]
  },
  invertedTransformStyleHorizontal: {
    transform: [{
      scaleX: -1
    }]
  }
};
exports.PlatformConfig = PlatformConfig;
const getCellContainerPlatformStyles = (inverted, parentProps) => {
  const transformValue = `translate(${parentProps.x}px,${parentProps.y}px)${inverted ? ` ${parentProps.isHorizontal ? `scaleX` : `scaleY`}(-1)` : ``}`;
  return {
    transform: transformValue,
    WebkitTransform: transformValue
  };
};
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
const getItemAnimator = () => {
  return new _DefaultJSItemAnimator.DefaultJSItemAnimator();
};
exports.getItemAnimator = getItemAnimator;
const getFooterContainer = () => {
  return _reactNative.View;
};
exports.getFooterContainer = getFooterContainer;
//# sourceMappingURL=PlatformHelper.web.js.map