277 lines
12 KiB
JavaScript
277 lines
12 KiB
JavaScript
// Module ID: 1757
|
|
// Function ID: 1758
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [32, 41, 42, 93, 95, 98, 1704]
|
|
|
|
// Module 1757 (_isNativeReflectConstruct)
|
|
import RollOutRight from "_slicedToArray";
|
|
import _classCallCheck from "_classCallCheck";
|
|
import importDefaultResult from "_createClass";
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
import importDefaultResult1 from "_inherits";
|
|
|
|
function _isNativeReflectConstruct() {
|
|
try {
|
|
const _Boolean = Boolean;
|
|
const call = valueOf.call;
|
|
const _Reflect = Reflect;
|
|
const _Boolean2 = Boolean;
|
|
if (typeof call === "unknown") {
|
|
let callResult = valueOf();
|
|
} else {
|
|
callResult = call(constructResult);
|
|
}
|
|
let closure_0 = !callResult;
|
|
function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
}
|
|
return _isNativeReflectConstruct();
|
|
} catch (err) {
|
|
}
|
|
}
|
|
let closure_5 = { code: "function pnpm_RollTs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:-values.windowWidth},{rotate:'-180deg'}],...initialValues},callback:callback};}" };
|
|
class RollInLeft {
|
|
constructor() {
|
|
self = this;
|
|
items = [...arguments];
|
|
apply = undefined;
|
|
tmp = _isNativeReflectConstruct(this, apply);
|
|
items1 = [...items];
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(apply);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp5 = globalThis;
|
|
_Reflect = Reflect;
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
} else {
|
|
constructResult = obj.apply(self, items1);
|
|
}
|
|
tmp3Result = tmp3(self, constructResult);
|
|
apply = tmp3Result;
|
|
tmp3Result.build = () => {
|
|
delayFunction = delayFunction.getDelayFunction();
|
|
const tmp2 = _undefined(delayFunction.getAnimationAndConfig(), 2);
|
|
const first = tmp2[0];
|
|
let _possibleConstructorReturn = tmp4;
|
|
const delay = delayFunction.getDelay();
|
|
const callbackV = delayFunction.callbackV;
|
|
const initialValues = delayFunction.initialValues;
|
|
const fn = function n(translateX) {
|
|
let obj = { animations: null, initialValues: null, callback: null };
|
|
obj = { transform: null };
|
|
obj = { translateX: delayFunction(delay, first(0, _possibleConstructorReturn)) };
|
|
const items = [obj, { rotate: delayFunction(delay, first("0deg", _possibleConstructorReturn)) }];
|
|
obj[0] = items;
|
|
obj[0] = obj;
|
|
const items1 = [{ translateX: -translateX.windowWidth }, { rotate: "-180deg" }];
|
|
const merged = Object.assign(initialValues);
|
|
obj[1] = { transform: items1 };
|
|
obj[2] = callbackV;
|
|
return obj;
|
|
};
|
|
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
|
|
fn.__workletHash = 16303599954051;
|
|
fn.__initData = outer1_5;
|
|
return fn;
|
|
};
|
|
return tmp3Result;
|
|
}
|
|
}
|
|
RollOutRight = RollInLeft;
|
|
importDefaultResult1(RollInLeft, require("BaseAnimationBuilder").ComplexAnimationBuilder);
|
|
let obj = {
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
return RollOutRight();
|
|
}
|
|
};
|
|
let items = [obj];
|
|
const importDefaultResultResult = importDefaultResult(RollInLeft, null, items);
|
|
importDefaultResultResult.presetName = "RollInLeft";
|
|
let closure_6 = { code: "function pnpm_RollTs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:values.windowWidth},{rotate:'180deg'}],...initialValues},callback:callback};}" };
|
|
class RollInRight {
|
|
constructor() {
|
|
self = this;
|
|
items = [...arguments];
|
|
apply = undefined;
|
|
tmp = _isNativeReflectConstruct(this, apply);
|
|
items1 = [...items];
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(apply);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp5 = globalThis;
|
|
_Reflect = Reflect;
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
} else {
|
|
constructResult = obj.apply(self, items1);
|
|
}
|
|
tmp3Result = tmp3(self, constructResult);
|
|
apply = tmp3Result;
|
|
tmp3Result.build = () => {
|
|
delayFunction = delayFunction.getDelayFunction();
|
|
const tmp2 = _undefined(delayFunction.getAnimationAndConfig(), 2);
|
|
const first = tmp2[0];
|
|
let _possibleConstructorReturn = tmp4;
|
|
const delay = delayFunction.getDelay();
|
|
const callbackV = delayFunction.callbackV;
|
|
const initialValues = delayFunction.initialValues;
|
|
const fn = function n(translateX) {
|
|
let obj = { animations: null, initialValues: null, callback: null };
|
|
obj = { transform: null };
|
|
obj = { translateX: delayFunction(delay, first(0, _possibleConstructorReturn)) };
|
|
const items = [obj, { rotate: delayFunction(delay, first("0deg", _possibleConstructorReturn)) }];
|
|
obj[0] = items;
|
|
obj[0] = obj;
|
|
const items1 = [{ translateX: translateX.windowWidth }, { rotate: "180deg" }];
|
|
const merged = Object.assign(initialValues);
|
|
obj[1] = { transform: items1 };
|
|
obj[2] = callbackV;
|
|
return obj;
|
|
};
|
|
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
|
|
fn.__workletHash = 514820713152;
|
|
fn.__initData = outer1_6;
|
|
return fn;
|
|
};
|
|
return tmp3Result;
|
|
}
|
|
}
|
|
RollOutRight = RollInRight;
|
|
importDefaultResult1(RollInRight, require("BaseAnimationBuilder").ComplexAnimationBuilder);
|
|
obj = {
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
return RollOutRight();
|
|
}
|
|
};
|
|
let items1 = [obj];
|
|
const importDefaultResultResult1 = importDefaultResult(RollInRight, null, items1);
|
|
importDefaultResultResult1.presetName = "RollInRight";
|
|
let closure_7 = { code: "function pnpm_RollTs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{rotate:delayFunction(delay,animation('-180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}" };
|
|
class RollOutLeft {
|
|
constructor() {
|
|
self = this;
|
|
items = [...arguments];
|
|
apply = undefined;
|
|
tmp = _isNativeReflectConstruct(this, apply);
|
|
items1 = [...items];
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(apply);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp5 = globalThis;
|
|
_Reflect = Reflect;
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
} else {
|
|
constructResult = obj.apply(self, items1);
|
|
}
|
|
tmp3Result = tmp3(self, constructResult);
|
|
apply = tmp3Result;
|
|
tmp3Result.build = () => {
|
|
delayFunction = delayFunction.getDelayFunction();
|
|
const tmp2 = _undefined(delayFunction.getAnimationAndConfig(), 2);
|
|
const first = tmp2[0];
|
|
let _possibleConstructorReturn = tmp4;
|
|
const delay = delayFunction.getDelay();
|
|
const callbackV = delayFunction.callbackV;
|
|
const initialValues = delayFunction.initialValues;
|
|
const fn = function n(windowWidth) {
|
|
let obj = { animations: null, initialValues: null, callback: null };
|
|
obj = { transform: null };
|
|
obj = { translateX: delayFunction(delay, first(-windowWidth.windowWidth, _possibleConstructorReturn)) };
|
|
const items = [obj, { rotate: delayFunction(delay, first("-180deg", _possibleConstructorReturn)) }];
|
|
obj[0] = items;
|
|
obj[0] = obj;
|
|
const items1 = [{ translateX: 0 }, { rotate: "0deg" }];
|
|
const merged = Object.assign(initialValues);
|
|
obj[1] = { transform: items1 };
|
|
obj[2] = callbackV;
|
|
return obj;
|
|
};
|
|
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
|
|
fn.__workletHash = 1569061887041;
|
|
fn.__initData = outer1_7;
|
|
return fn;
|
|
};
|
|
return tmp3Result;
|
|
}
|
|
}
|
|
RollOutRight = RollOutLeft;
|
|
importDefaultResult1(RollOutLeft, require("BaseAnimationBuilder").ComplexAnimationBuilder);
|
|
obj = {
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
return RollOutRight();
|
|
}
|
|
};
|
|
const items2 = [obj];
|
|
const importDefaultResultResult2 = importDefaultResult(RollOutLeft, null, items2);
|
|
importDefaultResultResult2.presetName = "RollOutLeft";
|
|
let closure_8 = { code: "function pnpm_RollTs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{rotate:delayFunction(delay,animation('180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}" };
|
|
class RollOutRight {
|
|
constructor() {
|
|
self = this;
|
|
items = [...arguments];
|
|
apply = undefined;
|
|
tmp = _isNativeReflectConstruct(this, apply);
|
|
items1 = [...items];
|
|
tmp2 = _isNativeReflectConstruct;
|
|
obj = _isNativeReflectConstruct(apply);
|
|
tmp3 = _isNativeReflectConstruct;
|
|
if (_isNativeReflectConstruct()) {
|
|
tmp5 = globalThis;
|
|
_Reflect = Reflect;
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
} else {
|
|
constructResult = obj.apply(self, items1);
|
|
}
|
|
tmp3Result = tmp3(self, constructResult);
|
|
apply = tmp3Result;
|
|
tmp3Result.build = () => {
|
|
delayFunction = delayFunction.getDelayFunction();
|
|
const tmp2 = _undefined(delayFunction.getAnimationAndConfig(), 2);
|
|
const first = tmp2[0];
|
|
let _possibleConstructorReturn = tmp4;
|
|
const delay = delayFunction.getDelay();
|
|
const callbackV = delayFunction.callbackV;
|
|
const initialValues = delayFunction.initialValues;
|
|
const fn = function n(windowWidth) {
|
|
let obj = { animations: null, initialValues: null, callback: null };
|
|
obj = { transform: null };
|
|
obj = { translateX: delayFunction(delay, first(windowWidth.windowWidth, _possibleConstructorReturn)) };
|
|
const items = [obj, { rotate: delayFunction(delay, first("180deg", _possibleConstructorReturn)) }];
|
|
obj[0] = items;
|
|
obj[0] = obj;
|
|
const items1 = [{ translateX: 0 }, { rotate: "0deg" }];
|
|
const merged = Object.assign(initialValues);
|
|
obj[1] = { transform: items1 };
|
|
obj[2] = callbackV;
|
|
return obj;
|
|
};
|
|
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
|
|
fn.__workletHash = 9663216530406;
|
|
fn.__initData = outer1_8;
|
|
return fn;
|
|
};
|
|
return tmp3Result;
|
|
}
|
|
}
|
|
importDefaultResult1(RollOutRight, require("BaseAnimationBuilder").ComplexAnimationBuilder);
|
|
const items3 = [
|
|
{
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
return RollOutRight();
|
|
}
|
|
}
|
|
];
|
|
const importDefaultResultResult3 = importDefaultResult(RollOutRight, null, items3);
|
|
importDefaultResultResult3.presetName = "RollOutRight";
|
|
|
|
export const RollInLeft = importDefaultResultResult;
|
|
export const RollInRight = importDefaultResultResult1;
|
|
export const RollOutLeft = importDefaultResultResult2;
|
|
export const RollOutRight = importDefaultResultResult3;
|