Files
2026-07-28 01:06:53 +03:00

487 lines
24 KiB
JavaScript

/* Metro module 1662; source: unknown; dependencies: [57, 1663] */
import Module00057 from './module-00057.js'; /* Metro dependency 57 */
import * as BezierModule from './module-01663-Bezier.js'; /* Metro dependency 1663 */
function _fun18264(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18264, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:6, offset: 0x00e845a2, size: 829 bytes, params: 8, frame: 35
var object2;
var value20;
var property;
var property2;
var object;
var error;
const env0_0 = require;
let Object = global.Object;
let defineProperty = Object.defineProperty;
Reflect.apply(defineProperty, Object, [exports, '__esModule', {value: true}]);
object2 = {code: 'function linear_Pnpm_EasingTs1(t){return t;}'};
const value2 = _fun18265();
object2 = {code: 'function ease_Pnpm_EasingTs2(t){const{Bezier}=this.__closure;return Bezier(0.42,0,1,1)(t);}'};
const value3 = _fun18267();
object2 = {code: 'function quad_Pnpm_EasingTs3(t){return t*t;}'};
const value4 = _fun18269();
object2 = {code: 'function cubic_Pnpm_EasingTs4(t){return t*t*t;}'};
const value5 = _fun18271();
object2 = {code: "function poly_Pnpm_EasingTs5(n){return function(t){'worklet';return Math.pow(t,n);};}"};
object2 = {code: 'function pnpm_EasingTs6(t){const{n}=this.__closure;return Math.pow(t,n);}'};
const value6 = _fun18273();
object2 = {code: 'function sin_Pnpm_EasingTs7(t){return 1-Math.cos(t*Math.PI/2);}'};
const value7 = _fun18276();
object2 = {code: 'function circle_Pnpm_EasingTs8(t){return 1-Math.sqrt(1-t*t);}'};
const value8 = _fun18278();
object2 = {code: 'function exp_Pnpm_EasingTs9(t){return Math.pow(2,10*(t-1));}'};
const value9 = _fun18280();
object2 = {code: "function elastic_Pnpm_EasingTs10(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}"};
object2 = {code: 'function pnpm_EasingTs11(t){const{p}=this.__closure;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}'};
const value10 = _fun18282();
object2 = {code: "function back_Pnpm_EasingTs12(s=1.70158){return function(t){'worklet';return t*t*((s+1)*t-s);};}"};
object2 = {code: 'function pnpm_EasingTs13(t){const{s}=this.__closure;return t*t*((s+1)*t-s);}'};
const value11 = _fun18285();
object2 = {code: 'function bounce_Pnpm_EasingTs14(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}'};
const value12 = _fun18288();
object2 = {code: "function bezier_Pnpm_EasingTs15(x1,y1,x2,y2){const{Bezier}=this.__closure;return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}"};
object2 = {code: 'function pnpm_EasingTs16(){const{Bezier,x1,y1,x2,y2}=this.__closure;return Bezier(x1,y1,x2,y2);}'};
const value13 = _fun18290();
object2 = {code: 'function bezierFn_Pnpm_EasingTs17(x1,y1,x2,y2){const{Bezier}=this.__closure;return Bezier(x1,y1,x2,y2);}'};
const value14 = _fun18293();
object2 = {code: 'function in__Pnpm_EasingTs18(easing){return easing;}'};
const value15 = _fun18295();
object2 = {code: "function out_Pnpm_EasingTs19(easing){return function(t){'worklet';return 1-easing(1-t);};}"};
object2 = {code: 'function pnpm_EasingTs20(t){const{easing}=this.__closure;return 1-easing(1-t);}'};
const value16 = _fun18297();
object2 = {code: "function inOut_Pnpm_EasingTs21(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}"};
object2 = {code: 'function pnpm_EasingTs22(t){const{easing}=this.__closure;if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}'};
const value17 = _fun18300();
object2 = {code: "function steps_Pnpm_EasingTs23(n=10,roundToNextStep=true){return function(t){'worklet';const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;};}"};
object2 = {code: 'function pnpm_EasingTs24(t){const{n,roundToNextStep}=this.__closure;const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;}'};
object2 = {linear: value2, ease: value3, quad: value4, cubic: value5, poly: value6, sin: value7, circle: value8,
exp: value9, elastic: value10, back: value11, bounce: value12, bezier: value13, bezierFn: value14,
steps: _fun18303(), in: value15, out: value16, inOut: value17};
const Symbol = global.Symbol;
const value19 = Symbol('easingName');
Object = global.Object;
const iterator = Object.entries(object2)[Symbol.iterator]();
const iterator2 = iterator.next;
let r5 = iterator;
let item2 = Reflect.apply(iterator2, r5, []);
let item = item2.value;
item2 = item2.done ? undefined : r5;
reducibleJoin2: while (true) {
if (item2 === undefined) {
exports.EasingNameSymbol = value19;
exports.Easing = object2;
return undefined;
}
break reducibleJoin2;
}
reducibleLoop2: while (true) {
try {
value20 = Module00057(item, 2);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = value20[0];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property2 = value20[1];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
Object = global.Object;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
defineProperty = Object.defineProperty;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object = {'value': null, 'configurable': false, 'enumerable': false, 'writable': false};
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object.value = property;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
Reflect.apply(defineProperty, Object, [property2, value19, object]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r5 = item2;
item2 = Reflect.apply(iterator2, r5, []);
item = item2.value;
item2 = item2.done ? undefined : r5;
if (item2 === undefined) {
break reducibleLoop2;
}
continue reducibleLoop2;
}
exports.EasingNameSymbol = value19;
exports.Easing = object2;
function _fun18265() { // fn#18265, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:164, offset: 0x00e848df, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
return a0;
};
closure.__closure = {};
closure.__workletHash = 1364160462572;
closure.__initData = env0_2;
return closure;
}
function _fun18267() { // fn#18267, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:387, offset: 0x00e8490d, size: 79 bytes, params: 1, frame: 14
const ease_182682 = ease_18268;
const Bezier = (BezierModule).Bezier;
ease_182682.__closure = {Bezier: Bezier};
ease_182682.__workletHash = 1401633715672;
ease_182682.__initData = env0_3;
return ease_182682;
function ease_18268(a0) { // fn#18268, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:404, offset: 0x00e8495c, size: 66 bytes, params: 2, frame: 17
let value = environment.__proto__;
value = require(1663) /* metro dependency 1663 */;
value = value.Bezier(0.42, 0, 1, 1);
return value(a0);
}
}
function _fun18269() { // fn#18269, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:609, offset: 0x00e8499e, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
return a0 * a0;
};
closure.__closure = {};
closure.__workletHash = 10142286247628;
closure.__initData = env0_4;
return closure;
}
function _fun18271() { // fn#18271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:788, offset: 0x00e849cc, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
return a0 * a0 * a0;
};
closure.__closure = {};
closure.__workletHash = 10979714220746;
closure.__initData = env0_5;
return closure;
}
function _fun18273() { // fn#18273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1093, offset: 0x00e849fa, size: 46 bytes, params: 1, frame: 2
const poly_182742 = poly_18274;
poly_182742.__closure = {};
poly_182742.__workletHash = 8340356940855;
poly_182742.__initData = env0_6;
return poly_182742;
function poly_18274(a0) { // fn#18274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1110, offset: 0x00e84a28, size: 58 bytes, params: 2, frame: 3
const env0_0 = a0;
const pnpm_EasingTs62 = pnpm_EasingTs6;
pnpm_EasingTs62.__closure = {n: a0};
pnpm_EasingTs62.__workletHash = 14203338349806;
pnpm_EasingTs62.__initData = env1_7;
return pnpm_EasingTs62;
function pnpm_EasingTs6(a0) { // fn#18275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1136, owner: poly_18274.pnpm_EasingTs6, offset: 0x00cd898b, size: 32 bytes, params: 2, frame: 13
const Math = global.Math;
return Math.pow(a0, env0_0);
}
}
}
function _fun18276() { // fn#18276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1405, offset: 0x00e84a62, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
var Math = global.Math;
return 1 - Math.cos(a0 * global.Math.PI / 2);
};
closure.__closure = {};
closure.__workletHash = 2581928095407;
closure.__initData = env0_8;
return closure;
}
function _fun18278() { // fn#18278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1617, offset: 0x00e84a90, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
var Math = global.Math;
return 1 - Math.sqrt(1 - a0 * a0);
};
closure.__closure = {};
closure.__workletHash = 1916826022255;
closure.__initData = env0_9;
return closure;
}
function _fun18280() { // fn#18280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:1826, offset: 0x00e84abe, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
var Math = global.Math;
return Math.pow(2, 10 * (a0 - 1));
};
closure.__closure = {};
closure.__workletHash = 1613943935211;
closure.__initData = env0_10;
return closure;
}
function _fun18282() { // fn#18282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2259, offset: 0x00e84aec, size: 46 bytes, params: 1, frame: 2
const elastic_182832 = elastic_18283;
elastic_182832.__closure = {};
elastic_182832.__workletHash = 10979580678533;
elastic_182832.__initData = env0_11;
return elastic_182832;
function elastic_18283() { // fn#18283, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2276, offset: 0x00e84b1a, size: 109 bytes, params: 1, frame: 7
var environment;
let value = 1;
const r2 = arguments.length > 0 ? arguments[0] === undefined ? value : arguments[0] : value;
const Math = global.Math;
const PI = Math.PI;
value = r2 * PI;
const pnpm_EasingTs112 = pnpm_EasingTs11;
pnpm_EasingTs112.__closure = {p: value};
pnpm_EasingTs112.__workletHash = 5150660709939;
value = environment.__proto__;
pnpm_EasingTs112.__initData = env1_12;
return pnpm_EasingTs112;
function pnpm_EasingTs11(a0) { // fn#18284, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2379, owner: elastic_18283.pnpm_EasingTs11, offset: 0x00cd8a76, size: 107 bytes, params: 2, frame: 17
let Math = global.Math;
const pow = Math.pow;
const Math2 = global.Math;
const cos = Math2.cos;
const Math3 = global.Math;
const PI = Math3.PI;
let value = Reflect.apply(cos, Math2, [a0 * PI / 2]);
value = Reflect.apply(pow, Math, [value, 3]);
Math = global.Math;
value *= Math.cos(a0 * env0_0);
return 1 - value;
}
}
}
function _fun18285() { // fn#18285, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2800, offset: 0x00e84b87, size: 46 bytes, params: 1, frame: 2
const back_182862 = back_18286;
back_182862.__closure = {};
back_182862.__workletHash = 16940891371724;
back_182862.__initData = env0_13;
return back_182862;
function back_18286() { // fn#18286, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2817, offset: 0x00e84bb5, size: 98 bytes, params: 1, frame: 7
var environment;
let value = 1.70158;
const r2 = arguments.length > 0 ? arguments[0] === undefined ? value : arguments[0] : value;
const pnpm_EasingTs132 = pnpm_EasingTs13;
pnpm_EasingTs132.__closure = {s: r2};
pnpm_EasingTs132.__workletHash = 16684305377199;
value = environment.__proto__;
pnpm_EasingTs132.__initData = env1_14;
return pnpm_EasingTs132;
function pnpm_EasingTs13(a0) { // fn#18287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:2913, owner: back_18286.pnpm_EasingTs13, offset: 0x00cd8b1a, size: 39 bytes, params: 2, frame: 5
return a0 * a0 * ((env0_0 + 1) * a0 - env0_0);
}
}
}
function _fun18288() { // fn#18288, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:3358, offset: 0x00e84c17, size: 46 bytes, params: 1, frame: 2
const bounce_182892 = bounce_18289;
bounce_182892.__closure = {};
bounce_182892.__workletHash = 2135448560481;
bounce_182892.__initData = env0_15;
return bounce_182892;
}
function _fun18290() { // fn#18290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:3970, offset: 0x00e84c45, size: 79 bytes, params: 1, frame: 14
const bezier_182912 = bezier_18291;
const Bezier = (BezierModule).Bezier;
bezier_182912.__closure = {Bezier: Bezier};
bezier_182912.__workletHash = 9084654739329;
bezier_182912.__initData = env0_16;
return bezier_182912;
function bezier_18291(a0, a1, a2, a3) { // fn#18291, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:3987, offset: 0x00e84c94, size: 134 bytes, params: 5, frame: 19
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
const env0_3 = a3;
const factory2 = factory;
const Bezier = (BezierModule).Bezier;
factory2.__closure = {Bezier: Bezier, x1: a0, y1: a1, x2: a2, y2: a3};
factory2.__workletHash = 4393056133737;
factory2.__initData = env1_17;
return {factory: factory2};
function factory() { // fn#18292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4030, owner: bezier_18291.factory, offset: 0x00e84d1a, size: 59 bytes, params: 1, frame: 17
const value = environment.__proto__.__proto__;
return (BezierModule).Bezier(env0_0, require, importDefault, importAll);
}
}
}
function _fun18293() { // fn#18293, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4412, offset: 0x00e84d55, size: 79 bytes, params: 1, frame: 14
const bezierFn2 = bezierFn;
const Bezier = (BezierModule).Bezier;
bezierFn2.__closure = {Bezier: Bezier};
bezierFn2.__workletHash = 13829274299696;
bezierFn2.__initData = env0_18;
return bezierFn2;
function bezierFn(a0, a1, a2, a3) { // fn#18294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4429, offset: 0x00e84da4, size: 52 bytes, params: 5, frame: 17
const value = environment.__proto__;
return (BezierModule).Bezier(a0, a1, a2, a3);
}
}
function _fun18295() { // fn#18295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4647, offset: 0x00e84dd8, size: 46 bytes, params: 1, frame: 2
const closure = function(a0) {
return a0;
};
closure.__closure = {};
closure.__workletHash = 694257484177;
closure.__initData = env0_19;
return closure;
}
function _fun18297() { // fn#18297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4956, offset: 0x00e84e06, size: 46 bytes, params: 1, frame: 2
const out_182982 = out_18298;
out_182982.__closure = {};
out_182982.__workletHash = 12515331118228;
out_182982.__initData = env0_20;
return out_182982;
function out_18298(a0) { // fn#18298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4973, offset: 0x00e84e34, size: 58 bytes, params: 2, frame: 3
const env0_0 = a0;
const pnpm_EasingTs202 = pnpm_EasingTs20;
pnpm_EasingTs202.__closure = {easing: a0};
pnpm_EasingTs202.__workletHash = 13160996716928;
pnpm_EasingTs202.__initData = env1_21;
return pnpm_EasingTs202;
function pnpm_EasingTs20(a0) { // fn#18299, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:4998, owner: out_18298.pnpm_EasingTs20, offset: 0x00cd8c56, size: 30 bytes, params: 2, frame: 12
return 1 - env0_0(1 - a0);
}
}
}
function _fun18300() { // fn#18300, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:5464, offset: 0x00e84e6e, size: 46 bytes, params: 1, frame: 2
const inOut_183012 = inOut_18301;
inOut_183012.__closure = {};
inOut_183012.__workletHash = 7477395191617;
inOut_183012.__initData = env0_22;
return inOut_183012;
function inOut_18301(a0) { // fn#18301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:5481, offset: 0x00e84e9c, size: 58 bytes, params: 2, frame: 3
const env0_0 = a0;
const pnpm_EasingTs222 = pnpm_EasingTs22;
pnpm_EasingTs222.__closure = {easing: a0};
pnpm_EasingTs222.__workletHash = 10095021666171;
pnpm_EasingTs222.__initData = env1_23;
return pnpm_EasingTs222;
function pnpm_EasingTs22(a0) { // fn#18302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:5508, owner: inOut_18301.pnpm_EasingTs22, offset: 0x00cd8c84, size: 82 bytes, params: 2, frame: 14
return a0 < 0.5 ? env0_0(2 * a0) / 2 : 1 - env0_0(2 * (1 - a0)) / 2;
}
}
}
function _fun18303() { // fn#18303, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:6134, offset: 0x00e84ed6, size: 46 bytes, params: 1, frame: 2
const steps2 = steps;
steps2.__closure = {};
steps2.__workletHash = 14069361825623;
steps2.__initData = env0_24;
return steps2;
function steps() { // fn#18304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:6151, offset: 0x00e84f04, size: 134 bytes, params: 1, frame: 7
var environment;
let value = 10;
const r3 = arguments.length > 0 ? arguments[0] === undefined ? value : arguments[0] : value;
const r5 = arguments.length > 1 && arguments[1] !== undefined;
const r2 = r5 ? arguments[1] : !r5;
const pnpm_EasingTs242 = pnpm_EasingTs24;
pnpm_EasingTs242.__closure = {n: r3, roundToNextStep: r2};
pnpm_EasingTs242.__workletHash = 7402810856406;
value = environment.__proto__;
pnpm_EasingTs242.__initData = env1_25;
return pnpm_EasingTs242;
function pnpm_EasingTs24(a0) { // fn#18305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:6304, owner: steps.pnpm_EasingTs24, offset: 0x00e84f8a, size: 110 bytes, params: 2, frame: 16
var r0;
let Math = global.Math;
const min = Math.min;
const Math2 = global.Math;
let value = Math2.max(a0, 0);
value = Reflect.apply(min, Math, [value, 1]);
value *= env0_0;
const binding = env0_1;
Math = global.Math;
if (binding) {
value = Math.ceil(value);
value /= env0_0;
r0 = value;
} else {
value = Math.floor(value);
value /= env0_0;
r0 = value;
}
return r0;
}
}
}
}
function bounce_18289(a0) { // fn#18289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1789:3375, offset: 0x00cd8b41, size: 212 bytes, params: 2, frame: 3
var value;
if (a0 < 0.36363636363636365) {
return 7.5625 * a0 * a0;
}
if (a0 < 0.7272727272727273) {
value = a0 - 0.5454545454545454;
return 7.5625 * value * value + 0.75;
}
if (a0 < 0.9090909090909091) {
value = a0 - 0.8181818181818182;
return 7.5625 * value * value + 0.9375;
}
value = a0 - 0.9545454545454546;
return 7.5625 * value * value + 0.984375;
}
global.__d(_fun18264, 1662, [57, 1663]) /* metro module 1662, dependencies: [57, 1663] */;