// Metro module 1328 (f1329). import { LongType, ScalarType } from "./Module1320"; import { reflectionLongConvert } from "./Module1325"; import { PbLong, PbULong } from "./SharedPbLong"; export function reflectionScalarDefault(a0, r5 = LongType.STRING) { if (ScalarType.BOOL === a0) { return false; } if (ScalarType.UINT64 !== a0 && ScalarType.FIXED64 !== a0) { if (ScalarType.INT64 !== a0 && ScalarType.SFIXED64 !== a0 && ScalarType.SINT64 !== a0) { if (ScalarType.DOUBLE !== a0 && ScalarType.FLOAT !== a0) { if (ScalarType.BYTES === a0) { return new Uint8Array(0); } if (ScalarType.STRING === a0) { return ""; } return 0; } return 0; } return reflectionLongConvert(PbLong.ZERO, r5); } return reflectionLongConvert(PbULong.ZERO, r5); }