@regulaforensics/vp-frontend-document-components 9.11.3203-nightly → 9.11.3205-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +32 -32
- package/dist/main.js +393 -407
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -4111,22 +4111,22 @@ var Ma = class {
|
|
|
4111
4111
|
//#endregion
|
|
4112
4112
|
//#region ../../node_modules/preact/hooks/dist/hooks.module.js
|
|
4113
4113
|
function Na(e, t) {
|
|
4114
|
-
|
|
4115
|
-
var n =
|
|
4114
|
+
ro.__h && ro.__h(Qa, e, to || t), to = 0;
|
|
4115
|
+
var n = Qa.__H || (Qa.__H = {
|
|
4116
4116
|
__: [],
|
|
4117
4117
|
__h: []
|
|
4118
4118
|
});
|
|
4119
4119
|
return e >= n.__.length && n.__.push({}), n.__[e];
|
|
4120
4120
|
}
|
|
4121
4121
|
function J(e) {
|
|
4122
|
-
return
|
|
4122
|
+
return to = 1, Pa(Xa, e);
|
|
4123
4123
|
}
|
|
4124
4124
|
function Pa(e, t, n) {
|
|
4125
|
-
var r = Na(
|
|
4126
|
-
if (r.t = e, !r.__c && (r.__ = [n ? n(t) :
|
|
4125
|
+
var r = Na(Za++, 2);
|
|
4126
|
+
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Xa(void 0, t), function(e) {
|
|
4127
4127
|
var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e);
|
|
4128
4128
|
t !== n && (r.__N = [n, r.__[1]], r.__c.setState({}));
|
|
4129
|
-
}], r.__c =
|
|
4129
|
+
}], r.__c = Qa, !Qa.__f)) {
|
|
4130
4130
|
var i = function(e, t, n) {
|
|
4131
4131
|
if (!r.__c.__H) return !0;
|
|
4132
4132
|
var i = !1, o = r.__c.props !== e;
|
|
@@ -4142,33 +4142,33 @@ function Pa(e, t, n) {
|
|
|
4142
4142
|
}
|
|
4143
4143
|
return !i || o;
|
|
4144
4144
|
};
|
|
4145
|
-
|
|
4146
|
-
var a =
|
|
4147
|
-
|
|
4145
|
+
Qa.__f = !0;
|
|
4146
|
+
var a = Qa.shouldComponentUpdate, o = Qa.componentWillUpdate;
|
|
4147
|
+
Qa.componentWillUpdate = function(e, t, n) {
|
|
4148
4148
|
if (this.__e) {
|
|
4149
4149
|
var r = a;
|
|
4150
4150
|
a = void 0, i(e, t, n), a = r;
|
|
4151
4151
|
}
|
|
4152
4152
|
o && o.call(this, e, t, n);
|
|
4153
|
-
},
|
|
4153
|
+
}, Qa.shouldComponentUpdate = i;
|
|
4154
4154
|
}
|
|
4155
4155
|
return r.__N || r.__;
|
|
4156
4156
|
}
|
|
4157
|
-
function Y(e, t) {
|
|
4158
|
-
var n = Na(Xa++, 3);
|
|
4159
|
-
!no.__s && Ja(n.__H, t) && (n.__ = e, n.u = t, Za.__H.__h.push(n));
|
|
4160
|
-
}
|
|
4161
4157
|
function Fa(e, t) {
|
|
4162
|
-
var n = Na(
|
|
4163
|
-
!
|
|
4158
|
+
var n = Na(Za++, 3);
|
|
4159
|
+
!ro.__s && Ya(n.__H, t) && (n.__ = e, n.u = t, Qa.__H.__h.push(n));
|
|
4160
|
+
}
|
|
4161
|
+
function Ia(e, t) {
|
|
4162
|
+
var n = Na(Za++, 4);
|
|
4163
|
+
!ro.__s && Ya(n.__H, t) && (n.__ = e, n.u = t, Qa.__h.push(n));
|
|
4164
4164
|
}
|
|
4165
|
-
function
|
|
4166
|
-
return
|
|
4165
|
+
function La(e) {
|
|
4166
|
+
return to = 5, za(function() {
|
|
4167
4167
|
return { current: e };
|
|
4168
4168
|
}, []);
|
|
4169
4169
|
}
|
|
4170
|
-
function
|
|
4171
|
-
|
|
4170
|
+
function Ra(e, t, n) {
|
|
4171
|
+
to = 6, Ia(function() {
|
|
4172
4172
|
if (typeof e == "function") {
|
|
4173
4173
|
var n = e(t());
|
|
4174
4174
|
return function() {
|
|
@@ -4180,186 +4180,186 @@ function La(e, t, n) {
|
|
|
4180
4180
|
};
|
|
4181
4181
|
}, n == null ? n : n.concat(e));
|
|
4182
4182
|
}
|
|
4183
|
-
function Ra(e, t) {
|
|
4184
|
-
var n = Na(Xa++, 7);
|
|
4185
|
-
return Ja(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
4186
|
-
}
|
|
4187
4183
|
function za(e, t) {
|
|
4188
|
-
|
|
4184
|
+
var n = Na(Za++, 7);
|
|
4185
|
+
return Ya(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
4186
|
+
}
|
|
4187
|
+
function Ba(e, t) {
|
|
4188
|
+
return to = 8, za(function() {
|
|
4189
4189
|
return e;
|
|
4190
4190
|
}, t);
|
|
4191
4191
|
}
|
|
4192
|
-
function
|
|
4193
|
-
var t =
|
|
4194
|
-
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(
|
|
4192
|
+
function Va(e) {
|
|
4193
|
+
var t = Qa.context[e.__c], n = Na(Za++, 9);
|
|
4194
|
+
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(Qa)), t.props.value) : e.__;
|
|
4195
4195
|
}
|
|
4196
|
-
function
|
|
4197
|
-
|
|
4196
|
+
function Ha(e, t) {
|
|
4197
|
+
ro.useDebugValue && ro.useDebugValue(t ? t(e) : e);
|
|
4198
4198
|
}
|
|
4199
|
-
function
|
|
4200
|
-
var t = Na(
|
|
4201
|
-
return t.__ = e,
|
|
4199
|
+
function Ua(e) {
|
|
4200
|
+
var t = Na(Za++, 10), n = J();
|
|
4201
|
+
return t.__ = e, Qa.componentDidCatch || (Qa.componentDidCatch = function(e, r) {
|
|
4202
4202
|
t.__ && t.__(e, r), n[1](e);
|
|
4203
4203
|
}), [n[0], function() {
|
|
4204
4204
|
n[1](void 0);
|
|
4205
4205
|
}];
|
|
4206
4206
|
}
|
|
4207
|
-
function
|
|
4208
|
-
var e = Na(
|
|
4207
|
+
function Wa() {
|
|
4208
|
+
var e = Na(Za++, 11);
|
|
4209
4209
|
if (!e.__) {
|
|
4210
|
-
for (var t =
|
|
4210
|
+
for (var t = Qa.__v; t !== null && !t.__m && t.__ !== null;) t = t.__;
|
|
4211
4211
|
var n = t.__m || (t.__m = [0, 0]);
|
|
4212
4212
|
e.__ = "P" + n[0] + "-" + n[1]++;
|
|
4213
4213
|
}
|
|
4214
4214
|
return e.__;
|
|
4215
4215
|
}
|
|
4216
|
-
function
|
|
4217
|
-
for (var e; e =
|
|
4216
|
+
function Ga() {
|
|
4217
|
+
for (var e; e = no.shift();) {
|
|
4218
4218
|
var t = e.__H;
|
|
4219
4219
|
if (e.__P && t) try {
|
|
4220
|
-
t.__h.some(
|
|
4220
|
+
t.__h.some(qa), t.__h.some(Ja), t.__h = [];
|
|
4221
4221
|
} catch (n) {
|
|
4222
|
-
t.__h = [],
|
|
4222
|
+
t.__h = [], ro.__e(n, e.__v);
|
|
4223
4223
|
}
|
|
4224
4224
|
}
|
|
4225
4225
|
}
|
|
4226
|
-
function
|
|
4226
|
+
function Ka(e) {
|
|
4227
4227
|
var t, n = function() {
|
|
4228
|
-
clearTimeout(r),
|
|
4228
|
+
clearTimeout(r), uo && cancelAnimationFrame(t), setTimeout(e);
|
|
4229
4229
|
}, r = setTimeout(n, 35);
|
|
4230
|
-
|
|
4231
|
-
}
|
|
4232
|
-
function Ka(e) {
|
|
4233
|
-
var t = Za, n = e.__c;
|
|
4234
|
-
typeof n == "function" && (e.__c = void 0, n()), Za = t;
|
|
4230
|
+
uo && (t = requestAnimationFrame(n));
|
|
4235
4231
|
}
|
|
4236
4232
|
function qa(e) {
|
|
4237
|
-
var t =
|
|
4238
|
-
e.__c =
|
|
4233
|
+
var t = Qa, n = e.__c;
|
|
4234
|
+
typeof n == "function" && (e.__c = void 0, n()), Qa = t;
|
|
4235
|
+
}
|
|
4236
|
+
function Ja(e) {
|
|
4237
|
+
var t = Qa;
|
|
4238
|
+
e.__c = e.__(), Qa = t;
|
|
4239
4239
|
}
|
|
4240
|
-
function
|
|
4240
|
+
function Ya(e, t) {
|
|
4241
4241
|
return !e || e.length !== t.length || t.some(function(t, n) {
|
|
4242
4242
|
return t !== e[n];
|
|
4243
4243
|
});
|
|
4244
4244
|
}
|
|
4245
|
-
function
|
|
4245
|
+
function Xa(e, t) {
|
|
4246
4246
|
return typeof t == "function" ? t(e) : t;
|
|
4247
4247
|
}
|
|
4248
|
-
var
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
},
|
|
4252
|
-
e && t.__k && t.__k.__m && (e.__m = t.__k.__m),
|
|
4253
|
-
},
|
|
4254
|
-
|
|
4255
|
-
var t = (
|
|
4256
|
-
t && (
|
|
4248
|
+
var Za, Qa, $a, eo, to, no, ro, io, ao, oo, so, co, lo, uo, fo = o((() => {
|
|
4249
|
+
to = 0, no = [], ro = Sn, io = ro.__b, ao = ro.__r, oo = ro.diffed, so = ro.__c, co = ro.unmount, lo = ro.__, ro.__b = function(e) {
|
|
4250
|
+
Qa = null, io && io(e);
|
|
4251
|
+
}, ro.__ = function(e, t) {
|
|
4252
|
+
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), lo && lo(e, t);
|
|
4253
|
+
}, ro.__r = function(e) {
|
|
4254
|
+
ao && ao(e), Za = 0;
|
|
4255
|
+
var t = (Qa = e.__c).__H;
|
|
4256
|
+
t && ($a === Qa ? (t.__h = [], Qa.__h = [], t.__.some(function(e) {
|
|
4257
4257
|
e.__N && (e.__ = e.__N), e.u = e.__N = void 0;
|
|
4258
|
-
})) : (t.__h.some(
|
|
4259
|
-
},
|
|
4260
|
-
|
|
4258
|
+
})) : (t.__h.some(qa), t.__h.some(Ja), t.__h = [], Za = 0)), $a = Qa;
|
|
4259
|
+
}, ro.diffed = function(e) {
|
|
4260
|
+
oo && oo(e);
|
|
4261
4261
|
var t = e.__c;
|
|
4262
|
-
t && t.__H && (t.__H.__h.length && (
|
|
4262
|
+
t && t.__H && (t.__H.__h.length && (no.push(t) !== 1 && eo === ro.requestAnimationFrame || ((eo = ro.requestAnimationFrame) || Ka)(Ga)), t.__H.__.some(function(e) {
|
|
4263
4263
|
e.u && (e.__H = e.u, e.u = void 0);
|
|
4264
|
-
})),
|
|
4265
|
-
},
|
|
4264
|
+
})), $a = Qa = null;
|
|
4265
|
+
}, ro.__c = function(e, t) {
|
|
4266
4266
|
t.some(function(e) {
|
|
4267
4267
|
try {
|
|
4268
|
-
e.__h.some(
|
|
4269
|
-
return !e.__ ||
|
|
4268
|
+
e.__h.some(qa), e.__h = e.__h.filter(function(e) {
|
|
4269
|
+
return !e.__ || Ja(e);
|
|
4270
4270
|
});
|
|
4271
4271
|
} catch (n) {
|
|
4272
4272
|
t.some(function(e) {
|
|
4273
4273
|
e.__h && (e.__h = []);
|
|
4274
|
-
}), t = [],
|
|
4274
|
+
}), t = [], ro.__e(n, e.__v);
|
|
4275
4275
|
}
|
|
4276
|
-
}),
|
|
4277
|
-
},
|
|
4278
|
-
|
|
4276
|
+
}), so && so(e, t);
|
|
4277
|
+
}, ro.unmount = function(e) {
|
|
4278
|
+
co && co(e);
|
|
4279
4279
|
var t, n = e.__c;
|
|
4280
4280
|
n && n.__H && (n.__H.__.some(function(e) {
|
|
4281
4281
|
try {
|
|
4282
|
-
|
|
4282
|
+
qa(e);
|
|
4283
4283
|
} catch (e) {
|
|
4284
4284
|
t = e;
|
|
4285
4285
|
}
|
|
4286
|
-
}), n.__H = void 0, t &&
|
|
4287
|
-
},
|
|
4288
|
-
})),
|
|
4289
|
-
Children: () =>
|
|
4286
|
+
}), n.__H = void 0, t && ro.__e(t, n.__v));
|
|
4287
|
+
}, uo = typeof requestAnimationFrame == "function";
|
|
4288
|
+
})), po = /* @__PURE__ */ c({
|
|
4289
|
+
Children: () => Ko,
|
|
4290
4290
|
Component: () => Jt,
|
|
4291
4291
|
Fragment: () => qt,
|
|
4292
|
-
PureComponent: () =>
|
|
4292
|
+
PureComponent: () => xo,
|
|
4293
4293
|
StrictMode: () => qt,
|
|
4294
|
-
Suspense: () =>
|
|
4295
|
-
SuspenseList: () =>
|
|
4296
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () =>
|
|
4297
|
-
cloneElement: () =>
|
|
4294
|
+
Suspense: () => Eo,
|
|
4295
|
+
SuspenseList: () => ko,
|
|
4296
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => cs,
|
|
4297
|
+
cloneElement: () => zo,
|
|
4298
4298
|
createContext: () => bn,
|
|
4299
4299
|
createElement: () => Wt,
|
|
4300
|
-
createFactory: () =>
|
|
4301
|
-
createPortal: () =>
|
|
4300
|
+
createFactory: () => Fo,
|
|
4301
|
+
createPortal: () => Mo,
|
|
4302
4302
|
createRef: () => Kt,
|
|
4303
|
-
default: () =>
|
|
4304
|
-
findDOMNode: () =>
|
|
4305
|
-
flushSync: () =>
|
|
4306
|
-
forwardRef: () =>
|
|
4307
|
-
hydrate: () =>
|
|
4308
|
-
isElement: () =>
|
|
4309
|
-
isFragment: () =>
|
|
4310
|
-
isMemo: () =>
|
|
4311
|
-
isValidElement: () =>
|
|
4312
|
-
lazy: () =>
|
|
4313
|
-
memo: () =>
|
|
4314
|
-
render: () =>
|
|
4315
|
-
startTransition: () =>
|
|
4316
|
-
unmountComponentAtNode: () =>
|
|
4317
|
-
unstable_batchedUpdates: () =>
|
|
4318
|
-
useCallback: () =>
|
|
4319
|
-
useContext: () =>
|
|
4320
|
-
useDebugValue: () =>
|
|
4321
|
-
useDeferredValue: () =>
|
|
4322
|
-
useEffect: () =>
|
|
4323
|
-
useErrorBoundary: () =>
|
|
4324
|
-
useId: () =>
|
|
4325
|
-
useImperativeHandle: () =>
|
|
4326
|
-
useInsertionEffect: () =>
|
|
4327
|
-
useLayoutEffect: () =>
|
|
4328
|
-
useMemo: () =>
|
|
4303
|
+
default: () => Y,
|
|
4304
|
+
findDOMNode: () => Vo,
|
|
4305
|
+
flushSync: () => ds,
|
|
4306
|
+
forwardRef: () => Co,
|
|
4307
|
+
hydrate: () => Po,
|
|
4308
|
+
isElement: () => fs,
|
|
4309
|
+
isFragment: () => Lo,
|
|
4310
|
+
isMemo: () => Ro,
|
|
4311
|
+
isValidElement: () => Io,
|
|
4312
|
+
lazy: () => Oo,
|
|
4313
|
+
memo: () => So,
|
|
4314
|
+
render: () => No,
|
|
4315
|
+
startTransition: () => vo,
|
|
4316
|
+
unmountComponentAtNode: () => Bo,
|
|
4317
|
+
unstable_batchedUpdates: () => us,
|
|
4318
|
+
useCallback: () => Ba,
|
|
4319
|
+
useContext: () => Va,
|
|
4320
|
+
useDebugValue: () => Ha,
|
|
4321
|
+
useDeferredValue: () => yo,
|
|
4322
|
+
useEffect: () => Fa,
|
|
4323
|
+
useErrorBoundary: () => Ua,
|
|
4324
|
+
useId: () => Wa,
|
|
4325
|
+
useImperativeHandle: () => Ra,
|
|
4326
|
+
useInsertionEffect: () => Ho,
|
|
4327
|
+
useLayoutEffect: () => Ia,
|
|
4328
|
+
useMemo: () => za,
|
|
4329
4329
|
useReducer: () => Pa,
|
|
4330
|
-
useRef: () =>
|
|
4330
|
+
useRef: () => La,
|
|
4331
4331
|
useState: () => J,
|
|
4332
|
-
useSyncExternalStore: () =>
|
|
4333
|
-
useTransition: () =>
|
|
4334
|
-
version: () =>
|
|
4332
|
+
useSyncExternalStore: () => go,
|
|
4333
|
+
useTransition: () => bo,
|
|
4334
|
+
version: () => ls
|
|
4335
4335
|
});
|
|
4336
|
-
function
|
|
4336
|
+
function mo(e, t) {
|
|
4337
4337
|
for (var n in t) e[n] = t[n];
|
|
4338
4338
|
return e;
|
|
4339
4339
|
}
|
|
4340
|
-
function
|
|
4340
|
+
function ho(e, t) {
|
|
4341
4341
|
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
|
|
4342
4342
|
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
|
|
4343
4343
|
return !1;
|
|
4344
4344
|
}
|
|
4345
|
-
function
|
|
4345
|
+
function go(e, t) {
|
|
4346
4346
|
var n = t(), r = J({ t: {
|
|
4347
4347
|
__: n,
|
|
4348
4348
|
u: t
|
|
4349
4349
|
} }), i = r[0].t, a = r[1];
|
|
4350
|
-
return
|
|
4351
|
-
i.__ = n, i.u = t,
|
|
4350
|
+
return Ia(function() {
|
|
4351
|
+
i.__ = n, i.u = t, _o(i) && a({ t: i });
|
|
4352
4352
|
}, [
|
|
4353
4353
|
e,
|
|
4354
4354
|
n,
|
|
4355
4355
|
t
|
|
4356
|
-
]),
|
|
4357
|
-
return
|
|
4358
|
-
|
|
4356
|
+
]), Fa(function() {
|
|
4357
|
+
return _o(i) && a({ t: i }), e(function() {
|
|
4358
|
+
_o(i) && a({ t: i });
|
|
4359
4359
|
});
|
|
4360
4360
|
}, [e]), n;
|
|
4361
4361
|
}
|
|
4362
|
-
function
|
|
4362
|
+
function _o(e) {
|
|
4363
4363
|
try {
|
|
4364
4364
|
return !((t = e.__) === (n = e.u()) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
|
|
4365
4365
|
} catch (e) {
|
|
@@ -4367,55 +4367,55 @@ function go(e) {
|
|
|
4367
4367
|
}
|
|
4368
4368
|
var t, n;
|
|
4369
4369
|
}
|
|
4370
|
-
function
|
|
4370
|
+
function vo(e) {
|
|
4371
4371
|
e();
|
|
4372
4372
|
}
|
|
4373
|
-
function
|
|
4373
|
+
function yo(e) {
|
|
4374
4374
|
return e;
|
|
4375
4375
|
}
|
|
4376
|
-
function
|
|
4377
|
-
return [!1,
|
|
4376
|
+
function bo() {
|
|
4377
|
+
return [!1, vo];
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4379
|
+
function xo(e, t) {
|
|
4380
4380
|
this.props = e, this.context = t;
|
|
4381
4381
|
}
|
|
4382
|
-
function
|
|
4382
|
+
function So(e, t) {
|
|
4383
4383
|
function n(e) {
|
|
4384
4384
|
var n = this.props.ref;
|
|
4385
|
-
return n != e.ref && n && (typeof n == "function" ? n(null) : n.current = null), t ? !t(this.props, e) || n != e.ref :
|
|
4385
|
+
return n != e.ref && n && (typeof n == "function" ? n(null) : n.current = null), t ? !t(this.props, e) || n != e.ref : ho(this.props, e);
|
|
4386
4386
|
}
|
|
4387
4387
|
function r(t) {
|
|
4388
4388
|
return this.shouldComponentUpdate = n, Wt(e, t);
|
|
4389
4389
|
}
|
|
4390
4390
|
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.__f = r.prototype.isReactComponent = !0, r.type = e, r;
|
|
4391
4391
|
}
|
|
4392
|
-
function
|
|
4392
|
+
function Co(e) {
|
|
4393
4393
|
function t(t) {
|
|
4394
|
-
var n =
|
|
4394
|
+
var n = mo({}, t);
|
|
4395
4395
|
return delete n.ref, e(n, t.ref || null);
|
|
4396
4396
|
}
|
|
4397
|
-
return t.$$typeof =
|
|
4397
|
+
return t.$$typeof = Wo, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
4398
4398
|
}
|
|
4399
|
-
function
|
|
4399
|
+
function wo(e, t, n) {
|
|
4400
4400
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(e) {
|
|
4401
4401
|
typeof e.__c == "function" && e.__c();
|
|
4402
|
-
}), e.__c.__H = null), (e =
|
|
4403
|
-
return
|
|
4402
|
+
}), e.__c.__H = null), (e = mo({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(e) {
|
|
4403
|
+
return wo(e, t, n);
|
|
4404
4404
|
})), e;
|
|
4405
4405
|
}
|
|
4406
|
-
function
|
|
4406
|
+
function To(e, t, n) {
|
|
4407
4407
|
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(e) {
|
|
4408
|
-
return
|
|
4408
|
+
return To(e, t, n);
|
|
4409
4409
|
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
|
|
4410
4410
|
}
|
|
4411
|
-
function
|
|
4411
|
+
function Eo() {
|
|
4412
4412
|
this.__u = 0, this.o = null, this.__b = null;
|
|
4413
4413
|
}
|
|
4414
|
-
function
|
|
4414
|
+
function Do(e) {
|
|
4415
4415
|
var t = e.__ && e.__.__c;
|
|
4416
4416
|
return t && t.__a && t.__a(e);
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function Oo(e) {
|
|
4419
4419
|
var t, n, r, i = null;
|
|
4420
4420
|
function a(a) {
|
|
4421
4421
|
if (t || (t = e()).then(function(e) {
|
|
@@ -4428,15 +4428,15 @@ function Do(e) {
|
|
|
4428
4428
|
}
|
|
4429
4429
|
return a.displayName = "Lazy", a.__f = !0, a;
|
|
4430
4430
|
}
|
|
4431
|
-
function
|
|
4431
|
+
function ko() {
|
|
4432
4432
|
this.i = null, this.l = null;
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4434
|
+
function Ao(e) {
|
|
4435
4435
|
return this.getChildContext = function() {
|
|
4436
4436
|
return e.context;
|
|
4437
4437
|
}, e.children;
|
|
4438
4438
|
}
|
|
4439
|
-
function
|
|
4439
|
+
function jo(e) {
|
|
4440
4440
|
var t = this, n = e.h;
|
|
4441
4441
|
if (t.componentWillUnmount = function() {
|
|
4442
4442
|
_n(null, t.v), t.v = null, t.h = null;
|
|
@@ -4459,52 +4459,52 @@ function Ao(e) {
|
|
|
4459
4459
|
}
|
|
4460
4460
|
};
|
|
4461
4461
|
}
|
|
4462
|
-
_n(Wt(
|
|
4462
|
+
_n(Wt(Ao, { context: t.context }, e.__v), t.v);
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4465
|
-
var n = Wt(
|
|
4464
|
+
function Mo(e, t) {
|
|
4465
|
+
var n = Wt(jo, {
|
|
4466
4466
|
__v: e,
|
|
4467
4467
|
h: t
|
|
4468
4468
|
});
|
|
4469
4469
|
return n.containerInfo = t, n;
|
|
4470
4470
|
}
|
|
4471
|
-
function
|
|
4471
|
+
function No(e, t, n) {
|
|
4472
4472
|
return t.__k == null && (t.textContent = ""), _n(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
4473
4473
|
}
|
|
4474
|
-
function
|
|
4474
|
+
function Po(e, t, n) {
|
|
4475
4475
|
return vn(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
4476
4476
|
}
|
|
4477
|
-
function Po(e) {
|
|
4478
|
-
return Wt.bind(null, e);
|
|
4479
|
-
}
|
|
4480
4477
|
function Fo(e) {
|
|
4481
|
-
return
|
|
4478
|
+
return Wt.bind(null, e);
|
|
4482
4479
|
}
|
|
4483
4480
|
function Io(e) {
|
|
4484
|
-
return
|
|
4481
|
+
return !!e && e.$$typeof === Xo;
|
|
4485
4482
|
}
|
|
4486
4483
|
function Lo(e) {
|
|
4487
|
-
return
|
|
4484
|
+
return Io(e) && e.type === qt;
|
|
4488
4485
|
}
|
|
4489
4486
|
function Ro(e) {
|
|
4490
|
-
return
|
|
4487
|
+
return !!e && typeof e.displayName == "string" && e.displayName.indexOf("Memo(") == 0;
|
|
4491
4488
|
}
|
|
4492
4489
|
function zo(e) {
|
|
4493
|
-
return
|
|
4490
|
+
return Io(e) ? yn.apply(null, arguments) : e;
|
|
4494
4491
|
}
|
|
4495
4492
|
function Bo(e) {
|
|
4493
|
+
return !!e.__k && (_n(null, e), !0);
|
|
4494
|
+
}
|
|
4495
|
+
function Vo(e) {
|
|
4496
4496
|
return e && (e.base || e.nodeType === 1 && e) || null;
|
|
4497
4497
|
}
|
|
4498
|
-
var
|
|
4499
|
-
Bn(),
|
|
4500
|
-
return
|
|
4501
|
-
},
|
|
4502
|
-
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null),
|
|
4503
|
-
},
|
|
4498
|
+
var Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as, os, ss, cs, ls, us, ds, fs, Y, ps = o((() => {
|
|
4499
|
+
Bn(), fo(), fo(), Ho = Ia, (xo.prototype = new Jt()).isPureReactComponent = !0, xo.prototype.shouldComponentUpdate = function(e, t) {
|
|
4500
|
+
return ho(this.props, e) || ho(this.state, t);
|
|
4501
|
+
}, Uo = Sn.__b, Sn.__b = function(e) {
|
|
4502
|
+
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Uo && Uo(e);
|
|
4503
|
+
}, Wo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911, Go = function(e, t) {
|
|
4504
4504
|
return e == null ? null : rn(rn(e).map(t));
|
|
4505
|
-
},
|
|
4506
|
-
map:
|
|
4507
|
-
forEach:
|
|
4505
|
+
}, Ko = {
|
|
4506
|
+
map: Go,
|
|
4507
|
+
forEach: Go,
|
|
4508
4508
|
count: function(e) {
|
|
4509
4509
|
return e ? rn(e).length : 0;
|
|
4510
4510
|
},
|
|
@@ -4514,18 +4514,18 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
4514
4514
|
return t[0];
|
|
4515
4515
|
},
|
|
4516
4516
|
toArray: rn
|
|
4517
|
-
},
|
|
4517
|
+
}, qo = Sn.__e, Sn.__e = function(e, t, n, r) {
|
|
4518
4518
|
if (e.then) {
|
|
4519
4519
|
for (var i, a = t; a = a.__;) if ((i = a.__c) && i.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k || []), i.__c(e, t);
|
|
4520
4520
|
}
|
|
4521
|
-
|
|
4522
|
-
},
|
|
4521
|
+
qo(e, t, n, r);
|
|
4522
|
+
}, Jo = Sn.unmount, Sn.unmount = function(e) {
|
|
4523
4523
|
var t = e.__c;
|
|
4524
|
-
t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null),
|
|
4525
|
-
}, (
|
|
4524
|
+
t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Jo && Jo(e);
|
|
4525
|
+
}, (Eo.prototype = new Jt()).__c = function(e, t) {
|
|
4526
4526
|
var n = t.__c, r = this;
|
|
4527
4527
|
r.o == null && (r.o = []), r.o.push(n);
|
|
4528
|
-
var i =
|
|
4528
|
+
var i = Do(r.__v), a = !1, o = function() {
|
|
4529
4529
|
a || r.__z || (a = !0, n.__R = null, i ? i(c) : c());
|
|
4530
4530
|
};
|
|
4531
4531
|
n.__R = o;
|
|
@@ -4535,40 +4535,40 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
4535
4535
|
if (!--r.__u) {
|
|
4536
4536
|
if (r.state.__a) {
|
|
4537
4537
|
var e = r.state.__a;
|
|
4538
|
-
r.__v.__k[0] =
|
|
4538
|
+
r.__v.__k[0] = To(e, e.__c.__P, e.__c.__O);
|
|
4539
4539
|
}
|
|
4540
4540
|
var t;
|
|
4541
4541
|
for (r.setState({ __a: r.__b = null }); t = r.o.pop();) t.__P = s, t.forceUpdate();
|
|
4542
4542
|
}
|
|
4543
4543
|
};
|
|
4544
4544
|
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(o, o);
|
|
4545
|
-
},
|
|
4545
|
+
}, Eo.prototype.componentWillUnmount = function() {
|
|
4546
4546
|
this.o = [];
|
|
4547
|
-
},
|
|
4547
|
+
}, Eo.prototype.render = function(e, t) {
|
|
4548
4548
|
if (this.__b) {
|
|
4549
4549
|
if (this.__v.__k) {
|
|
4550
4550
|
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
4551
|
-
this.__v.__k[0] =
|
|
4551
|
+
this.__v.__k[0] = wo(this.__b, n, r.__O = r.__P);
|
|
4552
4552
|
}
|
|
4553
4553
|
this.__b = null;
|
|
4554
4554
|
}
|
|
4555
4555
|
var i = t.__a && Wt(qt, null, e.fallback);
|
|
4556
4556
|
return i && (i.__u &= -33), [Wt(qt, null, t.__a ? null : e.children), i];
|
|
4557
|
-
},
|
|
4557
|
+
}, Yo = function(e, t, n) {
|
|
4558
4558
|
if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n;) {
|
|
4559
4559
|
for (; n.length > 3;) n.pop()();
|
|
4560
4560
|
if (n[1] < n[0]) break;
|
|
4561
4561
|
e.i = n = n[2];
|
|
4562
4562
|
}
|
|
4563
|
-
}, (
|
|
4564
|
-
var t = this, n =
|
|
4563
|
+
}, (ko.prototype = new Jt()).__a = function(e) {
|
|
4564
|
+
var t = this, n = Do(t.__v), r = t.l.get(e);
|
|
4565
4565
|
return r[0]++, function(i) {
|
|
4566
4566
|
var a = function() {
|
|
4567
|
-
t.props.revealOrder ? (r.push(i),
|
|
4567
|
+
t.props.revealOrder ? (r.push(i), Yo(t, e, r)) : i();
|
|
4568
4568
|
};
|
|
4569
4569
|
n ? n(a) : a();
|
|
4570
4570
|
};
|
|
4571
|
-
},
|
|
4571
|
+
}, ko.prototype.render = function(e) {
|
|
4572
4572
|
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
4573
4573
|
var t = rn(e.children);
|
|
4574
4574
|
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
|
|
@@ -4578,12 +4578,12 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
4578
4578
|
this.i
|
|
4579
4579
|
]);
|
|
4580
4580
|
return e.children;
|
|
4581
|
-
},
|
|
4581
|
+
}, ko.prototype.componentDidUpdate = ko.prototype.componentDidMount = function() {
|
|
4582
4582
|
var e = this;
|
|
4583
4583
|
this.l.forEach(function(t, n) {
|
|
4584
|
-
|
|
4584
|
+
Yo(e, n, t);
|
|
4585
4585
|
});
|
|
4586
|
-
},
|
|
4586
|
+
}, Xo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Zo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Qo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, $o = /[A-Z0-9]/g, es = typeof document < "u", ts = function(e) {
|
|
4587
4587
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
4588
4588
|
}, Jt.prototype.isReactComponent = !0, [
|
|
4589
4589
|
"componentWillMount",
|
|
@@ -4603,61 +4603,61 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
4603
4603
|
});
|
|
4604
4604
|
}
|
|
4605
4605
|
});
|
|
4606
|
-
}),
|
|
4607
|
-
return
|
|
4606
|
+
}), ns = Sn.event, Sn.event = function(e) {
|
|
4607
|
+
return ns && (e = ns(e)), e.persist = function() {}, e.isPropagationStopped = function() {
|
|
4608
4608
|
return this.cancelBubble;
|
|
4609
4609
|
}, e.isDefaultPrevented = function() {
|
|
4610
4610
|
return this.defaultPrevented;
|
|
4611
4611
|
}, e.nativeEvent = e;
|
|
4612
|
-
},
|
|
4612
|
+
}, is = {
|
|
4613
4613
|
configurable: !0,
|
|
4614
4614
|
get: function() {
|
|
4615
4615
|
return this.class;
|
|
4616
4616
|
}
|
|
4617
|
-
},
|
|
4617
|
+
}, as = Sn.vnode, Sn.vnode = function(e) {
|
|
4618
4618
|
typeof e.type == "string" && function(e) {
|
|
4619
4619
|
var t = e.props, n = e.type, r = {}, i = n.indexOf("-") == -1;
|
|
4620
4620
|
for (var a in t) {
|
|
4621
4621
|
var o = t[a];
|
|
4622
|
-
if (!(a === "value" && "defaultValue" in t && o == null ||
|
|
4622
|
+
if (!(a === "value" && "defaultValue" in t && o == null || es && a === "children" && n === "noscript" || a === "class" || a === "className")) {
|
|
4623
4623
|
var s = a.toLowerCase();
|
|
4624
|
-
a === "defaultValue" && "value" in t && t.value == null ? a = "value" : a === "download" && !0 === o ? o = "" : s === "translate" && o === "no" ? o = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || n !== "input" && n !== "textarea" ||
|
|
4624
|
+
a === "defaultValue" && "value" in t && t.value == null ? a = "value" : a === "download" && !0 === o ? o = "" : s === "translate" && o === "no" ? o = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || n !== "input" && n !== "textarea" || ts(t.type) ? s === "onfocus" ? a = "onfocusin" : s === "onblur" ? a = "onfocusout" : Qo.test(a) && (a = s) : s = a = "oninput" : i && Zo.test(a) ? a = a.replace($o, "-$&").toLowerCase() : o === null && (o = void 0), s === "oninput" && r[a = s] && (a = "oninputCapture"), r[a] = o;
|
|
4625
4625
|
}
|
|
4626
4626
|
}
|
|
4627
4627
|
n == "select" && (r.multiple && Array.isArray(r.value) && (r.value = rn(t.children).forEach(function(e) {
|
|
4628
4628
|
e.props.selected = r.value.indexOf(e.props.value) != -1;
|
|
4629
4629
|
})), r.defaultValue != null && (r.value = rn(t.children).forEach(function(e) {
|
|
4630
4630
|
e.props.selected = r.multiple ? r.defaultValue.indexOf(e.props.value) != -1 : r.defaultValue == e.props.value;
|
|
4631
|
-
}))), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, "className",
|
|
4632
|
-
}(e), e.$$typeof =
|
|
4633
|
-
},
|
|
4634
|
-
|
|
4635
|
-
},
|
|
4636
|
-
|
|
4631
|
+
}))), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, "className", is)) : t.className && (r.class = r.className = t.className), e.props = r;
|
|
4632
|
+
}(e), e.$$typeof = Xo, as && as(e);
|
|
4633
|
+
}, os = Sn.__r, Sn.__r = function(e) {
|
|
4634
|
+
os && os(e), rs = e.__c;
|
|
4635
|
+
}, ss = Sn.diffed, Sn.diffed = function(e) {
|
|
4636
|
+
ss && ss(e);
|
|
4637
4637
|
var t = e.props, n = e.__e;
|
|
4638
|
-
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value),
|
|
4639
|
-
},
|
|
4638
|
+
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), rs = null;
|
|
4639
|
+
}, cs = { ReactCurrentDispatcher: { current: {
|
|
4640
4640
|
readContext: function(e) {
|
|
4641
|
-
return
|
|
4641
|
+
return rs.__n[e.__c].props.value;
|
|
4642
4642
|
},
|
|
4643
|
-
useCallback:
|
|
4644
|
-
useContext:
|
|
4645
|
-
useDebugValue:
|
|
4646
|
-
useDeferredValue:
|
|
4647
|
-
useEffect:
|
|
4648
|
-
useId:
|
|
4649
|
-
useImperativeHandle:
|
|
4650
|
-
useInsertionEffect:
|
|
4651
|
-
useLayoutEffect:
|
|
4652
|
-
useMemo:
|
|
4643
|
+
useCallback: Ba,
|
|
4644
|
+
useContext: Va,
|
|
4645
|
+
useDebugValue: Ha,
|
|
4646
|
+
useDeferredValue: yo,
|
|
4647
|
+
useEffect: Fa,
|
|
4648
|
+
useId: Wa,
|
|
4649
|
+
useImperativeHandle: Ra,
|
|
4650
|
+
useInsertionEffect: Ho,
|
|
4651
|
+
useLayoutEffect: Ia,
|
|
4652
|
+
useMemo: za,
|
|
4653
4653
|
useReducer: Pa,
|
|
4654
|
-
useRef:
|
|
4654
|
+
useRef: La,
|
|
4655
4655
|
useState: J,
|
|
4656
|
-
useSyncExternalStore:
|
|
4657
|
-
useTransition:
|
|
4658
|
-
} } },
|
|
4656
|
+
useSyncExternalStore: go,
|
|
4657
|
+
useTransition: bo
|
|
4658
|
+
} } }, ls = "18.3.1", us = function(e, t) {
|
|
4659
4659
|
return e(t);
|
|
4660
|
-
},
|
|
4660
|
+
}, ds = function(e, t) {
|
|
4661
4661
|
var n, r = Sn.debounceRendering;
|
|
4662
4662
|
Sn.debounceRendering = function(e) {
|
|
4663
4663
|
n = e;
|
|
@@ -4668,51 +4668,51 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
4668
4668
|
} finally {
|
|
4669
4669
|
Sn.debounceRendering = r;
|
|
4670
4670
|
}
|
|
4671
|
-
},
|
|
4671
|
+
}, fs = Io, Y = {
|
|
4672
4672
|
useState: J,
|
|
4673
|
-
useId:
|
|
4673
|
+
useId: Wa,
|
|
4674
4674
|
useReducer: Pa,
|
|
4675
|
-
useEffect:
|
|
4676
|
-
useLayoutEffect:
|
|
4677
|
-
useInsertionEffect:
|
|
4678
|
-
useTransition:
|
|
4679
|
-
useDeferredValue:
|
|
4680
|
-
useSyncExternalStore:
|
|
4681
|
-
startTransition:
|
|
4682
|
-
useRef:
|
|
4683
|
-
useImperativeHandle:
|
|
4684
|
-
useMemo:
|
|
4685
|
-
useCallback:
|
|
4686
|
-
useContext:
|
|
4687
|
-
useDebugValue:
|
|
4675
|
+
useEffect: Fa,
|
|
4676
|
+
useLayoutEffect: Ia,
|
|
4677
|
+
useInsertionEffect: Ho,
|
|
4678
|
+
useTransition: bo,
|
|
4679
|
+
useDeferredValue: yo,
|
|
4680
|
+
useSyncExternalStore: go,
|
|
4681
|
+
startTransition: vo,
|
|
4682
|
+
useRef: La,
|
|
4683
|
+
useImperativeHandle: Ra,
|
|
4684
|
+
useMemo: za,
|
|
4685
|
+
useCallback: Ba,
|
|
4686
|
+
useContext: Va,
|
|
4687
|
+
useDebugValue: Ha,
|
|
4688
4688
|
version: "18.3.1",
|
|
4689
|
-
Children:
|
|
4690
|
-
render:
|
|
4691
|
-
hydrate:
|
|
4692
|
-
unmountComponentAtNode:
|
|
4693
|
-
createPortal:
|
|
4689
|
+
Children: Ko,
|
|
4690
|
+
render: No,
|
|
4691
|
+
hydrate: Po,
|
|
4692
|
+
unmountComponentAtNode: Bo,
|
|
4693
|
+
createPortal: Mo,
|
|
4694
4694
|
createElement: Wt,
|
|
4695
4695
|
createContext: bn,
|
|
4696
|
-
createFactory:
|
|
4697
|
-
cloneElement:
|
|
4696
|
+
createFactory: Fo,
|
|
4697
|
+
cloneElement: zo,
|
|
4698
4698
|
createRef: Kt,
|
|
4699
4699
|
Fragment: qt,
|
|
4700
|
-
isValidElement:
|
|
4701
|
-
isElement:
|
|
4702
|
-
isFragment:
|
|
4703
|
-
isMemo:
|
|
4704
|
-
findDOMNode:
|
|
4700
|
+
isValidElement: Io,
|
|
4701
|
+
isElement: fs,
|
|
4702
|
+
isFragment: Lo,
|
|
4703
|
+
isMemo: Ro,
|
|
4704
|
+
findDOMNode: Vo,
|
|
4705
4705
|
Component: Jt,
|
|
4706
|
-
PureComponent:
|
|
4707
|
-
memo:
|
|
4708
|
-
forwardRef:
|
|
4709
|
-
flushSync:
|
|
4710
|
-
unstable_batchedUpdates:
|
|
4706
|
+
PureComponent: xo,
|
|
4707
|
+
memo: So,
|
|
4708
|
+
forwardRef: Co,
|
|
4709
|
+
flushSync: ds,
|
|
4710
|
+
unstable_batchedUpdates: us,
|
|
4711
4711
|
StrictMode: qt,
|
|
4712
|
-
Suspense:
|
|
4713
|
-
SuspenseList:
|
|
4714
|
-
lazy:
|
|
4715
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:
|
|
4712
|
+
Suspense: Eo,
|
|
4713
|
+
SuspenseList: ko,
|
|
4714
|
+
lazy: Oo,
|
|
4715
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: cs
|
|
4716
4716
|
};
|
|
4717
4717
|
})), ms = /* @__PURE__ */ s(((e, t) => {
|
|
4718
4718
|
(function(n, r) {
|
|
@@ -5878,7 +5878,7 @@ var Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as,
|
|
|
5878
5878
|
function t(e) {
|
|
5879
5879
|
return e && typeof e == "object" && "default" in e ? e.default : e;
|
|
5880
5880
|
}
|
|
5881
|
-
t((ps(), d(
|
|
5881
|
+
t((ps(), d(po)));
|
|
5882
5882
|
var n = new (ms())(), r = n.getBrowser();
|
|
5883
5883
|
n.getCPU();
|
|
5884
5884
|
var i = n.getDevice(), a = n.getEngine(), o = n.getOS(), s = n.getUA(), c = {
|
|
@@ -6467,7 +6467,7 @@ var ac = new class {
|
|
|
6467
6467
|
}();
|
|
6468
6468
|
//#endregion
|
|
6469
6469
|
//#region ../../common/hooks/useStream.ts
|
|
6470
|
-
|
|
6470
|
+
fo();
|
|
6471
6471
|
function oc(e, t) {
|
|
6472
6472
|
var n = Object.keys(e);
|
|
6473
6473
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -6564,24 +6564,10 @@ function vc(e) {
|
|
|
6564
6564
|
groupId: "",
|
|
6565
6565
|
label: ""
|
|
6566
6566
|
}
|
|
6567
|
-
}), 2), c = s[0], l = c.status, u = c.stream, d = c.camera, f = s[1], p = dc(J(null), 2), m = p[0], h = p[1], g = dc(J(null), 2), _ = g[0], v = g[1], y =
|
|
6567
|
+
}), 2), c = s[0], l = c.status, u = c.stream, d = c.camera, f = s[1], p = dc(J(null), 2), m = p[0], h = p[1], g = dc(J(null), 2), _ = g[0], v = g[1], y = La(""), b = Ba(() => {
|
|
6568
6568
|
f((e) => sc(sc({}, e), {}, { status: Ri.PLAY }));
|
|
6569
6569
|
}, []);
|
|
6570
|
-
return
|
|
6571
|
-
if (b.current) b.current = !1;
|
|
6572
|
-
else try {
|
|
6573
|
-
let e = i.width > 1e4 ? Ji.FULL_HD.width : i.width, t = i.height > 1e4 ? Ji.FULL_HD.height : i.height, n = { ideal: e }, r = { ideal: t }, a = i.width < 900 ? 18 : 30;
|
|
6574
|
-
Ss.isFirefox && Ss.browserVersion >= "145" && (n.min = e, r.min = t);
|
|
6575
|
-
let o = {
|
|
6576
|
-
width: n,
|
|
6577
|
-
height: r,
|
|
6578
|
-
frameRate: { ideal: a }
|
|
6579
|
-
};
|
|
6580
|
-
d.deviceId ? o.deviceId = { exact: d.deviceId } : o.facingMode = { ideal: d.facing }, u == null || u.getVideoTracks()[0].applyConstraints(o);
|
|
6581
|
-
} catch (e) {
|
|
6582
|
-
_c(`Get video error: ${e}`), f((e) => sc(sc({}, e), {}, { status: Ri.UNKNOWN_ERROR }));
|
|
6583
|
-
}
|
|
6584
|
-
}, [i]), Y(() => {
|
|
6570
|
+
return Fa(() => {
|
|
6585
6571
|
let e = !0;
|
|
6586
6572
|
return Ms().then((t) => {
|
|
6587
6573
|
_c(`Video devices: ${JSON.stringify(t)}`), e && (_c(t.isCameraAllowed ? "Preparing the camera" : "Requesting the camera"), f((e) => sc(sc({}, e), {}, { status: t.isCameraAllowed ? Ri.PREPARING : Ri.REQUESTING })), h(t));
|
|
@@ -6590,7 +6576,7 @@ function vc(e) {
|
|
|
6590
6576
|
}), () => {
|
|
6591
6577
|
e = !1;
|
|
6592
6578
|
};
|
|
6593
|
-
}, []),
|
|
6579
|
+
}, []), Fa(() => {
|
|
6594
6580
|
let e = !0;
|
|
6595
6581
|
if (m && !_) return Fs(m, o).then((t) => {
|
|
6596
6582
|
_c(`Sorted cameras: ${JSON.stringify(t)}`), e && v(t);
|
|
@@ -6602,7 +6588,7 @@ function vc(e) {
|
|
|
6602
6588
|
}), () => {
|
|
6603
6589
|
e = !1;
|
|
6604
6590
|
};
|
|
6605
|
-
}, [m, o]),
|
|
6591
|
+
}, [m, o]), Fa(() => {
|
|
6606
6592
|
let e = !0, t = l === Ri.PREPARING || l === Ri.REQUESTING;
|
|
6607
6593
|
if (_ && t) return (function() {
|
|
6608
6594
|
var t = G(function* () {
|
|
@@ -6632,9 +6618,9 @@ function vc(e) {
|
|
|
6632
6618
|
l,
|
|
6633
6619
|
i.width,
|
|
6634
6620
|
i.height
|
|
6635
|
-
]),
|
|
6621
|
+
]), Fa(() => () => {
|
|
6636
6622
|
u && Rs(u);
|
|
6637
|
-
}, [u]),
|
|
6623
|
+
}, [u]), Fa(() => {
|
|
6638
6624
|
if (!a || !y.current) return;
|
|
6639
6625
|
let e = a !== y.current;
|
|
6640
6626
|
l === Ri.PLAY && e && f({
|
|
@@ -6652,7 +6638,7 @@ function vc(e) {
|
|
|
6652
6638
|
stream: u,
|
|
6653
6639
|
camera: d,
|
|
6654
6640
|
sortedDevices: _,
|
|
6655
|
-
onPlay:
|
|
6641
|
+
onPlay: b
|
|
6656
6642
|
};
|
|
6657
6643
|
}
|
|
6658
6644
|
var yc = {
|
|
@@ -6778,7 +6764,7 @@ function Z(e, t, n, r, i, a) {
|
|
|
6778
6764
|
}
|
|
6779
6765
|
//#endregion
|
|
6780
6766
|
//#region ../../common/components/webcamera/index.tsx
|
|
6781
|
-
|
|
6767
|
+
fo();
|
|
6782
6768
|
function Ec(e, t) {
|
|
6783
6769
|
return jc(e) || Ac(e, t) || Oc(e, t) || Dc();
|
|
6784
6770
|
}
|
|
@@ -6821,13 +6807,13 @@ function Ac(e, t) {
|
|
|
6821
6807
|
function jc(e) {
|
|
6822
6808
|
if (Array.isArray(e)) return e;
|
|
6823
6809
|
}
|
|
6824
|
-
var Mc =
|
|
6810
|
+
var Mc = Co(function(e, t) {
|
|
6825
6811
|
let n = e.onVideoStatusChange, r = e.onVideoSizeChange, i = e.mode, a = e.resolution, o = e.onFailStatus, s = e.cameraId, c = e.onRecordService, l = e.videoRecord, u = e.onVideoStarted, d = e.onVideoStopped, f = e.onMirroringChange, p = e.mirrorType, m = p === void 0 ? Wi.mirror : p, h = e.excludeSpecificCameras, g = vc({
|
|
6826
6812
|
mode: i,
|
|
6827
6813
|
resolution: a,
|
|
6828
6814
|
cameraId: s,
|
|
6829
6815
|
excludeSpecificCameras: h
|
|
6830
|
-
}), _ = g.status, v = g.stream, y = g.camera, b = g.sortedDevices, x = g.onPlay, S = Ec(J(!1), 2), C = S[0], w = S[1], T =
|
|
6816
|
+
}), _ = g.status, v = g.stream, y = g.camera, b = g.sortedDevices, x = g.onPlay, S = Ec(J(!1), 2), C = S[0], w = S[1], T = La(null), E = La(null), D = La(null), O = function() {
|
|
6831
6817
|
var e = G(function* () {
|
|
6832
6818
|
yield Us(Ss.isIOS ? qi : 0), x(), u == null || u();
|
|
6833
6819
|
});
|
|
@@ -6835,13 +6821,13 @@ var Mc = So(function(e, t) {
|
|
|
6835
6821
|
return e.apply(this, arguments);
|
|
6836
6822
|
};
|
|
6837
6823
|
}();
|
|
6838
|
-
return
|
|
6824
|
+
return Fa(() => {
|
|
6839
6825
|
w((y.facing === zi.user || y.facing === void 0) && m === Wi.mirror);
|
|
6840
|
-
}, [y.facing, m]),
|
|
6826
|
+
}, [y.facing, m]), Fa(() => {
|
|
6841
6827
|
f == null || f(C);
|
|
6842
|
-
}, [C]),
|
|
6828
|
+
}, [C]), Ra(t, () => ({ changeMirror: () => {
|
|
6843
6829
|
w((e) => !e);
|
|
6844
|
-
} })),
|
|
6830
|
+
} })), Fa(() => {
|
|
6845
6831
|
let e = E.current, t = D.current, n = () => {
|
|
6846
6832
|
e && t && (r == null || r({
|
|
6847
6833
|
videoElement: e,
|
|
@@ -6859,7 +6845,7 @@ var Mc = So(function(e, t) {
|
|
|
6859
6845
|
var t;
|
|
6860
6846
|
e && (window.removeEventListener("resize", n), e.removeEventListener("resize", n)), (t = T.current) == null || t.stopRecord();
|
|
6861
6847
|
};
|
|
6862
|
-
}, []),
|
|
6848
|
+
}, []), Fa(() => {
|
|
6863
6849
|
let e = E.current;
|
|
6864
6850
|
if (_ === Ri.READY && e && v && (e.srcObject = v, e.play(), l)) {
|
|
6865
6851
|
if (T.current) {
|
|
@@ -6955,11 +6941,11 @@ function Nc(e) {
|
|
|
6955
6941
|
}
|
|
6956
6942
|
}
|
|
6957
6943
|
var Pc = { svg: "_svg_68emc_1" };
|
|
6958
|
-
Bn(),
|
|
6959
|
-
var Fc = ac.create("main"), Ic = bn({ onEvent: () => Fc("Function \"onEvent\" not defined.") }), Lc = () =>
|
|
6944
|
+
Bn(), fo();
|
|
6945
|
+
var Fc = ac.create("main"), Ic = bn({ onEvent: () => Fc("Function \"onEvent\" not defined.") }), Lc = () => Va(Ic);
|
|
6960
6946
|
//#endregion
|
|
6961
6947
|
//#region src/components/common/layout/components/frame/components/corners/index.tsx
|
|
6962
|
-
|
|
6948
|
+
fo();
|
|
6963
6949
|
function Rc(e, t) {
|
|
6964
6950
|
return Uc(e) || Hc(e, t) || Bc(e, t) || zc();
|
|
6965
6951
|
}
|
|
@@ -7004,7 +6990,7 @@ function Uc(e) {
|
|
|
7004
6990
|
}
|
|
7005
6991
|
function Wc(e) {
|
|
7006
6992
|
let t = e.maskParams, n = e.borderColor, r = e.strokeWidth, i = e.adjustment, a = Lc(), o = a.cameraFrameShapeType, s = o === void 0 ? oi.line : o, c = a.cameraFrameLineCap, l = c === void 0 ? si.butt : c, u = a.cameraFrameLineLength, d = u === void 0 ? 5 : u, f = a.cameraFrameCornerRadius, p = f === void 0 ? 15 : f, m = Rc(J(null), 2), h = m[0], g = m[1];
|
|
7007
|
-
return
|
|
6993
|
+
return Ia(() => {
|
|
7008
6994
|
if (s !== oi.corners) return;
|
|
7009
6995
|
let e = t.width / 100 * d, n = p + r / 2 + i, a = r / 2, o = t.left + t.width - e - n + a + i, c = t.top - a - i, l = t.left + t.width + a + i, u = t.top + t.height - e - n + a + i, f = t.left + e + n - a - i, m = t.top + t.height + a + i, h = t.left - a - i, _ = t.top + e + n - a - i;
|
|
7010
6996
|
g({
|
|
@@ -7198,7 +7184,7 @@ var tl = { disabled: !1 };
|
|
|
7198
7184
|
//#endregion
|
|
7199
7185
|
//#region ../../node_modules/react-transition-group/esm/TransitionGroupContext.js
|
|
7200
7186
|
ps();
|
|
7201
|
-
var nl =
|
|
7187
|
+
var nl = Y.createContext(null), rl = function(e) {
|
|
7202
7188
|
return e.scrollTop;
|
|
7203
7189
|
};
|
|
7204
7190
|
//#endregion
|
|
@@ -7236,14 +7222,14 @@ var il = "unmounted", al = "exited", ol = "entering", sl = "entered", cl = "exit
|
|
|
7236
7222
|
if (e === void 0 && (e = !1), t !== null) {
|
|
7237
7223
|
if (this.cancelNextCallback(), t === "entering") {
|
|
7238
7224
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
7239
|
-
var n = this.props.nodeRef ? this.props.nodeRef.current :
|
|
7225
|
+
var n = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this);
|
|
7240
7226
|
n && rl(n);
|
|
7241
7227
|
}
|
|
7242
7228
|
this.performEnter(e);
|
|
7243
7229
|
} else this.performExit();
|
|
7244
7230
|
} else this.props.unmountOnExit && this.state.status === "exited" && this.setState({ status: il });
|
|
7245
7231
|
}, n.performEnter = function(e) {
|
|
7246
|
-
var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, i = this.props.nodeRef ? [r] : [
|
|
7232
|
+
var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, i = this.props.nodeRef ? [r] : [Y.findDOMNode(this), r], a = i[0], o = i[1], s = this.getTimeouts(), c = r ? s.appear : s.enter;
|
|
7247
7233
|
!e && !n || tl.disabled ? this.safeSetState({ status: sl }, function() {
|
|
7248
7234
|
t.props.onEntered(a);
|
|
7249
7235
|
}) : (this.props.onEnter(a, o), this.safeSetState({ status: ol }, function() {
|
|
@@ -7254,7 +7240,7 @@ var il = "unmounted", al = "exited", ol = "entering", sl = "entered", cl = "exit
|
|
|
7254
7240
|
});
|
|
7255
7241
|
}));
|
|
7256
7242
|
}, n.performExit = function() {
|
|
7257
|
-
var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 :
|
|
7243
|
+
var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 : Y.findDOMNode(this);
|
|
7258
7244
|
!t || tl.disabled ? this.safeSetState({ status: al }, function() {
|
|
7259
7245
|
e.props.onExited(r);
|
|
7260
7246
|
}) : (this.props.onExit(r), this.safeSetState({ status: cl }, function() {
|
|
@@ -7277,7 +7263,7 @@ var il = "unmounted", al = "exited", ol = "entering", sl = "entered", cl = "exit
|
|
|
7277
7263
|
}, this.nextCallback;
|
|
7278
7264
|
}, n.onTransitionEnd = function(e, t) {
|
|
7279
7265
|
this.setNextCallback(t);
|
|
7280
|
-
var n = this.props.nodeRef ? this.props.nodeRef.current :
|
|
7266
|
+
var n = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this), r = e == null && !this.props.addEndListener;
|
|
7281
7267
|
if (!n || r) setTimeout(this.nextCallback, 0);
|
|
7282
7268
|
else {
|
|
7283
7269
|
if (this.props.addEndListener) {
|
|
@@ -7309,9 +7295,9 @@ var il = "unmounted", al = "exited", ol = "entering", sl = "entered", cl = "exit
|
|
|
7309
7295
|
"onExited",
|
|
7310
7296
|
"nodeRef"
|
|
7311
7297
|
]);
|
|
7312
|
-
return /*#__PURE__*/
|
|
7298
|
+
return /*#__PURE__*/ Y.createElement(nl.Provider, { value: null }, typeof n == "function" ? n(e, r) : Y.cloneElement(Y.Children.only(n), r));
|
|
7313
7299
|
}, t;
|
|
7314
|
-
}(
|
|
7300
|
+
}(Y.Component);
|
|
7315
7301
|
ll.contextType = nl, ll.propTypes = {};
|
|
7316
7302
|
function ul() {}
|
|
7317
7303
|
//#endregion
|
|
@@ -7386,7 +7372,7 @@ var dl = function(e, t) {
|
|
|
7386
7372
|
var e = this.props;
|
|
7387
7373
|
e.classNames;
|
|
7388
7374
|
var t = Jc(e, ["classNames"]);
|
|
7389
|
-
return /*#__PURE__*/
|
|
7375
|
+
return /*#__PURE__*/ Y.createElement(ll, qc({}, t, {
|
|
7390
7376
|
onEnter: this.onEnter,
|
|
7391
7377
|
onEntered: this.onEntered,
|
|
7392
7378
|
onEntering: this.onEntering,
|
|
@@ -7395,13 +7381,13 @@ var dl = function(e, t) {
|
|
|
7395
7381
|
onExited: this.onExited
|
|
7396
7382
|
}));
|
|
7397
7383
|
}, t;
|
|
7398
|
-
}(
|
|
7384
|
+
}(Y.Component);
|
|
7399
7385
|
//#endregion
|
|
7400
7386
|
//#region ../../node_modules/react-transition-group/esm/SwitchTransition.js
|
|
7401
7387
|
pl.defaultProps = { classNames: "" }, pl.propTypes = {}, ps();
|
|
7402
7388
|
var ml, hl;
|
|
7403
7389
|
function gl(e, t) {
|
|
7404
|
-
return !(e === t ||
|
|
7390
|
+
return !(e === t || Y.isValidElement(e) && Y.isValidElement(t) && e.key != null && e.key === t.key);
|
|
7405
7391
|
}
|
|
7406
7392
|
var _l = {
|
|
7407
7393
|
out: "out-in",
|
|
@@ -7413,7 +7399,7 @@ var _l = {
|
|
|
7413
7399
|
};
|
|
7414
7400
|
}, yl = (ml = {}, ml[_l.out] = function(e) {
|
|
7415
7401
|
var t = e.current, n = e.changeState;
|
|
7416
|
-
return
|
|
7402
|
+
return Y.cloneElement(t, {
|
|
7417
7403
|
in: !1,
|
|
7418
7404
|
onExited: vl(t, "onExited", function() {
|
|
7419
7405
|
n(ol, null);
|
|
@@ -7421,7 +7407,7 @@ var _l = {
|
|
|
7421
7407
|
});
|
|
7422
7408
|
}, ml[_l.in] = function(e) {
|
|
7423
7409
|
var t = e.current, n = e.changeState, r = e.children;
|
|
7424
|
-
return [t,
|
|
7410
|
+
return [t, Y.cloneElement(r, {
|
|
7425
7411
|
in: !0,
|
|
7426
7412
|
onEntered: vl(r, "onEntered", function() {
|
|
7427
7413
|
n(ol);
|
|
@@ -7429,20 +7415,20 @@ var _l = {
|
|
|
7429
7415
|
})];
|
|
7430
7416
|
}, ml), bl = (hl = {}, hl[_l.out] = function(e) {
|
|
7431
7417
|
var t = e.children, n = e.changeState;
|
|
7432
|
-
return
|
|
7418
|
+
return Y.cloneElement(t, {
|
|
7433
7419
|
in: !0,
|
|
7434
7420
|
onEntered: vl(t, "onEntered", function() {
|
|
7435
|
-
n(sl,
|
|
7421
|
+
n(sl, Y.cloneElement(t, { in: !0 }));
|
|
7436
7422
|
})
|
|
7437
7423
|
});
|
|
7438
7424
|
}, hl[_l.in] = function(e) {
|
|
7439
7425
|
var t = e.current, n = e.children, r = e.changeState;
|
|
7440
|
-
return [
|
|
7426
|
+
return [Y.cloneElement(t, {
|
|
7441
7427
|
in: !1,
|
|
7442
7428
|
onExited: vl(t, "onExited", function() {
|
|
7443
|
-
r(sl,
|
|
7429
|
+
r(sl, Y.cloneElement(n, { in: !0 }));
|
|
7444
7430
|
})
|
|
7445
|
-
}),
|
|
7431
|
+
}), Y.cloneElement(n, { in: !0 })];
|
|
7446
7432
|
}, hl), xl = /*#__PURE__*/ function(e) {
|
|
7447
7433
|
Xc(t, e);
|
|
7448
7434
|
function t() {
|
|
@@ -7461,7 +7447,7 @@ var _l = {
|
|
|
7461
7447
|
return n.componentDidMount = function() {
|
|
7462
7448
|
this.appeared = !0;
|
|
7463
7449
|
}, t.getDerivedStateFromProps = function(e, t) {
|
|
7464
|
-
return e.children == null ? { current: null } : t.status === "entering" && e.mode === _l.in ? { status: ol } : t.current && gl(t.current, e.children) ? { status: cl } : { current:
|
|
7450
|
+
return e.children == null ? { current: null } : t.status === "entering" && e.mode === _l.in ? { status: ol } : t.current && gl(t.current, e.children) ? { status: cl } : { current: Y.cloneElement(e.children, { in: !0 }) };
|
|
7465
7451
|
}, n.render = function() {
|
|
7466
7452
|
var e = this.props, t = e.children, n = e.mode, r = this.state, i = r.status, a = r.current, o = {
|
|
7467
7453
|
children: t,
|
|
@@ -7478,9 +7464,9 @@ var _l = {
|
|
|
7478
7464
|
break;
|
|
7479
7465
|
case sl: s = a;
|
|
7480
7466
|
}
|
|
7481
|
-
return /*#__PURE__*/
|
|
7467
|
+
return /*#__PURE__*/ Y.createElement(nl.Provider, { value: { isMounting: !this.appeared } }, s);
|
|
7482
7468
|
}, t;
|
|
7483
|
-
}(
|
|
7469
|
+
}(Y.Component);
|
|
7484
7470
|
xl.propTypes = {}, xl.defaultProps = { mode: _l.out };
|
|
7485
7471
|
var Sl = {
|
|
7486
7472
|
"hint-container": "_hint-container_1r2jg_1",
|
|
@@ -7541,10 +7527,10 @@ var Al = bn({
|
|
|
7541
7527
|
});
|
|
7542
7528
|
Al.displayName = "LocalizationContext";
|
|
7543
7529
|
function jl({ children: e, disableCache: t = !1, locale: n, translations: r = {} }) {
|
|
7544
|
-
let i =
|
|
7530
|
+
let i = za(() => {
|
|
7545
7531
|
let e = El(n, r), t = e === null ? r : r[e];
|
|
7546
7532
|
return t && typeof t == "object" ? t : {};
|
|
7547
|
-
}, [n, r]), a =
|
|
7533
|
+
}, [n, r]), a = za(() => {
|
|
7548
7534
|
let e = (e, t, n) => {
|
|
7549
7535
|
if (!e) return n == null ? e : n;
|
|
7550
7536
|
let r = typeof n == "string" ? n : e, a = i[e];
|
|
@@ -7555,7 +7541,7 @@ function jl({ children: e, disableCache: t = !1, locale: n, translations: r = {}
|
|
|
7555
7541
|
return kl(typeof s == "string" ? s : r, t);
|
|
7556
7542
|
};
|
|
7557
7543
|
return t ? e : Dl(e);
|
|
7558
|
-
}, [t, i]), o =
|
|
7544
|
+
}, [t, i]), o = za(() => ({
|
|
7559
7545
|
locale: n,
|
|
7560
7546
|
translate: a,
|
|
7561
7547
|
translations: r
|
|
@@ -7579,13 +7565,13 @@ function Ml(e, t) {
|
|
|
7579
7565
|
return typeof n == "string" ? n : void 0;
|
|
7580
7566
|
}
|
|
7581
7567
|
function Nl() {
|
|
7582
|
-
return
|
|
7568
|
+
return Va(Al);
|
|
7583
7569
|
}
|
|
7584
7570
|
var Pl = { copyright: "_copyright_7zsy1_1" }, Fl = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='33'%20height='11'%20viewBox='0%200%2033%2011'%20fill='none'%3e%3cpath%20d='M4.98344%205.36204C5.67499%204.93985%206.16388%204.1039%206.16388%203.18439C6.16388%201.43957%204.78591%200.299805%203.05391%200.299805C1.3219%200.299805%200%201.43993%200%203.40978V4.88744H1.26767V3.40942C1.26767%202.22751%202.0699%201.566%203.055%201.566C4.04011%201.566%204.74339%202.24143%204.74339%203.18439C4.74339%204.12736%203.98367%204.88708%202.99857%204.88708H1.26767V8.09564H2.53423V6.01291H3.02679C4.26513%206.01291%205.08129%206.9698%205.10951%208.09564H6.43215C6.40869%206.98153%205.87546%205.85716%204.98454%205.36204'%20fill='%23BD7DFF'/%3e%3cpath%20d='M31.8037%202.5231V3.32533C31.4658%202.81885%2030.8747%202.48242%2030.0307%202.48242C28.4827%202.48242%2027.3286%203.72077%2027.3286%205.31094C27.3286%206.88682%2028.4827%208.13946%2030.0307%208.13946C30.8326%208.13946%2031.4098%207.81585%2031.8037%207.3233V8.09731H32.9999V2.5231H31.8037ZM30.1714%206.92787C29.2706%206.92787%2028.6234%206.22422%2028.6234%205.30947C28.6234%204.39473%2029.2706%203.69108%2030.1714%203.69108C31.0722%203.69108%2031.7334%204.39473%2031.7334%205.30947C31.7334%206.22422%2031.0737%206.92787%2030.1714%206.92787Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M23.2758%205.40839C23.2758%206.50601%2022.7129%206.91427%2021.9953%206.91427C21.2777%206.91427%2020.7148%206.50601%2020.7148%205.40839V2.52344H19.4482V5.35196C19.4482%207.20966%2020.4051%208.13723%2021.9953%208.13723C23.5855%208.13723%2024.5424%207.20856%2024.5424%205.35196V2.52344H23.2758V5.40839Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M9.55541%202.48047C7.99309%202.48047%206.78296%203.76096%206.78296%205.32328C6.78296%206.8856%207.99235%208.13751%209.59755%208.13751C10.5684%208.13751%2011.272%207.79997%2011.8492%207.19491L11.1595%206.37875C10.7795%206.71628%2010.3012%206.9556%209.62577%206.9556C8.95034%206.9556%208.31706%206.6177%208.12099%205.88583H12.2853C12.3358%205.66432%2012.3594%205.43755%2012.3557%205.2104C12.3557%203.63452%2011.1174%202.48047%209.55541%202.48047ZM8.04953%204.8868C8.21847%204.15383%208.83746%203.66274%209.6254%203.66274C10.4133%203.66274%2010.948%204.14101%2011.1031%204.8868H8.04953Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M26.6533%200.356445H25.3867V8.09621H26.6533V0.356445Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M17.4077%203.32533C17.1263%202.84671%2016.4791%202.48242%2015.6347%202.48242C14.157%202.48242%2012.9326%203.72077%2012.9326%205.31094C12.9326%206.88682%2014.157%208.09621%2015.6347%208.09621C16.4369%208.09621%2016.9434%207.8569%2017.3374%207.36325V7.87009C17.3374%208.96771%2016.5634%209.36168%2015.8176%209.36168C15.0718%209.36168%2014.4806%208.9952%2014.3681%208.1937H13.1298C13.1862%209.601%2014.3117%2010.5025%2015.8176%2010.5025C17.3235%2010.5025%2018.6028%209.64424%2018.6028%207.78654V2.5231H17.4077V3.32533ZM15.7754%206.88572C14.8746%206.88572%2014.2274%206.22422%2014.2274%205.30984C14.2274%204.39547%2014.8746%203.69145%2015.7754%203.69145C16.6762%203.69145%2017.3374%204.3951%2017.3374%205.30984C17.3374%206.22458%2016.6759%206.88572%2015.7754%206.88572Z'%20fill='%23BD7DFF'/%3e%3c/svg%3e";
|
|
7585
7571
|
//#endregion
|
|
7586
7572
|
//#region src/components/common/copyright/index.tsx
|
|
7587
7573
|
ps();
|
|
7588
|
-
var Il =
|
|
7574
|
+
var Il = Co(function(e, t) {
|
|
7589
7575
|
let n = e.className, r = Lc().copyright;
|
|
7590
7576
|
return r === void 0 || r ? Z("div", {
|
|
7591
7577
|
ref: t,
|
|
@@ -7793,7 +7779,7 @@ var zl = /* @__PURE__ */ s(((e, t) => {
|
|
|
7793
7779
|
var Gl = { announcer: "_announcer_1qj2e_1" };
|
|
7794
7780
|
//#endregion
|
|
7795
7781
|
//#region ../../common/components/a11y-announce/index.tsx
|
|
7796
|
-
|
|
7782
|
+
fo();
|
|
7797
7783
|
function Kl(e, t) {
|
|
7798
7784
|
return Zl(e) || Xl(e, t) || Jl(e, t) || ql();
|
|
7799
7785
|
}
|
|
@@ -7838,7 +7824,7 @@ function Zl(e) {
|
|
|
7838
7824
|
}
|
|
7839
7825
|
function Ql(e) {
|
|
7840
7826
|
let t = e.text, n = e.timeout, r = n === void 0 ? 100 : n, i = Kl(J(""), 2), a = i[0], o = i[1];
|
|
7841
|
-
return
|
|
7827
|
+
return Fa(() => {
|
|
7842
7828
|
if (!t) return;
|
|
7843
7829
|
let e = t.replace(/\.{3}$/, "");
|
|
7844
7830
|
o("");
|
|
@@ -7886,7 +7872,7 @@ var $l = /* @__PURE__ */ s(((e, t) => {
|
|
|
7886
7872
|
//#endregion
|
|
7887
7873
|
//#region src/components/common/layout/components/tips/components/document-animation/components/tilt/index.tsx
|
|
7888
7874
|
ps();
|
|
7889
|
-
var nu =
|
|
7875
|
+
var nu = Co(function(e, t) {
|
|
7890
7876
|
var n, r;
|
|
7891
7877
|
let i = e.animation, a = Nl().translate, o = Ll((n = (0, eu.default)(i.image)) == null ? pi.IDFront : n);
|
|
7892
7878
|
return Z(qt, { children: [Z(Ql, { text: a("tiltDocument") }), Z("div", {
|
|
@@ -7919,7 +7905,7 @@ var nu = So(function(e, t) {
|
|
|
7919
7905
|
//#endregion
|
|
7920
7906
|
//#region src/components/common/layout/components/tips/components/document-animation/components/flip/index.tsx
|
|
7921
7907
|
ps();
|
|
7922
|
-
var iu =
|
|
7908
|
+
var iu = Co(function(e, t) {
|
|
7923
7909
|
var n, r, i, a, o;
|
|
7924
7910
|
let s = e.animation, c = Nl().translate, l = Lc().nextPageAnimationStartDelay, u = l === void 0 ? wi : l, d = s.image.length === 1, f = d && (0, eu.default)(s.image) === pi.PassportTwoPages, p = Ll((n = (0, eu.default)(s.image)) == null ? pi.DocumentFront : n), m = {
|
|
7925
7911
|
"--animation-delay": u + "ms",
|
|
@@ -7951,7 +7937,7 @@ var iu = So(function(e, t) {
|
|
|
7951
7937
|
})]
|
|
7952
7938
|
})] });
|
|
7953
7939
|
});
|
|
7954
|
-
|
|
7940
|
+
fo(), ps();
|
|
7955
7941
|
function au(e, t) {
|
|
7956
7942
|
return uu(e) || lu(e, t) || su(e, t) || ou();
|
|
7957
7943
|
}
|
|
@@ -7994,9 +7980,9 @@ function lu(e, t) {
|
|
|
7994
7980
|
function uu(e) {
|
|
7995
7981
|
if (Array.isArray(e)) return e;
|
|
7996
7982
|
}
|
|
7997
|
-
var du =
|
|
7983
|
+
var du = Co(function(e, t) {
|
|
7998
7984
|
let n = e.animation, r = au(J(null), 2), i = r[0], a = r[1];
|
|
7999
|
-
|
|
7985
|
+
Ia(() => {
|
|
8000
7986
|
n && a(n.type);
|
|
8001
7987
|
}, [n]);
|
|
8002
7988
|
let o = (n == null ? void 0 : n.type) || i;
|
|
@@ -8010,7 +7996,7 @@ var du = So(function(e, t) {
|
|
|
8010
7996
|
});
|
|
8011
7997
|
//#endregion
|
|
8012
7998
|
//#region src/components/common/layout/components/tips/index.tsx
|
|
8013
|
-
|
|
7999
|
+
fo();
|
|
8014
8000
|
function fu(e, t) {
|
|
8015
8001
|
var n = Object.keys(e);
|
|
8016
8002
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -8056,7 +8042,7 @@ function gu(e, t) {
|
|
|
8056
8042
|
}
|
|
8057
8043
|
function _u(e) {
|
|
8058
8044
|
var t;
|
|
8059
|
-
let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Lc(), d = u.statusIcon, f = d === void 0 || d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ =
|
|
8045
|
+
let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Lc(), d = u.statusIcon, f = d === void 0 || d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ = La(null), v = La(null), y = La(null), b = La(null), x = La(null), S = l && a == null, C = `${Sl["hint-container"]} ${S ? Sl["tips-frameless"] : ""}`, w = Nl().translate, T = {
|
|
8060
8046
|
classNames: {
|
|
8061
8047
|
enter: Sl["fade-enter"],
|
|
8062
8048
|
enterActive: Sl["fade-enter-active"],
|
|
@@ -8065,7 +8051,7 @@ function _u(e) {
|
|
|
8065
8051
|
},
|
|
8066
8052
|
timeout: 300
|
|
8067
8053
|
};
|
|
8068
|
-
return
|
|
8054
|
+
return Ia(() => {
|
|
8069
8055
|
var e, t;
|
|
8070
8056
|
let r = v.current;
|
|
8071
8057
|
if (!r || !s) return;
|
|
@@ -8174,7 +8160,7 @@ var vu = {
|
|
|
8174
8160
|
};
|
|
8175
8161
|
//#endregion
|
|
8176
8162
|
//#region src/components/common/layout/components/controls/index.tsx
|
|
8177
|
-
|
|
8163
|
+
fo();
|
|
8178
8164
|
function yu(e, t) {
|
|
8179
8165
|
return wu(e) || Cu(e, t) || xu(e, t) || bu();
|
|
8180
8166
|
}
|
|
@@ -8219,8 +8205,8 @@ function wu(e) {
|
|
|
8219
8205
|
}
|
|
8220
8206
|
function Tu(e) {
|
|
8221
8207
|
var t;
|
|
8222
|
-
let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Lc(), v = _.closeButton, y = v === void 0 || v, b = _.skipButton, x = b === void 0 || b, S = _.mirrorButton, C = S !== void 0 && S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D = Nl().translate, O = yu(J(T === void 0), 2), k = O[0], A = O[1], j =
|
|
8223
|
-
return
|
|
8208
|
+
let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Lc(), v = _.closeButton, y = v === void 0 || v, b = _.skipButton, x = b === void 0 || b, S = _.mirrorButton, C = S !== void 0 && S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D = Nl().translate, O = yu(J(T === void 0), 2), k = O[0], A = O[1], j = La(null), M = La(null), N = La(null), P = La(null), F = f && u && k, I = x, L = d !== zi.environment && C, R = i && w, z = y, ee = F || !!p || I, B = L || R, V = F || !!p || L || R, H = V || I, te = n ? "mirrored" : "not-mirrored", U = { "--skip-position": ((t = g === Ui.Ltr && E ? l == null ? void 0 : l.right : l == null ? void 0 : l.left) == null ? 0 : t) + 18 + "px" };
|
|
8209
|
+
return Fa(() => {
|
|
8224
8210
|
var e, t, n, r, i, o;
|
|
8225
8211
|
let s = ((e = j.current) == null ? void 0 : e.offsetWidth) || 0, c = ((t = M.current) == null ? void 0 : t.offsetWidth) || 0, l = ((n = N.current) == null ? void 0 : n.offsetWidth) || 0, u = ((r = P.current) == null ? void 0 : r.offsetWidth) || 0, d = ((i = P.current) == null ? void 0 : i.offsetHeight) || 0, f = ((o = j.current) == null ? void 0 : o.offsetHeight) || 0;
|
|
8226
8212
|
h({
|
|
@@ -8234,7 +8220,7 @@ function Tu(e) {
|
|
|
8234
8220
|
H,
|
|
8235
8221
|
a,
|
|
8236
8222
|
V
|
|
8237
|
-
]),
|
|
8223
|
+
]), Fa(() => {
|
|
8238
8224
|
if (typeof T != "number") return;
|
|
8239
8225
|
let e = setTimeout(() => {
|
|
8240
8226
|
A(!0);
|
|
@@ -8394,7 +8380,7 @@ var Au = {
|
|
|
8394
8380
|
};
|
|
8395
8381
|
//#endregion
|
|
8396
8382
|
//#region src/components/common/layout/index.tsx
|
|
8397
|
-
|
|
8383
|
+
fo();
|
|
8398
8384
|
function ju(e, t) {
|
|
8399
8385
|
return Iu(e) || Fu(e, t) || Nu(e, t) || Mu();
|
|
8400
8386
|
}
|
|
@@ -8438,10 +8424,10 @@ function Iu(e) {
|
|
|
8438
8424
|
if (Array.isArray(e)) return e;
|
|
8439
8425
|
}
|
|
8440
8426
|
function Lu(e) {
|
|
8441
|
-
let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Lc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 || b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E =
|
|
8442
|
-
return
|
|
8427
|
+
let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Lc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 || b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E = La(null), D = La(null), O = ju(J(!1), 2), k = O[0], A = O[1], j = ju(J(null), 2), M = j[0], N = j[1], P = ju(J(null), 2), F = P[0], I = P[1], L = ju(J(null), 2), R = L[0], z = L[1], ee = !!(s.sortedDevices && s.sortedDevices.frontCameras.length + s.sortedDevices.backCameras.length > 1), B = n === K.HOLD || n === K.FOCUS || n === K.RESOLUTION || n === K.PROCESSING || n === K.GLARE || n === K.OCCLUSION, V = n !== K.SERVICE_PREPARING, H = s.videoStatus === Ri.PLAY, te = Nc(n), U = te.icon, ne = te.title, W = c.videoParams.width > c.videoParams.height, re = S ? c.videoContainerParams : F;
|
|
8428
|
+
return Fa(() => {
|
|
8443
8429
|
n !== K.START_NEXT_PAGE || T || A(!0);
|
|
8444
|
-
}, [n, T]),
|
|
8430
|
+
}, [n, T]), Ia(() => {
|
|
8445
8431
|
let e = E.current;
|
|
8446
8432
|
if (!H || !e || !V) return;
|
|
8447
8433
|
let n = As(c.videoParams.width, c.videoParams.height, c.videoContainerParams.width, c.videoContainerParams.height, c.videoParams.width, c.videoParams.height, 0, 0, Bi.contain), r = n.width, a = n.height, o = n.left, s = n.right, l = n.top, u = n.stroke, d = S ? 0 : 2;
|
|
@@ -8498,7 +8484,7 @@ function Lu(e) {
|
|
|
8498
8484
|
w,
|
|
8499
8485
|
R,
|
|
8500
8486
|
t
|
|
8501
|
-
]),
|
|
8487
|
+
]), Ia(() => {
|
|
8502
8488
|
if (!F || !_ || !R || !W || S) return;
|
|
8503
8489
|
let e = F.width / c.videoParams.width, t = R.main > 0 ? R.main / e : 0;
|
|
8504
8490
|
_(t);
|
|
@@ -8621,7 +8607,7 @@ var Ru = /* @__PURE__ */ s(((e, t) => {
|
|
|
8621
8607
|
}).result;
|
|
8622
8608
|
} });
|
|
8623
8609
|
}));
|
|
8624
|
-
Vu(), Hu(),
|
|
8610
|
+
Vu(), Hu(), fo();
|
|
8625
8611
|
function Uu(e, t) {
|
|
8626
8612
|
return Ju(e) || qu(e, t) || Gu(e, t) || Wu();
|
|
8627
8613
|
}
|
|
@@ -8680,7 +8666,7 @@ function Yu(e) {
|
|
|
8680
8666
|
}
|
|
8681
8667
|
function Xu(e) {
|
|
8682
8668
|
let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.scenario, a = e.scenarioParams, o = Lc(), s = o.cameraFramePortraitAspectRatio, c = o.cameraFrameLandscapeAspectRatio, l = o.cameraFrameOffsetWidth, u = o.cameraFrameVerticalPositionMultiplier, d = o.cameraFrameHorizontalPositionMultiplier, f = o.cameraFrame, p = f === void 0 || f, m = o.newLayout, h = Uu(J(null), 2), g = h[0], _ = h[1];
|
|
8683
|
-
return
|
|
8669
|
+
return Fa(() => {
|
|
8684
8670
|
if (!p) return _(null);
|
|
8685
8671
|
let e = !!t.width, o = !!t.height;
|
|
8686
8672
|
if (!(e && o && a != null && a.length) || !i) return;
|
|
@@ -13040,11 +13026,11 @@ function Ly(e, t) {
|
|
|
13040
13026
|
var n, r;
|
|
13041
13027
|
let i = {
|
|
13042
13028
|
[mi.BarcodeMRZ]: {
|
|
13043
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
13029
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/9.11/barcodemrz/99db20d0-9fb3ee8de",
|
|
13044
13030
|
DEV: "./wasm/barcode-mrz/"
|
|
13045
13031
|
},
|
|
13046
13032
|
[mi.BoundsLite]: {
|
|
13047
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
13033
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/9.11/boundslite/99db20d0-9fb3ee8de",
|
|
13048
13034
|
DEV: "./wasm/bounds-lite/"
|
|
13049
13035
|
}
|
|
13050
13036
|
};
|
|
@@ -13101,7 +13087,7 @@ var Vy = class {
|
|
|
13101
13087
|
};
|
|
13102
13088
|
//#endregion
|
|
13103
13089
|
//#region src/hooks/useInitialize.ts
|
|
13104
|
-
|
|
13090
|
+
fo();
|
|
13105
13091
|
function Hy(e, t) {
|
|
13106
13092
|
var n = Object.keys(e);
|
|
13107
13093
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -13193,7 +13179,7 @@ function eb(e) {
|
|
|
13193
13179
|
initialized: !1,
|
|
13194
13180
|
initData: i.initData
|
|
13195
13181
|
}), 2), o = a[0], s = a[1];
|
|
13196
|
-
return
|
|
13182
|
+
return Fa(() => {
|
|
13197
13183
|
if (o.initData && !o.initialized && t) {
|
|
13198
13184
|
if (o.initData.license.errorCode === 0 && o.initData.license.status) {
|
|
13199
13185
|
let e = o.initData.scenario.filter((e) => e.name !== Si);
|
|
@@ -13209,7 +13195,7 @@ function eb(e) {
|
|
|
13209
13195
|
})) : (n(new ed(Qr.INCORRECT_SCENARIO)), $y(`Incorrect scenario: ${t}`));
|
|
13210
13196
|
} else n(new ed(Qr.WASM_LICENSE, o.initData.license.message)), $y("Problems with initialization.");
|
|
13211
13197
|
}
|
|
13212
|
-
}, [o, t]),
|
|
13198
|
+
}, [o, t]), Fa(() => {
|
|
13213
13199
|
!i || i.isInitialized || i.initData || (i.initializeListener = (e) => {
|
|
13214
13200
|
e.isInitialized && i.initData && s((e) => Uy(Uy({}, e), {}, { initData: i.initData }));
|
|
13215
13201
|
});
|
|
@@ -13217,7 +13203,7 @@ function eb(e) {
|
|
|
13217
13203
|
}
|
|
13218
13204
|
//#endregion
|
|
13219
13205
|
//#region ../../common/hooks/useDebounce.ts
|
|
13220
|
-
|
|
13206
|
+
fo();
|
|
13221
13207
|
function tb(e, t) {
|
|
13222
13208
|
return ob(e) || ab(e, t) || rb(e, t) || nb();
|
|
13223
13209
|
}
|
|
@@ -13262,9 +13248,9 @@ function ob(e) {
|
|
|
13262
13248
|
}
|
|
13263
13249
|
function sb(e, t) {
|
|
13264
13250
|
let n = tb(J(e), 2), r = n[0], i = n[1], a = tb(J(!1), 2), o = a[0], s = a[1];
|
|
13265
|
-
return
|
|
13251
|
+
return Fa(() => {
|
|
13266
13252
|
o || i(e);
|
|
13267
|
-
}, [o, e]),
|
|
13253
|
+
}, [o, e]), Fa(() => {
|
|
13268
13254
|
s(!0);
|
|
13269
13255
|
let e = setTimeout(() => {
|
|
13270
13256
|
s(!1);
|
|
@@ -13276,7 +13262,7 @@ function sb(e, t) {
|
|
|
13276
13262
|
}
|
|
13277
13263
|
//#endregion
|
|
13278
13264
|
//#region ../../common/hooks/useShake.ts
|
|
13279
|
-
|
|
13265
|
+
fo();
|
|
13280
13266
|
function cb(e, t) {
|
|
13281
13267
|
return pb(e) || fb(e, t) || ub(e, t) || lb();
|
|
13282
13268
|
}
|
|
@@ -13321,7 +13307,7 @@ function pb(e) {
|
|
|
13321
13307
|
}
|
|
13322
13308
|
var mb = ac.create("main"), hb = 5;
|
|
13323
13309
|
function gb(e) {
|
|
13324
|
-
let t = cb(J(!1), 2), n = t[0], r = t[1], i =
|
|
13310
|
+
let t = cb(J(!1), 2), n = t[0], r = t[1], i = La({
|
|
13325
13311
|
x: 0,
|
|
13326
13312
|
y: 0,
|
|
13327
13313
|
z: 0
|
|
@@ -13331,7 +13317,7 @@ function gb(e) {
|
|
|
13331
13317
|
let a = Math.abs(e.acceleration.x - i.current.x) + Math.abs(e.acceleration.y - i.current.y) + Math.abs(e.acceleration.z - i.current.z);
|
|
13332
13318
|
r(a > hb), i.current.x = e.acceleration.x, i.current.y = e.acceleration.y, i.current.z = e.acceleration.z;
|
|
13333
13319
|
};
|
|
13334
|
-
return
|
|
13320
|
+
return Fa(() => {
|
|
13335
13321
|
if (!e) return;
|
|
13336
13322
|
let t = DeviceOrientationEvent.requestPermission;
|
|
13337
13323
|
if (typeof t == "function") t().then((e) => {
|
|
@@ -13348,7 +13334,7 @@ function gb(e) {
|
|
|
13348
13334
|
}
|
|
13349
13335
|
//#endregion
|
|
13350
13336
|
//#region src/hooks/useRecognizeVideo.ts
|
|
13351
|
-
|
|
13337
|
+
fo();
|
|
13352
13338
|
function _b(e, t) {
|
|
13353
13339
|
var n = Object.keys(e);
|
|
13354
13340
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -13436,7 +13422,7 @@ function Db(e) {
|
|
|
13436
13422
|
}
|
|
13437
13423
|
var Ob = ac.create("main");
|
|
13438
13424
|
function kb(e) {
|
|
13439
|
-
let t = e.videoElementParams, n = e.videoStatusParams, r = e.mirroring, i = e.onError, a = e.controlsWidth, o = e.captureMode, s = window.RegulaDocumentSDK, c = Lc(), l = c.onEvent, u = c.multipageProcessing, d = c.internalScenario, f = c.videoCaptureMotionControl, p = c.nextPageAnimationStartDelay, m = p === void 0 ? wi : p, h = c.nextPageAnimationEndDelay, g = h === void 0 ? Ti : h, _ = c.processingDelay, v = _ === void 0 ? 0 : _, y = c.manualMultipageMode, b = gb(f).isShake, x =
|
|
13425
|
+
let t = e.videoElementParams, n = e.videoStatusParams, r = e.mirroring, i = e.onError, a = e.controlsWidth, o = e.captureMode, s = window.RegulaDocumentSDK, c = Lc(), l = c.onEvent, u = c.multipageProcessing, d = c.internalScenario, f = c.videoCaptureMotionControl, p = c.nextPageAnimationStartDelay, m = p === void 0 ? wi : p, h = c.nextPageAnimationEndDelay, g = h === void 0 ? Ti : h, _ = c.processingDelay, v = _ === void 0 ? 0 : _, y = c.manualMultipageMode, b = gb(f).isShake, x = La(!1), S = La(!1), C = Sb(J(!1), 2), w = C[0], T = C[1], E = Sb(J(!1), 2), D = E[0], O = E[1], k = Sb(J(!1), 2), A = k[0], j = k[1], M = Sb(J(void 0), 2), N = M[0], P = M[1], F = Sb(J(null), 2), I = F[0], L = F[1], R = Sb(J(void 0), 2), z = R[0], ee = R[1], B = za(() => new Vy(), []), V = Sb(J({
|
|
13440
13426
|
status: K.SERVICE_PREPARING,
|
|
13441
13427
|
response: null
|
|
13442
13428
|
}), 2), H = V[0], te = V[1], U = eb({
|
|
@@ -13449,7 +13435,7 @@ function kb(e) {
|
|
|
13449
13435
|
scenario: N,
|
|
13450
13436
|
scenarioParams: ne == null ? void 0 : ne.scenario
|
|
13451
13437
|
}), ie = o === ei.captureFrame, ae = H.status === K.START_NEXT_PAGE;
|
|
13452
|
-
return
|
|
13438
|
+
return Fa(() => {
|
|
13453
13439
|
if (s) {
|
|
13454
13440
|
if (s.recognizerProcessParam = Hs(ji, s.recognizerProcessParam), u !== void 0) {
|
|
13455
13441
|
let e = { processParam: { multipageProcessing: u } };
|
|
@@ -13465,7 +13451,7 @@ function kb(e) {
|
|
|
13465
13451
|
s,
|
|
13466
13452
|
d,
|
|
13467
13453
|
u
|
|
13468
|
-
]),
|
|
13454
|
+
]), Fa(() => {
|
|
13469
13455
|
let e = re || {}, t = e.frameTop, n = e.frameBottom, r = e.frameLeft, i = e.frameRight;
|
|
13470
13456
|
Ob(`Frame params: ${JSON.stringify(re)}`), s.recognizerProcessParam = Hs(s.recognizerProcessParam, { imageInputParam: {
|
|
13471
13457
|
frameTop: t,
|
|
@@ -13475,7 +13461,7 @@ function kb(e) {
|
|
|
13475
13461
|
light: z,
|
|
13476
13462
|
resolutionType: 0
|
|
13477
13463
|
} });
|
|
13478
|
-
}, [re, z]),
|
|
13464
|
+
}, [re, z]), Fa(() => {
|
|
13479
13465
|
(function() {
|
|
13480
13466
|
var e = G(function* (e) {
|
|
13481
13467
|
if (!s || !W || D || ie || n.videoStatus !== Ri.PLAY || !n.sortedDevices) return;
|
|
@@ -13486,7 +13472,7 @@ function kb(e) {
|
|
|
13486
13472
|
let t = yield Ys({
|
|
13487
13473
|
cameras: [...n.sortedDevices.frontCameras, ...n.sortedDevices.backCameras],
|
|
13488
13474
|
cameraID: n.camera.deviceId,
|
|
13489
|
-
sdkVersion: "9.11.
|
|
13475
|
+
sdkVersion: "9.11.3205-rc",
|
|
13490
13476
|
serviceUrl: ((e = s.recognizerProcessParam.processParam.backendProcessing) == null ? void 0 : e.serviceURL) || ""
|
|
13491
13477
|
});
|
|
13492
13478
|
Ob(`Metadata: ${JSON.stringify(t)}`);
|
|
@@ -13506,7 +13492,7 @@ function kb(e) {
|
|
|
13506
13492
|
o,
|
|
13507
13493
|
n,
|
|
13508
13494
|
y
|
|
13509
|
-
]),
|
|
13495
|
+
]), Fa(() => {
|
|
13510
13496
|
let e = D && (!o || o === ei.auto), t = D && o === ei.captureVideo;
|
|
13511
13497
|
(W && o === ei.captureFrame || t || e) && (te((e) => vb(vb({}, e), {}, { status: K.FINDING })), e && setTimeout(() => T(!0), v));
|
|
13512
13498
|
}, [
|
|
@@ -13514,7 +13500,7 @@ function kb(e) {
|
|
|
13514
13500
|
o,
|
|
13515
13501
|
W,
|
|
13516
13502
|
v
|
|
13517
|
-
]),
|
|
13503
|
+
]), Fa(() => {
|
|
13518
13504
|
let e = n.videoStatus === Ri.PLAY;
|
|
13519
13505
|
if (!s || !e || A || !w || !t.videoElement) return;
|
|
13520
13506
|
if (x.current || (l({
|
|
@@ -13563,7 +13549,7 @@ function kb(e) {
|
|
|
13563
13549
|
b,
|
|
13564
13550
|
y,
|
|
13565
13551
|
B
|
|
13566
|
-
]),
|
|
13552
|
+
]), Fa(() => {
|
|
13567
13553
|
if (!s || !ae || y) return;
|
|
13568
13554
|
Ob("More pages available"), l({
|
|
13569
13555
|
action: $r.NEW_PAGE_AVAILABLE,
|
|
@@ -13582,7 +13568,7 @@ function kb(e) {
|
|
|
13582
13568
|
return () => {
|
|
13583
13569
|
clearTimeout(e);
|
|
13584
13570
|
};
|
|
13585
|
-
}, [ae, y]),
|
|
13571
|
+
}, [ae, y]), Fa(() => () => {
|
|
13586
13572
|
B.dispose();
|
|
13587
13573
|
}, [B]), vb(vb({}, H), {}, {
|
|
13588
13574
|
frameParams: re,
|
|
@@ -13592,7 +13578,7 @@ function kb(e) {
|
|
|
13592
13578
|
}
|
|
13593
13579
|
//#endregion
|
|
13594
13580
|
//#region src/hooks/useCheckTransaction.ts
|
|
13595
|
-
|
|
13581
|
+
fo();
|
|
13596
13582
|
function Ab(e, t) {
|
|
13597
13583
|
return Fb(e) || Pb(e, t) || Mb(e, t) || jb();
|
|
13598
13584
|
}
|
|
@@ -13639,7 +13625,7 @@ var Ib = ac.create("main");
|
|
|
13639
13625
|
function Lb() {
|
|
13640
13626
|
var e, t, n;
|
|
13641
13627
|
let r = Lc().mobileDelegate, i = Ab(J(ti.CHECKING), 2), a = i[0], o = i[1], s = window.RegulaDocumentSDK, c = ((e = s.recognizerProcessParam) == null ? void 0 : e.tag) || "", l = ((t = s.recognizerProcessParam.processParam.backendProcessing) == null ? void 0 : t.serviceURL) || "", u = ((n = s.recognizerProcessParam.processParam.backendProcessing) == null ? void 0 : n.httpHeaders) || {};
|
|
13642
|
-
return
|
|
13628
|
+
return Fa(() => {
|
|
13643
13629
|
if (!r) return Ib("Transaction check is disabled"), o(ti.NOT_AVAILABLE);
|
|
13644
13630
|
Ib(`Transaction check parameters: ${JSON.stringify({
|
|
13645
13631
|
tag: c,
|
|
@@ -13668,7 +13654,7 @@ function Lb() {
|
|
|
13668
13654
|
}
|
|
13669
13655
|
//#endregion
|
|
13670
13656
|
//#region src/components/document-reader/components/camera-recognizer/index.tsx
|
|
13671
|
-
|
|
13657
|
+
fo();
|
|
13672
13658
|
var Rb = ["data"];
|
|
13673
13659
|
function zb(e, t) {
|
|
13674
13660
|
if (e == null) return {};
|
|
@@ -13731,10 +13717,10 @@ function Kb(e) {
|
|
|
13731
13717
|
if (Array.isArray(e)) return e;
|
|
13732
13718
|
}
|
|
13733
13719
|
function qb(e) {
|
|
13734
|
-
let t = e.direction, n = e.onStatusChange, r = e.onFileImageSet, i = e.onError, a = e.onClose, o = Lc(), s = o.onEvent, c = o.cameraId, l = o.startScreen, u = o.captureButton, d = o.newLayout, f = o.captureMode, p = o.resolution, m = o.cameraMode, h = o.videoRecord, g = o.mirrorType, _ = o.mobileDelegate, v = o.finalizeOnTimeout, y = v === void 0 || v, b = o.manualMultipageMode, x = o.excludeSpecificCameras, S = window.RegulaDocumentSDK, C =
|
|
13720
|
+
let t = e.direction, n = e.onStatusChange, r = e.onFileImageSet, i = e.onError, a = e.onClose, o = Lc(), s = o.onEvent, c = o.cameraId, l = o.startScreen, u = o.captureButton, d = o.newLayout, f = o.captureMode, p = o.resolution, m = o.cameraMode, h = o.videoRecord, g = o.mirrorType, _ = o.mobileDelegate, v = o.finalizeOnTimeout, y = v === void 0 || v, b = o.manualMultipageMode, x = o.excludeSpecificCameras, S = window.RegulaDocumentSDK, C = za(() => ({
|
|
13735
13721
|
width: (p == null ? void 0 : p.width) || Ji.FULL_HD.width,
|
|
13736
13722
|
height: (p == null ? void 0 : p.height) || Ji.FULL_HD.height
|
|
13737
|
-
}), [p]), w =
|
|
13723
|
+
}), [p]), w = La(!0), T = La(null), E = La(null), D = Vb(J(!1), 2), O = D[0], k = D[1], A = Vb(J(0), 2), j = A[0], M = A[1], N = Vb(J({
|
|
13738
13724
|
videoElement: null,
|
|
13739
13725
|
videoParams: {
|
|
13740
13726
|
width: 0,
|
|
@@ -13809,7 +13795,7 @@ function qb(e) {
|
|
|
13809
13795
|
action: $r.PRESS_MIRRORING_BUTTON,
|
|
13810
13796
|
data: null
|
|
13811
13797
|
}), (e = T.current) == null || e.changeMirror();
|
|
13812
|
-
}, le =
|
|
13798
|
+
}, le = Ba(() => {
|
|
13813
13799
|
s({
|
|
13814
13800
|
action: $r.CAMERA_PROCESS_CLOSED,
|
|
13815
13801
|
data: null
|
|
@@ -13824,14 +13810,14 @@ function qb(e) {
|
|
|
13824
13810
|
return function() {
|
|
13825
13811
|
return e.apply(this, arguments);
|
|
13826
13812
|
};
|
|
13827
|
-
}(), de =
|
|
13813
|
+
}(), de = Ba(() => {
|
|
13828
13814
|
if (s({
|
|
13829
13815
|
action: $r.PRESS_CHANGE_CAMERA_BUTTON,
|
|
13830
13816
|
data: null
|
|
13831
13817
|
}), !L.sortedDevices) return;
|
|
13832
13818
|
let e = Vs(L.sortedDevices, L.camera.deviceId);
|
|
13833
13819
|
e && B(e);
|
|
13834
|
-
}, [L.camera.deviceId, L.sortedDevices]), fe =
|
|
13820
|
+
}, [L.camera.deviceId, L.sortedDevices]), fe = Ba(() => {
|
|
13835
13821
|
if (s({
|
|
13836
13822
|
action: $r.PRESS_CAPTURE_BUTTON,
|
|
13837
13823
|
data: null
|
|
@@ -13845,7 +13831,7 @@ function qb(e) {
|
|
|
13845
13831
|
}, [P.videoElement, f]), pe = (e) => {
|
|
13846
13832
|
i(new ed(e));
|
|
13847
13833
|
}, me = (u === void 0 ? !d : u) || f === ei.captureFrame || f === ei.captureVideo;
|
|
13848
|
-
|
|
13834
|
+
Fa(() => {
|
|
13849
13835
|
if (te) {
|
|
13850
13836
|
if (H === K.START_NEXT_PAGE && (E.current = te, b && se(Li.OK, q.SUCCESS, te)), H === K.SUCCESS) {
|
|
13851
13837
|
let e = _ ? q.DELEGATE_SUCCESS : q.SUCCESS;
|
|
@@ -13861,9 +13847,9 @@ function qb(e) {
|
|
|
13861
13847
|
te,
|
|
13862
13848
|
_,
|
|
13863
13849
|
b
|
|
13864
|
-
]),
|
|
13850
|
+
]), Fa(() => {
|
|
13865
13851
|
re === ti.AVAILABLE && n(q.DELEGATE_SUCCESS), re === ti.ERROR && i(new ed(Qr.CONNECTION_ERROR, "Transaction check failed."));
|
|
13866
|
-
}, [re]),
|
|
13852
|
+
}, [re]), Fa(() => {
|
|
13867
13853
|
B(c);
|
|
13868
13854
|
}, [c]);
|
|
13869
13855
|
let he = () => {
|
|
@@ -13877,7 +13863,7 @@ function qb(e) {
|
|
|
13877
13863
|
data: null
|
|
13878
13864
|
});
|
|
13879
13865
|
};
|
|
13880
|
-
return
|
|
13866
|
+
return za(() => Z(Lu, {
|
|
13881
13867
|
direction: t,
|
|
13882
13868
|
mirroring: O,
|
|
13883
13869
|
onChangeMirroring: ce,
|
|
@@ -14000,9 +13986,9 @@ var $b = {
|
|
|
14000
13986
|
};
|
|
14001
13987
|
//#endregion
|
|
14002
13988
|
//#region src/components/common/start-screen/index.tsx
|
|
14003
|
-
|
|
13989
|
+
fo();
|
|
14004
13990
|
function ex(e) {
|
|
14005
|
-
let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a !== void 0 && a, s = e.onRemoteDevice, c = Lc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 || u, f = c.fromCameraButton, p = f === void 0 || f, m = c.uploadFileButton, h = m === void 0 || m, g =
|
|
13991
|
+
let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a !== void 0 && a, s = e.onRemoteDevice, c = Lc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 || u, f = c.fromCameraButton, p = f === void 0 || f, m = c.uploadFileButton, h = m === void 0 || m, g = La(null), _ = Nl().translate;
|
|
14006
13992
|
return Z("div", {
|
|
14007
13993
|
part: "menu-container",
|
|
14008
13994
|
className: $b["start-window"],
|
|
@@ -14098,7 +14084,7 @@ function ex(e) {
|
|
|
14098
14084
|
}, { IS_RECORD: !0 }), o) throw new l("Reduce of empty iterator with no initial value");
|
|
14099
14085
|
return c;
|
|
14100
14086
|
} });
|
|
14101
|
-
})))(),
|
|
14087
|
+
})))(), fo();
|
|
14102
14088
|
function tx(e, t) {
|
|
14103
14089
|
var n = Object.keys(e);
|
|
14104
14090
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -14193,7 +14179,7 @@ function px(e) {
|
|
|
14193
14179
|
scenario: c,
|
|
14194
14180
|
onError: r
|
|
14195
14181
|
}).initialized;
|
|
14196
|
-
return
|
|
14182
|
+
return Fa(() => {
|
|
14197
14183
|
if (a) {
|
|
14198
14184
|
if (a.imageProcessParam = Hs(Mi, a.imageProcessParam), o !== void 0) {
|
|
14199
14185
|
let e = { processParam: { scenario: o } };
|
|
@@ -14205,7 +14191,7 @@ function px(e) {
|
|
|
14205
14191
|
a,
|
|
14206
14192
|
o,
|
|
14207
14193
|
i
|
|
14208
|
-
]),
|
|
14194
|
+
]), Fa(() => {
|
|
14209
14195
|
let e = !!Oi[d.status];
|
|
14210
14196
|
if (!a || !p || !t.length || e) return;
|
|
14211
14197
|
n({
|
|
@@ -14220,7 +14206,7 @@ function px(e) {
|
|
|
14220
14206
|
try {
|
|
14221
14207
|
var n;
|
|
14222
14208
|
if ((n = a.imageProcessParam.processParam) != null && n.backendProcessing) {
|
|
14223
|
-
let e = yield Ys({ sdkVersion: "9.11.
|
|
14209
|
+
let e = yield Ys({ sdkVersion: "9.11.3205-rc" });
|
|
14224
14210
|
yield a.createBackendTransaction(e, a.imageProcessParam);
|
|
14225
14211
|
}
|
|
14226
14212
|
let e = yield a.processImage(t, o);
|
|
@@ -14249,7 +14235,7 @@ function px(e) {
|
|
|
14249
14235
|
}
|
|
14250
14236
|
//#endregion
|
|
14251
14237
|
//#region src/components/document-reader/components/file-recognizer/index.tsx
|
|
14252
|
-
|
|
14238
|
+
fo();
|
|
14253
14239
|
function mx(e, t) {
|
|
14254
14240
|
return yx(e) || vx(e, t) || gx(e, t) || hx();
|
|
14255
14241
|
}
|
|
@@ -14293,13 +14279,13 @@ function yx(e) {
|
|
|
14293
14279
|
if (Array.isArray(e)) return e;
|
|
14294
14280
|
}
|
|
14295
14281
|
function bx(e) {
|
|
14296
|
-
let t = e.onStatusChange, n = e.images, r = e.onError, i = window.RegulaDocumentSDK, a =
|
|
14282
|
+
let t = e.onStatusChange, n = e.images, r = e.onError, i = window.RegulaDocumentSDK, a = La(!1), o = Lc(), s = o.onEvent, c = o.mobileDelegate, l = o.maxImageSize, u = o.maxResolutionSize, d = mx(J(!1), 2), f = d[0], p = d[1], m = mx(J([]), 2), h = m[0], g = m[1], _ = px({
|
|
14297
14283
|
imageDataArray: h,
|
|
14298
14284
|
onEvent: s,
|
|
14299
14285
|
onError: r,
|
|
14300
14286
|
isRecognizerProcessParam: f
|
|
14301
14287
|
}), v = _.status, y = _.response;
|
|
14302
|
-
return
|
|
14288
|
+
return Fa(() => {
|
|
14303
14289
|
if (n && !a.current) {
|
|
14304
14290
|
if (a.current = !0, !(n instanceof FileList)) return p(!0), g(n);
|
|
14305
14291
|
My(n).then((e) => {
|
|
@@ -14322,7 +14308,7 @@ function bx(e) {
|
|
|
14322
14308
|
n,
|
|
14323
14309
|
l,
|
|
14324
14310
|
u
|
|
14325
|
-
]),
|
|
14311
|
+
]), Fa(() => {
|
|
14326
14312
|
if (v === K.SUCCESS && y) {
|
|
14327
14313
|
let e = i.recognizerProcessParam.processParam.backendProcessing && f;
|
|
14328
14314
|
e && (i.onFinalize = () => t(c ? q.DELEGATE_SUCCESS : q.SUCCESS)), s({
|
|
@@ -14570,7 +14556,7 @@ var zx = class extends Jt {
|
|
|
14570
14556
|
};
|
|
14571
14557
|
//#endregion
|
|
14572
14558
|
//#region ../../common/hooks/useOrientationChange.ts
|
|
14573
|
-
|
|
14559
|
+
fo();
|
|
14574
14560
|
function Bx(e, t) {
|
|
14575
14561
|
return Gx(e) || Wx(e, t) || Hx(e, t) || Vx();
|
|
14576
14562
|
}
|
|
@@ -14621,7 +14607,7 @@ function Kx() {
|
|
|
14621
14607
|
isLandscape: t === "landscape",
|
|
14622
14608
|
orientation: t
|
|
14623
14609
|
};
|
|
14624
|
-
}), 2), n = t[0], r = t[1], i =
|
|
14610
|
+
}), 2), n = t[0], r = t[1], i = Ba(() => {
|
|
14625
14611
|
let t = e();
|
|
14626
14612
|
r((e) => e.orientation === t ? e : {
|
|
14627
14613
|
isPortrait: t === "portrait",
|
|
@@ -14629,7 +14615,7 @@ function Kx() {
|
|
|
14629
14615
|
orientation: t
|
|
14630
14616
|
});
|
|
14631
14617
|
}, []);
|
|
14632
|
-
return
|
|
14618
|
+
return Fa(() => (typeof window < "u" && (i(), window.addEventListener("load", i, !1), window.addEventListener("resize", i, !1)), () => {
|
|
14633
14619
|
window.removeEventListener("load", i, !1), window.removeEventListener("resize", i, !1);
|
|
14634
14620
|
}), [i]), n;
|
|
14635
14621
|
}
|
|
@@ -15441,7 +15427,7 @@ function gS(e, t) {
|
|
|
15441
15427
|
return t == null ? e ? uS : dS : Math.max(Math.floor(t), 0);
|
|
15442
15428
|
}
|
|
15443
15429
|
function _S({ value: e, level: t, minVersion: n, includeMargin: r, marginSize: i, imageSettings: a, size: o, boostLevel: s }) {
|
|
15444
|
-
let c =
|
|
15430
|
+
let c = Y.useMemo(() => {
|
|
15445
15431
|
let r = (Array.isArray(e) ? e : [e]).reduce((e, t) => (e.push(...nS.QrSegment.makeSegments(t)), e), []);
|
|
15446
15432
|
return nS.QrCode.encodeSegments(r, rS[t], n, void 0, void 0, s);
|
|
15447
15433
|
}, [
|
|
@@ -15449,7 +15435,7 @@ function _S({ value: e, level: t, minVersion: n, includeMargin: r, marginSize: i
|
|
|
15449
15435
|
t,
|
|
15450
15436
|
n,
|
|
15451
15437
|
s
|
|
15452
|
-
]), { cells: l, margin: u, numCells: d, calculatedImageSettings: f } =
|
|
15438
|
+
]), { cells: l, margin: u, numCells: d, calculatedImageSettings: f } = Y.useMemo(() => {
|
|
15453
15439
|
let e = c.getModules(), t = gS(r, i);
|
|
15454
15440
|
return {
|
|
15455
15441
|
cells: e,
|
|
@@ -15479,7 +15465,7 @@ var vS = function() {
|
|
|
15479
15465
|
return !1;
|
|
15480
15466
|
}
|
|
15481
15467
|
return !0;
|
|
15482
|
-
}(), yS =
|
|
15468
|
+
}(), yS = Y.forwardRef(function(e, t) {
|
|
15483
15469
|
let n = e, { value: r, size: i = iS, level: a = aS, bgColor: o = oS, fgColor: s = sS, includeMargin: c = cS, minVersion: l = lS, boostLevel: u, marginSize: d, imageSettings: f } = n, p = eS(n, [
|
|
15484
15470
|
"value",
|
|
15485
15471
|
"size",
|
|
@@ -15491,9 +15477,9 @@ var vS = function() {
|
|
|
15491
15477
|
"boostLevel",
|
|
15492
15478
|
"marginSize",
|
|
15493
15479
|
"imageSettings"
|
|
15494
|
-
]), { style: m } = p, h = eS(p, ["style"]), g = f == null ? void 0 : f.src, _ =
|
|
15480
|
+
]), { style: m } = p, h = eS(p, ["style"]), g = f == null ? void 0 : f.src, _ = Y.useRef(null), v = Y.useRef(null), y = Y.useCallback((e) => {
|
|
15495
15481
|
_.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
15496
|
-
}, [t]), [b, x] =
|
|
15482
|
+
}, [t]), [b, x] = Y.useState(!1), { margin: S, cells: C, numCells: w, calculatedImageSettings: T } = _S({
|
|
15497
15483
|
value: r,
|
|
15498
15484
|
level: a,
|
|
15499
15485
|
minVersion: l,
|
|
@@ -15503,7 +15489,7 @@ var vS = function() {
|
|
|
15503
15489
|
imageSettings: f,
|
|
15504
15490
|
size: i
|
|
15505
15491
|
});
|
|
15506
|
-
|
|
15492
|
+
Y.useEffect(() => {
|
|
15507
15493
|
if (_.current != null) {
|
|
15508
15494
|
let e = _.current, t = e.getContext("2d");
|
|
15509
15495
|
if (!t) return;
|
|
@@ -15518,14 +15504,14 @@ var vS = function() {
|
|
|
15518
15504
|
});
|
|
15519
15505
|
}), T && (t.globalAlpha = T.opacity), a && t.drawImage(r, T.x + S, T.y + S, T.w, T.h);
|
|
15520
15506
|
}
|
|
15521
|
-
}),
|
|
15507
|
+
}), Y.useEffect(() => {
|
|
15522
15508
|
x(!1);
|
|
15523
15509
|
}, [g]);
|
|
15524
15510
|
let E = $x({
|
|
15525
15511
|
height: i,
|
|
15526
15512
|
width: i
|
|
15527
15513
|
}, m), D = null;
|
|
15528
|
-
return g != null && (D = /* @__PURE__ */
|
|
15514
|
+
return g != null && (D = /* @__PURE__ */ Y.createElement("img", {
|
|
15529
15515
|
src: g,
|
|
15530
15516
|
key: g,
|
|
15531
15517
|
style: { display: "none" },
|
|
@@ -15534,7 +15520,7 @@ var vS = function() {
|
|
|
15534
15520
|
},
|
|
15535
15521
|
ref: v,
|
|
15536
15522
|
crossOrigin: T == null ? void 0 : T.crossOrigin
|
|
15537
|
-
})), /* @__PURE__ */
|
|
15523
|
+
})), /* @__PURE__ */ Y.createElement(Y.Fragment, null, /* @__PURE__ */ Y.createElement("canvas", $x({
|
|
15538
15524
|
style: E,
|
|
15539
15525
|
height: i,
|
|
15540
15526
|
width: i,
|
|
@@ -15543,7 +15529,7 @@ var vS = function() {
|
|
|
15543
15529
|
}, h)), D);
|
|
15544
15530
|
});
|
|
15545
15531
|
yS.displayName = "QRCodeCanvas";
|
|
15546
|
-
var bS =
|
|
15532
|
+
var bS = Y.forwardRef(function(e, t) {
|
|
15547
15533
|
let n = e, { value: r, size: i = iS, level: a = aS, bgColor: o = oS, fgColor: s = sS, includeMargin: c = cS, minVersion: l = lS, boostLevel: u, title: d, marginSize: f, imageSettings: p } = n, m = eS(n, [
|
|
15548
15534
|
"value",
|
|
15549
15535
|
"size",
|
|
@@ -15566,7 +15552,7 @@ var bS = fs.forwardRef(function(e, t) {
|
|
|
15566
15552
|
imageSettings: p,
|
|
15567
15553
|
size: i
|
|
15568
15554
|
}), y = g, b = null;
|
|
15569
|
-
p != null && v != null && (v.excavation != null && (y = mS(g, v.excavation)), b = /* @__PURE__ */
|
|
15555
|
+
p != null && v != null && (v.excavation != null && (y = mS(g, v.excavation)), b = /* @__PURE__ */ Y.createElement("image", {
|
|
15570
15556
|
href: p.src,
|
|
15571
15557
|
height: v.h,
|
|
15572
15558
|
width: v.w,
|
|
@@ -15577,17 +15563,17 @@ var bS = fs.forwardRef(function(e, t) {
|
|
|
15577
15563
|
crossOrigin: v.crossOrigin
|
|
15578
15564
|
}));
|
|
15579
15565
|
let x = pS(y, h);
|
|
15580
|
-
return /* @__PURE__ */
|
|
15566
|
+
return /* @__PURE__ */ Y.createElement("svg", $x({
|
|
15581
15567
|
height: i,
|
|
15582
15568
|
width: i,
|
|
15583
15569
|
viewBox: `0 0 ${_} ${_}`,
|
|
15584
15570
|
ref: t,
|
|
15585
15571
|
role: "img"
|
|
15586
|
-
}, m), !!d && /* @__PURE__ */
|
|
15572
|
+
}, m), !!d && /* @__PURE__ */ Y.createElement("title", null, d), /* @__PURE__ */ Y.createElement("path", {
|
|
15587
15573
|
fill: o,
|
|
15588
15574
|
d: `M0,0 h${_}v${_}H0z`,
|
|
15589
15575
|
shapeRendering: "crispEdges"
|
|
15590
|
-
}), /* @__PURE__ */
|
|
15576
|
+
}), /* @__PURE__ */ Y.createElement("path", {
|
|
15591
15577
|
fill: s,
|
|
15592
15578
|
d: x,
|
|
15593
15579
|
shapeRendering: "crispEdges"
|
|
@@ -16680,7 +16666,7 @@ var xS = /* @__PURE__ */ s(((e, t) => {
|
|
|
16680
16666
|
};
|
|
16681
16667
|
//#endregion
|
|
16682
16668
|
//#region src/components/document-reader/components/remote-scanner/index.tsx
|
|
16683
|
-
|
|
16669
|
+
fo();
|
|
16684
16670
|
function oT(e, t) {
|
|
16685
16671
|
return dT(e) || uT(e, t) || cT(e, t) || sT();
|
|
16686
16672
|
}
|
|
@@ -16732,8 +16718,8 @@ function mT(e) {
|
|
|
16732
16718
|
let i = e.onError, a = e.onStatusChange, o = Lc(), s = o.onEvent, c = o.continueInBrowserButton, l = c === void 0 || c, u = Nl().translate, d = window.RegulaDocumentSDK, f = ((t = d.recognizerProcessParam) == null ? void 0 : t.tag) || bs(), p = (((n = d.recognizerProcessParam) == null || (n = n.delegateProcessing) == null ? void 0 : n.delegateURL) || window.location.href).replace("{tag}", f), m = new Oy({
|
|
16733
16719
|
basePath: ((r = d.recognizerProcessParam.delegateProcessing) == null ? void 0 : r.serviceURL) || "",
|
|
16734
16720
|
baseOptions: { headers: pT(d) }
|
|
16735
|
-
}), h =
|
|
16736
|
-
return
|
|
16721
|
+
}), h = La(), g = La(), _ = oT(J(!1), 2), v = _[0], y = _[1];
|
|
16722
|
+
return Fa(() => {
|
|
16737
16723
|
fT(`Remote scanner parameters: ${JSON.stringify({
|
|
16738
16724
|
tag: f,
|
|
16739
16725
|
url: p
|
|
@@ -16811,7 +16797,7 @@ var hT = (e) => {
|
|
|
16811
16797
|
let n = ((t = window.RegulaDocumentSDK.recognizerProcessParam) == null ? void 0 : t.delegateProcessing) || {}, r = n.serviceURL, i = n.delegateURL;
|
|
16812
16798
|
return !!r && !!i && (navigator.maxTouchPoints <= 0 && !Ss.isMobile || e);
|
|
16813
16799
|
}, gT = (e, t, n, r) => e ? t ? n ? "fromCameraGalleryMobile" : "fromMobileDesktop" : n ? "fromGalleryMobile" : "" : t ? n ? r ? "fromCameraFilesMobileDesktop" : "fromCameraFilesDesktop" : r ? "fromCameraMobileDesktop" : "fromCameraDesktop" : n ? r ? "fromFilesMobileDesktop" : "fromFilesDesktop" : r ? "fromMobileDesktop" : "", _T = (e, t, n, r) => e ? q.CHOOSE_INPUT_SOURCE : t ? q.CAMERA_PROCESSING : !t && r && !n ? q.REMOTE_SCANNER : q.CONFIGURATION_ERROR, vT = (e, t, n, r, i, a) => e ? (!n || n && (i || t)) && (!r || r && (a || t)) : i || t;
|
|
16814
|
-
|
|
16800
|
+
fo(), ps();
|
|
16815
16801
|
function yT(e, t) {
|
|
16816
16802
|
return wT(e) || CT(e, t) || xT(e, t) || bT();
|
|
16817
16803
|
}
|
|
@@ -16882,9 +16868,9 @@ function TT(e) {
|
|
|
16882
16868
|
}, D = () => {
|
|
16883
16869
|
v(null), x(p);
|
|
16884
16870
|
};
|
|
16885
|
-
return
|
|
16871
|
+
return Fa(() => {
|
|
16886
16872
|
Ss.isMobile && b === q.CAMERA_PROCESSING && D();
|
|
16887
|
-
}, [h]),
|
|
16873
|
+
}, [h]), Ia(() => {
|
|
16888
16874
|
let e = window.RegulaDocumentSDK.recognizerProcessParam.processParam.scenario, t = window.RegulaDocumentSDK.imageProcessParam.processParam.scenario;
|
|
16889
16875
|
if (!vT(!!i, !!a, l, d, !!e, !!t)) return E(new ed(Qr.MISSING_SCENARIO, "Set processing scenario (video and image)"));
|
|
16890
16876
|
if (p === q.CONFIGURATION_ERROR) return E(new ed(Qr.BAD_CONFIGURATION, "Incorrect component configuration"));
|
|
@@ -19493,7 +19479,7 @@ var JT = ac.create("main"), YT = class extends HTMLElement {
|
|
|
19493
19479
|
};
|
|
19494
19480
|
//#endregion
|
|
19495
19481
|
//#region src/components/camera-snapshot/components/camera-capture/index.tsx
|
|
19496
|
-
|
|
19482
|
+
fo();
|
|
19497
19483
|
function XT(e, t) {
|
|
19498
19484
|
return tE(e) || eE(e, t) || QT(e, t) || ZT();
|
|
19499
19485
|
}
|
|
@@ -19537,7 +19523,7 @@ function tE(e) {
|
|
|
19537
19523
|
if (Array.isArray(e)) return e;
|
|
19538
19524
|
}
|
|
19539
19525
|
function nE(e) {
|
|
19540
|
-
let t = e.onStatusChange, n = e.onCapture, r = e.onError, i = e.onClose, a = Lc(), o = a.onEvent, s = a.cameraId, c = a.startScreen, l = a.resolution, u = a.cameraMode, d = a.mirrorType, f = a.excludeSpecificCameras, p =
|
|
19526
|
+
let t = e.onStatusChange, n = e.onCapture, r = e.onError, i = e.onClose, a = Lc(), o = a.onEvent, s = a.cameraId, c = a.startScreen, l = a.resolution, u = a.cameraMode, d = a.mirrorType, f = a.excludeSpecificCameras, p = La(null), m = {
|
|
19541
19527
|
width: (l == null ? void 0 : l.width) || Ji.FULL_HD.width,
|
|
19542
19528
|
height: (l == null ? void 0 : l.height) || Ji.FULL_HD.height
|
|
19543
19529
|
}, h = XT(J(!1), 2), g = h[0], _ = h[1], v = XT(J({
|
|
@@ -19560,7 +19546,7 @@ function nE(e) {
|
|
|
19560
19546
|
},
|
|
19561
19547
|
sortedDevices: null
|
|
19562
19548
|
}), 2), S = x[0], C = x[1], w = XT(J(s), 2), T = w[0], E = w[1];
|
|
19563
|
-
return
|
|
19549
|
+
return Fa(() => {
|
|
19564
19550
|
E(s);
|
|
19565
19551
|
}, [s]), Z(Lu, {
|
|
19566
19552
|
mirroring: g,
|
|
@@ -19693,7 +19679,7 @@ function cE() {
|
|
|
19693
19679
|
}
|
|
19694
19680
|
//#endregion
|
|
19695
19681
|
//#region src/components/camera-snapshot/components/file-capture/index.tsx
|
|
19696
|
-
|
|
19682
|
+
fo();
|
|
19697
19683
|
function lE(e, t) {
|
|
19698
19684
|
return mE(e) || pE(e, t) || dE(e, t) || uE();
|
|
19699
19685
|
}
|
|
@@ -19738,7 +19724,7 @@ function mE(e) {
|
|
|
19738
19724
|
}
|
|
19739
19725
|
function hE(e) {
|
|
19740
19726
|
let t = e.onStatusChange, n = e.onCapture, r = e.images, i = e.onError, a = Lc().onEvent, o = lE(J([]), 2), s = o[0], c = o[1];
|
|
19741
|
-
return
|
|
19727
|
+
return Fa(() => {
|
|
19742
19728
|
r != null && r.length && !(s != null && s.length) && (a({
|
|
19743
19729
|
action: $r.FILE_PROCESS_STARTED,
|
|
19744
19730
|
data: null
|
|
@@ -19756,7 +19742,7 @@ function hE(e) {
|
|
|
19756
19742
|
var gE = (e, t, n) => e ? t ? n ? "fromCameraGalleryMobile" : "fromMobileDesktop" : n ? "fromGalleryMobile" : "" : t ? n ? "fromCameraFilesDesktop" : "fromCameraDesktop" : n ? "fromFilesDesktop" : "";
|
|
19757
19743
|
//#endregion
|
|
19758
19744
|
//#region src/components/camera-snapshot/index.tsx
|
|
19759
|
-
|
|
19745
|
+
fo();
|
|
19760
19746
|
function _E(e, t) {
|
|
19761
19747
|
return SE(e) || xE(e, t) || yE(e, t) || vE();
|
|
19762
19748
|
}
|
|
@@ -19833,7 +19819,7 @@ function CE(e) {
|
|
|
19833
19819
|
data: null
|
|
19834
19820
|
});
|
|
19835
19821
|
};
|
|
19836
|
-
return
|
|
19822
|
+
return Fa(() => {
|
|
19837
19823
|
d === q.SUCCESS && r({
|
|
19838
19824
|
action: $r.PROCESS_FINISHED,
|
|
19839
19825
|
data: {
|
|
@@ -21352,7 +21338,7 @@ function VO(e, t) {
|
|
|
21352
21338
|
}
|
|
21353
21339
|
var HO = ac.create("wasm"), UO = ac.create("main"), WO = class {
|
|
21354
21340
|
constructor() {
|
|
21355
|
-
zO(this, "_worker", null), zO(this, "_initializeListener", null), zO(this, "_processingListener", null), zO(this, "_queueService", new _O()), zO(this, "_initProcess", null), zO(this, "version", { component: "9.11.
|
|
21341
|
+
zO(this, "_worker", null), zO(this, "_initializeListener", null), zO(this, "_processingListener", null), zO(this, "_queueService", new _O()), zO(this, "_initProcess", null), zO(this, "version", { component: "9.11.3205-rc" }), zO(this, "onFinalize", null), zO(this, "isPrepared", !1), zO(this, "isInitialized", !1), zO(this, "isProcessing", !1), zO(this, "initData", null), zO(this, "recognizerProcessParam", { processParam: {} }), zO(this, "imageProcessParam", { processParam: {} }), zO(this, "recognizeListener", null), zO(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/9.11/barcodemrz/99db20d0-9fb3ee8de"), zO(this, "pageIdx", null);
|
|
21356
21342
|
}
|
|
21357
21343
|
get processingListener() {
|
|
21358
21344
|
return this._processingListener;
|
|
@@ -21405,7 +21391,7 @@ var HO = ac.create("wasm"), UO = ac.create("main"), WO = class {
|
|
|
21405
21391
|
var n;
|
|
21406
21392
|
UO("Preparing the service");
|
|
21407
21393
|
{
|
|
21408
|
-
let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/
|
|
21394
|
+
let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/rc/9.11/barcodemrz/99db20d0-9fb3ee8de", r = IO(e && n ? Ly(e, "PROD") : t.workerPath), i = yield (yield fetch(`${r}/${Ei}`)).text();
|
|
21409
21395
|
n || (i = Iy(i, r));
|
|
21410
21396
|
let a = new Blob([i], { type: "text/plain" }), o = URL.createObjectURL(a);
|
|
21411
21397
|
t._worker = new Worker(o), URL.revokeObjectURL(o);
|
|
@@ -21444,7 +21430,7 @@ var HO = ac.create("wasm"), UO = ac.create("main"), WO = class {
|
|
|
21444
21430
|
hostName: (n = document.location) == null ? void 0 : n.origin,
|
|
21445
21431
|
license: e == null ? void 0 : e.license
|
|
21446
21432
|
},
|
|
21447
|
-
telemetry: yield Ys({ sdkVersion: "9.11.
|
|
21433
|
+
telemetry: yield Ys({ sdkVersion: "9.11.3205-rc" }),
|
|
21448
21434
|
processParam: t.recognizerProcessParam.processParam || t.imageProcessParam.processParam
|
|
21449
21435
|
}
|
|
21450
21436
|
}), a = i.scenario, o = i.license;
|