@wise/dynamic-flow-client-internal 1.11.0 → 2.0.0

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/build/main.js CHANGED
@@ -51,40 +51,40 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
51
51
  var require_main_min = __commonJS({
52
52
  "../core/build/main.min.js"(exports, module2) {
53
53
  "use strict";
54
- var Zl = Object.create;
55
- var Bt = Object.defineProperty;
56
- var Ql = Object.defineProperties;
57
- var ec = Object.getOwnPropertyDescriptor;
58
- var tc = Object.getOwnPropertyDescriptors;
59
- var rc = Object.getOwnPropertyNames;
60
- var Mn = Object.getOwnPropertySymbols;
61
- var oc = Object.getPrototypeOf;
62
- var En = Object.prototype.hasOwnProperty;
63
- var nc = Object.prototype.propertyIsEnumerable;
64
- var kn = (e, t, r) => t in e ? Bt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
54
+ var gc = Object.create;
55
+ var _t = Object.defineProperty;
56
+ var Sc = Object.defineProperties;
57
+ var bc = Object.getOwnPropertyDescriptor;
58
+ var wc = Object.getOwnPropertyDescriptors;
59
+ var Fc = Object.getOwnPropertyNames;
60
+ var Vn = Object.getOwnPropertySymbols;
61
+ var Cc = Object.getPrototypeOf;
62
+ var Un = Object.prototype.hasOwnProperty;
63
+ var xc = Object.prototype.propertyIsEnumerable;
64
+ var jn = (e, t, r) => t in e ? _t(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
65
65
  var i = (e, t) => {
66
66
  for (var r in t ||= {})
67
- En.call(t, r) && kn(e, r, t[r]);
68
- if (Mn)
69
- for (var r of Mn(t))
70
- nc.call(t, r) && kn(e, r, t[r]);
67
+ Un.call(t, r) && jn(e, r, t[r]);
68
+ if (Vn)
69
+ for (var r of Vn(t))
70
+ xc.call(t, r) && jn(e, r, t[r]);
71
71
  return e;
72
72
  };
73
- var S = (e, t) => Ql(e, tc(t));
74
- var Dn = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
- var ac = (e, t) => {
73
+ var b = (e, t) => Sc(e, wc(t));
74
+ var zn = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
+ var Oc = (e, t) => {
76
76
  for (var r in t)
77
- Bt(e, r, { get: t[r], enumerable: true });
77
+ _t(e, r, { get: t[r], enumerable: true });
78
78
  };
79
- var In = (e, t, r, o) => {
79
+ var Hn = (e, t, r, o) => {
80
80
  if (t && typeof t == "object" || typeof t == "function")
81
- for (let n of rc(t))
82
- !En.call(e, n) && n !== r && Bt(e, n, { get: () => t[n], enumerable: !(o = ec(t, n)) || o.enumerable });
81
+ for (let n of Fc(t))
82
+ !Un.call(e, n) && n !== r && _t(e, n, { get: () => t[n], enumerable: !(o = bc(t, n)) || o.enumerable });
83
83
  return e;
84
84
  };
85
- var He = (e, t, r) => (r = e != null ? Zl(oc(e)) : {}, In(t || !e || !e.__esModule ? Bt(r, "default", { value: e, enumerable: true }) : r, e));
86
- var ic = (e) => In(Bt({}, "__esModule", { value: true }), e);
87
- var ot = Dn((of, Er) => {
85
+ var qe = (e, t, r) => (r = e != null ? gc(Cc(e)) : {}, Hn(t || !e || !e.__esModule ? _t(r, "default", { value: e, enumerable: true }) : r, e));
86
+ var vc = (e) => Hn(_t({}, "__esModule", { value: true }), e);
87
+ var st = zn((If, Rr) => {
88
88
  (function() {
89
89
  "use strict";
90
90
  var e = {}.hasOwnProperty, t = "[native code]";
@@ -105,22 +105,22 @@ var require_main_min = __commonJS({
105
105
  o.push(a.toString());
106
106
  continue;
107
107
  }
108
- for (var p in a)
109
- e.call(a, p) && a[p] && o.push(p);
108
+ for (var u in a)
109
+ e.call(a, u) && a[u] && o.push(u);
110
110
  }
111
111
  }
112
112
  }
113
113
  return o.join(" ");
114
114
  }
115
- typeof Er < "u" && Er.exports ? (r.default = r, Er.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
115
+ typeof Rr < "u" && Rr.exports ? (r.default = r, Rr.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
116
116
  return r;
117
117
  }) : window.classNames = r;
118
118
  })();
119
119
  });
120
- var Ns = Dn((sr, fn) => {
120
+ var Zs = zn((ur, vn) => {
121
121
  (function(t, r) {
122
- typeof sr == "object" && typeof fn == "object" ? fn.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof sr == "object" ? sr.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
- })(sr, function(e) {
122
+ typeof ur == "object" && typeof vn == "object" ? vn.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof ur == "object" ? ur.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
+ })(ur, function(e) {
124
124
  return function(t) {
125
125
  var r = {};
126
126
  function o(n) {
@@ -139,8 +139,8 @@ var require_main_min = __commonJS({
139
139
  var s = /* @__PURE__ */ Object.create(null);
140
140
  if (o.r(s), Object.defineProperty(s, "default", { enumerable: true, value: n }), a & 2 && typeof n != "string")
141
141
  for (var c in n)
142
- o.d(s, c, function(p) {
143
- return n[p];
142
+ o.d(s, c, function(u) {
143
+ return n[u];
144
144
  }.bind(null, c));
145
145
  return s;
146
146
  }, o.n = function(n) {
@@ -157,151 +157,151 @@ var require_main_min = __commonJS({
157
157
  "use strict";
158
158
  o.r(r);
159
159
  var n = o("react"), a = o.n(n), s = function() {
160
- var h = function(f, l) {
161
- return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, y) {
162
- u.__proto__ = y;
163
- } || function(u, y) {
164
- for (var g in y)
165
- y.hasOwnProperty(g) && (u[g] = y[g]);
166
- }, h(f, l);
160
+ var g = function(f, l) {
161
+ return g = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(p, y) {
162
+ p.__proto__ = y;
163
+ } || function(p, y) {
164
+ for (var S in y)
165
+ y.hasOwnProperty(S) && (p[S] = y[S]);
166
+ }, g(f, l);
167
167
  };
168
168
  return function(f, l) {
169
- h(f, l);
170
- function u() {
169
+ g(f, l);
170
+ function p() {
171
171
  this.constructor = f;
172
172
  }
173
- f.prototype = l === null ? Object.create(l) : (u.prototype = l.prototype, new u());
173
+ f.prototype = l === null ? Object.create(l) : (p.prototype = l.prototype, new p());
174
174
  };
175
175
  }(), c = function() {
176
- return c = Object.assign || function(h) {
177
- for (var f, l = 1, u = arguments.length; l < u; l++) {
176
+ return c = Object.assign || function(g) {
177
+ for (var f, l = 1, p = arguments.length; l < p; l++) {
178
178
  f = arguments[l];
179
179
  for (var y in f)
180
- Object.prototype.hasOwnProperty.call(f, y) && (h[y] = f[y]);
180
+ Object.prototype.hasOwnProperty.call(f, y) && (g[y] = f[y]);
181
181
  }
182
- return h;
182
+ return g;
183
183
  }, c.apply(this, arguments);
184
- }, p = function(h, f) {
184
+ }, u = function(g, f) {
185
185
  var l = {};
186
- for (var u in h)
187
- Object.prototype.hasOwnProperty.call(h, u) && f.indexOf(u) < 0 && (l[u] = h[u]);
188
- if (h != null && typeof Object.getOwnPropertySymbols == "function")
189
- for (var y = 0, u = Object.getOwnPropertySymbols(h); y < u.length; y++)
190
- f.indexOf(u[y]) < 0 && Object.prototype.propertyIsEnumerable.call(h, u[y]) && (l[u[y]] = h[u[y]]);
186
+ for (var p in g)
187
+ Object.prototype.hasOwnProperty.call(g, p) && f.indexOf(p) < 0 && (l[p] = g[p]);
188
+ if (g != null && typeof Object.getOwnPropertySymbols == "function")
189
+ for (var y = 0, p = Object.getOwnPropertySymbols(g); y < p.length; y++)
190
+ f.indexOf(p[y]) < 0 && Object.prototype.propertyIsEnumerable.call(g, p[y]) && (l[p[y]] = g[p[y]]);
191
191
  return l;
192
192
  };
193
193
  (function() {
194
194
  typeof window > "u" || (navigator.mediaDevices === void 0 && (navigator.mediaDevices = {}), navigator.mediaDevices.getUserMedia === void 0 && (navigator.mediaDevices.getUserMedia = function(f) {
195
195
  var l = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
196
- return l ? new Promise(function(u, y) {
197
- l.call(navigator, f, u, y);
196
+ return l ? new Promise(function(p, y) {
197
+ l.call(navigator, f, p, y);
198
198
  }) : Promise.reject(new Error("getUserMedia is not implemented in this browser"));
199
199
  }));
200
200
  })();
201
201
  function m() {
202
202
  return !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);
203
203
  }
204
- var d = function(h) {
205
- s(f, h);
204
+ var d = function(g) {
205
+ s(f, g);
206
206
  function f(l) {
207
- var u = h.call(this, l) || this;
208
- return u.canvas = null, u.ctx = null, u.requestUserMediaId = 0, u.unmounted = false, u.state = { hasUserMedia: false }, u;
207
+ var p = g.call(this, l) || this;
208
+ return p.canvas = null, p.ctx = null, p.requestUserMediaId = 0, p.unmounted = false, p.state = { hasUserMedia: false }, p;
209
209
  }
210
210
  return f.prototype.componentDidMount = function() {
211
- var l = this, u = l.state, y = l.props;
211
+ var l = this, p = l.state, y = l.props;
212
212
  if (this.unmounted = false, !m()) {
213
213
  y.onUserMediaError("getUserMedia not supported");
214
214
  return;
215
215
  }
216
- u.hasUserMedia || this.requestUserMedia(), y.children && typeof y.children != "function" && console.warn("children must be a function");
216
+ p.hasUserMedia || this.requestUserMedia(), y.children && typeof y.children != "function" && console.warn("children must be a function");
217
217
  }, f.prototype.componentDidUpdate = function(l) {
218
- var u = this.props;
218
+ var p = this.props;
219
219
  if (!m()) {
220
- u.onUserMediaError("getUserMedia not supported");
220
+ p.onUserMediaError("getUserMedia not supported");
221
221
  return;
222
222
  }
223
- var y = JSON.stringify(l.audioConstraints) !== JSON.stringify(u.audioConstraints), g = JSON.stringify(l.videoConstraints) !== JSON.stringify(u.videoConstraints), b = l.minScreenshotWidth !== u.minScreenshotWidth, x = l.minScreenshotHeight !== u.minScreenshotHeight;
224
- (g || b || x) && (this.canvas = null, this.ctx = null), (y || g) && (this.stopAndCleanup(), this.requestUserMedia());
223
+ var y = JSON.stringify(l.audioConstraints) !== JSON.stringify(p.audioConstraints), S = JSON.stringify(l.videoConstraints) !== JSON.stringify(p.videoConstraints), h = l.minScreenshotWidth !== p.minScreenshotWidth, F = l.minScreenshotHeight !== p.minScreenshotHeight;
224
+ (S || h || F) && (this.canvas = null, this.ctx = null), (y || S) && (this.stopAndCleanup(), this.requestUserMedia());
225
225
  }, f.prototype.componentWillUnmount = function() {
226
226
  this.unmounted = true, this.stopAndCleanup();
227
227
  }, f.stopMediaStream = function(l) {
228
- l && (l.getVideoTracks && l.getAudioTracks ? (l.getVideoTracks().map(function(u) {
229
- l.removeTrack(u), u.stop();
230
- }), l.getAudioTracks().map(function(u) {
231
- l.removeTrack(u), u.stop();
228
+ l && (l.getVideoTracks && l.getAudioTracks ? (l.getVideoTracks().map(function(p) {
229
+ l.removeTrack(p), p.stop();
230
+ }), l.getAudioTracks().map(function(p) {
231
+ l.removeTrack(p), p.stop();
232
232
  })) : l.stop());
233
233
  }, f.prototype.stopAndCleanup = function() {
234
234
  var l = this.state;
235
235
  l.hasUserMedia && (f.stopMediaStream(this.stream), l.src && window.URL.revokeObjectURL(l.src));
236
236
  }, f.prototype.getScreenshot = function(l) {
237
- var u = this, y = u.state, g = u.props;
237
+ var p = this, y = p.state, S = p.props;
238
238
  if (!y.hasUserMedia)
239
239
  return null;
240
- var b = this.getCanvas(l);
241
- return b && b.toDataURL(g.screenshotFormat, g.screenshotQuality);
240
+ var h = this.getCanvas(l);
241
+ return h && h.toDataURL(S.screenshotFormat, S.screenshotQuality);
242
242
  }, f.prototype.getCanvas = function(l) {
243
- var u = this, y = u.state, g = u.props;
243
+ var p = this, y = p.state, S = p.props;
244
244
  if (!this.video || !y.hasUserMedia || !this.video.videoHeight)
245
245
  return null;
246
246
  if (!this.ctx) {
247
- var b = this.video.videoWidth, x = this.video.videoHeight;
247
+ var h = this.video.videoWidth, F = this.video.videoHeight;
248
248
  if (!this.props.forceScreenshotSourceSize) {
249
- var F = b / x;
250
- b = g.minScreenshotWidth || this.video.clientWidth, x = b / F, g.minScreenshotHeight && x < g.minScreenshotHeight && (x = g.minScreenshotHeight, b = x * F);
249
+ var w = h / F;
250
+ h = S.minScreenshotWidth || this.video.clientWidth, F = h / w, S.minScreenshotHeight && F < S.minScreenshotHeight && (F = S.minScreenshotHeight, h = F * w);
251
251
  }
252
- this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || b, this.canvas.height = l?.height || x, this.ctx = this.canvas.getContext("2d");
252
+ this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || h, this.canvas.height = l?.height || F, this.ctx = this.canvas.getContext("2d");
253
253
  }
254
- var v = this, P = v.ctx, w = v.canvas;
255
- return P && w && (g.mirrored && (P.translate(w.width, 0), P.scale(-1, 1)), P.imageSmoothingEnabled = g.imageSmoothing, P.drawImage(this.video, 0, 0, l?.width || w.width, l?.height || w.height), g.mirrored && (P.scale(-1, 1), P.translate(-w.width, 0))), w;
254
+ var v = this, A = v.ctx, C = v.canvas;
255
+ return A && C && (S.mirrored && (A.translate(C.width, 0), A.scale(-1, 1)), A.imageSmoothingEnabled = S.imageSmoothing, A.drawImage(this.video, 0, 0, l?.width || C.width, l?.height || C.height), S.mirrored && (A.scale(-1, 1), A.translate(-C.width, 0))), C;
256
256
  }, f.prototype.requestUserMedia = function() {
257
- var l = this, u = this.props, y = function(x, F) {
258
- var v = { video: typeof F < "u" ? F : true };
259
- u.audio && (v.audio = typeof x < "u" ? x : true), l.requestUserMediaId++;
260
- var P = l.requestUserMediaId;
261
- navigator.mediaDevices.getUserMedia(v).then(function(w) {
262
- l.unmounted || P !== l.requestUserMediaId ? f.stopMediaStream(w) : l.handleUserMedia(null, w);
263
- }).catch(function(w) {
264
- l.handleUserMedia(w);
257
+ var l = this, p = this.props, y = function(F, w) {
258
+ var v = { video: typeof w < "u" ? w : true };
259
+ p.audio && (v.audio = typeof F < "u" ? F : true), l.requestUserMediaId++;
260
+ var A = l.requestUserMediaId;
261
+ navigator.mediaDevices.getUserMedia(v).then(function(C) {
262
+ l.unmounted || A !== l.requestUserMediaId ? f.stopMediaStream(C) : l.handleUserMedia(null, C);
263
+ }).catch(function(C) {
264
+ l.handleUserMedia(C);
265
265
  });
266
266
  };
267
267
  if ("mediaDevices" in navigator)
268
- y(u.audioConstraints, u.videoConstraints);
268
+ y(p.audioConstraints, p.videoConstraints);
269
269
  else {
270
- var g = function(x) {
271
- return { optional: [{ sourceId: x }] };
272
- }, b = function(x) {
273
- var F = x.deviceId;
274
- return typeof F == "string" ? F : Array.isArray(F) && F.length > 0 ? F[0] : typeof F == "object" && F.ideal ? F.ideal : null;
270
+ var S = function(F) {
271
+ return { optional: [{ sourceId: F }] };
272
+ }, h = function(F) {
273
+ var w = F.deviceId;
274
+ return typeof w == "string" ? w : Array.isArray(w) && w.length > 0 ? w[0] : typeof w == "object" && w.ideal ? w.ideal : null;
275
275
  };
276
- MediaStreamTrack.getSources(function(x) {
277
- var F = null, v = null;
278
- x.forEach(function(I) {
279
- I.kind === "audio" ? F = I.id : I.kind === "video" && (v = I.id);
276
+ MediaStreamTrack.getSources(function(F) {
277
+ var w = null, v = null;
278
+ F.forEach(function(D) {
279
+ D.kind === "audio" ? w = D.id : D.kind === "video" && (v = D.id);
280
280
  });
281
- var P = b(u.audioConstraints);
282
- P && (F = P);
283
- var w = b(u.videoConstraints);
284
- w && (v = w), y(g(F), g(v));
281
+ var A = h(p.audioConstraints);
282
+ A && (w = A);
283
+ var C = h(p.videoConstraints);
284
+ C && (v = C), y(S(w), S(v));
285
285
  });
286
286
  }
287
- }, f.prototype.handleUserMedia = function(l, u) {
287
+ }, f.prototype.handleUserMedia = function(l, p) {
288
288
  var y = this.props;
289
- if (l || !u) {
289
+ if (l || !p) {
290
290
  this.setState({ hasUserMedia: false }), y.onUserMediaError(l);
291
291
  return;
292
292
  }
293
- this.stream = u;
293
+ this.stream = p;
294
294
  try {
295
- this.video && (this.video.srcObject = u), this.setState({ hasUserMedia: true });
295
+ this.video && (this.video.srcObject = p), this.setState({ hasUserMedia: true });
296
296
  } catch {
297
- this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(u) });
297
+ this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(p) });
298
298
  }
299
- y.onUserMedia(u);
299
+ y.onUserMedia(p);
300
300
  }, f.prototype.render = function() {
301
- var l = this, u = this, y = u.state, g = u.props, b = g.audio, x = g.forceScreenshotSourceSize, F = g.onUserMedia, v = g.onUserMediaError, P = g.screenshotFormat, w = g.screenshotQuality, I = g.minScreenshotWidth, N = g.minScreenshotHeight, A = g.audioConstraints, L = g.videoConstraints, G = g.imageSmoothing, O = g.mirrored, j = g.style, k = j === void 0 ? {} : j, z = g.children, Fe = p(g, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), ae = O ? c(c({}, k), { transform: (k.transform || "") + " scaleX(-1)" }) : k, re = { getScreenshot: this.getScreenshot.bind(this) };
302
- return n.createElement(n.Fragment, null, n.createElement("video", c({ autoPlay: true, src: y.src, muted: !b, playsInline: true, ref: function(de) {
301
+ var l = this, p = this, y = p.state, S = p.props, h = S.audio, F = S.forceScreenshotSourceSize, w = S.onUserMedia, v = S.onUserMediaError, A = S.screenshotFormat, C = S.screenshotQuality, D = S.minScreenshotWidth, T = S.minScreenshotHeight, P = S.audioConstraints, N = S.videoConstraints, G = S.imageSmoothing, O = S.mirrored, V = S.style, k = V === void 0 ? {} : V, H = S.children, Oe = u(S, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), ae = O ? c(c({}, k), { transform: (k.transform || "") + " scaleX(-1)" }) : k, re = { getScreenshot: this.getScreenshot.bind(this) };
302
+ return n.createElement(n.Fragment, null, n.createElement("video", c({ autoPlay: true, src: y.src, muted: !h, playsInline: true, ref: function(de) {
303
303
  l.video = de;
304
- }, style: ae }, Fe)), z && z(re));
304
+ }, style: ae }, Oe)), H && H(re));
305
305
  }, f.defaultProps = { audio: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
306
306
  }, onUserMediaError: function() {
307
307
  }, screenshotFormat: "image/webp", screenshotQuality: 0.92 }, f;
@@ -312,208 +312,213 @@ var require_main_min = __commonJS({
312
312
  } }).default;
313
313
  });
314
314
  });
315
- var Mu = {};
316
- ac(Mu, { DynamicFlow: () => An, JsonSchemaForm: () => rr, Layout: () => le, convertStepToLayout: () => jt, inlineReferences: () => qe, isValidSchema: () => _, makeHttpClient: () => wr, translations: () => $l });
317
- module2.exports = ic(Mu);
318
- function jt(e, { displayStepTitle: t = true } = {}) {
315
+ var tp = {};
316
+ Oc(tp, { DynamicFlow: () => Bn, JsonSchemaForm: () => sr, Layout: () => le, convertStepToLayout: () => Wt, inlineReferences: () => Ge, isValidSchema: () => _, makeHttpClient: () => vr, translations: () => dc });
317
+ module2.exports = vc(tp);
318
+ function Wt(e, { displayStepTitle: t = true } = {}) {
319
319
  if (e.layout)
320
- return wc(e, t);
320
+ return jc(e, t);
321
321
  switch (e.type) {
322
322
  case "final":
323
- return mc(e);
323
+ return kc(e);
324
324
  case "decision":
325
- return dc(e);
325
+ return Ec(e);
326
326
  case "external":
327
- return sc(e);
327
+ return Ac(e);
328
328
  default:
329
- return cc(e);
329
+ return Mc(e);
330
330
  }
331
331
  }
332
- function io(e) {
332
+ function ho(e) {
333
333
  let t = [];
334
- if (e.title && t.push(lo(e.title)), e.image) {
335
- let r = Ln(e.image);
334
+ if (e.title && t.push(So(e.title)), e.image) {
335
+ let r = qn(e.image);
336
336
  t.push(r);
337
337
  }
338
- return e.description && t.push(co(e.description)), t;
338
+ return e.description && t.push(bo(e.description)), t;
339
339
  }
340
- function sc(e) {
341
- return [...io(e), lc(e)];
340
+ function Ac(e) {
341
+ return [...ho(e), Pc(e)];
342
342
  }
343
- function lc(e) {
343
+ function Pc(e) {
344
344
  return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
345
345
  }
346
- function cc(e) {
347
- let t = io(e);
348
- if (e.reviewFields && t.push(hc(e.reviewFields)), e.schemas && t.push(...bc(e)), e.actions) {
349
- let r = e.actions.map(pr);
350
- t.push(so(r, "md"));
346
+ function Mc(e) {
347
+ let t = ho(e);
348
+ if (e.reviewFields && t.push(Nc(e.reviewFields)), e.schemas && t.push(...Bc(e)), e.actions) {
349
+ let r = e.actions.map(Sr);
350
+ t.push(go(r, "md"));
351
351
  }
352
352
  return t;
353
353
  }
354
- function mc(e) {
354
+ function kc(e) {
355
355
  let t = [];
356
356
  if (e.details) {
357
357
  if (e.details.image) {
358
- let r = yc(e.details.image);
358
+ let r = Tc(e.details.image);
359
359
  t.push(r);
360
360
  }
361
- e.details.title && t.push(lo(e.details.title)), e.details.description && t.push(co(e.details.description));
361
+ e.details.title && t.push(So(e.details.title)), e.details.description && t.push(bo(e.details.description));
362
362
  }
363
363
  if (e.actions) {
364
- let r = e.actions.map((o) => pr(S(i({}, o), { type: o.type || "primary" })));
365
- t.push(so(r, "md"));
364
+ let r = e.actions.map((o) => Sr(b(i({}, o), { type: o.type || "primary" })));
365
+ t.push(go(r, "md"));
366
366
  }
367
367
  return t;
368
368
  }
369
- function dc(e) {
370
- let t = io(e);
371
- return e.options && t.push(pc(e.options)), t;
369
+ function Ec(e) {
370
+ let t = ho(e);
371
+ return e.options && t.push(Dc(e.options)), t;
372
372
  }
373
- function so(e, t) {
373
+ function go(e, t) {
374
374
  return { type: "box", width: t || "md", components: e };
375
375
  }
376
- function lo(e) {
376
+ function So(e) {
377
377
  return { type: "heading", text: e, size: "lg", margin: "lg", align: "center" };
378
378
  }
379
- function co(e) {
379
+ function bo(e) {
380
380
  return { type: "paragraph", text: e, align: "center" };
381
381
  }
382
- function uc(e) {
382
+ function Ic(e) {
383
383
  return { type: "form", schema: e };
384
384
  }
385
- function pc(e) {
386
- return { type: "decision", options: e.map(fc) };
385
+ function Dc(e) {
386
+ return { type: "decision", options: e.map(Lc) };
387
387
  }
388
- function fc(e) {
388
+ function Lc(e) {
389
389
  return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
390
390
  }
391
- function Ln(e) {
391
+ function qn(e) {
392
392
  return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
393
393
  }
394
- function yc(e) {
395
- return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : Ln(e);
394
+ function Tc(e) {
395
+ return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : qn(e);
396
396
  }
397
- function pr(e) {
398
- return { type: "button", action: S(i({}, e), { title: e.title }) };
397
+ function Sr(e) {
398
+ return { type: "button", action: b(i({}, e), { title: e.title }) };
399
399
  }
400
- function hc(e) {
401
- return { type: "review", title: e.title, fields: e.fields.map(gc) };
400
+ function Nc(e) {
401
+ return { type: "review", title: e.title, fields: e.fields.map(Rc) };
402
402
  }
403
- function gc(e) {
403
+ function Rc(e) {
404
404
  return { label: e.title, value: e.value };
405
405
  }
406
- function bc(e) {
406
+ function Bc(e) {
407
407
  let t = [];
408
408
  if (e.schemas && e.schemas[0]) {
409
- let r = e.schemas[0], o = uc(r);
410
- Sc() ? t.push(o) : t.push(so([o], "md"));
409
+ let r = e.schemas[0], o = Ic(r);
410
+ Vc() ? t.push(o) : t.push(go([o], "md"));
411
411
  }
412
412
  return t;
413
413
  }
414
- function Sc() {
414
+ function Vc() {
415
415
  return false;
416
416
  }
417
- function wc(e, t) {
418
- return [...t && e.title ? [lo(e.title)] : [], ...e.description ? [co(e.description)] : [], ...e.layout || []];
417
+ function jc(e, t) {
418
+ return [...t && e.title ? [So(e.title)] : [], ...e.description ? [bo(e.description)] : [], ...e.layout || []];
419
419
  }
420
- function qe({ layout: e, schemas: t, actions: r, model: o }) {
421
- return e ? t ? e.map((n) => n.type === "form" ? Cc({ formComponent: n, schemas: t }) : n.type === "decision" ? Fc({ decisionComponent: n, actions: r }) : n.type === "button" ? xc({ actionComponent: n, actions: r }) : n.type === "box" ? Oc({ boxComponent: n, schemas: t, actions: r, model: o }) : n.type === "columns" ? vc({ columnsComponent: n, schemas: t, actions: r, model: o }) : n) : e : [];
420
+ function Ge({ layout: e, schemas: t, actions: r, model: o }) {
421
+ return e ? t ? e.map((n) => n.type === "form" ? Uc({ formComponent: n, schemas: t }) : n.type === "decision" ? zc({ decisionComponent: n, actions: r }) : n.type === "button" ? Hc({ actionComponent: n, actions: r }) : n.type === "box" ? qc({ boxComponent: n, schemas: t, actions: r, model: o }) : n.type === "columns" ? Gc({ columnsComponent: n, schemas: t, actions: r, model: o }) : n) : e : [];
422
422
  }
423
- function Cc({ formComponent: e, schemas: t }) {
423
+ function Uc({ formComponent: e, schemas: t }) {
424
424
  if (e.schemaId)
425
- return { type: "form", margin: e.margin, schema: Nn(t, e.schemaId) };
426
- if (e.schema && fr(e.schema) && e.schema.$ref)
427
- return { type: "form", margin: e.margin, schema: Nn(t, e.schema.$ref) };
428
- if (e.schema && !fr(e.schema))
425
+ return { type: "form", margin: e.margin, schema: Gn(t, e.schemaId) };
426
+ if (e.schema && br(e.schema) && e.schema.$ref)
427
+ return { type: "form", margin: e.margin, schema: Gn(t, e.schema.$ref) };
428
+ if (e.schema && !br(e.schema))
429
429
  return i({}, e);
430
430
  throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.');
431
431
  }
432
- function Fc({ decisionComponent: e, actions: t }) {
432
+ function zc({ decisionComponent: e, actions: t }) {
433
433
  var o;
434
- let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((n) => n.action && fr(n.action) ? S(i({}, n), { action: Tn(t, n.action.$ref) }) : n);
435
- return S(i({}, e), { options: r });
434
+ let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((n) => n.action && br(n.action) ? b(i({}, n), { action: $n(t, n.action.$ref) }) : n);
435
+ return b(i({}, e), { options: r });
436
436
  }
437
- function xc({ actionComponent: e, actions: t }) {
437
+ function Hc({ actionComponent: e, actions: t }) {
438
438
  var r;
439
- if (e.action && fr(e.action) && ((r = e.action) != null && r.$ref)) {
440
- let o = Tn(t, e.action.$ref);
441
- return pr(o);
439
+ if (e.action && br(e.action) && ((r = e.action) != null && r.$ref)) {
440
+ let o = $n(t, e.action.$ref);
441
+ return Sr(o);
442
442
  }
443
443
  return e;
444
444
  }
445
- function Oc({ boxComponent: e, schemas: t, actions: r, model: o }) {
446
- return S(i({}, e), { components: qe({ layout: e.components, schemas: t, actions: r, model: o }) });
445
+ function qc({ boxComponent: e, schemas: t, actions: r, model: o }) {
446
+ return b(i({}, e), { components: Ge({ layout: e.components, schemas: t, actions: r, model: o }) });
447
447
  }
448
- function vc({ columnsComponent: e, schemas: t, actions: r, model: o }) {
449
- return S(i({}, e), { left: qe({ layout: e.left, schemas: t, actions: r, model: o }), right: qe({ layout: e.right, schemas: t, actions: r, model: o }) });
448
+ function Gc({ columnsComponent: e, schemas: t, actions: r, model: o }) {
449
+ return b(i({}, e), { left: Ge({ layout: e.left, schemas: t, actions: r, model: o }), right: Ge({ layout: e.right, schemas: t, actions: r, model: o }) });
450
450
  }
451
- function Nn(e, t) {
451
+ function Gn(e, t) {
452
452
  let r = e.find((o) => o.$id === t);
453
453
  if (!r)
454
454
  throw new Error(`Fatal Error. Schema not found. $id ${t}`);
455
455
  return r;
456
456
  }
457
- function Tn(e, t) {
457
+ function $n(e, t) {
458
458
  let r = e.find((o) => o.$id === t);
459
459
  if (!r)
460
460
  throw new Error(`Fatal Error. Action not found. $id ${t}`);
461
461
  return r;
462
462
  }
463
- function fr(e) {
463
+ function br(e) {
464
464
  return Object.prototype.hasOwnProperty.call(e, "$ref");
465
465
  }
466
- var Ce = require("react");
467
- var Dl = require("react-intl");
468
- var ft = require("react");
469
- var yr = require("react");
470
- function Rn() {
471
- let [e, t] = (0, yr.useState)(0);
472
- return { addPendingPromise: (0, yr.useCallback)((o) => {
473
- t((n) => n + 1), o.catch(Ac).finally(() => Pc(() => t((n) => Math.max(0, n - 1))));
466
+ var xe = require("react");
467
+ var Xl = require("react-intl");
468
+ var wt = require("react");
469
+ var wr = require("react");
470
+ function _n() {
471
+ let [e, t] = (0, wr.useState)(0);
472
+ return { addPendingPromise: (0, wr.useCallback)((o) => {
473
+ t((n) => n + 1), o.catch(_c).finally(() => $c(() => t((n) => Math.max(0, n - 1))));
474
474
  }, [t]), pendingPromises: e };
475
475
  }
476
- var Pc = (e) => setTimeout(() => e(), 0);
477
- var Ac = () => {
476
+ var $c = (e) => setTimeout(() => e(), 0);
477
+ var _c = () => {
478
478
  };
479
- var Un = require("react/jsx-runtime");
480
- var Bn = { loading: false, registerPersistAsyncPromise: (e) => {
479
+ var Xn = require("react/jsx-runtime");
480
+ var Wn = { loading: false, registerPersistAsyncPromise: (e) => {
481
481
  } };
482
- var jn = (0, ft.createContext)(Bn);
483
- var Vn = ({ loading: e, children: t }) => {
484
- let { pendingPromises: r, addPendingPromise: o } = Rn(), n = (0, ft.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
485
- return (0, Un.jsx)(jn.Provider, { value: n, children: t });
486
- };
487
- var hr = () => (0, ft.useContext)(jn) || Bn;
488
- var yt = require("react");
489
- var Hn = require("react/jsx-runtime");
490
- var zn = (0, yt.createContext)({ triggerEvent: () => {
482
+ var Kn = (0, wt.createContext)(Wn);
483
+ var Jn = ({ loading: e, children: t }) => {
484
+ let { pendingPromises: r, addPendingPromise: o } = _n(), n = (0, wt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
485
+ return (0, Xn.jsx)(Kn.Provider, { value: n, children: t });
486
+ };
487
+ var Fr = () => (0, wt.useContext)(Kn) || Wn;
488
+ var Ft = require("react");
489
+ var Zn = require("react/jsx-runtime");
490
+ var Yn = (0, Ft.createContext)({ triggerEvent: () => {
491
491
  } });
492
- var gr = ({ metadata: e, children: t, onEvent: r }) => {
493
- let o = (0, yt.useMemo)(() => ({ triggerEvent: mo(r, e) }), [r, e]);
494
- return (0, Hn.jsx)(zn.Provider, { value: o, children: t });
492
+ var Cr = ({ metadata: e, children: t, onEvent: r }) => {
493
+ let o = (0, Ft.useMemo)(() => ({ triggerEvent: wo(r, e) }), [r, e]);
494
+ return (0, Zn.jsx)(Yn.Provider, { value: o, children: t });
495
495
  };
496
496
  function Q() {
497
- let { triggerEvent: e } = (0, yt.useContext)(zn);
497
+ let { triggerEvent: e } = (0, Ft.useContext)(Yn);
498
498
  return e;
499
499
  }
500
- var mo = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
501
- var tt = require("react");
502
- function qn(e) {
500
+ var wo = (e, t) => (r, o = {}) => {
501
+ try {
502
+ e(r, i(i({}, t), o));
503
+ } catch (n) {
504
+ }
505
+ };
506
+ var ot = require("react");
507
+ function Qn(e) {
503
508
  return e >= 200 && e < 300;
504
509
  }
505
- function br(e) {
510
+ function xr(e) {
506
511
  return e === 422;
507
512
  }
508
- function Sr(e = "") {
513
+ function Or(e = "") {
509
514
  return ["https://", "http://", "data:"].some((t) => e.slice(0, t.length) === t && e.length > t.length) === false;
510
515
  }
511
- var wr = (e, t) => (r, o) => {
512
- let n = Mc(r, e || ""), a = kc(o == null ? void 0 : o.headers, t);
513
- return fetch(n, S(i({}, o || {}), { headers: a }));
516
+ var vr = (e, t) => (r, o) => {
517
+ let n = Wc(r, e || ""), a = Kc(o == null ? void 0 : o.headers, t);
518
+ return fetch(n, b(i({}, o || {}), { headers: a }));
514
519
  };
515
- var Mc = (e, t) => typeof e == "string" && Sr(e) ? t + e : e;
516
- var kc = (e, t) => {
520
+ var Wc = (e, t) => typeof e == "string" && Or(e) ? t + e : e;
521
+ var Kc = (e, t) => {
517
522
  if (!e && !t)
518
523
  return {};
519
524
  let r = new Headers(e);
@@ -521,281 +526,288 @@ var require_main_min = __commonJS({
521
526
  r.set(o, n);
522
527
  return r;
523
528
  };
524
- var uo = require("react/jsx-runtime");
525
- var Cr = (0, tt.createContext)(void 0);
526
- var Gn = ({ httpClient: e, children: t }) => (0, uo.jsx)(Cr.Provider, { value: e, children: t });
527
- var Fr = ({ baseUrl: e, children: t }) => {
528
- let r = (0, tt.useMemo)(() => wr(e), [e]);
529
- return (0, uo.jsx)(Cr.Provider, { value: r, children: t });
530
- };
531
- var ee = () => (0, tt.useContext)(Cr) || fetch;
532
- var xr = () => !!(0, tt.useContext)(Cr);
533
- var ht = require("react");
534
- var $n = require("react/jsx-runtime");
535
- var rt = (e, t, r = "UNKNOWN-FLOW-ID", o = "UNKNOWN-FLOW-ID") => (n, a, s) => t(e, `Dynamic Flow ${e} - ${n} - ${a}`, i({ flowId: r, stepId: o }, s));
536
- var _n = (0, ht.createContext)(null);
537
- var Or = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
538
- let n = (0, ht.useMemo)(() => ({ debug: rt("debug", o, e, t), info: rt("info", o, e, t), warning: rt("warning", o, e, t), error: rt("error", o, e, t), critical: rt("critical", o, e, t) }), [o, e, t]);
539
- return (0, $n.jsx)(_n.Provider, { value: n, children: r });
540
- };
541
- var gt = () => {
542
- let e = (0, ht.useContext)(_n);
529
+ var Fo = require("react/jsx-runtime");
530
+ var Ar = (0, ot.createContext)(void 0);
531
+ var ea = ({ httpClient: e, children: t }) => (0, Fo.jsx)(Ar.Provider, { value: e, children: t });
532
+ var Pr = ({ baseUrl: e, children: t }) => {
533
+ let r = (0, ot.useMemo)(() => vr(e), [e]);
534
+ return (0, Fo.jsx)(Ar.Provider, { value: r, children: t });
535
+ };
536
+ var ee = () => (0, ot.useContext)(Ar) || fetch;
537
+ var Mr = () => !!(0, ot.useContext)(Ar);
538
+ var Ct = require("react");
539
+ var ra = require("react/jsx-runtime");
540
+ var nt = (e, t, r = "UNKNOWN-FLOW-ID", o = "UNKNOWN-FLOW-ID") => (n, a, s) => {
541
+ try {
542
+ t(e, `Dynamic Flow ${e} - ${n} - ${a}`, i({ flowId: r, stepId: o }, s));
543
+ } catch (c) {
544
+ }
545
+ };
546
+ var ta = (0, Ct.createContext)(null);
547
+ var kr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
548
+ let n = (0, Ct.useMemo)(() => ({ debug: nt("debug", o, e, t), info: nt("info", o, e, t), warning: nt("warning", o, e, t), error: nt("error", o, e, t), critical: nt("critical", o, e, t) }), [o, e, t]);
549
+ return (0, ra.jsx)(ta.Provider, { value: n, children: r });
550
+ };
551
+ var xt = () => {
552
+ let e = (0, Ct.useContext)(ta);
543
553
  if (e == null)
544
554
  throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
545
555
  return e;
546
556
  };
547
- var D = (e) => typeof e == "string";
557
+ var E = (e) => typeof e == "string";
548
558
  var R = (e) => typeof e == "number" && !Number.isNaN(e);
549
- var Wn = (e) => R(e) && Math.floor(e) === e;
550
- var xe = (e) => typeof e == "boolean";
551
- var T = (e) => !M(e) && !K(e) && (e == null ? void 0 : e.constructor) === Object;
552
- var q = (e) => Array.isArray(e);
559
+ var oa = (e) => R(e) && Math.floor(e) === e;
560
+ var ve = (e) => typeof e == "boolean";
561
+ var L = (e) => !M(e) && !J(e) && (e == null ? void 0 : e.constructor) === Object;
562
+ var z = (e) => Array.isArray(e);
553
563
  var M = (e) => e === null;
554
- var K = (e) => typeof e == "undefined";
555
- var bt = (e) => D(e) && e.length === 0 || (T(e) || q(e)) && Object.keys(e).length === 0;
556
- function Kn(e, t) {
557
- return t.oneOf.some((r) => Ee(e, r) === e) ? e : null;
564
+ var J = (e) => typeof e == "undefined";
565
+ var Ot = (e) => E(e) && e.length === 0 || (L(e) || z(e)) && Object.keys(e).length === 0;
566
+ function na(e, t) {
567
+ return t.oneOf.some((r) => $e(e, r) === e) ? e : null;
558
568
  }
559
- function Jn(e, t) {
569
+ function aa(e, t) {
560
570
  var o;
561
- let r = t.oneOf.map((n) => Ec(e, n)).filter((n) => n !== null);
571
+ let r = t.oneOf.map((n) => Jc(e, n)).filter((n) => n !== null);
562
572
  return r.length === 0 ? null : (o = r.find((n) => n.some((a) => a !== null))) != null ? o : r[0];
563
573
  }
564
- function Ec(e, t) {
565
- return !De(t) || !Ge(t) ? null : po(e, t);
574
+ function Jc(e, t) {
575
+ return !Le(t) || !Ae(t) ? null : Co(e, t);
566
576
  }
567
- function Xn(e) {
568
- return D(e) && !bt(e) ? e : null;
577
+ function ia(e) {
578
+ return E(e) && !Ot(e) ? e : null;
569
579
  }
570
- function Yn(e) {
580
+ function sa(e) {
571
581
  return R(e) ? e : null;
572
582
  }
573
- function Zn(e) {
574
- return xe(e) ? e : null;
583
+ function la(e) {
584
+ return ve(e) ? e : null;
575
585
  }
576
- function po(e, t) {
577
- if (!q(e) || !Ge(t))
586
+ function Co(e, t) {
587
+ if (!z(e) || !Ae(t))
578
588
  return null;
579
589
  if (e.length > 0) {
580
590
  let r = typeof e[0];
581
591
  if (!e.every((o) => typeof o === r))
582
592
  return new Array(e.length).fill(null);
583
593
  }
584
- return e.map((r) => Ee(r, t.items));
594
+ return e.map((r) => vt(r, t.items));
585
595
  }
586
- function Qn(e, t) {
596
+ function ca(e, t) {
587
597
  return Object.keys(t.properties).reduce((r, o) => {
588
- if (e && !K(e[o])) {
589
- let n = e[o], a = t.properties[o], s = Vt(n, a);
598
+ if (e && !J(e[o])) {
599
+ let n = e[o], a = t.properties[o], s = vt(n, a);
590
600
  if (!M(s))
591
- return S(i({}, r), { [o]: s });
601
+ return b(i({}, r), { [o]: s });
592
602
  }
593
603
  return r;
594
604
  }, {});
595
605
  }
596
- function ea(e, t) {
606
+ function ma(e, t) {
597
607
  return t.allOf.reduce((r, o) => {
598
608
  let n = ie(e, o);
599
- return Y(n) ? i(i({}, r), n) : r;
609
+ return $(n) ? i(i({}, r), n) : r;
600
610
  }, {});
601
611
  }
602
- function ta(e, t) {
603
- return t.oneOf.map((r) => ie(e, r)).reduce((r, o) => M(r) ? o : Y(r) && Y(o) ? ra(r, o) : M(o) ? r : o, null);
612
+ function da(e, t) {
613
+ return t.oneOf.map((r) => ie(e, r)).reduce((r, o) => M(r) ? o : $(r) && $(o) ? ua(r, o) : M(o) ? r : o, null);
604
614
  }
605
- function ra(e, t) {
615
+ function ua(e, t) {
606
616
  return Object.keys(t).reduce((r, o) => {
607
617
  let n = e[o], a = t[o];
608
- return Y(n) && Y(a) ? S(i({}, r), { [o]: ra(n, a) }) : S(i({}, r), { [o]: t[o] });
618
+ return $(n) && $(a) ? b(i({}, r), { [o]: ua(n, a) }) : b(i({}, r), { [o]: t[o] });
609
619
  }, i({}, e));
610
620
  }
611
- var Vt = (e, t) => Y(e) ? ie(e, t) : fo(e) ? Dc(e, t) : Ee(e, t);
612
- function Ee(e, t) {
621
+ var vt = (e, t) => $(e) ? ie(e, t) : xo(e) ? Xc(e, t) : $e(e, t);
622
+ function $e(e, t) {
613
623
  if (M(e))
614
624
  return null;
615
625
  if (t.oneOf)
616
- return Kn(e, t);
617
- if (!K(t.const) && e === t.const)
626
+ return na(e, t);
627
+ if (!J(t.const) && e === t.const)
618
628
  return e;
619
629
  if (t.type)
620
630
  switch (t.type) {
621
631
  case "string":
622
- return Xn(e);
632
+ return ia(e);
623
633
  case "number":
624
634
  case "integer":
625
- return Yn(e);
635
+ return sa(e);
626
636
  case "boolean":
627
- return Zn(e);
637
+ return la(e);
628
638
  default:
629
639
  return null;
630
640
  }
631
641
  return null;
632
642
  }
633
643
  function ie(e, t) {
634
- return Ie(t) || De(t) || M(e) ? null : t.allOf ? ea(e, t) : t.oneOf ? ta(e, t) : !K(t.const) && e === t.const ? e : Oe(t) ? Qn(e, t) : null;
644
+ return Te(t) || Le(t) || M(e) ? null : t.allOf ? ma(e, t) : t.oneOf ? da(e, t) : !J(t.const) && e === t.const ? e : Pe(t) ? ca(e, t) : null;
635
645
  }
636
- function Dc(e, t) {
637
- return fe(t) ? Jn(e, t) : De(t) ? po(e, t) : null;
646
+ function Xc(e, t) {
647
+ return fe(t) ? aa(e, t) : Le(t) ? Co(e, t) : null;
638
648
  }
639
- function Ut(e, t = false) {
640
- return !t || !K(e);
649
+ function Kt(e, t = false) {
650
+ return !t || !J(e);
641
651
  }
642
- function oa(e, t = false) {
643
- return !t || q(e);
652
+ function pa(e, t = false) {
653
+ return !t || z(e);
644
654
  }
645
- function na(e, t) {
646
- return !R(t) || D(e) && e.length >= t;
655
+ function fa(e, t) {
656
+ return !R(t) || E(e) && e.length >= t;
647
657
  }
648
- function aa(e, t) {
649
- return !R(t) || D(e) && e.length <= t;
658
+ function ya(e, t) {
659
+ return !R(t) || E(e) && e.length <= t;
650
660
  }
651
- function ia(e, t) {
661
+ function ha(e, t) {
652
662
  return t === void 0 ? true : e == null ? false : !!new RegExp(t).test(e);
653
663
  }
654
- function yo(e, t) {
655
- return !R(t) && !D(t) || (R(e) || D(e)) && e <= t;
664
+ function Oo(e, t) {
665
+ return !R(t) && !E(t) || (R(e) || E(e)) && e <= t;
656
666
  }
657
- function ho(e, t) {
658
- return !R(t) && !D(t) || (R(e) || D(e)) && e >= t;
667
+ function vo(e, t) {
668
+ return !R(t) && !E(t) || (R(e) || E(e)) && e >= t;
659
669
  }
660
- function sa(e, t) {
661
- return !R(t) || q(e) && e.length >= t;
670
+ function ga(e, t) {
671
+ return !R(t) || z(e) && e.length >= t;
662
672
  }
663
- function la(e, t) {
664
- return !R(t) || q(e) && e.length <= t;
673
+ function Sa(e, t) {
674
+ return !R(t) || z(e) && e.length <= t;
665
675
  }
666
676
  function _e(e, t, r) {
667
677
  if (t.const)
668
- return wo(e, t, r);
678
+ return ko(e, t, r);
669
679
  if (M(e))
670
680
  return r ? ["required"] : [];
671
- if (ma(t))
672
- return go(e, t, r);
681
+ if (wa(t))
682
+ return Ao(e, t, r);
673
683
  switch (t.type) {
674
684
  case "number":
675
- return vr(e, t, r);
685
+ return Er(e, t, r);
676
686
  case "integer":
677
- return bo(e, t, r);
687
+ return Po(e, t, r);
678
688
  case "boolean":
679
- return So(e, t, r);
689
+ return Mo(e, t, r);
680
690
  case "array":
681
- return St(e, t, r);
691
+ return At(e, t, r);
682
692
  case "object":
683
- return Ic(e, t);
693
+ return Yc(e, t);
684
694
  default:
685
695
  return [];
686
696
  }
687
697
  }
688
- function go(e, t, r) {
689
- if (!D(e) && !M(e))
698
+ function Ao(e, t, r) {
699
+ if (!E(e) && !M(e))
690
700
  return ["type"];
691
701
  if (e === "" && r)
692
702
  return ["required"];
693
703
  let o = [];
694
- return Ut(e, r) || o.push("required"), na(e, t.minLength) || o.push("minLength"), aa(e, t.maxLength) || o.push("maxLength"), ia(e, t.pattern) || o.push("pattern"), ho(e, t.minimum) || o.push("minimum"), yo(e, t.maximum) || o.push("maximum"), o;
704
+ return Kt(e, r) || o.push("required"), fa(e, t.minLength) || o.push("minLength"), ya(e, t.maxLength) || o.push("maxLength"), ha(e, t.pattern) || o.push("pattern"), vo(e, t.minimum) || o.push("minimum"), Oo(e, t.maximum) || o.push("maximum"), o;
695
705
  }
696
- function vr(e, t, r) {
706
+ function Er(e, t, r) {
697
707
  if (!R(e) && !M(e))
698
708
  return ["type"];
699
709
  let o = [];
700
- return Ut(e, r) || o.push("required"), ho(e, t.minimum) || o.push("minimum"), yo(e, t.maximum) || o.push("maximum"), o;
710
+ return Kt(e, r) || o.push("required"), vo(e, t.minimum) || o.push("minimum"), Oo(e, t.maximum) || o.push("maximum"), o;
701
711
  }
702
- function bo(e, t, r) {
703
- return Wn(e) ? vr(e, t, r) : ["type"];
712
+ function Po(e, t, r) {
713
+ return oa(e) ? Er(e, t, r) : ["type"];
704
714
  }
705
- function So(e, t, r) {
706
- if (!xe(e) && !M(e))
715
+ function Mo(e, t, r) {
716
+ if (!ve(e) && !M(e))
707
717
  return ["type"];
708
718
  let o = [];
709
- return Ut(e, r) || o.push("required"), o;
719
+ return Kt(e, r) || o.push("required"), o;
710
720
  }
711
- function wo(e, t, r) {
712
- return Ut(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
721
+ function ko(e, t, r) {
722
+ return Kt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
713
723
  }
714
- function St(e, t, r) {
715
- if (!q(e) && !M(e))
724
+ function At(e, t, r) {
725
+ if (!z(e) && !M(e))
716
726
  return ["type"];
717
- if (!oa(e, r))
727
+ if (!pa(e, r))
718
728
  return ["required"];
719
729
  let o = [];
720
- return sa(e, t.minItems) || o.push("minItems"), la(e, t.maxItems) || o.push("maxItems"), o;
730
+ return ga(e, t.minItems) || o.push("minItems"), Sa(e, t.maxItems) || o.push("maxItems"), o;
721
731
  }
722
- function ca(e, t) {
732
+ function ba(e, t) {
723
733
  return M(e) ? ["type"] : [];
724
734
  }
725
- function Ic(e, t) {
726
- return Y(e) ? q(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, n) => o && n, true) ? [] : ["required"] : [] : ["type"];
735
+ function Yc(e, t) {
736
+ return $(e) ? z(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, n) => o && n, true) ? [] : ["required"] : [] : ["type"];
727
737
  }
728
- function Lc(e, t) {
729
- return !go(e, t).length;
738
+ function Zc(e, t) {
739
+ return !Ao(e, t).length;
730
740
  }
731
- function Nc(e, t) {
732
- return !vr(e, t).length;
741
+ function Qc(e, t) {
742
+ return !Er(e, t).length;
733
743
  }
734
- function Tc(e, t) {
735
- return !bo(e, t).length;
744
+ function em(e, t) {
745
+ return !Po(e, t).length;
736
746
  }
737
- function Rc(e, t) {
738
- return !So(e, t).length;
747
+ function tm(e, t) {
748
+ return !Mo(e, t).length;
739
749
  }
740
- function Bc(e, t) {
741
- return !wo(e, t).length;
750
+ function rm(e, t) {
751
+ return !ko(e, t).length;
742
752
  }
743
- function jc(e, t) {
744
- return !T(e) || t.type !== "object" || !T(t.properties) ? false : Object.keys(t.properties).map((r) => Vc(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
753
+ function om(e, t) {
754
+ return !L(e) || t.type !== "object" || !L(t.properties) ? false : Object.keys(t.properties).map((r) => nm(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
745
755
  }
746
- function Vc(e, t, r) {
747
- return typeof e == "undefined" ? !r : _(e, t);
756
+ function nm(e, t, r) {
757
+ return t.hidden ? true : typeof e == "undefined" ? !r : _(e, t);
748
758
  }
749
- function Uc(e, t) {
750
- return t.type !== "array" || !T(t.items) || St(e, t).length > 0 ? false : Array.isArray(e) && Ge(t) && e.map((r) => _(r, t.items)).every((r) => r);
759
+ function am(e, t) {
760
+ return t.type !== "array" || !L(t.items) || At(e, t).length > 0 ? false : Array.isArray(e) && Ae(t) && e.map((r) => _(r, t.items)).every((r) => r);
751
761
  }
752
- function zc(e, t) {
753
- return q(t.oneOf) ? t.oneOf.some((r) => _(e, r)) : false;
762
+ function im(e, t) {
763
+ return z(t.oneOf) ? t.oneOf.some((r) => _(e, r)) : false;
754
764
  }
755
- function Hc(e, t) {
756
- return q(t.allOf) ? t.allOf.map((r) => _(e, r)).every((r) => r) : false;
765
+ function sm(e, t) {
766
+ return z(t.allOf) ? t.allOf.map((r) => _(e, r)).every((r) => r) : false;
757
767
  }
758
- function qc(e, t) {
759
- return !ca(e, t).length;
768
+ function lm(e, t) {
769
+ return !ba(e, t).length;
760
770
  }
761
771
  function _(e, t) {
772
+ if (t.hidden)
773
+ return true;
762
774
  if (t.oneOf)
763
- return zc(e, t);
775
+ return im(e, t);
764
776
  if (t.allOf)
765
- return Hc(e, t);
777
+ return sm(e, t);
766
778
  if (t.const)
767
- return Bc(e, t);
779
+ return rm(e, t);
768
780
  switch (t.type) {
769
781
  case "string":
770
- return Lc(e, t);
782
+ return Zc(e, t);
771
783
  case "number":
772
- return Nc(e, t);
784
+ return Qc(e, t);
773
785
  case "integer":
774
- return Tc(e, t);
786
+ return em(e, t);
775
787
  case "boolean":
776
- return Rc(e, t);
788
+ return tm(e, t);
777
789
  case "array":
778
- return Uc(e, t);
790
+ return am(e, t);
779
791
  case "object":
780
- return jc(e, t);
792
+ return om(e, t);
781
793
  case "blob":
782
- return qc(e, t);
794
+ return lm(e, t);
783
795
  default:
784
796
  return false;
785
797
  }
786
798
  }
787
- function Gc(e) {
799
+ function cm(e) {
788
800
  let t = new Date(e), r = `${t.getMonth() + 1}`, o = `${t.getDate()}`, n = t.getFullYear(), a = r.length < 2 ? `0${r}` : r, s = o.length < 2 ? `0${o}` : o;
789
801
  return [n, a, s].join("-");
790
802
  }
791
- var da = (e) => {
803
+ var Fa = (e) => {
792
804
  if (!e)
793
805
  return null;
794
806
  let [t, r, o] = e.split("-").map((n) => parseInt(n, 10));
795
807
  return !R(t) || !R(r) || !R(o) ? null : new Date(t, r - 1, o);
796
808
  };
797
- var ua = (e) => Gc(e);
798
- var $e = (e, t) => {
809
+ var Ca = (e) => cm(e);
810
+ var We = (e, t) => {
799
811
  let r, o, n = () => {
800
812
  r && (clearTimeout(r), r = null), o = null;
801
813
  }, a = (...s) => {
@@ -809,21 +821,21 @@ var require_main_min = __commonJS({
809
821
  r !== null && (e(...o), n());
810
822
  }, a;
811
823
  };
812
- var We = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => We(r, t[o])) : !!(pa(e) && pa(t) && _c(e, t));
813
- var _c = (e, t) => {
824
+ var Ke = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ke(r, t[o])) : !!(xa(e) && xa(t) && mm(e, t));
825
+ var mm = (e, t) => {
814
826
  let r = Object.keys(e), o = Object.keys(t);
815
- return r.length === o.length && r.every((n) => Object.prototype.hasOwnProperty.call(t, n) && We(e[n], t[n]));
827
+ return r.length === o.length && r.every((n) => Object.prototype.hasOwnProperty.call(t, n) && Ke(e[n], t[n]));
816
828
  };
817
- var pa = (e) => typeof e == "object" && e !== null;
818
- function Pr(e) {
829
+ var xa = (e) => typeof e == "object" && e !== null;
830
+ function Ir(e) {
819
831
  return Math.floor(e / 1024);
820
832
  }
821
- var fa = (e) => new Promise((t, r) => {
833
+ var Oa = (e) => new Promise((t, r) => {
822
834
  let o = new FileReader();
823
835
  o.readAsDataURL(e), o.addEventListener("load", () => t(o.result)), o.addEventListener("error", (n) => r(n));
824
836
  });
825
- function ya(e, t) {
826
- let r = t.reduce((o, n) => S(i({}, o), { [n.id]: n }), {});
837
+ function va(e, t) {
838
+ let r = t.reduce((o, n) => b(i({}, o), { [n.id]: n }), {});
827
839
  for (let o of e) {
828
840
  let n = r[o.id];
829
841
  if (!n || n.status !== o.status)
@@ -831,99 +843,99 @@ var require_main_min = __commonJS({
831
843
  }
832
844
  return true;
833
845
  }
834
- var ve = (e = "") => `${e ? `${e}-` : ""}${Math.floor(1e8 * Math.random())}`;
835
- function Le(e) {
836
- return !K(e == null ? void 0 : e.const);
846
+ var Me = (e = "") => `${e ? `${e}-` : ""}${Math.floor(1e8 * Math.random())}`;
847
+ function ye(e) {
848
+ return !J(e == null ? void 0 : e.const);
837
849
  }
838
- function zt(e) {
839
- return !!e && !Le(e);
850
+ function Jt(e) {
851
+ return !!e && !ye(e);
840
852
  }
841
- var $c = (e) => !!e.readOnly && Ie(e);
842
- var Wc = (e) => !!e.oneOf && !!e.promotion;
843
- var Kc = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
844
- function Ie(e) {
845
- return Kc.has(e.type || "") || "const" in e && e.const !== void 0;
853
+ var dm = (e) => !!e.readOnly && Te(e);
854
+ var um = (e) => !!e.oneOf && !!e.promotion;
855
+ var pm = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
856
+ function Te(e) {
857
+ return pm.has(e.type || "") || "const" in e && e.const !== void 0;
846
858
  }
847
- function Oe(e) {
859
+ function Pe(e) {
848
860
  return e.type === "object";
849
861
  }
850
- function Ht(e) {
862
+ function at(e) {
851
863
  return fe(e) && e.oneOf.every((t) => t.type === "object");
852
864
  }
853
865
  function fe(e) {
854
866
  return !!e.oneOf;
855
867
  }
856
- function Co(e) {
868
+ function Eo(e) {
857
869
  return !!e.allOf;
858
870
  }
859
- function wt(e) {
871
+ function Pt(e) {
860
872
  return e.type === "blob";
861
873
  }
862
- function De(e) {
874
+ function Le(e) {
863
875
  return e.type === "array";
864
876
  }
865
- function Ge(e) {
877
+ function Ae(e) {
866
878
  let t = e.items;
867
879
  return !Array.isArray(t);
868
880
  }
869
- function ma(e) {
881
+ function wa(e) {
870
882
  return e.type === "string";
871
883
  }
872
- function Ar(e) {
884
+ function Dr(e) {
873
885
  return !!e.persistAsync;
874
886
  }
875
- function Jc(e) {
876
- return Ar(e) && (wt(e.persistAsync.schema) || Xc(e.persistAsync.schema));
887
+ function fm(e) {
888
+ return Dr(e) && (Pt(e.persistAsync.schema) || ym(e.persistAsync.schema));
877
889
  }
878
- var Fo = (e) => Ie(e) && !!e.validationAsync;
879
- function Xc(e) {
890
+ var Io = (e) => Te(e) && !!e.validationAsync;
891
+ function ym(e) {
880
892
  return e.type === "string" && e.format === "base64url";
881
893
  }
882
- function ha(e) {
894
+ function Aa(e) {
883
895
  return e.type === "string" && e.format === "base64url";
884
896
  }
885
- var ga = (e) => De(e) && Ge(e) && Jc(e.items);
886
- var qt = (e) => $c(e) ? "readOnly" : Ar(e) ? "persistAsync" : Fo(e) ? "validationAsync" : Oe(e) ? "object" : De(e) ? "array" : Wc(e) ? "promotedOneOf" : fe(e) ? "oneOf" : Co(e) ? "allOf" : Ie(e) ? "basic" : null;
887
- var ba = (e) => Yc(e) && Zc(e) && Qc(e);
888
- var Yc = (e) => !e.type || e.type === "form";
889
- var Zc = (e) => {
897
+ var Pa = (e) => Le(e) && Ae(e) && fm(e.items);
898
+ var it = (e) => dm(e) ? "readOnly" : Dr(e) ? "persistAsync" : Io(e) ? "validationAsync" : Pe(e) ? "object" : Le(e) ? "array" : um(e) ? "promotedOneOf" : fe(e) ? "oneOf" : Eo(e) ? "allOf" : Te(e) ? "basic" : null;
899
+ var Ma = (e) => hm(e) && gm(e) && Sm(e);
900
+ var hm = (e) => !e.type || e.type === "form";
901
+ var gm = (e) => {
890
902
  var t;
891
903
  return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
892
904
  };
893
- var Qc = (e) => {
905
+ var Sm = (e) => {
894
906
  if (!e.schemas)
895
907
  return false;
896
- let t = Mr(e.schemas);
908
+ let t = Lr(e.schemas);
897
909
  if ((t == null ? void 0 : t.length) !== 1)
898
910
  return false;
899
911
  let r = t[0];
900
- if (!Oe(r) || Object.values(r.properties).length !== 1)
912
+ if (!Pe(r) || Object.values(r.properties).length !== 1)
901
913
  return false;
902
914
  let o = Object.values(r.properties)[0];
903
- return ha(o) ? o.source === "camera" : false;
904
- };
905
- var Mr = (e) => e.filter((t) => Oe(t) ? Object.values((t == null ? void 0 : t.properties) || {}).find((r) => (r == null ? void 0 : r.hidden) !== true) : (t == null ? void 0 : t.hidden) !== true);
906
- var Y = (e) => typeof e == "object" && e !== null && e.constructor === Object;
907
- var xo = (e) => M(e) || Y(e);
908
- var Oo = (e) => xe(e) || R(e) || D(e) || M(e);
909
- var Sa = (e) => D(e) || M(e);
910
- var fo = (e) => q(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
911
- var wa = (e) => M(e) ? true : fo(e);
912
- var Gt = (e) => D(e) || M(e);
913
- var Ca = require("react");
914
- function Fa(e, t) {
915
- return (0, Ca.useCallback)($e(e, t), [e, t]);
916
- }
917
- var _t = require("react");
918
- function xa(e) {
919
- let [t, r] = (0, _t.useState)(null), [o, n] = (0, _t.useState)(false), a = () => n(true);
920
- return (0, _t.useEffect)(() => {
915
+ return Aa(o) ? o.source === "camera" : false;
916
+ };
917
+ var Lr = (e) => e.filter((t) => Pe(t) ? Object.values((t == null ? void 0 : t.properties) || {}).find((r) => (r == null ? void 0 : r.hidden) !== true) : (t == null ? void 0 : t.hidden) !== true);
918
+ var $ = (e) => typeof e == "object" && e !== null && e.constructor === Object;
919
+ var Do = (e) => M(e) || $(e);
920
+ var Lo = (e) => ve(e) || R(e) || E(e) || M(e);
921
+ var Tr = (e) => E(e) || M(e);
922
+ var xo = (e) => z(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "object") : false;
923
+ var ka = (e) => M(e) ? true : xo(e);
924
+ var Xt = (e) => E(e) || M(e);
925
+ var Ea = require("react");
926
+ function Ia(e, t) {
927
+ return (0, Ea.useCallback)(We(e, t), [e, t]);
928
+ }
929
+ var Yt = require("react");
930
+ function Da(e) {
931
+ let [t, r] = (0, Yt.useState)(null), [o, n] = (0, Yt.useState)(false), a = () => n(true);
932
+ return (0, Yt.useEffect)(() => {
921
933
  e && (n(false), r(window.open(e, "_blank")));
922
934
  }, [e]), { requiresManualTrigger: !!(e && !t && !o), dismissConfirmation: a };
923
935
  }
924
- var $t = require("react");
925
- function Oa(e, t) {
926
- let r = ee(), o = (0, $t.useMemo)(() => {
936
+ var Zt = require("react");
937
+ function La(e, t) {
938
+ let r = ee(), o = (0, Zt.useMemo)(() => {
927
939
  if (e)
928
940
  return () => r(e.url).then((a) => {
929
941
  if (a.ok)
@@ -935,103 +947,103 @@ var require_main_min = __commonJS({
935
947
  else
936
948
  throw new Error("failed");
937
949
  });
938
- }, [e, r]), n = (0, $t.useCallback)((a) => {
939
- let c = ((e == null ? void 0 : e.responseHandlers) || []).find((p) => p.result === a.result);
950
+ }, [e, r]), n = (0, Zt.useCallback)((a) => {
951
+ let c = ((e == null ? void 0 : e.responseHandlers) || []).find((u) => u.result === a.result);
940
952
  if (c != null && c.action) {
941
- let { action: p } = c;
942
- if (p.exit) {
943
- let m = i(i({}, p.result || {}), a.data || {});
944
- t(S(i({}, p), { result: m }));
953
+ let { action: u } = c;
954
+ if (u.exit) {
955
+ let m = i(i({}, u.result || {}), a.data || {});
956
+ t(b(i({}, u), { result: m }));
945
957
  } else {
946
- let m = i(i({}, p.data || {}), a.data || {});
947
- t(S(i({}, p), { data: m }));
958
+ let m = i(i({}, u.data || {}), a.data || {});
959
+ t(b(i({}, u), { data: m }));
948
960
  }
949
961
  return false;
950
962
  }
951
963
  return true;
952
964
  }, [e == null ? void 0 : e.responseHandlers, t]);
953
- kr({ asyncFn: o, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: n, onFailure: (0, $t.useCallback)(() => {
965
+ Nr({ asyncFn: o, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: n, onFailure: (0, Zt.useCallback)(() => {
954
966
  e && t(e.onError.action);
955
967
  }, [t, e]) });
956
968
  }
957
- var Es = require("react");
958
- var Ds = require("react-intl");
959
- var va = require("react-intl");
960
- var Wt = (0, va.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
961
- var ut = require("react");
962
- var vs = require("react-intl");
963
- var Pa = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
969
+ var Ks = require("react");
970
+ var Js = require("react-intl");
971
+ var Ta = require("react-intl");
972
+ var Qt = (0, Ta.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
973
+ var St = require("react");
974
+ var qs = require("react-intl");
975
+ var Na = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
964
976
  var B = { RADIO: "radio", CHECKBOX: "checkbox", SELECT: "select", FILE: "file", DATE: "date", DATETIME: "date-time", DATELOOKUP: "date-lookup", TEL: "tel", NUMBER: "number", HIDDEN: "hidden", PASSWORD: "password", TEXT: "text", TEXTAREA: "textarea", UPLOAD: "upload", TAB: "tab" };
965
- var Aa = { SHORT: "short", LONG: "long" };
966
- var Ma = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
967
- var xs = He(ot());
977
+ var Ra = { SHORT: "short", LONG: "long" };
978
+ var Ba = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
979
+ var zs = qe(st());
968
980
  var ce = require("react");
969
- var Ta = require("@transferwise/components");
970
- var Ft = require("@transferwise/components");
971
- var Ea = require("react/jsx-runtime");
972
- var Ct = (e) => em(e) || tm(e);
973
- var em = (e) => rm.some((t) => e === `flag-${t}`);
974
- var tm = (e) => om.some((t) => e === `flag-${t}`);
975
- var ka = ({ name: e }) => {
976
- if (!Ct(e))
981
+ var Ga = require("@transferwise/components");
982
+ var kt = require("@transferwise/components");
983
+ var ja = require("react/jsx-runtime");
984
+ var Mt = (e) => bm(e) || wm(e);
985
+ var bm = (e) => Fm.some((t) => e === `flag-${t}`);
986
+ var wm = (e) => Cm.some((t) => e === `flag-${t}`);
987
+ var Va = ({ name: e }) => {
988
+ if (!Mt(e))
977
989
  return null;
978
990
  let t = e.substring(5);
979
- return (0, Ea.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
980
- };
981
- var rm = ["aed", "ars", "aud", "bdt", "bgn", "bhd", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "gtq", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "isk", "jmd", "jpy", "kes", "krw", "kwd", "lak", "lkr", "lsl", "mad", "mur", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "omr", "pab", "pen", "php", "pkr", "pln", "qar", "ron", "rub", "sar", "sek", "sgd", "thb", "tmt", "try", "twd", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
982
- var om = ["ad", "ae", "ar", "at", "au", "bd", "be", "bg", "bh", "bn", "br", "bw", "ca", "ch", "cl", "cn", "co", "cr", "cy", "cz", "de", "dk", "ee", "eg", "es", "eu", "fi", "fj", "fr", "gb", "ge", "gg", "gh", "gp", "gr", "gt", "hk", "hr", "hu", "id", "ie", "il", "im", "in", "is", "it", "je", "jm", "jp", "ke", "kr", "kw", "la", "li", "lk", "ls", "lt", "lu", "lv", "ma", "mc", "mt", "mu", "mx", "my", "mz", "na", "ng", "nl", "no", "np", "nz", "om", "pa", "pe", "ph", "pk", "pl", "pt", "qa", "ro", "ru", "sa", "se", "sg", "si", "sk", "sm", "th", "tm", "tr", "tw", "tz", "ua", "ug", "us", "uy", "va", "vn", "wi", "xo", "za", "zm"];
983
- var Da = He(require("@transferwise/icons"));
984
- var Na = require("react/jsx-runtime");
985
- var Dr = (e) => {
986
- let t = La(e);
987
- return Object.keys(Da).includes(t);
988
- };
989
- var Ia = ({ name: e }) => {
990
- if (!Dr(e))
991
+ return (0, ja.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
992
+ };
993
+ var Fm = ["aed", "ars", "aud", "bdt", "bgn", "bhd", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "gtq", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "isk", "jmd", "jpy", "kes", "krw", "kwd", "lak", "lkr", "lsl", "mad", "mur", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "omr", "pab", "pen", "php", "pkr", "pln", "qar", "ron", "rub", "sar", "sek", "sgd", "thb", "tmt", "try", "twd", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
994
+ var Cm = ["ad", "ae", "ar", "at", "au", "bd", "be", "bg", "bh", "bn", "br", "bw", "ca", "ch", "cl", "cn", "co", "cr", "cy", "cz", "de", "dk", "ee", "eg", "es", "eu", "fi", "fj", "fr", "gb", "ge", "gg", "gh", "gp", "gr", "gt", "hk", "hr", "hu", "id", "ie", "il", "im", "in", "is", "it", "je", "jm", "jp", "ke", "kr", "kw", "la", "li", "lk", "ls", "lt", "lu", "lv", "ma", "mc", "mt", "mu", "mx", "my", "mz", "na", "ng", "nl", "no", "np", "nz", "om", "pa", "pe", "ph", "pk", "pl", "pt", "qa", "ro", "ru", "sa", "se", "sg", "si", "sk", "sm", "th", "tm", "tr", "tw", "tz", "ua", "ug", "us", "uy", "va", "vn", "wi", "xo", "za", "zm"];
995
+ var Ua = qe(require("@transferwise/icons"));
996
+ var qa = require("react/jsx-runtime");
997
+ var Br = (e) => {
998
+ let t = Ha(e);
999
+ return Object.keys(Ua).includes(t);
1000
+ };
1001
+ var za = ({ name: e }) => {
1002
+ if (!Br(e))
991
1003
  return null;
992
- let t = La(e), r = Da[t];
993
- return (0, Na.jsx)(r, { size: 24 });
1004
+ let t = Ha(e), r = Ua[t];
1005
+ return (0, qa.jsx)(r, { size: 24 });
994
1006
  };
995
- var La = (e) => e.split("-").map(nm).join("");
996
- var nm = (e) => {
1007
+ var Ha = (e) => e.split("-").map(xm).join("");
1008
+ var xm = (e) => {
997
1009
  var t;
998
1010
  return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
999
1011
  };
1000
- var vo = require("react/jsx-runtime");
1001
- var am = ({ type: e }) => Ct(e) ? (0, vo.jsx)(ka, { name: e }) : Dr(e) ? (0, vo.jsx)(Ia, { name: e }) : null;
1002
- function Po(e) {
1003
- return Dr(e) || Ct(e);
1012
+ var To = require("react/jsx-runtime");
1013
+ var Om = ({ type: e }) => Mt(e) ? (0, To.jsx)(Va, { name: e }) : Br(e) ? (0, To.jsx)(za, { name: e }) : null;
1014
+ function No(e) {
1015
+ return Br(e) || Mt(e);
1004
1016
  }
1005
- var Ke = am;
1006
- var Kt = require("react/jsx-runtime");
1007
- var Jt = ({ icon: e, image: t }) => {
1017
+ var Je = Om;
1018
+ var er = require("react/jsx-runtime");
1019
+ var lt = ({ icon: e, image: t }) => {
1008
1020
  if (e != null && e.name)
1009
- return (0, Kt.jsx)(Ft.Avatar, { type: Ft.AvatarType.ICON, children: (0, Kt.jsx)(Ke, { type: e.name }) });
1021
+ return (0, er.jsx)(kt.Avatar, { type: kt.AvatarType.ICON, children: (0, er.jsx)(Je, { type: e.name }) });
1010
1022
  if (e != null && e.text)
1011
- return (0, Kt.jsx)(Ft.Avatar, { type: Ft.AvatarType.INITIALS, children: e.text });
1023
+ return (0, er.jsx)(kt.Avatar, { type: kt.AvatarType.INITIALS, children: e.text });
1012
1024
  if (t != null && t.url) {
1013
1025
  let { url: r, text: o } = t;
1014
- return (0, Kt.jsx)("img", { src: r, alt: o });
1026
+ return (0, er.jsx)("img", { src: r, alt: o });
1015
1027
  }
1016
1028
  return null;
1017
1029
  };
1018
1030
  var U = (e) => {
1019
1031
  switch (e) {
1020
1032
  case "xs":
1021
- return "m-b-0";
1033
+ return "m-t-0";
1022
1034
  case "sm":
1023
- return "m-b-1";
1035
+ return "m-t-1";
1024
1036
  case "md":
1025
- return "m-b-2";
1037
+ return "m-t-2";
1026
1038
  case "lg":
1027
- return "m-b-3";
1039
+ return "m-t-3";
1028
1040
  case "xl":
1029
- return "m-b-5";
1041
+ return "m-t-5";
1030
1042
  default:
1031
1043
  return "";
1032
1044
  }
1033
1045
  };
1034
- var im = (e) => {
1046
+ var vm = (e) => {
1035
1047
  switch (e) {
1036
1048
  case "right":
1037
1049
  return "text-xs-right";
@@ -1042,13 +1054,13 @@ var require_main_min = __commonJS({
1042
1054
  return "";
1043
1055
  }
1044
1056
  };
1045
- var Ne = (e) => `${im(e.align)} ${U(e.margin)}`;
1046
- var Ra = require("react/jsx-runtime");
1047
- var sm = (e) => {
1057
+ var Ne = (e) => `${vm(e.align)} ${U(e.margin)}`;
1058
+ var $a = require("react/jsx-runtime");
1059
+ var Am = (e) => {
1048
1060
  let t = e.component;
1049
- return (0, Ra.jsx)(Ta.Alert, { type: cm(lm(t.context)), className: U(t.margin), message: t.markdown });
1061
+ return (0, $a.jsx)(Ga.Alert, { type: Mm(Pm(t.context)), className: U(t.margin), message: t.markdown });
1050
1062
  };
1051
- var lm = (e) => {
1063
+ var Pm = (e) => {
1052
1064
  switch (e) {
1053
1065
  case "success":
1054
1066
  return "positive";
@@ -1063,15 +1075,15 @@ var require_main_min = __commonJS({
1063
1075
  return e;
1064
1076
  }
1065
1077
  };
1066
- var cm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1067
- var se = sm;
1068
- var nt = require("react/jsx-runtime");
1069
- var mm = (e) => {
1078
+ var Mm = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1079
+ var se = Am;
1080
+ var ct = require("react/jsx-runtime");
1081
+ var km = (e) => {
1070
1082
  let t = e.component, r = U(t.margin || t.border ? "lg" : "xs");
1071
- return !t.width || t.width === "xl" ? (0, nt.jsx)("div", { className: r + Ba(t.border), children: (0, nt.jsx)(le, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, nt.jsx)("div", { className: "row", children: (0, nt.jsx)("div", { className: r + dm(t), children: (0, nt.jsx)("div", { className: Ba(t.border), children: (0, nt.jsx)(le, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1083
+ return !t.width || t.width === "xl" ? (0, ct.jsx)("div", { className: r + _a(t.border), children: (0, ct.jsx)(le, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, ct.jsx)("div", { className: "row", children: (0, ct.jsx)("div", { className: r + Em(t), children: (0, ct.jsx)("div", { className: _a(t.border), children: (0, ct.jsx)(le, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1072
1084
  };
1073
- var Ba = (e) => e ? " well p-b-0" : "";
1074
- var dm = (e) => {
1085
+ var _a = (e) => e ? " well p-b-0" : "";
1086
+ var Em = (e) => {
1075
1087
  switch (e.width) {
1076
1088
  case "xs":
1077
1089
  return " col-md-4 col-md-offset-4";
@@ -1086,21 +1098,21 @@ var require_main_min = __commonJS({
1086
1098
  return " col-xs-12";
1087
1099
  }
1088
1100
  };
1089
- var Ao = mm;
1090
- var za = require("@transferwise/components");
1091
- var um = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1092
- var ja = (e) => {
1101
+ var Ro = km;
1102
+ var Xa = require("@transferwise/components");
1103
+ var Im = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1104
+ var Wa = (e) => {
1093
1105
  var r;
1094
1106
  let t = e.action.type;
1095
- return (r = e.control) != null ? r : t ? um[t] : "secondary";
1107
+ return (r = e.control) != null ? r : t ? Im[t] : "secondary";
1096
1108
  };
1097
- var pm = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1098
- var Va = (e) => {
1109
+ var Dm = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1110
+ var Ka = (e) => {
1099
1111
  var o;
1100
- let t = e.action.type, r = (o = e.context) != null ? o : t ? pm[t] : "neutral";
1112
+ let t = e.action.type, r = (o = e.context) != null ? o : t ? Dm[t] : "neutral";
1101
1113
  return r === "neutral" ? "accent" : r;
1102
1114
  };
1103
- var Ua = (e) => {
1115
+ var Ja = (e) => {
1104
1116
  switch (e) {
1105
1117
  case "xs":
1106
1118
  case "sm":
@@ -1113,276 +1125,414 @@ var require_main_min = __commonJS({
1113
1125
  return "md";
1114
1126
  }
1115
1127
  };
1116
- var Ha = require("react/jsx-runtime");
1117
- var fm = (e) => {
1118
- var p;
1119
- let { component: t, onAction: r } = e, o = t.action, n = Va(t), a = ja(t), { loading: s } = hr(), c = U(t.margin || "md");
1120
- return (0, Ha.jsx)(za.Button, { size: Ua(t.size), type: n, priority: a, block: true, className: c, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (p = t.title) != null ? p : o.title });
1121
- };
1122
- var Mo = fm;
1123
- var at = require("react/jsx-runtime");
1124
- var ym = (e) => {
1125
- let t = e.component, { leftWidth: r, rightWidth: o } = hm(t.bias);
1126
- return (0, at.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, at.jsx)("div", { className: `${r} m-b-0`, children: (0, at.jsx)(le, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, at.jsx)("div", { className: `${o} m-b-0`, children: (0, at.jsx)(le, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1127
- };
1128
- var hm = (e) => e === "left" ? { leftWidth: "col-md-8", rightWidth: "col-md-4" } : e === "right" ? { leftWidth: "col-md-4", rightWidth: "col-md-8" } : { leftWidth: "col-md-6", rightWidth: "col-md-6" };
1129
- var ko = ym;
1130
- var Lr = require("@transferwise/components");
1131
- var Ir = require("react/jsx-runtime");
1132
- var gm = ({ component: e, onAction: t }) => (0, Ir.jsx)("div", { className: U(e.margin), children: (0, Ir.jsx)(Lr.NavigationOptionsList, { children: e.options.map((r) => (0, Ir.jsx)(Lr.NavigationOption, { title: r.title, content: r.description, disabled: r.disabled, media: Jt(r), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(r.action) }, JSON.stringify(r))) }) });
1133
- var Eo = gm;
1134
- var qa = require("react/jsx-runtime");
1135
- var bm = ({ component: e }) => {
1128
+ var Ya = require("react/jsx-runtime");
1129
+ var Lm = (e) => {
1130
+ var u;
1131
+ let { component: t, onAction: r } = e, o = t.action, n = Ka(t), a = Wa(t), { loading: s } = Fr(), c = U(t.margin || "md");
1132
+ return (0, Ya.jsx)(Xa.Button, { size: Ja(t.size), type: n, priority: a, block: true, className: c, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (u = t.title) != null ? u : o.title });
1133
+ };
1134
+ var Bo = Lm;
1135
+ var mt = require("react/jsx-runtime");
1136
+ var Tm = (e) => {
1137
+ let t = e.component, { leftWidth: r, rightWidth: o } = Nm(t.bias);
1138
+ return (0, mt.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, mt.jsx)("div", { className: `${r} m-b-0`, children: (0, mt.jsx)(le, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, mt.jsx)("div", { className: `${o} m-b-0`, children: (0, mt.jsx)(le, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1139
+ };
1140
+ var Nm = (e) => e === "left" ? { leftWidth: "col-md-8", rightWidth: "col-md-4" } : e === "right" ? { leftWidth: "col-md-4", rightWidth: "col-md-8" } : { leftWidth: "col-md-6", rightWidth: "col-md-6" };
1141
+ var Vo = Tm;
1142
+ var jr = require("@transferwise/components");
1143
+ var Vr = require("react/jsx-runtime");
1144
+ var Rm = ({ component: e, onAction: t }) => (0, Vr.jsx)("div", { className: U(e.margin), children: (0, Vr.jsx)(jr.NavigationOptionsList, { children: e.options.map((r) => (0, Vr.jsx)(jr.NavigationOption, { title: r.title, content: r.description, disabled: r.disabled, media: lt(r), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(r.action) }, JSON.stringify(r))) }) });
1145
+ var jo = Rm;
1146
+ var Za = require("react/jsx-runtime");
1147
+ var Bm = ({ component: e }) => {
1136
1148
  let r = `m-t-0 ${U(e.margin)}`;
1137
- return (0, qa.jsx)("hr", { className: r });
1138
- };
1139
- var Do = bm;
1140
- var xt = require("@transferwise/components");
1141
- var Nr = require("react");
1142
- var $a = require("react-intl");
1143
- var Ga = require("react-intl");
1144
- var _a = (0, Ga.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1145
- var Je = require("react/jsx-runtime");
1146
- var Sm = ({ component: e, onAction: t }) => {
1147
- let { requestUrl: r, responseHandlers: o, polling: n, retryTitle: a } = e, s = (0, $a.useIntl)(), c = (0, Nr.useCallback)(() => window.open(r, "df-external-window"), [r]);
1148
- (0, Nr.useEffect)(() => {
1149
+ return (0, Za.jsx)("hr", { className: r });
1150
+ };
1151
+ var Uo = Bm;
1152
+ var Et = require("@transferwise/components");
1153
+ var Ur = require("react");
1154
+ var ti = require("react-intl");
1155
+ var Qa = require("react-intl");
1156
+ var ei = (0, Qa.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1157
+ var Xe = require("react/jsx-runtime");
1158
+ var Vm = ({ component: e, onAction: t }) => {
1159
+ let { requestUrl: r, responseHandlers: o, polling: n, retryTitle: a } = e, s = (0, ti.useIntl)(), c = (0, Ur.useCallback)(() => window.open(r, "df-external-window"), [r]);
1160
+ (0, Ur.useEffect)(() => {
1149
1161
  c();
1150
1162
  }, [c]);
1151
- let p = n && o ? S(i({}, n), { responseHandlers: o }) : void 0;
1152
- return Oa(p, t), (0, Je.jsxs)(Je.Fragment, { children: [(0, Je.jsx)(xt.Loader, { size: xt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Je.jsx)("br", {}), (0, Je.jsx)(xt.Button, { priority: "tertiary", block: true, onClick: c, children: a || s.formatMessage(_a.retryTitle) })] });
1153
- };
1154
- var Io = Sm;
1155
- var rs = require("react");
1156
- var Wa = He(ot());
1157
- var Ka = require("react");
1158
- var Pe = require("react/jsx-runtime");
1159
- var wm = (e, t) => t.map((r) => ie(e, r) || {});
1160
- var Cm = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1161
- var Fm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1162
- var Ja = (e) => {
1163
+ let u = n && o ? b(i({}, n), { responseHandlers: o }) : void 0;
1164
+ return La(u, t), (0, Xe.jsxs)(Xe.Fragment, { children: [(0, Xe.jsx)(Et.Loader, { size: Et.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Xe.jsx)("br", {}), (0, Xe.jsx)(Et.Button, { priority: "tertiary", block: true, onClick: c, children: a || s.formatMessage(ei.retryTitle) })] });
1165
+ };
1166
+ var zo = Vm;
1167
+ var ws = require("react");
1168
+ var ri = qe(st());
1169
+ var oi = require("react");
1170
+ var ke = require("react/jsx-runtime");
1171
+ var jm = (e, t) => t.map((r) => ie(e, r) || {});
1172
+ var Um = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1173
+ var zm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1174
+ var ni = (e) => {
1163
1175
  let t = (n, a) => {
1164
1176
  let s = e.schema.allOf[n];
1165
- r[n] = ie(a.model, s) || {}, o(r), e.onChange(S(i({}, a), { model: Cm(r) }));
1166
- }, [r, o] = (0, Ka.useState)(wm(e.model, e.schema.allOf));
1167
- return (0, Pe.jsxs)(Pe.Fragment, { children: [e.schema.title && (0, Pe.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, Pe.jsx)("p", { children: e.schema.description }), (0, Pe.jsx)("div", { className: "row", children: e.schema.allOf.map((n, a) => (0, Pe.jsx)("div", { className: (0, Wa.default)(Fm(n.width)), children: (0, Pe.jsx)(ue, { schema: n, model: r[a], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(a, S(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, a)) })] });
1168
- };
1169
- Ja.defaultProps = { disabled: false };
1170
- var Lo = Ja;
1171
- var Rr = require("@transferwise/components");
1172
- var ci = He(ot());
1173
- var Xt = require("react");
1174
- var Tr = require("@transferwise/components");
1175
- var No = require("@transferwise/formatting");
1176
- var Ya = require("react-intl");
1177
- var Xa = require("react-intl");
1178
- var ye = (0, Xa.defineMessages)({ type: { id: "dynamicFlows.ControlFeedback.type", defaultMessage: "Incorrect type", description: "" }, minimum: { id: "dynamicFlows.ControlFeedback.minimum", defaultMessage: "Please enter a number that's {minimum} or more.", description: "" }, maximum: { id: "dynamicFlows.ControlFeedback.maximum", defaultMessage: "Please enter a number that's {maximum} or less.", description: "" }, minLength: { id: "dynamicFlows.ControlFeedback.minLength", defaultMessage: "Please enter at least {minLength} characters.", description: "" }, maxLength: { id: "dynamicFlows.ControlFeedback.maxLength", defaultMessage: "Please enter {maxLength} or fewer characters.", description: "" }, minimumDate: { id: "dynamicFlows.ControlFeedback.minimumDate", defaultMessage: "Please enter a date that's on or after {minimum}.", description: "" }, maximumDate: { id: "dynamicFlows.ControlFeedback.maximumDate", defaultMessage: "Please enter a date that's on or before {maximum}.", description: "" }, pattern: { id: "dynamicFlows.ControlFeedback.pattern", defaultMessage: "Please enter this in the correct format.", description: "" }, patternDate: { id: "dynamicFlows.ControlFeedback.patternDate", defaultMessage: "Please enter a date in the corrrect format.", description: "" }, required: { id: "dynamicFlows.ControlFeedback.required", defaultMessage: "Please fill out this field.", description: "" } });
1179
- var Te = require("react/jsx-runtime");
1180
- var Za = (e) => {
1177
+ r[n] = ie(a.model, s) || {}, o(r), e.onChange(b(i({}, a), { model: Um(r) }));
1178
+ }, [r, o] = (0, oi.useState)(jm(e.model, e.schema.allOf));
1179
+ return (0, ke.jsxs)(ke.Fragment, { children: [e.schema.title && (0, ke.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, ke.jsx)("p", { children: e.schema.description }), (0, ke.jsx)("div", { className: "row", children: e.schema.allOf.map((n, a) => (0, ke.jsx)("div", { className: (0, ri.default)(zm(n.width)), children: (0, ke.jsx)(ue, { schema: n, model: r[a], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(a, b(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, a)) })] });
1180
+ };
1181
+ ni.defaultProps = { disabled: false };
1182
+ var Ho = ni;
1183
+ var Hr = require("@transferwise/components");
1184
+ var Si = qe(st());
1185
+ var tr = require("react");
1186
+ var zr = require("@transferwise/components");
1187
+ var qo = require("@transferwise/formatting");
1188
+ var ii = require("react-intl");
1189
+ var ai = require("react-intl");
1190
+ var he = (0, ai.defineMessages)({ type: { id: "dynamicFlows.ControlFeedback.type", defaultMessage: "Incorrect type", description: "" }, minimum: { id: "dynamicFlows.ControlFeedback.minimum", defaultMessage: "Please enter a number that's {minimum} or more.", description: "" }, maximum: { id: "dynamicFlows.ControlFeedback.maximum", defaultMessage: "Please enter a number that's {maximum} or less.", description: "" }, minLength: { id: "dynamicFlows.ControlFeedback.minLength", defaultMessage: "Please enter at least {minLength} characters.", description: "" }, maxLength: { id: "dynamicFlows.ControlFeedback.maxLength", defaultMessage: "Please enter {maxLength} or fewer characters.", description: "" }, minimumDate: { id: "dynamicFlows.ControlFeedback.minimumDate", defaultMessage: "Please enter a date that's on or after {minimum}.", description: "" }, maximumDate: { id: "dynamicFlows.ControlFeedback.maximumDate", defaultMessage: "Please enter a date that's on or before {maximum}.", description: "" }, pattern: { id: "dynamicFlows.ControlFeedback.pattern", defaultMessage: "Please enter this in the correct format.", description: "" }, patternDate: { id: "dynamicFlows.ControlFeedback.patternDate", defaultMessage: "Please enter a date in the corrrect format.", description: "" }, required: { id: "dynamicFlows.ControlFeedback.required", defaultMessage: "Please fill out this field.", description: "" } });
1191
+ var Re = require("react/jsx-runtime");
1192
+ var si = (e) => {
1181
1193
  var c;
1182
- let t = xm(e.schema), r = i(i(i({}, t), e.validationMessages), e.schema.validationMessages), o = (e.submitted || !e.changed) && !!e.errors, n = !o && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), a = e.focused && e.schema.description && !n, s = !!e.infoMessage;
1183
- return (0, Te.jsxs)("div", { children: [o ? (0, Te.jsx)(Tr.InlineAlert, { type: "error", children: e.errors }) : null, n ? (0, Te.jsx)(Tr.InlineAlert, { type: "error", children: e.validations.map((p) => (0, Te.jsx)("div", { children: r[p] }, p)) }) : null, (a || s) && (0, Te.jsxs)(Tr.InlineAlert, { type: "info", children: [a && (0, Te.jsx)("div", { children: e.schema.description }), s && (0, Te.jsx)("div", { children: e.infoMessage })] })] });
1194
+ let t = Hm(e.schema), r = i(i(i({}, t), e.validationMessages), e.schema.validationMessages), o = (e.submitted || !e.changed) && !!e.errors, n = !o && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), a = e.focused && e.schema.description && !n, s = !!e.infoMessage;
1195
+ return (0, Re.jsxs)("div", { children: [o ? (0, Re.jsx)(zr.InlineAlert, { type: "error", children: e.errors }) : null, n ? (0, Re.jsx)(zr.InlineAlert, { type: "error", children: e.validations.map((u) => (0, Re.jsx)("div", { children: r[u] }, u)) }) : null, (a || s) && (0, Re.jsxs)(zr.InlineAlert, { type: "info", children: [a && (0, Re.jsx)("div", { children: e.schema.description }), s && (0, Re.jsx)("div", { children: e.infoMessage })] })] });
1184
1196
  };
1185
- Za.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1186
- function xm(e) {
1187
- let { formatMessage: t, locale: r } = (0, Ya.useIntl)(), o = { type: t(ye.type), minimum: t(ye.minimum, { minimum: e.minimum }), maximum: t(ye.maximum, { maximum: e.maximum }), minLength: t(ye.minLength, { minLength: e.minLength }), maxLength: t(ye.maxLength, { maxLength: e.maxLength }), pattern: t(ye.pattern), required: t(ye.required) };
1197
+ si.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1198
+ function Hm(e) {
1199
+ let { formatMessage: t, locale: r } = (0, ii.useIntl)(), o = { type: t(he.type), minimum: t(he.minimum, { minimum: e.minimum }), maximum: t(he.maximum, { maximum: e.maximum }), minLength: t(he.minLength, { minLength: e.minLength }), maxLength: t(he.maxLength, { maxLength: e.maxLength }), pattern: t(he.pattern), required: t(he.required) };
1188
1200
  if (e.format === "date") {
1189
- let n = { pattern: t(ye.patternDate), minimum: e.minimum ? t(ye.minimumDate, { minimum: (0, No.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(ye.maximumDate, { maximum: (0, No.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1201
+ let n = { pattern: t(he.patternDate), minimum: e.minimum ? t(he.minimumDate, { minimum: (0, qo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(he.maximumDate, { maximum: (0, qo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1190
1202
  return i(i({}, o), n);
1191
1203
  }
1192
1204
  return o;
1193
1205
  }
1194
- var Re = Za;
1195
- async function Qa(e, t) {
1206
+ var Be = si;
1207
+ async function li(e, t) {
1196
1208
  if (t)
1197
1209
  return e;
1198
1210
  if (e instanceof Blob)
1199
- return fa(e);
1211
+ return Oa(e);
1200
1212
  throw new Error("Error creating payload for MultipleFileUploadSchema. Uploaded file is not an instance of Blob.");
1201
1213
  }
1202
- function ei(e) {
1214
+ function ci(e) {
1203
1215
  let t = e.data;
1204
1216
  return i({ id: t }, e);
1205
1217
  }
1206
- function ti(e) {
1218
+ function mi(e) {
1207
1219
  let t = e instanceof Error;
1208
- if (!(T(e) && "data" in e) && !t)
1209
- return D(e) ? e : void 0;
1220
+ if (!(L(e) && "data" in e) && !t)
1221
+ return E(e) ? e : void 0;
1210
1222
  if (t) {
1211
1223
  let n = e;
1212
- return { id: ve(), message: n.message };
1224
+ return { id: Me(), message: n.message };
1213
1225
  } else
1214
- return i({ message: D(e.message) ? e.message : "" }, e);
1215
- }
1216
- var ii = require("react-intl");
1217
- var ri = require("react-intl");
1218
- var oi = (0, ri.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1219
- var ni = require("react-intl");
1220
- var ai = (0, ni.defineMessages)({ minItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.minItemsError", defaultMessage: "Please upload at least {minItems} file(s).", description: "Customer has uploaded not enough files. To fix: upload more files." }, maxItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.maxItemsError", defaultMessage: "Please upload {maxItems} or fewer files.", description: "Customer has uploaded too many files. To fix: upload fewer files." }, maxFileSizeError: { id: "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError", defaultMessage: "Sorry, that file is too big. Please upload a smaller file.", description: "Customer has uploaded a file that's too big. To fix: upload a smaller file." } });
1221
- function si({ maxItems: e, minItems: t }) {
1222
- let { formatMessage: r } = (0, ii.useIntl)(), { maxFileSizeError: o, maxItemsError: n, minItemsError: a } = ai;
1223
- return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(n, { maxItems: e }), minItemsErrorMessage: r(a, { minItems: t }), requiredMessage: r(oi.required) };
1224
- }
1225
- var Ot = require("react/jsx-runtime");
1226
- var mi = (e) => {
1227
- var w, I;
1228
- let { onChange: t, schema: r } = e, o = Q(), n = si(r), a = (0, Xt.useMemo)(() => r.$id || ve(), [r.$id]), [s, c] = (0, Xt.useState)(false), [p, m] = (0, Xt.useState)(() => Om(e.model || [])), d = di(r.items.persistAsync), h = r.items.persistAsync.schema, f = wt(h), l = async (N) => {
1226
+ return i({ message: E(e.message) ? e.message : "" }, e);
1227
+ }
1228
+ var yi = require("react-intl");
1229
+ var di = require("react-intl");
1230
+ var ui = (0, di.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1231
+ var pi = require("react-intl");
1232
+ var fi = (0, pi.defineMessages)({ minItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.minItemsError", defaultMessage: "Please upload at least {minItems} file(s).", description: "Customer has uploaded not enough files. To fix: upload more files." }, maxItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.maxItemsError", defaultMessage: "Please upload {maxItems} or fewer files.", description: "Customer has uploaded too many files. To fix: upload fewer files." }, maxFileSizeError: { id: "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError", defaultMessage: "Sorry, that file is too big. Please upload a smaller file.", description: "Customer has uploaded a file that's too big. To fix: upload a smaller file." } });
1233
+ function hi({ maxItems: e, minItems: t }) {
1234
+ let { formatMessage: r } = (0, yi.useIntl)(), { maxFileSizeError: o, maxItemsError: n, minItemsError: a } = fi;
1235
+ return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(n, { maxItems: e }), minItemsErrorMessage: r(a, { minItems: t }), requiredMessage: r(ui.required) };
1236
+ }
1237
+ var It = require("react/jsx-runtime");
1238
+ var bi = (e) => {
1239
+ var C, D;
1240
+ let { onChange: t, schema: r } = e, o = Q(), n = hi(r), a = (0, tr.useMemo)(() => r.$id || Me(), [r.$id]), [s, c] = (0, tr.useState)(false), [u, m] = (0, tr.useState)(() => qm(e.model || [])), d = wi(r.items.persistAsync), g = r.items.persistAsync.schema, f = Pt(g), l = async (T) => {
1229
1241
  c(true);
1230
1242
  try {
1231
- let A = await Qa(N, f);
1243
+ let P = await li(T, f);
1232
1244
  o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: r.$id });
1233
- let L = await d(A);
1234
- return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), ei(L);
1235
- } catch (A) {
1236
- return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(ti(A));
1245
+ let N = await d(P);
1246
+ return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), ci(N);
1247
+ } catch (P) {
1248
+ return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(mi(P));
1237
1249
  }
1238
1250
  };
1239
- function u(N) {
1240
- if (ya(N, p))
1251
+ function p(T) {
1252
+ if (va(T, u))
1241
1253
  return;
1242
- m(N);
1243
- let L = li(N).map((G) => G.id);
1244
- t({ model: L, triggerSchema: r, triggerModel: L });
1254
+ m(T);
1255
+ let N = gi(T).map((G) => G.id);
1256
+ t({ model: N, triggerSchema: r, triggerModel: N });
1245
1257
  }
1246
- let g = li(p).map((N) => N.id), b = St(g, r, e.required), x = !!e.errors || (s || e.submitted) && !!b.length, F = "accepts" in h && h.accepts, v = "maxSize" in h && h.maxSize, P = S(i(i({ multiple: true, className: "form-control", files: p, fileInputName: a, id: a }, F ? { fileTypes: F } : void 0), v ? { sizeLimit: Pr(v) } : void 0), { sizeLimitErrorMessage: ((w = h.validationMessages) == null ? void 0 : w.maxSize) || n.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((I = e.schema.validationMessages) == null ? void 0 : I.maxItems) || n.maxItemsErrorMessage, uploadButtonTitle: h.title, description: h.description, disabled: e.disabled, onUploadFile: (N) => l(N.get(a)), onFilesChange: u, onDeleteFile: () => Promise.resolve() });
1247
- return (0, Ot.jsxs)("div", { className: (0, ci.default)("form-group", { "has-error": x }), children: [(0, Ot.jsx)("label", { className: "d-block control-label", htmlFor: a, children: e.schema.title }), (0, Ot.jsx)(Rr.UploadInput, i({}, P)), (0, Ot.jsx)(Re, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: Pm(r, !!e.required, n), infoMessage: null, focused: false, blurred: true })] });
1258
+ let S = gi(u).map((T) => T.id), h = At(S, r, e.required), F = !!e.errors || (s || e.submitted) && !!h.length, w = "accepts" in g && g.accepts, v = "maxSize" in g && g.maxSize, A = b(i(i({ multiple: true, className: "form-control", files: u, fileInputName: a, id: a }, w ? { fileTypes: w } : void 0), v ? { sizeLimit: Ir(v) } : void 0), { sizeLimitErrorMessage: ((C = g.validationMessages) == null ? void 0 : C.maxSize) || n.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((D = e.schema.validationMessages) == null ? void 0 : D.maxItems) || n.maxItemsErrorMessage, uploadButtonTitle: g.title, description: g.description, disabled: e.disabled, onUploadFile: (T) => l(T.get(a)), onFilesChange: p, onDeleteFile: () => Promise.resolve() });
1259
+ return (0, It.jsxs)("div", { className: (0, Si.default)("form-group", { "has-error": F }), children: [(0, It.jsx)("label", { className: "d-block control-label", htmlFor: a, children: e.schema.title }), (0, It.jsx)(Hr.UploadInput, i({}, A)), (0, It.jsx)(Be, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: h, validationMessages: $m(r, !!e.required, n), infoMessage: null, focused: false, blurred: true })] });
1248
1260
  };
1249
- mi.defaultProps = { errors: null, required: false };
1250
- var To = mi;
1251
- function li(e) {
1261
+ bi.defaultProps = { errors: null, required: false };
1262
+ var Go = bi;
1263
+ function gi(e) {
1252
1264
  return e.filter((t) => !t.error && t.status === "succeeded");
1253
1265
  }
1254
- function Om(e) {
1255
- return e.map((t) => vm(t) ? { id: t, status: Rr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1266
+ function qm(e) {
1267
+ return e.map((t) => Gm(t) ? { id: t, status: Hr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1256
1268
  }
1257
- function vm(e) {
1258
- return R(e) || D(e);
1269
+ function Gm(e) {
1270
+ return R(e) || E(e);
1259
1271
  }
1260
- function Pm(e, t, r) {
1272
+ function $m(e, t, r) {
1261
1273
  let { minItems: o, maxItems: n } = e;
1262
1274
  return i(i(i({}, t && { required: r.requiredMessage }), o && { minItems: r.minItemsErrorMessage }), n && { maxItems: r.maxItemsErrorMessage });
1263
1275
  }
1264
- var fi = require("react/jsx-runtime");
1265
- var ui = (e) => {
1266
- let { schema: t } = e;
1267
- if (ga(t))
1268
- return (0, fi.jsx)(To, S(i({}, e), { schema: t }));
1269
- throw new Error("Not implemented");
1276
+ var Lt = require("@transferwise/components");
1277
+ var ki = require("@transferwise/icons");
1278
+ var $r = require("react");
1279
+ var Ei = require("react-intl");
1280
+ var Fi = require("@transferwise/components");
1281
+ var xi = require("react/jsx-runtime");
1282
+ var Ci = ({ item: e, onClick: t }) => (0, xi.jsx)(Fi.NavigationOption, { onClick: t, media: lt(e), title: e.title, content: e.description });
1283
+ var Oi = require("react-intl");
1284
+ var dt = (0, Oi.defineMessages)({ addItemTitle: { id: "dynamicFlows.ArraySchema.addItemTitle", defaultMessage: "Add Item", description: "Label on the button used to open a form to add an item" }, addItem: { id: "dynamicFlows.ArraySchema.addItem", defaultMessage: "Save", description: "Label on the add button used to submit a form that adds an item" }, editItem: { id: "dynamicFlows.ArraySchema.editItem", defaultMessage: "Save", description: "Label on the edit button used to submit a form that edits an item" }, removeItem: { id: "dynamicFlows.ArraySchema.removeItem", defaultMessage: "Remove", description: "Label on the remove button used to confirm deletion of an item" } });
1285
+ var vi = require("react-intl");
1286
+ var Pi = require("react/jsx-runtime");
1287
+ var _m = ({ type: e, schema: t, model: r, errors: o, submitted: n, onModelChange: a, onAction: s }) => {
1288
+ let { formatMessage: c } = (0, vi.useIntl)(), u = { layout: [{ type: "form", schema: t.items }, { type: "button", control: "primary", action: { url: e, title: c(e === "add" ? dt.addItem : dt.editItem) } }, { type: "button", context: "negative", action: { url: "remove", title: c(dt.removeItem) } }], title: "", actions: [], schemas: [] };
1289
+ return (0, Pi.jsx)(qr, { step: u, model: r, stepLayoutOptions: { displayStepTitle: false }, submitted: n, formErrors: o, globalError: null, onAction: (m) => {
1290
+ s(m.url);
1291
+ }, onModelChange: a });
1292
+ };
1293
+ var Ai = _m;
1294
+ var Gr = (e, t) => {
1295
+ let r = rr(e, t);
1296
+ if (r >= 0)
1297
+ return r;
1298
+ if (e.oneOf.length === 1 && Jt(e.oneOf[0]))
1299
+ return 0;
1300
+ if (ye(e.oneOf[0])) {
1301
+ let o = rr(e, e.default);
1302
+ if (o >= 0)
1303
+ return o;
1304
+ }
1305
+ return at(e) && $(t) && Object.keys(t).length >= 1 ? Dt(e, t) : at(e) && !J(e.default) && $(e.default) && Object.keys(e.default).length >= 1 ? Dt(e, e.default) : null;
1306
+ };
1307
+ var rr = (e, t) => e.oneOf.findIndex((r) => !J(t) && _(t, r));
1308
+ function Dt(e, t) {
1309
+ if (t == null)
1310
+ return null;
1311
+ let r = e.oneOf.map((o) => Wm(o).reduce((n, [a, s]) => ye(s) && s.const === t[a] ? n + 2 : Jt(s) && typeof t[a] != "undefined" ? n + 1 : n, 0));
1312
+ return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
1313
+ }
1314
+ function Wm(e) {
1315
+ return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
1316
+ }
1317
+ var $o = (e, t, r = {}) => {
1318
+ let { defaultTitle: o = "", defaultDescription: n = "", defaultIcon: a, defaultImage: s } = r, c = Ye({ schema: e, model: t, providesProp: "providesTitle", getValueFromSchema: Mi }), u = Ye({ schema: e, model: t, providesProp: "providesDescription", getValueFromSchema: Mi }), m = Ye({ schema: e, model: t, providesProp: "providesIcon", getValueFromSchema: (g) => {
1319
+ var f;
1320
+ return (f = g.icon) != null ? f : null;
1321
+ } }), d = Ye({ schema: e, model: t, providesProp: "providesImage", getValueFromSchema: (g) => {
1322
+ var f;
1323
+ return (f = g.image) != null ? f : null;
1324
+ } });
1325
+ return { value: t, title: c || o, description: u || n, icon: m || a, image: d || s };
1326
+ };
1327
+ var Ye = (e) => {
1328
+ let { schema: t, model: r, providesProp: o, getValueFromSchema: n } = e;
1329
+ if (Ym(t.summary, o))
1330
+ return n(t, r);
1331
+ switch (it(t)) {
1332
+ case "object":
1333
+ return Km(e);
1334
+ case "oneOf":
1335
+ return Jm(e);
1336
+ case "allOf":
1337
+ return Xm(e);
1338
+ default:
1339
+ return null;
1340
+ }
1341
+ };
1342
+ var Km = (e) => {
1343
+ let { schema: t, model: r } = e, o = t;
1344
+ for (let n in o.properties) {
1345
+ let a = o.properties[n], s = $(r) && n in r ? r[n] : null, c = Ye(b(i({}, e), { schema: a, model: s }));
1346
+ if (c)
1347
+ return c;
1348
+ }
1349
+ return null;
1350
+ };
1351
+ var Jm = (e) => {
1352
+ let { schema: t, model: r } = e;
1353
+ if (at(t)) {
1354
+ if (!$(r))
1355
+ return null;
1356
+ let a = Dt(t, r);
1357
+ if (a === null || a < 0)
1358
+ return null;
1359
+ let s = t.oneOf[a];
1360
+ return Ye(b(i({}, e), { schema: s }));
1361
+ }
1362
+ let o = t, n = Gr(o, r);
1363
+ return n === null || n < 0 ? null : Ye(b(i({}, e), { schema: o.oneOf[n] }));
1364
+ };
1365
+ var Xm = (e) => {
1366
+ let { schema: t } = e, r = t;
1367
+ for (let o of r.allOf) {
1368
+ let n = Ye(b(i({}, e), { schema: o }));
1369
+ if (n)
1370
+ return n;
1371
+ }
1372
+ return null;
1373
+ };
1374
+ var Mi = (e, t) => ye(e) ? e.title ? e.title : E(e.const) ? e.const : null : Tr(t) ? t : null;
1375
+ var Ym = (e, t) => !!e && Object.hasOwnProperty.call(e, t) && !!e[t];
1376
+ var ge = require("react/jsx-runtime");
1377
+ var Zm = ({ schema: e, model: t, errors: r, submitted: o, onChange: n }) => {
1378
+ let [a, s] = (0, $r.useState)(null), [c, u] = (0, $r.useState)(() => {
1379
+ if (L(t) && !z(t))
1380
+ throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");
1381
+ return t ? t.map((h) => $o(e.items, h, e == null ? void 0 : e.summary)) : null;
1382
+ }), [m, d] = (0, $r.useState)({ item: null, model: null }), g = (h) => {
1383
+ let F = h ? h.map(({ value: w }) => w) : null;
1384
+ n({ model: F, triggerSchema: e.items, triggerModel: F });
1385
+ }, f = () => {
1386
+ s("add");
1387
+ }, l = (h) => {
1388
+ d({ item: h, model: h.value }), s("edit");
1389
+ }, p = (h) => {
1390
+ let F = h === "remove" ? null : $o(e.items, m.model, e == null ? void 0 : e.summary), w = Qm(h, { originalItem: m.item, updatedItem: F, itemSummaries: c });
1391
+ u(w), g(w), d({ item: null, model: null }), s(null);
1392
+ }, y = () => {
1393
+ d({ item: null, model: null }), s(null);
1394
+ }, { formatMessage: S } = (0, Ei.useIntl)();
1395
+ return (0, ge.jsxs)(ge.Fragment, { children: [e.title && (0, ge.jsx)(Lt.Header, { title: e.title }), c && c.map((h) => (0, ge.jsx)(Ci, { item: h, onClick: () => l(h) }, JSON.stringify(h))), (0, ge.jsx)(Lt.NavigationOption, { onClick: f, media: (0, ge.jsx)(ki.Plus, {}), title: e.addItemTitle || S(dt.addItemTitle) }), (0, ge.jsx)(Lt.Modal, { open: a !== null, onClose: y, title: (a === "add" ? e.addItemTitle : e.editItemTitle) || S(dt.addItemTitle), body: (0, ge.jsx)(Ai, { type: a != null ? a : "add", schema: e, model: m.model, errors: r, submitted: o, onAction: p, onModelChange: ({ model: h }) => d(b(i({}, m), { model: h })) }) })] });
1396
+ };
1397
+ var Qm = (e, { originalItem: t, updatedItem: r, itemSummaries: o }) => {
1398
+ if (e === "remove")
1399
+ return (o || []).filter((n) => n !== t);
1400
+ if (!r)
1401
+ return o;
1402
+ switch (e) {
1403
+ case "add":
1404
+ return [...o || [], r];
1405
+ case "edit":
1406
+ return (o || []).map((n) => n === t ? r : n);
1407
+ default:
1408
+ return null;
1409
+ }
1270
1410
  };
1271
- ui.defaultProps = { errors: null, required: false };
1272
- var pi = ui;
1273
- var hi = require("react/jsx-runtime");
1274
- var yi = (e) => {
1411
+ var Ii = Zm;
1412
+ var _o = require("react/jsx-runtime");
1413
+ var Di = (e) => {
1414
+ let { schema: t } = e;
1415
+ if (Pa(t))
1416
+ return (0, _o.jsx)(Go, b(i({}, e), { schema: t }));
1417
+ if (Ae(t))
1418
+ return (0, _o.jsx)(Ii, b(i({}, e), { schema: t }));
1419
+ throw new Error("Invalid array list schema");
1420
+ };
1421
+ Di.defaultProps = { errors: null, required: false };
1422
+ var Li = Di;
1423
+ var Ni = require("react/jsx-runtime");
1424
+ var Ti = (e) => {
1275
1425
  let { schema: t } = e;
1276
- if (Ge(t))
1277
- return (0, hi.jsx)(pi, i({}, e));
1426
+ if (Ae(t))
1427
+ return (0, Ni.jsx)(Li, i({}, e));
1278
1428
  throw new Error("Not implemented");
1279
1429
  };
1280
- yi.defaultProps = { required: false };
1281
- var Ro = yi;
1282
- var gi = He(ot());
1283
- var Br = require("react");
1284
- var Be = require("react/jsx-runtime");
1285
- var Am = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1286
- var bi = (e) => {
1287
- let [t, r] = (0, Br.useState)(() => i({}, ie(e.model, e.schema))), o = (m, d) => {
1288
- d.model !== null ? t[m] = d.model : delete t[m], r(t), e.onChange(S(i({}, d), { model: t }));
1430
+ Ti.defaultProps = { required: false };
1431
+ var Wo = Ti;
1432
+ var Ri = qe(st());
1433
+ var _r = require("react");
1434
+ var Ve = require("react/jsx-runtime");
1435
+ var ed = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1436
+ var Bi = (e) => {
1437
+ let [t, r] = (0, _r.useState)(() => i({}, ie(e.model, e.schema))), o = (m, d) => {
1438
+ d.model !== null ? t[m] = d.model : delete t[m], r(t), e.onChange(b(i({}, d), { model: t }));
1289
1439
  }, n = (m) => e.schema.required && e.schema.required.includes(m);
1290
- (0, Br.useEffect)(() => {
1440
+ (0, _r.useEffect)(() => {
1291
1441
  let m = ie(t, e.schema) || {};
1292
- r(m), We(m, t) || e.onChange({ model: m, triggerSchema: e.schema, triggerModel: m });
1442
+ r(m), Ke(m, t) || e.onChange({ model: m, triggerSchema: e.schema, triggerModel: m });
1293
1443
  }, [e.schema]);
1294
- let a = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (m) => typeof e.schema.properties[m] != "undefined", c = Array.from(a).filter(s), p = e.errors;
1295
- return (0, Be.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Be.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Be.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Be.jsx)(se, { component: e.schema.alert }), (0, Be.jsx)("div", { className: "row", children: c.map((m) => (0, Be.jsx)("div", { className: (0, gi.default)(Am(e.schema.properties[m].width)), children: (0, Be.jsx)(ue, { schema: e.schema.properties[m], model: e.model && e.model[m], errors: p && p[m], submitted: e.submitted, required: n(m), disabled: e.disabled, onChange: (d) => o(m, d), onPersistAsync: e.onPersistAsync }) }, m)) })] });
1296
- };
1297
- bi.defaultProps = { hideTitle: false, disabled: false };
1298
- var Yt = bi;
1299
- var Li = He(ot());
1300
- var Ae = require("react");
1301
- var jr = require("@transferwise/components");
1302
- var Ci = require("react-intl");
1303
- var Si = require("react-intl");
1304
- var wi = (0, Si.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1305
- var Bo = require("react/jsx-runtime");
1306
- var Mm = (e) => {
1307
- let t = (0, Ci.useIntl)();
1308
- return (0, Bo.jsx)(jr.Info, { className: "m-l-1", content: (0, Bo.jsx)(jr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(wi.helpAria) });
1309
- };
1310
- var je = Mm;
1311
- var ki = require("react");
1312
- var $ = require("@transferwise/components");
1313
- var vi = require("react");
1314
- var vt = (e, t = {}) => {
1444
+ let a = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (m) => typeof e.schema.properties[m] != "undefined", c = Array.from(a).filter(s), u = e.errors;
1445
+ return (0, Ve.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Ve.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Ve.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Ve.jsx)(se, { component: e.schema.alert }), (0, Ve.jsx)("div", { className: "row", children: c.map((m) => (0, Ve.jsx)("div", { className: (0, Ri.default)(ed(e.schema.properties[m].width)), children: (0, Ve.jsx)(ue, { schema: e.schema.properties[m], model: e.model && e.model[m], errors: u && u[m], submitted: e.submitted, required: n(m), disabled: e.disabled, onChange: (d) => o(m, d), onPersistAsync: e.onPersistAsync }) }, m)) })] });
1446
+ };
1447
+ Bi.defaultProps = { hideTitle: false, disabled: false };
1448
+ var or = Bi;
1449
+ var Yi = qe(st());
1450
+ var Ee = require("react");
1451
+ var Wr = require("@transferwise/components");
1452
+ var Ui = require("react-intl");
1453
+ var Vi = require("react-intl");
1454
+ var ji = (0, Vi.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1455
+ var Ko = require("react/jsx-runtime");
1456
+ var td = (e) => {
1457
+ let t = (0, Ui.useIntl)();
1458
+ return (0, Ko.jsx)(Wr.Info, { className: "m-l-1", content: (0, Ko.jsx)(Wr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(ji.helpAria) });
1459
+ };
1460
+ var je = td;
1461
+ var Ki = require("react");
1462
+ var W = require("@transferwise/components");
1463
+ var Gi = require("react");
1464
+ var Tt = (e, t = {}) => {
1315
1465
  let { coerceValue: r = false } = t;
1316
1466
  if (!M(e)) {
1317
- if (T(e)) {
1318
- it({ received: "object", expected: "string" });
1467
+ if (L(e)) {
1468
+ ut({ received: "object", expected: "string" });
1319
1469
  return;
1320
1470
  }
1321
- if (!D(e)) {
1471
+ if (!E(e)) {
1322
1472
  if (r)
1323
- return Vo({ received: typeof e, expected: "string" }), String(e);
1324
- it({ received: typeof e, expected: "string" });
1473
+ return Xo({ received: typeof e, expected: "string" }), String(e);
1474
+ ut({ received: typeof e, expected: "string" });
1325
1475
  return;
1326
1476
  }
1327
1477
  return e;
1328
1478
  }
1329
1479
  };
1330
- var jo = (e, t = {}) => {
1480
+ var Jo = (e, t = {}) => {
1331
1481
  let { coerceValue: r = false } = t;
1332
1482
  if (M(e))
1333
1483
  return;
1334
1484
  if (R(e))
1335
1485
  return e;
1336
1486
  let o = { received: typeof e, expected: "string or number" };
1337
- if (T(e)) {
1338
- it(o);
1487
+ if (L(e)) {
1488
+ ut(o);
1339
1489
  return;
1340
1490
  }
1341
- if (!D(e)) {
1491
+ if (!E(e)) {
1342
1492
  if (r)
1343
- return Vo(o), String(e);
1344
- it(o);
1493
+ return Xo(o), String(e);
1494
+ ut(o);
1345
1495
  return;
1346
1496
  }
1347
1497
  return e;
1348
1498
  };
1349
- var Fi = (e, t = {}) => {
1499
+ var zi = (e, t = {}) => {
1350
1500
  let { coerceValue: r = false } = t;
1351
1501
  if (M(e))
1352
1502
  return false;
1353
- if (!xe(e)) {
1503
+ if (!ve(e)) {
1354
1504
  if (r)
1355
- return Vo({ received: typeof e, expected: "boolean" }), !!e;
1356
- it({ received: typeof e, expected: "boolean" });
1505
+ return Xo({ received: typeof e, expected: "boolean" }), !!e;
1506
+ ut({ received: typeof e, expected: "boolean" });
1357
1507
  return;
1358
1508
  }
1359
1509
  return e;
1360
1510
  };
1361
- var xi = (e) => {
1511
+ var Hi = (e) => {
1362
1512
  if (!M(e)) {
1363
- if (!(e instanceof Date) && !D(e)) {
1364
- it({ received: typeof e, expected: "string or Date" });
1513
+ if (!(e instanceof Date) && !E(e)) {
1514
+ ut({ received: typeof e, expected: "string or Date" });
1365
1515
  return;
1366
1516
  }
1367
1517
  return e;
1368
1518
  }
1369
1519
  };
1370
- var Oi = (e) => {
1520
+ var qi = (e) => {
1371
1521
  if (M(e))
1372
1522
  return null;
1373
- if (!D(e))
1374
- return it({ received: typeof e, expected: "string", fallback: "null" }), null;
1375
- let t = da(e);
1523
+ if (!E(e))
1524
+ return ut({ received: typeof e, expected: "string", fallback: "null" }), null;
1525
+ let t = Fa(e);
1376
1526
  return t === null && console.warn("Incorrectly formatted date string. Falling back to null."), t;
1377
1527
  };
1378
- var Vo = ({ received: e, expected: t }) => {
1528
+ var Xo = ({ received: e, expected: t }) => {
1379
1529
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Type will be coerced, but this behaviour will change in the future, so please fix your code.`);
1380
1530
  };
1381
- var it = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1531
+ var ut = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1382
1532
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
1383
1533
  };
1384
- var J = require("react/jsx-runtime");
1385
- var Pt = class extends vi.PureComponent {
1534
+ var X = require("react/jsx-runtime");
1535
+ var Nt = class extends Gi.PureComponent {
1386
1536
  constructor(r) {
1387
1537
  super(r);
1388
1538
  this.getAutocompleteStatus = () => this.props.autoComplete ? "on" : "disabled";
@@ -1409,7 +1559,7 @@ var require_main_min = __commonJS({
1409
1559
  if (this.props.value !== null && typeof this.props.value != "undefined")
1410
1560
  return r2.find((o) => this.props.value === o.value);
1411
1561
  };
1412
- this.mapOption = (r2) => S(i({}, r2), { value: R(r2.value) || D(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1562
+ this.mapOption = (r2) => b(i({}, r2), { value: R(r2.value) || E(r2.value) ? r2.value : void 0, secondary: r2.note, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
1413
1563
  this.state = { selectedOption: r.selectedOption, touched: false, prevValue: r.value };
1414
1564
  }
1415
1565
  static getDerivedStateFromProps(r, o) {
@@ -1417,50 +1567,50 @@ var require_main_min = __commonJS({
1417
1567
  }
1418
1568
  render() {
1419
1569
  var G;
1420
- let { name: r, placeholder: o, step: n, countryCode: a, type: s, options: c, disabled: p, readOnly: m, required: d, minLength: h, maxLength: f, min: l, max: u, searchPlaceholder: y, searchValue: g, onSearchChange: b, size: x, uploadProps: F, label: v, monthFormat: P, id: w, minDate: I, maxDate: N, value: A, mode: L } = this.props;
1570
+ let { name: r, placeholder: o, step: n, countryCode: a, type: s, options: c, disabled: u, readOnly: m, required: d, minLength: g, maxLength: f, min: l, max: p, searchPlaceholder: y, searchValue: S, onSearchChange: h, size: F, uploadProps: w, label: v, monthFormat: A, id: C, minDate: D, maxDate: T, value: P, mode: N } = this.props;
1421
1571
  switch (s) {
1422
1572
  case B.RADIO:
1423
- return (0, J.jsx)($.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: jo(A, { coerceValue: true }), onChange: this.handleOnChange });
1573
+ return (0, X.jsx)(W.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: Jo(P, { coerceValue: true }), onChange: this.handleOnChange });
1424
1574
  case B.CHECKBOX:
1425
- return (0, J.jsx)($.Checkbox, { checked: Fi(A, { coerceValue: true }), disabled: p, label: v, required: d, readOnly: m, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1575
+ return (0, X.jsx)(W.Checkbox, { checked: zi(P, { coerceValue: true }), disabled: u, label: v, required: d, readOnly: m, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1426
1576
  case B.SELECT: {
1427
1577
  let O = c.length >= 20;
1428
- return (0, J.jsx)($.Select, { id: w, selected: this.getSelectedOption(c), options: c, search: O, required: d, disabled: p, placeholder: o, searchPlaceholder: y, searchValue: g, onChange: (j) => {
1578
+ return (0, X.jsx)(W.Select, { id: C, selected: this.getSelectedOption(c), options: c, search: O, required: d, disabled: u, placeholder: o, searchPlaceholder: y, searchValue: S, onChange: (V) => {
1429
1579
  var k;
1430
- this.setState({ selectedOption: j != null ? j : void 0 }), this.props.onChange((k = j == null ? void 0 : j.value) != null ? k : null);
1431
- }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: O ? b : void 0 });
1580
+ this.setState({ selectedOption: V != null ? V : void 0 }), this.props.onChange((k = V == null ? void 0 : V.value) != null ? k : null);
1581
+ }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: O ? h : void 0 });
1432
1582
  }
1433
1583
  case B.TAB:
1434
- return (0, J.jsx)($.Tabs, { selected: ((G = this.getSelectedOption(c)) == null ? void 0 : G.value) || 0, tabs: c.map((O) => ({ title: O.label, content: (0, J.jsx)(J.Fragment, {}), disabled: O.disabled || false })), name: w, onTabSelect: (O) => {
1435
- let j = !!this.state.selectedOption;
1436
- this.setState({ selectedOption: c.find((k) => k.value === O) }), this.props.onChange(O, j ? "user" : "init");
1584
+ return (0, X.jsx)(W.Tabs, { selected: ((G = this.getSelectedOption(c)) == null ? void 0 : G.value) || 0, tabs: c.map((O) => ({ title: O.label, content: (0, X.jsx)(X.Fragment, {}), disabled: O.disabled || false })), name: C, onTabSelect: (O) => {
1585
+ let V = !!this.state.selectedOption;
1586
+ this.setState({ selectedOption: c.find((k) => k.value === O) }), this.props.onChange(O, V ? "user" : "init");
1437
1587
  } });
1438
1588
  case B.NUMBER:
1439
- return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: p, id: w, max: u, min: l, placeholder: o, readOnly: m, required: d, step: n, type: "number", value: jo(A, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (O) => {
1589
+ return (0, X.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: u, id: C, max: p, min: l, placeholder: o, readOnly: m, required: d, step: n, type: "number", value: Jo(P, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (O) => {
1440
1590
  this.props.onChange(parseFloat(O.target.value));
1441
1591
  }, onFocus: this.handleOnFocus, onWheel: (O) => {
1442
1592
  O.target instanceof HTMLElement && O.target.blur();
1443
1593
  } });
1444
1594
  case B.HIDDEN:
1445
- return (0, J.jsx)("input", { type: "hidden", name: r, value: vt(A, { coerceValue: true }), id: w });
1595
+ return (0, X.jsx)("input", { type: "hidden", name: r, value: Tt(P, { coerceValue: true }), id: C });
1446
1596
  case B.PASSWORD:
1447
- return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: p, id: w, placeholder: o, readOnly: m, required: d, type: "password", value: vt(A, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1597
+ return (0, X.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: u, id: C, placeholder: o, readOnly: m, required: d, type: "password", value: Tt(P, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1448
1598
  case B.DATE:
1449
1599
  case B.DATETIME:
1450
- return (0, J.jsx)($.DateInput, { disabled: p, size: x, value: xi(A), mode: L, monthFormat: P, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1600
+ return (0, X.jsx)(W.DateInput, { disabled: u, size: F, value: Hi(P), mode: N, monthFormat: A, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1451
1601
  case B.DATELOOKUP:
1452
- return (0, J.jsx)($.DateLookup, { value: Oi(A), min: I, max: N, placeholder: o, monthFormat: P, disabled: p, onChange: (O) => {
1453
- this.handleOnChange(ua(O));
1602
+ return (0, X.jsx)(W.DateLookup, { value: qi(P), min: D, max: T, placeholder: o, monthFormat: A, disabled: u, onChange: (O) => {
1603
+ this.handleOnChange(Ca(O));
1454
1604
  }, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1455
1605
  case B.TEL:
1456
- return (0, J.jsx)($.PhoneNumberInput, { disabled: p, countryCode: a, placeholder: o, required: d, searchPlaceholder: y, size: x, initialValue: vt(A), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1606
+ return (0, X.jsx)(W.PhoneNumberInput, { disabled: u, countryCode: a, placeholder: o, required: d, searchPlaceholder: y, size: F, initialValue: Tt(P), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1457
1607
  case B.TEXTAREA: {
1458
- let O = { className: "form-control tw-form-control", id: w, name: r, placeholder: o, value: vt(A, { coerceValue: true }), readOnly: m, required: d, minLength: h, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: p, autoComplete: this.getAutocompleteStatus() };
1459
- return this.props.displayPattern ? (0, J.jsx)($.TextareaWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, J.jsx)("textarea", S(i({}, O), { onChange: this.handleInputOnChange }));
1608
+ let O = { className: "form-control tw-form-control", id: C, name: r, placeholder: o, value: Tt(P, { coerceValue: true }), readOnly: m, required: d, minLength: g, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: u, autoComplete: this.getAutocompleteStatus() };
1609
+ return this.props.displayPattern ? (0, X.jsx)(W.TextareaWithDisplayFormat, b(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, X.jsx)("textarea", b(i({}, O), { onChange: this.handleInputOnChange }));
1460
1610
  }
1461
1611
  case B.FILE:
1462
1612
  case B.UPLOAD:
1463
- return (0, J.jsx)($.Upload, S(i({}, F), { usAccept: F.usAccept || "*", usDisabled: F.usDisabled || p, onSuccess: (O) => {
1613
+ return (0, X.jsx)(W.Upload, b(i({}, w), { usAccept: w.usAccept || "*", usDisabled: w.usDisabled || u, onSuccess: (O) => {
1464
1614
  this.handleOnChange(O);
1465
1615
  }, onFailure: () => {
1466
1616
  this.handleOnChange(null);
@@ -1469,43 +1619,43 @@ var require_main_min = __commonJS({
1469
1619
  } }));
1470
1620
  case B.TEXT:
1471
1621
  default: {
1472
- let O = { type: "text", className: "form-control", id: w, name: r, placeholder: o, value: vt(A, { coerceValue: true }), readOnly: m, required: d, minLength: h, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: p, autoComplete: this.getAutocompleteStatus() };
1473
- return this.props.displayPattern ? (0, J.jsx)($.InputWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, J.jsx)("input", S(i({}, O), { onChange: this.handleInputOnChange }));
1622
+ let O = { type: "text", className: "form-control", id: C, name: r, placeholder: o, value: Tt(P, { coerceValue: true }), readOnly: m, required: d, minLength: g, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: u, autoComplete: this.getAutocompleteStatus() };
1623
+ return this.props.displayPattern ? (0, X.jsx)(W.InputWithDisplayFormat, b(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, X.jsx)("input", b(i({}, O), { onChange: this.handleInputOnChange }));
1474
1624
  }
1475
1625
  }
1476
1626
  }
1477
1627
  };
1478
- var he = Pt;
1479
- he.Type = B, he.Size = Ma, he.MonthFormat = Aa, he.DateMode = Pa, he.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: Pt.DateMode.DAY_MONTH_YEAR, monthFormat: Pt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: Pt.Size.MEDIUM, step: 1, type: Pt.Type.TEXT, uploadProps: {}, value: null };
1480
- var Xe = require("@transferwise/components");
1481
- var ge = require("react/jsx-runtime");
1482
- var Pi = (e, t) => {
1628
+ var Se = Nt;
1629
+ Se.Type = B, Se.Size = Ba, Se.MonthFormat = Ra, Se.DateMode = Na, Se.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: Nt.DateMode.DAY_MONTH_YEAR, monthFormat: Nt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: Nt.Size.MEDIUM, step: 1, type: Nt.Type.TEXT, uploadProps: {}, value: null };
1630
+ var Ze = require("@transferwise/components");
1631
+ var be = require("react/jsx-runtime");
1632
+ var $i = (e, t) => {
1483
1633
  switch (t) {
1484
1634
  case "select":
1485
- return Em(e);
1635
+ return od(e);
1486
1636
  case "radio":
1487
1637
  default:
1488
- return km(e);
1638
+ return rd(e);
1489
1639
  }
1490
1640
  };
1491
- var km = (e) => i(i(i({ label: e.title, value: e.const }, Ai(e.title, e.description)), At(e)), Mi(e.disabled));
1492
- var Em = (e) => i(i(i(i(i({ label: e.title, value: e.const }, Ai(e.title, e.description)), Lm(e.icon)), Im(e.image)), Mi(e.disabled)), Dm(e.keywords));
1493
- var Dm = (e) => q(e) ? { searchStrings: e } : {};
1494
- var Im = (e) => e != null && e.url ? { icon: (0, ge.jsx)("div", { className: "media", children: (0, ge.jsx)("div", { className: "np-option__no-media-circle", children: (0, ge.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1495
- var Lm = (e) => e != null && e.name && Ct(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && Po(e.name) ? { icon: (0, ge.jsx)(Ke, { type: e.name }) } : e != null && e.text ? { icon: (0, ge.jsx)("span", { children: e.text }) } : null;
1496
- var At = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, ge.jsx)(Xe.Avatar, { type: Xe.AvatarType.THUMBNAIL, children: (0, ge.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && Po(t.name) ? { avatar: (0, ge.jsx)(Xe.Avatar, { type: Xe.AvatarType.ICON, children: (0, ge.jsx)(Ke, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, ge.jsx)(Xe.Avatar, { type: Xe.AvatarType.INITIALS, children: t.text }) } : null;
1497
- var Vr = ({ accepts: e }) => i({}, q(e) && { usAccept: e.join(",") });
1498
- var Ai = (e, t) => {
1641
+ var rd = (e) => i(i(i({ label: e.title, value: e.const }, _i(e.title, e.description)), Rt(e)), Wi(e.disabled));
1642
+ var od = (e) => i(i(i(i(i({ label: e.title, value: e.const }, _i(e.title, e.description)), id(e.icon)), ad(e.image)), Wi(e.disabled)), nd(e.keywords));
1643
+ var nd = (e) => z(e) ? { searchStrings: e } : {};
1644
+ var ad = (e) => e != null && e.url ? { icon: (0, be.jsx)("div", { className: "media", children: (0, be.jsx)("div", { className: "np-option__no-media-circle", children: (0, be.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1645
+ var id = (e) => e != null && e.name && Mt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && No(e.name) ? { icon: (0, be.jsx)(Je, { type: e.name }) } : e != null && e.text ? { icon: (0, be.jsx)("span", { children: e.text }) } : null;
1646
+ var Rt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.THUMBNAIL, children: (0, be.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && No(t.name) ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.ICON, children: (0, be.jsx)(Je, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.INITIALS, children: t.text }) } : null;
1647
+ var Kr = ({ accepts: e }) => i({}, z(e) && { usAccept: e.join(",") });
1648
+ var _i = (e, t) => {
1499
1649
  if (e && t)
1500
1650
  return { [(e + t).length > 50 ? "secondary" : "note"]: t };
1501
1651
  };
1502
- var Mi = (e) => {
1503
- if (!K(e) && !M(e))
1652
+ var Wi = (e) => {
1653
+ if (!J(e) && !M(e))
1504
1654
  return { disabled: e };
1505
1655
  };
1506
- var Di = require("react/jsx-runtime");
1507
- var Nm = (e) => e === "string" || e === "number";
1508
- var Uo = (e) => {
1656
+ var Xi = require("react/jsx-runtime");
1657
+ var sd = (e) => e === "string" || e === "number";
1658
+ var Yo = (e) => {
1509
1659
  if (fe(e))
1510
1660
  return e.control === B.TAB && e.oneOf.length > 3 ? B.SELECT : e.oneOf.length === 2 && !e.control ? B.RADIO : e.control || B.SELECT;
1511
1661
  if ("control" in e && e.control)
@@ -1525,500 +1675,477 @@ var require_main_min = __commonJS({
1525
1675
  }
1526
1676
  return e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
1527
1677
  };
1528
- var Tm = (e, t) => e.oneOf ? e.oneOf.map((r) => Pi(r, t)) : null;
1529
- var Ei = (e) => {
1530
- let { id: t, schema: r, value: o, disabled: n, onChange: a, onFocus: s, onBlur: c, onSearchChange: p } = e, m = gt(), d = (b) => Nm(r.type) && (M(b) || K(b)) ? "" : b, h = (b, x) => {
1531
- a(Ee(b, r), x);
1532
- }, f = Uo(r);
1533
- (0, ki.useEffect)(() => {
1534
- Rm(r, m, f);
1678
+ var ld = (e, t) => e.oneOf ? e.oneOf.map((r) => $i(r, t)) : null;
1679
+ var Ji = (e) => {
1680
+ let { id: t, schema: r, value: o, disabled: n, onChange: a, onFocus: s, onBlur: c, onSearchChange: u } = e, m = xt(), d = (h) => sd(r.type) && (M(h) || J(h)) ? "" : h, g = (h, F) => {
1681
+ a($e(h, r), F);
1682
+ }, f = Yo(r);
1683
+ (0, Ki.useEffect)(() => {
1684
+ cd(r, m, f);
1535
1685
  }, [JSON.stringify(r), m, f]);
1536
- let l = r.values || Tm(r, f), u = { onFocus: s, onBlur: c, onSearchChange: p, onChange: h }, y = d(o), g = { id: t, name: t, label: r.title, options: l || [], placeholder: r.placeholder, autoComplete: !r.help, disabled: n || r.disabled, displayPattern: r.displayFormat, uploadProps: Vr(r) };
1537
- return (0, Di.jsx)(he, i(i({ type: f, value: y }, u), g));
1686
+ let l = r.values || ld(r, f), p = { onFocus: s, onBlur: c, onSearchChange: u, onChange: g }, y = d(o), S = { id: t, name: t, label: r.title, options: l || [], placeholder: r.placeholder, autoComplete: !r.help, disabled: n || r.disabled, displayPattern: r.displayFormat, uploadProps: Kr(r) };
1687
+ return (0, Xi.jsx)(Se, i(i({ type: f, value: y }, p), S));
1538
1688
  };
1539
- Ei.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1540
- var Rm = (e, t, r) => {
1689
+ Ji.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1690
+ var cd = (e, t, r) => {
1541
1691
  fe(e) && e.oneOf.length === 2 && !e.control && t.warning("Deprecation warning", 'A oneOf schema with 2 options and no control type currently renders as a "radio" but will be changed to render as a "select". Please specify control radio to retain the existing behaviour.'), r === "file" && t.warning("Deprecation warning", "Please use a persist-async blob schema instead of string with base64url for file uploads. The base64url does not perform well on low end devices. Support for this schema will be removed in a later release."), e.values && t.warning("Deprecated schema", "Schema.values is a legacy approach. Please use oneOf.");
1542
1692
  };
1543
- var Zt = Ei;
1544
- var Ii = (e, t) => {
1545
- let r = Qt(e, t);
1546
- if (r >= 0)
1547
- return r;
1548
- if (e.oneOf.length === 1 && zt(e.oneOf[0]))
1549
- return 0;
1550
- if (Le(e.oneOf[0])) {
1551
- let o = Qt(e, e.default);
1552
- if (o >= 0)
1553
- return o;
1554
- }
1555
- return Ht(e) && Y(t) && Object.keys(t).length >= 1 ? Ur(e, t) : Ht(e) && !K(e.default) && Y(e.default) && Object.keys(e.default).length >= 1 ? Ur(e, e.default) : null;
1556
- };
1557
- var Qt = (e, t) => e.oneOf.findIndex((r) => !K(t) && _(t, r));
1558
- function Ur(e, t) {
1559
- if (t == null)
1560
- return null;
1561
- let r = e.oneOf.map((o) => Bm(o).reduce((n, [a, s]) => Le(s) && s.const === t[a] ? n + 2 : zt(s) && typeof t[a] != "undefined" ? n + 1 : n, 0));
1562
- return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
1563
- }
1564
- function Bm(e) {
1565
- return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
1566
- }
1693
+ var nr = Ji;
1567
1694
  var oe = require("react/jsx-runtime");
1568
- var Ni = (e) => {
1569
- let t = Q(), [r, o] = (0, Ae.useState)(false), [n, a] = (0, Ae.useState)(false), [s, c] = (0, Ae.useState)(false), p = (0, Ae.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), [m, d] = (0, Ae.useState)(Ii(e.schema, e.model)), [h, f] = (0, Ae.useState)(zm(e.model, e.schema.oneOf)), l = Fa(t, 200), u = (w) => {
1570
- l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: w.length });
1695
+ var Zi = (e) => {
1696
+ let t = Q(), [r, o] = (0, Ee.useState)(false), [n, a] = (0, Ee.useState)(false), [s, c] = (0, Ee.useState)(false), u = (0, Ee.useMemo)(() => e.schema.$id || Me(), [e.schema.$id]), [m, d] = (0, Ee.useState)(Gr(e.schema, e.model)), [g, f] = (0, Ee.useState)(pd(e.model, e.schema.oneOf)), l = Ia(t, 200), p = (C) => {
1697
+ l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: C.length });
1571
1698
  };
1572
- if ((0, Ae.useEffect)(() => {
1573
- let w = Qt(e.schema, e.model), I = Qt(e.schema, e.schema.default);
1574
- w === -1 && I >= 0 && x(I, "init");
1575
- }, [e.schema]), !q(e.schema.oneOf))
1699
+ if ((0, Ee.useEffect)(() => {
1700
+ let C = rr(e.schema, e.model), D = rr(e.schema, e.schema.default);
1701
+ C === -1 && D >= 0 && F(D, "init");
1702
+ }, [e.schema]), !z(e.schema.oneOf))
1576
1703
  return console.error("Incorrect format", e.schema), null;
1577
- let y = (w, I) => {
1578
- f([...h.slice(0, w), I.model, ...h.slice(w + 1)]), o(true), e.onChange(I);
1579
- }, g = () => {
1704
+ let y = (C, D) => {
1705
+ f([...g.slice(0, C), D.model, ...g.slice(C + 1)]), o(true), e.onChange(D);
1706
+ }, S = () => {
1580
1707
  a(true);
1581
- }, b = () => {
1708
+ }, h = () => {
1582
1709
  a(false), c(true);
1583
- }, x = (w, I) => {
1584
- d(w);
1585
- let N = e.schema.oneOf[w];
1586
- if (Le(N)) {
1587
- let A = N.const;
1588
- e.onChange({ model: A, triggerSchema: e.schema, triggerModel: A, type: I });
1710
+ }, F = (C, D) => {
1711
+ d(C);
1712
+ let T = e.schema.oneOf[C];
1713
+ if (ye(T)) {
1714
+ let P = T.const;
1715
+ e.onChange({ model: P, triggerSchema: e.schema, triggerModel: P, type: D });
1589
1716
  } else
1590
- e.onChange({ model: h[w], triggerSchema: N, triggerModel: h[w], type: I });
1591
- I !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: N == null ? void 0 : N.analyticsId });
1592
- }, F = Hm(e.schema), v = Vm(e, m), P = { "form-group": true, "has-error": !r && e.errors && !bt(e.errors) || (e.submitted || r && s) && v.length };
1593
- return (0, oe.jsxs)(oe.Fragment, { children: [(e.schema.oneOf.length > 1 || Le(e.schema.oneOf[0])) && (0, oe.jsxs)(oe.Fragment, { children: [(0, oe.jsxs)("div", { className: (0, Li.default)(P), children: [jm(e.schema, p), (0, oe.jsx)(Zt, { id: p, schema: F, value: m, disabled: e.disabled, onChange: x, onFocus: g, onBlur: b, onSearchChange: u }), (0, oe.jsx)(Re, { changed: r, focused: n, blurred: s, submitted: e.submitted, errors: Um(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, oe.jsx)(se, { component: e.schema.alert })] }), zt(e.schema.oneOf[m]) && (0, oe.jsx)(ue, { schema: e.schema.oneOf[m], model: h[m], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (w) => y(m, w), onPersistAsync: e.onPersistAsync })] });
1717
+ e.onChange({ model: g[C], triggerSchema: T, triggerModel: g[C], type: D });
1718
+ D !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: T == null ? void 0 : T.analyticsId });
1719
+ }, w = fd(e.schema), v = dd(e, m), A = { "form-group": true, "has-error": !r && e.errors && !Ot(e.errors) || (e.submitted || r && s) && v.length };
1720
+ return (0, oe.jsxs)(oe.Fragment, { children: [(e.schema.oneOf.length > 1 || ye(e.schema.oneOf[0])) && (0, oe.jsxs)(oe.Fragment, { children: [(0, oe.jsxs)("div", { className: (0, Yi.default)(A), children: [md(e.schema, u), (0, oe.jsx)(nr, { id: u, schema: w, value: m, disabled: e.disabled, onChange: F, onFocus: S, onBlur: h, onSearchChange: p }), (0, oe.jsx)(Be, { changed: r, focused: n, blurred: s, submitted: e.submitted, errors: ud(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, oe.jsx)(se, { component: e.schema.alert })] }), Jt(e.schema.oneOf[m]) && (0, oe.jsx)(ue, { schema: e.schema.oneOf[m], model: g[m], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (C) => y(m, C), onPersistAsync: e.onPersistAsync })] });
1594
1721
  };
1595
- function jm(e, t) {
1596
- let r = e.help ? (0, oe.jsx)(je, { help: e.help }) : null, o = Le(e.oneOf[0]) ? (0, oe.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, oe.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
1722
+ function md(e, t) {
1723
+ let r = e.help ? (0, oe.jsx)(je, { help: e.help }) : null, o = ye(e.oneOf[0]) ? (0, oe.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, oe.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
1597
1724
  return e.title ? o : r;
1598
1725
  }
1599
- function Vm(e, t) {
1726
+ function dd(e, t) {
1600
1727
  let r = e.schema.oneOf[t != null ? t : -1];
1601
- return Le(r) ? _e(r.const, e.schema, !!e.required) : t === null || t < 0 ? _e(null, e.schema, !!e.required) : [];
1728
+ return ye(r) ? _e(r.const, e.schema, !!e.required) : t === null || t < 0 ? _e(null, e.schema, !!e.required) : [];
1602
1729
  }
1603
- function Um(e) {
1730
+ function ud(e) {
1604
1731
  return typeof e == "string" ? e : null;
1605
1732
  }
1606
- function zm(e, t) {
1607
- return t.map((r) => Vt(e, r));
1733
+ function pd(e, t) {
1734
+ return t.map((r) => vt(e, r));
1608
1735
  }
1609
- function Hm(e) {
1610
- return S(i({}, e), { oneOf: e.oneOf.map(qm) });
1736
+ function fd(e) {
1737
+ return b(i({}, e), { oneOf: e.oneOf.map(yd) });
1611
1738
  }
1612
- function qm(e, t) {
1739
+ function yd(e, t) {
1613
1740
  let { title: r, description: o, disabled: n = false, icon: a, image: s, keywords: c } = e;
1614
1741
  return { title: r, description: o, disabled: n, icon: a, image: s, const: t, keywords: c };
1615
1742
  }
1616
- Ni.defaultProps = { required: false, disabled: false };
1617
- var zo = Ni;
1618
- var ji = He(ot());
1619
- var st = require("react");
1620
- var zr = require("@transferwise/components");
1621
- var Ti = require("react");
1622
- var Bi = require("react/jsx-runtime");
1623
- var Ri = (e) => {
1624
- let { id: t, httpClient: r = fetch, httpOptions: o, fileId: n, idProperty: a, usAccept: s, maxSize: c, usPlaceholder: p, onSuccess: m, onFailure: d, onCancel: h } = e, f = Q(), l = (0, Ti.useMemo)(() => n ? [{ id: n, status: zr.Status.SUCCEEDED }] : [], [n]), u = (y) => (f("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: y }).then((g) => g.ok ? (m && m(g.clone()), g.json().then((b) => ({ id: b[a] }))) : (d && d({ response: g }), Promise.reject())));
1625
- return (0, Bi.jsx)(zr.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? Pr(c) : void 0, fileTypes: s, description: p, onUploadFile: u, onDeleteFile: (y) => (h && h(), Promise.resolve()) });
1743
+ Zi.defaultProps = { required: false, disabled: false };
1744
+ var Zo = Zi;
1745
+ var rs = qe(st());
1746
+ var pt = require("react");
1747
+ var Jr = require("@transferwise/components");
1748
+ var Qi = require("react");
1749
+ var ts = require("react/jsx-runtime");
1750
+ var es = (e) => {
1751
+ let { id: t, httpClient: r = fetch, httpOptions: o, fileId: n, idProperty: a, usAccept: s, maxSize: c, usPlaceholder: u, onSuccess: m, onFailure: d, onCancel: g } = e, f = Q(), l = (0, Qi.useMemo)(() => n ? [{ id: n, status: Jr.Status.SUCCEEDED }] : [], [n]), p = (y) => (f("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: y }).then((S) => S.ok ? (m && m(S.clone()), S.json().then((h) => ({ id: h[a] }))) : (d && d({ response: S }), Promise.reject())));
1752
+ return (0, ts.jsx)(Jr.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? Ir(c) : void 0, fileTypes: s, description: u, onUploadFile: p, onDeleteFile: (y) => (g && g(), Promise.resolve()) });
1626
1753
  };
1627
- var er = require("react/jsx-runtime");
1628
- var Vi = (e) => {
1629
- let [t, r] = (0, st.useState)({}), [o, n] = (0, st.useState)(null), [a, s] = (0, st.useState)([]), [c, p] = (0, st.useState)(false), m = ee(), d = Q();
1630
- (0, st.useEffect)(() => {
1754
+ var ar = require("react/jsx-runtime");
1755
+ var os = (e) => {
1756
+ let [t, r] = (0, pt.useState)({}), [o, n] = (0, pt.useState)(null), [a, s] = (0, pt.useState)([]), [c, u] = (0, pt.useState)(false), m = ee(), d = Q();
1757
+ (0, pt.useEffect)(() => {
1631
1758
  e.submitted && s(_e(e.model, e.schema, !!e.required));
1632
1759
  }, [e.model, e.submitted]);
1633
- let f = async (F, v) => {
1634
- let P = await F.json(), w = Go(e.schema.persistAsync.idProperty, P);
1635
- e.onChange({ model: w, triggerSchema: e.schema, triggerModel: w }), p(true), d("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1636
- }, l = async (F) => {
1637
- if (F.response && br(F.response.status)) {
1638
- let v = await F.response.json();
1760
+ let f = async (w, v) => {
1761
+ let A = await w.json(), C = tn(e.schema.persistAsync.idProperty, A);
1762
+ e.onChange({ model: C, triggerSchema: e.schema, triggerModel: C }), u(true), d("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1763
+ }, l = async (w) => {
1764
+ if (w.response && xr(w.response.status)) {
1765
+ let v = await w.response.json();
1639
1766
  r(v.validation || {}), n([e.schema.persistAsync.param]);
1640
1767
  }
1641
- e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), p(true), d("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
1642
- }, u = () => {
1643
- n(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), p(true);
1644
- }, { url: y, method: g } = e.schema.persistAsync, b = o || a, x = { "form-group": true, "has-error": (e.submitted || c) && !!b.length };
1645
- return (0, er.jsxs)("div", { className: (0, ji.default)(x), children: [(0, er.jsx)(Ri, i({ id: e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: y, method: g, fileInputName: e.schema.persistAsync.param }, httpClient: m, onSuccess: f, onFailure: l, onCancel: u }, Vr(e.schema.persistAsync.schema))), (0, er.jsx)(Re, { blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1646
- };
1647
- Vi.defaultProps = { required: false };
1648
- var qo = Vi;
1649
- var _o = require("react/jsx-runtime");
1650
- var Ui = (e) => {
1768
+ e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), u(true), d("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
1769
+ }, p = () => {
1770
+ n(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), u(true);
1771
+ }, { url: y, method: S } = e.schema.persistAsync, h = o || a, F = { "form-group": true, "has-error": (e.submitted || c) && !!h.length };
1772
+ return (0, ar.jsxs)("div", { className: (0, rs.default)(F), children: [(0, ar.jsx)(es, i({ id: e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: y, method: S, fileInputName: e.schema.persistAsync.param }, httpClient: m, onSuccess: f, onFailure: l, onCancel: p }, Kr(e.schema.persistAsync.schema))), (0, ar.jsx)(Be, { blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: h, validationMessages: i({ required: "Value is required..." }, t), infoMessage: null })] });
1773
+ };
1774
+ os.defaultProps = { required: false };
1775
+ var en = os;
1776
+ var rn = require("react/jsx-runtime");
1777
+ var ns = (e) => {
1651
1778
  let { schema: t } = e;
1652
- return t.persistAsync.schema.type === "blob" ? (0, _o.jsx)(qo, i({}, e)) : (0, _o.jsx)(Ho, i({}, e));
1779
+ return t.persistAsync.schema.type === "blob" ? (0, rn.jsx)(en, i({}, e)) : (0, rn.jsx)(Qo, i({}, e));
1653
1780
  };
1654
- Ui.defaultProps = { required: false };
1655
- var $o = Ui;
1656
- var Xi = require("react");
1657
- var zi = (e, t) => {
1658
- let r = Ur(e, t);
1781
+ ns.defaultProps = { required: false };
1782
+ var on = ns;
1783
+ var fs = require("react");
1784
+ var as = (e, t) => {
1785
+ let r = Dt(e, t);
1659
1786
  return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
1660
1787
  };
1661
- var Hi = require("@transferwise/components");
1662
- var Wo = require("react/jsx-runtime");
1663
- var qi = (e) => {
1664
- let { id: t, selection: r, setSelection: o } = e, { promoted: n, other: a, checkedMeans: s } = e.promotion, c = s === "other" ? a.title : (n == null ? void 0 : n.title) || e.promotedOneOf.title, p = s === "other" ? "other" : "promoted", m = s === "other" ? "promoted" : "other", d = r === p;
1665
- return (0, Wo.jsx)("div", { className: "form-group", children: (0, Wo.jsx)(Hi.Checkbox, { id: t, label: c, checked: d, onChange: () => {
1666
- o(d ? m : p);
1788
+ var is = require("@transferwise/components");
1789
+ var nn = require("react/jsx-runtime");
1790
+ var ss = (e) => {
1791
+ let { id: t, selection: r, setSelection: o } = e, { promoted: n, other: a, checkedMeans: s } = e.promotion, c = s === "other" ? a.title : (n == null ? void 0 : n.title) || e.promotedOneOf.title, u = s === "other" ? "other" : "promoted", m = s === "other" ? "promoted" : "other", d = r === u;
1792
+ return (0, nn.jsx)("div", { className: "form-group", children: (0, nn.jsx)(is.Checkbox, { id: t, label: c, checked: d, onChange: () => {
1793
+ o(d ? m : u);
1667
1794
  } }) });
1668
1795
  };
1669
- qi.defaultProps = {};
1670
- var Gi = qi;
1671
- var _i = require("@transferwise/components");
1672
- var tr = require("react/jsx-runtime");
1673
- var $i = (e) => {
1674
- var p, m;
1675
- let { id: t, selection: r, setSelection: o, promotion: n, promotedOneOf: a, title: s } = e, c = [i({ value: "promoted", label: ((p = n.promoted) == null ? void 0 : p.title) || a.title, secondary: ((m = n.promoted) == null ? void 0 : m.description) || a.description }, At(a)), i({ value: "other", label: n.other.title, secondary: n.other.description }, At(n.other))];
1676
- return (0, tr.jsxs)("div", { className: "form-group", children: [s && (0, tr.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, tr.jsx)(_i.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1677
- };
1678
- $i.defaultProps = { title: void 0 };
1679
- var Wi = $i;
1680
- var Mt = require("react/jsx-runtime");
1681
- var Ki = (e) => {
1796
+ ss.defaultProps = {};
1797
+ var ls = ss;
1798
+ var cs = require("@transferwise/components");
1799
+ var ir = require("react/jsx-runtime");
1800
+ var ms = (e) => {
1801
+ var u, m;
1802
+ let { id: t, selection: r, setSelection: o, promotion: n, promotedOneOf: a, title: s } = e, c = [i({ value: "promoted", label: ((u = n.promoted) == null ? void 0 : u.title) || a.title, secondary: ((m = n.promoted) == null ? void 0 : m.description) || a.description }, Rt(a)), i({ value: "other", label: n.other.title, secondary: n.other.description }, Rt(n.other))];
1803
+ return (0, ir.jsxs)("div", { className: "form-group", children: [s && (0, ir.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, ir.jsx)(cs.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1804
+ };
1805
+ ms.defaultProps = { title: void 0 };
1806
+ var ds = ms;
1807
+ var Bt = require("react/jsx-runtime");
1808
+ var us = (e) => {
1682
1809
  switch (e.promotion.control || "radio") {
1683
1810
  case "radio":
1684
- return (0, Mt.jsx)(Wi, i({}, e));
1811
+ return (0, Bt.jsx)(ds, i({}, e));
1685
1812
  case "checkbox":
1686
- return (0, Mt.jsx)(Gi, i({}, e));
1813
+ return (0, Bt.jsx)(ls, i({}, e));
1687
1814
  default:
1688
- return (0, Mt.jsx)(Mt.Fragment, {});
1815
+ return (0, Bt.jsx)(Bt.Fragment, {});
1689
1816
  }
1690
1817
  };
1691
- Ki.defaultProps = { id: ve(), title: void 0 };
1692
- var Ji = Ki;
1693
- var Ve = require("react/jsx-runtime");
1694
- var Yi = (e) => e.promoted === true;
1695
- var Gm = (e) => {
1818
+ us.defaultProps = { id: Me(), title: void 0 };
1819
+ var ps = us;
1820
+ var Ue = require("react/jsx-runtime");
1821
+ var ys = (e) => e.promoted === true;
1822
+ var hd = (e) => {
1696
1823
  var c;
1697
- let [t, r] = (0, Xi.useState)(zi(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, n = e.schema.oneOf.find(Yi), a = _m(n), s = $m(e.schema);
1698
- return (0, Ve.jsxs)(Ve.Fragment, { children: [o && (0, Ve.jsx)(se, { component: o }), (0, Ve.jsx)(Ji, { id: e.schema.$id, title: e.schema.title, promotedOneOf: n, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ve.jsx)(Yt, S(i({}, e), { schema: a })), t === "other" && (0, Ve.jsx)(ue, S(i({}, e), { schema: s }))] });
1824
+ let [t, r] = (0, fs.useState)(as(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, n = e.schema.oneOf.find(ys), a = gd(n), s = Sd(e.schema);
1825
+ return (0, Ue.jsxs)(Ue.Fragment, { children: [o && (0, Ue.jsx)(se, { component: o }), (0, Ue.jsx)(ps, { id: e.schema.$id, title: e.schema.title, promotedOneOf: n, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ue.jsx)(or, b(i({}, e), { schema: a })), t === "other" && (0, Ue.jsx)(ue, b(i({}, e), { schema: s }))] });
1699
1826
  };
1700
- function _m(e) {
1701
- return S(i({}, e), { title: void 0, description: void 0 });
1827
+ function gd(e) {
1828
+ return b(i({}, e), { title: void 0, description: void 0 });
1702
1829
  }
1703
- function $m(e) {
1830
+ function Sd(e) {
1704
1831
  var o, n, a;
1705
- let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !Yi(s)), r = (a = (n = e.promotion) == null ? void 0 : n.other.heading) == null ? void 0 : a.text;
1706
- return t.length === 1 ? S(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1707
- }
1708
- var Ko = Gm;
1709
- var Hr = require("@transferwise/components");
1710
- var Qi = require("react-intl");
1711
- var Zi = require("react-intl");
1712
- var Jo = (0, Zi.defineMessages)({ yes: { id: "dynamicFlows.ReadOnlySchema.yes", defaultMessage: "Yes", description: "Yes, used for boolean schemas with a value of true." }, no: { id: "dynamicFlows.ReadOnlySchema.no", defaultMessage: "No", description: "No: used for boolean schemas with a value of false." } });
1713
- var kt = require("react/jsx-runtime");
1714
- var Wm = ({ schema: e, model: t }) => {
1715
- let { title: r = "" } = e, { formatMessage: o } = (0, Qi.useIntl)(), n = Km({ schema: e, model: t, formatMessage: o });
1716
- return (0, kt.jsx)(Hr.DefinitionList, { layout: Hr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: n, key: "" }] });
1717
- };
1718
- var Xo = Wm;
1719
- function Km({ schema: e, model: t, formatMessage: r }) {
1720
- return Ie(e) ? fe(e) ? Jm(e, t) : e.type === "boolean" && xe(t) ? r(t ? Jo.yes : Jo.no) : t && t.toString() || "" : "";
1721
- }
1722
- function Jm(e, t) {
1723
- let r = Xm(e, t);
1724
- return r ? Ym(r) : t;
1725
- }
1726
- function Xm(e, t) {
1832
+ let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !ys(s)), r = (a = (n = e.promotion) == null ? void 0 : n.other.heading) == null ? void 0 : a.text;
1833
+ return t.length === 1 ? b(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1834
+ }
1835
+ var an = hd;
1836
+ var Xr = require("@transferwise/components");
1837
+ var gs = require("react-intl");
1838
+ var hs = require("react-intl");
1839
+ var sn = (0, hs.defineMessages)({ yes: { id: "dynamicFlows.ReadOnlySchema.yes", defaultMessage: "Yes", description: "Yes, used for boolean schemas with a value of true." }, no: { id: "dynamicFlows.ReadOnlySchema.no", defaultMessage: "No", description: "No: used for boolean schemas with a value of false." } });
1840
+ var Vt = require("react/jsx-runtime");
1841
+ var bd = ({ schema: e, model: t }) => {
1842
+ let { title: r = "" } = e, { formatMessage: o } = (0, gs.useIntl)(), n = wd({ schema: e, model: t, formatMessage: o });
1843
+ return (0, Vt.jsx)(Xr.DefinitionList, { layout: Xr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: n, key: "" }] });
1844
+ };
1845
+ var ln = bd;
1846
+ function wd({ schema: e, model: t, formatMessage: r }) {
1847
+ return Te(e) ? fe(e) ? Fd(e, t) : e.type === "boolean" && ve(t) ? r(t ? sn.yes : sn.no) : t && t.toString() || "" : "";
1848
+ }
1849
+ function Fd(e, t) {
1850
+ let r = Cd(e, t);
1851
+ return r ? xd(r) : t;
1852
+ }
1853
+ function Cd(e, t) {
1727
1854
  return e.oneOf.find((r) => "const" in r ? t === r.const : false);
1728
1855
  }
1729
- function Ym(e) {
1730
- let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = At({ icon: e.icon });
1731
- return r != null && r.avatar ? (0, kt.jsxs)(kt.Fragment, { children: [r.avatar, " ", t] }) : t;
1856
+ function xd(e) {
1857
+ let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Rt({ icon: e.icon });
1858
+ return r != null && r.avatar ? (0, Vt.jsxs)(Vt.Fragment, { children: [r.avatar, " ", t] }) : t;
1732
1859
  }
1733
- var Me = require("react");
1734
- var ts = require("react/jsx-runtime");
1735
- var es = (e) => {
1736
- let { schema: t, model: r, required: o, submitted: n, errors: a, onChange: s } = e, [c, p] = (0, Me.useState)(r), m = (0, Me.useRef)(null), [d, h] = (0, Me.useState)(null), [f, l] = (0, Me.useState)(null), [u, y] = (0, Me.useState)(false), [g, b] = (0, Me.useState)(null), x = ee(), F = Q(), v = gt();
1737
- (0, Me.useEffect)(() => {
1860
+ var Ie = require("react");
1861
+ var bs = require("react/jsx-runtime");
1862
+ var Ss = (e) => {
1863
+ let { schema: t, model: r, required: o, submitted: n, errors: a, onChange: s } = e, [c, u] = (0, Ie.useState)(r), m = (0, Ie.useRef)(null), [d, g] = (0, Ie.useState)(null), [f, l] = (0, Ie.useState)(null), [p, y] = (0, Ie.useState)(false), [S, h] = (0, Ie.useState)(null), F = ee(), w = Q(), v = xt();
1864
+ (0, Ie.useEffect)(() => {
1738
1865
  t.validationAsync.method || v.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {});
1739
1866
  }, [v, t.validationAsync.method]);
1740
- let P = async (L, G) => {
1741
- let O = w(), j = { [G.param]: L };
1742
- m.current = L, y(true), F("Dynamic Flow - ValidationAsync", { status: "pending" });
1743
- let k = await x(G.url, { method: G.method || "POST", headers: { "Content-Type": "application/json" }, body: G.method === "GET" ? void 0 : JSON.stringify(j), signal: O });
1867
+ let A = async (N, G) => {
1868
+ let O = C(), V = { [G.param]: N };
1869
+ m.current = N, y(true), w("Dynamic Flow - ValidationAsync", { status: "pending" });
1870
+ let k = await F(G.url, { method: G.method || "POST", headers: { "Content-Type": "application/json" }, body: G.method === "GET" ? void 0 : JSON.stringify(V), signal: O });
1744
1871
  try {
1745
- let z = await k.json();
1746
- if (!T(z))
1872
+ let H = await k.json();
1873
+ if (!L(H))
1747
1874
  throw new Error("Response body is not an object");
1748
- F("Dynamic Flow - ValidationAsync", { status: "success" }), k.status === 200 ? h(D(z.message) ? z.message : null) : k.status === 422 && l(D(z.message) ? z.message : null);
1749
- } catch (z) {
1750
- F("Dynamic Flow - ValidationAsync", { status: "failure" });
1875
+ w("Dynamic Flow - ValidationAsync", { status: "success" }), k.status === 200 ? g(E(H.message) ? H.message : null) : k.status === 422 && l(E(H.message) ? H.message : null);
1876
+ } catch (H) {
1877
+ w("Dynamic Flow - ValidationAsync", { status: "failure" });
1751
1878
  }
1752
- }, w = () => {
1753
- g && g.abort();
1754
- let L = new AbortController();
1755
- return b(L), L.signal;
1879
+ }, C = () => {
1880
+ S && S.abort();
1881
+ let N = new AbortController();
1882
+ return h(N), N.signal;
1756
1883
  };
1757
- return (0, ts.jsx)(lt, i({}, { submitted: n || u, model: c, errors: f || a, infoMessage: d, onChange: (L) => {
1758
- s(S(i({}, L), { triggerSchema: t, triggerModel: L.model })), l(null), h(null), _(L.model, t) && p(L.model);
1884
+ return (0, bs.jsx)(ft, i({}, { submitted: n || p, model: c, errors: f || a, infoMessage: d, onChange: (N) => {
1885
+ s(b(i({}, N), { triggerSchema: t, triggerModel: N.model })), l(null), g(null), u(N.model);
1759
1886
  }, onBlur: () => {
1760
- !M(c) && !We(c, m.current) && P(c, t.validationAsync);
1887
+ !M(c) && !Ke(c, m.current) && _(c, t) && A(c, t.validationAsync);
1761
1888
  }, required: o, schema: t }));
1762
1889
  };
1763
- es.defaultProps = { required: false };
1764
- var Yo = es;
1890
+ Ss.defaultProps = { required: false };
1891
+ var cn = Ss;
1765
1892
  var pe = require("react/jsx-runtime");
1766
- var os = require("react");
1767
- var Zm = (e) => {
1768
- let { schema: t, model: r = null, errors: o = null, hideTitle: n = false, disabled: a = false } = e, s = S(i({}, e), { model: r, errors: o, hideTitle: n, disabled: a }), c = qt(t), p = gt();
1769
- switch ((0, rs.useEffect)(() => {
1770
- Qm(t, r, o) || p.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
1771
- }, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(o), c, p]), c) {
1893
+ var Fs = require("react");
1894
+ var Od = (e) => {
1895
+ let { schema: t, model: r = null, errors: o = null, hideTitle: n = false, disabled: a = false } = e, s = b(i({}, e), { model: r, errors: o, hideTitle: n, disabled: a }), c = it(t), u = xt();
1896
+ switch ((0, ws.useEffect)(() => {
1897
+ vd(t, r, o) || u.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
1898
+ }, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(o), c, u]), c) {
1772
1899
  case "readOnly":
1773
- return (0, pe.jsx)(Xo, i({}, s));
1900
+ return (0, pe.jsx)(ln, i({}, s));
1774
1901
  case "persistAsync":
1775
- return (0, pe.jsx)($o, i({}, s));
1902
+ return (0, pe.jsx)(on, i({}, s));
1776
1903
  case "validationAsync":
1777
- return (0, pe.jsx)(Yo, i({}, s));
1904
+ return (0, pe.jsx)(cn, i({}, s));
1778
1905
  case "basic": {
1779
1906
  let m = i({ infoMessage: null }, s);
1780
- return (0, pe.jsx)(lt, i({}, m));
1907
+ return (0, pe.jsx)(ft, i({}, m));
1781
1908
  }
1782
1909
  case "object":
1783
- return (0, os.createElement)(Yt, S(i({}, s), { key: JSON.stringify(t) }));
1910
+ return (0, Fs.createElement)(or, b(i({}, s), { key: JSON.stringify(t) }));
1784
1911
  case "array":
1785
- return (0, pe.jsx)(Ro, i({}, s));
1912
+ return (0, pe.jsx)(Wo, i({}, s));
1786
1913
  case "promotedOneOf":
1787
- return (0, pe.jsx)(Ko, i({}, s));
1914
+ return (0, pe.jsx)(an, i({}, s));
1788
1915
  case "oneOf":
1789
- return (0, pe.jsx)(zo, i({}, s));
1916
+ return (0, pe.jsx)(Zo, i({}, s));
1790
1917
  case "allOf":
1791
- return (0, pe.jsx)(Lo, i({}, s));
1918
+ return (0, pe.jsx)(Ho, i({}, s));
1792
1919
  }
1793
1920
  return (0, pe.jsx)(pe.Fragment, {});
1794
1921
  };
1795
- var ue = Zm;
1796
- var Qm = (e, t, r) => {
1797
- switch (qt(e)) {
1922
+ var ue = Od;
1923
+ var vd = (e, t, r) => {
1924
+ switch (it(e)) {
1798
1925
  case "persistAsync":
1799
- return Ar(e) && Sa(t) && Gt(r);
1926
+ return Dr(e) && Tr(t) && Xt(r);
1800
1927
  case "validationAsync":
1801
- return Fo(e) && Oo(t) && Gt(r);
1928
+ return Io(e) && Lo(t) && Xt(r);
1802
1929
  case "basic":
1803
- return Ie(e) && Oo(t) && Gt(r);
1930
+ return Te(e) && Lo(t) && Xt(r);
1804
1931
  case "object":
1805
- return Oe(e) && xo(t);
1932
+ return Pe(e) && Do(t);
1806
1933
  case "array":
1807
- return De(e) && wa(t) && Gt(r);
1934
+ return Le(e) && ka(t) && Xt(r);
1808
1935
  case "promotedOneOf":
1809
- return Ht(e) && xo(t);
1936
+ return at(e) && Do(t);
1810
1937
  case "oneOf":
1811
1938
  return fe(e);
1812
1939
  case "allOf":
1813
- return Co(e) && Y(t);
1940
+ return Eo(e) && $(t);
1814
1941
  }
1815
1942
  return false;
1816
1943
  };
1817
- var ct = require("react/jsx-runtime");
1818
- var ed = (e) => {
1944
+ var yt = require("react/jsx-runtime");
1945
+ var Ad = (e) => {
1819
1946
  let t = i({ model: null, errors: null, disabled: false, baseUrl: "" }, e);
1820
- return xr() || t.baseUrl == null ? (0, ct.jsx)(ue, i({}, t)) : (0, ct.jsx)(td, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, ct.jsx)(ue, i({}, t)) });
1947
+ return Mr() || t.baseUrl == null ? (0, yt.jsx)(ue, i({}, t)) : (0, yt.jsx)(Pd, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, yt.jsx)(ue, i({}, t)) });
1821
1948
  };
1822
- var rr = ed;
1823
- var td = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, ct.jsx)(Or, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : ns, children: (0, ct.jsx)(gr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : ns, children: (0, ct.jsx)(Fr, { baseUrl: e, children: o }) }) });
1824
- var ns = () => {
1949
+ var sr = Ad;
1950
+ var Pd = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, yt.jsx)(kr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : Cs, children: (0, yt.jsx)(Cr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : Cs, children: (0, yt.jsx)(Pr, { baseUrl: e, children: o }) }) });
1951
+ var Cs = () => {
1825
1952
  };
1826
- var Zo = require("react/jsx-runtime");
1827
- var rd = (e) => {
1953
+ var mn = require("react/jsx-runtime");
1954
+ var Md = (e) => {
1828
1955
  let t = e.component, r = t.schema;
1829
- return (0, Zo.jsx)("div", { className: U(t.margin || "md"), children: (0, Zo.jsx)(rr, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1956
+ return (0, mn.jsx)("div", { className: U(t.margin || "md"), children: (0, mn.jsx)(sr, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1830
1957
  e.onModelChange(i({ formSchema: r }, o));
1831
1958
  }, onPersistAsync: e.onPersistAsync }) });
1832
1959
  };
1833
- var Qo = rd;
1834
- var Et = require("react/jsx-runtime");
1835
- var od = (e) => {
1960
+ var dn = Md;
1961
+ var jt = require("react/jsx-runtime");
1962
+ var kd = (e) => {
1836
1963
  let { text: t, size: r = "md", align: o = "left", margin: n = "md" } = e.component, a = Ne({ align: o, margin: n });
1837
1964
  switch (r) {
1838
1965
  case "xs":
1839
- return (0, Et.jsx)("h5", { className: a, children: t });
1966
+ return (0, jt.jsx)("h5", { className: a, children: t });
1840
1967
  case "sm":
1841
- return (0, Et.jsx)("h4", { className: a, children: t });
1968
+ return (0, jt.jsx)("h4", { className: a, children: t });
1842
1969
  case "lg":
1843
- return (0, Et.jsx)("h2", { className: a, children: t });
1970
+ return (0, jt.jsx)("h2", { className: a, children: t });
1844
1971
  case "xl":
1845
- return (0, Et.jsx)("h1", { className: a, children: t });
1972
+ return (0, jt.jsx)("h1", { className: a, children: t });
1846
1973
  case "md":
1847
1974
  default:
1848
- return (0, Et.jsx)("h3", { className: a, children: t });
1975
+ return (0, jt.jsx)("h3", { className: a, children: t });
1849
1976
  }
1850
1977
  };
1851
- var en = od;
1852
- var tn = require("@transferwise/components");
1853
- var or = require("react/jsx-runtime");
1854
- var rn = ({ component: e }) => {
1978
+ var un = kd;
1979
+ var pn = require("@transferwise/components");
1980
+ var lr = require("react/jsx-runtime");
1981
+ var fn = ({ component: e }) => {
1855
1982
  let { content: t, align: r, margin: o } = e;
1856
- return (0, or.jsx)("div", { className: Ne({ align: r, margin: o }), children: (0, or.jsx)(tn.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1983
+ return (0, lr.jsx)("div", { className: Ne({ align: r, margin: o }), children: (0, lr.jsx)(pn.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1857
1984
  };
1858
- var on = ({ component: e }) => (0, or.jsx)("div", { className: Ne(e), children: (0, or.jsx)(tn.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1859
- var as = require("@transferwise/components");
1860
- var qr = require("react");
1861
- var nn = require("react/jsx-runtime");
1862
- var nd = ({ component: e }) => {
1863
- let { url: t, size: r, text: o, margin: n, accessibilityDescription: a } = e, s = ee(), [c, p] = (0, qr.useState)("");
1864
- (0, qr.useEffect)(() => {
1865
- id(s, t).then(p);
1985
+ var yn = ({ component: e }) => (0, lr.jsx)("div", { className: Ne(e), children: (0, lr.jsx)(pn.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1986
+ var xs = require("@transferwise/components");
1987
+ var Yr = require("react");
1988
+ var hn = require("react/jsx-runtime");
1989
+ var Ed = ({ component: e }) => {
1990
+ let { url: t, size: r, text: o, margin: n, accessibilityDescription: a } = e, s = ee(), [c, u] = (0, Yr.useState)("");
1991
+ (0, Yr.useEffect)(() => {
1992
+ Dd(s, t).then(u);
1866
1993
  }, [t, s]);
1867
1994
  let m = { alt: a || o || "", src: c, stretch: true, shrink: true };
1868
- return c ? (0, nn.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, nn.jsx)(as.Image, i({ className: `img-responsive ${U(n || "md")}` }, m)) }) : null;
1995
+ return c ? (0, hn.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, hn.jsx)(xs.Image, i({ className: `img-responsive ${U(n || "md")}` }, m)) }) : null;
1869
1996
  };
1870
- var ad = (e) => new Promise((t, r) => {
1997
+ var Id = (e) => new Promise((t, r) => {
1871
1998
  let o = new FileReader();
1872
1999
  o.addEventListener("loadend", () => t(o.result)), o.addEventListener("error", (n) => r(n)), o.readAsDataURL(e);
1873
2000
  });
1874
- var id = async (e, t) => {
2001
+ var Dd = async (e, t) => {
1875
2002
  var r;
1876
2003
  try {
1877
- return Sr(t) || (t == null ? void 0 : t.indexOf(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`)) === 0 ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((o) => {
2004
+ return Or(t) || (t == null ? void 0 : t.indexOf(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`)) === 0 ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((o) => {
1878
2005
  if (o.ok)
1879
2006
  return o.blob();
1880
2007
  throw new Error("Image fetching failed");
1881
- }).then(ad).catch(() => t) : t;
2008
+ }).then(Id).catch(() => t) : t;
1882
2009
  } catch (o) {
1883
2010
  return t;
1884
2011
  }
1885
2012
  };
1886
- var an = nd;
1887
- var Gr = require("@transferwise/components");
1888
- var nr = require("react/jsx-runtime");
1889
- var sd = ["positive", "neutral"];
1890
- var ld = ["warning", "negative"];
1891
- var cd = ({ component: e }) => {
1892
- let { items: t } = e, r = t.filter((n) => sd.includes(n.context)).map(({ text: n }) => n), o = t.filter((n) => ld.includes(n.context)).map(({ text: n }) => n);
1893
- return (0, nr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, nr.jsx)(Gr.Header, { title: e.title }) : null, (0, nr.jsx)(Gr.InstructionsList, { dos: r, donts: o })] });
1894
- };
1895
- var sn = cd;
1896
- var H = require("react/jsx-runtime");
1897
- var X = (e) => JSON.stringify(e);
1898
- var md = (e) => {
1899
- let { components: t, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c, baseUrl: p } = e, m = (d) => {
2013
+ var gn = Ed;
2014
+ var Zr = require("@transferwise/components");
2015
+ var cr = require("react/jsx-runtime");
2016
+ var Ld = ["positive", "neutral"];
2017
+ var Td = ["warning", "negative"];
2018
+ var Nd = ({ component: e }) => {
2019
+ let { items: t } = e, r = t.filter((n) => Ld.includes(n.context)).map(({ text: n }) => n), o = t.filter((n) => Td.includes(n.context)).map(({ text: n }) => n);
2020
+ return (0, cr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, cr.jsx)(Zr.Header, { title: e.title }) : null, (0, cr.jsx)(Zr.InstructionsList, { dos: r, donts: o })] });
2021
+ };
2022
+ var Sn = Nd;
2023
+ var q = require("react/jsx-runtime");
2024
+ var Y = (e) => JSON.stringify(e);
2025
+ var Rd = (e) => {
2026
+ let { components: t, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c, baseUrl: u } = e, m = (d) => {
1900
2027
  switch (d.type) {
1901
2028
  case "heading":
1902
- return (0, H.jsx)(en, { component: d }, X(d));
2029
+ return (0, q.jsx)(un, { component: d }, Y(d));
1903
2030
  case "paragraph":
1904
- return (0, H.jsx)(cn, { component: d }, X(d));
2031
+ return (0, q.jsx)(wn, { component: d }, Y(d));
1905
2032
  case "image":
1906
- return (0, H.jsx)(an, { component: d }, X(d));
2033
+ return (0, q.jsx)(gn, { component: d }, Y(d));
1907
2034
  case "alert":
1908
- return (0, H.jsx)(se, { component: d }, X(d));
2035
+ return (0, q.jsx)(se, { component: d }, Y(d));
1909
2036
  case "review":
1910
- return (0, H.jsx)(mn, { component: d, onAction: s }, X(d));
2037
+ return (0, q.jsx)(Fn, { component: d, onAction: s }, Y(d));
1911
2038
  case "divider":
1912
- return (0, H.jsx)(Do, { component: d }, X(d));
2039
+ return (0, q.jsx)(Uo, { component: d }, Y(d));
1913
2040
  case "info":
1914
- return (0, H.jsx)(on, { component: d }, X(d));
2041
+ return (0, q.jsx)(yn, { component: d }, Y(d));
1915
2042
  case "instructions":
1916
- return (0, H.jsx)(sn, { component: d }, X(d));
2043
+ return (0, q.jsx)(Sn, { component: d }, Y(d));
1917
2044
  case "markdown":
1918
- return (0, H.jsx)(rn, { component: d }, X(d));
2045
+ return (0, q.jsx)(fn, { component: d }, Y(d));
1919
2046
  case "columns":
1920
- return (0, H.jsx)(ko, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, X(d));
2047
+ return (0, q.jsx)(Vo, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, Y(d));
1921
2048
  case "form":
1922
- return (0, H.jsx)(Qo, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onPersistAsync: c }, X(S(i({}, d), { errors: n != null ? n : null })));
2049
+ return (0, q.jsx)(dn, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onPersistAsync: c }, Y(b(i({}, d), { errors: n != null ? n : null })));
1923
2050
  case "button":
1924
- return (0, H.jsx)(Mo, { component: d, onAction: s }, X(d));
2051
+ return (0, q.jsx)(Bo, { component: d, onAction: s }, Y(d));
1925
2052
  case "box":
1926
- return (0, H.jsx)(Ao, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, X(d));
2053
+ return (0, q.jsx)(Ro, { component: d, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, Y(d));
1927
2054
  case "decision":
1928
- return (0, H.jsx)(Eo, { component: d, onAction: s }, X(d));
2055
+ return (0, q.jsx)(jo, { component: d, onAction: s }, Y(d));
1929
2056
  case "external":
1930
- return (0, H.jsx)(Io, { component: d, onAction: s }, X(d));
2057
+ return (0, q.jsx)(zo, { component: d, onAction: s }, Y(d));
1931
2058
  case "list":
1932
2059
  case "status-list":
1933
- return (0, H.jsx)(ln, { component: d, onAction: s }, X(d));
2060
+ return (0, q.jsx)(bn, { component: d, onAction: s }, Y(d));
1934
2061
  case "loading-indicator":
1935
- return (0, H.jsx)(ar, { component: d }, X(d));
2062
+ return (0, q.jsx)(mr, { component: d }, Y(d));
1936
2063
  case "search":
1937
- return (0, H.jsx)(dn, { component: d, onAction: s }, X(d));
2064
+ return (0, q.jsx)(Cn, { component: d, onAction: s }, Y(d));
1938
2065
  default:
1939
- return (0, H.jsx)("div", {}, X(d));
2066
+ return (0, q.jsx)("div", {}, Y(d));
1940
2067
  }
1941
2068
  };
1942
- return xr() || p == null ? (0, H.jsx)(H.Fragment, { children: t.map(m) }) : (0, H.jsx)(Fr, { baseUrl: p, children: t.map(m) });
1943
- };
1944
- var le = md;
1945
- var is = require("@transferwise/components");
1946
- var Dt = require("react/jsx-runtime");
1947
- var dd = ({ component: e }) => (0, Dt.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, Dt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(ud)] });
1948
- var ud = ({ title: e, description: t, icon: r, status: o }) => {
1949
- let n = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Dt.jsx)(Ke, { type: r.name }) } : {}), o ? { status: yd[o] } : {});
1950
- return (0, Dt.jsx)(is.Summary, i({}, n));
1951
- };
1952
- var pd = { done: "done", pending: "pending", "not-done": "notDone" };
1953
- var fd = { positive: "done", warning: "pending", neutral: "notDone" };
1954
- var yd = i(i({}, pd), fd);
1955
- var ln = dd;
1956
- var ss = require("@transferwise/components");
1957
- var ls = require("react/jsx-runtime");
1958
- var hd = ({ component: e }) => {
2069
+ return Mr() || u == null ? (0, q.jsx)(q.Fragment, { children: t.map(m) }) : (0, q.jsx)(Pr, { baseUrl: u, children: t.map(m) });
2070
+ };
2071
+ var le = Rd;
2072
+ var Os = require("@transferwise/components");
2073
+ var Ut = require("react/jsx-runtime");
2074
+ var Bd = ({ component: e }) => (0, Ut.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, Ut.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(Vd)] });
2075
+ var Vd = ({ title: e, description: t, icon: r, status: o }) => {
2076
+ let n = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Ut.jsx)(Je, { type: r.name }) } : {}), o ? { status: zd[o] } : {});
2077
+ return (0, Ut.jsx)(Os.Summary, i({}, n));
2078
+ };
2079
+ var jd = { done: "done", pending: "pending", "not-done": "notDone" };
2080
+ var Ud = { positive: "done", warning: "pending", neutral: "notDone" };
2081
+ var zd = i(i({}, jd), Ud);
2082
+ var bn = Bd;
2083
+ var vs = require("@transferwise/components");
2084
+ var As = require("react/jsx-runtime");
2085
+ var Hd = ({ component: e }) => {
1959
2086
  let { margin: t, size: r = "md" } = e;
1960
- return (0, ls.jsx)(ss.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${U(t)}` }, "data-testid": "loading-indicator" });
1961
- };
1962
- var ar = hd;
1963
- var ps = require("@transferwise/components");
1964
- var fs = require("react-intl");
1965
- var cs = require("react-intl");
1966
- var un = (0, cs.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
1967
- var ms = require("@transferwise/components");
1968
- var ds = require("react");
1969
- function us() {
1970
- let e = (0, ds.useContext)(ms.SnackbarContext);
1971
- return e ? e.createSnackbar : gd;
1972
- }
1973
- function gd() {
1974
- }
1975
- var Ye = require("react/jsx-runtime");
1976
- var bd = ({ component: e }) => e.control === "copyable" ? (0, Ye.jsx)(wd, { component: e }) : (0, Ye.jsx)(Sd, { component: e });
1977
- var Sd = ({ component: e }) => (0, Ye.jsxs)("p", { className: Ne(e), children: [" ", e.text, " "] });
1978
- var wd = ({ component: e }) => {
1979
- let { formatMessage: t } = (0, fs.useIntl)(), r = us(), { text: o } = e, n = () => {
2087
+ return (0, As.jsx)(vs.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${U(t)}` }, "data-testid": "loading-indicator" });
2088
+ };
2089
+ var mr = Hd;
2090
+ var Is = require("@transferwise/components");
2091
+ var Ds = require("react-intl");
2092
+ var Ps = require("react-intl");
2093
+ var xn = (0, Ps.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
2094
+ var Ms = require("@transferwise/components");
2095
+ var ks = require("react");
2096
+ function Es() {
2097
+ let e = (0, ks.useContext)(Ms.SnackbarContext);
2098
+ return e ? e.createSnackbar : qd;
2099
+ }
2100
+ function qd() {
2101
+ }
2102
+ var Qe = require("react/jsx-runtime");
2103
+ var Gd = ({ component: e }) => e.control === "copyable" ? (0, Qe.jsx)(_d, { component: e }) : (0, Qe.jsx)($d, { component: e });
2104
+ var $d = ({ component: e }) => (0, Qe.jsxs)("p", { className: Ne(e), children: [" ", e.text, " "] });
2105
+ var _d = ({ component: e }) => {
2106
+ let { formatMessage: t } = (0, Ds.useIntl)(), r = Es(), { text: o } = e, n = () => {
1980
2107
  var s;
1981
- (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(un.copied) })).catch(Cd);
2108
+ (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(xn.copied) })).catch(Wd);
1982
2109
  }, a = Ne({ align: e.align, margin: "sm" }) + " form-control";
1983
- return (0, Ye.jsxs)("div", { className: Ne(e), children: [(0, Ye.jsx)("input", { type: "text", className: a, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Ye.jsx)(ps.Button, { block: true, onClick: n, children: t(un.copy) })] });
2110
+ return (0, Qe.jsxs)("div", { className: Ne(e), children: [(0, Qe.jsx)("input", { type: "text", className: a, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Qe.jsx)(Is.Button, { block: true, onClick: n, children: t(xn.copy) })] });
1984
2111
  };
1985
- function Cd() {
2112
+ function Wd() {
1986
2113
  }
1987
- var cn = bd;
1988
- var ys = require("@transferwise/components");
2114
+ var wn = Gd;
2115
+ var Ls = require("@transferwise/components");
1989
2116
  var ne = require("react/jsx-runtime");
1990
- var Fd = (e, t) => t.fields.map(({ label: r, value: o, help: n }, a) => ({ key: String(a), title: r, value: xd(o, n, e) }));
1991
- var xd = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0, ne.jsxs)(ne.Fragment, { children: [(0, ne.jsx)(je, { help: t }), " ", e] }) : (0, ne.jsxs)(ne.Fragment, { children: [e, " ", (0, ne.jsx)(je, { help: t })] }) : e;
1992
- var Od = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1993
- var vd = (e) => {
2117
+ var Kd = (e, t) => t.fields.map(({ label: r, value: o, help: n }, a) => ({ key: String(a), title: r, value: Jd(o, n, e) }));
2118
+ var Jd = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0, ne.jsxs)(ne.Fragment, { children: [(0, ne.jsx)(je, { help: t }), " ", e] }) : (0, ne.jsxs)(ne.Fragment, { children: [e, " ", (0, ne.jsx)(je, { help: t })] }) : e;
2119
+ var Xd = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
2120
+ var Yd = (e) => {
1994
2121
  let t = e.component, r = U(t.margin || "xs"), o = (a) => (0, ne.jsx)("a", { href: a.url, className: "pull-right", role: "button", onClick: (s) => {
1995
2122
  s.preventDefault(), e.onAction(a);
1996
- }, children: a.title }), n = Od(t);
1997
- return (0, ne.jsxs)(ne.Fragment, { children: [t.title && (0, ne.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, ne.jsx)("div", { className: r, children: (0, ne.jsx)(ys.DefinitionList, { layout: n, definitions: Fd(n, t) }) })] });
1998
- };
1999
- var mn = vd;
2000
- var Wr = require("react");
2001
- var hs = require("@transferwise/components");
2002
- var _r = require("react/jsx-runtime");
2003
- var gs = ({ title: e, value: t, onChange: r }) => (0, _r.jsxs)("label", { className: "control-label d-inline", children: [e, (0, _r.jsx)(hs.Input, { type: "text", value: t, onChange: (o) => r(o.currentTarget.value) })] });
2004
- var $r = require("@transferwise/components");
2005
- var Ss = require("react-intl");
2006
- var bs = require("react-intl");
2007
- var It = (0, bs.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong." }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Usually this follows the generic error and contains a link." } });
2008
- var mt = require("react/jsx-runtime");
2009
- var ws = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0, mt.jsx)("p", { className: "m-t-2", children: t }) : (0, mt.jsx)($r.NavigationOptionsList, { children: e.map((o) => (0, mt.jsx)($r.NavigationOption, { title: o.title, content: o.description, media: Jt(o), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => r(o) }, JSON.stringify(o))) });
2010
- var Cs = ({ onRetrySearch: e }) => {
2011
- let t = (0, Ss.useIntl)();
2012
- return (0, mt.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(It.errorAlert), "\xA0", (0, mt.jsx)("a", { href: "/", onClick: (r) => {
2123
+ }, children: a.title }), n = Xd(t);
2124
+ return (0, ne.jsxs)(ne.Fragment, { children: [t.title && (0, ne.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, ne.jsx)("div", { className: r, children: (0, ne.jsx)(Ls.DefinitionList, { layout: n, definitions: Kd(n, t) }) })] });
2125
+ };
2126
+ var Fn = Yd;
2127
+ var to = require("react");
2128
+ var Ts = require("@transferwise/components");
2129
+ var Qr = require("react/jsx-runtime");
2130
+ var Ns = ({ title: e, value: t, onChange: r }) => (0, Qr.jsxs)("label", { className: "control-label d-inline", children: [e, (0, Qr.jsx)(Ts.Input, { type: "text", value: t, onChange: (o) => r(o.currentTarget.value) })] });
2131
+ var eo = require("@transferwise/components");
2132
+ var Bs = require("react-intl");
2133
+ var Rs = require("react-intl");
2134
+ var zt = (0, Rs.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong." }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Usually this follows the generic error and contains a link." } });
2135
+ var ht = require("react/jsx-runtime");
2136
+ var Vs = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0, ht.jsx)("p", { className: "m-t-2", children: t }) : (0, ht.jsx)(eo.NavigationOptionsList, { children: e.map((o) => (0, ht.jsx)(eo.NavigationOption, { title: o.title, content: o.description, media: lt(o), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => r(o) }, JSON.stringify(o))) });
2137
+ var js = ({ onRetrySearch: e }) => {
2138
+ let t = (0, Bs.useIntl)();
2139
+ return (0, ht.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(zt.errorAlert), "\xA0", (0, ht.jsx)("a", { href: "/", onClick: (r) => {
2013
2140
  r.preventDefault(), e();
2014
- }, children: t.formatMessage(It.retry) })] });
2015
- };
2016
- var Lt = require("react");
2017
- var Pd = { "Content-Type": "application/json" };
2018
- var Fs = (e) => {
2019
- let [t, r] = (0, Lt.useState)({ status: "idle" }), o = (0, Lt.useRef)(null), n = ee(), a = (0, Lt.useCallback)(async (m, { url: d, method: h, param: f } = e) => {
2020
- var u;
2021
- if ((u = o.current) == null || u.abort(), !m) {
2141
+ }, children: t.formatMessage(zt.retry) })] });
2142
+ };
2143
+ var Ht = require("react");
2144
+ var Zd = { "Content-Type": "application/json" };
2145
+ var Us = (e) => {
2146
+ let [t, r] = (0, Ht.useState)({ status: "idle" }), o = (0, Ht.useRef)(null), n = ee(), a = (0, Ht.useCallback)(async (m, { url: d, method: g, param: f } = e) => {
2147
+ var p;
2148
+ if ((p = o.current) == null || p.abort(), !m) {
2022
2149
  r({ status: "idle" });
2023
2150
  return;
2024
2151
  }
@@ -2026,199 +2153,199 @@ var require_main_min = __commonJS({
2026
2153
  let l = o.current.signal;
2027
2154
  r({ status: "loading" });
2028
2155
  try {
2029
- let y = h === "GET" ? `${d}?${f}=${encodeURIComponent(m)}` : d, g = h === "GET" ? {} : { body: JSON.stringify({ [f]: m }) }, b = await n(y, i({ method: h, signal: l, headers: Pd }, g));
2030
- s(b, m);
2156
+ let y = g === "GET" ? `${d}?${f}=${encodeURIComponent(m)}` : d, S = g === "GET" ? {} : { body: JSON.stringify({ [f]: m }) }, h = await n(y, i({ method: g, signal: l, headers: Zd }, S));
2157
+ s(h, m);
2031
2158
  } catch (y) {
2032
2159
  c(y, m);
2033
2160
  }
2034
2161
  }, [n, JSON.stringify(e)]), s = async (m, d) => {
2035
2162
  if (m.ok) {
2036
- let h = await m.json().catch(() => null);
2037
- if (Ad(h)) {
2038
- r({ status: "success", results: h.results });
2163
+ let g = await m.json().catch(() => null);
2164
+ if (Qd(g)) {
2165
+ r({ status: "success", results: g.results });
2039
2166
  return;
2040
2167
  }
2041
2168
  }
2042
2169
  r({ status: "error" });
2043
2170
  }, c = (m, d) => {
2044
- Md(m) === false && r({ status: "error" });
2045
- }, p = t.status === "success" ? t.results : [];
2046
- return { status: t.status, results: p, search: a };
2047
- };
2048
- var Ad = (e) => T(e) && "results" in e && q(e.results) && e.results.every((t) => T(t) && "title" in t && "type" in t && "value" in t);
2049
- var Md = (e) => e instanceof DOMException && e.name === "AbortError";
2050
- var dt = require("react/jsx-runtime");
2051
- var kd = 400;
2052
- var Ed = ({ component: e, onAction: t }) => {
2053
- let [r, o] = (0, Wr.useState)(""), { title: n, margin: a, url: s, method: c, param: p, emptyMessage: m } = e, { status: d, results: h, search: f } = Fs({ url: s, method: c, param: p }), l = (0, Wr.useMemo)(() => $e(f, kd), [f]), u = (b) => {
2054
- o(b), l(b);
2055
- }, y = ({ type: b, value: x }) => {
2056
- if (b === "action" && t(x), b === "search") {
2057
- o(x.query);
2058
- let { url: F, method: v, param: P, query: w } = x;
2059
- f(w, { url: F, method: v, param: P });
2171
+ eu(m) === false && r({ status: "error" });
2172
+ }, u = t.status === "success" ? t.results : [];
2173
+ return { status: t.status, results: u, search: a };
2174
+ };
2175
+ var Qd = (e) => L(e) && "results" in e && z(e.results) && e.results.every((t) => L(t) && "title" in t && "type" in t && "value" in t);
2176
+ var eu = (e) => e instanceof DOMException && e.name === "AbortError";
2177
+ var gt = require("react/jsx-runtime");
2178
+ var tu = 400;
2179
+ var ru = ({ component: e, onAction: t }) => {
2180
+ let [r, o] = (0, to.useState)(""), { title: n, margin: a, url: s, method: c, param: u, emptyMessage: m } = e, { status: d, results: g, search: f } = Us({ url: s, method: c, param: u }), l = (0, to.useMemo)(() => We(f, tu), [f]), p = (h) => {
2181
+ o(h), l(h);
2182
+ }, y = ({ type: h, value: F }) => {
2183
+ if (h === "action" && t(F), h === "search") {
2184
+ o(F.query);
2185
+ let { url: w, method: v, param: A, query: C } = F;
2186
+ f(C, { url: w, method: v, param: A });
2060
2187
  }
2061
- }, g = () => {
2188
+ }, S = () => {
2062
2189
  o(r), f(r);
2063
2190
  };
2064
- return (0, dt.jsxs)("div", { className: U(a), children: [(0, dt.jsx)(gs, { title: n, value: r, onChange: u }), d === "loading" && (0, dt.jsx)(ar, { component: { type: "loading-indicator", size: "sm" } }), d === "error" && (0, dt.jsx)(Cs, { onRetrySearch: g }), d === "success" && (0, dt.jsx)(ws, { results: h, emptyMessage: m, onSelect: y })] });
2191
+ return (0, gt.jsxs)("div", { className: U(a), children: [(0, gt.jsx)(Ns, { title: n, value: r, onChange: p }), d === "loading" && (0, gt.jsx)(mr, { component: { type: "loading-indicator", size: "sm" } }), d === "error" && (0, gt.jsx)(js, { onRetrySearch: S }), d === "success" && (0, gt.jsx)(Vs, { results: g, emptyMessage: m, onSelect: y })] });
2065
2192
  };
2066
- var dn = Ed;
2193
+ var Cn = ru;
2067
2194
  var me = require("react/jsx-runtime");
2068
- var pn = (e) => M(e) || K(e);
2069
- var Dd = (e) => e.type === "boolean" && pn(e.default) ? false : e.default;
2070
- var Os = (e) => {
2071
- var G, O, j;
2195
+ var On = (e) => M(e) || J(e);
2196
+ var ou = (e) => e.type === "boolean" && On(e.default) ? false : e.default;
2197
+ var Hs = (e) => {
2198
+ var G, O, V;
2072
2199
  let t = (k) => {
2073
2200
  f(true), o(n(k), "user");
2074
- }, r = (k) => _e(k, e.schema, e.required), o = (k, z) => {
2075
- p(k);
2076
- let Fe = r(k);
2077
- x(Fe);
2201
+ }, r = (k) => _e(k, e.schema, e.required), o = (k, H) => {
2202
+ u(k);
2203
+ let Oe = r(k);
2204
+ F(Oe);
2078
2205
  let ae = k;
2079
- d(ae), ae !== m && e.onChange({ model: ae, triggerSchema: e.schema, triggerModel: ae, lastTriggerModel: m, type: z });
2080
- }, n = (k) => Ee(k, e.schema), a = () => u(true), s = () => {
2081
- u(false), g(true), e.onBlur && e.onBlur();
2082
- }, [c, p] = (0, ce.useState)((G = e.model) != null ? G : null), [m, d] = (0, ce.useState)((O = e.model) != null ? O : null), [h, f] = (0, ce.useState)(false), [l, u] = (0, ce.useState)(false), [y, g] = (0, ce.useState)(false), [b, x] = (0, ce.useState)([]), F = (0, ce.useMemo)(() => e.schema.$id || ve(), [e.schema.$id]), v = () => {
2083
- let k = Dd(e.schema);
2084
- pn(c) && !pn(k) && o(k, "init"), e.schema.const && o(e.schema.const, "init");
2085
- }, P = () => {
2086
- x(r(c));
2087
- }, w = e.schema.const, I = e.schema.hidden || w;
2088
- (0, ce.useEffect)(P, [e.model, e.submitted]), (0, ce.useEffect)(v, [e.schema]), (0, ce.useEffect)(() => {
2089
- var z;
2090
- let k = (z = e.model) != null ? z : null;
2091
- k !== c && p(k);
2206
+ d(ae), ae !== m && e.onChange({ model: ae, triggerSchema: e.schema, triggerModel: ae, lastTriggerModel: m, type: H });
2207
+ }, n = (k) => $e(k, e.schema), a = () => p(true), s = () => {
2208
+ p(false), S(true), e.onBlur && e.onBlur();
2209
+ }, [c, u] = (0, ce.useState)((G = e.model) != null ? G : null), [m, d] = (0, ce.useState)((O = e.model) != null ? O : null), [g, f] = (0, ce.useState)(false), [l, p] = (0, ce.useState)(false), [y, S] = (0, ce.useState)(false), [h, F] = (0, ce.useState)([]), w = (0, ce.useMemo)(() => e.schema.$id || Me(), [e.schema.$id]), v = () => {
2210
+ let k = ou(e.schema);
2211
+ On(c) && !On(k) && o(k, "init"), e.schema.const && o(e.schema.const, "init");
2212
+ }, A = () => {
2213
+ F(r(c));
2214
+ }, C = e.schema.const, D = e.schema.hidden || C;
2215
+ (0, ce.useEffect)(A, [e.model, e.submitted]), (0, ce.useEffect)(v, [e.schema]), (0, ce.useEffect)(() => {
2216
+ var H;
2217
+ let k = (H = e.model) != null ? H : null;
2218
+ k !== c && u(k);
2092
2219
  }, [e.model]);
2093
- let N = { "form-group": true, "has-error": (e.submitted || !h) && !!e.errors || (e.submitted || h && y) && !!b.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, A = e.schema.format !== "file" && e.schema.type !== "boolean", L = e.schema.help;
2094
- return I ? null : (0, me.jsxs)(me.Fragment, { children: [e.schema.alert && (0, me.jsx)(se, { component: e.schema.alert }), (0, me.jsxs)("div", { className: (0, xs.default)(N), children: [A && (0, me.jsxs)("div", { className: "d-inline-block", children: [(0, me.jsx)("label", { className: "control-label d-inline", htmlFor: F, children: e.schema.title }), !!L && (0, me.jsx)(je, { help: L })] }), !A && !!L && (0, me.jsx)(je, { help: L }), (0, me.jsx)(Zt, { id: F, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: a, onBlur: s }), (0, me.jsx)(Re, { changed: h, focused: l, blurred: y, submitted: e.submitted, errors: (j = e.errors) != null ? j : null, schema: e.schema, validations: b, infoMessage: e.infoMessage })] })] });
2095
- };
2096
- Os.defaultProps = { required: false, disabled: false, onBlur: null };
2097
- var lt = Os;
2098
- var Ms = require("react/jsx-runtime");
2099
- var Go = (e, t) => t[e];
2100
- var Ps = (e, t) => {
2220
+ let T = { "form-group": true, "has-error": (e.submitted || !g) && !!e.errors || (e.submitted || g && y) && !!h.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, P = e.schema.format !== "file" && e.schema.type !== "boolean", N = e.schema.help;
2221
+ return D ? null : (0, me.jsxs)(me.Fragment, { children: [e.schema.alert && (0, me.jsx)(se, { component: e.schema.alert }), (0, me.jsxs)("div", { className: (0, zs.default)(T), children: [P && (0, me.jsxs)("div", { className: "d-inline-block", children: [(0, me.jsx)("label", { className: "control-label d-inline", htmlFor: w, children: e.schema.title }), !!N && (0, me.jsx)(je, { help: N })] }), !P && !!N && (0, me.jsx)(je, { help: N }), (0, me.jsx)(nr, { id: w, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: a, onBlur: s }), (0, me.jsx)(Be, { changed: g, focused: l, blurred: y, submitted: e.submitted, errors: (V = e.errors) != null ? V : null, schema: e.schema, validations: h, infoMessage: e.infoMessage })] })] });
2222
+ };
2223
+ Hs.defaultProps = { required: false, disabled: false, onBlur: null };
2224
+ var ft = Hs;
2225
+ var _s = require("react/jsx-runtime");
2226
+ var tn = (e, t) => t[e];
2227
+ var Gs = (e, t) => {
2101
2228
  var r;
2102
2229
  return (r = t.validation) == null ? void 0 : r[e];
2103
2230
  };
2104
- var Id = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
2105
- var As = (e) => {
2106
- let { schema: t, required: r, submitted: o, errors: n, onChange: a, onPersistAsync: s } = e, c = (0, vs.useIntl)(), p = ee(), m = Q(), [d, h] = (0, ut.useState)(null), f = ks(d), [l, u] = (0, ut.useState)(null), [y, g] = (0, ut.useState)(false), [b, x] = (0, ut.useState)(null);
2107
- (0, ut.useEffect)(() => {
2108
- Id.has(Uo(t.persistAsync.schema)) && w();
2231
+ var nu = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
2232
+ var $s = (e) => {
2233
+ let { schema: t, required: r, submitted: o, errors: n, onChange: a, onPersistAsync: s } = e, c = (0, qs.useIntl)(), u = ee(), m = Q(), [d, g] = (0, St.useState)(null), f = Ws(d), [l, p] = (0, St.useState)(null), [y, S] = (0, St.useState)(false), [h, F] = (0, St.useState)(null);
2234
+ (0, St.useEffect)(() => {
2235
+ nu.has(Yo(t.persistAsync.schema)) && C();
2109
2236
  }, [d]);
2110
- let F = () => u(c.formatMessage(Wt.genericError)), v = async (A, L) => {
2111
- let G = P(), O = { [L.param]: A };
2112
- g(true);
2237
+ let w = () => p(c.formatMessage(Qt.genericError)), v = async (P, N) => {
2238
+ let G = A(), O = { [N.param]: P };
2239
+ S(true);
2113
2240
  try {
2114
2241
  m("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t.$id });
2115
- let j = p(L.url, { method: L.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(O), signal: G });
2116
- s(j);
2117
- let k = await j, z = await k.json();
2118
- if (!T(z))
2242
+ let V = u(N.url, { method: N.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(O), signal: G });
2243
+ s(V);
2244
+ let k = await V, H = await k.json();
2245
+ if (!L(H))
2119
2246
  throw new Error("Response is not an object");
2120
- let { idProperty: Fe, param: ae } = t.persistAsync;
2121
- if (qn(k.status)) {
2122
- let re = Go(Fe, z);
2247
+ let { idProperty: Oe, param: ae } = t.persistAsync;
2248
+ if (Qn(k.status)) {
2249
+ let re = tn(Oe, H);
2123
2250
  a({ model: re, triggerSchema: t, triggerModel: re });
2124
- } else if (br(k.status)) {
2125
- let { validation: re } = z, de = T(re) && (re == null ? void 0 : re[ae]) || null;
2126
- u(de), a({ model: null, triggerSchema: t, triggerModel: null });
2251
+ } else if (xr(k.status)) {
2252
+ let { validation: re } = H, de = L(re) && (re == null ? void 0 : re[ae]) || null;
2253
+ p(de), a({ model: null, triggerSchema: t, triggerModel: null });
2127
2254
  } else
2128
- F();
2255
+ w();
2129
2256
  m("Dynamic Flow - PersistAsync", { status: "success", schemaId: t.$id });
2130
- } catch (j) {
2131
- m("Dynamic Flow - PersistAsync", { status: "failure", schemaId: t.$id }), F();
2257
+ } catch (V) {
2258
+ m("Dynamic Flow - PersistAsync", { status: "failure", schemaId: t.$id }), w();
2132
2259
  }
2133
- }, P = () => {
2134
- b && b.abort();
2135
- let A = new AbortController();
2136
- return x(A), A.signal;
2137
- }, w = () => {
2138
- !M(d) && !We(d, f) && v(d, t.persistAsync);
2139
- }, I = () => {
2140
- w();
2141
- }, N = ({ model: A }) => {
2142
- u(null), _(A, t.persistAsync.schema) && h(A);
2260
+ }, A = () => {
2261
+ h && h.abort();
2262
+ let P = new AbortController();
2263
+ return F(P), P.signal;
2264
+ }, C = () => {
2265
+ !M(d) && !Ke(d, f) && v(d, t.persistAsync);
2266
+ }, D = () => {
2267
+ C();
2268
+ }, T = ({ model: P }) => {
2269
+ p(null), _(P, t.persistAsync.schema) && g(P);
2143
2270
  };
2144
- return (0, Ms.jsx)(lt, { required: r, submitted: o || y, schema: t.persistAsync.schema, errors: l || n, model: null, infoMessage: null, onChange: N, onBlur: I });
2271
+ return (0, _s.jsx)(ft, { required: r, submitted: o || y, schema: t.persistAsync.schema, errors: l || n, model: null, infoMessage: null, onChange: T, onBlur: D });
2145
2272
  };
2146
- As.defaultProps = { required: false };
2147
- var Ho = As;
2148
- var di = (e) => {
2149
- let [t, r] = (0, Es.useState)(null), o = ee(), n = (0, Ds.useIntl)(), { schema: a } = e;
2273
+ $s.defaultProps = { required: false };
2274
+ var Qo = $s;
2275
+ var wi = (e) => {
2276
+ let [t, r] = (0, Ks.useState)(null), o = ee(), n = (0, Js.useIntl)(), { schema: a } = e;
2150
2277
  async function s(f) {
2151
- let l = f instanceof Blob ? !wt(a) : !_(f, a);
2152
- return (M(f) || l) && h(), await m(f);
2278
+ let l = f instanceof Blob ? !Pt(a) : !_(f, a);
2279
+ return (M(f) || l) && g(), await m(f);
2153
2280
  }
2154
2281
  let c = () => {
2155
2282
  t && t.abort();
2156
2283
  let f = new AbortController();
2157
2284
  return r(f), f.signal;
2158
2285
  };
2159
- function p(f) {
2160
- let l = wt(a), u = c(), y = e.param, g = l ? Ld(y, f) : JSON.stringify({ [y]: f });
2161
- return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: g, signal: u };
2286
+ function u(f) {
2287
+ let l = Pt(a), p = c(), y = e.param, S = l ? au(y, f) : JSON.stringify({ [y]: f });
2288
+ return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: S, signal: p };
2162
2289
  }
2163
2290
  async function m(f) {
2164
2291
  try {
2165
- let l = await o(e.url, p(f));
2292
+ let l = await o(e.url, u(f));
2166
2293
  if (!l.ok)
2167
2294
  return d(l);
2168
- let u = await l.json();
2169
- if (T(u)) {
2170
- let y = u[e.idProperty];
2171
- if (D(y) || R(y))
2295
+ let p = await l.json();
2296
+ if (L(p)) {
2297
+ let y = p[e.idProperty];
2298
+ if (E(y) || R(y))
2172
2299
  return { data: y };
2173
2300
  }
2174
- return h();
2301
+ return g();
2175
2302
  } catch (l) {
2176
- return h(l);
2303
+ return g(l);
2177
2304
  }
2178
2305
  }
2179
2306
  async function d(f) {
2180
2307
  if (f.status === 422) {
2181
2308
  let l = await f.json();
2182
- if (T(l)) {
2183
- let u = Ps(e.param, l);
2184
- if (D(u))
2185
- throw new Error(u);
2309
+ if (L(l)) {
2310
+ let p = Gs(e.param, l);
2311
+ if (E(p))
2312
+ throw new Error(p);
2186
2313
  }
2187
2314
  }
2188
- throw new Error(n.formatMessage(Wt.genericError));
2315
+ throw new Error(n.formatMessage(Qt.genericError));
2189
2316
  }
2190
- let h = (f) => {
2191
- let l = Nd(f) ? f.message : n.formatMessage(Wt.genericError);
2317
+ let g = (f) => {
2318
+ let l = iu(f) ? f.message : n.formatMessage(Qt.genericError);
2192
2319
  throw new Error(l);
2193
2320
  };
2194
2321
  return s;
2195
2322
  };
2196
- function Ld(e, t) {
2323
+ function au(e, t) {
2197
2324
  let r = new FormData();
2198
2325
  return t !== null && r.append(e, t), r;
2199
2326
  }
2200
- function Nd(e) {
2201
- return T(e) && "message" in e && typeof e.message == "string";
2327
+ function iu(e) {
2328
+ return L(e) && "message" in e && typeof e.message == "string";
2202
2329
  }
2203
- var Ze = require("react");
2204
- function kr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: n, onFailure: a }) {
2205
- let s = (0, Ze.useRef)(n), c = (0, Ze.useRef)(a), p = (0, Ze.useMemo)(() => Td(e, r, o, (m) => s.current(m), () => c.current()), [e, r, o]);
2206
- (0, Ze.useEffect)(() => {
2330
+ var et = require("react");
2331
+ function Nr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: n, onFailure: a }) {
2332
+ let s = (0, et.useRef)(n), c = (0, et.useRef)(a), u = (0, et.useMemo)(() => su(e, r, o, (m) => s.current(m), () => c.current()), [e, r, o]);
2333
+ (0, et.useEffect)(() => {
2207
2334
  if (t > 0) {
2208
2335
  let m = setInterval(() => {
2209
- p();
2336
+ u();
2210
2337
  }, t);
2211
2338
  return () => clearInterval(m);
2212
2339
  }
2213
- }, [p, t]), (0, Ze.useEffect)(() => {
2340
+ }, [u, t]), (0, et.useEffect)(() => {
2214
2341
  s.current = n, c.current = a;
2215
2342
  }, [n, a]);
2216
2343
  }
2217
- function Td(e, t, r, o, n) {
2344
+ function su(e, t, r, o, n) {
2218
2345
  let a = true, s = 0, c = 0;
2219
2346
  return e ? () => {
2220
- a && (c++, e().then((p) => {
2221
- s = 0, a = o(p);
2347
+ a && (c++, e().then((u) => {
2348
+ s = 0, a = o(u);
2222
2349
  }).catch(() => {
2223
2350
  s++;
2224
2351
  }).finally(() => {
@@ -2227,65 +2354,65 @@ var require_main_min = __commonJS({
2227
2354
  } : () => {
2228
2355
  };
2229
2356
  }
2230
- var Kr = require("react");
2231
- var ks = (e) => {
2232
- let t = (0, Kr.useRef)();
2233
- return (0, Kr.useEffect)(() => {
2357
+ var ro = require("react");
2358
+ var Ws = (e) => {
2359
+ let t = (0, ro.useRef)();
2360
+ return (0, ro.useEffect)(() => {
2234
2361
  t.current = e;
2235
2362
  }, [e]), t.current;
2236
2363
  };
2237
- var ir = require("react");
2238
- function Is(e, t) {
2239
- let r = ee(), o = (0, ir.useMemo)(() => {
2364
+ var dr = require("react");
2365
+ function Xs(e, t) {
2366
+ let r = ee(), o = (0, dr.useMemo)(() => {
2240
2367
  if (e)
2241
2368
  return () => r(e.url).then((a) => {
2242
2369
  if (a.ok)
2243
2370
  return a.json().then((s) => s).catch((s) => null);
2244
2371
  throw new Error("failed");
2245
2372
  });
2246
- }, [e, r]), n = (0, ir.useCallback)((a) => a != null && a.action ? (t(a.action), false) : true, [t]);
2247
- kr({ asyncFn: o, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: n, onFailure: (0, ir.useCallback)(() => {
2373
+ }, [e, r]), n = (0, dr.useCallback)((a) => a != null && a.action ? (t(a.action), false) : true, [t]);
2374
+ Nr({ asyncFn: o, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: n, onFailure: (0, dr.useCallback)(() => {
2248
2375
  e && t(e.onError.action);
2249
2376
  }, [t, e]) });
2250
2377
  }
2251
- var Ls = require("react/jsx-runtime");
2252
- var Rd = (e, t) => {
2378
+ var Ys = require("react/jsx-runtime");
2379
+ var lu = (e, t) => {
2253
2380
  var o;
2254
- if (bt(e))
2381
+ if (Ot(e))
2255
2382
  return [];
2256
- let r = jt(e, t);
2257
- return qe({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2383
+ let r = Wt(e, t);
2384
+ return Ge({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2258
2385
  };
2259
- var Bd = (e) => {
2260
- let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: n, formErrors: a, onModelChange: s } = e, c = Rd(t, r), { loading: p, registerPersistAsyncPromise: m } = hr(), d = Q(), h = p ? () => {
2386
+ var cu = (e) => {
2387
+ let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: n, formErrors: a, onModelChange: s } = e, c = lu(t, r), { loading: u, registerPersistAsyncPromise: m } = Fr(), d = Q(), g = u ? () => {
2261
2388
  d("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
2262
2389
  } : e.onAction;
2263
- return Is(t.polling, h), (0, Ls.jsx)(le, { components: c, submitted: o, model: n, errors: a, onAction: h, onModelChange: s, onPersistAsync: m });
2264
- };
2265
- var Jr = Bd;
2266
- var eo = require("react");
2267
- var we = require("react");
2268
- var rl = require("react-intl");
2269
- var ol = He(Ns());
2270
- var Ts = require("react-intl");
2271
- var lr = (0, Ts.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
2272
- var Se = require("@transferwise/components");
2273
- var Rs = require("react-intl");
2274
- var be = require("react/jsx-runtime");
2275
- var Bs = ({ onCapture: e }) => (0, be.jsx)("div", { className: "bottom-bar", children: (0, be.jsx)(jd, { onClick: e }) });
2276
- var js = ({ onSubmit: e, onRetry: t }) => {
2277
- let r = (0, Rs.useIntl)();
2278
- return (0, be.jsx)("div", { className: "bottom-bar p-x-2", children: (0, be.jsx)("div", { className: "row", children: (0, be.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, be.jsx)(Se.Button, { className: "m-b-1", block: true, size: Se.Size.MEDIUM, type: Se.ControlType.ACCENT, onClick: e, children: r.formatMessage(lr.reviewSubmit) }), (0, be.jsx)(Se.Button, { className: "m-b-2", block: true, size: Se.Size.MEDIUM, type: Se.ControlType.ACCENT, priority: Se.Priority.SECONDARY, onClick: t, children: r.formatMessage(lr.reviewRetry) })] }) }) });
2390
+ return Xs(t.polling, g), (0, Ys.jsx)(le, { components: c, submitted: o, model: n, errors: a, onAction: g, onModelChange: s, onPersistAsync: m });
2279
2391
  };
2280
- var jd = ({ onClick: e }) => (0, be.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, be.jsx)("span", { className: "camera-capture-btn-inner" }) });
2281
- var Yr = require("react");
2282
- var Vs = (e) => {
2392
+ var oo = cu;
2393
+ var lo = require("react");
2394
+ var Ce = require("react");
2395
+ var wl = require("react-intl");
2396
+ var Fl = qe(Zs());
2397
+ var Qs = require("react-intl");
2398
+ var pr = (0, Qs.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
2399
+ var Fe = require("@transferwise/components");
2400
+ var el = require("react-intl");
2401
+ var we = require("react/jsx-runtime");
2402
+ var tl = ({ onCapture: e }) => (0, we.jsx)("div", { className: "bottom-bar", children: (0, we.jsx)(mu, { onClick: e }) });
2403
+ var rl = ({ onSubmit: e, onRetry: t }) => {
2404
+ let r = (0, el.useIntl)();
2405
+ return (0, we.jsx)("div", { className: "bottom-bar p-x-2", children: (0, we.jsx)("div", { className: "row", children: (0, we.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, we.jsx)(Fe.Button, { className: "m-b-1", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, onClick: e, children: r.formatMessage(pr.reviewSubmit) }), (0, we.jsx)(Fe.Button, { className: "m-b-2", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, priority: Fe.Priority.SECONDARY, onClick: t, children: r.formatMessage(pr.reviewRetry) })] }) }) });
2406
+ };
2407
+ var mu = ({ onClick: e }) => (0, we.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, we.jsx)("span", { className: "camera-capture-btn-inner" }) });
2408
+ var ao = require("react");
2409
+ var ol = (e) => {
2283
2410
  var r;
2284
- let { facingMode: t } = ((r = Xr(e)) == null ? void 0 : r.getSettings()) || {};
2411
+ let { facingMode: t } = ((r = no(e)) == null ? void 0 : r.getSettings()) || {};
2285
2412
  return t === "user" || t === void 0;
2286
2413
  };
2287
- var Us = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2288
- var zs = async (e) => {
2414
+ var nl = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2415
+ var al = async (e) => {
2289
2416
  let t = document.createElement("canvas");
2290
2417
  if (e) {
2291
2418
  t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
@@ -2294,273 +2421,287 @@ var require_main_min = __commonJS({
2294
2421
  }
2295
2422
  return t;
2296
2423
  };
2297
- var Hs = async () => {
2424
+ var il = async () => {
2298
2425
  var e, t;
2299
2426
  return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput");
2300
2427
  };
2301
- var qs = async () => {
2428
+ var sl = async () => {
2302
2429
  var e, t;
2303
2430
  return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput").map((r) => r.label);
2304
2431
  };
2305
- var Gs = async (e) => {
2432
+ var ll = async (e) => {
2306
2433
  var r, o, n;
2307
- let t = yn(e);
2434
+ let t = An(e);
2308
2435
  return (n = (await ((o = (r = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : r.enumerateDevices) == null ? void 0 : o.call(r)) || []).filter((a) => a.kind === "videoinput").find((a) => a.deviceId === (t == null ? void 0 : t.deviceId))) == null ? void 0 : n.label;
2309
2436
  };
2310
- var Xr = (e) => {
2437
+ var no = (e) => {
2311
2438
  var t;
2312
2439
  return (((t = e == null ? void 0 : e.getVideoTracks) == null ? void 0 : t.call(e)) || [])[0];
2313
2440
  };
2314
- var yn = (e) => {
2441
+ var An = (e) => {
2315
2442
  var t, r;
2316
- return (r = (t = Xr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2443
+ return (r = (t = no(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2317
2444
  };
2318
- var _s = (e) => {
2319
- let [t, r] = (0, Yr.useState)(), o = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
2320
- (0, Yr.useEffect)(() => {
2445
+ var cl = (e) => {
2446
+ let [t, r] = (0, ao.useState)(), o = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
2447
+ (0, ao.useEffect)(() => {
2321
2448
  n(e).then(r);
2322
2449
  }, [e]);
2323
2450
  let n = async (a) => {
2324
2451
  if (a === "back") {
2325
- let s = (await Hs()).find(Us);
2452
+ let s = (await il()).find(nl);
2326
2453
  if (s != null && s.deviceId)
2327
- return S(i({}, o), { deviceId: { exact: s.deviceId } });
2454
+ return b(i({}, o), { deviceId: { exact: s.deviceId } });
2328
2455
  }
2329
2456
  return o;
2330
2457
  };
2331
2458
  return { videoConstraints: t };
2332
2459
  };
2333
- var Zr = require("react");
2334
- var W = require("react/jsx-runtime");
2335
- var Vd = 92;
2336
- var $s = 120;
2337
- var Ud = 40;
2338
- var zd = 32;
2339
- var Hd = 48;
2340
- var qd = 40;
2341
- var Ws = 800;
2342
- var Gd = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: n, reviewInstructions: a }) => {
2343
- let s = (0, Zr.useRef)(null);
2344
- (0, Zr.useEffect)(() => {
2345
- let f = $e(() => {
2460
+ var io = require("react");
2461
+ var K = require("react/jsx-runtime");
2462
+ var du = 92;
2463
+ var ml = 120;
2464
+ var uu = 40;
2465
+ var pu = 32;
2466
+ var fu = 48;
2467
+ var yu = 40;
2468
+ var dl = 800;
2469
+ var hu = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: n, reviewInstructions: a }) => {
2470
+ let s = (0, io.useRef)(null);
2471
+ (0, io.useEffect)(() => {
2472
+ let f = We(() => {
2346
2473
  var l;
2347
2474
  if ((l = s.current) != null && l.innerHTML) {
2348
- let u = s.current;
2349
- u.innerHTML += "";
2475
+ let p = s.current;
2476
+ p.innerHTML += "";
2350
2477
  }
2351
2478
  }, 100);
2352
2479
  return window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
2353
2480
  });
2354
- let c = (r ? Ud : 0) + (o ? zd : 0) + (n ? Hd : 0), p = (0, W.jsxs)(W.Fragment, { children: [r && (0, W.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, W.jsx)("h4", { className: "camera-capture-title", children: o }), n && (0, W.jsx)("small", { className: "camera-capture-instructions", children: n })] }), m = Vd + c;
2481
+ let c = (r ? uu : 0) + (o ? pu : 0) + (n ? fu : 0), u = (0, K.jsxs)(K.Fragment, { children: [r && (0, K.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, K.jsx)("h4", { className: "camera-capture-title", children: o }), n && (0, K.jsx)("small", { className: "camera-capture-instructions", children: n })] }), m = du + c;
2355
2482
  if (a) {
2356
- c = m - $s, p = (0, W.jsx)("small", { className: "camera-capture-instructions", children: a });
2357
- let f = $s + qd;
2358
- m < f && (p = (0, W.jsx)(W.Fragment, {}));
2483
+ c = m - ml, u = (0, K.jsx)("small", { className: "camera-capture-instructions", children: a });
2484
+ let f = ml + yu;
2485
+ m < f && (u = (0, K.jsx)(K.Fragment, {}));
2359
2486
  }
2360
- let d = { x: "50%", y: "5%", width: `min(90%, ${Ws}px)`, height: `calc(90% - ${m}px)`, style: { transform: `translateX(max(-45%, -${Ws / 2}px))` } }, h = { style: { left: "5%", top: `calc(100% - ${m}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2361
- return (0, W.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, W.jsx)("defs", { children: (0, W.jsxs)("mask", { id: "mask", children: [(0, W.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, W.jsx)("image", i({ href: e }, d))] }) }), e && (0, W.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, W.jsx)("image", i({ href: t }, d)), (0, W.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, W.jsx)("div", S(i({ className: "camera-capture-text-and-image-container" }, h), { children: p })) })] });
2362
- };
2363
- var hn = Gd;
2364
- var Js = require("@transferwise/components");
2365
- var Xs = require("react-intl");
2366
- var Ks = require("react-intl");
2367
- var Qr = (0, Ks.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, paragraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, action: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" } });
2368
- var Ue = require("react/jsx-runtime");
2369
- var _d = ({ onAction: e }) => {
2370
- let t = (0, Xs.useIntl)();
2371
- return (0, Ue.jsx)("div", { id: "no-camera-access", children: (0, Ue.jsx)("div", { className: "container p-t-5", children: (0, Ue.jsx)("div", { className: "row", children: (0, Ue.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Ue.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(Qr.title) }), (0, Ue.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Qr.paragraph) }), (0, Ue.jsx)(Js.Button, { block: true, onClick: e, children: t.formatMessage(Qr.action) })] }) }) }) });
2372
- };
2373
- var gn = _d;
2374
- var Zs = require("react-intl");
2375
- var Ys = require("react-intl");
2376
- var bn = (0, Ys.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
2377
- var Qe = require("react/jsx-runtime");
2378
- var $d = () => {
2379
- let e = (0, Zs.useIntl)();
2380
- return (0, Qe.jsx)("div", { id: "camera-not-supported", children: (0, Qe.jsx)("div", { className: "container p-t-5", children: (0, Qe.jsx)("div", { className: "row", children: (0, Qe.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Qe.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(bn.title) }), (0, Qe.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(bn.paragraph) })] }) }) }) });
2381
- };
2382
- var Sn = $d;
2383
- var Qs = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2384
- var el = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await Wd(t, r));
2385
- var tl = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2386
- var Wd = async (e, t) => {
2487
+ let d = { x: "50%", y: "5%", width: `min(90%, ${dl}px)`, height: `calc(90% - ${m}px)`, style: { transform: `translateX(max(-45%, -${dl / 2}px))` } }, g = { style: { left: "5%", top: `calc(100% - ${m}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2488
+ return (0, K.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, K.jsx)("defs", { children: (0, K.jsxs)("mask", { id: "mask", children: [(0, K.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, K.jsx)("image", i({ href: e }, d))] }) }), e && (0, K.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, K.jsx)("image", i({ href: t }, d)), (0, K.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, K.jsx)("div", b(i({ className: "camera-capture-text-and-image-container" }, g), { children: u })) })] });
2489
+ };
2490
+ var Pn = hu;
2491
+ var pl = require("@transferwise/components");
2492
+ var fl = require("react-intl");
2493
+ var ul = require("react-intl");
2494
+ var so = (0, ul.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, paragraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, action: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" } });
2495
+ var ze = require("react/jsx-runtime");
2496
+ var gu = ({ onAction: e }) => {
2497
+ let t = (0, fl.useIntl)();
2498
+ return (0, ze.jsx)("div", { id: "no-camera-access", children: (0, ze.jsx)("div", { className: "container p-t-5", children: (0, ze.jsx)("div", { className: "row", children: (0, ze.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ze.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(so.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(so.paragraph) }), (0, ze.jsx)(pl.Button, { block: true, onClick: e, children: t.formatMessage(so.action) })] }) }) }) });
2499
+ };
2500
+ var Mn = gu;
2501
+ var hl = require("react-intl");
2502
+ var yl = require("react-intl");
2503
+ var kn = (0, yl.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
2504
+ var tt = require("react/jsx-runtime");
2505
+ var Su = () => {
2506
+ let e = (0, hl.useIntl)();
2507
+ return (0, tt.jsx)("div", { id: "camera-not-supported", children: (0, tt.jsx)("div", { className: "container p-t-5", children: (0, tt.jsx)("div", { className: "row", children: (0, tt.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, tt.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(kn.title) }), (0, tt.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(kn.paragraph) })] }) }) }) });
2508
+ };
2509
+ var En = Su;
2510
+ var gl = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2511
+ var Sl = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await bu(t, r));
2512
+ var bl = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2513
+ var bu = async (e, t) => {
2387
2514
  var a;
2388
- let r = Xr(t), o = yn(t), n = (a = r == null ? void 0 : r.getSettings) == null ? void 0 : a.call(r);
2389
- return S(i({}, r && { "Available Video Devices (by label)": await qs(), "Active Video Device (by label)": await Gs(t), "Camera Capabilities": o, "Camera Settings": n }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2515
+ let r = no(t), o = An(t), n = (a = r == null ? void 0 : r.getSettings) == null ? void 0 : a.call(r);
2516
+ return b(i({}, r && { "Available Video Devices (by label)": await sl(), "Active Video Device (by label)": await ll(t), "Camera Capabilities": o, "Camera Settings": n }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2390
2517
  };
2391
2518
  var te = require("react/jsx-runtime");
2392
- var Kd = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: n = "", instructions: a = "", showReview: s = false, onCapture: c, onEvent: p }) => {
2393
- let [m, d] = (0, we.useState)("CAPTURE"), [h, f] = (0, we.useState)(false), [l, u] = (0, we.useState)(false), [y, g] = (0, we.useState)(), b = (0, we.useRef)(null), { videoConstraints: x } = _s(e), F = (0, rl.useIntl)(), v = (0, we.useCallback)(async () => {
2394
- var O, j, k, z, Fe, ae;
2395
- if ((O = b == null ? void 0 : b.current) != null && O.video && ((k = (j = b == null ? void 0 : b.current) == null ? void 0 : j.video) == null ? void 0 : k.readyState) >= 3) {
2396
- (Fe = (z = b == null ? void 0 : b.current) == null ? void 0 : z.video) == null || Fe.pause();
2397
- let re = await zs((ae = b == null ? void 0 : b.current) == null ? void 0 : ae.video);
2519
+ var wu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: n = "", instructions: a = "", showReview: s = false, onCapture: c, onEvent: u }) => {
2520
+ let [m, d] = (0, Ce.useState)("CAPTURE"), [g, f] = (0, Ce.useState)(false), [l, p] = (0, Ce.useState)(false), [y, S] = (0, Ce.useState)(), h = (0, Ce.useRef)(null), { videoConstraints: F } = cl(e), w = (0, wl.useIntl)(), v = (0, Ce.useCallback)(async () => {
2521
+ var O, V, k, H, Oe, ae;
2522
+ if ((O = h == null ? void 0 : h.current) != null && O.video && ((k = (V = h == null ? void 0 : h.current) == null ? void 0 : V.video) == null ? void 0 : k.readyState) >= 3) {
2523
+ (Oe = (H = h == null ? void 0 : h.current) == null ? void 0 : H.video) == null || Oe.pause();
2524
+ let re = await al((ae = h == null ? void 0 : h.current) == null ? void 0 : ae.video);
2398
2525
  re == null || re.toBlob((de) => {
2399
2526
  if (de)
2400
2527
  if (s) {
2401
- let dr = window.URL.createObjectURL(de);
2402
- g({ source: dr, blob: de }), d("REVIEW");
2528
+ let hr = window.URL.createObjectURL(de);
2529
+ S({ source: hr, blob: de }), d("REVIEW");
2403
2530
  } else
2404
2531
  c(de);
2405
2532
  }, "image/jpeg", 0.92);
2406
2533
  }
2407
- }, [b, s, g, d, c, h]), P = (0, we.useCallback)((O) => {
2534
+ }, [h, s, S, d, c, g]), A = (0, Ce.useCallback)((O) => {
2408
2535
  if (O instanceof DOMException && (O == null ? void 0 : O.name) === "NotAllowedError") {
2409
- d("NO_CAMERA_ACCESS"), Qs(p);
2536
+ d("NO_CAMERA_ACCESS"), gl(u);
2410
2537
  return;
2411
2538
  }
2412
- d("CAMERA_NOT_SUPPORTED"), tl(p, O);
2413
- }, [d, p]), w = (0, we.useCallback)((O) => {
2414
- u(true), f(Vs(O)), el(p, { direction: e }, O);
2415
- }, [f, p, e]), I = () => {
2539
+ d("CAMERA_NOT_SUPPORTED"), bl(u, O);
2540
+ }, [d, u]), C = (0, Ce.useCallback)((O) => {
2541
+ p(true), f(ol(O)), Sl(u, { direction: e }, O);
2542
+ }, [f, u, e]), D = () => {
2416
2543
  c((y == null ? void 0 : y.blob) || null);
2417
- }, N = () => {
2418
- d("CAPTURE"), g(void 0);
2419
- }, A = () => d("CAPTURE"), L = (0, te.jsxs)(te.Fragment, { children: [x && (0, te.jsx)(ol.default, { ref: b, audio: false, videoConstraints: x, mirrored: h, onUserMediaError: P, onUserMedia: w }), (0, te.jsx)(hn, { overlay: t, outline: r, imageUrl: o, title: n, instructions: a }), l && (0, te.jsx)(Bs, { onCapture: () => void v() })] }), G = (0, te.jsxs)(te.Fragment, { children: [(0, te.jsx)("img", { className: "review-image", src: y == null ? void 0 : y.source, alt: "" }), (0, te.jsx)(hn, { overlay: t, imageUrl: o, title: n, instructions: a, reviewInstructions: F.formatMessage(lr.reviewInstructions) }), (0, te.jsx)(js, { onSubmit: I, onRetry: N })] });
2420
- return (0, te.jsxs)("section", { className: "camera-capture", children: [m === "CAPTURE" && L, m === "REVIEW" && G, m === "NO_CAMERA_ACCESS" && (0, te.jsx)(gn, { onAction: A }), m === "CAMERA_NOT_SUPPORTED" && (0, te.jsx)(Sn, {})] });
2421
- };
2422
- var wn = Kd;
2423
- var al = require("react/jsx-runtime");
2424
- function Jd(e) {
2544
+ }, T = () => {
2545
+ d("CAPTURE"), S(void 0);
2546
+ }, P = () => d("CAPTURE"), N = (0, te.jsxs)(te.Fragment, { children: [F && (0, te.jsx)(Fl.default, { ref: h, audio: false, videoConstraints: F, mirrored: g, onUserMediaError: A, onUserMedia: C }), (0, te.jsx)(Pn, { overlay: t, outline: r, imageUrl: o, title: n, instructions: a }), l && (0, te.jsx)(tl, { onCapture: () => void v() })] }), G = (0, te.jsxs)(te.Fragment, { children: [(0, te.jsx)("img", { className: "review-image", src: y == null ? void 0 : y.source, alt: "" }), (0, te.jsx)(Pn, { overlay: t, imageUrl: o, title: n, instructions: a, reviewInstructions: w.formatMessage(pr.reviewInstructions) }), (0, te.jsx)(rl, { onSubmit: D, onRetry: T })] });
2547
+ return (0, te.jsxs)("section", { className: "camera-capture", children: [m === "CAPTURE" && N, m === "REVIEW" && G, m === "NO_CAMERA_ACCESS" && (0, te.jsx)(Mn, { onAction: P }), m === "CAMERA_NOT_SUPPORTED" && (0, te.jsx)(En, {})] });
2548
+ };
2549
+ var In = wu;
2550
+ var xl = require("react/jsx-runtime");
2551
+ function Fu(e) {
2425
2552
  return new Promise((t, r) => {
2426
2553
  let o = new FileReader();
2427
2554
  o.onloadend = () => t(o.result), o.readAsDataURL(e);
2428
2555
  });
2429
2556
  }
2430
- var Xd = (e) => {
2431
- let { step: t, model: r, onModelChange: o, onAction: n } = e, a = Q(), s = nl(t), c = Yd(t), p = Zd(t), { title: m, image: d, cameraConfig: h } = c, { assets: f, direction: l, instructions: u } = h || {}, { overlay: y, outline: g } = f || {}, { url: b } = d || {}, [x, F] = (0, eo.useState)(false);
2432
- (0, eo.useEffect)(() => {
2433
- x && n(p);
2557
+ var Cu = (e) => {
2558
+ let { step: t, model: r, onModelChange: o, onAction: n } = e, a = Q(), s = Cl(t), c = xu(t), u = Ou(t), { title: m, image: d, cameraConfig: g } = c, { assets: f, direction: l, instructions: p } = g || {}, { overlay: y, outline: S } = f || {}, { url: h } = d || {}, [F, w] = (0, lo.useState)(false);
2559
+ (0, lo.useEffect)(() => {
2560
+ F && n(u);
2434
2561
  }, [r]);
2435
- let v = async (P) => {
2436
- let { $id: w } = c;
2437
- if (P) {
2438
- let I = await Jd(P), N = { [w || ""]: I };
2439
- F(true), o({ model: N, formSchema: s, triggerModel: I, triggerSchema: c });
2562
+ let v = async (A) => {
2563
+ let { $id: C } = c;
2564
+ if (A) {
2565
+ let D = await Fu(A), T = { [C || ""]: D };
2566
+ w(true), o({ model: T, formSchema: s, triggerModel: D, triggerSchema: c });
2440
2567
  }
2441
2568
  };
2442
- return (0, al.jsx)(wn, { overlay: y, outline: g, title: m, imageUrl: b, instructions: u, direction: l, onEvent: a, onCapture: (P) => {
2443
- v(P);
2569
+ return (0, xl.jsx)(In, { overlay: y, outline: S, title: m, imageUrl: h, instructions: p, direction: l, onEvent: a, onCapture: (A) => {
2570
+ v(A);
2444
2571
  } });
2445
2572
  };
2446
- var to = Xd;
2447
- function nl(e) {
2448
- let r = Mr(e.schemas || [])[0];
2449
- if (!r || !Oe(r))
2573
+ var co = Cu;
2574
+ function Cl(e) {
2575
+ let r = Lr(e.schemas || [])[0];
2576
+ if (!r || !Pe(r))
2450
2577
  throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
2451
2578
  return r;
2452
2579
  }
2453
- function Yd(e) {
2454
- let t = nl(e), r = Object.values(t.properties)[0];
2580
+ function xu(e) {
2581
+ let t = Cl(e), r = Object.values(t.properties)[0];
2455
2582
  if (!r)
2456
2583
  throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
2457
2584
  return r;
2458
2585
  }
2459
- function Zd(e) {
2586
+ function Ou(e) {
2460
2587
  var t, r;
2461
- if (!e.schemas || ((t = Mr(e.schemas)) == null ? void 0 : t.length) !== 1)
2588
+ if (!e.schemas || ((t = Lr(e.schemas)) == null ? void 0 : t.length) !== 1)
2462
2589
  throw new Error("camera step expects 1 non-hidden object schema");
2463
2590
  if (((r = e == null ? void 0 : e.actions) == null ? void 0 : r.length) !== 1)
2464
2591
  throw new Error("camera step expects 1 action");
2465
2592
  return e.actions[0];
2466
2593
  }
2467
- var ll = require("react-intl");
2468
- var il = require("react-intl");
2469
- var cr = (0, il.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
2470
- var cl = require("react/jsx-runtime");
2471
- var sl = () => {
2594
+ var Al = require("react-intl");
2595
+ var Ol = require("react-intl");
2596
+ var fr = (0, Ol.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
2597
+ var Pl = require("react/jsx-runtime");
2598
+ var vl = () => {
2472
2599
  };
2473
- var Qd = ({ url: e, onClose: t }) => {
2474
- let { formatMessage: r } = (0, ll.useIntl)();
2475
- return (0, cl.jsx)(le, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(cr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(cr.description, { origin: eu(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(cr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(cr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2600
+ var vu = ({ url: e, onClose: t }) => {
2601
+ let { formatMessage: r } = (0, Al.useIntl)();
2602
+ return (0, Pl.jsx)(le, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(fr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(fr.description, { origin: Au(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(fr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(fr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2476
2603
  o.url && window.open(o.url, "_blank"), t();
2477
- }, onModelChange: sl, onPersistAsync: sl });
2604
+ }, onModelChange: vl, onPersistAsync: vl });
2478
2605
  };
2479
- var ro = Qd;
2480
- function eu(e) {
2606
+ var mo = vu;
2607
+ function Au(e) {
2481
2608
  try {
2482
2609
  return new URL(e).origin;
2483
2610
  } catch (t) {
2484
2611
  return e;
2485
2612
  }
2486
2613
  }
2487
- var ml = require("@transferwise/components");
2488
- var dl = require("@transferwise/icons");
2489
- var Nt = require("react/jsx-runtime");
2490
- var tu = ({ title: e, action: t, onAction: r }) => (0, Nt.jsxs)("a", { onClick: (o) => {
2491
- o.preventDefault(), r(S(i({}, t), { skipValidation: true }));
2492
- }, href: "/", className: "df-back-btn", "aria-label": e, children: [(0, Nt.jsx)("span", { className: "sr-only", children: e }), (0, Nt.jsx)(ml.Avatar, { type: "icon", children: (0, Nt.jsx)(dl.ArrowLeft, { size: "24" }) })] });
2493
- var ul = tu;
2494
- var ke = require("react/jsx-runtime");
2495
- var pl = (e) => {
2496
- var p, m;
2497
- let { step: t, globalError: r, onAction: o } = e, n = (p = t == null ? void 0 : t.external) == null ? void 0 : p.url, a = (m = t == null ? void 0 : t.navigation) == null ? void 0 : m.backButton, { requiresManualTrigger: s, dismissConfirmation: c } = xa(n);
2498
- return t === void 0 ? null : n && s ? (0, ke.jsx)(ro, { url: n, onClose: c }) : ba(t) ? (0, ke.jsx)(to, S(i({}, e), { step: t })) : (0, ke.jsxs)(ke.Fragment, { children: [a && (0, ke.jsx)(ul, S(i({}, a), { onAction: o })), r ? (0, ke.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, ke.jsx)(Jr, S(i({}, e), { stepSpecification: t }))] });
2499
- };
2500
- var fl = require("react");
2501
- var ru = 1e3;
2502
- function yl(e) {
2503
- let t = (0, fl.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2614
+ var Ml = require("@transferwise/components");
2615
+ var kl = require("@transferwise/icons");
2616
+ var qt = require("react/jsx-runtime");
2617
+ var Pu = ({ title: e, action: t, onAction: r }) => (0, qt.jsxs)("a", { onClick: (o) => {
2618
+ o.preventDefault(), r(b(i({}, t), { skipValidation: true }));
2619
+ }, href: "/", className: "df-back-btn", "aria-label": e, children: [(0, qt.jsx)("span", { className: "sr-only", children: e }), (0, qt.jsx)(Ml.Avatar, { type: "icon", children: (0, qt.jsx)(kl.ArrowLeft, { size: "24" }) })] });
2620
+ var El = Pu;
2621
+ var De = require("react/jsx-runtime");
2622
+ var qr = (e) => {
2623
+ var u, m;
2624
+ let { step: t, globalError: r, onAction: o } = e, n = (u = t == null ? void 0 : t.external) == null ? void 0 : u.url, a = (m = t == null ? void 0 : t.navigation) == null ? void 0 : m.backButton, { requiresManualTrigger: s, dismissConfirmation: c } = Da(n);
2625
+ return t === void 0 ? null : n && s ? (0, De.jsx)(mo, { url: n, onClose: c }) : Ma(t) ? (0, De.jsx)(co, b(i({}, e), { step: t })) : (0, De.jsxs)(De.Fragment, { children: [a && (0, De.jsx)(El, b(i({}, a), { onAction: o })), r ? (0, De.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, De.jsx)(oo, b(i({}, e), { stepSpecification: t }))] });
2626
+ };
2627
+ var Il = require("react");
2628
+ var Mu = 1e3;
2629
+ function Dl(e) {
2630
+ let t = (0, Il.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2504
2631
  if (t.current.has(o))
2505
2632
  return t.current.get(o);
2506
- let n = $e((a, s, c) => e(a, s, c), ru);
2633
+ let n = We((a, s, c) => e(a, s, c), Mu);
2507
2634
  return t.current.set(o, n), n;
2508
2635
  };
2509
2636
  return function(o, n, a, s) {
2510
2637
  let c = r(o);
2511
- c(o, n, a), (!s || !ou(s)) && c.flush();
2638
+ c(o, n, a), (!s || !ku(s)) && c.flush();
2512
2639
  };
2513
2640
  }
2514
- var ou = (e) => qt(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
2515
- var Tt = require("react");
2516
- var gl = (e) => {
2517
- var l, u;
2518
- let [t, r] = (0, Tt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, n] = (0, Tt.useState)((u = e == null ? void 0 : e.errors) == null ? void 0 : u.error), [a, s] = (0, Tt.useState)({ step: e || void 0, models: e != null && e.model ? hl(e.model, Cn(e)) : {}, etag: void 0 }), { step: c, models: p, etag: m } = a, d = (y, g) => {
2519
- var b, x, F, v;
2520
- s((P) => ({ step: y, models: y.model ? hl(y.model, Cn(y)) : P.models, etag: g })), r((x = (b = y == null ? void 0 : y.errors) == null ? void 0 : b.validation) != null ? x : null), n((v = (F = y == null ? void 0 : y.errors) == null ? void 0 : F.error) != null ? v : null);
2521
- }, h = (y, g, b) => {
2522
- s((x) => {
2523
- let F = S(i({}, x.models), { [y]: g }), v = { step: x.step, models: F, etag: x.etag };
2524
- return b(F), v;
2641
+ var ku = (e) => it(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
2642
+ var Gt = require("react");
2643
+ var Nl = (e) => {
2644
+ var l, p;
2645
+ let [t, r] = (0, Gt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, n] = (0, Gt.useState)((p = e == null ? void 0 : e.errors) == null ? void 0 : p.error), [a, s] = (0, Gt.useState)({ step: e || void 0, models: e != null && e.model ? Ll(e.model, Tl(e)) : {}, etag: void 0 }), { step: c, models: u, etag: m } = a, d = (y, S) => {
2646
+ var h, F, w, v;
2647
+ s((A) => ({ step: y, models: y.model ? Ll(y.model, Tl(y)) : A.models, etag: S })), r((F = (h = y == null ? void 0 : y.errors) == null ? void 0 : h.validation) != null ? F : null), n((v = (w = y == null ? void 0 : y.errors) == null ? void 0 : w.error) != null ? v : null);
2648
+ }, g = (y, S, h) => {
2649
+ s((F) => {
2650
+ let w = b(i({}, F.models), { [y]: S }), v = { step: F.step, models: w, etag: F.etag };
2651
+ return h(w), v;
2525
2652
  });
2526
- }, f = (0, Tt.useMemo)(() => nu(p, Cn(c)), [p, c]);
2527
- return { formErrors: t, globalError: o, step: c, models: p, etag: m, modelIsValid: f, setFormErrors: r, setGlobalError: n, setStepAndEtag: d, setSchemaModel: h };
2653
+ }, f = (0, Gt.useMemo)(() => Iu(u, Eu(c)), [u, c]);
2654
+ return { formErrors: t, globalError: o, step: c, models: u, etag: m, modelIsValid: f, setFormErrors: r, setGlobalError: n, setStepAndEtag: d, setSchemaModel: g };
2528
2655
  };
2529
- var hl = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), S(i({}, r), { [o.$id || ""]: ie(e, o) || {} })), {});
2530
- var Cn = (e) => [...Fn((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2531
- var Fn = (e) => e.flatMap((t) => {
2656
+ var Ll = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), b(i({}, r), { [o.$id || ""]: ie(e, o) || {} })), {});
2657
+ var Tl = (e) => [...uo((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2658
+ var uo = (e) => e.flatMap((t) => {
2532
2659
  switch (t.type) {
2533
2660
  case "columns":
2534
- return [...Fn([...t.left, ...t.right])];
2661
+ return [...uo([...t.left, ...t.right])];
2535
2662
  case "box":
2536
- return Fn(t.components);
2663
+ return uo(t.components);
2537
2664
  case "form":
2538
- return au(t.schema) ? [t.schema] : [];
2665
+ return Rl(t.schema) ? [t.schema] : [];
2539
2666
  default:
2540
2667
  return [];
2541
2668
  }
2542
2669
  });
2543
- var nu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !_(e[r.$id || ""] || {}, r))));
2544
- var au = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2545
- var oo = require("@transferwise/components");
2546
- var bl = require("react");
2547
- var wl = require("react/jsx-runtime");
2548
- function Sl(e, t) {
2549
- let r = i({ size: oo.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, n] = (0, bl.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, wl.jsx)(oo.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2670
+ var Eu = (e) => [...Dn((e == null ? void 0 : e.layout) || []).map((t) => ((e == null ? void 0 : e.schemas) || []).find((r) => r.$id === t)).filter(Boolean), ...uo((e == null ? void 0 : e.layout) || [])];
2671
+ var Dn = (e) => e.flatMap((t) => {
2672
+ switch (t.type) {
2673
+ case "columns":
2674
+ return [...Dn([...t.left, ...t.right])];
2675
+ case "box":
2676
+ return Dn(t.components);
2677
+ case "form":
2678
+ return [Du(t)];
2679
+ default:
2680
+ return [];
2681
+ }
2682
+ }).filter(Boolean);
2683
+ var Iu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !_(e[r.$id || ""] || {}, r))));
2684
+ var Du = (e) => e.schema && !Rl(e.schema) ? e.schema.$ref : e.schemaId;
2685
+ var Rl = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2686
+ var po = require("@transferwise/components");
2687
+ var Bl = require("react");
2688
+ var jl = require("react/jsx-runtime");
2689
+ function Vl(e, t) {
2690
+ let r = i({ size: po.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, n] = (0, Bl.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, jl.jsx)(po.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2550
2691
  return { isLoading: o !== "idle", setLoadingState: n, loader: s };
2551
2692
  }
2552
- var Ol = require("react");
2553
- var no = require("@transferwise/components");
2554
- var Cl = require("react-intl");
2555
- var xl = require("react/jsx-runtime");
2556
- var Fl = ({ onDismiss: e }) => {
2557
- let { formatMessage: t } = (0, Cl.useIntl)();
2558
- return (0, xl.jsx)(no.Alert, { action: { text: t(It.retry), href: window.location.href }, message: t(It.errorAlert), type: no.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2693
+ var ql = require("react");
2694
+ var fo = require("@transferwise/components");
2695
+ var Ul = require("react-intl");
2696
+ var Hl = require("react/jsx-runtime");
2697
+ var zl = ({ onDismiss: e }) => {
2698
+ let { formatMessage: t } = (0, Ul.useIntl)();
2699
+ return (0, Hl.jsx)(fo.Alert, { action: { text: t(zt.retry), href: window.location.href }, message: t(zt.errorAlert), type: fo.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2559
2700
  };
2560
- var Rt = require("react/jsx-runtime");
2561
- var iu = () => {
2701
+ var $t = require("react/jsx-runtime");
2702
+ var Lu = () => {
2562
2703
  };
2563
- var xn = class extends Ol.Component {
2704
+ var Ln = class extends ql.Component {
2564
2705
  constructor(r) {
2565
2706
  super(r);
2566
2707
  this.handleErrorReset = () => {
@@ -2572,201 +2713,201 @@ var require_main_min = __commonJS({
2572
2713
  return { hasError: true, isFatalError: true };
2573
2714
  }
2574
2715
  componentDidCatch(r) {
2575
- let { onError: o = iu } = this.props;
2716
+ let { onError: o = Lu } = this.props;
2576
2717
  o(r);
2577
2718
  }
2578
2719
  render() {
2579
2720
  let { children: r } = this.props, { hasError: o, isFatalError: n } = this.state;
2580
- return (0, Rt.jsxs)(Rt.Fragment, { children: [o && (0, Rt.jsx)(Fl, { onDismiss: this.handleErrorReset }), !n && r] });
2721
+ return (0, $t.jsxs)($t.Fragment, { children: [o && (0, $t.jsx)(zl, { onDismiss: this.handleErrorReset }), !n && r] });
2581
2722
  }
2582
2723
  };
2583
- var On = xn;
2584
- var su = async (e) => {
2724
+ var Tn = Ln;
2725
+ var Tu = async (e) => {
2585
2726
  switch (e.headers.get("X-Df-ResponseType")) {
2586
2727
  case "step":
2587
- return vl(e);
2728
+ return Gl(e);
2588
2729
  case "exit":
2589
- return Al(e);
2730
+ return _l(e);
2590
2731
  case "action":
2591
- return Pl(e);
2732
+ return $l(e);
2592
2733
  default:
2593
2734
  throw new Error("Unsupported X-Df-ResponseType. Allowed values are 'step', 'action', 'exit'.");
2594
2735
  }
2595
2736
  };
2596
- var vl = async (e) => {
2597
- let t = await mr(e);
2598
- if (!T(t))
2737
+ var Gl = async (e) => {
2738
+ let t = await yr(e);
2739
+ if (!L(t))
2599
2740
  throw new Error("Incorrect response body in response. Expected an object.");
2600
2741
  let r = e.headers.get("etag") || void 0;
2601
2742
  return { type: "step", step: t, etag: r };
2602
2743
  };
2603
- var Pl = async (e) => {
2604
- let t = await mr(e);
2605
- if (!T(t))
2744
+ var $l = async (e) => {
2745
+ let t = await yr(e);
2746
+ if (!L(t))
2606
2747
  throw new Error("Incorrect response body in response. Expected an object.");
2607
- if (!T(t.action))
2748
+ if (!L(t.action))
2608
2749
  throw new Error("Incorrect response body in action response. Expected an object satisfying the type { action: Action }.");
2609
2750
  let r = t.action;
2610
- return r.exit === true && T(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
2751
+ return r.exit === true && L(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
2611
2752
  };
2612
- var Al = async (e) => ({ type: "exit", result: await vn(e) });
2613
- var Ml = async (e) => {
2753
+ var _l = async (e) => ({ type: "exit", result: await Nn(e) });
2754
+ var Wl = async (e) => {
2614
2755
  var r, o;
2615
- if (Pn(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2616
- return su(e);
2756
+ if (Rn(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2757
+ return Tu(e);
2617
2758
  if ((o = e.headers) != null && o.has("X-Df-Exit"))
2618
- return Al(e);
2619
- let t = await mr(e.clone());
2620
- return T(t) && t.action ? Pl(e) : vl(e);
2621
- };
2622
- var kl = async (e) => {
2623
- Pn(e);
2624
- let t = await mr(e);
2625
- if (!T(t))
2759
+ return _l(e);
2760
+ let t = await yr(e.clone());
2761
+ return L(t) && t.action ? $l(e) : Gl(e);
2762
+ };
2763
+ var Kl = async (e) => {
2764
+ Rn(e);
2765
+ let t = await yr(e);
2766
+ if (!L(t))
2626
2767
  throw new Error("Incorrect response body in error response. Expected an object.");
2627
2768
  if (!t.refreshFormUrl && !t.refreshUrl && !t.validation && !t.error)
2628
2769
  throw t;
2629
2770
  return t;
2630
2771
  };
2631
- var vn = async (e) => {
2632
- Pn(e);
2633
- let t = await mr(e);
2634
- return T(t) ? t : null;
2772
+ var Nn = async (e) => {
2773
+ Rn(e);
2774
+ let t = await yr(e);
2775
+ return L(t) ? t : null;
2635
2776
  };
2636
- var mr = async (e) => {
2777
+ var yr = async (e) => {
2637
2778
  try {
2638
2779
  return await e.json();
2639
2780
  } catch (t) {
2640
2781
  return null;
2641
2782
  }
2642
2783
  };
2643
- var Pn = (e) => {
2644
- if (!lu(e))
2784
+ var Rn = (e) => {
2785
+ if (!Nu(e))
2645
2786
  throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
2646
2787
  if (e.bodyUsed)
2647
2788
  throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.");
2648
2789
  };
2649
- var lu = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2650
- var et = require("react/jsx-runtime");
2651
- var El = () => {
2652
- };
2653
- var cu = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: n, displayStepTitle: a = true, onCompletion: s, onError: c, onEvent: p = El, onLog: m = El }) => {
2654
- let { locale: d } = (0, Dl.useIntl)(), { formErrors: h, globalError: f, step: l, models: u, etag: y, modelIsValid: g, setFormErrors: b, setGlobalError: x, setStepAndEtag: F, setSchemaModel: v } = gl(o), [P, w] = (0, Ce.useState)(false), { isLoading: I, loader: N, setLoadingState: A } = Sl(n, o ? "idle" : "initial"), L = rt("critical", m, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), G = (0, Ce.useMemo)(() => {
2655
- var C;
2656
- return i({ flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key) }, (C = l == null ? void 0 : l.analytics) != null ? C : {});
2657
- }, [e, l]), O = (0, Ce.useMemo)(() => mo(p, G), [p, G]), j = (0, Ce.useCallback)(({ action: C, data: V, etag: E }) => {
2658
- let { url: Z, method: ze = "POST" } = C;
2659
- return t(Z != null ? Z : "", { method: ze, headers: i({ "accept-language": d, "Content-Type": "application/json" }, E ? { "If-None-Match": E } : {}), credentials: "include", body: ze === "GET" ? void 0 : JSON.stringify(V) });
2660
- }, [t, d]), k = async (C, V = {}) => {
2661
- A(l ? "submission" : "initial"), O("Dynamic Flow - Step Submitted", { actionId: C.id || C.$id });
2790
+ var Nu = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2791
+ var rt = require("react/jsx-runtime");
2792
+ var Jl = () => {
2793
+ };
2794
+ var Ru = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: n, displayStepTitle: a = true, onCompletion: s, onError: c, onEvent: u = Jl, onLog: m = Jl }) => {
2795
+ let { locale: d } = (0, Xl.useIntl)(), { formErrors: g, globalError: f, step: l, models: p, etag: y, modelIsValid: S, setFormErrors: h, setGlobalError: F, setStepAndEtag: w, setSchemaModel: v } = Nl(o), [A, C] = (0, xe.useState)(false), { isLoading: D, loader: T, setLoadingState: P } = Vl(n, o ? "idle" : "initial"), N = nt("critical", m, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), G = (0, xe.useMemo)(() => {
2796
+ var x;
2797
+ return i({ flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key) }, (x = l == null ? void 0 : l.analytics) != null ? x : {});
2798
+ }, [e, l]), O = (0, xe.useMemo)(() => wo(u, G), [u, G]), V = (0, xe.useCallback)(({ action: x, data: j, etag: I }) => {
2799
+ let { url: Z, method: He = "POST" } = x;
2800
+ return t(Z != null ? Z : "", { method: He, headers: i({ "accept-language": d, "Content-Type": "application/json" }, I ? { "If-None-Match": I } : {}), credentials: "include", body: He === "GET" ? void 0 : JSON.stringify(j) });
2801
+ }, [t, d]), k = async (x, j = {}) => {
2802
+ P(l ? "submission" : "initial"), O("Dynamic Flow - Step Submitted", { actionId: x.id || x.$id });
2662
2803
  try {
2663
- let E = await j({ action: C, data: V });
2664
- await dr(E, "submission");
2665
- } catch (E) {
2666
- ur(E, "Error fetching next step");
2804
+ let I = await V({ action: x, data: j });
2805
+ await hr(I, "submission");
2806
+ } catch (I) {
2807
+ gr(I, "Error fetching next step");
2667
2808
  }
2668
- }, z = async (C, V, E) => {
2669
- A("refresh"), O("Dynamic Flow - Step Refreshed", { status: "pending" });
2809
+ }, H = async (x, j, I) => {
2810
+ P("refresh"), O("Dynamic Flow - Step Refreshed", { status: "pending" });
2670
2811
  try {
2671
- let Z = await j({ action: { url: C, method: "POST" }, data: V, etag: E });
2672
- await dr(Z, "refresh");
2812
+ let Z = await V({ action: { url: x, method: "POST" }, data: j, etag: I });
2813
+ await hr(Z, "refresh");
2673
2814
  } catch (Z) {
2674
- ur(Z, "Error fetching refresh step");
2815
+ gr(Z, "Error fetching refresh step");
2675
2816
  }
2676
- }, Fe = async (C, V) => {
2677
- A("submission");
2817
+ }, Oe = async (x, j) => {
2818
+ P("submission");
2678
2819
  try {
2679
- let E = await j({ action: C, data: V });
2680
- await ae(E, C.result);
2681
- } catch (E) {
2682
- ur(E, "Error fetching exit result");
2820
+ let I = await V({ action: x, data: j });
2821
+ await ae(I, x.result);
2822
+ } catch (I) {
2823
+ gr(I, "Error fetching exit result");
2683
2824
  }
2684
- }, ae = async (C, V) => {
2685
- let E = await vn(C);
2686
- de(i(i({}, E), V));
2687
- }, re = yl(z), de = (0, Ce.useCallback)((C) => {
2688
- O("Dynamic Flow - Flow Finished", { result: "success" }), s(C);
2825
+ }, ae = async (x, j) => {
2826
+ let I = await Nn(x);
2827
+ de(i(i({}, I), j));
2828
+ }, re = Dl(H), de = (0, xe.useCallback)((x) => {
2829
+ O("Dynamic Flow - Flow Finished", { result: "success" }), s(x);
2689
2830
  }, [s, O]);
2690
- (0, Ce.useEffect)(() => {
2831
+ (0, xe.useEffect)(() => {
2691
2832
  O("Dynamic Flow - Flow Started", {});
2692
- }, []), (0, Ce.useEffect)(() => {
2833
+ }, []), (0, xe.useEffect)(() => {
2693
2834
  if (!o) {
2694
- let C = i({ id: "#initial-step-request", method: "GET" }, r);
2695
- k(C, C.data);
2835
+ let x = i({ id: "#initial-step-request", method: "GET" }, r);
2836
+ k(x, x.data);
2696
2837
  }
2697
2838
  }, [t, d, JSON.stringify(o), JSON.stringify(r)]);
2698
- let dr = async (C, V) => {
2839
+ let hr = async (x, j) => {
2699
2840
  try {
2700
- if (C.status === 304) {
2701
- A("idle");
2841
+ if (x.status === 304) {
2842
+ P("idle");
2702
2843
  return;
2703
2844
  }
2704
- if (!C.ok) {
2705
- let Z = await kl(C);
2706
- Kl(Z);
2845
+ if (!x.ok) {
2846
+ let Z = await Kl(x);
2847
+ pc(Z);
2707
2848
  return;
2708
2849
  }
2709
- let E = await Ml(C);
2710
- E.type === "action" ? k(E.action, E.action.data) : E.type === "exit" ? de(E.result) : Wl(E.step, E.etag, V);
2711
- } catch (E) {
2712
- return ur(E, "Error parsing fetch response", V, C.status);
2850
+ let I = await Wl(x);
2851
+ I.type === "action" ? k(I.action, I.action.data) : I.type === "exit" ? de(I.result) : uc(I.step, I.etag, j);
2852
+ } catch (I) {
2853
+ return gr(I, "Error parsing fetch response", j, x.status);
2713
2854
  }
2714
- }, Wl = (C, V, E) => {
2715
- F(C, V), A("idle"), E === "submission" ? (w(false), O("Dynamic Flow - Step Started", i({ stepId: C.id || C.key }, C == null ? void 0 : C.analytics))) : O("Dynamic Flow - Step Refreshed", { status: "success" });
2716
- }, Kl = async (C) => {
2717
- let V = C.refreshUrl || C.refreshFormUrl;
2718
- V && await z(V, ao(u), y), C.validation && b(C.validation), C.error && x(C.error), A("idle");
2719
- }, ur = (C, V, E, Z) => {
2720
- L("Error fetching", V), E === "refresh" && O("Dynamic Flow - Step Refreshed", { status: "failure" }), O("Dynamic Flow - Flow Finished", { status: "failure" }), c(C, Z), A("idle");
2721
- }, Jl = (C) => {
2722
- let { model: V, formSchema: E } = C, { $id: Z = "" } = E;
2723
- x(null), Y(V) || L("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(Z, V, (pt) => {
2724
- Xl(C, pt);
2855
+ }, uc = (x, j, I) => {
2856
+ w(x, j), P("idle"), I === "submission" ? (C(false), O("Dynamic Flow - Step Started", i({ stepId: x.id || x.key }, x == null ? void 0 : x.analytics))) : O("Dynamic Flow - Step Refreshed", { status: "success" });
2857
+ }, pc = async (x) => {
2858
+ let j = x.refreshUrl || x.refreshFormUrl;
2859
+ j && await H(j, yo(p), y), x.validation && h(x.validation), x.error && F(x.error), P("idle");
2860
+ }, gr = (x, j, I, Z) => {
2861
+ N("Error fetching", j), I === "refresh" && O("Dynamic Flow - Step Refreshed", { status: "failure" }), O("Dynamic Flow - Flow Finished", { status: "failure" }), c(x, Z), P("idle");
2862
+ }, fc = (x) => {
2863
+ let { model: j, formSchema: I } = x, { $id: Z = "" } = I;
2864
+ F(null), $(j) || N("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(Z, j, (bt) => {
2865
+ yc(x, bt);
2725
2866
  });
2726
- }, Xl = (C, V) => {
2727
- let { triggerSchema: E } = C;
2728
- if (uu(C)) {
2729
- let Z = E.refreshUrl || E.refreshFormUrl, ze = (l == null ? void 0 : l.refreshUrl) || (l == null ? void 0 : l.refreshFormUrl), pt = Z || ze;
2730
- pt && re(pt, ao(V), y, E);
2867
+ }, yc = (x, j) => {
2868
+ let { triggerSchema: I } = x;
2869
+ if (ju(x)) {
2870
+ let Z = I.refreshUrl || I.refreshFormUrl, He = (l == null ? void 0 : l.refreshUrl) || (l == null ? void 0 : l.refreshFormUrl), bt = Z || He;
2871
+ bt && re(bt, yo(j), y, I);
2731
2872
  }
2732
- }, Yl = async (C) => {
2733
- if (I || C.disabled)
2873
+ }, hc = async (x) => {
2874
+ if (D || x.disabled)
2734
2875
  return;
2735
- if (C.exit && !C.url) {
2736
- de(C.result);
2876
+ if (x.exit && !x.url) {
2877
+ de(x.result);
2737
2878
  return;
2738
2879
  }
2739
- let V = C.exit ? Fe : k, { data: E, method: Z, skipValidation: ze } = C, pt = i(i({}, ao(u)), E);
2740
- du(Z) ? (b(null), ze || w(true), (g || ze) && await V(C, pt)) : await V(C);
2880
+ let j = x.exit ? Oe : k, { data: I, method: Z, skipValidation: He } = x, bt = i(i({}, yo(p)), I);
2881
+ Vu(Z) ? (h(null), He || C(true), (S || He) && await j(x, bt)) : await j(x);
2741
2882
  };
2742
- return (0, et.jsx)(Or, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: m, children: (0, et.jsx)(gr, { metadata: G, onEvent: p, children: (0, et.jsx)(Vn, { loading: I, children: (0, et.jsx)(Gn, { httpClient: t, children: N !== null ? N : (0, et.jsx)(pl, { step: l, model: ao(u), submitted: P, globalError: f, formErrors: h, stepLayoutOptions: { displayStepTitle: a }, onAction: (C) => {
2743
- Yl(C);
2744
- }, onModelChange: Jl }) }) }) }) });
2745
- };
2746
- var mu = (e) => (0, et.jsx)(On, { onError: e.onError, children: (0, et.jsx)(cu, i({}, e)) });
2747
- var An = mu;
2748
- var ao = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2749
- var du = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2750
- var uu = (e) => {
2883
+ return (0, rt.jsx)(kr, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: m, children: (0, rt.jsx)(Cr, { metadata: G, onEvent: u, children: (0, rt.jsx)(Jn, { loading: D, children: (0, rt.jsx)(ea, { httpClient: t, children: T !== null ? T : (0, rt.jsx)(qr, { step: l, model: yo(p), submitted: A, globalError: f, formErrors: g, stepLayoutOptions: { displayStepTitle: a }, onAction: (x) => {
2884
+ hc(x);
2885
+ }, onModelChange: fc }) }) }) }) });
2886
+ };
2887
+ var Bu = (e) => (0, rt.jsx)(Tn, { onError: e.onError, children: (0, rt.jsx)(Ru, i({}, e)) });
2888
+ var Bn = Bu;
2889
+ var yo = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2890
+ var Vu = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2891
+ var ju = (e) => {
2751
2892
  let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: n = null } = e, a = () => _(o, r), s = () => _(n, r), c = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
2752
2893
  return t !== "init" && c && (a() || s());
2753
2894
  };
2754
- var Il = { "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
2755
- var Ll = { "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
2756
- var Nl = { "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
2757
- var Tl = { "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
2758
- var Rl = { "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
2759
- var Bl = { "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
2760
- var jl = { "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
2761
- var Vl = { "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
2762
- var Ul = { "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
2763
- var zl = { "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
2764
- var Hl = { "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
2765
- var ql = { "dynamicFlows.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
2766
- var Gl = { "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
2767
- var _l = { "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
2768
- var Au = { en: Ll, de: Il, es: Nl, fr: Tl, hu: Rl, id: Bl, it: jl, ja: Vl, pl: Ul, pt: zl, ro: Hl, ru: ql, tr: Gl, zh: _l };
2769
- var $l = Au;
2895
+ var Yl = { "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
2896
+ var Zl = { "dynamicFlows.ArraySchema.addItem": "Save", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Save", "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Remove", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
2897
+ var Ql = { "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
2898
+ var ec = { "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
2899
+ var tc = { "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
2900
+ var rc = { "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
2901
+ var oc = { "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
2902
+ var nc = { "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
2903
+ var ac = { "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
2904
+ var ic = { "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
2905
+ var sc = { "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
2906
+ var lc = { "dynamicFlows.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
2907
+ var cc = { "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
2908
+ var mc = { "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
2909
+ var ep = { en: Zl, de: Yl, es: Ql, fr: ec, hu: tc, id: rc, it: oc, ja: nc, pl: ac, pt: ic, ro: sc, ru: lc, tr: cc, zh: mc };
2910
+ var dc = ep;
2770
2911
  }
2771
2912
  });
2772
2913