@wise/dynamic-flow-client-internal 1.7.1 → 1.9.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 kl = Object.create;
55
- var It = Object.defineProperty;
56
- var El = Object.defineProperties;
57
- var Dl = Object.getOwnPropertyDescriptor;
58
- var Il = Object.getOwnPropertyDescriptors;
59
- var Ll = Object.getOwnPropertyNames;
60
- var fn = Object.getOwnPropertySymbols;
61
- var Nl = Object.getPrototypeOf;
62
- var hn = Object.prototype.hasOwnProperty;
63
- var Tl = Object.prototype.propertyIsEnumerable;
64
- var yn = (e, t, r) => t in e ? It(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
54
+ var Kl = Object.create;
55
+ var Tt = Object.defineProperty;
56
+ var Jl = Object.defineProperties;
57
+ var Xl = Object.getOwnPropertyDescriptor;
58
+ var Yl = Object.getOwnPropertyDescriptors;
59
+ var Ql = Object.getOwnPropertyNames;
60
+ var An = Object.getOwnPropertySymbols;
61
+ var Zl = Object.getPrototypeOf;
62
+ var kn = Object.prototype.hasOwnProperty;
63
+ var ec = Object.prototype.propertyIsEnumerable;
64
+ var Mn = (e, t, r) => t in e ? Tt(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
- hn.call(t, r) && yn(e, r, t[r]);
68
- if (fn)
69
- for (var r of fn(t))
70
- Tl.call(t, r) && yn(e, r, t[r]);
67
+ kn.call(t, r) && Mn(e, r, t[r]);
68
+ if (An)
69
+ for (var r of An(t))
70
+ ec.call(t, r) && Mn(e, r, t[r]);
71
71
  return e;
72
72
  };
73
- var S = (e, t) => El(e, Il(t));
74
- var gn = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
- var Rl = (e, t) => {
73
+ var S = (e, t) => Jl(e, Yl(t));
74
+ var En = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
75
+ var tc = (e, t) => {
76
76
  for (var r in t)
77
- It(e, r, { get: t[r], enumerable: true });
77
+ Tt(e, r, { get: t[r], enumerable: true });
78
78
  };
79
- var bn = (e, t, r, o) => {
79
+ var Dn = (e, t, r, o) => {
80
80
  if (t && typeof t == "object" || typeof t == "function")
81
- for (let n of Ll(t))
82
- !hn.call(e, n) && n !== r && It(e, n, { get: () => t[n], enumerable: !(o = Dl(t, n)) || o.enumerable });
81
+ for (let n of Ql(t))
82
+ !kn.call(e, n) && n !== r && Tt(e, n, { get: () => t[n], enumerable: !(o = Xl(t, n)) || o.enumerable });
83
83
  return e;
84
84
  };
85
- var ze = (e, t, r) => (r = e != null ? kl(Nl(e)) : {}, bn(t || !e || !e.__esModule ? It(r, "default", { value: e, enumerable: true }) : r, e));
86
- var Bl = (e) => bn(It({}, "__esModule", { value: true }), e);
87
- var ot = gn((vp, Cr) => {
85
+ var Ue = (e, t, r) => (r = e != null ? Kl(Zl(e)) : {}, Dn(t || !e || !e.__esModule ? Tt(r, "default", { value: e, enumerable: true }) : r, e));
86
+ var rc = (e) => Dn(Tt({}, "__esModule", { value: true }), e);
87
+ var rt = En((Yp, kr) => {
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 d in a)
109
- e.call(a, d) && a[d] && o.push(d);
108
+ for (var p in a)
109
+ e.call(a, p) && a[p] && o.push(p);
110
110
  }
111
111
  }
112
112
  }
113
113
  return o.join(" ");
114
114
  }
115
- typeof Cr < "u" && Cr.exports ? (r.default = r, Cr.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
115
+ typeof kr < "u" && kr.exports ? (r.default = r, kr.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 ps = gn((Zt, Zo) => {
120
+ var Ls = En((ar, pn) => {
121
121
  (function(t, r) {
122
- typeof Zt == "object" && typeof Zo == "object" ? Zo.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof Zt == "object" ? Zt.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
- })(Zt, function(e) {
122
+ typeof ar == "object" && typeof pn == "object" ? pn.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof ar == "object" ? ar.Webcam = r(require("react")) : t.Webcam = r(t.React);
123
+ })(ar, 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(d) {
143
- return n[d];
142
+ o.d(s, c, function(p) {
143
+ return n[p];
144
144
  }.bind(null, c));
145
145
  return s;
146
146
  }, o.n = function(n) {
@@ -157,363 +157,363 @@ 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 g = function(y, l) {
161
- return g = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, f) {
162
- m.__proto__ = f;
163
- } || function(m, f) {
164
- for (var h in f)
165
- f.hasOwnProperty(h) && (m[h] = f[h]);
166
- }, g(y, l);
160
+ var h = function(f, l) {
161
+ return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, y) {
162
+ d.__proto__ = y;
163
+ } || function(d, y) {
164
+ for (var g in y)
165
+ y.hasOwnProperty(g) && (d[g] = y[g]);
166
+ }, h(f, l);
167
167
  };
168
- return function(y, l) {
169
- g(y, l);
170
- function m() {
171
- this.constructor = y;
168
+ return function(f, l) {
169
+ h(f, l);
170
+ function d() {
171
+ this.constructor = f;
172
172
  }
173
- y.prototype = l === null ? Object.create(l) : (m.prototype = l.prototype, new m());
173
+ f.prototype = l === null ? Object.create(l) : (d.prototype = l.prototype, new d());
174
174
  };
175
175
  }(), c = function() {
176
- return c = Object.assign || function(g) {
177
- for (var y, l = 1, m = arguments.length; l < m; l++) {
178
- y = arguments[l];
179
- for (var f in y)
180
- Object.prototype.hasOwnProperty.call(y, f) && (g[f] = y[f]);
176
+ return c = Object.assign || function(h) {
177
+ for (var f, l = 1, d = arguments.length; l < d; l++) {
178
+ f = arguments[l];
179
+ for (var y in f)
180
+ Object.prototype.hasOwnProperty.call(f, y) && (h[y] = f[y]);
181
181
  }
182
- return g;
182
+ return h;
183
183
  }, c.apply(this, arguments);
184
- }, d = function(g, y) {
184
+ }, p = function(h, f) {
185
185
  var l = {};
186
- for (var m in g)
187
- Object.prototype.hasOwnProperty.call(g, m) && y.indexOf(m) < 0 && (l[m] = g[m]);
188
- if (g != null && typeof Object.getOwnPropertySymbols == "function")
189
- for (var f = 0, m = Object.getOwnPropertySymbols(g); f < m.length; f++)
190
- y.indexOf(m[f]) < 0 && Object.prototype.propertyIsEnumerable.call(g, m[f]) && (l[m[f]] = g[m[f]]);
186
+ for (var d in h)
187
+ Object.prototype.hasOwnProperty.call(h, d) && f.indexOf(d) < 0 && (l[d] = h[d]);
188
+ if (h != null && typeof Object.getOwnPropertySymbols == "function")
189
+ for (var y = 0, d = Object.getOwnPropertySymbols(h); y < d.length; y++)
190
+ f.indexOf(d[y]) < 0 && Object.prototype.propertyIsEnumerable.call(h, d[y]) && (l[d[y]] = h[d[y]]);
191
191
  return l;
192
192
  };
193
193
  (function() {
194
- typeof window > "u" || (navigator.mediaDevices === void 0 && (navigator.mediaDevices = {}), navigator.mediaDevices.getUserMedia === void 0 && (navigator.mediaDevices.getUserMedia = function(y) {
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(m, f) {
197
- l.call(navigator, y, m, f);
196
+ return l ? new Promise(function(d, y) {
197
+ l.call(navigator, f, d, y);
198
198
  }) : Promise.reject(new Error("getUserMedia is not implemented in this browser"));
199
199
  }));
200
200
  })();
201
- function p() {
201
+ function u() {
202
202
  return !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);
203
203
  }
204
- var u = function(g) {
205
- s(y, g);
206
- function y(l) {
207
- var m = g.call(this, l) || this;
208
- return m.canvas = null, m.ctx = null, m.requestUserMediaId = 0, m.unmounted = false, m.state = { hasUserMedia: false }, m;
204
+ var m = function(h) {
205
+ s(f, h);
206
+ function f(l) {
207
+ var d = h.call(this, l) || this;
208
+ return d.canvas = null, d.ctx = null, d.requestUserMediaId = 0, d.unmounted = false, d.state = { hasUserMedia: false }, d;
209
209
  }
210
- return y.prototype.componentDidMount = function() {
211
- var l = this, m = l.state, f = l.props;
212
- if (this.unmounted = false, !p()) {
213
- f.onUserMediaError("getUserMedia not supported");
210
+ return f.prototype.componentDidMount = function() {
211
+ var l = this, d = l.state, y = l.props;
212
+ if (this.unmounted = false, !u()) {
213
+ y.onUserMediaError("getUserMedia not supported");
214
214
  return;
215
215
  }
216
- m.hasUserMedia || this.requestUserMedia(), f.children && typeof f.children != "function" && console.warn("children must be a function");
217
- }, y.prototype.componentDidUpdate = function(l) {
218
- var m = this.props;
219
- if (!p()) {
220
- m.onUserMediaError("getUserMedia not supported");
216
+ d.hasUserMedia || this.requestUserMedia(), y.children && typeof y.children != "function" && console.warn("children must be a function");
217
+ }, f.prototype.componentDidUpdate = function(l) {
218
+ var d = this.props;
219
+ if (!u()) {
220
+ d.onUserMediaError("getUserMedia not supported");
221
221
  return;
222
222
  }
223
- var f = JSON.stringify(l.audioConstraints) !== JSON.stringify(m.audioConstraints), h = JSON.stringify(l.videoConstraints) !== JSON.stringify(m.videoConstraints), b = l.minScreenshotWidth !== m.minScreenshotWidth, O = l.minScreenshotHeight !== m.minScreenshotHeight;
224
- (h || b || O) && (this.canvas = null, this.ctx = null), (f || h) && (this.stopAndCleanup(), this.requestUserMedia());
225
- }, y.prototype.componentWillUnmount = function() {
223
+ var y = JSON.stringify(l.audioConstraints) !== JSON.stringify(d.audioConstraints), g = JSON.stringify(l.videoConstraints) !== JSON.stringify(d.videoConstraints), b = l.minScreenshotWidth !== d.minScreenshotWidth, x = l.minScreenshotHeight !== d.minScreenshotHeight;
224
+ (g || b || x) && (this.canvas = null, this.ctx = null), (y || g) && (this.stopAndCleanup(), this.requestUserMedia());
225
+ }, f.prototype.componentWillUnmount = function() {
226
226
  this.unmounted = true, this.stopAndCleanup();
227
- }, y.stopMediaStream = function(l) {
228
- l && (l.getVideoTracks && l.getAudioTracks ? (l.getVideoTracks().map(function(m) {
229
- l.removeTrack(m), m.stop();
230
- }), l.getAudioTracks().map(function(m) {
231
- l.removeTrack(m), m.stop();
227
+ }, f.stopMediaStream = function(l) {
228
+ l && (l.getVideoTracks && l.getAudioTracks ? (l.getVideoTracks().map(function(d) {
229
+ l.removeTrack(d), d.stop();
230
+ }), l.getAudioTracks().map(function(d) {
231
+ l.removeTrack(d), d.stop();
232
232
  })) : l.stop());
233
- }, y.prototype.stopAndCleanup = function() {
233
+ }, f.prototype.stopAndCleanup = function() {
234
234
  var l = this.state;
235
- l.hasUserMedia && (y.stopMediaStream(this.stream), l.src && window.URL.revokeObjectURL(l.src));
236
- }, y.prototype.getScreenshot = function(l) {
237
- var m = this, f = m.state, h = m.props;
238
- if (!f.hasUserMedia)
235
+ l.hasUserMedia && (f.stopMediaStream(this.stream), l.src && window.URL.revokeObjectURL(l.src));
236
+ }, f.prototype.getScreenshot = function(l) {
237
+ var d = this, y = d.state, g = d.props;
238
+ if (!y.hasUserMedia)
239
239
  return null;
240
240
  var b = this.getCanvas(l);
241
- return b && b.toDataURL(h.screenshotFormat, h.screenshotQuality);
242
- }, y.prototype.getCanvas = function(l) {
243
- var m = this, f = m.state, h = m.props;
244
- if (!this.video || !f.hasUserMedia || !this.video.videoHeight)
241
+ return b && b.toDataURL(g.screenshotFormat, g.screenshotQuality);
242
+ }, f.prototype.getCanvas = function(l) {
243
+ var d = this, y = d.state, g = d.props;
244
+ if (!this.video || !y.hasUserMedia || !this.video.videoHeight)
245
245
  return null;
246
246
  if (!this.ctx) {
247
- var b = this.video.videoWidth, O = this.video.videoHeight;
247
+ var b = this.video.videoWidth, x = this.video.videoHeight;
248
248
  if (!this.props.forceScreenshotSourceSize) {
249
- var C = b / O;
250
- b = h.minScreenshotWidth || this.video.clientWidth, O = b / C, h.minScreenshotHeight && O < h.minScreenshotHeight && (O = h.minScreenshotHeight, b = O * C);
249
+ var C = b / x;
250
+ b = g.minScreenshotWidth || this.video.clientWidth, x = b / C, g.minScreenshotHeight && x < g.minScreenshotHeight && (x = g.minScreenshotHeight, b = x * C);
251
251
  }
252
- this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || b, this.canvas.height = l?.height || O, this.ctx = this.canvas.getContext("2d");
252
+ this.canvas = document.createElement("canvas"), this.canvas.width = l?.width || b, this.canvas.height = l?.height || x, this.ctx = this.canvas.getContext("2d");
253
253
  }
254
- var A = this, M = A.ctx, F = A.canvas;
255
- return M && F && (h.mirrored && (M.translate(F.width, 0), M.scale(-1, 1)), M.imageSmoothingEnabled = h.imageSmoothing, M.drawImage(this.video, 0, 0, l?.width || F.width, l?.height || F.height), h.mirrored && (M.scale(-1, 1), M.translate(-F.width, 0))), F;
256
- }, y.prototype.requestUserMedia = function() {
257
- var l = this, m = this.props, f = function(O, C) {
258
- var A = { video: typeof C < "u" ? C : true };
259
- m.audio && (A.audio = typeof O < "u" ? O : true), l.requestUserMediaId++;
260
- var M = l.requestUserMediaId;
261
- navigator.mediaDevices.getUserMedia(A).then(function(F) {
262
- l.unmounted || M !== l.requestUserMediaId ? y.stopMediaStream(F) : l.handleUserMedia(null, F);
263
- }).catch(function(F) {
264
- l.handleUserMedia(F);
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;
256
+ }, f.prototype.requestUserMedia = function() {
257
+ var l = this, d = this.props, y = function(x, C) {
258
+ var v = { video: typeof C < "u" ? C : true };
259
+ d.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);
265
265
  });
266
266
  };
267
267
  if ("mediaDevices" in navigator)
268
- f(m.audioConstraints, m.videoConstraints);
268
+ y(d.audioConstraints, d.videoConstraints);
269
269
  else {
270
- var h = function(O) {
271
- return { optional: [{ sourceId: O }] };
272
- }, b = function(O) {
273
- var C = O.deviceId;
270
+ var g = function(x) {
271
+ return { optional: [{ sourceId: x }] };
272
+ }, b = function(x) {
273
+ var C = x.deviceId;
274
274
  return typeof C == "string" ? C : Array.isArray(C) && C.length > 0 ? C[0] : typeof C == "object" && C.ideal ? C.ideal : null;
275
275
  };
276
- MediaStreamTrack.getSources(function(O) {
277
- var C = null, A = null;
278
- O.forEach(function(I) {
279
- I.kind === "audio" ? C = I.id : I.kind === "video" && (A = I.id);
276
+ MediaStreamTrack.getSources(function(x) {
277
+ var C = null, v = null;
278
+ x.forEach(function(I) {
279
+ I.kind === "audio" ? C = I.id : I.kind === "video" && (v = I.id);
280
280
  });
281
- var M = b(m.audioConstraints);
282
- M && (C = M);
283
- var F = b(m.videoConstraints);
284
- F && (A = F), f(h(C), h(A));
281
+ var P = b(d.audioConstraints);
282
+ P && (C = P);
283
+ var w = b(d.videoConstraints);
284
+ w && (v = w), y(g(C), g(v));
285
285
  });
286
286
  }
287
- }, y.prototype.handleUserMedia = function(l, m) {
288
- var f = this.props;
289
- if (l || !m) {
290
- this.setState({ hasUserMedia: false }), f.onUserMediaError(l);
287
+ }, f.prototype.handleUserMedia = function(l, d) {
288
+ var y = this.props;
289
+ if (l || !d) {
290
+ this.setState({ hasUserMedia: false }), y.onUserMediaError(l);
291
291
  return;
292
292
  }
293
- this.stream = m;
293
+ this.stream = d;
294
294
  try {
295
- this.video && (this.video.srcObject = m), this.setState({ hasUserMedia: true });
295
+ this.video && (this.video.srcObject = d), this.setState({ hasUserMedia: true });
296
296
  } catch {
297
- this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(m) });
297
+ this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(d) });
298
298
  }
299
- f.onUserMedia(m);
300
- }, y.prototype.render = function() {
301
- var l = this, m = this, f = m.state, h = m.props, b = h.audio, O = h.forceScreenshotSourceSize, C = h.onUserMedia, A = h.onUserMediaError, M = h.screenshotFormat, F = h.screenshotQuality, I = h.minScreenshotWidth, N = h.minScreenshotHeight, v = h.audioConstraints, L = h.videoConstraints, q = h.imageSmoothing, x = h.mirrored, j = h.style, k = j === void 0 ? {} : j, U = h.children, Fe = d(h, ["audio", "forceScreenshotSourceSize", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), ne = x ? c(c({}, k), { transform: (k.transform || "") + " scaleX(-1)" }) : k, te = { getScreenshot: this.getScreenshot.bind(this) };
302
- return n.createElement(n.Fragment, null, n.createElement("video", c({ autoPlay: true, src: f.src, muted: !b, playsInline: true, ref: function(me) {
299
+ y.onUserMedia(d);
300
+ }, f.prototype.render = function() {
301
+ var l = this, d = this, y = d.state, g = d.props, b = g.audio, x = g.forceScreenshotSourceSize, C = g.onUserMedia, v = g.onUserMediaError, P = g.screenshotFormat, w = g.screenshotQuality, I = g.minScreenshotWidth, N = g.minScreenshotHeight, A = g.audioConstraints, L = g.videoConstraints, $ = 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"]), ne = 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(me) {
303
303
  l.video = me;
304
- }, style: ne }, Fe)), U && U(te));
305
- }, y.defaultProps = { audio: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
304
+ }, style: ne }, Fe)), z && z(re));
305
+ }, f.defaultProps = { audio: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
306
306
  }, onUserMediaError: function() {
307
- }, screenshotFormat: "image/webp", screenshotQuality: 0.92 }, y;
307
+ }, screenshotFormat: "image/webp", screenshotQuality: 0.92 }, f;
308
308
  }(n.Component);
309
- r.default = u;
309
+ r.default = m;
310
310
  }, react: function(t, r) {
311
311
  t.exports = e;
312
312
  } }).default;
313
313
  });
314
314
  });
315
- var Xd = {};
316
- Rl(Xd, { DynamicFlow: () => pn, JsonSchemaForm: () => Jt, Layout: () => se, convertStepToLayout: () => Lt, inlineReferences: () => He, isValidSchema: () => G, makeHttpClient: () => ur, translations: () => xl });
317
- module2.exports = Bl(Xd);
318
- function Lt(e, { displayStepTitle: t = true } = {}) {
315
+ var Cu = {};
316
+ tc(Cu, { DynamicFlow: () => Pn, JsonSchemaForm: () => er, Layout: () => se, convertStepToLayout: () => Rt, inlineReferences: () => ze, isValidSchema: () => G, makeHttpClient: () => Sr, translations: () => Hl });
317
+ module2.exports = rc(Cu);
318
+ function Rt(e, { displayStepTitle: t = true } = {}) {
319
319
  if (e.layout)
320
- return Yl(e, t);
320
+ return hc(e, t);
321
321
  switch (e.type) {
322
322
  case "final":
323
- return zl(e);
323
+ return ic(e);
324
324
  case "decision":
325
- return Hl(e);
325
+ return sc(e);
326
326
  case "external":
327
- return jl(e);
327
+ return oc(e);
328
328
  default:
329
- return Ul(e);
329
+ return ac(e);
330
330
  }
331
331
  }
332
- function $r(e) {
332
+ function ao(e) {
333
333
  let t = [];
334
- if (e.title && t.push(Kr(e.title)), e.image) {
335
- let r = Sn(e.image);
334
+ if (e.title && t.push(so(e.title)), e.image) {
335
+ let r = In(e.image);
336
336
  t.push(r);
337
337
  }
338
- return e.description && t.push(Jr(e.description)), t;
338
+ return e.description && t.push(lo(e.description)), t;
339
339
  }
340
- function jl(e) {
341
- return [...$r(e), Vl(e)];
340
+ function oc(e) {
341
+ return [...ao(e), nc(e)];
342
342
  }
343
- function Vl(e) {
343
+ function nc(e) {
344
344
  return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
345
345
  }
346
- function Ul(e) {
347
- let t = $r(e);
348
- if (e.reviewFields && t.push(_l(e.reviewFields)), e.schemas && t.push(...Jl(e)), e.actions) {
349
- let r = e.actions.map(ar);
350
- t.push(_r(r, "md"));
346
+ function ac(e) {
347
+ let t = ao(e);
348
+ if (e.reviewFields && t.push(uc(e.reviewFields)), e.schemas && t.push(...fc(e)), e.actions) {
349
+ let r = e.actions.map(ur);
350
+ t.push(io(r, "md"));
351
351
  }
352
352
  return t;
353
353
  }
354
- function zl(e) {
354
+ function ic(e) {
355
355
  let t = [];
356
356
  if (e.details) {
357
357
  if (e.details.image) {
358
- let r = $l(e.details.image);
358
+ let r = dc(e.details.image);
359
359
  t.push(r);
360
360
  }
361
- e.details.title && t.push(Kr(e.details.title)), e.details.description && t.push(Jr(e.details.description));
361
+ e.details.title && t.push(so(e.details.title)), e.details.description && t.push(lo(e.details.description));
362
362
  }
363
363
  if (e.actions) {
364
- let r = e.actions.map((o) => ar(S(i({}, o), { type: o.type || "primary" })));
365
- t.push(_r(r, "md"));
364
+ let r = e.actions.map((o) => ur(S(i({}, o), { type: o.type || "primary" })));
365
+ t.push(io(r, "md"));
366
366
  }
367
367
  return t;
368
368
  }
369
- function Hl(e) {
370
- let t = $r(e);
371
- return e.options && t.push(Wl(e.options)), t;
369
+ function sc(e) {
370
+ let t = ao(e);
371
+ return e.options && t.push(cc(e.options)), t;
372
372
  }
373
- function _r(e, t) {
373
+ function io(e, t) {
374
374
  return { type: "box", width: t || "md", components: e };
375
375
  }
376
- function Kr(e) {
376
+ function so(e) {
377
377
  return { type: "heading", text: e, size: "lg", margin: "lg", align: "center" };
378
378
  }
379
- function Jr(e) {
379
+ function lo(e) {
380
380
  return { type: "paragraph", text: e, align: "center" };
381
381
  }
382
- function ql(e) {
382
+ function lc(e) {
383
383
  return { type: "form", schema: e };
384
384
  }
385
- function Wl(e) {
386
- return { type: "decision", options: e.map(Gl) };
385
+ function cc(e) {
386
+ return { type: "decision", options: e.map(mc) };
387
387
  }
388
- function Gl(e) {
388
+ function mc(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 Sn(e) {
391
+ function In(e) {
392
392
  return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
393
393
  }
394
- function $l(e) {
395
- return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : Sn(e);
394
+ function dc(e) {
395
+ return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : In(e);
396
396
  }
397
- function ar(e) {
397
+ function ur(e) {
398
398
  return { type: "button", action: S(i({}, e), { title: e.title }) };
399
399
  }
400
- function _l(e) {
401
- return { type: "review", title: e.title, fields: e.fields.map(Kl) };
400
+ function uc(e) {
401
+ return { type: "review", title: e.title, fields: e.fields.map(pc) };
402
402
  }
403
- function Kl(e) {
403
+ function pc(e) {
404
404
  return { label: e.title, value: e.value };
405
405
  }
406
- function Jl(e) {
406
+ function fc(e) {
407
407
  let t = [];
408
408
  if (e.schemas && e.schemas[0]) {
409
- let r = e.schemas[0], o = ql(r);
410
- Xl() ? t.push(o) : t.push(_r([o], "md"));
409
+ let r = e.schemas[0], o = lc(r);
410
+ yc() ? t.push(o) : t.push(io([o], "md"));
411
411
  }
412
412
  return t;
413
413
  }
414
- function Xl() {
414
+ function yc() {
415
415
  return false;
416
416
  }
417
- function Yl(e, t) {
418
- return [...t && e.title ? [Kr(e.title)] : [], ...e.description ? [Jr(e.description)] : [], ...e.layout || []];
417
+ function hc(e, t) {
418
+ return [...t && e.title ? [so(e.title)] : [], ...e.description ? [lo(e.description)] : [], ...e.layout || []];
419
419
  }
420
- function He({ layout: e, schemas: t, actions: r, model: o }) {
421
- return e ? t ? e.map((n) => n.type === "form" ? Zl({ formComponent: n, schemas: t }) : n.type === "decision" ? Ql({ decisionComponent: n, actions: r }) : n.type === "button" ? ec({ actionComponent: n, actions: r }) : n.type === "box" ? tc({ boxComponent: n, schemas: t, actions: r, model: o }) : n.type === "columns" ? rc({ columnsComponent: n, schemas: t, actions: r, model: o }) : n) : e : [];
420
+ function ze({ layout: e, schemas: t, actions: r, model: o }) {
421
+ return e ? t ? e.map((n) => n.type === "form" ? gc({ formComponent: n, schemas: t }) : n.type === "decision" ? bc({ decisionComponent: n, actions: r }) : n.type === "button" ? Sc({ actionComponent: n, actions: r }) : n.type === "box" ? wc({ boxComponent: n, schemas: t, actions: r, model: o }) : n.type === "columns" ? Fc({ columnsComponent: n, schemas: t, actions: r, model: o }) : n) : e : [];
422
422
  }
423
- function Zl({ formComponent: e, schemas: t }) {
423
+ function gc({ formComponent: e, schemas: t }) {
424
424
  if (e.schemaId)
425
- return { type: "form", margin: e.margin, schema: wn(t, e.schemaId) };
426
- if (e.schema && ir(e.schema) && e.schema.$ref)
427
- return { type: "form", margin: e.margin, schema: wn(t, e.schema.$ref) };
428
- if (e.schema && !ir(e.schema))
425
+ return { type: "form", margin: e.margin, schema: Ln(t, e.schemaId) };
426
+ if (e.schema && pr(e.schema) && e.schema.$ref)
427
+ return { type: "form", margin: e.margin, schema: Ln(t, e.schema.$ref) };
428
+ if (e.schema && !pr(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 Ql({ decisionComponent: e, actions: t }) {
432
+ function bc({ 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 && ir(n.action) ? S(i({}, n), { action: Fn(t, n.action.$ref) }) : n);
434
+ let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((n) => n.action && pr(n.action) ? S(i({}, n), { action: Nn(t, n.action.$ref) }) : n);
435
435
  return S(i({}, e), { options: r });
436
436
  }
437
- function ec({ actionComponent: e, actions: t }) {
437
+ function Sc({ actionComponent: e, actions: t }) {
438
438
  var r;
439
- if (e.action && ir(e.action) && ((r = e.action) != null && r.$ref)) {
440
- let o = Fn(t, e.action.$ref);
441
- return ar(o);
439
+ if (e.action && pr(e.action) && ((r = e.action) != null && r.$ref)) {
440
+ let o = Nn(t, e.action.$ref);
441
+ return ur(o);
442
442
  }
443
443
  return e;
444
444
  }
445
- function tc({ boxComponent: e, schemas: t, actions: r, model: o }) {
446
- return S(i({}, e), { components: He({ layout: e.components, schemas: t, actions: r, model: o }) });
445
+ function wc({ boxComponent: e, schemas: t, actions: r, model: o }) {
446
+ return S(i({}, e), { components: ze({ layout: e.components, schemas: t, actions: r, model: o }) });
447
447
  }
448
- function rc({ columnsComponent: e, schemas: t, actions: r, model: o }) {
449
- return S(i({}, e), { left: He({ layout: e.left, schemas: t, actions: r, model: o }), right: He({ layout: e.right, schemas: t, actions: r, model: o }) });
448
+ function Fc({ columnsComponent: e, schemas: t, actions: r, model: o }) {
449
+ return S(i({}, e), { left: ze({ layout: e.left, schemas: t, actions: r, model: o }), right: ze({ layout: e.right, schemas: t, actions: r, model: o }) });
450
450
  }
451
- function wn(e, t) {
451
+ function Ln(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 Fn(e, t) {
457
+ function Nn(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 ir(e) {
463
+ function pr(e) {
464
464
  return Object.prototype.hasOwnProperty.call(e, "$ref");
465
465
  }
466
466
  var we = require("react");
467
- var ll = require("react-intl");
468
- var dt = require("react");
469
- var sr = require("react");
470
- function Cn() {
471
- let [e, t] = (0, sr.useState)(0);
472
- return { addPendingPromise: (0, sr.useCallback)((o) => {
473
- t((n) => n + 1), o.catch(nc).finally(() => oc(() => t((n) => Math.max(0, n - 1))));
467
+ var Al = require("react-intl");
468
+ var ut = require("react");
469
+ var fr = require("react");
470
+ function Tn() {
471
+ let [e, t] = (0, fr.useState)(0);
472
+ return { addPendingPromise: (0, fr.useCallback)((o) => {
473
+ t((n) => n + 1), o.catch(xc).finally(() => Cc(() => t((n) => Math.max(0, n - 1))));
474
474
  }, [t]), pendingPromises: e };
475
475
  }
476
- var oc = (e) => setTimeout(() => e(), 0);
477
- var nc = () => {
476
+ var Cc = (e) => setTimeout(() => e(), 0);
477
+ var xc = () => {
478
478
  };
479
- var Pn = require("react/jsx-runtime");
480
- var xn = { loading: false, registerPersistAsyncPromise: (e) => {
479
+ var Vn = require("react/jsx-runtime");
480
+ var Rn = { loading: false, registerPersistAsyncPromise: (e) => {
481
481
  } };
482
- var On = (0, dt.createContext)(xn);
483
- var vn = ({ loading: e, children: t }) => {
484
- let { pendingPromises: r, addPendingPromise: o } = Cn(), n = (0, dt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
485
- return (0, Pn.jsx)(On.Provider, { value: n, children: t });
482
+ var Bn = (0, ut.createContext)(Rn);
483
+ var jn = ({ loading: e, children: t }) => {
484
+ let { pendingPromises: r, addPendingPromise: o } = Tn(), n = (0, ut.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
485
+ return (0, Vn.jsx)(Bn.Provider, { value: n, children: t });
486
486
  };
487
- var lr = () => (0, dt.useContext)(On) || xn;
488
- var ut = require("react");
489
- var Mn = require("react/jsx-runtime");
490
- var An = (0, ut.createContext)({ triggerEvent: () => {
487
+ var yr = () => (0, ut.useContext)(Bn) || Rn;
488
+ var pt = require("react");
489
+ var zn = require("react/jsx-runtime");
490
+ var Un = (0, pt.createContext)({ triggerEvent: () => {
491
491
  } });
492
- var cr = ({ metadata: e, children: t, onEvent: r }) => {
493
- let o = (0, ut.useMemo)(() => ({ triggerEvent: Xr(r, e) }), [r, e]);
494
- return (0, Mn.jsx)(An.Provider, { value: o, children: t });
492
+ var hr = ({ metadata: e, children: t, onEvent: r }) => {
493
+ let o = (0, pt.useMemo)(() => ({ triggerEvent: co(r, e) }), [r, e]);
494
+ return (0, zn.jsx)(Un.Provider, { value: o, children: t });
495
495
  };
496
- function Q() {
497
- let { triggerEvent: e } = (0, ut.useContext)(An);
496
+ function Z() {
497
+ let { triggerEvent: e } = (0, pt.useContext)(Un);
498
498
  return e;
499
499
  }
500
- var Xr = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
501
- var tt = require("react");
502
- function kn(e) {
500
+ var co = (e, t) => (r, o = {}) => e(r, i(i({}, t), o));
501
+ var et = require("react");
502
+ function Hn(e) {
503
503
  return e >= 200 && e < 300;
504
504
  }
505
- function mr(e) {
505
+ function gr(e) {
506
506
  return e === 422;
507
507
  }
508
- function dr(e = "") {
508
+ function br(e = "") {
509
509
  return ["https://", "http://", "data:"].some((t) => e.slice(0, t.length) === t && e.length > t.length) === false;
510
510
  }
511
- var ur = (e, t) => (r, o) => {
512
- let n = ac(r, e || ""), a = ic(o == null ? void 0 : o.headers, t);
511
+ var Sr = (e, t) => (r, o) => {
512
+ let n = Oc(r, e || ""), a = vc(o == null ? void 0 : o.headers, t);
513
513
  return fetch(n, S(i({}, o || {}), { headers: a }));
514
514
  };
515
- var ac = (e, t) => typeof e == "string" && dr(e) ? t + e : e;
516
- var ic = (e, t) => {
515
+ var Oc = (e, t) => typeof e == "string" && br(e) ? t + e : e;
516
+ var vc = (e, t) => {
517
517
  if (!e && !t)
518
518
  return {};
519
519
  let r = new Headers(e);
@@ -521,281 +521,281 @@ var require_main_min = __commonJS({
521
521
  r.set(o, n);
522
522
  return r;
523
523
  };
524
- var Yr = require("react/jsx-runtime");
525
- var pr = (0, tt.createContext)(void 0);
526
- var En = ({ httpClient: e, children: t }) => (0, Yr.jsx)(pr.Provider, { value: e, children: t });
527
- var fr = ({ baseUrl: e, children: t }) => {
528
- let r = (0, tt.useMemo)(() => ur(e), [e]);
529
- return (0, Yr.jsx)(pr.Provider, { value: r, children: t });
530
- };
531
- var oe = () => (0, tt.useContext)(pr) || fetch;
532
- var yr = () => !!(0, tt.useContext)(pr);
533
- var pt = require("react");
534
- var In = 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 Dn = (0, pt.createContext)(null);
537
- var hr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
538
- let n = (0, pt.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, In.jsx)(Dn.Provider, { value: n, children: r });
540
- };
541
- var ft = () => {
542
- let e = (0, pt.useContext)(Dn);
524
+ var mo = require("react/jsx-runtime");
525
+ var wr = (0, et.createContext)(void 0);
526
+ var qn = ({ httpClient: e, children: t }) => (0, mo.jsx)(wr.Provider, { value: e, children: t });
527
+ var Fr = ({ baseUrl: e, children: t }) => {
528
+ let r = (0, et.useMemo)(() => Sr(e), [e]);
529
+ return (0, mo.jsx)(wr.Provider, { value: r, children: t });
530
+ };
531
+ var ee = () => (0, et.useContext)(wr) || fetch;
532
+ var Cr = () => !!(0, et.useContext)(wr);
533
+ var ft = require("react");
534
+ var Gn = require("react/jsx-runtime");
535
+ var tt = (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, ft.createContext)(null);
537
+ var xr = ({ flowId: e, stepId: t, children: r, onLog: o }) => {
538
+ let n = (0, ft.useMemo)(() => ({ debug: tt("debug", o, e, t), info: tt("info", o, e, t), warning: tt("warning", o, e, t), error: tt("error", o, e, t), critical: tt("critical", o, e, t) }), [o, e, t]);
539
+ return (0, Gn.jsx)($n.Provider, { value: n, children: r });
540
+ };
541
+ var yt = () => {
542
+ let e = (0, ft.useContext)($n);
543
543
  if (e == null)
544
544
  throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
545
545
  return e;
546
546
  };
547
547
  var D = (e) => typeof e == "string";
548
- var T = (e) => typeof e == "number" && !Number.isNaN(e);
549
- var Ln = (e) => T(e) && Math.floor(e) === e;
548
+ var R = (e) => typeof e == "number" && !Number.isNaN(e);
549
+ var Wn = (e) => R(e) && Math.floor(e) === e;
550
550
  var Ce = (e) => typeof e == "boolean";
551
- var R = (e) => !P(e) && !K(e) && (e == null ? void 0 : e.constructor) === Object;
552
- var W = (e) => Array.isArray(e);
553
- var P = (e) => e === null;
551
+ var T = (e) => !M(e) && !K(e) && (e == null ? void 0 : e.constructor) === Object;
552
+ var q = (e) => Array.isArray(e);
553
+ var M = (e) => e === null;
554
554
  var K = (e) => typeof e == "undefined";
555
- var yt = (e) => D(e) && e.length === 0 || (R(e) || W(e)) && Object.keys(e).length === 0;
556
- function Nn(e, t) {
557
- return t.oneOf.some((r) => ke(e, r) === e) ? e : null;
555
+ var ht = (e) => D(e) && e.length === 0 || (T(e) || q(e)) && Object.keys(e).length === 0;
556
+ function _n(e, t) {
557
+ return t.oneOf.some((r) => Me(e, r) === e) ? e : null;
558
558
  }
559
- function Tn(e, t) {
559
+ function Kn(e, t) {
560
560
  var o;
561
- let r = t.oneOf.map((n) => sc(e, n)).filter((n) => n !== null);
561
+ let r = t.oneOf.map((n) => Pc(e, n)).filter((n) => n !== null);
562
562
  return r.length === 0 ? null : (o = r.find((n) => n.some((a) => a !== null))) != null ? o : r[0];
563
563
  }
564
- function sc(e, t) {
565
- return !Ee(t) || !qe(t) ? null : Zr(e, t);
564
+ function Pc(e, t) {
565
+ return !ke(t) || !He(t) ? null : uo(e, t);
566
566
  }
567
- function Rn(e) {
568
- return D(e) && !yt(e) ? e : null;
567
+ function Jn(e) {
568
+ return D(e) && !ht(e) ? e : null;
569
569
  }
570
- function Bn(e) {
571
- return T(e) ? e : null;
570
+ function Xn(e) {
571
+ return R(e) ? e : null;
572
572
  }
573
- function jn(e) {
573
+ function Yn(e) {
574
574
  return Ce(e) ? e : null;
575
575
  }
576
- function Zr(e, t) {
577
- if (!W(e) || !qe(t))
576
+ function uo(e, t) {
577
+ if (!q(e) || !He(t))
578
578
  return null;
579
579
  if (e.length > 0) {
580
580
  let r = typeof e[0];
581
581
  if (!e.every((o) => typeof o === r))
582
582
  return new Array(e.length).fill(null);
583
583
  }
584
- return e.map((r) => ke(r, t.items));
584
+ return e.map((r) => Me(r, t.items));
585
585
  }
586
- function Vn(e, t) {
586
+ function Qn(e, t) {
587
587
  return Object.keys(t.properties).reduce((r, o) => {
588
588
  if (e && !K(e[o])) {
589
- let n = e[o], a = t.properties[o], s = Nt(n, a);
590
- if (!P(s))
589
+ let n = e[o], a = t.properties[o], s = Bt(n, a);
590
+ if (!M(s))
591
591
  return S(i({}, r), { [o]: s });
592
592
  }
593
593
  return r;
594
594
  }, {});
595
595
  }
596
- function Un(e, t) {
596
+ function Zn(e, t) {
597
597
  return t.allOf.reduce((r, o) => {
598
598
  let n = ae(e, o);
599
- return X(n) ? i(i({}, r), n) : r;
599
+ return Y(n) ? i(i({}, r), n) : r;
600
600
  }, {});
601
601
  }
602
- function zn(e, t) {
603
- return t.oneOf.map((r) => ae(e, r)).reduce((r, o) => P(r) ? o : X(r) && X(o) ? Hn(r, o) : P(o) ? r : o, null);
602
+ function ea(e, t) {
603
+ return t.oneOf.map((r) => ae(e, r)).reduce((r, o) => M(r) ? o : Y(r) && Y(o) ? ta(r, o) : M(o) ? r : o, null);
604
604
  }
605
- function Hn(e, t) {
605
+ function ta(e, t) {
606
606
  return Object.keys(t).reduce((r, o) => {
607
607
  let n = e[o], a = t[o];
608
- return X(n) && X(a) ? S(i({}, r), { [o]: Hn(n, a) }) : S(i({}, r), { [o]: t[o] });
608
+ return Y(n) && Y(a) ? S(i({}, r), { [o]: ta(n, a) }) : S(i({}, r), { [o]: t[o] });
609
609
  }, i({}, e));
610
610
  }
611
- var Nt = (e, t) => X(e) ? ae(e, t) : Qr(e) ? lc(e, t) : ke(e, t);
612
- function ke(e, t) {
613
- if (P(e))
611
+ var Bt = (e, t) => Y(e) ? ae(e, t) : po(e) ? Ac(e, t) : Me(e, t);
612
+ function Me(e, t) {
613
+ if (M(e))
614
614
  return null;
615
615
  if (t.oneOf)
616
- return Nn(e, t);
616
+ return _n(e, t);
617
617
  if (!K(t.const) && e === t.const)
618
618
  return e;
619
619
  if (t.type)
620
620
  switch (t.type) {
621
621
  case "string":
622
- return Rn(e);
622
+ return Jn(e);
623
623
  case "number":
624
624
  case "integer":
625
- return Bn(e);
625
+ return Xn(e);
626
626
  case "boolean":
627
- return jn(e);
627
+ return Yn(e);
628
628
  default:
629
629
  return null;
630
630
  }
631
631
  return null;
632
632
  }
633
633
  function ae(e, t) {
634
- return De(t) || Ee(t) || P(e) ? null : t.allOf ? Un(e, t) : t.oneOf ? zn(e, t) : !K(t.const) && e === t.const ? e : xe(t) ? Vn(e, t) : null;
634
+ return Ee(t) || ke(t) || M(e) ? null : t.allOf ? Zn(e, t) : t.oneOf ? ea(e, t) : !K(t.const) && e === t.const ? e : xe(t) ? Qn(e, t) : null;
635
635
  }
636
- function lc(e, t) {
637
- return pe(t) ? Tn(e, t) : Ee(t) ? Zr(e, t) : null;
636
+ function Ac(e, t) {
637
+ return pe(t) ? Kn(e, t) : ke(t) ? uo(e, t) : null;
638
638
  }
639
- function Tt(e, t = false) {
639
+ function jt(e, t = false) {
640
640
  return !t || !K(e);
641
641
  }
642
- function qn(e, t = false) {
643
- return !t || W(e);
642
+ function ra(e, t = false) {
643
+ return !t || q(e);
644
644
  }
645
- function Wn(e, t) {
646
- return !T(t) || D(e) && e.length >= t;
645
+ function oa(e, t) {
646
+ return !R(t) || D(e) && e.length >= t;
647
647
  }
648
- function Gn(e, t) {
649
- return !T(t) || D(e) && e.length <= t;
648
+ function na(e, t) {
649
+ return !R(t) || D(e) && e.length <= t;
650
650
  }
651
- function $n(e, t) {
651
+ function aa(e, t) {
652
652
  return t === void 0 ? true : e == null ? false : !!new RegExp(t).test(e);
653
653
  }
654
- function eo(e, t) {
655
- return !T(t) && !D(t) || (T(e) || D(e)) && e <= t;
654
+ function fo(e, t) {
655
+ return !R(t) && !D(t) || (R(e) || D(e)) && e <= t;
656
656
  }
657
- function to(e, t) {
658
- return !T(t) && !D(t) || (T(e) || D(e)) && e >= t;
657
+ function yo(e, t) {
658
+ return !R(t) && !D(t) || (R(e) || D(e)) && e >= t;
659
659
  }
660
- function _n(e, t) {
661
- return !T(t) || W(e) && e.length >= t;
660
+ function ia(e, t) {
661
+ return !R(t) || q(e) && e.length >= t;
662
662
  }
663
- function Kn(e, t) {
664
- return !T(t) || W(e) && e.length <= t;
663
+ function sa(e, t) {
664
+ return !R(t) || q(e) && e.length <= t;
665
665
  }
666
- function We(e, t, r) {
666
+ function qe(e, t, r) {
667
667
  if (t.const)
668
- return ao(e, t, r);
669
- if (P(e))
668
+ return So(e, t, r);
669
+ if (M(e))
670
670
  return r ? ["required"] : [];
671
- if (Xn(t))
672
- return ro(e, t, r);
671
+ if (ca(t))
672
+ return ho(e, t, r);
673
673
  switch (t.type) {
674
674
  case "number":
675
- return gr(e, t, r);
675
+ return Or(e, t, r);
676
676
  case "integer":
677
- return oo(e, t, r);
677
+ return go(e, t, r);
678
678
  case "boolean":
679
- return no(e, t, r);
679
+ return bo(e, t, r);
680
680
  case "array":
681
- return ht(e, t, r);
681
+ return gt(e, t, r);
682
682
  case "object":
683
- return cc(e, t);
683
+ return Mc(e, t);
684
684
  default:
685
685
  return [];
686
686
  }
687
687
  }
688
- function ro(e, t, r) {
689
- if (!D(e) && !P(e))
688
+ function ho(e, t, r) {
689
+ if (!D(e) && !M(e))
690
690
  return ["type"];
691
691
  if (e === "" && r)
692
692
  return ["required"];
693
693
  let o = [];
694
- return Tt(e, r) || o.push("required"), Wn(e, t.minLength) || o.push("minLength"), Gn(e, t.maxLength) || o.push("maxLength"), $n(e, t.pattern) || o.push("pattern"), to(e, t.minimum) || o.push("minimum"), eo(e, t.maximum) || o.push("maximum"), o;
694
+ return jt(e, r) || o.push("required"), oa(e, t.minLength) || o.push("minLength"), na(e, t.maxLength) || o.push("maxLength"), aa(e, t.pattern) || o.push("pattern"), yo(e, t.minimum) || o.push("minimum"), fo(e, t.maximum) || o.push("maximum"), o;
695
695
  }
696
- function gr(e, t, r) {
697
- if (!T(e) && !P(e))
696
+ function Or(e, t, r) {
697
+ if (!R(e) && !M(e))
698
698
  return ["type"];
699
699
  let o = [];
700
- return Tt(e, r) || o.push("required"), to(e, t.minimum) || o.push("minimum"), eo(e, t.maximum) || o.push("maximum"), o;
700
+ return jt(e, r) || o.push("required"), yo(e, t.minimum) || o.push("minimum"), fo(e, t.maximum) || o.push("maximum"), o;
701
701
  }
702
- function oo(e, t, r) {
703
- return Ln(e) ? gr(e, t, r) : ["type"];
702
+ function go(e, t, r) {
703
+ return Wn(e) ? Or(e, t, r) : ["type"];
704
704
  }
705
- function no(e, t, r) {
706
- if (!Ce(e) && !P(e))
705
+ function bo(e, t, r) {
706
+ if (!Ce(e) && !M(e))
707
707
  return ["type"];
708
708
  let o = [];
709
- return Tt(e, r) || o.push("required"), o;
709
+ return jt(e, r) || o.push("required"), o;
710
710
  }
711
- function ao(e, t, r) {
712
- return Tt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
711
+ function So(e, t, r) {
712
+ return jt(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
713
713
  }
714
- function ht(e, t, r) {
715
- if (!W(e) && !P(e))
714
+ function gt(e, t, r) {
715
+ if (!q(e) && !M(e))
716
716
  return ["type"];
717
- if (!qn(e, r))
717
+ if (!ra(e, r))
718
718
  return ["required"];
719
719
  let o = [];
720
- return _n(e, t.minItems) || o.push("minItems"), Kn(e, t.maxItems) || o.push("maxItems"), o;
720
+ return ia(e, t.minItems) || o.push("minItems"), sa(e, t.maxItems) || o.push("maxItems"), o;
721
721
  }
722
- function Jn(e, t) {
723
- return P(e) ? ["type"] : [];
722
+ function la(e, t) {
723
+ return M(e) ? ["type"] : [];
724
724
  }
725
- function cc(e, t) {
726
- return X(e) ? W(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, n) => o && n, true) ? [] : ["required"] : [] : ["type"];
725
+ function Mc(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"];
727
727
  }
728
- function mc(e, t) {
729
- return !ro(e, t).length;
728
+ function kc(e, t) {
729
+ return !ho(e, t).length;
730
730
  }
731
- function dc(e, t) {
732
- return !gr(e, t).length;
731
+ function Ec(e, t) {
732
+ return !Or(e, t).length;
733
733
  }
734
- function uc(e, t) {
735
- return !oo(e, t).length;
734
+ function Dc(e, t) {
735
+ return !go(e, t).length;
736
736
  }
737
- function pc(e, t) {
738
- return !no(e, t).length;
737
+ function Ic(e, t) {
738
+ return !bo(e, t).length;
739
739
  }
740
- function fc(e, t) {
741
- return !ao(e, t).length;
740
+ function Lc(e, t) {
741
+ return !So(e, t).length;
742
742
  }
743
- function yc(e, t) {
744
- return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) => hc(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
743
+ function Nc(e, t) {
744
+ return !T(e) || t.type !== "object" || !T(t.properties) ? false : Object.keys(t.properties).map((r) => Tc(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
745
745
  }
746
- function hc(e, t, r) {
746
+ function Tc(e, t, r) {
747
747
  return typeof e == "undefined" ? !r : G(e, t);
748
748
  }
749
- function gc(e, t) {
750
- return t.type !== "array" || !R(t.items) || ht(e, t).length > 0 ? false : Array.isArray(e) && qe(t) && e.map((r) => G(r, t.items)).every((r) => r);
749
+ function Rc(e, t) {
750
+ return t.type !== "array" || !T(t.items) || gt(e, t).length > 0 ? false : Array.isArray(e) && He(t) && e.map((r) => G(r, t.items)).every((r) => r);
751
751
  }
752
- function bc(e, t) {
753
- return W(t.oneOf) ? t.oneOf.some((r) => G(e, r)) : false;
752
+ function Bc(e, t) {
753
+ return q(t.oneOf) ? t.oneOf.some((r) => G(e, r)) : false;
754
754
  }
755
- function Sc(e, t) {
756
- return W(t.allOf) ? t.allOf.map((r) => G(e, r)).every((r) => r) : false;
755
+ function jc(e, t) {
756
+ return q(t.allOf) ? t.allOf.map((r) => G(e, r)).every((r) => r) : false;
757
757
  }
758
- function wc(e, t) {
759
- return !Jn(e, t).length;
758
+ function Vc(e, t) {
759
+ return !la(e, t).length;
760
760
  }
761
761
  function G(e, t) {
762
762
  if (t.oneOf)
763
- return bc(e, t);
763
+ return Bc(e, t);
764
764
  if (t.allOf)
765
- return Sc(e, t);
765
+ return jc(e, t);
766
766
  if (t.const)
767
- return fc(e, t);
767
+ return Lc(e, t);
768
768
  switch (t.type) {
769
769
  case "string":
770
- return mc(e, t);
770
+ return kc(e, t);
771
771
  case "number":
772
- return dc(e, t);
772
+ return Ec(e, t);
773
773
  case "integer":
774
- return uc(e, t);
774
+ return Dc(e, t);
775
775
  case "boolean":
776
- return pc(e, t);
776
+ return Ic(e, t);
777
777
  case "array":
778
- return gc(e, t);
778
+ return Rc(e, t);
779
779
  case "object":
780
- return yc(e, t);
780
+ return Nc(e, t);
781
781
  case "blob":
782
- return wc(e, t);
782
+ return Vc(e, t);
783
783
  default:
784
784
  return false;
785
785
  }
786
786
  }
787
- function Fc(e) {
787
+ function Uc(e) {
788
788
  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
789
  return [n, a, s].join("-");
790
790
  }
791
- var Yn = (e) => {
791
+ var ma = (e) => {
792
792
  if (!e)
793
793
  return null;
794
794
  let [t, r, o] = e.split("-").map((n) => parseInt(n, 10));
795
- return !T(t) || !T(r) || !T(o) ? null : new Date(t, r - 1, o);
795
+ return !R(t) || !R(r) || !R(o) ? null : new Date(t, r - 1, o);
796
796
  };
797
- var Zn = (e) => Fc(e);
798
- var gt = (e, t) => {
797
+ var da = (e) => Uc(e);
798
+ var $e = (e, t) => {
799
799
  let r, o, n = () => {
800
800
  r && (clearTimeout(r), r = null), o = null;
801
801
  }, a = (...s) => {
@@ -809,20 +809,20 @@ var require_main_min = __commonJS({
809
809
  r !== null && (e(...o), n());
810
810
  }, a;
811
811
  };
812
- var Ge = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ge(r, t[o])) : !!(Qn(e) && Qn(t) && Cc(e, t));
813
- var Cc = (e, t) => {
812
+ var Ge = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ge(r, t[o])) : !!(ua(e) && ua(t) && zc(e, t));
813
+ var zc = (e, t) => {
814
814
  let r = Object.keys(e), o = Object.keys(t);
815
815
  return r.length === o.length && r.every((n) => Object.prototype.hasOwnProperty.call(t, n) && Ge(e[n], t[n]));
816
816
  };
817
- var Qn = (e) => typeof e == "object" && e !== null;
818
- function br(e) {
817
+ var ua = (e) => typeof e == "object" && e !== null;
818
+ function vr(e) {
819
819
  return Math.floor(e / 1024);
820
820
  }
821
- var ea = (e) => new Promise((t, r) => {
821
+ var pa = (e) => new Promise((t, r) => {
822
822
  let o = new FileReader();
823
823
  o.readAsDataURL(e), o.addEventListener("load", () => t(o.result)), o.addEventListener("error", (n) => r(n));
824
824
  });
825
- function ta(e, t) {
825
+ function fa(e, t) {
826
826
  let r = t.reduce((o, n) => S(i({}, o), { [n.id]: n }), {});
827
827
  for (let o of e) {
828
828
  let n = r[o.id];
@@ -832,98 +832,98 @@ var require_main_min = __commonJS({
832
832
  return true;
833
833
  }
834
834
  var Oe = (e = "") => `${e ? `${e}-` : ""}${Math.floor(1e8 * Math.random())}`;
835
- function Ie(e) {
835
+ function De(e) {
836
836
  return !K(e == null ? void 0 : e.const);
837
837
  }
838
- function Rt(e) {
839
- return !!e && !Ie(e);
838
+ function Vt(e) {
839
+ return !!e && !De(e);
840
840
  }
841
- var xc = (e) => !!e.readOnly && De(e);
842
- var Oc = (e) => !!e.oneOf && !!e.promotion;
843
- var vc = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
844
- function De(e) {
845
- return vc.has(e.type || "") || "const" in e && e.const !== void 0;
841
+ var Hc = (e) => !!e.readOnly && Ee(e);
842
+ var qc = (e) => !!e.oneOf && !!e.promotion;
843
+ var $c = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
844
+ function Ee(e) {
845
+ return $c.has(e.type || "") || "const" in e && e.const !== void 0;
846
846
  }
847
847
  function xe(e) {
848
848
  return e.type === "object";
849
849
  }
850
- function Bt(e) {
850
+ function Ut(e) {
851
851
  return pe(e) && e.oneOf.every((t) => t.type === "object");
852
852
  }
853
853
  function pe(e) {
854
854
  return !!e.oneOf;
855
855
  }
856
- function io(e) {
856
+ function wo(e) {
857
857
  return !!e.allOf;
858
858
  }
859
859
  function bt(e) {
860
860
  return e.type === "blob";
861
861
  }
862
- function Ee(e) {
862
+ function ke(e) {
863
863
  return e.type === "array";
864
864
  }
865
- function qe(e) {
865
+ function He(e) {
866
866
  let t = e.items;
867
867
  return !Array.isArray(t);
868
868
  }
869
- function Xn(e) {
869
+ function ca(e) {
870
870
  return e.type === "string";
871
871
  }
872
- function Sr(e) {
872
+ function Pr(e) {
873
873
  return !!e.persistAsync;
874
874
  }
875
- function Pc(e) {
876
- return Sr(e) && (bt(e.persistAsync.schema) || Ac(e.persistAsync.schema));
875
+ function Gc(e) {
876
+ return Pr(e) && (bt(e.persistAsync.schema) || Wc(e.persistAsync.schema));
877
877
  }
878
- var so = (e) => De(e) && !!e.validationAsync;
879
- function Ac(e) {
878
+ var Fo = (e) => Ee(e) && !!e.validationAsync;
879
+ function Wc(e) {
880
880
  return e.type === "string" && e.format === "base64url";
881
881
  }
882
- function ra(e) {
882
+ function ya(e) {
883
883
  return e.type === "string" && e.format === "base64url";
884
884
  }
885
- var oa = (e) => Ee(e) && qe(e) && Pc(e.items);
886
- var jt = (e) => xc(e) ? "readOnly" : Sr(e) ? "persistAsync" : so(e) ? "validationAsync" : xe(e) ? "object" : Ee(e) ? "array" : Oc(e) ? "promotedOneOf" : pe(e) ? "oneOf" : io(e) ? "allOf" : De(e) ? "basic" : null;
887
- var na = (e) => Mc(e) && kc(e) && Ec(e);
888
- var Mc = (e) => !e.type || e.type === "form";
889
- var kc = (e) => {
885
+ var ha = (e) => ke(e) && He(e) && Gc(e.items);
886
+ var zt = (e) => Hc(e) ? "readOnly" : Pr(e) ? "persistAsync" : Fo(e) ? "validationAsync" : xe(e) ? "object" : ke(e) ? "array" : qc(e) ? "promotedOneOf" : pe(e) ? "oneOf" : wo(e) ? "allOf" : Ee(e) ? "basic" : null;
887
+ var ga = (e) => _c(e) && Kc(e) && Jc(e);
888
+ var _c = (e) => !e.type || e.type === "form";
889
+ var Kc = (e) => {
890
890
  var t;
891
891
  return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
892
892
  };
893
- var Ec = (e) => {
893
+ var Jc = (e) => {
894
894
  if (!e.schemas)
895
895
  return false;
896
- let t = wr(e.schemas);
896
+ let t = Ar(e.schemas);
897
897
  if ((t == null ? void 0 : t.length) !== 1)
898
898
  return false;
899
899
  let r = t[0];
900
900
  if (!xe(r) || Object.values(r.properties).length !== 1)
901
901
  return false;
902
902
  let o = Object.values(r.properties)[0];
903
- return ra(o) ? o.source === "camera" : false;
904
- };
905
- var wr = (e) => e.filter((t) => xe(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 X = (e) => typeof e == "object" && e !== null && e.constructor === Object;
907
- var lo = (e) => P(e) || X(e);
908
- var co = (e) => Ce(e) || T(e) || D(e) || P(e);
909
- var aa = (e) => D(e) || P(e);
910
- var Qr = (e) => W(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
911
- var ia = (e) => P(e) ? true : Qr(e);
912
- var Vt = (e) => D(e) || P(e);
913
- var sa = require("react");
914
- function la(e, t) {
915
- return (0, sa.useCallback)(gt(e, t), [e, t]);
903
+ return ya(o) ? o.source === "camera" : false;
904
+ };
905
+ var Ar = (e) => e.filter((t) => xe(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 Co = (e) => M(e) || Y(e);
908
+ var xo = (e) => Ce(e) || R(e) || D(e) || M(e);
909
+ var ba = (e) => D(e) || M(e);
910
+ var po = (e) => q(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean") : false;
911
+ var Sa = (e) => M(e) ? true : po(e);
912
+ var Ht = (e) => D(e) || M(e);
913
+ var wa = require("react");
914
+ function Fa(e, t) {
915
+ return (0, wa.useCallback)($e(e, t), [e, t]);
916
916
  }
917
- var Ut = require("react");
918
- function ca(e) {
919
- let [t, r] = (0, Ut.useState)(null), [o, n] = (0, Ut.useState)(false), a = () => n(true);
920
- return (0, Ut.useEffect)(() => {
917
+ var qt = require("react");
918
+ function Ca(e) {
919
+ let [t, r] = (0, qt.useState)(null), [o, n] = (0, qt.useState)(false), a = () => n(true);
920
+ return (0, qt.useEffect)(() => {
921
921
  e && (n(false), r(window.open(e, "_blank")));
922
922
  }, [e]), { requiresManualTrigger: !!(e && !t && !o), dismissConfirmation: a };
923
923
  }
924
- var zt = require("react");
925
- function ma(e, t) {
926
- let r = oe(), o = (0, zt.useMemo)(() => {
924
+ var $t = require("react");
925
+ function xa(e, t) {
926
+ let r = ee(), o = (0, $t.useMemo)(() => {
927
927
  if (e)
928
928
  return () => r(e.url).then((a) => {
929
929
  if (a.ok)
@@ -935,39 +935,87 @@ var require_main_min = __commonJS({
935
935
  else
936
936
  throw new Error("failed");
937
937
  });
938
- }, [e, r]), n = (0, zt.useCallback)((a) => {
939
- let c = ((e == null ? void 0 : e.responseHandlers) || []).find((d) => d.result === a.result);
938
+ }, [e, r]), n = (0, $t.useCallback)((a) => {
939
+ let c = ((e == null ? void 0 : e.responseHandlers) || []).find((p) => p.result === a.result);
940
940
  if (c != null && c.action) {
941
- let { action: d } = c;
942
- if (d.exit) {
943
- let p = i(i({}, d.result || {}), a.data || {});
944
- t(S(i({}, d), { result: p }));
941
+ let { action: p } = c;
942
+ if (p.exit) {
943
+ let u = i(i({}, p.result || {}), a.data || {});
944
+ t(S(i({}, p), { result: u }));
945
945
  } else {
946
- let p = i(i({}, d.data || {}), a.data || {});
947
- t(S(i({}, d), { data: p }));
946
+ let u = i(i({}, p.data || {}), a.data || {});
947
+ t(S(i({}, p), { data: u }));
948
948
  }
949
949
  return false;
950
950
  }
951
951
  return true;
952
952
  }, [e == null ? void 0 : e.responseHandlers, t]);
953
- Fr({ 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)(() => {
953
+ Mr({ 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)(() => {
954
954
  e && t(e.onError.action);
955
955
  }, [t, e]) });
956
956
  }
957
- var cs = require("react");
958
- var ms = require("react-intl");
959
- var da = require("react-intl");
960
- var Ht = (0, da.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
961
- var mt = require("react");
962
- var ns = require("react-intl");
963
- var ua = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
957
+ var ks = require("react");
958
+ var Es = require("react-intl");
959
+ var Oa = require("react-intl");
960
+ var Gt = (0, Oa.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
961
+ var dt = require("react");
962
+ var Os = require("react-intl");
963
+ var va = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
964
964
  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 pa = { SHORT: "short", LONG: "long" };
966
- var fa = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
967
- var rs = ze(ot());
965
+ var Pa = { SHORT: "short", LONG: "long" };
966
+ var Aa = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
967
+ var Cs = Ue(rt());
968
968
  var le = require("react");
969
- var ya = require("@transferwise/components");
970
- var z = (e) => {
969
+ var Na = require("@transferwise/components");
970
+ var wt = require("@transferwise/components");
971
+ var ka = require("react/jsx-runtime");
972
+ var St = (e) => Xc(e) || Yc(e);
973
+ var Xc = (e) => Qc.some((t) => e === `flag-${t}`);
974
+ var Yc = (e) => Zc.some((t) => e === `flag-${t}`);
975
+ var Ma = ({ name: e }) => {
976
+ if (!St(e))
977
+ return null;
978
+ let t = e.substring(5);
979
+ return (0, ka.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
980
+ };
981
+ var Qc = ["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 Zc = ["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 Ea = Ue(require("@transferwise/icons"));
984
+ var La = require("react/jsx-runtime");
985
+ var Er = (e) => {
986
+ let t = Ia(e);
987
+ return Object.keys(Ea).includes(t);
988
+ };
989
+ var Da = ({ name: e }) => {
990
+ if (!Er(e))
991
+ return null;
992
+ let t = Ia(e), r = Ea[t];
993
+ return (0, La.jsx)(r, { size: 24 });
994
+ };
995
+ var Ia = (e) => e.split("-").map(em).join("");
996
+ var em = (e) => {
997
+ var t;
998
+ return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
999
+ };
1000
+ var Oo = require("react/jsx-runtime");
1001
+ var tm = ({ type: e }) => St(e) ? (0, Oo.jsx)(Ma, { name: e }) : Er(e) ? (0, Oo.jsx)(Da, { name: e }) : null;
1002
+ function vo(e) {
1003
+ return Er(e) || St(e);
1004
+ }
1005
+ var We = tm;
1006
+ var Wt = require("react/jsx-runtime");
1007
+ var _t = ({ icon: e, image: t }) => {
1008
+ if (e != null && e.name)
1009
+ return (0, Wt.jsx)(wt.Avatar, { type: wt.AvatarType.ICON, children: (0, Wt.jsx)(We, { type: e.name }) });
1010
+ if (e != null && e.text)
1011
+ return (0, Wt.jsx)(wt.Avatar, { type: wt.AvatarType.INITIALS, children: e.text });
1012
+ if (t != null && t.url) {
1013
+ let { url: r, text: o } = t;
1014
+ return (0, Wt.jsx)("img", { src: r, alt: o });
1015
+ }
1016
+ return null;
1017
+ };
1018
+ var U = (e) => {
971
1019
  switch (e) {
972
1020
  case "xs":
973
1021
  return "m-b-0";
@@ -983,7 +1031,7 @@ var require_main_min = __commonJS({
983
1031
  return "";
984
1032
  }
985
1033
  };
986
- var Dc = (e) => {
1034
+ var rm = (e) => {
987
1035
  switch (e) {
988
1036
  case "right":
989
1037
  return "text-xs-right";
@@ -994,13 +1042,13 @@ var require_main_min = __commonJS({
994
1042
  return "";
995
1043
  }
996
1044
  };
997
- var Le = (e) => `${Dc(e.align)} ${z(e.margin)}`;
998
- var ha = require("react/jsx-runtime");
999
- var Ic = (e) => {
1045
+ var Ie = (e) => `${rm(e.align)} ${U(e.margin)}`;
1046
+ var Ta = require("react/jsx-runtime");
1047
+ var om = (e) => {
1000
1048
  let t = e.component;
1001
- return (0, ha.jsx)(ya.Alert, { type: Nc(Lc(t.context)), className: z(t.margin), message: t.markdown });
1049
+ return (0, Ta.jsx)(Na.Alert, { type: am(nm(t.context)), className: U(t.margin), message: t.markdown });
1002
1050
  };
1003
- var Lc = (e) => {
1051
+ var nm = (e) => {
1004
1052
  switch (e) {
1005
1053
  case "success":
1006
1054
  return "positive";
@@ -1015,15 +1063,15 @@ var require_main_min = __commonJS({
1015
1063
  return e;
1016
1064
  }
1017
1065
  };
1018
- var Nc = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1019
- var ie = Ic;
1020
- var nt = require("react/jsx-runtime");
1021
- var Tc = (e) => {
1022
- let t = e.component, r = z(t.margin || t.border ? "lg" : "xs");
1023
- return !t.width || t.width === "xl" ? (0, nt.jsx)("div", { className: r + ga(t.border), children: (0, nt.jsx)(se, { 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 + Rc(t), children: (0, nt.jsx)("div", { className: ga(t.border), children: (0, nt.jsx)(se, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1066
+ var am = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
1067
+ var ie = om;
1068
+ var ot = require("react/jsx-runtime");
1069
+ var im = (e) => {
1070
+ let t = e.component, r = U(t.margin || t.border ? "lg" : "xs");
1071
+ return !t.width || t.width === "xl" ? (0, ot.jsx)("div", { className: r + Ra(t.border), children: (0, ot.jsx)(se, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, ot.jsx)("div", { className: "row", children: (0, ot.jsx)("div", { className: r + sm(t), children: (0, ot.jsx)("div", { className: Ra(t.border), children: (0, ot.jsx)(se, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
1024
1072
  };
1025
- var ga = (e) => e ? " well p-b-0" : "";
1026
- var Rc = (e) => {
1073
+ var Ra = (e) => e ? " well p-b-0" : "";
1074
+ var sm = (e) => {
1027
1075
  switch (e.width) {
1028
1076
  case "xs":
1029
1077
  return " col-md-4 col-md-offset-4";
@@ -1038,21 +1086,21 @@ var require_main_min = __commonJS({
1038
1086
  return " col-xs-12";
1039
1087
  }
1040
1088
  };
1041
- var mo = Tc;
1042
- var Fa = require("@transferwise/components");
1043
- var Bc = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1044
- var ba = (e) => {
1089
+ var Po = im;
1090
+ var Ua = require("@transferwise/components");
1091
+ var lm = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
1092
+ var Ba = (e) => {
1045
1093
  var r;
1046
1094
  let t = e.action.type;
1047
- return (r = e.control) != null ? r : t ? Bc[t] : "secondary";
1095
+ return (r = e.control) != null ? r : t ? lm[t] : "secondary";
1048
1096
  };
1049
- var jc = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1050
- var Sa = (e) => {
1097
+ var cm = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
1098
+ var ja = (e) => {
1051
1099
  var o;
1052
- let t = e.action.type, r = (o = e.context) != null ? o : t ? jc[t] : "neutral";
1100
+ let t = e.action.type, r = (o = e.context) != null ? o : t ? cm[t] : "neutral";
1053
1101
  return r === "neutral" ? "accent" : r;
1054
1102
  };
1055
- var wa = (e) => {
1103
+ var Va = (e) => {
1056
1104
  switch (e) {
1057
1105
  case "xs":
1058
1106
  case "sm":
@@ -1065,116 +1113,99 @@ var require_main_min = __commonJS({
1065
1113
  return "md";
1066
1114
  }
1067
1115
  };
1068
- var Ca = require("react/jsx-runtime");
1069
- var Vc = (e) => {
1070
- var d;
1071
- let { component: t, onAction: r } = e, o = t.action, n = Sa(t), a = ba(t), { loading: s } = lr(), c = z(t.margin || "md");
1072
- return (0, Ca.jsx)(Fa.Button, { size: wa(t.size), type: n, priority: a, block: true, className: c, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (d = t.title) != null ? d : o.title });
1073
- };
1074
- var uo = Vc;
1075
- var at = require("react/jsx-runtime");
1076
- var Uc = (e) => {
1077
- let t = e.component, { leftWidth: r, rightWidth: o } = zc(t.bias);
1078
- return (0, at.jsxs)("div", { className: `${z(t.margin || "xs")} row`, children: [(0, at.jsx)("div", { className: `${r} m-b-0`, children: (0, at.jsx)(se, { 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)(se, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1079
- };
1080
- var zc = (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" };
1081
- var po = Uc;
1082
- var ve = require("@transferwise/components");
1083
- var $e = require("react/jsx-runtime");
1084
- var Hc = (e) => {
1085
- var t, r, o;
1086
- if ((t = e.icon) != null && t.name)
1087
- return (0, $e.jsx)(ve.Avatar, { type: ve.AvatarType.ICON, children: (0, $e.jsx)(_e, { type: e.icon.name }) });
1088
- if ((r = e.icon) != null && r.text)
1089
- return (0, $e.jsx)(ve.Avatar, { type: ve.AvatarType.INITIALS, children: e.icon.text });
1090
- if ((o = e.image) != null && o.url) {
1091
- let { url: n, text: a } = e.image;
1092
- return (0, $e.jsx)("img", { src: n, alt: a });
1093
- }
1116
+ var za = require("react/jsx-runtime");
1117
+ var mm = (e) => {
1118
+ var p;
1119
+ let { component: t, onAction: r } = e, o = t.action, n = ja(t), a = Ba(t), { loading: s } = yr(), c = U(t.margin || "md");
1120
+ return (0, za.jsx)(Ua.Button, { size: Va(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 });
1094
1121
  };
1095
- var qc = (e) => {
1096
- let t = e.component, r = (o, n) => {
1097
- let a = Hc(o);
1098
- return (0, $e.jsx)(ve.NavigationOption, { title: o.title, content: o.description, disabled: o.disabled, media: a, showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => n(o.action) }, JSON.stringify(o));
1099
- };
1100
- return (0, $e.jsx)("div", { className: z(t.margin), children: (0, $e.jsx)(ve.NavigationOptionsList, { children: t.options.map((o) => r(o, e.onAction)) }) });
1101
- };
1102
- var fo = qc;
1103
- var xa = require("react/jsx-runtime");
1104
- var Wc = ({ component: e }) => {
1105
- let r = `m-t-0 ${z(e.margin)}`;
1106
- return (0, xa.jsx)("hr", { className: r });
1107
- };
1108
- var yo = Wc;
1109
- var St = require("@transferwise/components");
1110
- var xr = require("react");
1111
- var Pa = require("react-intl");
1112
- var Oa = require("react-intl");
1113
- var va = (0, Oa.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1114
- var Ke = require("react/jsx-runtime");
1115
- var Gc = ({ component: e, onAction: t }) => {
1116
- let { requestUrl: r, responseHandlers: o, polling: n, retryTitle: a } = e, s = (0, Pa.useIntl)(), c = (0, xr.useCallback)(() => window.open(r, "df-external-window"), [r]);
1117
- (0, xr.useEffect)(() => {
1122
+ var Ao = mm;
1123
+ var nt = require("react/jsx-runtime");
1124
+ var dm = (e) => {
1125
+ let t = e.component, { leftWidth: r, rightWidth: o } = um(t.bias);
1126
+ return (0, nt.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, nt.jsx)("div", { className: `${r} m-b-0`, children: (0, nt.jsx)(se, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, nt.jsx)("div", { className: `${o} m-b-0`, children: (0, nt.jsx)(se, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
1127
+ };
1128
+ var um = (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 Mo = dm;
1130
+ var Ir = require("@transferwise/components");
1131
+ var Dr = require("react/jsx-runtime");
1132
+ var pm = ({ component: e, onAction: t }) => (0, Dr.jsx)("div", { className: U(e.margin), children: (0, Dr.jsx)(Ir.NavigationOptionsList, { children: e.options.map((r) => (0, Dr.jsx)(Ir.NavigationOption, { title: r.title, content: r.description, disabled: r.disabled, media: _t(r), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(r.action) }, JSON.stringify(r))) }) });
1133
+ var ko = pm;
1134
+ var Ha = require("react/jsx-runtime");
1135
+ var fm = ({ component: e }) => {
1136
+ let r = `m-t-0 ${U(e.margin)}`;
1137
+ return (0, Ha.jsx)("hr", { className: r });
1138
+ };
1139
+ var Eo = fm;
1140
+ var Ft = require("@transferwise/components");
1141
+ var Lr = require("react");
1142
+ var Ga = require("react-intl");
1143
+ var qa = require("react-intl");
1144
+ var $a = (0, qa.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
1145
+ var _e = require("react/jsx-runtime");
1146
+ var ym = ({ component: e, onAction: t }) => {
1147
+ let { requestUrl: r, responseHandlers: o, polling: n, retryTitle: a } = e, s = (0, Ga.useIntl)(), c = (0, Lr.useCallback)(() => window.open(r, "df-external-window"), [r]);
1148
+ (0, Lr.useEffect)(() => {
1118
1149
  c();
1119
1150
  }, [c]);
1120
- let d = n && o ? S(i({}, n), { responseHandlers: o }) : void 0;
1121
- return ma(d, t), (0, Ke.jsxs)(Ke.Fragment, { children: [(0, Ke.jsx)(St.Loader, { size: St.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ke.jsx)("br", {}), (0, Ke.jsx)(St.Button, { priority: "tertiary", block: true, onClick: c, children: a || s.formatMessage(va.retryTitle) })] });
1122
- };
1123
- var ho = Gc;
1124
- var Hi = require("react");
1125
- var Aa = ze(ot());
1126
- var Ma = require("react");
1127
- var Pe = require("react/jsx-runtime");
1128
- var $c = (e, t) => t.map((r) => ae(e, r) || {});
1129
- var _c = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1130
- var Kc = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1131
- var ka = (e) => {
1151
+ let p = n && o ? S(i({}, n), { responseHandlers: o }) : void 0;
1152
+ return xa(p, t), (0, _e.jsxs)(_e.Fragment, { children: [(0, _e.jsx)(Ft.Loader, { size: Ft.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, _e.jsx)("br", {}), (0, _e.jsx)(Ft.Button, { priority: "tertiary", block: true, onClick: c, children: a || s.formatMessage($a.retryTitle) })] });
1153
+ };
1154
+ var Do = ym;
1155
+ var ts = require("react");
1156
+ var Wa = Ue(rt());
1157
+ var _a = require("react");
1158
+ var ve = require("react/jsx-runtime");
1159
+ var hm = (e, t) => t.map((r) => ae(e, r) || {});
1160
+ var gm = (e) => e.reduce((t, r) => i(i({}, r), t), {});
1161
+ var bm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1162
+ var Ka = (e) => {
1132
1163
  let t = (n, a) => {
1133
1164
  let s = e.schema.allOf[n];
1134
- r[n] = ae(a.model, s) || {}, o(r), e.onChange(S(i({}, a), { model: _c(r) }));
1135
- }, [r, o] = (0, Ma.useState)($c(e.model, e.schema.allOf));
1136
- 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, Aa.default)(Kc(n.width)), children: (0, Pe.jsx)(de, { 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)) })] });
1137
- };
1138
- ka.defaultProps = { disabled: false };
1139
- var go = ka;
1140
- var vr = require("@transferwise/components");
1141
- var qa = ze(ot());
1142
- var qt = require("react");
1143
- var Or = require("@transferwise/components");
1144
- var bo = require("@transferwise/formatting");
1145
- var Da = require("react-intl");
1146
- var Ea = require("react-intl");
1147
- var fe = (0, Ea.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: "" } });
1148
- var Ne = require("react/jsx-runtime");
1149
- var Ia = (e) => {
1165
+ r[n] = ae(a.model, s) || {}, o(r), e.onChange(S(i({}, a), { model: gm(r) }));
1166
+ }, [r, o] = (0, _a.useState)(hm(e.model, e.schema.allOf));
1167
+ return (0, ve.jsxs)(ve.Fragment, { children: [e.schema.title && (0, ve.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, ve.jsx)("p", { children: e.schema.description }), (0, ve.jsx)("div", { className: "row", children: e.schema.allOf.map((n, a) => (0, ve.jsx)("div", { className: (0, Wa.default)(bm(n.width)), children: (0, ve.jsx)(de, { 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
+ Ka.defaultProps = { disabled: false };
1170
+ var Io = Ka;
1171
+ var Tr = require("@transferwise/components");
1172
+ var li = Ue(rt());
1173
+ var Kt = require("react");
1174
+ var Nr = require("@transferwise/components");
1175
+ var Lo = require("@transferwise/formatting");
1176
+ var Xa = require("react-intl");
1177
+ var Ja = require("react-intl");
1178
+ var fe = (0, Ja.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 Le = require("react/jsx-runtime");
1180
+ var Ya = (e) => {
1150
1181
  var c;
1151
- let t = Jc(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;
1152
- return (0, Ne.jsxs)("div", { children: [o ? (0, Ne.jsx)(Or.InlineAlert, { type: "error", children: e.errors }) : null, n ? (0, Ne.jsx)(Or.InlineAlert, { type: "error", children: e.validations.map((d) => (0, Ne.jsx)("div", { children: r[d] }, d)) }) : null, (a || s) && (0, Ne.jsxs)(Or.InlineAlert, { type: "info", children: [a && (0, Ne.jsx)("div", { children: e.schema.description }), s && (0, Ne.jsx)("div", { children: e.infoMessage })] })] });
1182
+ let t = Sm(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, Le.jsxs)("div", { children: [o ? (0, Le.jsx)(Nr.InlineAlert, { type: "error", children: e.errors }) : null, n ? (0, Le.jsx)(Nr.InlineAlert, { type: "error", children: e.validations.map((p) => (0, Le.jsx)("div", { children: r[p] }, p)) }) : null, (a || s) && (0, Le.jsxs)(Nr.InlineAlert, { type: "info", children: [a && (0, Le.jsx)("div", { children: e.schema.description }), s && (0, Le.jsx)("div", { children: e.infoMessage })] })] });
1153
1184
  };
1154
- Ia.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1155
- function Jc(e) {
1156
- let { formatMessage: t, locale: r } = (0, Da.useIntl)(), o = { type: t(fe.type), minimum: t(fe.minimum, { minimum: e.minimum }), maximum: t(fe.maximum, { maximum: e.maximum }), minLength: t(fe.minLength, { minLength: e.minLength }), maxLength: t(fe.maxLength, { maxLength: e.maxLength }), pattern: t(fe.pattern), required: t(fe.required) };
1185
+ Ya.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
1186
+ function Sm(e) {
1187
+ let { formatMessage: t, locale: r } = (0, Xa.useIntl)(), o = { type: t(fe.type), minimum: t(fe.minimum, { minimum: e.minimum }), maximum: t(fe.maximum, { maximum: e.maximum }), minLength: t(fe.minLength, { minLength: e.minLength }), maxLength: t(fe.maxLength, { maxLength: e.maxLength }), pattern: t(fe.pattern), required: t(fe.required) };
1157
1188
  if (e.format === "date") {
1158
- let n = { pattern: t(fe.patternDate), minimum: e.minimum ? t(fe.minimumDate, { minimum: (0, bo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(fe.maximumDate, { maximum: (0, bo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1189
+ let n = { pattern: t(fe.patternDate), minimum: e.minimum ? t(fe.minimumDate, { minimum: (0, Lo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(fe.maximumDate, { maximum: (0, Lo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
1159
1190
  return i(i({}, o), n);
1160
1191
  }
1161
1192
  return o;
1162
1193
  }
1163
- var Te = Ia;
1164
- async function La(e, t) {
1194
+ var Ne = Ya;
1195
+ async function Qa(e, t) {
1165
1196
  if (t)
1166
1197
  return e;
1167
1198
  if (e instanceof Blob)
1168
- return ea(e);
1199
+ return pa(e);
1169
1200
  throw new Error("Error creating payload for MultipleFileUploadSchema. Uploaded file is not an instance of Blob.");
1170
1201
  }
1171
- function Na(e) {
1202
+ function Za(e) {
1172
1203
  let t = e.data;
1173
1204
  return i({ id: t }, e);
1174
1205
  }
1175
- function Ta(e) {
1206
+ function ei(e) {
1176
1207
  let t = e instanceof Error;
1177
- if (!(R(e) && "data" in e) && !t)
1208
+ if (!(T(e) && "data" in e) && !t)
1178
1209
  return D(e) ? e : void 0;
1179
1210
  if (t) {
1180
1211
  let n = e;
@@ -1182,176 +1213,176 @@ var require_main_min = __commonJS({
1182
1213
  } else
1183
1214
  return i({ message: D(e.message) ? e.message : "" }, e);
1184
1215
  }
1185
- var Ua = require("react-intl");
1186
- var Ra = require("react-intl");
1187
- var Ba = (0, Ra.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1188
- var ja = require("react-intl");
1189
- var Va = (0, ja.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." } });
1190
- function za({ maxItems: e, minItems: t }) {
1191
- let { formatMessage: r } = (0, Ua.useIntl)(), { maxFileSizeError: o, maxItemsError: n, minItemsError: a } = Va;
1192
- return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(n, { maxItems: e }), minItemsErrorMessage: r(a, { minItems: t }), requiredMessage: r(Ba.required) };
1193
- }
1194
- var wt = require("react/jsx-runtime");
1195
- var Wa = (e) => {
1196
- var F, I;
1197
- let { onChange: t, schema: r } = e, o = Q(), n = za(r), a = (0, qt.useMemo)(() => r.$id || Oe(), [r.$id]), [s, c] = (0, qt.useState)(false), [d, p] = (0, qt.useState)(() => Xc(e.model || [])), u = Ga(r.items.persistAsync), g = r.items.persistAsync.schema, y = bt(g), l = async (N) => {
1216
+ var ai = require("react-intl");
1217
+ var ti = require("react-intl");
1218
+ var ri = (0, ti.defineMessages)({ required: { id: "dynamicFlows.DefaultErrorMessages.required", defaultMessage: "Please fill out this field.", description: "Customer has left the required field empty" } });
1219
+ var oi = require("react-intl");
1220
+ var ni = (0, oi.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 ii({ maxItems: e, minItems: t }) {
1222
+ let { formatMessage: r } = (0, ai.useIntl)(), { maxFileSizeError: o, maxItemsError: n, minItemsError: a } = ni;
1223
+ return { maxFileSizeErrorMessage: r(o), maxItemsErrorMessage: r(n, { maxItems: e }), minItemsErrorMessage: r(a, { minItems: t }), requiredMessage: r(ri.required) };
1224
+ }
1225
+ var Ct = require("react/jsx-runtime");
1226
+ var ci = (e) => {
1227
+ var w, I;
1228
+ let { onChange: t, schema: r } = e, o = Z(), n = ii(r), a = (0, Kt.useMemo)(() => r.$id || Oe(), [r.$id]), [s, c] = (0, Kt.useState)(false), [p, u] = (0, Kt.useState)(() => wm(e.model || [])), m = mi(r.items.persistAsync), h = r.items.persistAsync.schema, f = bt(h), l = async (N) => {
1198
1229
  c(true);
1199
1230
  try {
1200
- let v = await La(N, y);
1231
+ let A = await Qa(N, f);
1201
1232
  o("Dynamic Flow - PersistAsync", { status: "pending", schemaId: r.$id });
1202
- let L = await u(v);
1203
- return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), Na(L);
1204
- } catch (v) {
1205
- return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(Ta(v));
1233
+ let L = await m(A);
1234
+ return o("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), Za(L);
1235
+ } catch (A) {
1236
+ return o("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(ei(A));
1206
1237
  }
1207
1238
  };
1208
- function m(N) {
1209
- if (ta(N, d))
1239
+ function d(N) {
1240
+ if (fa(N, p))
1210
1241
  return;
1211
- p(N);
1212
- let L = Ha(N).map((q) => q.id);
1242
+ u(N);
1243
+ let L = si(N).map(($) => $.id);
1213
1244
  t({ model: L, triggerSchema: r, triggerModel: L });
1214
1245
  }
1215
- let h = Ha(d).map((N) => N.id), b = ht(h, r, e.required), O = !!e.errors || (s || e.submitted) && !!b.length, C = "accepts" in g && g.accepts, A = "maxSize" in g && g.maxSize, M = S(i(i({ multiple: true, className: "form-control", files: d, fileInputName: a, id: a }, C ? { fileTypes: C } : void 0), A ? { sizeLimit: br(A) } : void 0), { sizeLimitErrorMessage: ((F = g.validationMessages) == null ? void 0 : F.maxSize) || n.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((I = e.schema.validationMessages) == null ? void 0 : I.maxItems) || n.maxItemsErrorMessage, uploadButtonTitle: g.title, description: g.description, disabled: e.disabled, onUploadFile: (N) => l(N.get(a)), onFilesChange: m, onDeleteFile: () => Promise.resolve() });
1216
- return (0, wt.jsxs)("div", { className: (0, qa.default)("form-group", { "has-error": O }), children: [(0, wt.jsx)("label", { className: "d-block control-label", htmlFor: a, children: e.schema.title }), (0, wt.jsx)(vr.UploadInput, i({}, M)), (0, wt.jsx)(Te, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: Zc(r, !!e.required, n), infoMessage: null, focused: false, blurred: true })] });
1246
+ let g = si(p).map((N) => N.id), b = gt(g, r, e.required), x = !!e.errors || (s || e.submitted) && !!b.length, C = "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 }, C ? { fileTypes: C } : void 0), v ? { sizeLimit: vr(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: d, onDeleteFile: () => Promise.resolve() });
1247
+ return (0, Ct.jsxs)("div", { className: (0, li.default)("form-group", { "has-error": x }), children: [(0, Ct.jsx)("label", { className: "d-block control-label", htmlFor: a, children: e.schema.title }), (0, Ct.jsx)(Tr.UploadInput, i({}, P)), (0, Ct.jsx)(Ne, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: b, validationMessages: Cm(r, !!e.required, n), infoMessage: null, focused: false, blurred: true })] });
1217
1248
  };
1218
- Wa.defaultProps = { errors: null, required: false };
1219
- var So = Wa;
1220
- function Ha(e) {
1249
+ ci.defaultProps = { errors: null, required: false };
1250
+ var No = ci;
1251
+ function si(e) {
1221
1252
  return e.filter((t) => !t.error && t.status === "succeeded");
1222
1253
  }
1223
- function Xc(e) {
1224
- return e.map((t) => Yc(t) ? { id: t, status: vr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1254
+ function wm(e) {
1255
+ return e.map((t) => Fm(t) ? { id: t, status: Tr.Status.SUCCEEDED } : null).filter((t) => t !== null);
1225
1256
  }
1226
- function Yc(e) {
1227
- return T(e) || D(e);
1257
+ function Fm(e) {
1258
+ return R(e) || D(e);
1228
1259
  }
1229
- function Zc(e, t, r) {
1260
+ function Cm(e, t, r) {
1230
1261
  let { minItems: o, maxItems: n } = e;
1231
1262
  return i(i(i({}, t && { required: r.requiredMessage }), o && { minItems: r.minItemsErrorMessage }), n && { maxItems: r.maxItemsErrorMessage });
1232
1263
  }
1233
- var Ka = require("react/jsx-runtime");
1234
- var $a = (e) => {
1264
+ var pi = require("react/jsx-runtime");
1265
+ var di = (e) => {
1235
1266
  let { schema: t } = e;
1236
- if (oa(t))
1237
- return (0, Ka.jsx)(So, S(i({}, e), { schema: t }));
1267
+ if (ha(t))
1268
+ return (0, pi.jsx)(No, S(i({}, e), { schema: t }));
1238
1269
  throw new Error("Not implemented");
1239
1270
  };
1240
- $a.defaultProps = { errors: null, required: false };
1241
- var _a = $a;
1242
- var Xa = require("react/jsx-runtime");
1243
- var Ja = (e) => {
1271
+ di.defaultProps = { errors: null, required: false };
1272
+ var ui = di;
1273
+ var yi = require("react/jsx-runtime");
1274
+ var fi = (e) => {
1244
1275
  let { schema: t } = e;
1245
- if (qe(t))
1246
- return (0, Xa.jsx)(_a, i({}, e));
1276
+ if (He(t))
1277
+ return (0, yi.jsx)(ui, i({}, e));
1247
1278
  throw new Error("Not implemented");
1248
1279
  };
1249
- Ja.defaultProps = { required: false };
1250
- var wo = Ja;
1251
- var Ya = ze(ot());
1252
- var Pr = require("react");
1253
- var Re = require("react/jsx-runtime");
1254
- var Qc = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1255
- var Za = (e) => {
1256
- let [t, r] = (0, Pr.useState)(() => i({}, ae(e.model, e.schema))), o = (p, u) => {
1257
- u.model !== null ? t[p] = u.model : delete t[p], r(t), e.onChange(S(i({}, u), { model: t }));
1258
- }, n = (p) => e.schema.required && e.schema.required.includes(p);
1259
- (0, Pr.useEffect)(() => {
1260
- let p = ae(t, e.schema) || {};
1261
- r(p), Ge(p, t) || e.onChange({ model: p, triggerSchema: e.schema, triggerModel: p });
1280
+ fi.defaultProps = { required: false };
1281
+ var To = fi;
1282
+ var hi = Ue(rt());
1283
+ var Rr = require("react");
1284
+ var Te = require("react/jsx-runtime");
1285
+ var xm = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
1286
+ var gi = (e) => {
1287
+ let [t, r] = (0, Rr.useState)(() => i({}, ae(e.model, e.schema))), o = (u, m) => {
1288
+ m.model !== null ? t[u] = m.model : delete t[u], r(t), e.onChange(S(i({}, m), { model: t }));
1289
+ }, n = (u) => e.schema.required && e.schema.required.includes(u);
1290
+ (0, Rr.useEffect)(() => {
1291
+ let u = ae(t, e.schema) || {};
1292
+ r(u), Ge(u, t) || e.onChange({ model: u, triggerSchema: e.schema, triggerModel: u });
1262
1293
  }, [e.schema]);
1263
- let a = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (p) => typeof e.schema.properties[p] != "undefined", c = Array.from(a).filter(s), d = e.errors;
1264
- return (0, Re.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Re.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Re.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Re.jsx)(ie, { component: e.schema.alert }), (0, Re.jsx)("div", { className: "row", children: c.map((p) => (0, Re.jsx)("div", { className: (0, Ya.default)(Qc(e.schema.properties[p].width)), children: (0, Re.jsx)(de, { schema: e.schema.properties[p], model: e.model && e.model[p], errors: d && d[p], submitted: e.submitted, required: n(p), disabled: e.disabled, onChange: (u) => o(p, u), onPersistAsync: e.onPersistAsync }) }, p)) })] });
1265
- };
1266
- Za.defaultProps = { hideTitle: false, disabled: false };
1267
- var Wt = Za;
1268
- var Si = ze(ot());
1269
- var Ae = require("react");
1270
- var Ar = require("@transferwise/components");
1271
- var ti = require("react-intl");
1272
- var Qa = require("react-intl");
1273
- var ei = (0, Qa.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1274
- var Fo = require("react/jsx-runtime");
1275
- var em = (e) => {
1276
- let t = (0, ti.useIntl)();
1277
- return (0, Fo.jsx)(Ar.Info, { className: "m-l-1", content: (0, Fo.jsx)(Ar.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(ei.helpAria) });
1278
- };
1279
- var Ft = em;
1280
- var yi = require("react");
1281
- var $ = require("@transferwise/components");
1282
- var ai = require("react");
1283
- var Ct = (e, t = {}) => {
1294
+ let a = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (u) => typeof e.schema.properties[u] != "undefined", c = Array.from(a).filter(s), p = e.errors;
1295
+ return (0, Te.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, Te.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, Te.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, Te.jsx)(ie, { component: e.schema.alert }), (0, Te.jsx)("div", { className: "row", children: c.map((u) => (0, Te.jsx)("div", { className: (0, hi.default)(xm(e.schema.properties[u].width)), children: (0, Te.jsx)(de, { schema: e.schema.properties[u], model: e.model && e.model[u], errors: p && p[u], submitted: e.submitted, required: n(u), disabled: e.disabled, onChange: (m) => o(u, m), onPersistAsync: e.onPersistAsync }) }, u)) })] });
1296
+ };
1297
+ gi.defaultProps = { hideTitle: false, disabled: false };
1298
+ var Jt = gi;
1299
+ var Ii = Ue(rt());
1300
+ var Pe = require("react");
1301
+ var Br = require("@transferwise/components");
1302
+ var wi = require("react-intl");
1303
+ var bi = require("react-intl");
1304
+ var Si = (0, bi.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
1305
+ var Ro = require("react/jsx-runtime");
1306
+ var Om = (e) => {
1307
+ let t = (0, wi.useIntl)();
1308
+ return (0, Ro.jsx)(Br.Info, { className: "m-l-1", content: (0, Ro.jsx)(Br.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(Si.helpAria) });
1309
+ };
1310
+ var xt = Om;
1311
+ var Mi = require("react");
1312
+ var W = require("@transferwise/components");
1313
+ var Oi = require("react");
1314
+ var Ot = (e, t = {}) => {
1284
1315
  let { coerceValue: r = false } = t;
1285
- if (!P(e)) {
1286
- if (R(e)) {
1287
- it({ received: "object", expected: "string" });
1316
+ if (!M(e)) {
1317
+ if (T(e)) {
1318
+ at({ received: "object", expected: "string" });
1288
1319
  return;
1289
1320
  }
1290
1321
  if (!D(e)) {
1291
1322
  if (r)
1292
- return xo({ received: typeof e, expected: "string" }), String(e);
1293
- it({ received: typeof e, expected: "string" });
1323
+ return jo({ received: typeof e, expected: "string" }), String(e);
1324
+ at({ received: typeof e, expected: "string" });
1294
1325
  return;
1295
1326
  }
1296
1327
  return e;
1297
1328
  }
1298
1329
  };
1299
- var Co = (e, t = {}) => {
1330
+ var Bo = (e, t = {}) => {
1300
1331
  let { coerceValue: r = false } = t;
1301
- if (P(e))
1332
+ if (M(e))
1302
1333
  return;
1303
- if (T(e))
1334
+ if (R(e))
1304
1335
  return e;
1305
1336
  let o = { received: typeof e, expected: "string or number" };
1306
- if (R(e)) {
1307
- it(o);
1337
+ if (T(e)) {
1338
+ at(o);
1308
1339
  return;
1309
1340
  }
1310
1341
  if (!D(e)) {
1311
1342
  if (r)
1312
- return xo(o), String(e);
1313
- it(o);
1343
+ return jo(o), String(e);
1344
+ at(o);
1314
1345
  return;
1315
1346
  }
1316
1347
  return e;
1317
1348
  };
1318
- var ri = (e, t = {}) => {
1349
+ var Fi = (e, t = {}) => {
1319
1350
  let { coerceValue: r = false } = t;
1320
- if (P(e))
1351
+ if (M(e))
1321
1352
  return false;
1322
1353
  if (!Ce(e)) {
1323
1354
  if (r)
1324
- return xo({ received: typeof e, expected: "boolean" }), !!e;
1325
- it({ received: typeof e, expected: "boolean" });
1355
+ return jo({ received: typeof e, expected: "boolean" }), !!e;
1356
+ at({ received: typeof e, expected: "boolean" });
1326
1357
  return;
1327
1358
  }
1328
1359
  return e;
1329
1360
  };
1330
- var oi = (e) => {
1331
- if (!P(e)) {
1361
+ var Ci = (e) => {
1362
+ if (!M(e)) {
1332
1363
  if (!(e instanceof Date) && !D(e)) {
1333
- it({ received: typeof e, expected: "string or Date" });
1364
+ at({ received: typeof e, expected: "string or Date" });
1334
1365
  return;
1335
1366
  }
1336
1367
  return e;
1337
1368
  }
1338
1369
  };
1339
- var ni = (e) => {
1340
- if (P(e))
1370
+ var xi = (e) => {
1371
+ if (M(e))
1341
1372
  return null;
1342
1373
  if (!D(e))
1343
- return it({ received: typeof e, expected: "string", fallback: "null" }), null;
1344
- let t = Yn(e);
1374
+ return at({ received: typeof e, expected: "string", fallback: "null" }), null;
1375
+ let t = ma(e);
1345
1376
  return t === null && console.warn("Incorrectly formatted date string. Falling back to null."), t;
1346
1377
  };
1347
- var xo = ({ received: e, expected: t }) => {
1378
+ var jo = ({ received: e, expected: t }) => {
1348
1379
  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.`);
1349
1380
  };
1350
- var it = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1381
+ var at = ({ received: e, expected: t, fallback: r = "undefined" }) => {
1351
1382
  console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
1352
1383
  };
1353
1384
  var J = require("react/jsx-runtime");
1354
- var xt = class extends ai.PureComponent {
1385
+ var vt = class extends Oi.PureComponent {
1355
1386
  constructor(r) {
1356
1387
  super(r);
1357
1388
  this.getAutocompleteStatus = () => this.props.autoComplete ? "on" : "disabled";
@@ -1378,59 +1409,59 @@ var require_main_min = __commonJS({
1378
1409
  if (this.props.value !== null && typeof this.props.value != "undefined")
1379
1410
  return r2.find((o) => this.props.value === o.value);
1380
1411
  };
1381
- this.mapOption = (r2) => S(i({}, r2), { value: T(r2.value) || D(r2.value) ? r2.value : void 0, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
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 });
1382
1413
  this.state = { selectedOption: r.selectedOption, touched: false, prevValue: r.value };
1383
1414
  }
1384
1415
  static getDerivedStateFromProps(r, o) {
1385
1416
  return o.prevValue !== r.value ? { prevValue: r.value, value: r.value } : null;
1386
1417
  }
1387
1418
  render() {
1388
- var q;
1389
- let { name: r, placeholder: o, step: n, countryCode: a, type: s, options: c, disabled: d, readOnly: p, required: u, minLength: g, maxLength: y, min: l, max: m, searchPlaceholder: f, searchValue: h, onSearchChange: b, size: O, uploadProps: C, label: A, monthFormat: M, id: F, minDate: I, maxDate: N, value: v, mode: L } = this.props;
1419
+ var $;
1420
+ let { name: r, placeholder: o, step: n, countryCode: a, type: s, options: c, disabled: p, readOnly: u, required: m, minLength: h, maxLength: f, min: l, max: d, searchPlaceholder: y, searchValue: g, onSearchChange: b, size: x, uploadProps: C, label: v, monthFormat: P, id: w, minDate: I, maxDate: N, value: A, mode: L } = this.props;
1390
1421
  switch (s) {
1391
1422
  case B.RADIO:
1392
- return (0, J.jsx)($.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: Co(v, { coerceValue: true }), onChange: this.handleOnChange });
1423
+ return (0, J.jsx)(W.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: Bo(A, { coerceValue: true }), onChange: this.handleOnChange });
1393
1424
  case B.CHECKBOX:
1394
- return (0, J.jsx)($.Checkbox, { checked: ri(v, { coerceValue: true }), disabled: d, label: A, required: u, readOnly: p, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1425
+ return (0, J.jsx)(W.Checkbox, { checked: Fi(A, { coerceValue: true }), disabled: p, label: v, required: m, readOnly: u, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1395
1426
  case B.SELECT: {
1396
- let x = c.length >= 20;
1397
- return (0, J.jsx)($.Select, { id: F, selected: this.getSelectedOption(c), options: c, search: x, required: u, disabled: d, placeholder: o, searchPlaceholder: f, searchValue: h, onChange: (j) => {
1427
+ let O = c.length >= 20;
1428
+ return (0, J.jsx)(W.Select, { id: w, selected: this.getSelectedOption(c), options: c, search: O, required: m, disabled: p, placeholder: o, searchPlaceholder: y, searchValue: g, onChange: (j) => {
1398
1429
  var k;
1399
1430
  this.setState({ selectedOption: j != null ? j : void 0 }), this.props.onChange((k = j == null ? void 0 : j.value) != null ? k : null);
1400
- }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: x ? b : void 0 });
1431
+ }, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: O ? b : void 0 });
1401
1432
  }
1402
1433
  case B.TAB:
1403
- return (0, J.jsx)($.Tabs, { selected: ((q = this.getSelectedOption(c)) == null ? void 0 : q.value) || 0, tabs: c.map((x) => ({ title: x.label, content: (0, J.jsx)(J.Fragment, {}), disabled: x.disabled || false })), name: F, onTabSelect: (x) => {
1434
+ return (0, J.jsx)(W.Tabs, { selected: (($ = this.getSelectedOption(c)) == null ? void 0 : $.value) || 0, tabs: c.map((O) => ({ title: O.label, content: (0, J.jsx)(J.Fragment, {}), disabled: O.disabled || false })), name: w, onTabSelect: (O) => {
1404
1435
  let j = !!this.state.selectedOption;
1405
- this.setState({ selectedOption: c.find((k) => k.value === x) }), this.props.onChange(x, j ? "user" : "init");
1436
+ this.setState({ selectedOption: c.find((k) => k.value === O) }), this.props.onChange(O, j ? "user" : "init");
1406
1437
  } });
1407
1438
  case B.NUMBER:
1408
- return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: F, max: m, min: l, placeholder: o, readOnly: p, required: u, step: n, type: "number", value: Co(v, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (x) => {
1409
- this.props.onChange(parseFloat(x.target.value));
1410
- }, onFocus: this.handleOnFocus, onWheel: (x) => {
1411
- x.target instanceof HTMLElement && x.target.blur();
1439
+ return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: p, id: w, max: d, min: l, placeholder: o, readOnly: u, required: m, step: n, type: "number", value: Bo(A, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (O) => {
1440
+ this.props.onChange(parseFloat(O.target.value));
1441
+ }, onFocus: this.handleOnFocus, onWheel: (O) => {
1442
+ O.target instanceof HTMLElement && O.target.blur();
1412
1443
  } });
1413
1444
  case B.HIDDEN:
1414
- return (0, J.jsx)("input", { type: "hidden", name: r, value: Ct(v, { coerceValue: true }), id: F });
1445
+ return (0, J.jsx)("input", { type: "hidden", name: r, value: Ot(A, { coerceValue: true }), id: w });
1415
1446
  case B.PASSWORD:
1416
- return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: d, id: F, placeholder: o, readOnly: p, required: u, type: "password", value: Ct(v, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1447
+ return (0, J.jsx)("input", { autoComplete: this.getAutocompleteStatus(), className: "form-control", disabled: p, id: w, placeholder: o, readOnly: u, required: m, type: "password", value: Ot(A, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus });
1417
1448
  case B.DATE:
1418
1449
  case B.DATETIME:
1419
- return (0, J.jsx)($.DateInput, { disabled: d, size: O, value: oi(v), mode: L, monthFormat: M, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1450
+ return (0, J.jsx)(W.DateInput, { disabled: p, size: x, value: Ci(A), mode: L, monthFormat: P, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1420
1451
  case B.DATELOOKUP:
1421
- return (0, J.jsx)($.DateLookup, { value: ni(v), min: I, max: N, placeholder: o, monthFormat: M, disabled: d, onChange: (x) => {
1422
- this.handleOnChange(Zn(x));
1452
+ return (0, J.jsx)(W.DateLookup, { value: xi(A), min: I, max: N, placeholder: o, monthFormat: P, disabled: p, onChange: (O) => {
1453
+ this.handleOnChange(da(O));
1423
1454
  }, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
1424
1455
  case B.TEL:
1425
- return (0, J.jsx)($.PhoneNumberInput, { disabled: d, countryCode: a, placeholder: o, required: u, searchPlaceholder: f, size: O, initialValue: Ct(v), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1456
+ return (0, J.jsx)(W.PhoneNumberInput, { disabled: p, countryCode: a, placeholder: o, required: m, searchPlaceholder: y, size: x, initialValue: Ot(A), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
1426
1457
  case B.TEXTAREA: {
1427
- let x = { className: "form-control tw-form-control", id: F, name: r, placeholder: o, value: Ct(v, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1428
- return this.props.displayPattern ? (0, J.jsx)($.TextareaWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, x), { onChange: this.handleOnChange })) : (0, J.jsx)("textarea", S(i({}, x), { onChange: this.handleInputOnChange }));
1458
+ let O = { className: "form-control tw-form-control", id: w, name: r, placeholder: o, value: Ot(A, { coerceValue: true }), readOnly: u, required: m, minLength: h, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: p, autoComplete: this.getAutocompleteStatus() };
1459
+ return this.props.displayPattern ? (0, J.jsx)(W.TextareaWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, J.jsx)("textarea", S(i({}, O), { onChange: this.handleInputOnChange }));
1429
1460
  }
1430
1461
  case B.FILE:
1431
1462
  case B.UPLOAD:
1432
- return (0, J.jsx)($.Upload, S(i({}, C), { usAccept: C.usAccept || "*", usDisabled: C.usDisabled || d, onSuccess: (x) => {
1433
- this.handleOnChange(x);
1463
+ return (0, J.jsx)(W.Upload, S(i({}, C), { usAccept: C.usAccept || "*", usDisabled: C.usDisabled || p, onSuccess: (O) => {
1464
+ this.handleOnChange(O);
1434
1465
  }, onFailure: () => {
1435
1466
  this.handleOnChange(null);
1436
1467
  }, onCancel: () => {
@@ -1438,78 +1469,43 @@ var require_main_min = __commonJS({
1438
1469
  } }));
1439
1470
  case B.TEXT:
1440
1471
  default: {
1441
- let x = { type: "text", className: "form-control", id: F, name: r, placeholder: o, value: Ct(v, { coerceValue: true }), readOnly: p, required: u, minLength: g, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: d, autoComplete: this.getAutocompleteStatus() };
1442
- return this.props.displayPattern ? (0, J.jsx)($.InputWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, x), { onChange: this.handleOnChange })) : (0, J.jsx)("input", S(i({}, x), { onChange: this.handleInputOnChange }));
1472
+ let O = { type: "text", className: "form-control", id: w, name: r, placeholder: o, value: Ot(A, { coerceValue: true }), readOnly: u, required: m, minLength: h, maxLength: f, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: p, autoComplete: this.getAutocompleteStatus() };
1473
+ return this.props.displayPattern ? (0, J.jsx)(W.InputWithDisplayFormat, S(i({ displayPattern: this.props.displayPattern }, O), { onChange: this.handleOnChange })) : (0, J.jsx)("input", S(i({}, O), { onChange: this.handleInputOnChange }));
1443
1474
  }
1444
1475
  }
1445
1476
  }
1446
1477
  };
1447
- var ye = xt;
1448
- ye.Type = B, ye.Size = fa, ye.MonthFormat = pa, ye.DateMode = ua, ye.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: xt.DateMode.DAY_MONTH_YEAR, monthFormat: xt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: xt.Size.MEDIUM, step: 1, type: xt.Type.TEXT, uploadProps: {}, value: null };
1449
- var Je = require("@transferwise/components");
1450
- var si = require("react/jsx-runtime");
1451
- var Ot = (e) => tm(e) || rm(e);
1452
- var tm = (e) => om.some((t) => e === `flag-${t}`);
1453
- var rm = (e) => nm.some((t) => e === `flag-${t}`);
1454
- var ii = ({ name: e }) => {
1455
- if (!Ot(e))
1456
- return null;
1457
- let t = e.substring(5);
1458
- return (0, si.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
1459
- };
1460
- var om = ["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"];
1461
- var nm = ["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"];
1462
- var li = ze(require("@transferwise/icons"));
1463
- var di = require("react/jsx-runtime");
1464
- var Mr = (e) => {
1465
- let t = mi(e);
1466
- return Object.keys(li).includes(t);
1467
- };
1468
- var ci = ({ name: e }) => {
1469
- if (!Mr(e))
1470
- return null;
1471
- let t = mi(e), r = li[t];
1472
- return (0, di.jsx)(r, { size: 24 });
1473
- };
1474
- var mi = (e) => e.split("-").map(am).join("");
1475
- var am = (e) => {
1476
- var t;
1477
- return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
1478
- };
1479
- var Oo = require("react/jsx-runtime");
1480
- var im = ({ type: e }) => Ot(e) ? (0, Oo.jsx)(ii, { name: e }) : Mr(e) ? (0, Oo.jsx)(ci, { name: e }) : null;
1481
- function vo(e) {
1482
- return Mr(e) || Ot(e);
1483
- }
1484
- var _e = im;
1478
+ var ye = vt;
1479
+ ye.Type = B, ye.Size = Aa, ye.MonthFormat = Pa, ye.DateMode = va, ye.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: vt.DateMode.DAY_MONTH_YEAR, monthFormat: vt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: vt.Size.MEDIUM, step: 1, type: vt.Type.TEXT, uploadProps: {}, value: null };
1480
+ var Ke = require("@transferwise/components");
1485
1481
  var he = require("react/jsx-runtime");
1486
- var ui = (e, t) => {
1482
+ var vi = (e, t) => {
1487
1483
  switch (t) {
1488
1484
  case "select":
1489
- return lm(e);
1485
+ return Pm(e);
1490
1486
  case "radio":
1491
1487
  default:
1492
- return sm(e);
1488
+ return vm(e);
1493
1489
  }
1494
1490
  };
1495
- var sm = (e) => i(i(i({ label: e.title, value: e.const }, pi(e.title, e.description)), vt(e)), fi(e.disabled));
1496
- var lm = (e) => i(i(i(i(i({ label: e.title, value: e.const }, pi(e.title, e.description)), dm(e.icon)), mm(e.image)), fi(e.disabled)), cm(e.keywords));
1497
- var cm = (e) => W(e) ? { searchStrings: e } : {};
1498
- var mm = (e) => e != null && e.url ? { icon: (0, he.jsx)("div", { className: "media", children: (0, he.jsx)("div", { className: "np-option__no-media-circle", children: (0, he.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1499
- var dm = (e) => e != null && e.name && Ot(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && vo(e.name) ? { icon: (0, he.jsx)(_e, { type: e.name }) } : e != null && e.text ? { icon: (0, he.jsx)("span", { children: e.text }) } : null;
1500
- var vt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, he.jsx)(Je.Avatar, { type: Je.AvatarType.THUMBNAIL, children: (0, he.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && vo(t.name) ? { avatar: (0, he.jsx)(Je.Avatar, { type: Je.AvatarType.ICON, children: (0, he.jsx)(_e, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, he.jsx)(Je.Avatar, { type: Je.AvatarType.INITIALS, children: t.text }) } : null;
1501
- var kr = ({ accepts: e }) => i({}, W(e) && { usAccept: e.join(",") });
1502
- var pi = (e, t) => {
1491
+ var vm = (e) => i(i(i({ label: e.title, value: e.const }, Pi(e.title, e.description)), Pt(e)), Ai(e.disabled));
1492
+ var Pm = (e) => i(i(i(i(i({ label: e.title, value: e.const }, Pi(e.title, e.description)), km(e.icon)), Mm(e.image)), Ai(e.disabled)), Am(e.keywords));
1493
+ var Am = (e) => q(e) ? { searchStrings: e } : {};
1494
+ var Mm = (e) => e != null && e.url ? { icon: (0, he.jsx)("div", { className: "media", children: (0, he.jsx)("div", { className: "np-option__no-media-circle", children: (0, he.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
1495
+ var km = (e) => e != null && e.name && St(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && vo(e.name) ? { icon: (0, he.jsx)(We, { type: e.name }) } : e != null && e.text ? { icon: (0, he.jsx)("span", { children: e.text }) } : null;
1496
+ var Pt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, he.jsx)(Ke.Avatar, { type: Ke.AvatarType.THUMBNAIL, children: (0, he.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && vo(t.name) ? { avatar: (0, he.jsx)(Ke.Avatar, { type: Ke.AvatarType.ICON, children: (0, he.jsx)(We, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, he.jsx)(Ke.Avatar, { type: Ke.AvatarType.INITIALS, children: t.text }) } : null;
1497
+ var jr = ({ accepts: e }) => i({}, q(e) && { usAccept: e.join(",") });
1498
+ var Pi = (e, t) => {
1503
1499
  if (e && t)
1504
1500
  return { [(e + t).length > 50 ? "secondary" : "note"]: t };
1505
1501
  };
1506
- var fi = (e) => {
1507
- if (!K(e) && !P(e))
1502
+ var Ai = (e) => {
1503
+ if (!K(e) && !M(e))
1508
1504
  return { disabled: e };
1509
1505
  };
1510
- var gi = require("react/jsx-runtime");
1511
- var um = (e) => e === "string" || e === "number";
1512
- var Po = (e) => {
1506
+ var Ei = require("react/jsx-runtime");
1507
+ var Em = (e) => e === "string" || e === "number";
1508
+ var Vo = (e) => {
1513
1509
  if (pe(e))
1514
1510
  return e.control === B.TAB && e.oneOf.length > 3 ? B.SELECT : e.oneOf.length === 2 && !e.control ? B.RADIO : e.control || B.SELECT;
1515
1511
  if ("control" in e && e.control)
@@ -1529,619 +1525,699 @@ var require_main_min = __commonJS({
1529
1525
  }
1530
1526
  return e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
1531
1527
  };
1532
- var pm = (e, t) => e.oneOf ? e.oneOf.map((r) => ui(r, t)) : null;
1533
- var hi = (e) => {
1534
- let { id: t, schema: r, value: o, disabled: n, onChange: a, onFocus: s, onBlur: c, onSearchChange: d } = e, p = ft(), u = (b) => um(r.type) && (P(b) || K(b)) ? "" : b, g = (b, O) => {
1535
- a(ke(b, r), O);
1536
- }, y = Po(r);
1537
- (0, yi.useEffect)(() => {
1538
- fm(r, p, y);
1539
- }, [JSON.stringify(r), p, y]);
1540
- let l = r.values || pm(r, y), m = { onFocus: s, onBlur: c, onSearchChange: d, onChange: g }, f = u(o), h = { 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) };
1541
- return (0, gi.jsx)(ye, i(i({ type: y, value: f }, m), h));
1542
- };
1543
- hi.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1544
- var fm = (e, t, r) => {
1528
+ var Dm = (e, t) => e.oneOf ? e.oneOf.map((r) => vi(r, t)) : null;
1529
+ var ki = (e) => {
1530
+ let { id: t, schema: r, value: o, disabled: n, onChange: a, onFocus: s, onBlur: c, onSearchChange: p } = e, u = yt(), m = (b) => Em(r.type) && (M(b) || K(b)) ? "" : b, h = (b, x) => {
1531
+ a(Me(b, r), x);
1532
+ }, f = Vo(r);
1533
+ (0, Mi.useEffect)(() => {
1534
+ Im(r, u, f);
1535
+ }, [JSON.stringify(r), u, f]);
1536
+ let l = r.values || Dm(r, f), d = { onFocus: s, onBlur: c, onSearchChange: p, onChange: h }, y = m(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: jr(r) };
1537
+ return (0, Ei.jsx)(ye, i(i({ type: f, value: y }, d), g));
1538
+ };
1539
+ ki.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
1540
+ var Im = (e, t, r) => {
1545
1541
  pe(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.");
1546
1542
  };
1547
- var Gt = hi;
1548
- var bi = (e, t) => {
1549
- let r = $t(e, t);
1543
+ var Xt = ki;
1544
+ var Di = (e, t) => {
1545
+ let r = Yt(e, t);
1550
1546
  if (r >= 0)
1551
1547
  return r;
1552
- if (e.oneOf.length === 1 && Rt(e.oneOf[0]))
1548
+ if (e.oneOf.length === 1 && Vt(e.oneOf[0]))
1553
1549
  return 0;
1554
- if (Ie(e.oneOf[0])) {
1555
- let o = $t(e, e.default);
1550
+ if (De(e.oneOf[0])) {
1551
+ let o = Yt(e, e.default);
1556
1552
  if (o >= 0)
1557
1553
  return o;
1558
1554
  }
1559
- return Bt(e) && X(t) && Object.keys(t).length >= 1 ? Er(e, t) : Bt(e) && !K(e.default) && X(e.default) && Object.keys(e.default).length >= 1 ? Er(e, e.default) : null;
1555
+ return Ut(e) && Y(t) && Object.keys(t).length >= 1 ? Vr(e, t) : Ut(e) && !K(e.default) && Y(e.default) && Object.keys(e.default).length >= 1 ? Vr(e, e.default) : null;
1560
1556
  };
1561
- var $t = (e, t) => e.oneOf.findIndex((r) => !K(t) && G(t, r));
1562
- function Er(e, t) {
1557
+ var Yt = (e, t) => e.oneOf.findIndex((r) => !K(t) && G(t, r));
1558
+ function Vr(e, t) {
1563
1559
  if (t == null)
1564
1560
  return null;
1565
- let r = e.oneOf.map((o) => ym(o).reduce((n, [a, s]) => Ie(s) && s.const === t[a] ? n + 2 : Rt(s) && typeof t[a] != "undefined" ? n + 1 : n, 0));
1561
+ let r = e.oneOf.map((o) => Lm(o).reduce((n, [a, s]) => De(s) && s.const === t[a] ? n + 2 : Vt(s) && typeof t[a] != "undefined" ? n + 1 : n, 0));
1566
1562
  return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
1567
1563
  }
1568
- function ym(e) {
1564
+ function Lm(e) {
1569
1565
  return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
1570
1566
  }
1571
- var re = require("react/jsx-runtime");
1572
- var wi = (e) => {
1573
- let t = Q(), [r, o] = (0, Ae.useState)(false), [n, a] = (0, Ae.useState)(false), [s, c] = (0, Ae.useState)(false), d = (0, Ae.useMemo)(() => e.schema.$id || Oe(), [e.schema.$id]), [p, u] = (0, Ae.useState)(bi(e.schema, e.model)), [g, y] = (0, Ae.useState)(Sm(e.model, e.schema.oneOf)), l = la(t, 200), m = (F) => {
1574
- l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: F.length });
1567
+ var oe = require("react/jsx-runtime");
1568
+ var Li = (e) => {
1569
+ let t = Z(), [r, o] = (0, Pe.useState)(false), [n, a] = (0, Pe.useState)(false), [s, c] = (0, Pe.useState)(false), p = (0, Pe.useMemo)(() => e.schema.$id || Oe(), [e.schema.$id]), [u, m] = (0, Pe.useState)(Di(e.schema, e.model)), [h, f] = (0, Pe.useState)(Bm(e.model, e.schema.oneOf)), l = Fa(t, 200), d = (w) => {
1570
+ l("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: w.length });
1575
1571
  };
1576
- if ((0, Ae.useEffect)(() => {
1577
- let F = $t(e.schema, e.model), I = $t(e.schema, e.schema.default);
1578
- F === -1 && I >= 0 && O(I, "init");
1579
- }, [e.schema]), !W(e.schema.oneOf))
1572
+ if ((0, Pe.useEffect)(() => {
1573
+ let w = Yt(e.schema, e.model), I = Yt(e.schema, e.schema.default);
1574
+ w === -1 && I >= 0 && x(I, "init");
1575
+ }, [e.schema]), !q(e.schema.oneOf))
1580
1576
  return console.error("Incorrect format", e.schema), null;
1581
- let f = (F, I) => {
1582
- y([...g.slice(0, F), I.model, ...g.slice(F + 1)]), o(true), e.onChange(I);
1583
- }, h = () => {
1577
+ let y = (w, I) => {
1578
+ f([...h.slice(0, w), I.model, ...h.slice(w + 1)]), o(true), e.onChange(I);
1579
+ }, g = () => {
1584
1580
  a(true);
1585
1581
  }, b = () => {
1586
1582
  a(false), c(true);
1587
- }, O = (F, I) => {
1588
- u(F);
1589
- let N = e.schema.oneOf[F];
1590
- if (Ie(N)) {
1591
- let v = N.const;
1592
- e.onChange({ model: v, triggerSchema: e.schema, triggerModel: v, type: I });
1583
+ }, x = (w, I) => {
1584
+ m(w);
1585
+ let N = e.schema.oneOf[w];
1586
+ if (De(N)) {
1587
+ let A = N.const;
1588
+ e.onChange({ model: A, triggerSchema: e.schema, triggerModel: A, type: I });
1593
1589
  } else
1594
- e.onChange({ model: g[F], triggerSchema: N, triggerModel: g[F], type: I });
1590
+ e.onChange({ model: h[w], triggerSchema: N, triggerModel: h[w], type: I });
1595
1591
  I !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: N == null ? void 0 : N.analyticsId });
1596
- }, C = wm(e.schema), A = gm(e, p), M = { "form-group": true, "has-error": !r && e.errors && !yt(e.errors) || (e.submitted || r && s) && A.length };
1597
- return (0, re.jsxs)(re.Fragment, { children: [(e.schema.oneOf.length > 1 || Ie(e.schema.oneOf[0])) && (0, re.jsxs)(re.Fragment, { children: [(0, re.jsxs)("div", { className: (0, Si.default)(M), children: [hm(e.schema, d), (0, re.jsx)(Gt, { id: d, schema: C, value: p, disabled: e.disabled, onChange: O, onFocus: h, onBlur: b, onSearchChange: m }), (0, re.jsx)(Te, { changed: r, focused: n, blurred: s, submitted: e.submitted, errors: bm(e.errors), schema: e.schema, validations: A, infoMessage: null })] }), e.schema.alert && (0, re.jsx)(ie, { component: e.schema.alert })] }), Rt(e.schema.oneOf[p]) && (0, re.jsx)(de, { schema: e.schema.oneOf[p], model: g[p], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (F) => f(p, F), onPersistAsync: e.onPersistAsync })] });
1592
+ }, C = jm(e.schema), v = Tm(e, u), P = { "form-group": true, "has-error": !r && e.errors && !ht(e.errors) || (e.submitted || r && s) && v.length };
1593
+ return (0, oe.jsxs)(oe.Fragment, { children: [(e.schema.oneOf.length > 1 || De(e.schema.oneOf[0])) && (0, oe.jsxs)(oe.Fragment, { children: [(0, oe.jsxs)("div", { className: (0, Ii.default)(P), children: [Nm(e.schema, p), (0, oe.jsx)(Xt, { id: p, schema: C, value: u, disabled: e.disabled, onChange: x, onFocus: g, onBlur: b, onSearchChange: d }), (0, oe.jsx)(Ne, { changed: r, focused: n, blurred: s, submitted: e.submitted, errors: Rm(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, oe.jsx)(ie, { component: e.schema.alert })] }), Vt(e.schema.oneOf[u]) && (0, oe.jsx)(de, { schema: e.schema.oneOf[u], model: h[u], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (w) => y(u, w), onPersistAsync: e.onPersistAsync })] });
1598
1594
  };
1599
- function hm(e, t) {
1600
- let r = e.help ? (0, re.jsx)(Ft, { help: e.help }) : null, o = Ie(e.oneOf[0]) ? (0, re.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, re.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
1595
+ function Nm(e, t) {
1596
+ let r = e.help ? (0, oe.jsx)(xt, { help: e.help }) : null, o = De(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] });
1601
1597
  return e.title ? o : r;
1602
1598
  }
1603
- function gm(e, t) {
1599
+ function Tm(e, t) {
1604
1600
  let r = e.schema.oneOf[t != null ? t : -1];
1605
- return Ie(r) ? We(r.const, e.schema, !!e.required) : t === null || t < 0 ? We(null, e.schema, !!e.required) : [];
1601
+ return De(r) ? qe(r.const, e.schema, !!e.required) : t === null || t < 0 ? qe(null, e.schema, !!e.required) : [];
1606
1602
  }
1607
- function bm(e) {
1603
+ function Rm(e) {
1608
1604
  return typeof e == "string" ? e : null;
1609
1605
  }
1610
- function Sm(e, t) {
1611
- return t.map((r) => Nt(e, r));
1606
+ function Bm(e, t) {
1607
+ return t.map((r) => Bt(e, r));
1612
1608
  }
1613
- function wm(e) {
1614
- return S(i({}, e), { oneOf: e.oneOf.map(Fm) });
1609
+ function jm(e) {
1610
+ return S(i({}, e), { oneOf: e.oneOf.map(Vm) });
1615
1611
  }
1616
- function Fm(e, t) {
1612
+ function Vm(e, t) {
1617
1613
  let { title: r, description: o, disabled: n = false, icon: a, image: s, keywords: c } = e;
1618
1614
  return { title: r, description: o, disabled: n, icon: a, image: s, const: t, keywords: c };
1619
1615
  }
1620
- wi.defaultProps = { required: false, disabled: false };
1621
- var Ao = wi;
1622
- var Oi = ze(ot());
1623
- var st = require("react");
1624
- var Dr = require("@transferwise/components");
1625
- var Fi = require("react");
1626
- var xi = require("react/jsx-runtime");
1627
- var Ci = (e) => {
1628
- let { id: t, httpClient: r = fetch, httpOptions: o, fileId: n, idProperty: a, usAccept: s, maxSize: c, usPlaceholder: d, onSuccess: p, onFailure: u, onCancel: g } = e, y = Q(), l = (0, Fi.useMemo)(() => n ? [{ id: n, status: Dr.Status.SUCCEEDED }] : [], [n]), m = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: f }).then((h) => h.ok ? (p && p(h.clone()), h.json().then((b) => ({ id: b[a] }))) : (u && u({ response: h }), Promise.reject())));
1629
- return (0, xi.jsx)(Dr.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? br(c) : void 0, fileTypes: s, description: d, onUploadFile: m, onDeleteFile: (f) => (g && g(), Promise.resolve()) });
1630
- };
1631
- var _t = require("react/jsx-runtime");
1632
- var vi = (e) => {
1633
- let [t, r] = (0, st.useState)({}), [o, n] = (0, st.useState)(null), [a, s] = (0, st.useState)([]), [c, d] = (0, st.useState)(false), p = oe(), u = Q();
1634
- (0, st.useEffect)(() => {
1635
- e.submitted && s(We(e.model, e.schema, !!e.required));
1616
+ Li.defaultProps = { required: false, disabled: false };
1617
+ var Uo = Li;
1618
+ var Bi = Ue(rt());
1619
+ var it = require("react");
1620
+ var Ur = require("@transferwise/components");
1621
+ var Ni = require("react");
1622
+ var Ri = require("react/jsx-runtime");
1623
+ var Ti = (e) => {
1624
+ let { id: t, httpClient: r = fetch, httpOptions: o, fileId: n, idProperty: a, usAccept: s, maxSize: c, usPlaceholder: p, onSuccess: u, onFailure: m, onCancel: h } = e, f = Z(), l = (0, Ni.useMemo)(() => n ? [{ id: n, status: Ur.Status.SUCCEEDED }] : [], [n]), d = (y) => (f("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(`${o.url}`, { method: o.method || "POST", body: y }).then((g) => g.ok ? (u && u(g.clone()), g.json().then((b) => ({ id: b[a] }))) : (m && m({ response: g }), Promise.reject())));
1625
+ return (0, Ri.jsx)(Ur.UploadInput, { id: t, fileInputName: o.fileInputName, files: l, uploadButtonTitle: e.usLabel, sizeLimit: c ? vr(c) : void 0, fileTypes: s, description: p, onUploadFile: d, onDeleteFile: (y) => (h && h(), Promise.resolve()) });
1626
+ };
1627
+ var Qt = require("react/jsx-runtime");
1628
+ var ji = (e) => {
1629
+ let [t, r] = (0, it.useState)({}), [o, n] = (0, it.useState)(null), [a, s] = (0, it.useState)([]), [c, p] = (0, it.useState)(false), u = ee(), m = Z();
1630
+ (0, it.useEffect)(() => {
1631
+ e.submitted && s(qe(e.model, e.schema, !!e.required));
1636
1632
  }, [e.model, e.submitted]);
1637
- let y = async (C, A) => {
1638
- let M = await C.json(), F = Eo(e.schema.persistAsync.idProperty, M);
1639
- e.onChange({ model: F, triggerSchema: e.schema, triggerModel: F }), d(true), u("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1633
+ let f = async (C, v) => {
1634
+ let P = await C.json(), w = qo(e.schema.persistAsync.idProperty, P);
1635
+ e.onChange({ model: w, triggerSchema: e.schema, triggerModel: w }), p(true), m("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
1640
1636
  }, l = async (C) => {
1641
- if (C.response && mr(C.response.status)) {
1642
- let A = await C.response.json();
1643
- r(A.validation || {}), n([e.schema.persistAsync.param]);
1637
+ if (C.response && gr(C.response.status)) {
1638
+ let v = await C.response.json();
1639
+ r(v.validation || {}), n([e.schema.persistAsync.param]);
1644
1640
  }
1645
- e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), d(true), u("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
1646
- }, m = () => {
1647
- n(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), d(true);
1648
- }, { url: f, method: h } = e.schema.persistAsync, b = o || a, O = { "form-group": true, "has-error": (e.submitted || c) && !!b.length };
1649
- return (0, _t.jsxs)("div", { className: (0, Oi.default)(O), children: [(0, _t.jsx)(Ci, 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: f, method: h, fileInputName: e.schema.persistAsync.param }, httpClient: p, onSuccess: y, onFailure: l, onCancel: m }, kr(e.schema.persistAsync.schema))), (0, _t.jsx)(Te, { 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 })] });
1650
- };
1651
- vi.defaultProps = { required: false };
1652
- var ko = vi;
1653
- var Do = require("react/jsx-runtime");
1654
- var Pi = (e) => {
1641
+ e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), p(true), m("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
1642
+ }, d = () => {
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, Qt.jsxs)("div", { className: (0, Bi.default)(x), children: [(0, Qt.jsx)(Ti, 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: u, onSuccess: f, onFailure: l, onCancel: d }, jr(e.schema.persistAsync.schema))), (0, Qt.jsx)(Ne, { 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
+ ji.defaultProps = { required: false };
1648
+ var Ho = ji;
1649
+ var $o = require("react/jsx-runtime");
1650
+ var Vi = (e) => {
1655
1651
  let { schema: t } = e;
1656
- return t.persistAsync.schema.type === "blob" ? (0, Do.jsx)(ko, i({}, e)) : (0, Do.jsx)(Mo, i({}, e));
1652
+ return t.persistAsync.schema.type === "blob" ? (0, $o.jsx)(Ho, i({}, e)) : (0, $o.jsx)(zo, i({}, e));
1657
1653
  };
1658
- Pi.defaultProps = { required: false };
1659
- var Io = Pi;
1660
- var Ri = require("react");
1661
- var Ai = (e, t) => {
1662
- let r = Er(e, t);
1654
+ Vi.defaultProps = { required: false };
1655
+ var Go = Vi;
1656
+ var Ji = require("react");
1657
+ var Ui = (e, t) => {
1658
+ let r = Vr(e, t);
1663
1659
  return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
1664
1660
  };
1665
- var Mi = require("@transferwise/components");
1666
- var Lo = require("react/jsx-runtime");
1667
- var ki = (e) => {
1668
- 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, d = s === "other" ? "other" : "promoted", p = s === "other" ? "promoted" : "other", u = r === d;
1669
- return (0, Lo.jsx)("div", { className: "form-group", children: (0, Lo.jsx)(Mi.Checkbox, { id: t, label: c, checked: u, onChange: () => {
1670
- o(u ? p : d);
1661
+ var zi = require("@transferwise/components");
1662
+ var Wo = require("react/jsx-runtime");
1663
+ var Hi = (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", u = s === "other" ? "promoted" : "other", m = r === p;
1665
+ return (0, Wo.jsx)("div", { className: "form-group", children: (0, Wo.jsx)(zi.Checkbox, { id: t, label: c, checked: m, onChange: () => {
1666
+ o(m ? u : p);
1671
1667
  } }) });
1672
1668
  };
1673
- ki.defaultProps = {};
1674
- var Ei = ki;
1675
- var Di = require("@transferwise/components");
1676
- var Kt = require("react/jsx-runtime");
1677
- var Ii = (e) => {
1678
- var d, p;
1679
- let { id: t, selection: r, setSelection: o, promotion: n, promotedOneOf: a, title: s } = e, c = [i({ value: "promoted", label: ((d = n.promoted) == null ? void 0 : d.title) || a.title, secondary: ((p = n.promoted) == null ? void 0 : p.description) || a.description }, vt(a)), i({ value: "other", label: n.other.title, secondary: n.other.description }, vt(n.other))];
1680
- return (0, Kt.jsxs)("div", { className: "form-group", children: [s && (0, Kt.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, Kt.jsx)(Di.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1681
- };
1682
- Ii.defaultProps = { title: void 0 };
1683
- var Li = Ii;
1684
- var Pt = require("react/jsx-runtime");
1685
- var Ni = (e) => {
1669
+ Hi.defaultProps = {};
1670
+ var qi = Hi;
1671
+ var $i = require("@transferwise/components");
1672
+ var Zt = require("react/jsx-runtime");
1673
+ var Gi = (e) => {
1674
+ var p, u;
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: ((u = n.promoted) == null ? void 0 : u.description) || a.description }, Pt(a)), i({ value: "other", label: n.other.title, secondary: n.other.description }, Pt(n.other))];
1676
+ return (0, Zt.jsxs)("div", { className: "form-group", children: [s && (0, Zt.jsx)("label", { className: "control-label", htmlFor: t, children: s }), (0, Zt.jsx)($i.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: o })] });
1677
+ };
1678
+ Gi.defaultProps = { title: void 0 };
1679
+ var Wi = Gi;
1680
+ var At = require("react/jsx-runtime");
1681
+ var _i = (e) => {
1686
1682
  switch (e.promotion.control || "radio") {
1687
1683
  case "radio":
1688
- return (0, Pt.jsx)(Li, i({}, e));
1684
+ return (0, At.jsx)(Wi, i({}, e));
1689
1685
  case "checkbox":
1690
- return (0, Pt.jsx)(Ei, i({}, e));
1686
+ return (0, At.jsx)(qi, i({}, e));
1691
1687
  default:
1692
- return (0, Pt.jsx)(Pt.Fragment, {});
1688
+ return (0, At.jsx)(At.Fragment, {});
1693
1689
  }
1694
1690
  };
1695
- Ni.defaultProps = { id: Oe(), title: void 0 };
1696
- var Ti = Ni;
1697
- var Be = require("react/jsx-runtime");
1698
- var Bi = (e) => e.promoted === true;
1699
- var Cm = (e) => {
1691
+ _i.defaultProps = { id: Oe(), title: void 0 };
1692
+ var Ki = _i;
1693
+ var Re = require("react/jsx-runtime");
1694
+ var Xi = (e) => e.promoted === true;
1695
+ var Um = (e) => {
1700
1696
  var c;
1701
- let [t, r] = (0, Ri.useState)(Ai(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, n = e.schema.oneOf.find(Bi), a = xm(n), s = Om(e.schema);
1702
- return (0, Be.jsxs)(Be.Fragment, { children: [o && (0, Be.jsx)(ie, { component: o }), (0, Be.jsx)(Ti, { id: e.schema.$id, title: e.schema.title, promotedOneOf: n, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Be.jsx)(Wt, S(i({}, e), { schema: a })), t === "other" && (0, Be.jsx)(de, S(i({}, e), { schema: s }))] });
1697
+ let [t, r] = (0, Ji.useState)(Ui(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), o = e.schema.alert, n = e.schema.oneOf.find(Xi), a = zm(n), s = Hm(e.schema);
1698
+ return (0, Re.jsxs)(Re.Fragment, { children: [o && (0, Re.jsx)(ie, { component: o }), (0, Re.jsx)(Ki, { id: e.schema.$id, title: e.schema.title, promotedOneOf: n, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Re.jsx)(Jt, S(i({}, e), { schema: a })), t === "other" && (0, Re.jsx)(de, S(i({}, e), { schema: s }))] });
1703
1699
  };
1704
- function xm(e) {
1700
+ function zm(e) {
1705
1701
  return S(i({}, e), { title: void 0, description: void 0 });
1706
1702
  }
1707
- function Om(e) {
1703
+ function Hm(e) {
1708
1704
  var o, n, a;
1709
- let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !Bi(s)), r = (a = (n = e.promotion) == null ? void 0 : n.other.heading) == null ? void 0 : a.text;
1705
+ let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !Xi(s)), r = (a = (n = e.promotion) == null ? void 0 : n.other.heading) == null ? void 0 : a.text;
1710
1706
  return t.length === 1 ? S(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
1711
1707
  }
1712
- var No = Cm;
1713
- var Ir = require("@transferwise/components");
1714
- var Vi = require("react-intl");
1715
- var ji = require("react-intl");
1716
- var To = (0, ji.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." } });
1717
- var At = require("react/jsx-runtime");
1718
- var vm = ({ schema: e, model: t }) => {
1719
- let { title: r = "" } = e, { formatMessage: o } = (0, Vi.useIntl)(), n = Pm({ schema: e, model: t, formatMessage: o });
1720
- return (0, At.jsx)(Ir.DefinitionList, { layout: Ir.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: n, key: "" }] });
1708
+ var _o = Um;
1709
+ var zr = require("@transferwise/components");
1710
+ var Qi = require("react-intl");
1711
+ var Yi = require("react-intl");
1712
+ var Ko = (0, Yi.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 Mt = require("react/jsx-runtime");
1714
+ var qm = ({ schema: e, model: t }) => {
1715
+ let { title: r = "" } = e, { formatMessage: o } = (0, Qi.useIntl)(), n = $m({ schema: e, model: t, formatMessage: o });
1716
+ return (0, Mt.jsx)(zr.DefinitionList, { layout: zr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: n, key: "" }] });
1721
1717
  };
1722
- var Ro = vm;
1723
- function Pm({ schema: e, model: t, formatMessage: r }) {
1724
- return De(e) ? pe(e) ? Am(e, t) : e.type === "boolean" && Ce(t) ? r(t ? To.yes : To.no) : t && t.toString() || "" : "";
1718
+ var Jo = qm;
1719
+ function $m({ schema: e, model: t, formatMessage: r }) {
1720
+ return Ee(e) ? pe(e) ? Gm(e, t) : e.type === "boolean" && Ce(t) ? r(t ? Ko.yes : Ko.no) : t && t.toString() || "" : "";
1725
1721
  }
1726
- function Am(e, t) {
1727
- let r = Mm(e, t);
1728
- return r ? km(r) : t;
1722
+ function Gm(e, t) {
1723
+ let r = Wm(e, t);
1724
+ return r ? _m(r) : t;
1729
1725
  }
1730
- function Mm(e, t) {
1726
+ function Wm(e, t) {
1731
1727
  return e.oneOf.find((r) => "const" in r ? t === r.const : false);
1732
1728
  }
1733
- function km(e) {
1734
- let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = vt({ icon: e.icon });
1735
- return r != null && r.avatar ? (0, At.jsxs)(At.Fragment, { children: [r.avatar, " ", t] }) : t;
1736
- }
1737
- var Me = require("react");
1738
- var zi = require("react/jsx-runtime");
1739
- var Ui = (e) => {
1740
- let { schema: t, model: r, required: o, submitted: n, errors: a, onChange: s } = e, [c, d] = (0, Me.useState)(r), p = (0, Me.useRef)(null), [u, g] = (0, Me.useState)(null), [y, l] = (0, Me.useState)(null), [m, f] = (0, Me.useState)(false), [h, b] = (0, Me.useState)(null), O = oe(), C = Q(), A = ft();
1741
- (0, Me.useEffect)(() => {
1742
- t.validationAsync.method || A.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {});
1743
- }, [A, t.validationAsync.method]);
1744
- let M = async (L, q) => {
1745
- let x = F(), j = { [q.param]: L };
1746
- p.current = L, f(true), C("Dynamic Flow - ValidationAsync", { status: "pending" });
1747
- let k = await O(q.url, { method: q.method || "POST", headers: { "Content-Type": "application/json" }, body: q.method === "GET" ? void 0 : JSON.stringify(j), signal: x });
1729
+ function _m(e) {
1730
+ let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Pt({ icon: e.icon });
1731
+ return r != null && r.avatar ? (0, Mt.jsxs)(Mt.Fragment, { children: [r.avatar, " ", t] }) : t;
1732
+ }
1733
+ var Ae = require("react");
1734
+ var es = require("react/jsx-runtime");
1735
+ var Zi = (e) => {
1736
+ let { schema: t, model: r, required: o, submitted: n, errors: a, onChange: s } = e, [c, p] = (0, Ae.useState)(r), u = (0, Ae.useRef)(null), [m, h] = (0, Ae.useState)(null), [f, l] = (0, Ae.useState)(null), [d, y] = (0, Ae.useState)(false), [g, b] = (0, Ae.useState)(null), x = ee(), C = Z(), v = yt();
1737
+ (0, Ae.useEffect)(() => {
1738
+ 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
+ }, [v, t.validationAsync.method]);
1740
+ let P = async (L, $) => {
1741
+ let O = w(), j = { [$.param]: L };
1742
+ u.current = L, y(true), C("Dynamic Flow - ValidationAsync", { status: "pending" });
1743
+ let k = await x($.url, { method: $.method || "POST", headers: { "Content-Type": "application/json" }, body: $.method === "GET" ? void 0 : JSON.stringify(j), signal: O });
1748
1744
  try {
1749
- let U = await k.json();
1750
- if (!R(U))
1745
+ let z = await k.json();
1746
+ if (!T(z))
1751
1747
  throw new Error("Response body is not an object");
1752
- C("Dynamic Flow - ValidationAsync", { status: "success" }), k.status === 200 ? g(D(U.message) ? U.message : null) : k.status === 422 && l(D(U.message) ? U.message : null);
1753
- } catch (U) {
1748
+ C("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) {
1754
1750
  C("Dynamic Flow - ValidationAsync", { status: "failure" });
1755
1751
  }
1756
- }, F = () => {
1757
- h && h.abort();
1752
+ }, w = () => {
1753
+ g && g.abort();
1758
1754
  let L = new AbortController();
1759
1755
  return b(L), L.signal;
1760
1756
  };
1761
- return (0, zi.jsx)(lt, i({}, { submitted: n || m, model: c, errors: y || a, infoMessage: u, onChange: (L) => {
1762
- s(S(i({}, L), { triggerSchema: t, triggerModel: L.model })), l(null), g(null), G(L.model, t) && d(L.model);
1757
+ return (0, es.jsx)(st, i({}, { submitted: n || d, model: c, errors: f || a, infoMessage: m, onChange: (L) => {
1758
+ s(S(i({}, L), { triggerSchema: t, triggerModel: L.model })), l(null), h(null), G(L.model, t) && p(L.model);
1763
1759
  }, onBlur: () => {
1764
- !P(c) && !Ge(c, p.current) && M(c, t.validationAsync);
1760
+ !M(c) && !Ge(c, u.current) && P(c, t.validationAsync);
1765
1761
  }, required: o, schema: t }));
1766
1762
  };
1767
- Ui.defaultProps = { required: false };
1768
- var Bo = Ui;
1763
+ Zi.defaultProps = { required: false };
1764
+ var Xo = Zi;
1769
1765
  var ue = require("react/jsx-runtime");
1770
- var qi = require("react");
1771
- var Em = (e) => {
1772
- 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 = jt(t), d = ft();
1773
- switch ((0, Hi.useEffect)(() => {
1774
- Dm(t, r, o) || d.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
1775
- }, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(o), c, d]), c) {
1766
+ var rs = require("react");
1767
+ var Km = (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 = zt(t), p = yt();
1769
+ switch ((0, ts.useEffect)(() => {
1770
+ Jm(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) {
1776
1772
  case "readOnly":
1777
- return (0, ue.jsx)(Ro, i({}, s));
1773
+ return (0, ue.jsx)(Jo, i({}, s));
1778
1774
  case "persistAsync":
1779
- return (0, ue.jsx)(Io, i({}, s));
1775
+ return (0, ue.jsx)(Go, i({}, s));
1780
1776
  case "validationAsync":
1781
- return (0, ue.jsx)(Bo, i({}, s));
1777
+ return (0, ue.jsx)(Xo, i({}, s));
1782
1778
  case "basic": {
1783
- let p = i({ infoMessage: null }, s);
1784
- return (0, ue.jsx)(lt, i({}, p));
1779
+ let u = i({ infoMessage: null }, s);
1780
+ return (0, ue.jsx)(st, i({}, u));
1785
1781
  }
1786
1782
  case "object":
1787
- return (0, qi.createElement)(Wt, S(i({}, s), { key: JSON.stringify(t) }));
1783
+ return (0, rs.createElement)(Jt, S(i({}, s), { key: JSON.stringify(t) }));
1788
1784
  case "array":
1789
- return (0, ue.jsx)(wo, i({}, s));
1785
+ return (0, ue.jsx)(To, i({}, s));
1790
1786
  case "promotedOneOf":
1791
- return (0, ue.jsx)(No, i({}, s));
1787
+ return (0, ue.jsx)(_o, i({}, s));
1792
1788
  case "oneOf":
1793
- return (0, ue.jsx)(Ao, i({}, s));
1789
+ return (0, ue.jsx)(Uo, i({}, s));
1794
1790
  case "allOf":
1795
- return (0, ue.jsx)(go, i({}, s));
1791
+ return (0, ue.jsx)(Io, i({}, s));
1796
1792
  }
1797
1793
  return (0, ue.jsx)(ue.Fragment, {});
1798
1794
  };
1799
- var de = Em;
1800
- var Dm = (e, t, r) => {
1801
- switch (jt(e)) {
1795
+ var de = Km;
1796
+ var Jm = (e, t, r) => {
1797
+ switch (zt(e)) {
1802
1798
  case "persistAsync":
1803
- return Sr(e) && aa(t) && Vt(r);
1799
+ return Pr(e) && ba(t) && Ht(r);
1804
1800
  case "validationAsync":
1805
- return so(e) && co(t) && Vt(r);
1801
+ return Fo(e) && xo(t) && Ht(r);
1806
1802
  case "basic":
1807
- return De(e) && co(t) && Vt(r);
1803
+ return Ee(e) && xo(t) && Ht(r);
1808
1804
  case "object":
1809
- return xe(e) && lo(t);
1805
+ return xe(e) && Co(t);
1810
1806
  case "array":
1811
- return Ee(e) && ia(t) && Vt(r);
1807
+ return ke(e) && Sa(t) && Ht(r);
1812
1808
  case "promotedOneOf":
1813
- return Bt(e) && lo(t);
1809
+ return Ut(e) && Co(t);
1814
1810
  case "oneOf":
1815
1811
  return pe(e);
1816
1812
  case "allOf":
1817
- return io(e) && X(t);
1813
+ return wo(e) && Y(t);
1818
1814
  }
1819
1815
  return false;
1820
1816
  };
1821
- var ct = require("react/jsx-runtime");
1822
- var Im = (e) => {
1817
+ var lt = require("react/jsx-runtime");
1818
+ var Xm = (e) => {
1823
1819
  let t = i({ model: null, errors: null, disabled: false, baseUrl: "" }, e);
1824
- return yr() || t.baseUrl == null ? (0, ct.jsx)(de, i({}, t)) : (0, ct.jsx)(Lm, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, ct.jsx)(de, i({}, t)) });
1820
+ return Cr() || t.baseUrl == null ? (0, lt.jsx)(de, i({}, t)) : (0, lt.jsx)(Ym, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, lt.jsx)(de, i({}, t)) });
1825
1821
  };
1826
- var Jt = Im;
1827
- var Lm = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, ct.jsx)(hr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : Wi, children: (0, ct.jsx)(cr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : Wi, children: (0, ct.jsx)(fr, { baseUrl: e, children: o }) }) });
1828
- var Wi = () => {
1822
+ var er = Xm;
1823
+ var Ym = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, lt.jsx)(xr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : os, children: (0, lt.jsx)(hr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : os, children: (0, lt.jsx)(Fr, { baseUrl: e, children: o }) }) });
1824
+ var os = () => {
1829
1825
  };
1830
- var jo = require("react/jsx-runtime");
1831
- var Nm = (e) => {
1826
+ var Yo = require("react/jsx-runtime");
1827
+ var Qm = (e) => {
1832
1828
  let t = e.component, r = t.schema;
1833
- return (0, jo.jsx)("div", { className: z(t.margin || "md"), children: (0, jo.jsx)(Jt, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1829
+ return (0, Yo.jsx)("div", { className: U(t.margin || "md"), children: (0, Yo.jsx)(er, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
1834
1830
  e.onModelChange(i({ formSchema: r }, o));
1835
1831
  }, onPersistAsync: e.onPersistAsync }) });
1836
1832
  };
1837
- var Vo = Nm;
1838
- var Mt = require("react/jsx-runtime");
1839
- var Tm = (e) => {
1840
- let { text: t, size: r = "md", align: o = "left", margin: n = "md" } = e.component, a = Le({ align: o, margin: n });
1833
+ var Qo = Qm;
1834
+ var kt = require("react/jsx-runtime");
1835
+ var Zm = (e) => {
1836
+ let { text: t, size: r = "md", align: o = "left", margin: n = "md" } = e.component, a = Ie({ align: o, margin: n });
1841
1837
  switch (r) {
1842
1838
  case "xs":
1843
- return (0, Mt.jsx)("h5", { className: a, children: t });
1839
+ return (0, kt.jsx)("h5", { className: a, children: t });
1844
1840
  case "sm":
1845
- return (0, Mt.jsx)("h4", { className: a, children: t });
1841
+ return (0, kt.jsx)("h4", { className: a, children: t });
1846
1842
  case "lg":
1847
- return (0, Mt.jsx)("h2", { className: a, children: t });
1843
+ return (0, kt.jsx)("h2", { className: a, children: t });
1848
1844
  case "xl":
1849
- return (0, Mt.jsx)("h1", { className: a, children: t });
1845
+ return (0, kt.jsx)("h1", { className: a, children: t });
1850
1846
  case "md":
1851
1847
  default:
1852
- return (0, Mt.jsx)("h3", { className: a, children: t });
1848
+ return (0, kt.jsx)("h3", { className: a, children: t });
1853
1849
  }
1854
1850
  };
1855
- var Uo = Tm;
1856
- var zo = require("@transferwise/components");
1857
- var Xt = require("react/jsx-runtime");
1858
- var Ho = ({ component: e }) => {
1851
+ var Zo = Zm;
1852
+ var en = require("@transferwise/components");
1853
+ var tr = require("react/jsx-runtime");
1854
+ var tn = ({ component: e }) => {
1859
1855
  let { content: t, align: r, margin: o } = e;
1860
- return (0, Xt.jsx)("div", { className: Le({ align: r, margin: o }), children: (0, Xt.jsx)(zo.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1861
- };
1862
- var qo = ({ component: e }) => (0, Xt.jsx)("div", { className: Le(e), children: (0, Xt.jsx)(zo.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1863
- var Gi = require("@transferwise/components");
1864
- var Lr = require("react");
1865
- var Wo = require("react/jsx-runtime");
1866
- var Rm = ({ component: e }) => {
1867
- let { url: t, size: r, text: o, margin: n } = e, a = oe(), [s, c] = (0, Lr.useState)("");
1868
- (0, Lr.useEffect)(() => {
1869
- jm(a, t).then(c);
1856
+ return (0, tr.jsx)("div", { className: Ie({ align: r, margin: o }), children: (0, tr.jsx)(en.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
1857
+ };
1858
+ var rn = ({ component: e }) => (0, tr.jsx)("div", { className: Ie(e), children: (0, tr.jsx)(en.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
1859
+ var ns = require("@transferwise/components");
1860
+ var Hr = require("react");
1861
+ var on = require("react/jsx-runtime");
1862
+ var ed = ({ component: e }) => {
1863
+ let { url: t, size: r, text: o, margin: n } = e, a = ee(), [s, c] = (0, Hr.useState)("");
1864
+ (0, Hr.useEffect)(() => {
1865
+ rd(a, t).then(c);
1870
1866
  }, [t, a]);
1871
- let d = { alt: o || "", src: s, stretch: true, shrink: true };
1872
- return s ? (0, Wo.jsx)("div", { className: `df-image ${r || "xl"}`, children: (0, Wo.jsx)(Gi.Image, i({ className: `img-responsive ${z(n || "lg")}` }, d)) }) : null;
1867
+ let p = { alt: o || "", src: s, stretch: true, shrink: true };
1868
+ return s ? (0, on.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, on.jsx)(ns.Image, i({ className: `img-responsive ${U(n || "md")}` }, p)) }) : null;
1873
1869
  };
1874
- var Bm = (e) => new Promise((t, r) => {
1870
+ var td = (e) => new Promise((t, r) => {
1875
1871
  let o = new FileReader();
1876
1872
  o.addEventListener("loadend", () => t(o.result)), o.addEventListener("error", (n) => r(n)), o.readAsDataURL(e);
1877
1873
  });
1878
- var jm = async (e, t) => {
1874
+ var rd = async (e, t) => {
1879
1875
  var r;
1880
1876
  try {
1881
- return dr(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) => {
1877
+ return br(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) => {
1882
1878
  if (o.ok)
1883
1879
  return o.blob();
1884
1880
  throw new Error("Image fetching failed");
1885
- }).then(Bm).catch(() => t) : t;
1881
+ }).then(td).catch(() => t) : t;
1886
1882
  } catch (o) {
1887
1883
  return t;
1888
1884
  }
1889
1885
  };
1890
- var Go = Rm;
1886
+ var nn = ed;
1887
+ var qr = require("@transferwise/components");
1888
+ var rr = require("react/jsx-runtime");
1889
+ var od = ["positive", "neutral"];
1890
+ var nd = ["warning", "negative"];
1891
+ var ad = ({ component: e }) => {
1892
+ let { items: t } = e, r = t.filter((n) => od.includes(n.context)).map(({ text: n }) => n), o = t.filter((n) => nd.includes(n.context)).map(({ text: n }) => n);
1893
+ return (0, rr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, rr.jsx)(qr.Header, { title: e.title }) : null, (0, rr.jsx)(qr.InstructionsList, { dos: r, donts: o })] });
1894
+ };
1895
+ var an = ad;
1891
1896
  var H = require("react/jsx-runtime");
1892
- var Z = (e) => JSON.stringify(e);
1893
- var Vm = (e) => {
1894
- let { components: t, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c, baseUrl: d } = e, p = (u) => {
1895
- switch (u.type) {
1897
+ var X = (e) => JSON.stringify(e);
1898
+ var id = (e) => {
1899
+ let { components: t, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c, baseUrl: p } = e, u = (m) => {
1900
+ switch (m.type) {
1896
1901
  case "heading":
1897
- return (0, H.jsx)(Uo, { component: u }, Z(u));
1902
+ return (0, H.jsx)(Zo, { component: m }, X(m));
1898
1903
  case "paragraph":
1899
- return (0, H.jsx)(Ko, { component: u }, Z(u));
1904
+ return (0, H.jsx)(ln, { component: m }, X(m));
1900
1905
  case "image":
1901
- return (0, H.jsx)(Go, { component: u }, Z(u));
1906
+ return (0, H.jsx)(nn, { component: m }, X(m));
1902
1907
  case "alert":
1903
- return (0, H.jsx)(ie, { component: u }, Z(u));
1908
+ return (0, H.jsx)(ie, { component: m }, X(m));
1904
1909
  case "review":
1905
- return (0, H.jsx)(Jo, { component: u, onAction: s }, Z(u));
1910
+ return (0, H.jsx)(cn, { component: m, onAction: s }, X(m));
1906
1911
  case "divider":
1907
- return (0, H.jsx)(yo, { component: u }, Z(u));
1912
+ return (0, H.jsx)(Eo, { component: m }, X(m));
1908
1913
  case "info":
1909
- return (0, H.jsx)(qo, { component: u }, Z(u));
1914
+ return (0, H.jsx)(rn, { component: m }, X(m));
1915
+ case "instructions":
1916
+ return (0, H.jsx)(an, { component: m }, X(m));
1910
1917
  case "markdown":
1911
- return (0, H.jsx)(Ho, { component: u }, Z(u));
1918
+ return (0, H.jsx)(tn, { component: m }, X(m));
1912
1919
  case "columns":
1913
- return (0, H.jsx)(po, { component: u, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, Z(u));
1920
+ return (0, H.jsx)(Mo, { component: m, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, X(m));
1914
1921
  case "form":
1915
- return (0, H.jsx)(Vo, { component: u, model: r, submitted: o, errors: n, onModelChange: a, onPersistAsync: c }, Z(S(i({}, u), { errors: n != null ? n : null })));
1922
+ return (0, H.jsx)(Qo, { component: m, model: r, submitted: o, errors: n, onModelChange: a, onPersistAsync: c }, X(S(i({}, m), { errors: n != null ? n : null })));
1916
1923
  case "button":
1917
- return (0, H.jsx)(uo, { component: u, onAction: s }, Z(u));
1924
+ return (0, H.jsx)(Ao, { component: m, onAction: s }, X(m));
1918
1925
  case "box":
1919
- return (0, H.jsx)(mo, { component: u, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, Z(u));
1926
+ return (0, H.jsx)(Po, { component: m, model: r, submitted: o, errors: n, onModelChange: a, onAction: s, onPersistAsync: c }, X(m));
1920
1927
  case "decision":
1921
- return (0, H.jsx)(fo, { component: u, onAction: s }, Z(u));
1928
+ return (0, H.jsx)(ko, { component: m, onAction: s }, X(m));
1922
1929
  case "external":
1923
- return (0, H.jsx)(ho, { component: u, onAction: s }, Z(u));
1930
+ return (0, H.jsx)(Do, { component: m, onAction: s }, X(m));
1924
1931
  case "list":
1925
1932
  case "status-list":
1926
- return (0, H.jsx)($o, { component: u, onAction: s }, Z(u));
1933
+ return (0, H.jsx)(sn, { component: m, onAction: s }, X(m));
1927
1934
  case "loading-indicator":
1928
- return (0, H.jsx)(_o, { component: u }, Z(u));
1935
+ return (0, H.jsx)(or, { component: m }, X(m));
1936
+ case "search":
1937
+ return (0, H.jsx)(mn, { component: m, onAction: s }, X(m));
1929
1938
  default:
1930
- return (0, H.jsx)("div", {}, Z(u));
1939
+ return (0, H.jsx)("div", {}, X(m));
1931
1940
  }
1932
1941
  };
1933
- return yr() || d == null ? (0, H.jsx)(H.Fragment, { children: t.map(p) }) : (0, H.jsx)(fr, { baseUrl: d, children: t.map(p) });
1934
- };
1935
- var se = Vm;
1936
- var $i = require("@transferwise/components");
1937
- var kt = require("react/jsx-runtime");
1938
- var Um = ({ component: e }) => (0, kt.jsxs)("div", { className: z(e.margin || "md"), children: [e.title ? (0, kt.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(zm)] });
1939
- var zm = ({ title: e, description: t, icon: r, status: o }) => {
1940
- let n = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, kt.jsx)(_e, { type: r.name }) } : {}), o ? { status: Wm[o] } : {});
1941
- return (0, kt.jsx)($i.Summary, i({}, n));
1942
- };
1943
- var Hm = { done: "done", pending: "pending", "not-done": "notDone" };
1944
- var qm = { positive: "done", warning: "pending", neutral: "notDone" };
1945
- var Wm = i(i({}, Hm), qm);
1946
- var $o = Um;
1947
- var _i = require("@transferwise/components");
1948
- var Ki = require("react/jsx-runtime");
1949
- var Gm = ({ component: e }) => {
1942
+ return Cr() || p == null ? (0, H.jsx)(H.Fragment, { children: t.map(u) }) : (0, H.jsx)(Fr, { baseUrl: p, children: t.map(u) });
1943
+ };
1944
+ var se = id;
1945
+ var as = require("@transferwise/components");
1946
+ var Et = require("react/jsx-runtime");
1947
+ var sd = ({ component: e }) => (0, Et.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, Et.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(ld)] });
1948
+ var ld = ({ 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, Et.jsx)(We, { type: r.name }) } : {}), o ? { status: dd[o] } : {});
1950
+ return (0, Et.jsx)(as.Summary, i({}, n));
1951
+ };
1952
+ var cd = { done: "done", pending: "pending", "not-done": "notDone" };
1953
+ var md = { positive: "done", warning: "pending", neutral: "notDone" };
1954
+ var dd = i(i({}, cd), md);
1955
+ var sn = sd;
1956
+ var is = require("@transferwise/components");
1957
+ var ss = require("react/jsx-runtime");
1958
+ var ud = ({ component: e }) => {
1950
1959
  let { margin: t, size: r = "md" } = e;
1951
- return (0, Ki.jsx)(_i.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${z(t)}` }, "data-testid": "loading-indicator" });
1952
- };
1953
- var _o = Gm;
1954
- var Qi = require("@transferwise/components");
1955
- var es = require("react-intl");
1956
- var Ji = require("react-intl");
1957
- var Xo = (0, Ji.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." } });
1958
- var Xi = require("@transferwise/components");
1959
- var Yi = require("react");
1960
- function Zi() {
1961
- let e = (0, Yi.useContext)(Xi.SnackbarContext);
1962
- return e ? e.createSnackbar : $m;
1963
- }
1964
- function $m() {
1965
- }
1966
- var Xe = require("react/jsx-runtime");
1967
- var _m = ({ component: e }) => e.control === "copyable" ? (0, Xe.jsx)(Jm, { component: e }) : (0, Xe.jsx)(Km, { component: e });
1968
- var Km = ({ component: e }) => (0, Xe.jsxs)("p", { className: Le(e), children: [" ", e.text, " "] });
1969
- var Jm = ({ component: e }) => {
1970
- let { formatMessage: t } = (0, es.useIntl)(), r = Zi(), { text: o } = e, n = () => {
1960
+ return (0, ss.jsx)(is.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${U(t)}` }, "data-testid": "loading-indicator" });
1961
+ };
1962
+ var or = ud;
1963
+ var us = require("@transferwise/components");
1964
+ var ps = require("react-intl");
1965
+ var ls = require("react-intl");
1966
+ var dn = (0, ls.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 cs = require("@transferwise/components");
1968
+ var ms = require("react");
1969
+ function ds() {
1970
+ let e = (0, ms.useContext)(cs.SnackbarContext);
1971
+ return e ? e.createSnackbar : pd;
1972
+ }
1973
+ function pd() {
1974
+ }
1975
+ var Je = require("react/jsx-runtime");
1976
+ var fd = ({ component: e }) => e.control === "copyable" ? (0, Je.jsx)(hd, { component: e }) : (0, Je.jsx)(yd, { component: e });
1977
+ var yd = ({ component: e }) => (0, Je.jsxs)("p", { className: Ie(e), children: [" ", e.text, " "] });
1978
+ var hd = ({ component: e }) => {
1979
+ let { formatMessage: t } = (0, ps.useIntl)(), r = ds(), { text: o } = e, n = () => {
1971
1980
  var s;
1972
- (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(Xo.copied) })).catch(Xm);
1973
- }, a = Le({ align: e.align, margin: "sm" }) + " form-control";
1974
- return (0, Xe.jsxs)("div", { className: Le(e), children: [(0, Xe.jsx)("input", { type: "text", className: a, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Xe.jsx)(Qi.Button, { block: true, onClick: n, children: t(Xo.copy) })] });
1981
+ (s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(dn.copied) })).catch(gd);
1982
+ }, a = Ie({ align: e.align, margin: "sm" }) + " form-control";
1983
+ return (0, Je.jsxs)("div", { className: Ie(e), children: [(0, Je.jsx)("input", { type: "text", className: a, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Je.jsx)(us.Button, { block: true, onClick: n, children: t(dn.copy) })] });
1975
1984
  };
1976
- function Xm() {
1985
+ function gd() {
1977
1986
  }
1978
- var Ko = _m;
1979
- var ts = require("@transferwise/components");
1980
- var je = require("react/jsx-runtime");
1981
- var Ym = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1982
- var Zm = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1983
- var Qm = (e) => {
1984
- let t = e.component, r = z(t.margin || "xs"), o = (n) => (0, je.jsx)("a", { href: n.url, className: "pull-right", role: "button", onClick: (a) => {
1987
+ var ln = fd;
1988
+ var fs = require("@transferwise/components");
1989
+ var Be = require("react/jsx-runtime");
1990
+ var bd = ({ label: e, value: t }, r) => ({ key: String(r), title: e, value: t });
1991
+ var Sd = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
1992
+ var wd = (e) => {
1993
+ let t = e.component, r = U(t.margin || "xs"), o = (n) => (0, Be.jsx)("a", { href: n.url, className: "pull-right", role: "button", onClick: (a) => {
1985
1994
  a.preventDefault(), e.onAction(n);
1986
1995
  }, children: n.title });
1987
- return (0, je.jsxs)(je.Fragment, { children: [t.title && (0, je.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, je.jsx)("div", { className: r, children: (0, je.jsx)(ts.DefinitionList, { layout: Zm(t), definitions: t.fields.map(Ym) }) })] });
1996
+ return (0, Be.jsxs)(Be.Fragment, { children: [t.title && (0, Be.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, Be.jsx)("div", { className: r, children: (0, Be.jsx)(fs.DefinitionList, { layout: Sd(t), definitions: t.fields.map(bd) }) })] });
1997
+ };
1998
+ var cn = wd;
1999
+ var Wr = require("react");
2000
+ var ys = require("@transferwise/components");
2001
+ var $r = require("react/jsx-runtime");
2002
+ var hs = ({ title: e, value: t, onChange: r }) => (0, $r.jsxs)("label", { className: "control-label d-inline", children: [e, (0, $r.jsx)(ys.Input, { type: "text", value: t, onChange: (o) => r(o.currentTarget.value) })] });
2003
+ var Gr = require("@transferwise/components");
2004
+ var bs = require("react-intl");
2005
+ var gs = require("react-intl");
2006
+ var Dt = (0, gs.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." } });
2007
+ var ct = require("react/jsx-runtime");
2008
+ var Ss = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0, ct.jsx)("p", { className: "m-t-2", children: t }) : (0, ct.jsx)(Gr.NavigationOptionsList, { children: e.map((o) => (0, ct.jsx)(Gr.NavigationOption, { title: o.title, content: o.description, media: _t(o), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => r(o) }, JSON.stringify(o))) });
2009
+ var ws = ({ onRetrySearch: e }) => {
2010
+ let t = (0, bs.useIntl)();
2011
+ return (0, ct.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(Dt.errorAlert), "\xA0", (0, ct.jsx)("a", { href: "/", onClick: (r) => {
2012
+ r.preventDefault(), e();
2013
+ }, children: t.formatMessage(Dt.retry) })] });
2014
+ };
2015
+ var It = require("react");
2016
+ var Fd = { "Content-Type": "application/json" };
2017
+ var Fs = (e) => {
2018
+ let [t, r] = (0, It.useState)({ status: "idle" }), o = (0, It.useRef)(null), n = ee(), a = (0, It.useCallback)(async (u, { url: m, method: h, param: f } = e) => {
2019
+ var d;
2020
+ if ((d = o.current) == null || d.abort(), !u) {
2021
+ r({ status: "idle" });
2022
+ return;
2023
+ }
2024
+ o.current = new AbortController();
2025
+ let l = o.current.signal;
2026
+ r({ status: "loading" });
2027
+ try {
2028
+ let y = h === "GET" ? `${m}?${f}=${encodeURIComponent(u)}` : m, g = h === "GET" ? {} : { body: JSON.stringify({ [f]: u }) }, b = await n(y, i({ method: h, signal: l, headers: Fd }, g));
2029
+ s(b, u);
2030
+ } catch (y) {
2031
+ c(y, u);
2032
+ }
2033
+ }, [n, JSON.stringify(e)]), s = async (u, m) => {
2034
+ if (u.ok) {
2035
+ let h = await u.json().catch(() => null);
2036
+ if (Cd(h)) {
2037
+ r({ status: "success", results: h.results });
2038
+ return;
2039
+ }
2040
+ }
2041
+ r({ status: "error" });
2042
+ }, c = (u, m) => {
2043
+ xd(u) === false && r({ status: "error" });
2044
+ }, p = t.status === "success" ? t.results : [];
2045
+ return { status: t.status, results: p, search: a };
2046
+ };
2047
+ var Cd = (e) => T(e) && "results" in e && q(e.results) && e.results.every((t) => T(t) && "title" in t && "type" in t && "value" in t);
2048
+ var xd = (e) => e instanceof DOMException && e.name === "AbortError";
2049
+ var mt = require("react/jsx-runtime");
2050
+ var Od = 400;
2051
+ var vd = ({ component: e, onAction: t }) => {
2052
+ let [r, o] = (0, Wr.useState)(""), { title: n, margin: a, url: s, method: c, param: p, emptyMessage: u } = e, { status: m, results: h, search: f } = Fs({ url: s, method: c, param: p }), l = (0, Wr.useMemo)(() => $e(f, Od), [f]), d = (b) => {
2053
+ o(b), l(b);
2054
+ }, y = ({ type: b, value: x }) => {
2055
+ if (b === "action" && t(x), b === "search") {
2056
+ o(x.query);
2057
+ let { url: C, method: v, param: P, query: w } = x;
2058
+ f(w, { url: C, method: v, param: P });
2059
+ }
2060
+ }, g = () => {
2061
+ o(r), f(r);
2062
+ };
2063
+ return (0, mt.jsxs)("div", { className: U(a), children: [(0, mt.jsx)(hs, { title: n, value: r, onChange: d }), m === "loading" && (0, mt.jsx)(or, { component: { type: "loading-indicator", size: "sm" } }), m === "error" && (0, mt.jsx)(ws, { onRetrySearch: g }), m === "success" && (0, mt.jsx)(Ss, { results: h, emptyMessage: u, onSelect: y })] });
1988
2064
  };
1989
- var Jo = Qm;
2065
+ var mn = vd;
1990
2066
  var ce = require("react/jsx-runtime");
1991
- var Yo = (e) => P(e) || K(e);
1992
- var ed = (e) => e.type === "boolean" && Yo(e.default) ? false : e.default;
1993
- var os = (e) => {
1994
- var q, x, j;
2067
+ var un = (e) => M(e) || K(e);
2068
+ var Pd = (e) => e.type === "boolean" && un(e.default) ? false : e.default;
2069
+ var xs = (e) => {
2070
+ var $, O, j;
1995
2071
  let t = (k) => {
1996
- y(true), o(n(k), "user");
1997
- }, r = (k) => We(k, e.schema, e.required), o = (k, U) => {
1998
- d(k);
2072
+ f(true), o(n(k), "user");
2073
+ }, r = (k) => qe(k, e.schema, e.required), o = (k, z) => {
2074
+ p(k);
1999
2075
  let Fe = r(k);
2000
- O(Fe);
2076
+ x(Fe);
2001
2077
  let ne = k;
2002
- u(ne), ne !== p && e.onChange({ model: ne, triggerSchema: e.schema, triggerModel: ne, lastTriggerModel: p, type: U });
2003
- }, n = (k) => ke(k, e.schema), a = () => m(true), s = () => {
2004
- m(false), h(true), e.onBlur && e.onBlur();
2005
- }, [c, d] = (0, le.useState)((q = e.model) != null ? q : null), [p, u] = (0, le.useState)((x = e.model) != null ? x : null), [g, y] = (0, le.useState)(false), [l, m] = (0, le.useState)(false), [f, h] = (0, le.useState)(false), [b, O] = (0, le.useState)([]), C = (0, le.useMemo)(() => e.schema.$id || Oe(), [e.schema.$id]), A = () => {
2006
- let k = ed(e.schema);
2007
- Yo(c) && !Yo(k) && o(k, "init"), e.schema.const && o(e.schema.const, "init");
2008
- }, M = () => {
2009
- O(r(c));
2010
- }, F = e.schema.const, I = e.schema.hidden || F;
2011
- (0, le.useEffect)(M, [e.model, e.submitted]), (0, le.useEffect)(A, [e.schema]), (0, le.useEffect)(() => {
2012
- var U;
2013
- let k = (U = e.model) != null ? U : null;
2014
- k !== c && d(k);
2078
+ m(ne), ne !== u && e.onChange({ model: ne, triggerSchema: e.schema, triggerModel: ne, lastTriggerModel: u, type: z });
2079
+ }, n = (k) => Me(k, e.schema), a = () => d(true), s = () => {
2080
+ d(false), g(true), e.onBlur && e.onBlur();
2081
+ }, [c, p] = (0, le.useState)(($ = e.model) != null ? $ : null), [u, m] = (0, le.useState)((O = e.model) != null ? O : null), [h, f] = (0, le.useState)(false), [l, d] = (0, le.useState)(false), [y, g] = (0, le.useState)(false), [b, x] = (0, le.useState)([]), C = (0, le.useMemo)(() => e.schema.$id || Oe(), [e.schema.$id]), v = () => {
2082
+ let k = Pd(e.schema);
2083
+ un(c) && !un(k) && o(k, "init"), e.schema.const && o(e.schema.const, "init");
2084
+ }, P = () => {
2085
+ x(r(c));
2086
+ }, w = e.schema.const, I = e.schema.hidden || w;
2087
+ (0, le.useEffect)(P, [e.model, e.submitted]), (0, le.useEffect)(v, [e.schema]), (0, le.useEffect)(() => {
2088
+ var z;
2089
+ let k = (z = e.model) != null ? z : null;
2090
+ k !== c && p(k);
2015
2091
  }, [e.model]);
2016
- let N = { "form-group": true, "has-error": (e.submitted || !g) && !!e.errors || (e.submitted || g && f) && !!b.length, "has-info": l && !!e.schema.description || !!e.infoMessage }, v = e.schema.format !== "file" && e.schema.type !== "boolean", L = e.schema.help;
2017
- return I ? null : (0, ce.jsxs)(ce.Fragment, { children: [e.schema.alert && (0, ce.jsx)(ie, { component: e.schema.alert }), (0, ce.jsxs)("div", { className: (0, rs.default)(N), children: [v && (0, ce.jsxs)("div", { className: "d-inline-block", children: [(0, ce.jsx)("label", { className: "control-label d-inline", htmlFor: C, children: e.schema.title }), !!L && (0, ce.jsx)(Ft, { help: L })] }), !v && !!L && (0, ce.jsx)(Ft, { help: L }), (0, ce.jsx)(Gt, { id: C, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: a, onBlur: s }), (0, ce.jsx)(Te, { changed: g, focused: l, blurred: f, submitted: e.submitted, errors: (j = e.errors) != null ? j : null, schema: e.schema, validations: b, infoMessage: e.infoMessage })] })] });
2018
- };
2019
- os.defaultProps = { required: false, disabled: false, onBlur: null };
2020
- var lt = os;
2021
- var ss = require("react/jsx-runtime");
2022
- var Eo = (e, t) => t[e];
2023
- var as = (e, t) => {
2092
+ 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;
2093
+ return I ? null : (0, ce.jsxs)(ce.Fragment, { children: [e.schema.alert && (0, ce.jsx)(ie, { component: e.schema.alert }), (0, ce.jsxs)("div", { className: (0, Cs.default)(N), children: [A && (0, ce.jsxs)("div", { className: "d-inline-block", children: [(0, ce.jsx)("label", { className: "control-label d-inline", htmlFor: C, children: e.schema.title }), !!L && (0, ce.jsx)(xt, { help: L })] }), !A && !!L && (0, ce.jsx)(xt, { help: L }), (0, ce.jsx)(Xt, { id: C, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: a, onBlur: s }), (0, ce.jsx)(Ne, { changed: h, focused: l, blurred: y, submitted: e.submitted, errors: (j = e.errors) != null ? j : null, schema: e.schema, validations: b, infoMessage: e.infoMessage })] })] });
2094
+ };
2095
+ xs.defaultProps = { required: false, disabled: false, onBlur: null };
2096
+ var st = xs;
2097
+ var As = require("react/jsx-runtime");
2098
+ var qo = (e, t) => t[e];
2099
+ var vs = (e, t) => {
2024
2100
  var r;
2025
2101
  return (r = t.validation) == null ? void 0 : r[e];
2026
2102
  };
2027
- var td = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
2028
- var is = (e) => {
2029
- let { schema: t, required: r, submitted: o, errors: n, onChange: a, onPersistAsync: s } = e, c = (0, ns.useIntl)(), d = oe(), p = Q(), [u, g] = (0, mt.useState)(null), y = ls(u), [l, m] = (0, mt.useState)(null), [f, h] = (0, mt.useState)(false), [b, O] = (0, mt.useState)(null);
2030
- (0, mt.useEffect)(() => {
2031
- td.has(Po(t.persistAsync.schema)) && F();
2032
- }, [u]);
2033
- let C = () => m(c.formatMessage(Ht.genericError)), A = async (v, L) => {
2034
- let q = M(), x = { [L.param]: v };
2035
- h(true);
2103
+ var Ad = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
2104
+ var Ps = (e) => {
2105
+ let { schema: t, required: r, submitted: o, errors: n, onChange: a, onPersistAsync: s } = e, c = (0, Os.useIntl)(), p = ee(), u = Z(), [m, h] = (0, dt.useState)(null), f = Ms(m), [l, d] = (0, dt.useState)(null), [y, g] = (0, dt.useState)(false), [b, x] = (0, dt.useState)(null);
2106
+ (0, dt.useEffect)(() => {
2107
+ Ad.has(Vo(t.persistAsync.schema)) && w();
2108
+ }, [m]);
2109
+ let C = () => d(c.formatMessage(Gt.genericError)), v = async (A, L) => {
2110
+ let $ = P(), O = { [L.param]: A };
2111
+ g(true);
2036
2112
  try {
2037
- p("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t.$id });
2038
- let j = d(L.url, { method: L.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(x), signal: q });
2113
+ u("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t.$id });
2114
+ let j = p(L.url, { method: L.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(O), signal: $ });
2039
2115
  s(j);
2040
- let k = await j, U = await k.json();
2041
- if (!R(U))
2116
+ let k = await j, z = await k.json();
2117
+ if (!T(z))
2042
2118
  throw new Error("Response is not an object");
2043
2119
  let { idProperty: Fe, param: ne } = t.persistAsync;
2044
- if (kn(k.status)) {
2045
- let te = Eo(Fe, U);
2046
- a({ model: te, triggerSchema: t, triggerModel: te });
2047
- } else if (mr(k.status)) {
2048
- let { validation: te } = U, me = R(te) && (te == null ? void 0 : te[ne]) || null;
2049
- m(me), a({ model: null, triggerSchema: t, triggerModel: null });
2120
+ if (Hn(k.status)) {
2121
+ let re = qo(Fe, z);
2122
+ a({ model: re, triggerSchema: t, triggerModel: re });
2123
+ } else if (gr(k.status)) {
2124
+ let { validation: re } = z, me = T(re) && (re == null ? void 0 : re[ne]) || null;
2125
+ d(me), a({ model: null, triggerSchema: t, triggerModel: null });
2050
2126
  } else
2051
2127
  C();
2052
- p("Dynamic Flow - PersistAsync", { status: "success", schemaId: t.$id });
2128
+ u("Dynamic Flow - PersistAsync", { status: "success", schemaId: t.$id });
2053
2129
  } catch (j) {
2054
- p("Dynamic Flow - PersistAsync", { status: "failure", schemaId: t.$id }), C();
2130
+ u("Dynamic Flow - PersistAsync", { status: "failure", schemaId: t.$id }), C();
2055
2131
  }
2056
- }, M = () => {
2132
+ }, P = () => {
2057
2133
  b && b.abort();
2058
- let v = new AbortController();
2059
- return O(v), v.signal;
2060
- }, F = () => {
2061
- !P(u) && !Ge(u, y) && A(u, t.persistAsync);
2134
+ let A = new AbortController();
2135
+ return x(A), A.signal;
2136
+ }, w = () => {
2137
+ !M(m) && !Ge(m, f) && v(m, t.persistAsync);
2062
2138
  }, I = () => {
2063
- F();
2064
- }, N = ({ model: v }) => {
2065
- m(null), G(v, t.persistAsync.schema) && g(v);
2139
+ w();
2140
+ }, N = ({ model: A }) => {
2141
+ d(null), G(A, t.persistAsync.schema) && h(A);
2066
2142
  };
2067
- return (0, ss.jsx)(lt, { required: r, submitted: o || f, schema: t.persistAsync.schema, errors: l || n, model: null, infoMessage: null, onChange: N, onBlur: I });
2068
- };
2069
- is.defaultProps = { required: false };
2070
- var Mo = is;
2071
- var Ga = (e) => {
2072
- let [t, r] = (0, cs.useState)(null), o = oe(), n = (0, ms.useIntl)(), { schema: a } = e;
2073
- async function s(y) {
2074
- let l = y instanceof Blob ? !bt(a) : !G(y, a);
2075
- return (P(y) || l) && g(), await p(y);
2143
+ return (0, As.jsx)(st, { required: r, submitted: o || y, schema: t.persistAsync.schema, errors: l || n, model: null, infoMessage: null, onChange: N, onBlur: I });
2144
+ };
2145
+ Ps.defaultProps = { required: false };
2146
+ var zo = Ps;
2147
+ var mi = (e) => {
2148
+ let [t, r] = (0, ks.useState)(null), o = ee(), n = (0, Es.useIntl)(), { schema: a } = e;
2149
+ async function s(f) {
2150
+ let l = f instanceof Blob ? !bt(a) : !G(f, a);
2151
+ return (M(f) || l) && h(), await u(f);
2076
2152
  }
2077
2153
  let c = () => {
2078
2154
  t && t.abort();
2079
- let y = new AbortController();
2080
- return r(y), y.signal;
2155
+ let f = new AbortController();
2156
+ return r(f), f.signal;
2081
2157
  };
2082
- function d(y) {
2083
- let l = bt(a), m = c(), f = e.param, h = l ? rd(f, y) : JSON.stringify({ [f]: y });
2084
- return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: h, signal: m };
2158
+ function p(f) {
2159
+ let l = bt(a), d = c(), y = e.param, g = l ? Md(y, f) : JSON.stringify({ [y]: f });
2160
+ return { method: e.method, headers: i({}, !l && { "Content-Type": "application/json" }), body: g, signal: d };
2085
2161
  }
2086
- async function p(y) {
2162
+ async function u(f) {
2087
2163
  try {
2088
- let l = await o(e.url, d(y));
2164
+ let l = await o(e.url, p(f));
2089
2165
  if (!l.ok)
2090
- return u(l);
2091
- let m = await l.json();
2092
- if (R(m)) {
2093
- let f = m[e.idProperty];
2094
- if (D(f) || T(f))
2095
- return { data: f };
2166
+ return m(l);
2167
+ let d = await l.json();
2168
+ if (T(d)) {
2169
+ let y = d[e.idProperty];
2170
+ if (D(y) || R(y))
2171
+ return { data: y };
2096
2172
  }
2097
- return g();
2173
+ return h();
2098
2174
  } catch (l) {
2099
- return g(l);
2175
+ return h(l);
2100
2176
  }
2101
2177
  }
2102
- async function u(y) {
2103
- if (y.status === 422) {
2104
- let l = await y.json();
2105
- if (R(l)) {
2106
- let m = as(e.param, l);
2107
- if (D(m))
2108
- throw new Error(m);
2178
+ async function m(f) {
2179
+ if (f.status === 422) {
2180
+ let l = await f.json();
2181
+ if (T(l)) {
2182
+ let d = vs(e.param, l);
2183
+ if (D(d))
2184
+ throw new Error(d);
2109
2185
  }
2110
2186
  }
2111
- throw new Error(n.formatMessage(Ht.genericError));
2187
+ throw new Error(n.formatMessage(Gt.genericError));
2112
2188
  }
2113
- let g = (y) => {
2114
- let l = od(y) ? y.message : n.formatMessage(Ht.genericError);
2189
+ let h = (f) => {
2190
+ let l = kd(f) ? f.message : n.formatMessage(Gt.genericError);
2115
2191
  throw new Error(l);
2116
2192
  };
2117
2193
  return s;
2118
2194
  };
2119
- function rd(e, t) {
2195
+ function Md(e, t) {
2120
2196
  let r = new FormData();
2121
2197
  return t !== null && r.append(e, t), r;
2122
2198
  }
2123
- function od(e) {
2124
- return R(e) && "message" in e && typeof e.message == "string";
2199
+ function kd(e) {
2200
+ return T(e) && "message" in e && typeof e.message == "string";
2125
2201
  }
2126
- var Ye = require("react");
2127
- function Fr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: n, onFailure: a }) {
2128
- let s = (0, Ye.useRef)(n), c = (0, Ye.useRef)(a), d = (0, Ye.useMemo)(() => nd(e, r, o, (p) => s.current(p), () => c.current()), [e, r, o]);
2129
- (0, Ye.useEffect)(() => {
2202
+ var Xe = require("react");
2203
+ function Mr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: n, onFailure: a }) {
2204
+ let s = (0, Xe.useRef)(n), c = (0, Xe.useRef)(a), p = (0, Xe.useMemo)(() => Ed(e, r, o, (u) => s.current(u), () => c.current()), [e, r, o]);
2205
+ (0, Xe.useEffect)(() => {
2130
2206
  if (t > 0) {
2131
- let p = setInterval(() => {
2132
- d();
2207
+ let u = setInterval(() => {
2208
+ p();
2133
2209
  }, t);
2134
- return () => clearInterval(p);
2210
+ return () => clearInterval(u);
2135
2211
  }
2136
- }, [d, t]), (0, Ye.useEffect)(() => {
2212
+ }, [p, t]), (0, Xe.useEffect)(() => {
2137
2213
  s.current = n, c.current = a;
2138
2214
  }, [n, a]);
2139
2215
  }
2140
- function nd(e, t, r, o, n) {
2216
+ function Ed(e, t, r, o, n) {
2141
2217
  let a = true, s = 0, c = 0;
2142
2218
  return e ? () => {
2143
- a && (c++, e().then((d) => {
2144
- s = 0, a = o(d);
2219
+ a && (c++, e().then((p) => {
2220
+ s = 0, a = o(p);
2145
2221
  }).catch(() => {
2146
2222
  s++;
2147
2223
  }).finally(() => {
@@ -2150,65 +2226,65 @@ var require_main_min = __commonJS({
2150
2226
  } : () => {
2151
2227
  };
2152
2228
  }
2153
- var Nr = require("react");
2154
- var ls = (e) => {
2155
- let t = (0, Nr.useRef)();
2156
- return (0, Nr.useEffect)(() => {
2229
+ var _r = require("react");
2230
+ var Ms = (e) => {
2231
+ let t = (0, _r.useRef)();
2232
+ return (0, _r.useEffect)(() => {
2157
2233
  t.current = e;
2158
2234
  }, [e]), t.current;
2159
2235
  };
2160
- var Yt = require("react");
2161
- function ds(e, t) {
2162
- let r = oe(), o = (0, Yt.useMemo)(() => {
2236
+ var nr = require("react");
2237
+ function Ds(e, t) {
2238
+ let r = ee(), o = (0, nr.useMemo)(() => {
2163
2239
  if (e)
2164
2240
  return () => r(e.url).then((a) => {
2165
2241
  if (a.ok)
2166
2242
  return a.json().then((s) => s).catch((s) => null);
2167
2243
  throw new Error("failed");
2168
2244
  });
2169
- }, [e, r]), n = (0, Yt.useCallback)((a) => a != null && a.action ? (t(a.action), false) : true, [t]);
2170
- Fr({ 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, Yt.useCallback)(() => {
2245
+ }, [e, r]), n = (0, nr.useCallback)((a) => a != null && a.action ? (t(a.action), false) : true, [t]);
2246
+ Mr({ 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, nr.useCallback)(() => {
2171
2247
  e && t(e.onError.action);
2172
2248
  }, [t, e]) });
2173
2249
  }
2174
- var us = require("react/jsx-runtime");
2175
- var ad = (e, t) => {
2250
+ var Is = require("react/jsx-runtime");
2251
+ var Dd = (e, t) => {
2176
2252
  var o;
2177
- if (yt(e))
2253
+ if (ht(e))
2178
2254
  return [];
2179
- let r = Lt(e, t);
2180
- return He({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2255
+ let r = Rt(e, t);
2256
+ return ze({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
2181
2257
  };
2182
- var id = (e) => {
2183
- let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: n, formErrors: a, onModelChange: s } = e, c = ad(t, r), { loading: d, registerPersistAsyncPromise: p } = lr(), u = Q(), g = d ? () => {
2184
- u("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
2258
+ var Id = (e) => {
2259
+ let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: n, formErrors: a, onModelChange: s } = e, c = Dd(t, r), { loading: p, registerPersistAsyncPromise: u } = yr(), m = Z(), h = p ? () => {
2260
+ m("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
2185
2261
  } : e.onAction;
2186
- return ds(t.polling, g), (0, us.jsx)(se, { components: c, submitted: o, model: n, errors: a, onAction: g, onModelChange: s, onPersistAsync: p });
2262
+ return Ds(t.polling, h), (0, Is.jsx)(se, { components: c, submitted: o, model: n, errors: a, onAction: h, onModelChange: s, onPersistAsync: u });
2187
2263
  };
2188
- var Tr = id;
2189
- var Ur = require("react");
2264
+ var Kr = Id;
2265
+ var Zr = require("react");
2190
2266
  var Se = require("react");
2191
- var Ts = require("react-intl");
2192
- var Rs = ze(ps());
2193
- var fs = require("react-intl");
2194
- var Qt = (0, fs.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" } });
2267
+ var tl = require("react-intl");
2268
+ var rl = Ue(Ls());
2269
+ var Ns = require("react-intl");
2270
+ var ir = (0, Ns.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" } });
2195
2271
  var be = require("@transferwise/components");
2196
- var ys = require("react-intl");
2272
+ var Ts = require("react-intl");
2197
2273
  var ge = require("react/jsx-runtime");
2198
- var hs = ({ onCapture: e }) => (0, ge.jsx)("div", { className: "bottom-bar", children: (0, ge.jsx)(sd, { onClick: e }) });
2199
- var gs = ({ onSubmit: e, onRetry: t }) => {
2200
- let r = (0, ys.useIntl)();
2201
- return (0, ge.jsx)("div", { className: "bottom-bar p-x-2", children: (0, ge.jsx)("div", { className: "row", children: (0, ge.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, ge.jsx)(be.Button, { className: "m-b-1", block: true, size: be.Size.MEDIUM, type: be.ControlType.ACCENT, onClick: e, children: r.formatMessage(Qt.reviewSubmit) }), (0, ge.jsx)(be.Button, { className: "m-b-2", block: true, size: be.Size.MEDIUM, type: be.ControlType.ACCENT, priority: be.Priority.SECONDARY, onClick: t, children: r.formatMessage(Qt.reviewRetry) })] }) }) });
2202
- };
2203
- var sd = ({ onClick: e }) => (0, ge.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, ge.jsx)("span", { className: "camera-capture-btn-inner" }) });
2204
- var Br = require("react");
2205
- var bs = (e) => {
2274
+ var Rs = ({ onCapture: e }) => (0, ge.jsx)("div", { className: "bottom-bar", children: (0, ge.jsx)(Ld, { onClick: e }) });
2275
+ var Bs = ({ onSubmit: e, onRetry: t }) => {
2276
+ let r = (0, Ts.useIntl)();
2277
+ return (0, ge.jsx)("div", { className: "bottom-bar p-x-2", children: (0, ge.jsx)("div", { className: "row", children: (0, ge.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, ge.jsx)(be.Button, { className: "m-b-1", block: true, size: be.Size.MEDIUM, type: be.ControlType.ACCENT, onClick: e, children: r.formatMessage(ir.reviewSubmit) }), (0, ge.jsx)(be.Button, { className: "m-b-2", block: true, size: be.Size.MEDIUM, type: be.ControlType.ACCENT, priority: be.Priority.SECONDARY, onClick: t, children: r.formatMessage(ir.reviewRetry) })] }) }) });
2278
+ };
2279
+ var Ld = ({ onClick: e }) => (0, ge.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, ge.jsx)("span", { className: "camera-capture-btn-inner" }) });
2280
+ var Xr = require("react");
2281
+ var js = (e) => {
2206
2282
  var r;
2207
- let { facingMode: t } = ((r = Rr(e)) == null ? void 0 : r.getSettings()) || {};
2283
+ let { facingMode: t } = ((r = Jr(e)) == null ? void 0 : r.getSettings()) || {};
2208
2284
  return t === "user" || t === void 0;
2209
2285
  };
2210
- var Ss = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2211
- var ws = async (e) => {
2286
+ var Vs = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
2287
+ var Us = async (e) => {
2212
2288
  let t = document.createElement("canvas");
2213
2289
  if (e) {
2214
2290
  t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
@@ -2217,35 +2293,35 @@ var require_main_min = __commonJS({
2217
2293
  }
2218
2294
  return t;
2219
2295
  };
2220
- var Fs = async () => {
2296
+ var zs = async () => {
2221
2297
  var e, t;
2222
2298
  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");
2223
2299
  };
2224
- var Cs = async () => {
2300
+ var Hs = async () => {
2225
2301
  var e, t;
2226
2302
  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);
2227
2303
  };
2228
- var xs = async (e) => {
2304
+ var qs = async (e) => {
2229
2305
  var r, o, n;
2230
- let t = Qo(e);
2306
+ let t = fn(e);
2231
2307
  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;
2232
2308
  };
2233
- var Rr = (e) => {
2309
+ var Jr = (e) => {
2234
2310
  var t;
2235
2311
  return (((t = e == null ? void 0 : e.getVideoTracks) == null ? void 0 : t.call(e)) || [])[0];
2236
2312
  };
2237
- var Qo = (e) => {
2313
+ var fn = (e) => {
2238
2314
  var t, r;
2239
- return (r = (t = Rr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2315
+ return (r = (t = Jr(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
2240
2316
  };
2241
- var Os = (e) => {
2242
- let [t, r] = (0, Br.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 };
2243
- (0, Br.useEffect)(() => {
2317
+ var $s = (e) => {
2318
+ let [t, r] = (0, Xr.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 };
2319
+ (0, Xr.useEffect)(() => {
2244
2320
  n(e).then(r);
2245
2321
  }, [e]);
2246
2322
  let n = async (a) => {
2247
2323
  if (a === "back") {
2248
- let s = (await Fs()).find(Ss);
2324
+ let s = (await zs()).find(Vs);
2249
2325
  if (s != null && s.deviceId)
2250
2326
  return S(i({}, o), { deviceId: { exact: s.deviceId } });
2251
2327
  }
@@ -2253,232 +2329,230 @@ var require_main_min = __commonJS({
2253
2329
  };
2254
2330
  return { videoConstraints: t };
2255
2331
  };
2256
- var jr = require("react");
2332
+ var Yr = require("react");
2257
2333
  var _ = require("react/jsx-runtime");
2258
- var ld = 92;
2259
- var vs = 120;
2260
- var cd = 40;
2261
- var md = 32;
2262
- var dd = 48;
2263
- var ud = 40;
2264
- var Ps = 800;
2265
- var pd = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: n, reviewInstructions: a }) => {
2266
- let s = (0, jr.useRef)(null);
2267
- (0, jr.useEffect)(() => {
2268
- let y = gt(() => {
2334
+ var Nd = 92;
2335
+ var Gs = 120;
2336
+ var Td = 40;
2337
+ var Rd = 32;
2338
+ var Bd = 48;
2339
+ var jd = 40;
2340
+ var Ws = 800;
2341
+ var Vd = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: n, reviewInstructions: a }) => {
2342
+ let s = (0, Yr.useRef)(null);
2343
+ (0, Yr.useEffect)(() => {
2344
+ let f = $e(() => {
2269
2345
  var l;
2270
2346
  if ((l = s.current) != null && l.innerHTML) {
2271
- let m = s.current;
2272
- m.innerHTML += "";
2347
+ let d = s.current;
2348
+ d.innerHTML += "";
2273
2349
  }
2274
2350
  }, 100);
2275
- return window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
2351
+ return window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
2276
2352
  });
2277
- let c = (r ? cd : 0) + (o ? md : 0) + (n ? dd : 0), d = (0, _.jsxs)(_.Fragment, { children: [r && (0, _.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, _.jsx)("h4", { className: "camera-capture-title", children: o }), n && (0, _.jsx)("small", { className: "camera-capture-instructions", children: n })] }), p = ld + c;
2353
+ let c = (r ? Td : 0) + (o ? Rd : 0) + (n ? Bd : 0), p = (0, _.jsxs)(_.Fragment, { children: [r && (0, _.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, _.jsx)("h4", { className: "camera-capture-title", children: o }), n && (0, _.jsx)("small", { className: "camera-capture-instructions", children: n })] }), u = Nd + c;
2278
2354
  if (a) {
2279
- c = p - vs, d = (0, _.jsx)("small", { className: "camera-capture-instructions", children: a });
2280
- let y = vs + ud;
2281
- p < y && (d = (0, _.jsx)(_.Fragment, {}));
2355
+ c = u - Gs, p = (0, _.jsx)("small", { className: "camera-capture-instructions", children: a });
2356
+ let f = Gs + jd;
2357
+ u < f && (p = (0, _.jsx)(_.Fragment, {}));
2282
2358
  }
2283
- let u = { x: "50%", y: "5%", width: `min(90%, ${Ps}px)`, height: `calc(90% - ${p}px)`, style: { transform: `translateX(max(-45%, -${Ps / 2}px))` } }, g = { style: { left: "5%", top: `calc(100% - ${p}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2284
- return (0, _.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, _.jsx)("defs", { children: (0, _.jsxs)("mask", { id: "mask", children: [(0, _.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, _.jsx)("image", i({ href: e }, u))] }) }), e && (0, _.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, _.jsx)("image", i({ href: t }, u)), (0, _.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, _.jsx)("div", S(i({ className: "camera-capture-text-and-image-container" }, g), { children: d })) })] });
2285
- };
2286
- var en = pd;
2287
- var Ms = require("@transferwise/components");
2288
- var ks = require("react-intl");
2289
- var As = require("react-intl");
2290
- var Vr = (0, As.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" } });
2291
- var Ve = require("react/jsx-runtime");
2292
- var fd = ({ onAction: e }) => {
2293
- let t = (0, ks.useIntl)();
2294
- return (0, Ve.jsx)("div", { id: "no-camera-access", children: (0, Ve.jsx)("div", { className: "container p-t-5", children: (0, Ve.jsx)("div", { className: "row", children: (0, Ve.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Ve.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(Vr.title) }), (0, Ve.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Vr.paragraph) }), (0, Ve.jsx)(Ms.Button, { block: true, onClick: e, children: t.formatMessage(Vr.action) })] }) }) }) });
2359
+ let m = { x: "50%", y: "5%", width: `min(90%, ${Ws}px)`, height: `calc(90% - ${u}px)`, style: { transform: `translateX(max(-45%, -${Ws / 2}px))` } }, h = { style: { left: "5%", top: `calc(100% - ${u}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
2360
+ return (0, _.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, _.jsx)("defs", { children: (0, _.jsxs)("mask", { id: "mask", children: [(0, _.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, _.jsx)("image", i({ href: e }, m))] }) }), e && (0, _.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, _.jsx)("image", i({ href: t }, m)), (0, _.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, _.jsx)("div", S(i({ className: "camera-capture-text-and-image-container" }, h), { children: p })) })] });
2361
+ };
2362
+ var yn = Vd;
2363
+ var Ks = require("@transferwise/components");
2364
+ var Js = require("react-intl");
2365
+ var _s = require("react-intl");
2366
+ var Qr = (0, _s.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" } });
2367
+ var je = require("react/jsx-runtime");
2368
+ var Ud = ({ onAction: e }) => {
2369
+ let t = (0, Js.useIntl)();
2370
+ return (0, je.jsx)("div", { id: "no-camera-access", children: (0, je.jsx)("div", { className: "container p-t-5", children: (0, je.jsx)("div", { className: "row", children: (0, je.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, je.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(Qr.title) }), (0, je.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(Qr.paragraph) }), (0, je.jsx)(Ks.Button, { block: true, onClick: e, children: t.formatMessage(Qr.action) })] }) }) }) });
2295
2371
  };
2296
- var tn = fd;
2297
- var Ds = require("react-intl");
2298
- var Es = require("react-intl");
2299
- var rn = (0, Es.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" } });
2300
- var Ze = require("react/jsx-runtime");
2301
- var yd = () => {
2302
- let e = (0, Ds.useIntl)();
2303
- return (0, Ze.jsx)("div", { id: "camera-not-supported", 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: e.formatMessage(rn.title) }), (0, Ze.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(rn.paragraph) })] }) }) }) });
2304
- };
2305
- var on = yd;
2306
- var Is = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2307
- var Ls = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await hd(t, r));
2308
- var Ns = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2309
- var hd = async (e, t) => {
2372
+ var hn = Ud;
2373
+ var Ys = require("react-intl");
2374
+ var Xs = require("react-intl");
2375
+ var gn = (0, Xs.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" } });
2376
+ var Ye = require("react/jsx-runtime");
2377
+ var zd = () => {
2378
+ let e = (0, Ys.useIntl)();
2379
+ return (0, Ye.jsx)("div", { id: "camera-not-supported", children: (0, Ye.jsx)("div", { className: "container p-t-5", children: (0, Ye.jsx)("div", { className: "row", children: (0, Ye.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, Ye.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(gn.title) }), (0, Ye.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(gn.paragraph) })] }) }) }) });
2380
+ };
2381
+ var bn = zd;
2382
+ var Qs = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
2383
+ var Zs = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await Hd(t, r));
2384
+ var el = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
2385
+ var Hd = async (e, t) => {
2310
2386
  var a;
2311
- let r = Rr(t), o = Qo(t), n = (a = r == null ? void 0 : r.getSettings) == null ? void 0 : a.call(r);
2312
- return S(i({}, r && { "Available Video Devices (by label)": await Cs(), "Active Video Device (by label)": await xs(t), "Camera Capabilities": o, "Camera Settings": n }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2313
- };
2314
- var ee = require("react/jsx-runtime");
2315
- var gd = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: n = "", instructions: a = "", showReview: s = false, onCapture: c, onEvent: d }) => {
2316
- let [p, u] = (0, Se.useState)("CAPTURE"), [g, y] = (0, Se.useState)(false), [l, m] = (0, Se.useState)(false), [f, h] = (0, Se.useState)(), b = (0, Se.useRef)(null), { videoConstraints: O } = Os(e), C = (0, Ts.useIntl)(), A = (0, Se.useCallback)(async () => {
2317
- var x, j, k, U, Fe, ne;
2318
- if ((x = b == null ? void 0 : b.current) != null && x.video && ((k = (j = b == null ? void 0 : b.current) == null ? void 0 : j.video) == null ? void 0 : k.readyState) >= 3) {
2319
- (Fe = (U = b == null ? void 0 : b.current) == null ? void 0 : U.video) == null || Fe.pause();
2320
- let te = await ws((ne = b == null ? void 0 : b.current) == null ? void 0 : ne.video);
2321
- te == null || te.toBlob((me) => {
2387
+ let r = Jr(t), o = fn(t), n = (a = r == null ? void 0 : r.getSettings) == null ? void 0 : a.call(r);
2388
+ return S(i({}, r && { "Available Video Devices (by label)": await Hs(), "Active Video Device (by label)": await qs(t), "Camera Capabilities": o, "Camera Settings": n }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
2389
+ };
2390
+ var te = require("react/jsx-runtime");
2391
+ var qd = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: n = "", instructions: a = "", showReview: s = false, onCapture: c, onEvent: p }) => {
2392
+ let [u, m] = (0, Se.useState)("CAPTURE"), [h, f] = (0, Se.useState)(false), [l, d] = (0, Se.useState)(false), [y, g] = (0, Se.useState)(), b = (0, Se.useRef)(null), { videoConstraints: x } = $s(e), C = (0, tl.useIntl)(), v = (0, Se.useCallback)(async () => {
2393
+ var O, j, k, z, Fe, ne;
2394
+ 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) {
2395
+ (Fe = (z = b == null ? void 0 : b.current) == null ? void 0 : z.video) == null || Fe.pause();
2396
+ let re = await Us((ne = b == null ? void 0 : b.current) == null ? void 0 : ne.video);
2397
+ re == null || re.toBlob((me) => {
2322
2398
  if (me)
2323
2399
  if (s) {
2324
- let rr = window.URL.createObjectURL(me);
2325
- h({ source: rr, blob: me }), u("REVIEW");
2400
+ let cr = window.URL.createObjectURL(me);
2401
+ g({ source: cr, blob: me }), m("REVIEW");
2326
2402
  } else
2327
2403
  c(me);
2328
2404
  }, "image/jpeg", 0.92);
2329
2405
  }
2330
- }, [b, s, h, u, c, g]), M = (0, Se.useCallback)((x) => {
2331
- if (x instanceof DOMException && (x == null ? void 0 : x.name) === "NotAllowedError") {
2332
- u("NO_CAMERA_ACCESS"), Is(d);
2406
+ }, [b, s, g, m, c, h]), P = (0, Se.useCallback)((O) => {
2407
+ if (O instanceof DOMException && (O == null ? void 0 : O.name) === "NotAllowedError") {
2408
+ m("NO_CAMERA_ACCESS"), Qs(p);
2333
2409
  return;
2334
2410
  }
2335
- u("CAMERA_NOT_SUPPORTED"), Ns(d, x);
2336
- }, [u, d]), F = (0, Se.useCallback)((x) => {
2337
- m(true), y(bs(x)), Ls(d, { direction: e }, x);
2338
- }, [y, d, e]), I = () => {
2339
- c((f == null ? void 0 : f.blob) || null);
2411
+ m("CAMERA_NOT_SUPPORTED"), el(p, O);
2412
+ }, [m, p]), w = (0, Se.useCallback)((O) => {
2413
+ d(true), f(js(O)), Zs(p, { direction: e }, O);
2414
+ }, [f, p, e]), I = () => {
2415
+ c((y == null ? void 0 : y.blob) || null);
2340
2416
  }, N = () => {
2341
- u("CAPTURE"), h(void 0);
2342
- }, v = () => u("CAPTURE"), L = (0, ee.jsxs)(ee.Fragment, { children: [O && (0, ee.jsx)(Rs.default, { ref: b, audio: false, videoConstraints: O, mirrored: g, onUserMediaError: M, onUserMedia: F }), (0, ee.jsx)(en, { overlay: t, outline: r, imageUrl: o, title: n, instructions: a }), l && (0, ee.jsx)(hs, { onCapture: () => void A() })] }), q = (0, ee.jsxs)(ee.Fragment, { children: [(0, ee.jsx)("img", { className: "review-image", src: f == null ? void 0 : f.source, alt: "" }), (0, ee.jsx)(en, { overlay: t, imageUrl: o, title: n, instructions: a, reviewInstructions: C.formatMessage(Qt.reviewInstructions) }), (0, ee.jsx)(gs, { onSubmit: I, onRetry: N })] });
2343
- return (0, ee.jsxs)("section", { className: "camera-capture", children: [p === "CAPTURE" && L, p === "REVIEW" && q, p === "NO_CAMERA_ACCESS" && (0, ee.jsx)(tn, { onAction: v }), p === "CAMERA_NOT_SUPPORTED" && (0, ee.jsx)(on, {})] });
2417
+ m("CAPTURE"), g(void 0);
2418
+ }, A = () => m("CAPTURE"), L = (0, te.jsxs)(te.Fragment, { children: [x && (0, te.jsx)(rl.default, { ref: b, audio: false, videoConstraints: x, mirrored: h, onUserMediaError: P, onUserMedia: w }), (0, te.jsx)(yn, { overlay: t, outline: r, imageUrl: o, title: n, instructions: a }), l && (0, te.jsx)(Rs, { onCapture: () => void v() })] }), $ = (0, te.jsxs)(te.Fragment, { children: [(0, te.jsx)("img", { className: "review-image", src: y == null ? void 0 : y.source, alt: "" }), (0, te.jsx)(yn, { overlay: t, imageUrl: o, title: n, instructions: a, reviewInstructions: C.formatMessage(ir.reviewInstructions) }), (0, te.jsx)(Bs, { onSubmit: I, onRetry: N })] });
2419
+ return (0, te.jsxs)("section", { className: "camera-capture", children: [u === "CAPTURE" && L, u === "REVIEW" && $, u === "NO_CAMERA_ACCESS" && (0, te.jsx)(hn, { onAction: A }), u === "CAMERA_NOT_SUPPORTED" && (0, te.jsx)(bn, {})] });
2344
2420
  };
2345
- var nn = gd;
2346
- var js = require("react/jsx-runtime");
2347
- function bd(e) {
2421
+ var Sn = qd;
2422
+ var nl = require("react/jsx-runtime");
2423
+ function $d(e) {
2348
2424
  return new Promise((t, r) => {
2349
2425
  let o = new FileReader();
2350
2426
  o.onloadend = () => t(o.result), o.readAsDataURL(e);
2351
2427
  });
2352
2428
  }
2353
- var Sd = (e) => {
2354
- let { step: t, model: r, onModelChange: o, onAction: n } = e, a = Q(), s = Bs(t), c = wd(t), d = Fd(t), { title: p, image: u, cameraConfig: g } = c, { assets: y, direction: l, instructions: m } = g || {}, { overlay: f, outline: h } = y || {}, { url: b } = u || {}, [O, C] = (0, Ur.useState)(false);
2355
- (0, Ur.useEffect)(() => {
2356
- O && n(d);
2429
+ var Gd = (e) => {
2430
+ let { step: t, model: r, onModelChange: o, onAction: n } = e, a = Z(), s = ol(t), c = Wd(t), p = _d(t), { title: u, image: m, cameraConfig: h } = c, { assets: f, direction: l, instructions: d } = h || {}, { overlay: y, outline: g } = f || {}, { url: b } = m || {}, [x, C] = (0, Zr.useState)(false);
2431
+ (0, Zr.useEffect)(() => {
2432
+ x && n(p);
2357
2433
  }, [r]);
2358
- let A = async (M) => {
2359
- let { $id: F } = c;
2360
- if (M) {
2361
- let I = await bd(M), N = { [F || ""]: I };
2434
+ let v = async (P) => {
2435
+ let { $id: w } = c;
2436
+ if (P) {
2437
+ let I = await $d(P), N = { [w || ""]: I };
2362
2438
  C(true), o({ model: N, formSchema: s, triggerModel: I, triggerSchema: c });
2363
2439
  }
2364
2440
  };
2365
- return (0, js.jsx)(nn, { overlay: f, outline: h, title: p, imageUrl: b, instructions: m, direction: l, onEvent: a, onCapture: (M) => {
2366
- A(M);
2441
+ return (0, nl.jsx)(Sn, { overlay: y, outline: g, title: u, imageUrl: b, instructions: d, direction: l, onEvent: a, onCapture: (P) => {
2442
+ v(P);
2367
2443
  } });
2368
2444
  };
2369
- var zr = Sd;
2370
- function Bs(e) {
2371
- let r = wr(e.schemas || [])[0];
2445
+ var eo = Gd;
2446
+ function ol(e) {
2447
+ let r = Ar(e.schemas || [])[0];
2372
2448
  if (!r || !xe(r))
2373
2449
  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...");
2374
2450
  return r;
2375
2451
  }
2376
- function wd(e) {
2377
- let t = Bs(e), r = Object.values(t.properties)[0];
2452
+ function Wd(e) {
2453
+ let t = ol(e), r = Object.values(t.properties)[0];
2378
2454
  if (!r)
2379
2455
  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...");
2380
2456
  return r;
2381
2457
  }
2382
- function Fd(e) {
2458
+ function _d(e) {
2383
2459
  var t, r;
2384
- if (!e.schemas || ((t = wr(e.schemas)) == null ? void 0 : t.length) !== 1)
2460
+ if (!e.schemas || ((t = Ar(e.schemas)) == null ? void 0 : t.length) !== 1)
2385
2461
  throw new Error("camera step expects 1 non-hidden object schema");
2386
2462
  if (((r = e == null ? void 0 : e.actions) == null ? void 0 : r.length) !== 1)
2387
2463
  throw new Error("camera step expects 1 action");
2388
2464
  return e.actions[0];
2389
2465
  }
2390
- var zs = require("react-intl");
2391
- var Vs = require("react-intl");
2392
- var er = (0, Vs.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." } });
2393
- var Hs = require("react/jsx-runtime");
2394
- var Us = () => {
2466
+ var sl = require("react-intl");
2467
+ var al = require("react-intl");
2468
+ var sr = (0, al.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." } });
2469
+ var ll = require("react/jsx-runtime");
2470
+ var il = () => {
2395
2471
  };
2396
- var Cd = ({ url: e, onClose: t }) => {
2397
- let { formatMessage: r } = (0, zs.useIntl)();
2398
- return (0, Hs.jsx)(se, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(er.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(er.description, { origin: xd(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(er.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(er.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2472
+ var Kd = ({ url: e, onClose: t }) => {
2473
+ let { formatMessage: r } = (0, sl.useIntl)();
2474
+ return (0, ll.jsx)(se, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(sr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(sr.description, { origin: Jd(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(sr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(sr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
2399
2475
  o.url && window.open(o.url, "_blank"), t();
2400
- }, onModelChange: Us, onPersistAsync: Us });
2476
+ }, onModelChange: il, onPersistAsync: il });
2401
2477
  };
2402
- var Hr = Cd;
2403
- function xd(e) {
2478
+ var to = Kd;
2479
+ function Jd(e) {
2404
2480
  try {
2405
2481
  return new URL(e).origin;
2406
2482
  } catch (t) {
2407
2483
  return e;
2408
2484
  }
2409
2485
  }
2410
- var Ue = require("react/jsx-runtime");
2411
- var qs = (e) => {
2486
+ var Ve = require("react/jsx-runtime");
2487
+ var cl = (e) => {
2412
2488
  var s;
2413
- let { step: t, globalError: r } = e, o = (s = t == null ? void 0 : t.external) == null ? void 0 : s.url, { requiresManualTrigger: n, dismissConfirmation: a } = ca(o);
2414
- return t === void 0 ? null : o && n ? (0, Ue.jsx)(Hr, { url: o, onClose: a }) : na(t) ? (0, Ue.jsx)(zr, S(i({}, e), { step: t })) : (0, Ue.jsxs)(Ue.Fragment, { children: [r ? (0, Ue.jsx)(ie, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Ue.jsx)(Tr, S(i({}, e), { stepSpecification: t }))] });
2489
+ let { step: t, globalError: r } = e, o = (s = t == null ? void 0 : t.external) == null ? void 0 : s.url, { requiresManualTrigger: n, dismissConfirmation: a } = Ca(o);
2490
+ return t === void 0 ? null : o && n ? (0, Ve.jsx)(to, { url: o, onClose: a }) : ga(t) ? (0, Ve.jsx)(eo, S(i({}, e), { step: t })) : (0, Ve.jsxs)(Ve.Fragment, { children: [r ? (0, Ve.jsx)(ie, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Ve.jsx)(Kr, S(i({}, e), { stepSpecification: t }))] });
2415
2491
  };
2416
- var Ws = require("react");
2417
- var Od = 1e3;
2418
- function Gs(e) {
2419
- let t = (0, Ws.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2492
+ var ml = require("react");
2493
+ var Xd = 1e3;
2494
+ function dl(e) {
2495
+ let t = (0, ml.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
2420
2496
  if (t.current.has(o))
2421
2497
  return t.current.get(o);
2422
- let n = gt((a, s, c) => e(a, s, c), Od);
2498
+ let n = $e((a, s, c) => e(a, s, c), Xd);
2423
2499
  return t.current.set(o, n), n;
2424
2500
  };
2425
2501
  return function(o, n, a, s) {
2426
2502
  let c = r(o);
2427
- c(o, n, a), (!s || !vd(s)) && c.flush();
2503
+ c(o, n, a), (!s || !Yd(s)) && c.flush();
2428
2504
  };
2429
2505
  }
2430
- var vd = (e) => jt(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
2431
- var Et = require("react");
2432
- var _s = (e) => {
2433
- var l, m;
2434
- let [t, r] = (0, Et.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, n] = (0, Et.useState)((m = e == null ? void 0 : e.errors) == null ? void 0 : m.error), [a, s] = (0, Et.useState)({ step: e || void 0, models: e != null && e.model ? $s(e.model, an(e)) : {}, etag: void 0 }), { step: c, models: d, etag: p } = a, u = (f, h) => {
2435
- var b, O, C, A;
2436
- s((M) => ({ step: f, models: f.model ? $s(f.model, an(f)) : M.models, etag: h })), r((O = (b = f == null ? void 0 : f.errors) == null ? void 0 : b.validation) != null ? O : null), n((A = (C = f == null ? void 0 : f.errors) == null ? void 0 : C.error) != null ? A : null);
2437
- }, g = (f, h, b) => {
2438
- s((O) => {
2439
- let C = S(i({}, O.models), { [f]: h }), A = { step: O.step, models: C, etag: O.etag };
2440
- return b(C), A;
2506
+ var Yd = (e) => zt(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
2507
+ var Lt = require("react");
2508
+ var pl = (e) => {
2509
+ var l, d;
2510
+ let [t, r] = (0, Lt.useState)((l = e == null ? void 0 : e.errors) == null ? void 0 : l.validation), [o, n] = (0, Lt.useState)((d = e == null ? void 0 : e.errors) == null ? void 0 : d.error), [a, s] = (0, Lt.useState)({ step: e || void 0, models: e != null && e.model ? ul(e.model, wn(e)) : {}, etag: void 0 }), { step: c, models: p, etag: u } = a, m = (y, g) => {
2511
+ var b, x, C, v;
2512
+ s((P) => ({ step: y, models: y.model ? ul(y.model, wn(y)) : P.models, etag: g })), r((x = (b = y == null ? void 0 : y.errors) == null ? void 0 : b.validation) != null ? x : null), n((v = (C = y == null ? void 0 : y.errors) == null ? void 0 : C.error) != null ? v : null);
2513
+ }, h = (y, g, b) => {
2514
+ s((x) => {
2515
+ let C = S(i({}, x.models), { [y]: g }), v = { step: x.step, models: C, etag: x.etag };
2516
+ return b(C), v;
2441
2517
  });
2442
- }, y = (0, Et.useMemo)(() => Pd(d, an(c)), [d, c]);
2443
- return { formErrors: t, globalError: o, step: c, models: d, etag: p, modelIsValid: y, setFormErrors: r, setGlobalError: n, setStepAndEtag: u, setSchemaModel: g };
2518
+ }, f = (0, Lt.useMemo)(() => Qd(p, wn(c)), [p, c]);
2519
+ return { formErrors: t, globalError: o, step: c, models: p, etag: u, modelIsValid: f, setFormErrors: r, setGlobalError: n, setStepAndEtag: m, setSchemaModel: h };
2444
2520
  };
2445
- var $s = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), S(i({}, r), { [o.$id || ""]: ae(e, o) || {} })), {});
2446
- var an = (e) => [...sn((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2447
- var sn = (e) => e.flatMap((t) => {
2521
+ var ul = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), S(i({}, r), { [o.$id || ""]: ae(e, o) || {} })), {});
2522
+ var wn = (e) => [...Fn((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
2523
+ var Fn = (e) => e.flatMap((t) => {
2448
2524
  switch (t.type) {
2449
2525
  case "columns":
2450
- return [...sn([...t.left, ...t.right])];
2526
+ return [...Fn([...t.left, ...t.right])];
2451
2527
  case "box":
2452
- return sn(t.components);
2528
+ return Fn(t.components);
2453
2529
  case "form":
2454
- return Ad(t.schema) ? [t.schema] : [];
2530
+ return Zd(t.schema) ? [t.schema] : [];
2455
2531
  default:
2456
2532
  return [];
2457
2533
  }
2458
2534
  });
2459
- var Pd = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
2460
- var Ad = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2461
- var qr = require("@transferwise/components");
2462
- var Ks = require("react");
2463
- var Xs = require("react/jsx-runtime");
2464
- function Js(e, t) {
2465
- let r = i({ size: qr.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, n] = (0, Ks.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, Xs.jsx)(qr.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2535
+ var Qd = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
2536
+ var Zd = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
2537
+ var ro = require("@transferwise/components");
2538
+ var fl = require("react");
2539
+ var hl = require("react/jsx-runtime");
2540
+ function yl(e, t) {
2541
+ let r = i({ size: ro.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, n] = (0, fl.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, hl.jsx)(ro.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
2466
2542
  return { isLoading: o !== "idle", setLoadingState: n, loader: s };
2467
2543
  }
2468
- var tl = require("react");
2469
- var Wr = require("@transferwise/components");
2470
- var Zs = require("react-intl");
2471
- var Ys = require("react-intl");
2472
- var ln = (0, Ys.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: "Retry" } });
2473
- var el = require("react/jsx-runtime");
2474
- var Qs = ({ onDismiss: e }) => {
2475
- let { formatMessage: t } = (0, Zs.useIntl)();
2476
- return (0, el.jsx)(Wr.Alert, { action: { text: t(ln.retry), href: window.location.href }, message: t(ln.errorAlert), type: Wr.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2544
+ var wl = require("react");
2545
+ var oo = require("@transferwise/components");
2546
+ var gl = require("react-intl");
2547
+ var Sl = require("react/jsx-runtime");
2548
+ var bl = ({ onDismiss: e }) => {
2549
+ let { formatMessage: t } = (0, gl.useIntl)();
2550
+ return (0, Sl.jsx)(oo.Alert, { action: { text: t(Dt.retry), href: window.location.href }, message: t(Dt.errorAlert), type: oo.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
2477
2551
  };
2478
- var Dt = require("react/jsx-runtime");
2479
- var Md = () => {
2552
+ var Nt = require("react/jsx-runtime");
2553
+ var eu = () => {
2480
2554
  };
2481
- var cn = class extends tl.Component {
2555
+ var Cn = class extends wl.Component {
2482
2556
  constructor(r) {
2483
2557
  super(r);
2484
2558
  this.handleErrorReset = () => {
@@ -2490,201 +2564,201 @@ var require_main_min = __commonJS({
2490
2564
  return { hasError: true, isFatalError: true };
2491
2565
  }
2492
2566
  componentDidCatch(r) {
2493
- let { onError: o = Md } = this.props;
2567
+ let { onError: o = eu } = this.props;
2494
2568
  o(r);
2495
2569
  }
2496
2570
  render() {
2497
2571
  let { children: r } = this.props, { hasError: o, isFatalError: n } = this.state;
2498
- return (0, Dt.jsxs)(Dt.Fragment, { children: [o && (0, Dt.jsx)(Qs, { onDismiss: this.handleErrorReset }), !n && r] });
2572
+ return (0, Nt.jsxs)(Nt.Fragment, { children: [o && (0, Nt.jsx)(bl, { onDismiss: this.handleErrorReset }), !n && r] });
2499
2573
  }
2500
2574
  };
2501
- var mn = cn;
2502
- var kd = async (e) => {
2575
+ var xn = Cn;
2576
+ var tu = async (e) => {
2503
2577
  switch (e.headers.get("X-Df-ResponseType")) {
2504
2578
  case "step":
2505
- return rl(e);
2579
+ return Fl(e);
2506
2580
  case "exit":
2507
- return nl(e);
2581
+ return xl(e);
2508
2582
  case "action":
2509
- return ol(e);
2583
+ return Cl(e);
2510
2584
  default:
2511
2585
  throw new Error("Unsupported X-Df-ResponseType. Allowed values are 'step', 'action', 'exit'.");
2512
2586
  }
2513
2587
  };
2514
- var rl = async (e) => {
2515
- let t = await tr(e);
2516
- if (!R(t))
2588
+ var Fl = async (e) => {
2589
+ let t = await lr(e);
2590
+ if (!T(t))
2517
2591
  throw new Error("Incorrect response body in response. Expected an object.");
2518
2592
  let r = e.headers.get("etag") || void 0;
2519
2593
  return { type: "step", step: t, etag: r };
2520
2594
  };
2521
- var ol = async (e) => {
2522
- let t = await tr(e);
2523
- if (!R(t))
2595
+ var Cl = async (e) => {
2596
+ let t = await lr(e);
2597
+ if (!T(t))
2524
2598
  throw new Error("Incorrect response body in response. Expected an object.");
2525
- if (!R(t.action))
2599
+ if (!T(t.action))
2526
2600
  throw new Error("Incorrect response body in action response. Expected an object satisfying the type { action: Action }.");
2527
2601
  let r = t.action;
2528
- return r.exit === true && R(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
2602
+ return r.exit === true && T(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
2529
2603
  };
2530
- var nl = async (e) => ({ type: "exit", result: await dn(e) });
2531
- var al = async (e) => {
2604
+ var xl = async (e) => ({ type: "exit", result: await On(e) });
2605
+ var Ol = async (e) => {
2532
2606
  var r, o;
2533
- if (un(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2534
- return kd(e);
2607
+ if (vn(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
2608
+ return tu(e);
2535
2609
  if ((o = e.headers) != null && o.has("X-Df-Exit"))
2536
- return nl(e);
2537
- let t = await tr(e.clone());
2538
- return R(t) && t.action ? ol(e) : rl(e);
2539
- };
2540
- var il = async (e) => {
2541
- un(e);
2542
- let t = await tr(e);
2543
- if (!R(t))
2610
+ return xl(e);
2611
+ let t = await lr(e.clone());
2612
+ return T(t) && t.action ? Cl(e) : Fl(e);
2613
+ };
2614
+ var vl = async (e) => {
2615
+ vn(e);
2616
+ let t = await lr(e);
2617
+ if (!T(t))
2544
2618
  throw new Error("Incorrect response body in error response. Expected an object.");
2545
2619
  if (!t.refreshFormUrl && !t.refreshUrl && !t.validation && !t.error)
2546
2620
  throw t;
2547
2621
  return t;
2548
2622
  };
2549
- var dn = async (e) => {
2550
- un(e);
2551
- let t = await tr(e);
2552
- return R(t) ? t : null;
2623
+ var On = async (e) => {
2624
+ vn(e);
2625
+ let t = await lr(e);
2626
+ return T(t) ? t : null;
2553
2627
  };
2554
- var tr = async (e) => {
2628
+ var lr = async (e) => {
2555
2629
  try {
2556
2630
  return await e.json();
2557
2631
  } catch (t) {
2558
2632
  return null;
2559
2633
  }
2560
2634
  };
2561
- var un = (e) => {
2562
- if (!Ed(e))
2635
+ var vn = (e) => {
2636
+ if (!ru(e))
2563
2637
  throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
2564
2638
  if (e.bodyUsed)
2565
2639
  throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.");
2566
2640
  };
2567
- var Ed = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2641
+ var ru = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
2568
2642
  var Qe = require("react/jsx-runtime");
2569
- var sl = () => {
2570
- };
2571
- var Dd = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: n, displayStepTitle: a = true, onCompletion: s, onError: c, onEvent: d = sl, onLog: p = sl }) => {
2572
- let { locale: u } = (0, ll.useIntl)(), { formErrors: g, globalError: y, step: l, models: m, etag: f, modelIsValid: h, setFormErrors: b, setGlobalError: O, setStepAndEtag: C, setSchemaModel: A } = _s(o), [M, F] = (0, we.useState)(false), { isLoading: I, loader: N, setLoadingState: v } = Js(n, o ? "idle" : "initial"), L = rt("critical", p, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), q = (0, we.useMemo)(() => {
2573
- var w;
2574
- return i({ flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key) }, (w = l == null ? void 0 : l.analytics) != null ? w : {});
2575
- }, [e, l]), x = (0, we.useMemo)(() => Xr(d, q), [d, q]), j = (0, we.useCallback)(({ action: w, data: V, etag: E }) => {
2576
- let { url: Y, method: et = "POST" } = w;
2577
- return t(Y != null ? Y : "", { method: et, headers: i({ "accept-language": u, "Content-Type": "application/json" }, E ? { "If-None-Match": E } : {}), credentials: "include", body: et === "GET" ? void 0 : JSON.stringify(V) });
2578
- }, [t, u]), k = async (w, V = {}) => {
2579
- v(l ? "submission" : "initial"), x("Dynamic Flow - Step Submitted", { actionId: w.id || w.$id });
2643
+ var Pl = () => {
2644
+ };
2645
+ var ou = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: n, displayStepTitle: a = true, onCompletion: s, onError: c, onEvent: p = Pl, onLog: u = Pl }) => {
2646
+ let { locale: m } = (0, Al.useIntl)(), { formErrors: h, globalError: f, step: l, models: d, etag: y, modelIsValid: g, setFormErrors: b, setGlobalError: x, setStepAndEtag: C, setSchemaModel: v } = pl(o), [P, w] = (0, we.useState)(false), { isLoading: I, loader: N, setLoadingState: A } = yl(n, o ? "idle" : "initial"), L = tt("critical", u, e, (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key)), $ = (0, we.useMemo)(() => {
2647
+ var F;
2648
+ return i({ flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key) }, (F = l == null ? void 0 : l.analytics) != null ? F : {});
2649
+ }, [e, l]), O = (0, we.useMemo)(() => co(p, $), [p, $]), j = (0, we.useCallback)(({ action: F, data: V, etag: E }) => {
2650
+ let { url: Q, method: Ze = "POST" } = F;
2651
+ return t(Q != null ? Q : "", { method: Ze, headers: i({ "accept-language": m, "Content-Type": "application/json" }, E ? { "If-None-Match": E } : {}), credentials: "include", body: Ze === "GET" ? void 0 : JSON.stringify(V) });
2652
+ }, [t, m]), k = async (F, V = {}) => {
2653
+ A(l ? "submission" : "initial"), O("Dynamic Flow - Step Submitted", { actionId: F.id || F.$id });
2580
2654
  try {
2581
- let E = await j({ action: w, data: V });
2582
- await rr(E, "submission");
2655
+ let E = await j({ action: F, data: V });
2656
+ await cr(E, "submission");
2583
2657
  } catch (E) {
2584
- or(E, "Error fetching next step");
2658
+ mr(E, "Error fetching next step");
2585
2659
  }
2586
- }, U = async (w, V, E) => {
2587
- v("refresh"), x("Dynamic Flow - Step Refreshed", { status: "pending" });
2660
+ }, z = async (F, V, E) => {
2661
+ A("refresh"), O("Dynamic Flow - Step Refreshed", { status: "pending" });
2588
2662
  try {
2589
- let Y = await j({ action: { url: w, method: "POST" }, data: V, etag: E });
2590
- await rr(Y, "refresh");
2591
- } catch (Y) {
2592
- or(Y, "Error fetching refresh step");
2663
+ let Q = await j({ action: { url: F, method: "POST" }, data: V, etag: E });
2664
+ await cr(Q, "refresh");
2665
+ } catch (Q) {
2666
+ mr(Q, "Error fetching refresh step");
2593
2667
  }
2594
- }, Fe = async (w, V) => {
2595
- v("submission");
2668
+ }, Fe = async (F, V) => {
2669
+ A("submission");
2596
2670
  try {
2597
- let E = await j({ action: w, data: V });
2598
- await ne(E, w.result);
2671
+ let E = await j({ action: F, data: V });
2672
+ await ne(E, F.result);
2599
2673
  } catch (E) {
2600
- or(E, "Error fetching exit result");
2674
+ mr(E, "Error fetching exit result");
2601
2675
  }
2602
- }, ne = async (w, V) => {
2603
- let E = await dn(w);
2676
+ }, ne = async (F, V) => {
2677
+ let E = await On(F);
2604
2678
  me(i(i({}, E), V));
2605
- }, te = Gs(U), me = (0, we.useCallback)((w) => {
2606
- x("Dynamic Flow - Flow Finished", { result: "success" }), s(w);
2607
- }, [s, x]);
2679
+ }, re = dl(z), me = (0, we.useCallback)((F) => {
2680
+ O("Dynamic Flow - Flow Finished", { result: "success" }), s(F);
2681
+ }, [s, O]);
2608
2682
  (0, we.useEffect)(() => {
2609
- x("Dynamic Flow - Flow Started", {});
2683
+ O("Dynamic Flow - Flow Started", {});
2610
2684
  }, []), (0, we.useEffect)(() => {
2611
2685
  if (!o) {
2612
- let w = i({ id: "#initial-step-request", method: "GET" }, r);
2613
- k(w, w.data);
2686
+ let F = i({ id: "#initial-step-request", method: "GET" }, r);
2687
+ k(F, F.data);
2614
2688
  }
2615
- }, [t, u, JSON.stringify(o), JSON.stringify(r)]);
2616
- let rr = async (w, V) => {
2689
+ }, [t, m, JSON.stringify(o), JSON.stringify(r)]);
2690
+ let cr = async (F, V) => {
2617
2691
  try {
2618
- if (w.status === 304) {
2619
- v("idle");
2692
+ if (F.status === 304) {
2693
+ A("idle");
2620
2694
  return;
2621
2695
  }
2622
- if (!w.ok) {
2623
- let Y = await il(w);
2624
- vl(Y);
2696
+ if (!F.ok) {
2697
+ let Q = await vl(F);
2698
+ $l(Q);
2625
2699
  return;
2626
2700
  }
2627
- let E = await al(w);
2628
- E.type === "action" ? k(E.action, E.action.data) : E.type === "exit" ? me(E.result) : Ol(E.step, E.etag, V);
2701
+ let E = await Ol(F);
2702
+ E.type === "action" ? k(E.action, E.action.data) : E.type === "exit" ? me(E.result) : ql(E.step, E.etag, V);
2629
2703
  } catch (E) {
2630
- return or(E, "Error parsing fetch response", V, w.status);
2704
+ return mr(E, "Error parsing fetch response", V, F.status);
2631
2705
  }
2632
- }, Ol = (w, V, E) => {
2633
- C(w, V), v("idle"), E === "submission" ? (F(false), x("Dynamic Flow - Step Started", i({ stepId: w.id || w.key }, w == null ? void 0 : w.analytics))) : x("Dynamic Flow - Step Refreshed", { status: "success" });
2634
- }, vl = async (w) => {
2635
- let V = w.refreshUrl || w.refreshFormUrl;
2636
- V && await U(V, Gr(m), f), w.validation && b(w.validation), w.error && O(w.error), v("idle");
2637
- }, or = (w, V, E, Y) => {
2638
- L("Error fetching", V), E === "refresh" && x("Dynamic Flow - Step Refreshed", { status: "failure" }), x("Dynamic Flow - Flow Finished", { status: "failure" }), c(w, Y), v("idle");
2639
- }, Pl = (w) => {
2640
- let { model: V, formSchema: E } = w, { $id: Y = "" } = E;
2641
- O(null), X(V) || L("Invalid model on change", "onModelChange was called but the model argument is not an object"), A(Y, V, (nr) => {
2642
- Al(w, nr);
2706
+ }, ql = (F, V, E) => {
2707
+ C(F, V), A("idle"), E === "submission" ? (w(false), O("Dynamic Flow - Step Started", i({ stepId: F.id || F.key }, F == null ? void 0 : F.analytics))) : O("Dynamic Flow - Step Refreshed", { status: "success" });
2708
+ }, $l = async (F) => {
2709
+ let V = F.refreshUrl || F.refreshFormUrl;
2710
+ V && await z(V, no(d), y), F.validation && b(F.validation), F.error && x(F.error), A("idle");
2711
+ }, mr = (F, V, E, Q) => {
2712
+ L("Error fetching", V), E === "refresh" && O("Dynamic Flow - Step Refreshed", { status: "failure" }), O("Dynamic Flow - Flow Finished", { status: "failure" }), c(F, Q), A("idle");
2713
+ }, Gl = (F) => {
2714
+ let { model: V, formSchema: E } = F, { $id: Q = "" } = E;
2715
+ x(null), Y(V) || L("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(Q, V, (dr) => {
2716
+ Wl(F, dr);
2643
2717
  });
2644
- }, Al = (w, V) => {
2645
- let { triggerSchema: E } = w;
2646
- if (Nd(w)) {
2647
- let Y = E.refreshUrl || E.refreshFormUrl, et = (l == null ? void 0 : l.refreshUrl) || (l == null ? void 0 : l.refreshFormUrl), nr = Y || et;
2648
- nr && te(nr, Gr(V), f, E);
2718
+ }, Wl = (F, V) => {
2719
+ let { triggerSchema: E } = F;
2720
+ if (iu(F)) {
2721
+ let Q = E.refreshUrl || E.refreshFormUrl, Ze = (l == null ? void 0 : l.refreshUrl) || (l == null ? void 0 : l.refreshFormUrl), dr = Q || Ze;
2722
+ dr && re(dr, no(V), y, E);
2649
2723
  }
2650
- }, Ml = async (w) => {
2651
- if (I || w.disabled)
2724
+ }, _l = async (F) => {
2725
+ if (I || F.disabled)
2652
2726
  return;
2653
- if (w.exit && !w.url) {
2654
- me(w.result);
2727
+ if (F.exit && !F.url) {
2728
+ me(F.result);
2655
2729
  return;
2656
2730
  }
2657
- let V = w.exit ? Fe : k, { data: E, method: Y } = w, et = i(i({}, Gr(m)), E);
2658
- Ld(Y) ? (b(null), F(true), h && await V(w, et)) : await V(w);
2731
+ let V = F.exit ? Fe : k, { data: E, method: Q } = F, Ze = i(i({}, no(d)), E);
2732
+ au(Q) ? (b(null), w(true), g && await V(F, Ze)) : await V(F);
2659
2733
  };
2660
- return (0, Qe.jsx)(hr, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: p, children: (0, Qe.jsx)(cr, { metadata: q, onEvent: d, children: (0, Qe.jsx)(vn, { loading: I, children: (0, Qe.jsx)(En, { httpClient: t, children: N !== null ? N : (0, Qe.jsx)(qs, { step: l, model: Gr(m), submitted: M, globalError: y, formErrors: g, stepLayoutOptions: { displayStepTitle: a }, onAction: (w) => {
2661
- Ml(w);
2662
- }, onModelChange: Pl }) }) }) }) });
2663
- };
2664
- var Id = (e) => (0, Qe.jsx)(mn, { onError: e.onError, children: (0, Qe.jsx)(Dd, i({}, e)) });
2665
- var pn = Id;
2666
- var Gr = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2667
- var Ld = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2668
- var Nd = (e) => {
2734
+ return (0, Qe.jsx)(xr, { flowId: e, stepId: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.key), onLog: u, children: (0, Qe.jsx)(hr, { metadata: $, onEvent: p, children: (0, Qe.jsx)(jn, { loading: I, children: (0, Qe.jsx)(qn, { httpClient: t, children: N !== null ? N : (0, Qe.jsx)(cl, { step: l, model: no(d), submitted: P, globalError: f, formErrors: h, stepLayoutOptions: { displayStepTitle: a }, onAction: (F) => {
2735
+ _l(F);
2736
+ }, onModelChange: Gl }) }) }) }) });
2737
+ };
2738
+ var nu = (e) => (0, Qe.jsx)(xn, { onError: e.onError, children: (0, Qe.jsx)(ou, i({}, e)) });
2739
+ var Pn = nu;
2740
+ var no = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
2741
+ var au = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
2742
+ var iu = (e) => {
2669
2743
  let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: n = null } = e, a = () => G(o, r), s = () => G(n, r), c = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
2670
2744
  return t !== "init" && c && (a() || s());
2671
2745
  };
2672
- var cl = { "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" };
2673
- var ml = { "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" };
2674
- var dl = { "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" };
2675
- var ul = { "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" };
2676
- var pl = { "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" };
2677
- var fl = { "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" };
2678
- var yl = { "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" };
2679
- var hl = { "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" };
2680
- var gl = { "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" };
2681
- var bl = { "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" };
2682
- var Sl = { "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" };
2683
- var wl = { "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" };
2684
- var Fl = { "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" };
2685
- var Cl = { "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" };
2686
- var Jd = { en: ml, de: cl, es: dl, fr: ul, hu: pl, id: fl, it: yl, ja: hl, pl: gl, pt: bl, ro: Sl, ru: wl, tr: Fl, zh: Cl };
2687
- var xl = Jd;
2746
+ var Ml = { "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" };
2747
+ var kl = { "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" };
2748
+ var El = { "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" };
2749
+ var Dl = { "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" };
2750
+ var Il = { "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" };
2751
+ var Ll = { "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" };
2752
+ var Nl = { "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" };
2753
+ var Tl = { "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" };
2754
+ var Rl = { "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" };
2755
+ var Bl = { "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" };
2756
+ var jl = { "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" };
2757
+ var Vl = { "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" };
2758
+ var Ul = { "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" };
2759
+ var zl = { "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" };
2760
+ var Fu = { en: kl, de: Ml, es: El, fr: Dl, hu: Il, id: Ll, it: Nl, ja: Tl, pl: Rl, pt: Bl, ro: jl, ru: Vl, tr: Ul, zh: zl };
2761
+ var Hl = Fu;
2688
2762
  }
2689
2763
  });
2690
2764