import { ANIMATIONS } from './common';
const SLIDE_IN_DEFAULT = {
    easing: 'cubic-bezier(0.250, 0.460, 0.450, 0.940)',
    fillMode: 'both',
};
const SLIDE_IN_TOP = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(-100vh)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0)', opacity: 1 })
];
const SLIDE_IN_TR = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(-100vh) translateX(100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0) translateX(0)', opacity: 1 })
];
const SLIDE_IN_RIGHT = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateX(100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateX(0)', opacity: 1 })
];
const SLIDE_IN_BR = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(100vh) translateX(100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0) translateX(0)', opacity: 1 })
];
const SLIDE_IN_BOTTOM = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(100vh)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0)', opacity: 1 })
];
const SLIDE_IN_BL = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(100vh) translateX(-100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0) translateX(0)', opacity: 1 })
];
const SLIDE_IN_LEFT = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateX(-100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateX(0)', opacity: 1 })
];
const SLIDE_IN_TL = [
    Object.assign(Object.assign({ offset: 0 }, SLIDE_IN_DEFAULT), { transform: 'translateY(-100vh) translateX(-100vw)', opacity: 0 }),
    Object.assign(Object.assign({ offset: 1 }, SLIDE_IN_DEFAULT), { transform: 'translateY(0) translateX(0)', opacity: 1 })
];
export default {
    [ANIMATIONS.SLIDE_IN_TOP]: SLIDE_IN_TOP,
    [ANIMATIONS.SLIDE_IN_TR]: SLIDE_IN_TR,
    [ANIMATIONS.SLIDE_IN_RIGHT]: SLIDE_IN_RIGHT,
    [ANIMATIONS.SLIDE_IN_BR]: SLIDE_IN_BR,
    [ANIMATIONS.SLIDE_IN_BOTTOM]: SLIDE_IN_BOTTOM,
    [ANIMATIONS.SLIDE_IN_BL]: SLIDE_IN_BL,
    [ANIMATIONS.SLIDE_IN_LEFT]: SLIDE_IN_LEFT,
    [ANIMATIONS.SLIDE_IN_TL]: SLIDE_IN_TL
};
//# sourceMappingURL=slide-in.js.map