@vergelijkdirect/comparison-forms 2.0.0-rc.1 → 2.0.0-rc.3

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.
@@ -62,7 +62,7 @@ const Le = {}, Ei = [], Dn = () => {
62
62
  }, Sm = (e) => {
63
63
  const t = parseFloat(e);
64
64
  return isNaN(t) ? e : t;
65
- }, Cu = (e) => {
65
+ }, Au = (e) => {
66
66
  const t = Qe(e) ? Number(e) : NaN;
67
67
  return isNaN(t) ? e : t;
68
68
  };
@@ -315,10 +315,10 @@ class Mm {
315
315
  * @internal
316
316
  */
317
317
  runIfDirty() {
318
- Au(this) && this.run();
318
+ Mu(this) && this.run();
319
319
  }
320
320
  get dirty() {
321
- return Au(this);
321
+ return Mu(this);
322
322
  }
323
323
  }
324
324
  let Em = 0, fo, ho;
@@ -370,14 +370,14 @@ function Tm(e) {
370
370
  }
371
371
  e.deps = t, e.depsTail = n;
372
372
  }
373
- function Au(e) {
373
+ function Mu(e) {
374
374
  for (let t = e.deps; t; t = t.nextDep)
375
375
  if (t.dep.version !== t.version || t.dep.computed && (Dm(t.dep.computed) || t.dep.version !== t.version))
376
376
  return !0;
377
377
  return !!e._dirty;
378
378
  }
379
379
  function Dm(e) {
380
- if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === bo) || (e.globalVersion = bo, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Au(e))))
380
+ if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === bo) || (e.globalVersion = bo, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Mu(e))))
381
381
  return;
382
382
  e.flags |= 2;
383
383
  const t = e.dep, n = Ke, r = dn;
@@ -476,7 +476,7 @@ function Fm(e) {
476
476
  }
477
477
  const ma = /* @__PURE__ */ new WeakMap(), Jr = /* @__PURE__ */ Symbol(
478
478
  ""
479
- ), Mu = /* @__PURE__ */ Symbol(
479
+ ), Eu = /* @__PURE__ */ Symbol(
480
480
  ""
481
481
  ), wo = /* @__PURE__ */ Symbol(
482
482
  ""
@@ -510,10 +510,10 @@ function Jn(e, t, n, r, i, o) {
510
510
  } else
511
511
  switch ((n !== void 0 || s.has(void 0)) && l(s.get(n)), u && l(s.get(wo)), t) {
512
512
  case "add":
513
- c ? u && l(s.get("length")) : (l(s.get(Jr)), Pi(e) && l(s.get(Mu)));
513
+ c ? u && l(s.get("length")) : (l(s.get(Jr)), Pi(e) && l(s.get(Eu)));
514
514
  break;
515
515
  case "delete":
516
- c || (l(s.get(Jr)), Pi(e) && l(s.get(Mu)));
516
+ c || (l(s.get(Jr)), Pi(e) && l(s.get(Eu)));
517
517
  break;
518
518
  case "set":
519
519
  Pi(e) && l(s.get(Jr));
@@ -790,14 +790,14 @@ class Vm extends Lm {
790
790
  return !0;
791
791
  }
792
792
  }
793
- const N_ = /* @__PURE__ */ new Bm(), $_ = /* @__PURE__ */ new Vm(), q_ = /* @__PURE__ */ new Bm(!0), U_ = /* @__PURE__ */ new Vm(!0), Eu = (e) => e, Xo = (e) => Reflect.getPrototypeOf(e);
793
+ const N_ = /* @__PURE__ */ new Bm(), $_ = /* @__PURE__ */ new Vm(), q_ = /* @__PURE__ */ new Bm(!0), U_ = /* @__PURE__ */ new Vm(!0), Pu = (e) => e, Xo = (e) => Reflect.getPrototypeOf(e);
794
794
  function H_(e, t, n) {
795
795
  return function(...r) {
796
- const i = this.__v_raw, o = /* @__PURE__ */ Ie(i), s = Pi(o), l = e === "entries" || e === Symbol.iterator && s, c = e === "keys" && s, u = i[e](...r), a = n ? Eu : t ? Ni : hn;
796
+ const i = this.__v_raw, o = /* @__PURE__ */ Ie(i), s = Pi(o), l = e === "entries" || e === Symbol.iterator && s, c = e === "keys" && s, u = i[e](...r), a = n ? Pu : t ? Ni : hn;
797
797
  return !t && Ot(
798
798
  o,
799
799
  "iterate",
800
- c ? Mu : Jr
800
+ c ? Eu : Jr
801
801
  ), rt(
802
802
  // inheriting all iterator properties
803
803
  Object.create(u),
@@ -824,7 +824,7 @@ function z_(e, t) {
824
824
  get(i) {
825
825
  const o = this.__v_raw, s = /* @__PURE__ */ Ie(o), l = /* @__PURE__ */ Ie(i);
826
826
  e || (mt(i, l) && Ot(s, "get", i), Ot(s, "get", l));
827
- const { has: c } = Xo(s), u = t ? Eu : e ? Ni : hn;
827
+ const { has: c } = Xo(s), u = t ? Pu : e ? Ni : hn;
828
828
  if (c.call(s, i))
829
829
  return u(o.get(i));
830
830
  if (c.call(s, l))
@@ -840,7 +840,7 @@ function z_(e, t) {
840
840
  return e || (mt(i, l) && Ot(s, "has", i), Ot(s, "has", l)), i === l ? o.has(i) : o.has(i) || o.has(l);
841
841
  },
842
842
  forEach(i, o) {
843
- const s = this, l = s.__v_raw, c = /* @__PURE__ */ Ie(l), u = t ? Eu : e ? Ni : hn;
843
+ const s = this, l = s.__v_raw, c = /* @__PURE__ */ Ie(l), u = t ? Pu : e ? Ni : hn;
844
844
  return !e && Ot(c, "iterate", Jr), l.forEach((a, f) => i.call(o, u(a), u(f), s));
845
845
  }
846
846
  };
@@ -1028,7 +1028,7 @@ class X_ {
1028
1028
  t = r ? t : /* @__PURE__ */ Ie(t), mt(t, n) && (this._rawValue = t, this._value = r ? t : hn(t), this.dep.trigger());
1029
1029
  }
1030
1030
  }
1031
- function Pu(e) {
1031
+ function Ru(e) {
1032
1032
  e.dep && e.dep.trigger();
1033
1033
  }
1034
1034
  function _(e) {
@@ -1566,7 +1566,7 @@ const en = [Function, Array], rv = {
1566
1566
  const c = xd(o);
1567
1567
  if (!c)
1568
1568
  return Yl(o);
1569
- let u = Ru(
1569
+ let u = Tu(
1570
1570
  c,
1571
1571
  s,
1572
1572
  r,
@@ -1577,7 +1577,7 @@ const en = [Function, Array], rv = {
1577
1577
  c.type !== gt && Oo(c, u);
1578
1578
  let a = n.subTree && xd(n.subTree);
1579
1579
  if (a && a.type !== gt && !Yr(a, c) && iv(n).type !== gt) {
1580
- let f = Ru(
1580
+ let f = Tu(
1581
1581
  a,
1582
1582
  s,
1583
1583
  r,
@@ -1620,7 +1620,7 @@ function sv(e, t) {
1620
1620
  let r = n.get(t.type);
1621
1621
  return r || (r = /* @__PURE__ */ Object.create(null), n.set(t.type, r)), r;
1622
1622
  }
1623
- function Ru(e, t, n, r, i) {
1623
+ function Tu(e, t, n, r, i) {
1624
1624
  const {
1625
1625
  appear: o,
1626
1626
  mode: s,
@@ -1695,7 +1695,7 @@ function Ru(e, t, n, r, i) {
1695
1695
  x[$] = e, d ? C(d, [j, J]) : J();
1696
1696
  },
1697
1697
  clone(j) {
1698
- const U = Ru(
1698
+ const U = Tu(
1699
1699
  j,
1700
1700
  t,
1701
1701
  n,
@@ -1985,7 +1985,7 @@ function fe(e, t, n = {}, r, i) {
1985
1985
  function fv(e) {
1986
1986
  return e.some((t) => ko(t) ? !(t.type === gt || t.type === it && !fv(t.children)) : !0) ? e : null;
1987
1987
  }
1988
- const Tu = (e) => e ? jv(e) ? fl(e) : Tu(e.parent) : null, mo = (
1988
+ const Du = (e) => e ? jv(e) ? fl(e) : Du(e.parent) : null, mo = (
1989
1989
  // Move PURE marker to new line to workaround compiler discarding it
1990
1990
  // due to type annotation
1991
1991
  /* @__PURE__ */ rt(/* @__PURE__ */ Object.create(null), {
@@ -1996,8 +1996,8 @@ const Tu = (e) => e ? jv(e) ? fl(e) : Tu(e.parent) : null, mo = (
1996
1996
  $attrs: (e) => e.attrs,
1997
1997
  $slots: (e) => e.slots,
1998
1998
  $refs: (e) => e.refs,
1999
- $parent: (e) => Tu(e.parent),
2000
- $root: (e) => Tu(e.root),
1999
+ $parent: (e) => Du(e.parent),
2000
+ $root: (e) => Du(e.root),
2001
2001
  $host: (e) => e.ce,
2002
2002
  $emit: (e) => e.emit,
2003
2003
  $options: (e) => mv(e),
@@ -2034,7 +2034,7 @@ const Tu = (e) => e ? jv(e) ? fl(e) : Tu(e.parent) : null, mo = (
2034
2034
  return s[t] = 3, o[t];
2035
2035
  if (n !== Le && Ne(n, t))
2036
2036
  return s[t] = 4, n[t];
2037
- Du && (s[t] = 0);
2037
+ ju && (s[t] = 0);
2038
2038
  }
2039
2039
  }
2040
2040
  const u = mo[t];
@@ -2096,10 +2096,10 @@ function Vt(e, t) {
2096
2096
  function At(e, t) {
2097
2097
  return !e || !t ? e || t : ve(e) && ve(t) ? e.concat(t) : rt({}, xo(e), xo(t));
2098
2098
  }
2099
- let Du = !0;
2099
+ let ju = !0;
2100
2100
  function Pb(e) {
2101
2101
  const t = mv(e), n = e.proxy, r = e.ctx;
2102
- Du = !1, t.beforeCreate && Md(t.beforeCreate, e, "bc");
2102
+ ju = !1, t.beforeCreate && Md(t.beforeCreate, e, "bc");
2103
2103
  const {
2104
2104
  // state
2105
2105
  data: i,
@@ -2142,7 +2142,7 @@ function Pb(e) {
2142
2142
  const V = i.call(n, n);
2143
2143
  $e(V) && (e.data = /* @__PURE__ */ oi(V));
2144
2144
  }
2145
- if (Du = !0, o)
2145
+ if (ju = !0, o)
2146
2146
  for (const V in o) {
2147
2147
  const B = o[V], G = we(B) ? B.bind(n, n) : we(B.get) ? B.get.bind(n, n) : Dn, E = !we(B) && we(B.set) ? B.set.bind(n) : Dn, I = N({
2148
2148
  get: G,
@@ -2182,7 +2182,7 @@ function Pb(e) {
2182
2182
  x && e.render === Dn && (e.render = x), $ != null && (e.inheritAttrs = $), H && (e.components = H), J && (e.directives = J), j && lv(e);
2183
2183
  }
2184
2184
  function Rb(e, t, n = Dn) {
2185
- ve(e) && (e = ju(e));
2185
+ ve(e) && (e = Fu(e));
2186
2186
  for (const r in e) {
2187
2187
  const i = e[r];
2188
2188
  let o;
@@ -2283,9 +2283,9 @@ function Ed(e, t) {
2283
2283
  } : t : e;
2284
2284
  }
2285
2285
  function Db(e, t) {
2286
- return so(ju(e), ju(t));
2286
+ return so(Fu(e), Fu(t));
2287
2287
  }
2288
- function ju(e) {
2288
+ function Fu(e) {
2289
2289
  if (ve(e)) {
2290
2290
  const t = {};
2291
2291
  for (let n = 0; n < e.length; n++)
@@ -2631,7 +2631,7 @@ function Hb(e, t, n, r) {
2631
2631
  d !== o[h] && (o[h] = d, u = !0);
2632
2632
  else {
2633
2633
  const p = st(h);
2634
- i[p] = Fu(
2634
+ i[p] = Iu(
2635
2635
  c,
2636
2636
  l,
2637
2637
  p,
@@ -2653,7 +2653,7 @@ function Hb(e, t, n, r) {
2653
2653
  // and converted to camelCase (#955)
2654
2654
  ((a = Bt(f)) === f || !Ne(t, a))) && (c ? n && // for camelCase
2655
2655
  (n[f] !== void 0 || // for kebab-case
2656
- n[a] !== void 0) && (i[f] = Fu(
2656
+ n[a] !== void 0) && (i[f] = Iu(
2657
2657
  c,
2658
2658
  l,
2659
2659
  f,
@@ -2682,7 +2682,7 @@ function Ov(e, t, n, r) {
2682
2682
  const c = /* @__PURE__ */ Ie(n), u = l || Le;
2683
2683
  for (let a = 0; a < o.length; a++) {
2684
2684
  const f = o[a];
2685
- n[f] = Fu(
2685
+ n[f] = Iu(
2686
2686
  i,
2687
2687
  c,
2688
2688
  f,
@@ -2694,7 +2694,7 @@ function Ov(e, t, n, r) {
2694
2694
  }
2695
2695
  return s;
2696
2696
  }
2697
- function Fu(e, t, n, r, i, o) {
2697
+ function Iu(e, t, n, r, i, o) {
2698
2698
  const s = e[n];
2699
2699
  if (s != null) {
2700
2700
  const l = Ne(s, "default");
@@ -2982,8 +2982,8 @@ function Zb(e, t) {
2982
2982
  te,
2983
2983
  X
2984
2984
  ), Se && Nr(w, null, Y, "created"), C(Q, w, w.scopeId, te, Y), be) {
2985
- for (const Ye in be)
2986
- Ye !== "value" && !co(Ye) && o(Q, Ye, null, be[Ye], q, Y);
2985
+ for (const Ge in be)
2986
+ Ge !== "value" && !co(Ge) && o(Q, Ge, null, be[Ge], q, Y);
2987
2987
  "value" in be && o(Q, "value", null, be.value, q), (K = be.onVnodeBeforeMount) && xn(K, Y, w);
2988
2988
  }
2989
2989
  Se && Nr(w, null, Y, "beforeMount");
@@ -3055,9 +3055,9 @@ function Zb(e, t) {
3055
3055
  $(X, ae, _e, D, W);
3056
3056
  else if (Q & 2 && ae.class !== _e.class && o(X, "class", null, _e.class, W), Q & 4 && o(X, "style", ae.style, _e.style, W), Q & 8) {
3057
3057
  const Fe = A.dynamicProps;
3058
- for (let Ye = 0; Ye < Fe.length; Ye++) {
3059
- const He = Fe[Ye], ut = ae[He], vt = _e[He];
3060
- (vt !== ut || He === "value") && o(X, He, ut, vt, W, D);
3058
+ for (let Ge = 0; Ge < Fe.length; Ge++) {
3059
+ const ze = Fe[Ge], ut = ae[ze], vt = _e[ze];
3060
+ (vt !== ut || ze === "value") && o(X, ze, ut, vt, W, D);
3061
3061
  }
3062
3062
  }
3063
3063
  Q & 1 && w.children !== A.children && a(X, A.children);
@@ -3208,11 +3208,11 @@ function Zb(e, t) {
3208
3208
  }, T = (w, A, D, Y, W, q, te) => {
3209
3209
  const X = () => {
3210
3210
  if (w.isMounted) {
3211
- let { next: ae, bu: _e, u: Se, parent: Fe, vnode: Ye } = w;
3211
+ let { next: ae, bu: _e, u: Se, parent: Fe, vnode: Ge } = w;
3212
3212
  {
3213
3213
  const Sn = Ev(w);
3214
3214
  if (Sn) {
3215
- ae && (ae.el = Ye.el, V(w, ae, te)), Sn.asyncDep.then(() => {
3215
+ ae && (ae.el = Ge.el, V(w, ae, te)), Sn.asyncDep.then(() => {
3216
3216
  It(() => {
3217
3217
  w.isUnmounted || K();
3218
3218
  }, W);
@@ -3220,8 +3220,8 @@ function Zb(e, t) {
3220
3220
  return;
3221
3221
  }
3222
3222
  }
3223
- let He = ae, ut;
3224
- $r(w, !1), ae ? (ae.el = Ye.el, V(w, ae, te)) : ae = Ye, _e && ra(_e), (ut = ae.props && ae.props.onVnodeBeforeUpdate) && xn(ut, Fe, ae, Ye), $r(w, !0);
3223
+ let ze = ae, ut;
3224
+ $r(w, !1), ae ? (ae.el = Ge.el, V(w, ae, te)) : ae = Ge, _e && ra(_e), (ut = ae.props && ae.props.onVnodeBeforeUpdate) && xn(ut, Fe, ae, Ge), $r(w, !0);
3225
3225
  const vt = Rd(w), wn = w.subTree;
3226
3226
  w.subTree = vt, v(
3227
3227
  wn,
@@ -3233,14 +3233,14 @@ function Zb(e, t) {
3233
3233
  w,
3234
3234
  W,
3235
3235
  q
3236
- ), ae.el = vt.el, He === null && qb(w, vt.el), Se && It(Se, W), (ut = ae.props && ae.props.onVnodeUpdated) && It(
3237
- () => xn(ut, Fe, ae, Ye),
3236
+ ), ae.el = vt.el, ze === null && qb(w, vt.el), Se && It(Se, W), (ut = ae.props && ae.props.onVnodeUpdated) && It(
3237
+ () => xn(ut, Fe, ae, Ge),
3238
3238
  W
3239
3239
  );
3240
3240
  } else {
3241
3241
  let ae;
3242
- const { el: _e, props: Se } = A, { bm: Fe, m: Ye, parent: He, root: ut, type: vt } = w, wn = Ti(A);
3243
- $r(w, !1), Fe && ra(Fe), !wn && (ae = Se && Se.onVnodeBeforeMount) && xn(ae, He, A), $r(w, !0);
3242
+ const { el: _e, props: Se } = A, { bm: Fe, m: Ge, parent: ze, root: ut, type: vt } = w, wn = Ti(A);
3243
+ $r(w, !1), Fe && ra(Fe), !wn && (ae = Se && Se.onVnodeBeforeMount) && xn(ae, ze, A), $r(w, !0);
3244
3244
  {
3245
3245
  ut.ce && ut.ce._hasShadowRoot() && ut.ce._injectChildStyle(
3246
3246
  vt,
@@ -3257,14 +3257,14 @@ function Zb(e, t) {
3257
3257
  q
3258
3258
  ), A.el = Sn.el;
3259
3259
  }
3260
- if (Ye && It(Ye, W), !wn && (ae = Se && Se.onVnodeMounted)) {
3260
+ if (Ge && It(Ge, W), !wn && (ae = Se && Se.onVnodeMounted)) {
3261
3261
  const Sn = A;
3262
3262
  It(
3263
- () => xn(ae, He, Sn),
3263
+ () => xn(ae, ze, Sn),
3264
3264
  W
3265
3265
  );
3266
3266
  }
3267
- (A.shapeFlag & 256 || He && Ti(He.vnode) && He.vnode.shapeFlag & 256) && w.a && It(w.a, W), w.isMounted = !0, A = D = Y = null;
3267
+ (A.shapeFlag & 256 || ze && Ti(ze.vnode) && ze.vnode.shapeFlag & 256) && w.a && It(w.a, W), w.isMounted = !0, A = D = Y = null;
3268
3268
  }
3269
3269
  };
3270
3270
  w.scope.on();
@@ -3423,12 +3423,12 @@ function Zb(e, t) {
3423
3423
  for (; K <= ae; )
3424
3424
  me(w[K], W, q, !0), K++;
3425
3425
  else {
3426
- const Se = K, Fe = K, Ye = /* @__PURE__ */ new Map();
3426
+ const Se = K, Fe = K, Ge = /* @__PURE__ */ new Map();
3427
3427
  for (K = Fe; K <= _e; K++) {
3428
3428
  const qt = A[K] = Q ? Zn(A[K]) : Mn(A[K]);
3429
- qt.key != null && Ye.set(qt.key, K);
3429
+ qt.key != null && Ge.set(qt.key, K);
3430
3430
  }
3431
- let He, ut = 0;
3431
+ let ze, ut = 0;
3432
3432
  const vt = _e - Fe + 1;
3433
3433
  let wn = !1, Sn = 0;
3434
3434
  const Xi = new Array(vt);
@@ -3441,11 +3441,11 @@ function Zb(e, t) {
3441
3441
  }
3442
3442
  let On;
3443
3443
  if (qt.key != null)
3444
- On = Ye.get(qt.key);
3444
+ On = Ge.get(qt.key);
3445
3445
  else
3446
- for (He = Fe; He <= _e; He++)
3447
- if (Xi[He - Fe] === 0 && Yr(qt, A[He])) {
3448
- On = He;
3446
+ for (ze = Fe; ze <= _e; ze++)
3447
+ if (Xi[ze - Fe] === 0 && Yr(qt, A[ze])) {
3448
+ On = ze;
3449
3449
  break;
3450
3450
  }
3451
3451
  On === void 0 ? me(qt, W, q, !0) : (Xi[On - Fe] = K + 1, On >= Sn ? Sn = On : wn = !0, v(
@@ -3461,7 +3461,7 @@ function Zb(e, t) {
3461
3461
  ), ut++);
3462
3462
  }
3463
3463
  const pd = wn ? Xb(Xi) : Ei;
3464
- for (He = pd.length - 1, K = vt - 1; K >= 0; K--) {
3464
+ for (ze = pd.length - 1, K = vt - 1; K >= 0; K--) {
3465
3465
  const qt = Fe + K, On = A[qt], md = A[qt + 1], vd = qt + 1 < be ? (
3466
3466
  // #13559, #14173 fallback to el placeholder for unresolved async component
3467
3467
  md.el || Pv(md)
@@ -3476,7 +3476,7 @@ function Zb(e, t) {
3476
3476
  te,
3477
3477
  X,
3478
3478
  Q
3479
- ) : wn && (He < 0 || K !== pd[He] ? I(On, D, vd, 2) : He--);
3479
+ ) : wn && (ze < 0 || K !== pd[ze] ? I(On, D, vd, 2) : ze--);
3480
3480
  }
3481
3481
  }
3482
3482
  }, I = (w, A, D, Y, W = null) => {
@@ -3510,16 +3510,16 @@ function Zb(e, t) {
3510
3510
  else {
3511
3511
  const { leave: ae, delayLeave: _e, afterLeave: Se } = X, Fe = () => {
3512
3512
  w.ctx.isUnmounted ? i(q) : r(q, A, D);
3513
- }, Ye = () => {
3514
- const He = q._isLeaving || !!q[tn];
3513
+ }, Ge = () => {
3514
+ const ze = q._isLeaving || !!q[tn];
3515
3515
  q._isLeaving && q[tn](
3516
3516
  !0
3517
3517
  /* cancelled */
3518
- ), X.persisted && !He ? Fe() : ae(q, () => {
3518
+ ), X.persisted && !ze ? Fe() : ae(q, () => {
3519
3519
  Fe(), Se && Se();
3520
3520
  });
3521
3521
  };
3522
- _e ? _e(q, Fe, Ye) : Ye();
3522
+ _e ? _e(q, Fe, Ge) : Ge();
3523
3523
  }
3524
3524
  else
3525
3525
  r(q, A, D);
@@ -3540,16 +3540,16 @@ function Zb(e, t) {
3540
3540
  A.ctx.deactivate(w);
3541
3541
  return;
3542
3542
  }
3543
- const Ye = be & 1 && _e, He = !Ti(w);
3543
+ const Ge = be & 1 && _e, ze = !Ti(w);
3544
3544
  let ut;
3545
- if (He && (ut = te && te.onVnodeBeforeUnmount) && xn(ut, A, w), be & 6)
3546
- We(w.component, D, Y);
3545
+ if (ze && (ut = te && te.onVnodeBeforeUnmount) && xn(ut, A, w), be & 6)
3546
+ Ye(w.component, D, Y);
3547
3547
  else {
3548
3548
  if (be & 128) {
3549
3549
  w.suspense.unmount(D, Y);
3550
3550
  return;
3551
3551
  }
3552
- Ye && Nr(w, null, A, "beforeUnmount"), be & 64 ? w.type.remove(
3552
+ Ge && Nr(w, null, A, "beforeUnmount"), be & 64 ? w.type.remove(
3553
3553
  w,
3554
3554
  A,
3555
3555
  D,
@@ -3570,8 +3570,8 @@ function Zb(e, t) {
3570
3570
  ) : (q === it && ae & 384 || !W && be & 16) && lt(Q, A, D), Y && xe(w);
3571
3571
  }
3572
3572
  const vt = Fe != null && Se == null;
3573
- (He && (ut = te && te.onVnodeUnmounted) || Ye || vt) && It(() => {
3574
- ut && xn(ut, A, w), Ye && Nr(w, null, A, "unmounted"), vt && (w.el = null);
3573
+ (ze && (ut = te && te.onVnodeUnmounted) || Ge || vt) && It(() => {
3574
+ ut && xn(ut, A, w), Ge && Nr(w, null, A, "unmounted"), vt && (w.el = null);
3575
3575
  }, D);
3576
3576
  }, xe = (w) => {
3577
3577
  const { type: A, el: D, anchor: Y, transition: W } = w;
@@ -3596,7 +3596,7 @@ function Zb(e, t) {
3596
3596
  for (; w !== A; )
3597
3597
  D = h(w), i(w), w = D;
3598
3598
  i(A);
3599
- }, We = (w, A, D) => {
3599
+ }, Ye = (w, A, D) => {
3600
3600
  const { bum: Y, scope: W, job: q, subTree: te, um: X, m: Q, a: K } = w;
3601
3601
  jd(Q), jd(K), Y && ra(Y), W.stop(), q && (q.flags |= 8, me(te, w, A, D)), X && It(X, A), It(() => {
3602
3602
  w.isUnmounted = !0;
@@ -4016,7 +4016,7 @@ function i0(e, t, n) {
4016
4016
  }
4017
4017
  let xt = null;
4018
4018
  const Zt = () => xt || _t;
4019
- let xa, Iu;
4019
+ let xa, Lu;
4020
4020
  {
4021
4021
  const e = Ka(), t = (n, r) => {
4022
4022
  let i;
@@ -4027,7 +4027,7 @@ let xa, Iu;
4027
4027
  xa = t(
4028
4028
  "__VUE_INSTANCE_SETTERS__",
4029
4029
  (n) => xt = n
4030
- ), Iu = t(
4030
+ ), Lu = t(
4031
4031
  "__VUE_SSR_SETTERS__",
4032
4032
  (n) => Co = n
4033
4033
  );
@@ -4045,11 +4045,11 @@ function jv(e) {
4045
4045
  }
4046
4046
  let Co = !1;
4047
4047
  function o0(e, t = !1, n = !1) {
4048
- t && Iu(t);
4048
+ t && Lu(t);
4049
4049
  const { props: r, children: i } = e.vnode, o = jv(e);
4050
4050
  Ub(e, r, o, t), Yb(e, i, n || t);
4051
4051
  const s = o ? s0(e, t) : void 0;
4052
- return t && Iu(!1), s;
4052
+ return t && Lu(!1), s;
4053
4053
  }
4054
4054
  function s0(e, t) {
4055
4055
  const n = e.type;
@@ -4162,16 +4162,16 @@ const f0 = "3.5.38";
4162
4162
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4163
4163
  * @license MIT
4164
4164
  **/
4165
- let Lu;
4165
+ let Bu;
4166
4166
  const Ld = typeof window < "u" && window.trustedTypes;
4167
4167
  if (Ld)
4168
4168
  try {
4169
- Lu = /* @__PURE__ */ Ld.createPolicy("vue", {
4169
+ Bu = /* @__PURE__ */ Ld.createPolicy("vue", {
4170
4170
  createHTML: (e) => e
4171
4171
  });
4172
4172
  } catch {
4173
4173
  }
4174
- const Lv = Lu ? (e) => Lu.createHTML(e) : (e) => e, d0 = "http://www.w3.org/2000/svg", h0 = "http://www.w3.org/1998/Math/MathML", Gn = typeof document < "u" ? document : null, Bd = Gn && /* @__PURE__ */ Gn.createElement("template"), p0 = {
4174
+ const Lv = Bu ? (e) => Bu.createHTML(e) : (e) => e, d0 = "http://www.w3.org/2000/svg", h0 = "http://www.w3.org/1998/Math/MathML", Gn = typeof document < "u" ? document : null, Bd = Gn && /* @__PURE__ */ Gn.createElement("template"), p0 = {
4175
4175
  insert: (e, t, n) => {
4176
4176
  t.insertBefore(e, n || null);
4177
4177
  },
@@ -4328,7 +4328,7 @@ function _0(e) {
4328
4328
  }
4329
4329
  }
4330
4330
  function Jl(e) {
4331
- return Cu(e);
4331
+ return Au(e);
4332
4332
  }
4333
4333
  function zn(e, t) {
4334
4334
  t.split(/\s+/).forEach((n) => n && e.classList.add(n)), (e[Ao] || (e[Ao] = /* @__PURE__ */ new Set())).add(t);
@@ -4659,7 +4659,7 @@ class Mc extends V0 {
4659
4659
  if (o && !ve(o))
4660
4660
  for (const c in o) {
4661
4661
  const u = o[c];
4662
- (u === Number || u && u.type === Number) && (c in this._props && (this._props[c] = Cu(this._props[c])), (l || (l = /* @__PURE__ */ Object.create(null)))[st(c)] = !0);
4662
+ (u === Number || u && u.type === Number) && (c in this._props && (this._props[c] = Au(this._props[c])), (l || (l = /* @__PURE__ */ Object.create(null)))[st(c)] = !0);
4663
4663
  }
4664
4664
  this._numberProps = l, this._resolveProps(r), this.shadowRoot && this._applyStyles(s), this._mount(r);
4665
4665
  }, n = this._def.__asyncLoader;
@@ -4696,7 +4696,7 @@ class Mc extends V0 {
4696
4696
  const n = this.hasAttribute(t);
4697
4697
  let r = n ? this.getAttribute(t) : eh;
4698
4698
  const i = st(t);
4699
- n && this._numberProps && this._numberProps[i] && (r = Cu(r)), this._setProp(i, r, !1, !0);
4699
+ n && this._numberProps && this._numberProps[i] && (r = Au(r)), this._setProp(i, r, !1, !0);
4700
4700
  }
4701
4701
  /**
4702
4702
  * @internal
@@ -5059,7 +5059,7 @@ function nw(e, t = {}) {
5059
5059
  });
5060
5060
  };
5061
5061
  }
5062
- function Bu(e, t = !1, n = "Timeout") {
5062
+ function Vu(e, t = !1, n = "Timeout") {
5063
5063
  return new Promise((r, i) => {
5064
5064
  t ? setTimeout(i, e, n) : setTimeout(r, e);
5065
5065
  });
@@ -5145,7 +5145,7 @@ function lw(e, t) {
5145
5145
  function uw(e, t = !0, n) {
5146
5146
  Nv() ? Kt(e, n) : t ? e() : Ze(e);
5147
5147
  }
5148
- function Vu(e, t = !1) {
5148
+ function Nu(e, t = !1) {
5149
5149
  function n(f, { flush: h = "sync", deep: d = !1, timeout: p, throwOnTimeout: v } = {}) {
5150
5150
  let y = null;
5151
5151
  const m = [new Promise((g) => {
@@ -5157,7 +5157,7 @@ function Vu(e, t = !1) {
5157
5157
  immediate: !0
5158
5158
  });
5159
5159
  })];
5160
- return p != null && m.push(Bu(p, v).then(() => qe(e)).finally(() => y == null ? void 0 : y())), Promise.race(m);
5160
+ return p != null && m.push(Vu(p, v).then(() => qe(e)).finally(() => y == null ? void 0 : y())), Promise.race(m);
5161
5161
  }
5162
5162
  function r(f, h) {
5163
5163
  if (!/* @__PURE__ */ le(f)) return n((b) => b === f, h);
@@ -5172,7 +5172,7 @@ function Vu(e, t = !1) {
5172
5172
  immediate: !0
5173
5173
  });
5174
5174
  })];
5175
- return v != null && g.push(Bu(v, y).then(() => qe(e)).finally(() => (m == null || m(), qe(e)))), Promise.race(g);
5175
+ return v != null && g.push(Vu(v, y).then(() => qe(e)).finally(() => (m == null || m(), qe(e)))), Promise.race(g);
5176
5176
  }
5177
5177
  function i(f) {
5178
5178
  return n((h) => !!h, f);
@@ -5205,7 +5205,7 @@ function Vu(e, t = !1) {
5205
5205
  changed: u,
5206
5206
  changedTimes: a,
5207
5207
  get not() {
5208
- return Vu(e, !t);
5208
+ return Nu(e, !t);
5209
5209
  }
5210
5210
  } : {
5211
5211
  toMatch: n,
@@ -5217,12 +5217,12 @@ function Vu(e, t = !1) {
5217
5217
  changed: u,
5218
5218
  changedTimes: a,
5219
5219
  get not() {
5220
- return Vu(e, !t);
5220
+ return Nu(e, !t);
5221
5221
  }
5222
5222
  };
5223
5223
  }
5224
5224
  function cw(e) {
5225
- return Vu(e);
5225
+ return Nu(e);
5226
5226
  }
5227
5227
  function fw(e, t, n) {
5228
5228
  return ke(e, t, {
@@ -5274,7 +5274,7 @@ function ih(e, t, n) {
5274
5274
  let v = 0;
5275
5275
  async function y(b = 0, ...S) {
5276
5276
  const x = v += 1;
5277
- c && (f.value = qe(t)), p.value = void 0, h.value = !1, d.value = !0, b > 0 && await Bu(b);
5277
+ c && (f.value = qe(t)), p.value = void 0, h.value = !1, d.value = !0, b > 0 && await Vu(b);
5278
5278
  const k = typeof e == "function" ? e(...S) : e;
5279
5279
  try {
5280
5280
  const C = await k;
@@ -5361,19 +5361,19 @@ function $t(e) {
5361
5361
  }
5362
5362
  var De = /* @__PURE__ */ ((e) => (e.Bike = "bike", e.Car = "car", e.Caravan = "caravan", e.CarBusiness = "car-business", e.Housing = "housing", e.LegalAssistance = "legal-assistance", e.Liability = "liability", e.Loan = "loan", e.Moped = "moped", e.Motor = "motor", e.Package = "package", e.Pet = "pet", e.Travel = "travel", e))(De || {}), ct = /* @__PURE__ */ ((e) => (e.FamilyWithChildren = "I", e.FamilyWithoutChildren = "H", e.SingleWithoutChildren = "A", e.SingleWithChildren = "K", e))(ct || {}), Ln = /* @__PURE__ */ ((e) => (e.Yes = "J", e.No = "N", e))(Ln || {});
5363
5363
  const _w = {
5364
- [De.Bike]: () => Promise.resolve().then(() => Uj),
5365
- [De.Pet]: () => Promise.resolve().then(() => Zj),
5366
- [De.Caravan]: () => Promise.resolve().then(() => iF),
5367
- [De.Travel]: () => Promise.resolve().then(() => cF),
5368
- [De.Liability]: () => Promise.resolve().then(() => pF),
5364
+ [De.Bike]: () => Promise.resolve().then(() => Hj),
5365
+ [De.Pet]: () => Promise.resolve().then(() => Jj),
5366
+ [De.Caravan]: () => Promise.resolve().then(() => oF),
5367
+ [De.Travel]: () => Promise.resolve().then(() => fF),
5368
+ [De.Liability]: () => Promise.resolve().then(() => mF),
5369
5369
  [De.Housing]: () => Promise.resolve().then(() => mm),
5370
5370
  house: () => Promise.resolve().then(() => mm),
5371
- [De.LegalAssistance]: () => Promise.resolve().then(() => SF),
5372
- [De.Package]: () => Promise.resolve().then(() => CF),
5373
- [De.Loan]: () => Promise.resolve().then(() => jF),
5374
- [De.Moped]: () => Promise.resolve().then(() => VF),
5375
- [De.Motor]: () => Promise.resolve().then(() => UF),
5376
- [De.Car]: () => Promise.resolve().then(() => YF),
5371
+ [De.LegalAssistance]: () => Promise.resolve().then(() => OF),
5372
+ [De.Package]: () => Promise.resolve().then(() => AF),
5373
+ [De.Loan]: () => Promise.resolve().then(() => FF),
5374
+ [De.Moped]: () => Promise.resolve().then(() => NF),
5375
+ [De.Motor]: () => Promise.resolve().then(() => HF),
5376
+ [De.Car]: () => Promise.resolve().then(() => GF),
5377
5377
  [De.CarBusiness]: () => Promise.resolve().then(() => ym),
5378
5378
  "business-car": () => Promise.resolve().then(() => ym)
5379
5379
  };
@@ -5400,7 +5400,7 @@ const sa = {
5400
5400
  url: "http://qa-api.dev.vergelijkdirect.com/"
5401
5401
  }
5402
5402
  };
5403
- class Nu {
5403
+ class $u {
5404
5404
  static configure(t) {
5405
5405
  const n = ts.instance;
5406
5406
  t.api && t.api.url && n.constant("vd-api-url", t.api.url), t.mijn && t.mijn.url && n.constant("mijn-api-url", t.mijn.url), t.qa && t.qa.url && n.constant("qa-api-url", t.qa.url);
@@ -5438,7 +5438,7 @@ function bw(e) {
5438
5438
  });
5439
5439
  }), n;
5440
5440
  }
5441
- var Ge = {}, qv = {}, Uv = {};
5441
+ var Ue = {}, qv = {}, Uv = {};
5442
5442
  Object.defineProperty(Uv, "__esModule", { value: !0 });
5443
5443
  (function(e) {
5444
5444
  var t = O && O.__createBinding || (Object.create ? function(r, i, o, s) {
@@ -12247,8 +12247,8 @@ function _1() {
12247
12247
  function Ae(e) {
12248
12248
  return e._pf == null && (e._pf = _1()), e._pf;
12249
12249
  }
12250
- var $u;
12251
- Array.prototype.some ? $u = Array.prototype.some : $u = function(e) {
12250
+ var qu;
12251
+ Array.prototype.some ? qu = Array.prototype.some : qu = function(e) {
12252
12252
  var t = Object(this), n = t.length >>> 0, r;
12253
12253
  for (r = 0; r < n; r++)
12254
12254
  if (r in t && e.call(this, t[r], r, t))
@@ -12257,7 +12257,7 @@ Array.prototype.some ? $u = Array.prototype.some : $u = function(e) {
12257
12257
  };
12258
12258
  function kf(e) {
12259
12259
  var t = null, n = !1, r = e._d && !isNaN(e._d.getTime());
12260
- if (r && (t = Ae(e), n = $u.call(t.parsedDateParts, function(i) {
12260
+ if (r && (t = Ae(e), n = qu.call(t.parsedDateParts, function(i) {
12261
12261
  return i != null;
12262
12262
  }), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
12263
12263
  e._isValid = r;
@@ -12328,7 +12328,7 @@ function b1(e) {
12328
12328
  (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
12329
12329
  );
12330
12330
  }
12331
- function qu(e, t) {
12331
+ function Uu(e, t) {
12332
12332
  var n = Or({}, e), r;
12333
12333
  for (r in t)
12334
12334
  Be(t, r) && (ni(e[r]) && ni(t[r]) ? (n[r] = {}, Or(n[r], e[r]), Or(n[r], t[r])) : t[r] != null ? n[r] = t[r] : delete n[r]);
@@ -12339,8 +12339,8 @@ function qu(e, t) {
12339
12339
  function Af(e) {
12340
12340
  e != null && this.set(e);
12341
12341
  }
12342
- var Uu;
12343
- Object.keys ? Uu = Object.keys : Uu = function(e) {
12342
+ var Hu;
12343
+ Object.keys ? Hu = Object.keys : Hu = function(e) {
12344
12344
  var t, n = [];
12345
12345
  for (t in e)
12346
12346
  Be(e, t) && n.push(t);
@@ -12568,21 +12568,21 @@ function Te(e) {
12568
12568
  var t = +e, n = 0;
12569
12569
  return t !== 0 && isFinite(t) && (n = nn(t)), n;
12570
12570
  }
12571
- var Hu = {};
12572
- function ze(e, t) {
12571
+ var zu = {};
12572
+ function We(e, t) {
12573
12573
  var n, r = t, i;
12574
12574
  for (typeof e == "string" && (e = [e]), lr(t) && (r = function(o, s) {
12575
12575
  s[t] = Te(o);
12576
12576
  }), i = e.length, n = 0; n < i; n++)
12577
- Hu[e[n]] = r;
12577
+ zu[e[n]] = r;
12578
12578
  }
12579
12579
  function Yo(e, t) {
12580
- ze(e, function(n, r, i, o) {
12580
+ We(e, function(n, r, i, o) {
12581
12581
  i._w = i._w || {}, t(n, i._w, i, o);
12582
12582
  });
12583
12583
  }
12584
12584
  function $1(e, t, n) {
12585
- t != null && Be(Hu, e) && Hu[e](t, n._a, n, e);
12585
+ t != null && Be(zu, e) && zu[e](t, n._a, n, e);
12586
12586
  }
12587
12587
  function Ol(e) {
12588
12588
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
@@ -12603,14 +12603,14 @@ ue("YY", tt, Jt);
12603
12603
  ue("YYYY", Rf, Pf);
12604
12604
  ue("YYYYY", bl, gl);
12605
12605
  ue("YYYYYY", bl, gl);
12606
- ze(["YYYYY", "YYYYYY"], kt);
12607
- ze("YYYY", function(e, t) {
12606
+ We(["YYYYY", "YYYYYY"], kt);
12607
+ We("YYYY", function(e, t) {
12608
12608
  t[kt] = e.length === 2 ? oe.parseTwoDigitYear(e) : Te(e);
12609
12609
  });
12610
- ze("YY", function(e, t) {
12610
+ We("YY", function(e, t) {
12611
12611
  t[kt] = oe.parseTwoDigitYear(e);
12612
12612
  });
12613
- ze("Y", function(e, t) {
12613
+ We("Y", function(e, t) {
12614
12614
  t[kt] = parseInt(e, 10);
12615
12615
  });
12616
12616
  function yo(e) {
@@ -12722,10 +12722,10 @@ ue("MMM", function(e, t) {
12722
12722
  ue("MMMM", function(e, t) {
12723
12723
  return t.monthsRegex(e);
12724
12724
  });
12725
- ze(["M", "MM"], function(e, t) {
12725
+ We(["M", "MM"], function(e, t) {
12726
12726
  t[Qn] = Te(e) - 1;
12727
12727
  });
12728
- ze(["MMM", "MMMM"], function(e, t, n, r) {
12728
+ We(["MMM", "MMMM"], function(e, t, n, r) {
12729
12729
  var i = n._locale.monthsParse(e, r, n._strict);
12730
12730
  i != null ? t[Qn] = i : Ae(n).invalidMonth = e;
12731
12731
  });
@@ -13054,30 +13054,30 @@ ue("hmm", iy);
13054
13054
  ue("hmmss", oy);
13055
13055
  ue("Hmm", iy);
13056
13056
  ue("Hmmss", oy);
13057
- ze(["H", "HH"], dt);
13058
- ze(["k", "kk"], function(e, t, n) {
13057
+ We(["H", "HH"], dt);
13058
+ We(["k", "kk"], function(e, t, n) {
13059
13059
  var r = Te(e);
13060
13060
  t[dt] = r === 24 ? 0 : r;
13061
13061
  });
13062
- ze(["a", "A"], function(e, t, n) {
13062
+ We(["a", "A"], function(e, t, n) {
13063
13063
  n._isPm = n._locale.isPM(e), n._meridiem = e;
13064
13064
  });
13065
- ze(["h", "hh"], function(e, t, n) {
13065
+ We(["h", "hh"], function(e, t, n) {
13066
13066
  t[dt] = Te(e), Ae(n).bigHour = !0;
13067
13067
  });
13068
- ze("hmm", function(e, t, n) {
13068
+ We("hmm", function(e, t, n) {
13069
13069
  var r = e.length - 2;
13070
13070
  t[dt] = Te(e.substr(0, r)), t[fn] = Te(e.substr(r)), Ae(n).bigHour = !0;
13071
13071
  });
13072
- ze("hmmss", function(e, t, n) {
13072
+ We("hmmss", function(e, t, n) {
13073
13073
  var r = e.length - 4, i = e.length - 2;
13074
13074
  t[dt] = Te(e.substr(0, r)), t[fn] = Te(e.substr(r, 2)), t[er] = Te(e.substr(i)), Ae(n).bigHour = !0;
13075
13075
  });
13076
- ze("Hmm", function(e, t, n) {
13076
+ We("Hmm", function(e, t, n) {
13077
13077
  var r = e.length - 2;
13078
13078
  t[dt] = Te(e.substr(0, r)), t[fn] = Te(e.substr(r));
13079
13079
  });
13080
- ze("Hmmss", function(e, t, n) {
13080
+ We("Hmmss", function(e, t, n) {
13081
13081
  var r = e.length - 4, i = e.length - 2;
13082
13082
  t[dt] = Te(e.substr(0, r)), t[fn] = Te(e.substr(r, 2)), t[er] = Te(e.substr(i));
13083
13083
  });
@@ -13163,7 +13163,7 @@ function Lf(e, t) {
13163
13163
  name: e,
13164
13164
  config: t
13165
13165
  }), null;
13166
- return nt[e] = new Af(qu(r, t)), ro[e] && ro[e].forEach(function(i) {
13166
+ return nt[e] = new Af(Uu(r, t)), ro[e] && ro[e].forEach(function(i) {
13167
13167
  Lf(i.name, i.config);
13168
13168
  }), Cr(e), nt[e];
13169
13169
  } else
@@ -13172,7 +13172,7 @@ function Lf(e, t) {
13172
13172
  function Lx(e, t) {
13173
13173
  if (t != null) {
13174
13174
  var n, r, i = yy;
13175
- nt[e] != null && nt[e].parentLocale != null ? nt[e].set(qu(nt[e]._config, t)) : (r = xl(e), r != null && (i = r._config), t = qu(i, t), r == null && (t.abbr = e), n = new Af(t), n.parentLocale = nt[e], nt[e] = n), Cr(e);
13175
+ nt[e] != null && nt[e].parentLocale != null ? nt[e].set(Uu(nt[e]._config, t)) : (r = xl(e), r != null && (i = r._config), t = Uu(i, t), r == null && (t.abbr = e), n = new Af(t), n.parentLocale = nt[e], nt[e] = n), Cr(e);
13176
13176
  } else
13177
13177
  nt[e] != null && (nt[e].parentLocale != null ? (nt[e] = nt[e].parentLocale, e === Cr() && Cr(e)) : nt[e] != null && delete nt[e]);
13178
13178
  return nt[e];
@@ -13189,7 +13189,7 @@ function hr(e) {
13189
13189
  return Fx(e);
13190
13190
  }
13191
13191
  function Bx() {
13192
- return Uu(nt);
13192
+ return Hu(nt);
13193
13193
  }
13194
13194
  function Bf(e) {
13195
13195
  var t, n = e._a;
@@ -13517,7 +13517,7 @@ function kl(e) {
13517
13517
  function la(e) {
13518
13518
  return e instanceof kl;
13519
13519
  }
13520
- function zu(e) {
13520
+ function Wu(e) {
13521
13521
  return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
13522
13522
  }
13523
13523
  function dk(e, t, n) {
@@ -13536,7 +13536,7 @@ Oy("Z", ":");
13536
13536
  Oy("ZZ", "");
13537
13537
  ue("Z", Sl);
13538
13538
  ue("ZZ", Sl);
13539
- ze(["Z", "ZZ"], function(e, t, n) {
13539
+ We(["Z", "ZZ"], function(e, t, n) {
13540
13540
  n._useUTC = !0, n._tzm = $f(Sl, e);
13541
13541
  });
13542
13542
  var hk = /([\+\-]|\d\d)/gi;
@@ -13548,7 +13548,7 @@ function qf(e, t) {
13548
13548
  var n, r;
13549
13549
  return t._isUTC ? (n = t.clone(), r = (mn(e) || Ho(e) ? e.valueOf() : et(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), oe.updateOffset(n, !1), n) : et(e).local();
13550
13550
  }
13551
- function Wu(e) {
13551
+ function Yu(e) {
13552
13552
  return -Math.round(e._d.getTimezoneOffset());
13553
13553
  }
13554
13554
  oe.updateOffset = function() {
@@ -13562,14 +13562,14 @@ function pk(e, t, n) {
13562
13562
  if (e = $f(Sl, e), e === null)
13563
13563
  return this;
13564
13564
  } else Math.abs(e) < 16 && !n && (e = e * 60);
13565
- return !this._isUTC && t && (i = Wu(this)), this._offset = e, this._isUTC = !0, i != null && this.add(i, "m"), r !== e && (!t || this._changeInProgress ? Cy(
13565
+ return !this._isUTC && t && (i = Yu(this)), this._offset = e, this._isUTC = !0, i != null && this.add(i, "m"), r !== e && (!t || this._changeInProgress ? Cy(
13566
13566
  this,
13567
13567
  _n(e - r, "m"),
13568
13568
  1,
13569
13569
  !1
13570
13570
  ) : this._changeInProgress || (this._changeInProgress = !0, oe.updateOffset(this, !0), this._changeInProgress = null)), this;
13571
13571
  } else
13572
- return this._isUTC ? r : Wu(this);
13572
+ return this._isUTC ? r : Yu(this);
13573
13573
  }
13574
13574
  function mk(e, t) {
13575
13575
  return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
@@ -13578,7 +13578,7 @@ function vk(e) {
13578
13578
  return this.utcOffset(0, e);
13579
13579
  }
13580
13580
  function yk(e) {
13581
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Wu(this), "m")), this;
13581
+ return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Yu(this), "m")), this;
13582
13582
  }
13583
13583
  function gk() {
13584
13584
  if (this._tzm != null)
@@ -13623,7 +13623,7 @@ function _n(e, t) {
13623
13623
  h: Te(r[dt]) * i,
13624
13624
  m: Te(r[fn]) * i,
13625
13625
  s: Te(r[er]) * i,
13626
- ms: Te(zu(r[Kr] * 1e3)) * i
13626
+ ms: Te(Wu(r[Kr] * 1e3)) * i
13627
13627
  // the millisecond decimal point is included in the match
13628
13628
  }) : (r = kk.exec(e)) ? (i = r[1] === "-" ? -1 : 1, n = {
13629
13629
  y: Hr(r[2], i),
@@ -13662,7 +13662,7 @@ function ky(e, t) {
13662
13662
  };
13663
13663
  }
13664
13664
  function Cy(e, t, n, r) {
13665
- var i = t._milliseconds, o = zu(t._days), s = zu(t._months);
13665
+ var i = t._milliseconds, o = Wu(t._days), s = Wu(t._months);
13666
13666
  e.isValid() && (r = r ?? !0, s && cy(e, Ro(e, "Month") + s * n), o && ay(e, "Date", Ro(e, "Date") + o * n), i && e._d.setTime(e._d.valueOf() + i * n), r && oe.updateOffset(e, o || s));
13667
13667
  }
13668
13668
  var Ak = ky(1, "add"), Mk = ky(-1, "subtract");
@@ -14033,7 +14033,7 @@ ue("NN", Uf);
14033
14033
  ue("NNN", Uf);
14034
14034
  ue("NNNN", _C);
14035
14035
  ue("NNNNN", bC);
14036
- ze(
14036
+ We(
14037
14037
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
14038
14038
  function(e, t, n, r) {
14039
14039
  var i = n._locale.erasParse(e, r, n._strict);
@@ -14045,8 +14045,8 @@ ue("yy", Gi);
14045
14045
  ue("yyy", Gi);
14046
14046
  ue("yyyy", Gi);
14047
14047
  ue("yo", wC);
14048
- ze(["y", "yy", "yyy", "yyyy"], kt);
14049
- ze(["yo"], function(e, t, n, r) {
14048
+ We(["y", "yy", "yyy", "yyyy"], kt);
14049
+ We(["yo"], function(e, t, n, r) {
14050
14050
  var i;
14051
14051
  n._locale._eraYearOrdinalRegex && (i = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[kt] = n._locale.eraYearOrdinalParse(e, i) : t[kt] = parseInt(e, 10);
14052
14052
  });
@@ -14228,7 +14228,7 @@ function MC(e, t, n, r, i) {
14228
14228
  }
14229
14229
  ye("Q", 0, "Qo", "quarter");
14230
14230
  ue("Q", ny);
14231
- ze("Q", function(e, t) {
14231
+ We("Q", function(e, t) {
14232
14232
  t[Qn] = (Te(e) - 1) * 3;
14233
14233
  });
14234
14234
  function EC(e) {
@@ -14240,15 +14240,15 @@ ue("DD", tt, Jt);
14240
14240
  ue("Do", function(e, t) {
14241
14241
  return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
14242
14242
  });
14243
- ze(["D", "DD"], En);
14244
- ze("Do", function(e, t) {
14243
+ We(["D", "DD"], En);
14244
+ We("Do", function(e, t) {
14245
14245
  t[En] = Te(e.match(tt)[0]);
14246
14246
  });
14247
14247
  var Fy = Zi("Date", !0);
14248
14248
  ye("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
14249
14249
  ue("DDD", _l);
14250
14250
  ue("DDDD", ry);
14251
- ze(["DDD", "DDDD"], function(e, t, n) {
14251
+ We(["DDD", "DDDD"], function(e, t, n) {
14252
14252
  n._dayOfYear = Te(e);
14253
14253
  });
14254
14254
  function PC(e) {
@@ -14260,12 +14260,12 @@ function PC(e) {
14260
14260
  ye("m", ["mm", 2], 0, "minute");
14261
14261
  ue("m", tt, Tf);
14262
14262
  ue("mm", tt, Jt);
14263
- ze(["m", "mm"], fn);
14263
+ We(["m", "mm"], fn);
14264
14264
  var RC = Zi("Minutes", !1);
14265
14265
  ye("s", ["ss", 2], 0, "second");
14266
14266
  ue("s", tt, Tf);
14267
14267
  ue("ss", tt, Jt);
14268
- ze(["s", "ss"], er);
14268
+ We(["s", "ss"], er);
14269
14269
  var TC = Zi("Seconds", !1);
14270
14270
  ye("S", 0, 0, function() {
14271
14271
  return ~~(this.millisecond() / 100);
@@ -14302,7 +14302,7 @@ function DC(e, t) {
14302
14302
  t[Kr] = Te(("0." + e) * 1e3);
14303
14303
  }
14304
14304
  for (xr = "S"; xr.length <= 9; xr += "S")
14305
- ze(xr, DC);
14305
+ We(xr, DC);
14306
14306
  Iy = Zi("Milliseconds", !1);
14307
14307
  ye("z", 0, 0, "zoneAbbr");
14308
14308
  ye("zz", 0, 0, "zoneName");
@@ -14543,12 +14543,12 @@ function fp(e) {
14543
14543
  }
14544
14544
  function WC() {
14545
14545
  var e = this._milliseconds, t = this._days, n = this._months, r = this._data, i, o, s, l, c;
14546
- return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += fp(Yu(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, i = nn(e / 1e3), r.seconds = i % 60, o = nn(i / 60), r.minutes = o % 60, s = nn(o / 60), r.hours = s % 24, t += nn(s / 24), c = nn(Ny(t)), n += c, t -= fp(Yu(c)), l = nn(n / 12), n %= 12, r.days = t, r.months = n, r.years = l, this;
14546
+ return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += fp(Gu(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, i = nn(e / 1e3), r.seconds = i % 60, o = nn(i / 60), r.minutes = o % 60, s = nn(o / 60), r.hours = s % 24, t += nn(s / 24), c = nn(Ny(t)), n += c, t -= fp(Gu(c)), l = nn(n / 12), n %= 12, r.days = t, r.months = n, r.years = l, this;
14547
14547
  }
14548
14548
  function Ny(e) {
14549
14549
  return e * 4800 / 146097;
14550
14550
  }
14551
- function Yu(e) {
14551
+ function Gu(e) {
14552
14552
  return e * 146097 / 4800;
14553
14553
  }
14554
14554
  function YC(e) {
@@ -14565,7 +14565,7 @@ function YC(e) {
14565
14565
  return n / 12;
14566
14566
  }
14567
14567
  else
14568
- switch (t = this._days + Math.round(Yu(this._months)), e) {
14568
+ switch (t = this._days + Math.round(Gu(this._months)), e) {
14569
14569
  case "week":
14570
14570
  return t / 7 + r / 6048e5;
14571
14571
  case "day":
@@ -14690,10 +14690,10 @@ ye("X", 0, 0, "unix");
14690
14690
  ye("x", 0, 0, "valueOf");
14691
14691
  ue("x", wl);
14692
14692
  ue("X", B1);
14693
- ze("X", function(e, t, n) {
14693
+ We("X", function(e, t, n) {
14694
14694
  n._d = new Date(parseFloat(e) * 1e3);
14695
14695
  });
14696
- ze("x", function(e, t, n) {
14696
+ We("x", function(e, t, n) {
14697
14697
  n._d = new Date(Te(e));
14698
14698
  });
14699
14699
  //! moment.js
@@ -15451,11 +15451,11 @@ Wf.default = EA;
15451
15451
  for (var o in r) o !== "default" && !Object.prototype.hasOwnProperty.call(i, o) && t(i, r, o);
15452
15452
  };
15453
15453
  Object.defineProperty(e, "__esModule", { value: !0 }), n(qv, e), n(Hv, e), n(Hy, e), n(Ee(), e), n(St(), e);
15454
- })(Ge);
15455
- const PA = /* @__PURE__ */ dl(Ge), _p = /* @__PURE__ */ b_({
15454
+ })(Ue);
15455
+ const PA = /* @__PURE__ */ dl(Ue), _p = /* @__PURE__ */ b_({
15456
15456
  __proto__: null,
15457
15457
  default: PA
15458
- }, [Ge]), RA = {
15458
+ }, [Ue]), RA = {
15459
15459
  url: sa.api.url
15460
15460
  }, TA = {
15461
15461
  api: {
@@ -15514,15 +15514,15 @@ class jA {
15514
15514
  Je(this, "dataService");
15515
15515
  }
15516
15516
  getUrl() {
15517
- return Nu.getApiUrl() + (DA(Nu.getApiUrl()) ? "api" : "/api");
15517
+ return $u.getApiUrl() + (DA($u.getApiUrl()) ? "api" : "/api");
15518
15518
  }
15519
15519
  async initITC() {
15520
15520
  if (typeof window > "u")
15521
15521
  return;
15522
15522
  const t = JSON.parse(JSON.stringify(TA));
15523
15523
  t.api.baseUrl = this.getUrl();
15524
- const n = new Ge.LocalStorageAdapter("insurances");
15525
- return this.client = new Ge.InsuranceTransmissionClient(n), await this.client.configure(t), this.createConfig(), this.createInsuranceClasses(), this;
15524
+ const n = new Ue.LocalStorageAdapter("insurances");
15525
+ return this.client = new Ue.InsuranceTransmissionClient(n), await this.client.configure(t), this.createConfig(), this.createInsuranceClasses(), this;
15526
15526
  }
15527
15527
  /**
15528
15528
  * @since v1.0.0
@@ -15533,7 +15533,7 @@ class jA {
15533
15533
  * @returns {void} void
15534
15534
  */
15535
15535
  createConfig() {
15536
- this.validation = new Ge.DataValidationService(), this.petService = new Ge.PetService(), this.motorService = new Ge.MotorService(), this.bikeService = new Ge.BikeService(), this.mopedService = new Ge.MopedService(), this.housingService = new Ge.HousingService(), this.homeService = new Ge.HomeService(), this.liabilityService = new Ge.LiabilityService(), this.householdService = new Ge.HouseholdService(), this.documentService = new Ge.DocumentService(), this.packageService = new Ge.PackageService(), this.caravanService = new Ge.CaravanService(), this.dataValidationService = new Ge.DataValidationService(), this.carService = new Ge.CarService(), this.partnerService = new Ge.PartnerService(), this.comparisonService = new Ge.ComparisonService(), this.userService = new Ge.UserService(), this.v1Service = new Ge.V1Service(), this.travelService = new Ge.TravelService(), this.dataService = new Ge.DataService();
15536
+ this.validation = new Ue.DataValidationService(), this.petService = new Ue.PetService(), this.motorService = new Ue.MotorService(), this.bikeService = new Ue.BikeService(), this.mopedService = new Ue.MopedService(), this.housingService = new Ue.HousingService(), this.homeService = new Ue.HomeService(), this.liabilityService = new Ue.LiabilityService(), this.householdService = new Ue.HouseholdService(), this.documentService = new Ue.DocumentService(), this.packageService = new Ue.PackageService(), this.caravanService = new Ue.CaravanService(), this.dataValidationService = new Ue.DataValidationService(), this.carService = new Ue.CarService(), this.partnerService = new Ue.PartnerService(), this.comparisonService = new Ue.ComparisonService(), this.userService = new Ue.UserService(), this.v1Service = new Ue.V1Service(), this.travelService = new Ue.TravelService(), this.dataService = new Ue.DataService();
15537
15537
  }
15538
15538
  /**
15539
15539
  * @since v1.0.0
@@ -15578,14 +15578,10 @@ class jA {
15578
15578
  return i || null;
15579
15579
  }
15580
15580
  }
15581
- let Gu = null, du = null;
15582
- const FA = () => (du || (du = new jA().initITC().then((e) => (Gu = e, e))), du), Ml = () => {
15583
- if (!Gu)
15584
- throw new Error("TransmissionClient is not initialized. Call initTransmissionClient() first.");
15585
- return Gu;
15586
- }, IA = (e) => (e && Nu.configure(e), FA()), LA = "<<COMPARISONID>>", BA = (e) => {
15581
+ let du = null;
15582
+ const FA = () => (du || (du = new jA().initITC().then((e) => e)), du), IA = (e) => (e && $u.configure(e), FA()), LA = "<<COMPARISONID>>", BA = (e) => {
15587
15583
  window.location.href = e;
15588
- }, VA = ({ user: e, details: t }) => new Ge.User({
15584
+ }, VA = ({ user: e, details: t }) => new Ue.User({
15589
15585
  email: e.email || null,
15590
15586
  name: e.firstName || null,
15591
15587
  zip_code: e.zipcode || null,
@@ -16748,7 +16744,7 @@ function JM(e) {
16748
16744
  function Kf(e) {
16749
16745
  return e ? e.flatMap((t) => t.type === it ? Kf(t.children) : [t]) : [];
16750
16746
  }
16751
- const [El] = /* @__PURE__ */ Br("ConfigProvider");
16747
+ const [Ml] = /* @__PURE__ */ Br("ConfigProvider");
16752
16748
  function pu(e) {
16753
16749
  if (e === null || typeof e != "object")
16754
16750
  return !1;
@@ -16782,7 +16778,7 @@ const QM = XM(), eE = /* @__PURE__ */ rw(() => {
16782
16778
  const e = /* @__PURE__ */ ne(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ ne(), n = N(() => {
16783
16779
  for (const o of e.value.values()) if (o) return !0;
16784
16780
  return !1;
16785
- }), r = El({ scrollBody: /* @__PURE__ */ ne(!0) }), i = () => {
16781
+ }), r = Ml({ scrollBody: /* @__PURE__ */ ne(!0) }), i = () => {
16786
16782
  document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.documentElement.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", t.value = void 0;
16787
16783
  };
16788
16784
  return ke(n, (o, s) => {
@@ -16839,7 +16835,7 @@ function vg(e) {
16839
16835
  };
16840
16836
  }
16841
16837
  function Zf(e) {
16842
- const t = El({ dir: /* @__PURE__ */ ne("ltr") });
16838
+ const t = Ml({ dir: /* @__PURE__ */ ne("ltr") });
16843
16839
  return N(() => {
16844
16840
  var n;
16845
16841
  return (e == null ? void 0 : e.value) || ((n = t.dir) == null ? void 0 : n.value) || "ltr";
@@ -16895,7 +16891,7 @@ function oE(e) {
16895
16891
  function bn() {
16896
16892
  const e = Zt(), t = /* @__PURE__ */ ne(), n = N(() => r());
16897
16893
  bc(() => {
16898
- n.value !== r() && Pu(t);
16894
+ n.value !== r() && Ru(t);
16899
16895
  });
16900
16896
  function r() {
16901
16897
  return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : Lr(t);
@@ -17023,7 +17019,7 @@ function fE(e) {
17023
17019
  }
17024
17020
  function Xf(e, t = "reka") {
17025
17021
  let n;
17026
- const r = El({ useId: void 0 });
17022
+ const r = Ml({ useId: void 0 });
17027
17023
  return r.useId ? n = r.useId() : n = ei == null ? void 0 : ei(), t ? `${t}-${n}` : n;
17028
17024
  }
17029
17025
  function dE() {
@@ -17611,7 +17607,7 @@ var TE = /* @__PURE__ */ ce({
17611
17607
  }
17612
17608
  }), DE = TE;
17613
17609
  const Rp = "data-reka-collection-item";
17614
- function Pl(e = {}) {
17610
+ function El(e = {}) {
17615
17611
  const { key: t = "", isProvider: n = !1 } = e, r = `${t}CollectionProvider`;
17616
17612
  let i;
17617
17613
  n ? (i = {
@@ -17916,7 +17912,7 @@ var UE = /* @__PURE__ */ ce({
17916
17912
  "leave"
17917
17913
  ],
17918
17914
  setup(e, { expose: t, emit: n }) {
17919
- const r = e, i = n, { multiple: o, highlightOnHover: s, orientation: l, disabled: c, selectionBehavior: u, dir: a } = /* @__PURE__ */ zi(r), { getItems: f } = Pl({ isProvider: !0 }), { handleTypeaheadSearch: h } = mE(), { primitiveElement: d, currentElement: p } = Rr(), v = dE(), y = Zf(a), m = oE(p), g = /* @__PURE__ */ ne(), b = /* @__PURE__ */ ne(!1), S = /* @__PURE__ */ ne(!0), x = /* @__PURE__ */ Po(r, "modelValue", i, {
17915
+ const r = e, i = n, { multiple: o, highlightOnHover: s, orientation: l, disabled: c, selectionBehavior: u, dir: a } = /* @__PURE__ */ zi(r), { getItems: f } = El({ isProvider: !0 }), { handleTypeaheadSearch: h } = mE(), { primitiveElement: d, currentElement: p } = Rr(), v = dE(), y = Zf(a), m = oE(p), g = /* @__PURE__ */ ne(), b = /* @__PURE__ */ ne(!1), S = /* @__PURE__ */ ne(!0), x = /* @__PURE__ */ Po(r, "modelValue", i, {
17920
17916
  defaultValue: r.defaultValue ?? (o.value ? [] : void 0),
17921
17917
  passive: r.modelValue === void 0,
17922
17918
  deep: !0
@@ -18015,7 +18011,7 @@ var UE = /* @__PURE__ */ ce({
18015
18011
  const Ce = se.indexOf(C.value);
18016
18012
  se = se.slice(Ce + 1);
18017
18013
  }
18018
- We(re, se[0]);
18014
+ Ye(re, se[0]);
18019
18015
  }
18020
18016
  if (se.length) {
18021
18017
  const Ce = !C.value && de === "prev" ? se.length - 1 : 0;
@@ -18023,7 +18019,7 @@ var UE = /* @__PURE__ */ ce({
18023
18019
  }
18024
18020
  if (j.value) return H.trigger(re);
18025
18021
  }
18026
- function We(re, de) {
18022
+ function Ye(re, de) {
18027
18023
  var Ce, w, A;
18028
18024
  if (!(j.value || r.selectionBehavior !== "replace" || !o.value || !Array.isArray(x.value) || (re.altKey || re.ctrlKey || re.metaKey) && !re.shiftKey) && re.shiftKey) {
18029
18025
  const D = f().filter((q) => q.ref.dataset.disabled !== "");
@@ -18133,7 +18129,7 @@ var UE = /* @__PURE__ */ ce({
18133
18129
  }
18134
18130
  },
18135
18131
  setup(e) {
18136
- const { CollectionSlot: t } = Pl(), n = Go(), r = Pc(!1, 10);
18132
+ const { CollectionSlot: t } = El(), n = Go(), r = Pc(!1, 10);
18137
18133
  return (i, o) => (P(), he(_(t), null, {
18138
18134
  default: L(() => [F(_(bt), {
18139
18135
  role: "listbox",
@@ -18292,7 +18288,7 @@ var XE = /* @__PURE__ */ ce({
18292
18288
  },
18293
18289
  emits: ["select"],
18294
18290
  setup(e, { emit: t }) {
18295
- const n = e, r = t, i = Xf(void 0, "reka-listbox-item"), { CollectionItem: o } = Pl(), { forwardRef: s, currentElement: l } = bn(), c = Go(), u = N(() => l.value != null && l.value === c.highlightedElement.value), a = N(() => VE(c.modelValue.value, n.value, c.by)), f = N(() => c.disabled.value || n.disabled);
18291
+ const n = e, r = t, i = Xf(void 0, "reka-listbox-item"), { CollectionItem: o } = El(), { forwardRef: s, currentElement: l } = bn(), c = Go(), u = N(() => l.value != null && l.value === c.highlightedElement.value), a = N(() => VE(c.modelValue.value, n.value, c.by)), f = N(() => c.disabled.value || n.disabled);
18296
18292
  async function h(p) {
18297
18293
  r("select", p), !(p != null && p.defaultPrevented) && !f.value && p && (c.onValueChange(n.value), c.changeHighlight(l.value));
18298
18294
  }
@@ -19211,9 +19207,9 @@ function yP(e) {
19211
19207
  ...i,
19212
19208
  onChange: (o, s) => {
19213
19209
  var l;
19214
- Pu(n), (l = i.onChange) == null || l.call(i, o, s);
19210
+ Ru(n), (l = i.onChange) == null || l.call(i, o, s);
19215
19211
  }
19216
- }), t._willUpdate(), Pu(n);
19212
+ }), t._willUpdate(), Ru(n);
19217
19213
  },
19218
19214
  {
19219
19215
  immediate: !0
@@ -19251,7 +19247,7 @@ var _P = /* @__PURE__ */ ce({
19251
19247
  }
19252
19248
  },
19253
19249
  setup(e) {
19254
- const t = e, n = gn(), r = Go(), i = yw(), { getItems: o } = Pl();
19250
+ const t = e, n = gn(), r = Go(), i = yw(), { getItems: o } = El();
19255
19251
  r.isVirtual.value = !0;
19256
19252
  const s = N(() => {
19257
19253
  const h = i.value;
@@ -20051,11 +20047,11 @@ const UP = function(e) {
20051
20047
  }
20052
20048
  };
20053
20049
  };
20054
- function Rl() {
20050
+ function Pl() {
20055
20051
  return typeof window < "u";
20056
20052
  }
20057
20053
  function Vr(e) {
20058
- return Tl(e) ? (e.nodeName || "").toLowerCase() : "#document";
20054
+ return Rl(e) ? (e.nodeName || "").toLowerCase() : "#document";
20059
20055
  }
20060
20056
  function Yt(e) {
20061
20057
  var t;
@@ -20063,19 +20059,19 @@ function Yt(e) {
20063
20059
  }
20064
20060
  function Un(e) {
20065
20061
  var t;
20066
- return (t = (Tl(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
20062
+ return (t = (Rl(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
20067
20063
  }
20068
- function Tl(e) {
20069
- return Rl() ? e instanceof Node || e instanceof Yt(e).Node : !1;
20064
+ function Rl(e) {
20065
+ return Pl() ? e instanceof Node || e instanceof Yt(e).Node : !1;
20070
20066
  }
20071
20067
  function vn(e) {
20072
- return Rl() ? e instanceof Element || e instanceof Yt(e).Element : !1;
20068
+ return Pl() ? e instanceof Element || e instanceof Yt(e).Element : !1;
20073
20069
  }
20074
20070
  function mr(e) {
20075
- return Rl() ? e instanceof HTMLElement || e instanceof Yt(e).HTMLElement : !1;
20071
+ return Pl() ? e instanceof HTMLElement || e instanceof Yt(e).HTMLElement : !1;
20076
20072
  }
20077
20073
  function $p(e) {
20078
- return !Rl() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Yt(e).ShadowRoot;
20074
+ return !Pl() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Yt(e).ShadowRoot;
20079
20075
  }
20080
20076
  function Ko(e) {
20081
20077
  const {
@@ -20089,7 +20085,7 @@ function Ko(e) {
20089
20085
  function YP(e) {
20090
20086
  return /^(table|td|th)$/.test(Vr(e));
20091
20087
  }
20092
- function Dl(e) {
20088
+ function Tl(e) {
20093
20089
  try {
20094
20090
  if (e.matches(":popover-open"))
20095
20091
  return !0;
@@ -20112,7 +20108,7 @@ function ZP(e) {
20112
20108
  for (; mr(t) && !Ui(t); ) {
20113
20109
  if (nd(t))
20114
20110
  return t;
20115
- if (Dl(t))
20111
+ if (Tl(t))
20116
20112
  return null;
20117
20113
  t = Dr(t);
20118
20114
  }
@@ -20127,7 +20123,7 @@ function Ui(e) {
20127
20123
  function yn(e) {
20128
20124
  return Yt(e).getComputedStyle(e);
20129
20125
  }
20130
- function jl(e) {
20126
+ function Dl(e) {
20131
20127
  return vn(e) ? {
20132
20128
  scrollLeft: e.scrollLeft,
20133
20129
  scrollTop: e.scrollTop
@@ -20226,12 +20222,12 @@ function li(e, t, n, r) {
20226
20222
  y: u
20227
20223
  });
20228
20224
  }
20229
- function Fl(e, t) {
20230
- const n = jl(e).scrollLeft;
20225
+ function jl(e, t) {
20226
+ const n = Dl(e).scrollLeft;
20231
20227
  return t ? t.left + n : li(Un(e)).left + n;
20232
20228
  }
20233
20229
  function Mg(e, t) {
20234
- const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Fl(e, n), i = n.top + t.scrollTop;
20230
+ const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - jl(e, n), i = n.top + t.scrollTop;
20235
20231
  return {
20236
20232
  x: r,
20237
20233
  y: i
@@ -20244,7 +20240,7 @@ function QP(e) {
20244
20240
  offsetParent: r,
20245
20241
  strategy: i
20246
20242
  } = e;
20247
- const o = i === "fixed", s = Un(r), l = t ? Dl(t.floating) : !1;
20243
+ const o = i === "fixed", s = Un(r), l = t ? Tl(t.floating) : !1;
20248
20244
  if (r === s || l && o)
20249
20245
  return n;
20250
20246
  let c = {
@@ -20252,7 +20248,7 @@ function QP(e) {
20252
20248
  scrollTop: 0
20253
20249
  }, u = jn(1);
20254
20250
  const a = jn(0), f = mr(r);
20255
- if ((f || !f && !o) && ((Vr(r) !== "body" || Ko(s)) && (c = jl(r)), f)) {
20251
+ if ((f || !f && !o) && ((Vr(r) !== "body" || Ko(s)) && (c = Dl(r)), f)) {
20256
20252
  const d = li(r);
20257
20253
  u = Bi(r), a.x = d.x + r.clientLeft, a.y = d.y + r.clientTop;
20258
20254
  }
@@ -20268,8 +20264,8 @@ function eR(e) {
20268
20264
  return Array.from(e.getClientRects());
20269
20265
  }
20270
20266
  function tR(e) {
20271
- const t = Un(e), n = jl(e), r = e.ownerDocument.body, i = zt(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = zt(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
20272
- let s = -n.scrollLeft + Fl(e);
20267
+ const t = Un(e), n = Dl(e), r = e.ownerDocument.body, i = zt(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = zt(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
20268
+ let s = -n.scrollLeft + jl(e);
20273
20269
  const l = -n.scrollTop;
20274
20270
  return yn(r).direction === "rtl" && (s += zt(t.clientWidth, r.clientWidth) - i), {
20275
20271
  width: i,
@@ -20287,7 +20283,7 @@ function nR(e, t) {
20287
20283
  const a = rd();
20288
20284
  (!a || a && t === "fixed") && (l = i.offsetLeft, c = i.offsetTop);
20289
20285
  }
20290
- const u = Fl(r);
20286
+ const u = jl(r);
20291
20287
  if (u <= 0) {
20292
20288
  const a = r.ownerDocument, f = a.body, h = getComputedStyle(f), d = a.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, p = Math.abs(r.clientWidth - f.clientWidth - d);
20293
20289
  p <= qp && (o -= p);
@@ -20351,7 +20347,7 @@ function oR(e) {
20351
20347
  rootBoundary: r,
20352
20348
  strategy: i
20353
20349
  } = e;
20354
- const s = [...n === "clippingAncestors" ? Dl(t) ? [] : iR(t, this._c) : [].concat(n), r], l = Up(t, s[0], i);
20350
+ const s = [...n === "clippingAncestors" ? Tl(t) ? [] : iR(t, this._c) : [].concat(n), r], l = Up(t, s[0], i);
20355
20351
  let c = l.top, u = l.right, a = l.bottom, f = l.left;
20356
20352
  for (let h = 1; h < s.length; h++) {
20357
20353
  const d = Up(t, s[h], i);
@@ -20382,10 +20378,10 @@ function aR(e, t, n) {
20382
20378
  };
20383
20379
  const c = jn(0);
20384
20380
  function u() {
20385
- c.x = Fl(i);
20381
+ c.x = jl(i);
20386
20382
  }
20387
20383
  if (r || !r && !o)
20388
- if ((Vr(t) !== "body" || Ko(i)) && (l = jl(t)), r) {
20384
+ if ((Vr(t) !== "body" || Ko(i)) && (l = Dl(t)), r) {
20389
20385
  const d = li(t, !0, o, t);
20390
20386
  c.x = d.x + t.clientLeft, c.y = d.y + t.clientTop;
20391
20387
  } else i && u();
@@ -20411,7 +20407,7 @@ function Hp(e, t) {
20411
20407
  }
20412
20408
  function Pg(e, t) {
20413
20409
  const n = Yt(e);
20414
- if (Dl(e))
20410
+ if (Tl(e))
20415
20411
  return n;
20416
20412
  if (!mr(e)) {
20417
20413
  let i = Dr(e);
@@ -20558,7 +20554,7 @@ function vR(e) {
20558
20554
  function sc(e) {
20559
20555
  if (vR(e)) {
20560
20556
  const t = e.$el;
20561
- return Tl(t) && Vr(t) === "#comment" ? null : t;
20557
+ return Rl(t) && Vr(t) === "#comment" ? null : t;
20562
20558
  }
20563
20559
  return e;
20564
20560
  }
@@ -20683,7 +20679,7 @@ const _R = ["dir"], bR = {
20683
20679
  positionStrategy: "fixed",
20684
20680
  updatePositionStrategy: "optimized",
20685
20681
  prioritizePosition: !1
20686
- }, [XF, wR] = /* @__PURE__ */ Br("PopperContent");
20682
+ }, [QF, wR] = /* @__PURE__ */ Br("PopperContent");
20687
20683
  var SR = /* @__PURE__ */ ce({
20688
20684
  inheritAttrs: !1,
20689
20685
  __name: "PopperContent",
@@ -21053,10 +21049,10 @@ var kR = /* @__PURE__ */ ce({
21053
21049
  let E = 0;
21054
21050
  const I = /* @__PURE__ */ new Map(), me = /* @__PURE__ */ new Set();
21055
21051
  for (const [xe, Pe] of U.value) {
21056
- const We = H(Pe, J.value);
21057
- I.set(xe, We ? 1 : 0), We && E++;
21052
+ const Ye = H(Pe, J.value);
21053
+ I.set(xe, Ye ? 1 : 0), Ye && E++;
21058
21054
  }
21059
- for (const [xe, Pe] of $.value) for (const We of Pe) if (I.get(We) > 0) {
21055
+ for (const [xe, Pe] of $.value) for (const Ye of Pe) if (I.get(Ye) > 0) {
21060
21056
  me.add(xe);
21061
21057
  break;
21062
21058
  }
@@ -21141,7 +21137,7 @@ var kR = /* @__PURE__ */ ce({
21141
21137
  }));
21142
21138
  }
21143
21139
  }), CR = kR;
21144
- const [QF, AR] = /* @__PURE__ */ Br("ComboboxContent");
21140
+ const [eI, AR] = /* @__PURE__ */ Br("ComboboxContent");
21145
21141
  var MR = /* @__PURE__ */ ce({
21146
21142
  __name: "ComboboxContentImpl",
21147
21143
  props: {
@@ -21771,7 +21767,7 @@ var LR = /* @__PURE__ */ ce({
21771
21767
  }
21772
21768
  }), qR = $R;
21773
21769
  function UR(e) {
21774
- const t = El({ nonce: /* @__PURE__ */ ne() });
21770
+ const t = Ml({ nonce: /* @__PURE__ */ ne() });
21775
21771
  return N(() => {
21776
21772
  var n;
21777
21773
  return (e == null ? void 0 : e.value) || ((n = t.nonce) == null ? void 0 : n.value);
@@ -22395,7 +22391,7 @@ function xT(e) {
22395
22391
  function Gp(e) {
22396
22392
  if (xT(e)) {
22397
22393
  const t = e.$el;
22398
- return Tl(t) && Vr(t) === "#comment" ? null : t;
22394
+ return Rl(t) && Vr(t) === "#comment" ? null : t;
22399
22395
  }
22400
22396
  return e;
22401
22397
  }
@@ -22831,8 +22827,8 @@ const Vg = /* @__PURE__ */ CT(AT, [["render", ET]]), Oe = /* @__PURE__ */ ce({
22831
22827
  }, x = (E, I) => {
22832
22828
  const me = (I == null ? void 0 : I.validateAt) ?? r.validateAt;
22833
22829
  v(E, BT);
22834
- const xe = a(E), Pe = f(E, me), We = h(E), lt = d(E);
22835
- return [xe, Pe, We, lt];
22830
+ const xe = a(E), Pe = f(E, me), Ye = h(E), lt = d(E);
22831
+ return [xe, Pe, Ye, lt];
22836
22832
  }, k = (E) => {
22837
22833
  const I = a(E), me = (de, se) => {
22838
22834
  const Ce = (se == null ? void 0 : se.validateAt) ?? r.validateAt, w = Su(E, de);
@@ -22843,13 +22839,13 @@ const Vg = /* @__PURE__ */ CT(AT, [["render", ET]]), Oe = /* @__PURE__ */ ce({
22843
22839
  }, Pe = (de) => {
22844
22840
  const se = Su(E, de);
22845
22841
  return d(se);
22846
- }, We = xe(E);
22842
+ }, Ye = xe(E);
22847
22843
  return {
22848
22844
  fields: I,
22849
22845
  getAttrs: me,
22850
22846
  getError: xe,
22851
22847
  getMeta: Pe,
22852
- arrayError: We,
22848
+ arrayError: Ye,
22853
22849
  push: (de, se = 1) => {
22854
22850
  if (!I.value) {
22855
22851
  console.warn(`Fields at path "${E}" is not initialized`);
@@ -23140,13 +23136,13 @@ function ZT(e) {
23140
23136
  function JT(e) {
23141
23137
  return !sd(e) && (KT(e) || ZT(e));
23142
23138
  }
23143
- const XT = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, Il = (e) => e.match(XT) || [], Ll = (e) => e[0].toUpperCase() + e.slice(1), ad = (e, t) => Il(e).join(t).toLowerCase(), qg = (e) => Il(e).reduce(
23139
+ const XT = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, Fl = (e) => e.match(XT) || [], Il = (e) => e[0].toUpperCase() + e.slice(1), ad = (e, t) => Fl(e).join(t).toLowerCase(), qg = (e) => Fl(e).reduce(
23144
23140
  (t, n) => `${t}${t ? n[0].toUpperCase() + n.slice(1).toLowerCase() : n.toLowerCase()}`,
23145
23141
  ""
23146
- ), QT = (e) => Ll(qg(e)), eD = (e) => ad(e, "_"), tD = (e) => ad(e, "-"), nD = (e) => Ll(ad(e, " ")), rD = (e) => Il(e).map(Ll).join(" ");
23142
+ ), QT = (e) => Il(qg(e)), eD = (e) => ad(e, "_"), tD = (e) => ad(e, "-"), nD = (e) => Il(ad(e, " ")), rD = (e) => Fl(e).map(Il).join(" ");
23147
23143
  var xu = {
23148
- words: Il,
23149
- upperFirst: Ll,
23144
+ words: Fl,
23145
+ upperFirst: Il,
23150
23146
  camelCase: qg,
23151
23147
  pascalCase: QT,
23152
23148
  snakeCase: eD,
@@ -24754,571 +24750,58 @@ class r_ extends sn {
24754
24750
  }
24755
24751
  }
24756
24752
  jt.prototype = r_.prototype;
24757
- const $D = (e) => ({
24758
- zipCode: e.ZipCode,
24759
- houseNumber: String(e.HouseNumber),
24760
- houseNumberAddition: e.HouseNumberAddition,
24761
- city: e.Place,
24762
- street: e.Street
24763
- }), om = /^\d{4}\s?[a-zA-Z]{2}$/, sm = /^\d+$/, am = {
24764
- "needs-addition": "Een toevoeging is verplicht",
24765
- "not-found": "Postcode en huisnummer combinatie onbekend.",
24766
- error: "Adres ophalen is mislukt. Probeer het opnieuw."
24767
- };
24768
- function lm(e) {
24769
- return e.replace(/\s/g, "").toUpperCase();
24770
- }
24771
- const fd = "NO_ADDITION";
24772
- function yr(e) {
24773
- return e === fd ? "" : e.replace("-", "");
24774
- }
24775
- const qD = (e) => e instanceof Error, i_ = (e) => {
24776
- if (qD(e))
24777
- throw e;
24778
- return null;
24779
- }, o_ = (e, t, n) => Ml().dataValidationService.validateZipCode(e, t, n).then((r) => r).catch(i_), UD = (e, t) => Ml().homeService.getAddition({ zipcode: e, houseNumber: t }).then((n) => n ?? []).catch(i_), HD = async (e, t) => {
24780
- const [n, r] = await Promise.all([
24781
- o_(e, t),
24782
- UD(e, t)
24783
- ]);
24784
- return !n && !(r != null && r.length) ? null : {
24785
- validWithoutAddition: !!n,
24786
- template: n,
24787
- additions: r ?? []
24788
- };
24789
- }, zD = (e) => {
24790
- const t = e.additions.map((n) => ({
24791
- title: n,
24792
- value: yr(n)
24793
- }));
24794
- return e.validWithoutAddition && t.length ? [{ title: "Geen toevoeging", value: fd }, ...t] : t;
24795
- }, pi = (e) => ({
24796
- zipCode: (e == null ? void 0 : e.zipCode) ?? "",
24797
- houseNumber: (e == null ? void 0 : e.houseNumber) ?? "",
24798
- houseNumberAddition: e ? e.houseNumberAddition || fd : ""
24799
- }), mi = (e = "address") => {
24800
- const t = /* @__PURE__ */ ne(null), n = /* @__PURE__ */ ne([]), r = N(() => {
24801
- var u, a;
24802
- return {
24803
- street: ((u = t.value) == null ? void 0 : u.street) ?? "",
24804
- city: ((a = t.value) == null ? void 0 : a.city) ?? ""
24805
- };
24806
- });
24807
- let i = 0, o = null;
24808
- const s = async (u) => {
24809
- const a = lm(u.zipCode), f = u.houseNumber.trim(), h = yr(u.houseNumberAddition), d = `${a}:${f}`;
24810
- try {
24811
- let p = (o == null ? void 0 : o.key) === d ? o : null;
24812
- if (!p) {
24813
- const y = await HD(a, f);
24814
- if (!y)
24815
- return { status: "not-found", options: [], address: null };
24816
- p = o = { key: d, verdict: y };
24817
- }
24818
- const v = zD(p.verdict);
24819
- if (p.verdict.additions.length && !u.houseNumberAddition)
24820
- return { status: "needs-addition", options: v, address: null };
24821
- if (!p.verdict.template) {
24822
- const y = await o_(a, f, h);
24823
- if (!y)
24824
- return { status: "not-found", options: [], address: null };
24825
- p.verdict.template = y;
24753
+ var i_ = { exports: {} };
24754
+ (function(e, t) {
24755
+ (function(n, r) {
24756
+ e.exports = r();
24757
+ })(O, function() {
24758
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", l = "minute", c = "hour", u = "day", a = "week", f = "month", h = "quarter", d = "year", p = "date", v = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, m = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(z) {
24759
+ var M = ["th", "st", "nd", "rd"], T = z % 100;
24760
+ return "[" + z + (M[(T - 20) % 10] || M[T] || M[0]) + "]";
24761
+ } }, b = function(z, M, T) {
24762
+ var V = String(z);
24763
+ return !V || V.length >= M ? z : "" + Array(M + 1 - V.length).join(T) + z;
24764
+ }, S = { s: b, z: function(z) {
24765
+ var M = -z.utcOffset(), T = Math.abs(M), V = Math.floor(T / 60), B = T % 60;
24766
+ return (M <= 0 ? "+" : "-") + b(V, 2, "0") + ":" + b(B, 2, "0");
24767
+ }, m: function z(M, T) {
24768
+ if (M.date() < T.date()) return -z(T, M);
24769
+ var V = 12 * (T.year() - M.year()) + (T.month() - M.month()), B = M.clone().add(V, f), G = T - B < 0, E = M.clone().add(V + (G ? -1 : 1), f);
24770
+ return +(-(V + (T - B) / (G ? B - E : E - B)) || 0);
24771
+ }, a: function(z) {
24772
+ return z < 0 ? Math.ceil(z) || 0 : Math.floor(z);
24773
+ }, p: function(z) {
24774
+ return { M: f, y: d, w: a, d: u, D: p, h: c, m: l, s, ms: o, Q: h }[z] || String(z || "").toLowerCase().replace(/s$/, "");
24775
+ }, u: function(z) {
24776
+ return z === void 0;
24777
+ } }, x = "en", k = {};
24778
+ k[x] = g;
24779
+ var C = "$isDayjsObject", R = function(z) {
24780
+ return z instanceof H || !(!z || !z[C]);
24781
+ }, j = function z(M, T, V) {
24782
+ var B;
24783
+ if (!M) return x;
24784
+ if (typeof M == "string") {
24785
+ var G = M.toLowerCase();
24786
+ k[G] && (B = G), T && (k[G] = T, B = G);
24787
+ var E = M.split("-");
24788
+ if (!B && E.length > 1) return z(E[0]);
24789
+ } else {
24790
+ var I = M.name;
24791
+ k[I] = M, B = I;
24826
24792
  }
24827
- return {
24828
- status: "resolved",
24829
- options: v,
24830
- address: h ? { ...p.verdict.template, HouseNumberAddition: h } : p.verdict.template
24831
- };
24832
- } catch (p) {
24833
- return console.error("Error on ITC address lookup", p), { status: "error", options: [], address: null };
24834
- }
24835
- }, l = async (u) => {
24836
- const a = ++i, f = await s(u), h = a !== i;
24837
- return h || (n.value = f.options, t.value = f.address ? $D(f.address) : null), { ...f, stale: h };
24838
- }, c = jt({
24839
- zipCode: Ct().required("Vul je postcode in").matches(om, "Postcode is incorrect"),
24840
- houseNumber: Ct().required("Huisnummer is verplicht").matches(sm, "Huisnummer is incorrect"),
24841
- houseNumberAddition: Ct().defined()
24842
- }).test("address-lookup", async (u, a) => {
24843
- const f = lm(u.zipCode ?? ""), h = String(u.houseNumber ?? "").trim();
24844
- if (!om.test(f) || !sm.test(h))
24845
- return !0;
24846
- const { status: d, stale: p } = await l(u);
24847
- return p || d === "resolved" ? !0 : d === "needs-addition" ? a.createError({
24848
- path: `${a.path}.houseNumberAddition`,
24849
- message: am[d]
24850
- }) : a.createError({ message: am[d] });
24851
- });
24852
- return { path: e, addressSchema: c, resolvedAddress: t, resolvedFields: r, additionOptions: n };
24853
- }, dd = {
24854
- [De.Car]: {
24855
- apiTypes: ["Car", "Van"],
24856
- dutch: "auto",
24857
- icon: "fa-car"
24858
- },
24859
- [De.Motor]: {
24860
- apiTypes: ["Motor", "MP3Motor"],
24861
- dutch: "motor",
24862
- icon: "fa-motorcycle"
24863
- },
24864
- [De.Moped]: {
24865
- apiTypes: ["Moped"],
24866
- dutch: "brommer",
24867
- icon: "moped-solid"
24868
- },
24869
- [De.Caravan]: {
24870
- apiTypes: ["Caravan"],
24871
- dutch: "caravan",
24872
- icon: "fa-caravan-alt"
24873
- }
24874
- }, WD = Object.fromEntries(
24875
- Object.values(dd).flatMap(
24876
- ({ apiTypes: e, icon: t }) => e.map((n) => [n.toLowerCase(), t])
24877
- )
24878
- ), YD = {
24879
- brommobiel: "fa-car-side",
24880
- "speed pedelec": "fa-bicycle"
24881
- }, GD = (e) => !!(e != null && e.Brand) && !!e.Model && !!e.ManufacturingYear, KD = (e) => {
24882
- if (!e)
24883
- return "";
24884
- const t = String(e.Model ?? "").toLowerCase().trim(), n = String(e.VehicleType ?? "").toLowerCase();
24885
- return YD[t] ?? WD[n] ?? "";
24886
- }, ZD = (e) => e ? `${e.Brand} ${e.Model} (${e.ManufacturingYear})` : "", Na = 6, s_ = [
24887
- "@@-##-@@",
24888
- "##-##-@@",
24889
- "##-@@-@@",
24890
- "@@-@@-##",
24891
- "##-@@-##",
24892
- "@@-##-##",
24893
- "##-@@@-#",
24894
- "@@-###-@",
24895
- "@-###-@@",
24896
- "#-@@@-##",
24897
- "@@@-##-@",
24898
- "@-##-@@@",
24899
- "#-@@-###",
24900
- "###-@@-#"
24901
- ];
24902
- function Vi(e) {
24903
- return e.replace(/[\s\\-]/g, "");
24904
- }
24905
- const um = "*".repeat(Na), JD = s_.map((e) => e.replace(/-/g, ""));
24906
- function XD(e) {
24907
- const t = Vi(e).slice(0, Na);
24908
- if (t.length < Na)
24909
- return um;
24910
- const n = [...t].map((i) => /[0-9]/.test(i) ? "#" : "@").join(""), r = JD.indexOf(n);
24911
- return r === -1 ? um : s_[r];
24912
- }
24913
- const QD = {
24914
- key: 0,
24915
- class: "vd-input-license-plate__loading-information"
24916
- }, ej = ["src"], Bl = /* @__PURE__ */ ce({
24917
- inheritAttrs: !1,
24918
- __name: "VdLicensePlate",
24919
- props: /* @__PURE__ */ At({
24920
- name: {},
24921
- label: { default: "Kenteken" },
24922
- errorMessage: { default: null },
24923
- loading: { type: Boolean, default: !1 },
24924
- required: { type: Boolean, default: !1 }
24925
- }, {
24926
- modelValue: { default: "" },
24927
- modelModifiers: {},
24928
- vehicleData: { default: null },
24929
- vehicleDataModifiers: {}
24930
- }),
24931
- emits: /* @__PURE__ */ At(["input"], ["update:modelValue", "update:vehicleData"]),
24932
- setup(e, { emit: t }) {
24933
- const n = { mask: XD }, r = e, i = rn(e, "modelValue"), o = rn(e, "vehicleData"), s = t, l = dv(), c = gn(), u = N({
24934
- get: () => i.value ?? "",
24935
- set: (v) => {
24936
- i.value = v, s("input", v);
24937
- }
24938
- }), a = (v, y) => Vi(v).toUpperCase() === Vi(y).toUpperCase();
24939
- ke(i, (v) => {
24940
- o.value && !a(v, o.value.LicensePlate) && (o.value = null);
24941
- });
24942
- const f = N(
24943
- () => GD(o.value) ? o.value : null
24944
- ), h = N(
24945
- () => r.loading || !!f.value && !r.errorMessage
24946
- ), d = N(() => KD(f.value)), p = N(() => ZD(f.value));
24947
- return (v, y) => (P(), he(ai, ie({
24948
- capitalize: "",
24949
- autocomplete: ""
24950
- }, _(l), {
24951
- modelValue: u.value,
24952
- "onUpdate:modelValue": y[0] || (y[0] = (m) => u.value = m),
24953
- name: e.name,
24954
- label: e.label,
24955
- required: e.required,
24956
- "error-message": e.errorMessage || null,
24957
- loading: e.loading,
24958
- mask: n,
24959
- class: "vd-input-license-plate"
24960
- }), ll({ _: 2 }, [
24961
- _(c).label ? {
24962
- name: "label",
24963
- fn: L(() => [
24964
- fe(v.$slots, "label")
24965
- ]),
24966
- key: "0"
24967
- } : void 0,
24968
- _(c).popover ? {
24969
- name: "popover",
24970
- fn: L(() => [
24971
- fe(v.$slots, "popover")
24972
- ]),
24973
- key: "1"
24974
- } : void 0,
24975
- h.value ? {
24976
- name: "information",
24977
- fn: L(() => [
24978
- e.loading ? (P(), ee("div", QD, [...y[1] || (y[1] = [
24979
- ge("i", { class: "fas fa-circle-notch vd-input-license-plate__loading-icon" }, null, -1),
24980
- Xe(" Voertuig gegevens ophalen... ", -1)
24981
- ])])) : f.value ? (P(), ee(it, { key: 1 }, [
24982
- d.value ? (P(), ee("img", {
24983
- key: 0,
24984
- src: `https://d12bmfj3oyxu0t.cloudfront.net/vergelijkdirect/icons/${d.value}.svg`,
24985
- class: "vd-field__svg-message-icon",
24986
- alt: "vehicle-icon"
24987
- }, null, 8, ej)) : pe("", !0),
24988
- Xe(" " + Re(p.value), 1)
24989
- ], 64)) : pe("", !0)
24990
- ]),
24991
- key: "2"
24992
- } : void 0
24993
- ]), 1040, ["modelValue", "name", "label", "required", "error-message", "loading"]));
24994
- }
24995
- }), uo = /* @__PURE__ */ new Map(), a_ = (e, t) => `${t}:${e}`, tj = {
24996
- "wrong-type": (e) => `Het ingevoerde kenteken is geen ${dd[e].dutch}`,
24997
- unknown: () => "Voertuig onbekend - Voer ander kenteken in of neem contact op",
24998
- "not-found": () => "Kenteken onbekend",
24999
- error: () => "Kenteken is incorrect"
25000
- }, nj = async (e, t) => {
25001
- try {
25002
- const n = await Ml().dataService.findVehicle(e, t);
25003
- if (Array.isArray(n) || !n || !Object.keys(n).length)
25004
- return { status: "not-found" };
25005
- const r = n;
25006
- return r.VehicleType ? dd[t].apiTypes.includes(r.VehicleType) ? { status: "found", data: r } : { status: "wrong-type" } : { status: "unknown" };
25007
- } catch (n) {
25008
- return console.error("Error on ITC findVehicle", n), { status: "error" };
25009
- }
25010
- }, rj = (e, t) => {
25011
- const n = a_(e, t);
25012
- let r = uo.get(n);
25013
- return r || (r = nj(e, t), uo.set(n, r), r.then(
25014
- ({ status: i }) => {
25015
- i === "error" && uo.delete(n);
25016
- },
25017
- () => uo.delete(n)
25018
- )), r;
25019
- }, Vl = (e, t = {}) => {
25020
- var s;
25021
- const n = /* @__PURE__ */ ne(t.initialData ?? null);
25022
- let r = 0;
25023
- (s = t.initialData) != null && s.LicensePlate && uo.set(
25024
- a_(Vi(t.initialData.LicensePlate), e),
25025
- Promise.resolve({ status: "found", data: t.initialData })
25026
- );
25027
- const i = async (l) => {
25028
- const c = Vi(l), u = ++r, a = await rj(c, e);
25029
- return u === r && (n.value = a.status === "found" ? a.data : null), a;
25030
- }, o = Ct().required("Dit veld is verplicht").test("license-plate-lookup", async (l, c) => {
25031
- if (!l)
25032
- return !0;
25033
- const u = Vi(l);
25034
- if (u.length < Na)
25035
- return c.createError({ message: "Kenteken is incorrect" });
25036
- const { status: a } = await i(u);
25037
- return a === "found" || c.createError({ message: tj[a](e) });
25038
- });
25039
- return { vehicleData: n, licensePlateSchema: o };
25040
- }, ij = (e) => /^\d{8}$/.test(e), oj = (e) => ij(e) ? { companyName: "", kvkNumber: e } : { companyName: e, kvkNumber: "" }, sj = "bezoekadres", aj = (e) => {
25041
- var t, n, r;
25042
- return (r = (n = (t = e._embedded) == null ? void 0 : t.hoofdvestiging) == null ? void 0 : n.adressen) == null ? void 0 : r.find((i) => i.type === sj);
25043
- }, lj = (e) => {
25044
- const t = aj(e), {
25045
- huisnummer: n = 0,
25046
- huisletter: r = "",
25047
- huisnummerToevoeging: i = "",
25048
- toevoegingAdres: o = "",
25049
- plaats: s = "",
25050
- postcode: l = "",
25051
- straatnaam: c = "",
25052
- volledigAdres: u = ""
25053
- } = t ?? {};
25054
- return {
25055
- houseNumber: n,
25056
- houseNumberAddition: r || i || o,
25057
- city: s,
25058
- zipCode: l,
25059
- streetName: c,
25060
- fullAddress: u,
25061
- hasVisitingAddress: !!t
25062
- };
25063
- }, uj = (e = []) => {
25064
- var i;
25065
- const [t, n, r] = e.reduce(
25066
- ([o, s, l], c) => {
25067
- const u = {
25068
- isMainActivity: c.indHoofdactiviteit,
25069
- sbiCode: c.sbiCode,
25070
- description: c.sbiOmschrijving
25071
- };
25072
- return (c.indHoofdactiviteit === "Ja" ? o : s).push(u), l.push(u.sbiCode), [o, s, l];
25073
- },
25074
- [[], [], []]
25075
- );
25076
- return {
25077
- mainSBI: ((i = t[0]) == null ? void 0 : i.sbiCode) ?? "",
25078
- otherSBI: r,
25079
- firstSBIs: t,
25080
- secondSBIs: n
25081
- };
25082
- }, cj = (e) => {
25083
- var t, n, r, i;
25084
- return {
25085
- kvkNumber: e.kvkNummer,
25086
- name: e.naam,
25087
- city: ((n = (t = e.adres) == null ? void 0 : t.binnenlandsAdres) == null ? void 0 : n.plaats) ?? "",
25088
- street: ((i = (r = e.adres) == null ? void 0 : r.binnenlandsAdres) == null ? void 0 : i.straatnaam) ?? ""
25089
- };
25090
- }, fj = (e) => {
25091
- var t, n;
25092
- return {
25093
- name: e.naam,
25094
- kvkNumber: e.kvkNummer,
25095
- industry: e.sbiIndustryId,
25096
- numberOfEmployees: e.totaalWerkzamePersonen,
25097
- legalForm: ((n = (t = e._embedded) == null ? void 0 : t.eigenaar) == null ? void 0 : n.rechtsvorm) ?? "",
25098
- ...lj(e),
25099
- ...uj(e.sbiActiviteiten)
25100
- };
25101
- }, dj = 30, hj = ["hoofdvestiging", "nevenvestiging"], pj = "IPD5200", mj = (e) => {
25102
- var r, i;
25103
- const t = e, n = (i = (r = t == null ? void 0 : t.response) == null ? void 0 : r.data) == null ? void 0 : i.fout;
25104
- if (Array.isArray(n))
25105
- return n;
25106
- if (Array.isArray(t == null ? void 0 : t.fout))
25107
- return t.fout;
25108
- if (typeof (t == null ? void 0 : t.message) == "string")
25109
- try {
25110
- const o = JSON.parse(t.message);
25111
- if (Array.isArray(o == null ? void 0 : o.fout))
25112
- return o.fout;
25113
- } catch {
25114
- }
25115
- }, vj = (e) => {
25116
- var t;
25117
- return ((t = mj(e)) == null ? void 0 : t.some((n) => n.code === pj)) ?? !1;
25118
- }, yj = () => {
25119
- const { dataService: e } = Ml();
25120
- return { search: async (r) => {
25121
- try {
25122
- const i = await e.searchBusinessInfoV2(oj(r), 1, dj);
25123
- return ((i == null ? void 0 : i.resultaten) ?? []).filter((s) => hj.includes(s.type)).map(cj);
25124
- } catch (i) {
25125
- const o = await i;
25126
- if (vj(o))
25127
- return [];
25128
- throw o;
25129
- }
25130
- }, getDetails: async (r) => {
25131
- const i = await e.getProfileInfo(r);
25132
- return fj(i);
25133
- } };
25134
- }, gj = { class: "vd-combobox__multiline" }, _j = { class: "vd-combobox__title" }, bj = { class: "vd-combobox__subtext" }, wj = { class: "vd-combobox__subtext" }, Sj = 400, cm = 3, Oj = "Helaas, we hebben geen resultaten gevonden. Probeer te zoeken op de exacte naam waarmee je bedrijf is geregistreerd bij de Kamer van Koophandel, of gebruik je volledige KvK-nummer.", xj = "Typ je bedrijfsnaam of KvK-nummer", kj = "Aan het zoeken…", fm = "Er ging iets mis bij het ophalen van de gegevens. Probeer het later opnieuw.", Cj = /* @__PURE__ */ ce({
25135
- inheritAttrs: !1,
25136
- __name: "VdCompanySelect",
25137
- props: /* @__PURE__ */ At({
25138
- name: { default: "company" },
25139
- label: { default: "Selecteer de naam van je bedrijf" },
25140
- placeholder: { default: "Bedrijfsnaam of KvK-nummer" },
25141
- disabled: { type: Boolean },
25142
- errorMessage: { default: null }
25143
- }, {
25144
- modelValue: {},
25145
- modelModifiers: {}
25146
- }),
25147
- emits: /* @__PURE__ */ At(["blur", "error"], ["update:modelValue"]),
25148
- setup(e, { emit: t }) {
25149
- const n = t, r = dv(), i = gn(), o = rn(e, "modelValue"), { search: s, getDetails: l } = yj(), c = /* @__PURE__ */ ne(), u = /* @__PURE__ */ ne(), a = /* @__PURE__ */ ne(), f = /* @__PURE__ */ ne(""), h = aw(f, Sj, { maxWait: 2e3 }), d = /* @__PURE__ */ ne(!0), {
25150
- state: p,
25151
- isLoading: v,
25152
- execute: y
25153
- } = ih(
25154
- async (M) => {
25155
- try {
25156
- return { results: await s(M), failed: !1 };
25157
- } catch {
25158
- return { results: [], failed: !0 };
25159
- }
25160
- },
25161
- { results: [], failed: !1 },
25162
- { immediate: !1, resetOnExecute: !1 }
25163
- ), {
25164
- isLoading: m,
25165
- execute: g
25166
- } = ih(
25167
- async (M) => {
25168
- try {
25169
- const T = await l(M);
25170
- return o.value = T, n("error", null), T;
25171
- } catch (T) {
25172
- throw o.value = null, a.value = void 0, c.value = void 0, n("error", fm), T;
25173
- }
25174
- },
25175
- null,
25176
- { immediate: !1, resetOnExecute: !0 }
25177
- ), b = N(() => f.value.length >= cm), S = N(() => b.value ? v.value || f.value !== h.value ? "searching" : p.value.failed ? "error" : p.value.results.length ? "idle" : "no-results" : "idle"), x = N(() => S.value === "searching" ? [] : b.value ? p.value.results : d.value && a.value ? [a.value] : []), k = N(() => S.value === "searching" || m.value), C = N(() => !!o.value && !k.value), R = N(() => {
25178
- const M = o.value;
25179
- return !M || k.value ? "" : M.fullAddress ? `Kvk: ${M.kvkNumber} ${M.fullAddress}` : `Kvk: ${M.kvkNumber}`;
25180
- }), j = N(() => {
25181
- switch (S.value) {
25182
- case "searching":
25183
- return kj;
25184
- case "error":
25185
- return fm;
25186
- case "no-results":
25187
- return Oj;
25188
- default:
25189
- return xj;
25190
- }
25191
- }), U = (M) => {
25192
- var T;
25193
- a.value = M, d.value = !0, M.kvkNumber !== ((T = o.value) == null ? void 0 : T.kvkNumber) ? g(0, M.kvkNumber) : n("error", null);
25194
- }, $ = (M) => {
25195
- n("blur", M);
25196
- }, H = (M) => {
25197
- f.value = M.trim(), d.value = !1;
25198
- }, J = (M) => {
25199
- var T;
25200
- return M.kvkNumber === ((T = o.value) == null ? void 0 : T.kvkNumber) ? o.value.name : M.name;
25201
- }, z = (M) => ({
25202
- kvkNumber: M.kvkNumber,
25203
- name: M.name,
25204
- city: M.city,
25205
- street: M.streetName,
25206
- fullAddress: M.fullAddress
25207
- });
25208
- return ke(u, (M) => {
25209
- M || (f.value = "", d.value = !0);
25210
- }), ke(h, (M) => {
25211
- M && M.length >= cm && y(0, M);
25212
- }), ke(o, (M) => {
25213
- c.value = M ? z(M) : void 0, d.value = !0, M || (a.value = void 0);
25214
- }, { immediate: !0 }), (M, T) => (P(), he(Lg, ie(_(r), {
25215
- modelValue: c.value,
25216
- "onUpdate:modelValue": T[0] || (T[0] = (V) => c.value = V),
25217
- open: u.value,
25218
- "onUpdate:open": T[1] || (T[1] = (V) => u.value = V),
25219
- name: e.name,
25220
- label: e.label,
25221
- placeholder: e.placeholder,
25222
- icon: "far fa-search",
25223
- options: x.value,
25224
- "value-key": null,
25225
- "label-key": "name",
25226
- "display-value": J,
25227
- by: "kvkNumber",
25228
- loading: k.value,
25229
- verified: C.value,
25230
- disabled: e.disabled,
25231
- "no-results-text": j.value,
25232
- "error-message": e.errorMessage,
25233
- "info-message": R.value,
25234
- "ignore-filter": "",
25235
- onSelect: U,
25236
- onBlur: $,
25237
- onSearch: H
25238
- }), ll({
25239
- item: L(({ option: V }) => [
25240
- ge("div", gj, [
25241
- ge("div", _j, Re(V.name), 1),
25242
- ge("span", bj, "Kvk: " + Re(V.kvkNumber), 1),
25243
- ge("span", wj, Re(V.city) + ", " + Re(V.street), 1)
25244
- ])
25245
- ]),
25246
- _: 2
25247
- }, [
25248
- _(i).popover ? {
25249
- name: "popover",
25250
- fn: L(() => [
25251
- fe(M.$slots, "popover")
25252
- ]),
25253
- key: "0"
25254
- } : void 0,
25255
- _(i).information ? {
25256
- name: "information",
25257
- fn: L(() => [
25258
- fe(M.$slots, "information")
25259
- ]),
25260
- key: "1"
25261
- } : void 0
25262
- ]), 1040, ["modelValue", "open", "name", "label", "placeholder", "options", "loading", "verified", "disabled", "no-results-text", "error-message", "info-message"]));
25263
- }
25264
- }), Aj = (e = "Bedrijfsnaam of KVK-nummer is verplicht") => Jg().nullable().required(e).test("has-kvk-number", e, (t) => !!(t != null && t.kvkNumber)), Mj = { min: 18, max: 99 }, Io = "DD-MM-YYYY", Ej = [
25265
- ct.SingleWithoutChildren,
25266
- ct.FamilyWithoutChildren,
25267
- ct.SingleWithChildren,
25268
- ct.FamilyWithChildren
25269
- ], l_ = [Ln.Yes, Ln.No];
25270
- var u_ = { exports: {} };
25271
- (function(e, t) {
25272
- (function(n, r) {
25273
- e.exports = r();
25274
- })(O, function() {
25275
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", l = "minute", c = "hour", u = "day", a = "week", f = "month", h = "quarter", d = "year", p = "date", v = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, m = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(z) {
25276
- var M = ["th", "st", "nd", "rd"], T = z % 100;
25277
- return "[" + z + (M[(T - 20) % 10] || M[T] || M[0]) + "]";
25278
- } }, b = function(z, M, T) {
25279
- var V = String(z);
25280
- return !V || V.length >= M ? z : "" + Array(M + 1 - V.length).join(T) + z;
25281
- }, S = { s: b, z: function(z) {
25282
- var M = -z.utcOffset(), T = Math.abs(M), V = Math.floor(T / 60), B = T % 60;
25283
- return (M <= 0 ? "+" : "-") + b(V, 2, "0") + ":" + b(B, 2, "0");
25284
- }, m: function z(M, T) {
25285
- if (M.date() < T.date()) return -z(T, M);
25286
- var V = 12 * (T.year() - M.year()) + (T.month() - M.month()), B = M.clone().add(V, f), G = T - B < 0, E = M.clone().add(V + (G ? -1 : 1), f);
25287
- return +(-(V + (T - B) / (G ? B - E : E - B)) || 0);
25288
- }, a: function(z) {
25289
- return z < 0 ? Math.ceil(z) || 0 : Math.floor(z);
25290
- }, p: function(z) {
25291
- return { M: f, y: d, w: a, d: u, D: p, h: c, m: l, s, ms: o, Q: h }[z] || String(z || "").toLowerCase().replace(/s$/, "");
25292
- }, u: function(z) {
25293
- return z === void 0;
25294
- } }, x = "en", k = {};
25295
- k[x] = g;
25296
- var C = "$isDayjsObject", R = function(z) {
25297
- return z instanceof H || !(!z || !z[C]);
25298
- }, j = function z(M, T, V) {
25299
- var B;
25300
- if (!M) return x;
25301
- if (typeof M == "string") {
25302
- var G = M.toLowerCase();
25303
- k[G] && (B = G), T && (k[G] = T, B = G);
25304
- var E = M.split("-");
25305
- if (!B && E.length > 1) return z(E[0]);
25306
- } else {
25307
- var I = M.name;
25308
- k[I] = M, B = I;
25309
- }
25310
- return !V && B && (x = B), B || !V && x;
25311
- }, U = function(z, M) {
25312
- if (R(z)) return z.clone();
25313
- var T = typeof M == "object" ? M : {};
25314
- return T.date = z, T.args = arguments, new H(T);
25315
- }, $ = S;
25316
- $.l = j, $.i = R, $.w = function(z, M) {
25317
- return U(z, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
25318
- };
25319
- var H = function() {
25320
- function z(T) {
25321
- this.$L = j(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[C] = !0;
24793
+ return !V && B && (x = B), B || !V && x;
24794
+ }, U = function(z, M) {
24795
+ if (R(z)) return z.clone();
24796
+ var T = typeof M == "object" ? M : {};
24797
+ return T.date = z, T.args = arguments, new H(T);
24798
+ }, $ = S;
24799
+ $.l = j, $.i = R, $.w = function(z, M) {
24800
+ return U(z, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
24801
+ };
24802
+ var H = function() {
24803
+ function z(T) {
24804
+ this.$L = j(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[C] = !0;
25322
24805
  }
25323
24806
  var M = z.prototype;
25324
24807
  return M.parse = function(T) {
@@ -25362,7 +24845,7 @@ var u_ = { exports: {} };
25362
24845
  return G ? Ce : Ce.endOf(u);
25363
24846
  }, me = function(de, se) {
25364
24847
  return $.w(B.toDate()[de].apply(B.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(se)), B);
25365
- }, xe = this.$W, Pe = this.$M, We = this.$D, lt = "set" + (this.$u ? "UTC" : "");
24848
+ }, xe = this.$W, Pe = this.$M, Ye = this.$D, lt = "set" + (this.$u ? "UTC" : "");
25366
24849
  switch (E) {
25367
24850
  case d:
25368
24851
  return G ? I(1, 0) : I(31, 11);
@@ -25370,7 +24853,7 @@ var u_ = { exports: {} };
25370
24853
  return G ? I(1, Pe) : I(0, Pe + 1);
25371
24854
  case a:
25372
24855
  var pt = this.$locale().weekStart || 0, re = (xe < pt ? xe + 7 : xe) - pt;
25373
- return I(G ? We - re : We + (6 - re), Pe);
24856
+ return I(G ? Ye - re : Ye + (6 - re), Pe);
25374
24857
  case u:
25375
24858
  case p:
25376
24859
  return me(lt + "Hours", 0);
@@ -25400,8 +24883,8 @@ var u_ = { exports: {} };
25400
24883
  var B, G = this;
25401
24884
  T = Number(T);
25402
24885
  var E = $.p(V), I = function(Pe) {
25403
- var We = U(G);
25404
- return $.w(We.date(We.date() + Math.round(Pe * T)), G);
24886
+ var Ye = U(G);
24887
+ return $.w(Ye.date(Ye.date() + Math.round(Pe * T)), G);
25405
24888
  };
25406
24889
  if (E === f) return this.set(f, this.$M + T);
25407
24890
  if (E === d) return this.set(d, this.$y + T);
@@ -25414,7 +24897,7 @@ var u_ = { exports: {} };
25414
24897
  }, M.format = function(T) {
25415
24898
  var V = this, B = this.$locale();
25416
24899
  if (!this.isValid()) return B.invalidDate || v;
25417
- var G = T || "YYYY-MM-DDTHH:mm:ssZ", E = $.z(this), I = this.$H, me = this.$m, xe = this.$M, Pe = B.weekdays, We = B.months, lt = B.meridiem, pt = function(se, Ce, w, A) {
24900
+ var G = T || "YYYY-MM-DDTHH:mm:ssZ", E = $.z(this), I = this.$H, me = this.$m, xe = this.$M, Pe = B.weekdays, Ye = B.months, lt = B.meridiem, pt = function(se, Ce, w, A) {
25418
24901
  return se && (se[Ce] || se(V, G)) || w[Ce].slice(0, A);
25419
24902
  }, re = function(se) {
25420
24903
  return $.s(I % 12 || 12, se, "0");
@@ -25434,9 +24917,9 @@ var u_ = { exports: {} };
25434
24917
  case "MM":
25435
24918
  return $.s(xe + 1, 2, "0");
25436
24919
  case "MMM":
25437
- return pt(B.monthsShort, xe, We, 3);
24920
+ return pt(B.monthsShort, xe, Ye, 3);
25438
24921
  case "MMMM":
25439
- return pt(We, xe);
24922
+ return pt(Ye, xe);
25440
24923
  case "D":
25441
24924
  return V.$D;
25442
24925
  case "DD":
@@ -25480,18 +24963,18 @@ var u_ = { exports: {} };
25480
24963
  }, M.utcOffset = function() {
25481
24964
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
25482
24965
  }, M.diff = function(T, V, B) {
25483
- var G, E = this, I = $.p(V), me = U(T), xe = (me.utcOffset() - this.utcOffset()) * r, Pe = this - me, We = function() {
24966
+ var G, E = this, I = $.p(V), me = U(T), xe = (me.utcOffset() - this.utcOffset()) * r, Pe = this - me, Ye = function() {
25484
24967
  return $.m(E, me);
25485
24968
  };
25486
24969
  switch (I) {
25487
24970
  case d:
25488
- G = We() / 12;
24971
+ G = Ye() / 12;
25489
24972
  break;
25490
24973
  case f:
25491
- G = We();
24974
+ G = Ye();
25492
24975
  break;
25493
24976
  case h:
25494
- G = We() / 3;
24977
+ G = Ye() / 3;
25495
24978
  break;
25496
24979
  case a:
25497
24980
  G = (Pe - xe) / 6048e5;
@@ -25542,10 +25025,10 @@ var u_ = { exports: {} };
25542
25025
  return U(1e3 * z);
25543
25026
  }, U.en = k[x], U.Ls = k, U.p = {}, U;
25544
25027
  });
25545
- })(u_);
25546
- var Pj = u_.exports;
25547
- const Nl = /* @__PURE__ */ dl(Pj);
25548
- var c_ = { exports: {} };
25028
+ })(i_);
25029
+ var $D = i_.exports;
25030
+ const Ll = /* @__PURE__ */ dl($D);
25031
+ var o_ = { exports: {} };
25549
25032
  (function(e, t) {
25550
25033
  (function(n, r) {
25551
25034
  e.exports = r();
@@ -25644,9 +25127,9 @@ var c_ = { exports: {} };
25644
25127
  $ && (J = R[2]), c = this.$locale(), !U && J && (c = g.Ls[J]), this.$d = function(V, B, G, E) {
25645
25128
  try {
25646
25129
  if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * V);
25647
- var I = v(B)(V), me = I.year, xe = I.month, Pe = I.day, We = I.hours, lt = I.minutes, pt = I.seconds, re = I.milliseconds, de = I.zone, se = I.week, Ce = /* @__PURE__ */ new Date(), w = Pe || (me || xe ? 1 : Ce.getDate()), A = me || Ce.getFullYear(), D = 0;
25130
+ var I = v(B)(V), me = I.year, xe = I.month, Pe = I.day, Ye = I.hours, lt = I.minutes, pt = I.seconds, re = I.milliseconds, de = I.zone, se = I.week, Ce = /* @__PURE__ */ new Date(), w = Pe || (me || xe ? 1 : Ce.getDate()), A = me || Ce.getFullYear(), D = 0;
25648
25131
  me && !xe || (D = xe > 0 ? xe - 1 : Ce.getMonth());
25649
- var Y, W = We || 0, q = lt || 0, te = pt || 0, X = re || 0;
25132
+ var Y, W = Ye || 0, q = lt || 0, te = pt || 0, X = re || 0;
25650
25133
  return de ? new Date(Date.UTC(A, D, w, W, q, te, X + 60 * de.offset * 1e3)) : G ? new Date(Date.UTC(A, D, w, W, q, te, X)) : (Y = new Date(A, D, w, W, q, te, X), se && (Y = E(Y).week(se).toDate()), Y);
25651
25134
  } catch {
25652
25135
  return /* @__PURE__ */ new Date("");
@@ -25665,48 +25148,572 @@ var c_ = { exports: {} };
25665
25148
  };
25666
25149
  };
25667
25150
  });
25668
- })(c_);
25669
- var Rj = c_.exports;
25670
- const Tj = /* @__PURE__ */ dl(Rj);
25671
- Nl.extend(Tj);
25672
- function f_() {
25673
- return Nl().startOf("day");
25674
- }
25675
- function Dj() {
25676
- return f_().year();
25677
- }
25678
- function hd(e, t) {
25679
- const n = Nl(e ?? "", t, !0);
25680
- return n.isValid() ? n.startOf("day") : null;
25681
- }
25682
- function jj(e, t) {
25683
- const n = f_();
25151
+ })(o_);
25152
+ var qD = o_.exports;
25153
+ const UD = /* @__PURE__ */ dl(qD);
25154
+ Ll.extend(UD);
25155
+ function s_() {
25156
+ return Ll().startOf("day");
25157
+ }
25158
+ function HD() {
25159
+ return s_().year();
25160
+ }
25161
+ function fd(e, t) {
25162
+ const n = Ll(e ?? "", t, !0);
25163
+ return n.isValid() ? n.startOf("day") : null;
25164
+ }
25165
+ function zD(e, t) {
25166
+ const n = s_();
25167
+ return {
25168
+ today: n,
25169
+ earliest: n.subtract(t.value + 1, t.unit).add(1, "day"),
25170
+ latest: n.subtract(e.value, e.unit)
25171
+ };
25172
+ }
25173
+ const WD = [
25174
+ ct.FamilyWithChildren,
25175
+ ct.FamilyWithoutChildren
25176
+ ];
25177
+ function cc(e) {
25178
+ return WD.includes(e);
25179
+ }
25180
+ let ku;
25181
+ function YD() {
25182
+ return {
25183
+ dataService: new Ue.DataService(),
25184
+ dataValidationService: new Ue.DataValidationService(),
25185
+ homeService: new Ue.HomeService()
25186
+ };
25187
+ }
25188
+ function Bl() {
25189
+ return ku || (ku = YD()), ku;
25190
+ }
25191
+ const GD = (e) => ({
25192
+ zipCode: e.ZipCode,
25193
+ houseNumber: String(e.HouseNumber),
25194
+ houseNumberAddition: e.HouseNumberAddition,
25195
+ city: e.Place,
25196
+ street: e.Street
25197
+ }), om = /^\d{4}\s?[a-zA-Z]{2}$/, sm = /^\d+$/, am = {
25198
+ "needs-addition": "Een toevoeging is verplicht",
25199
+ "not-found": "Postcode en huisnummer combinatie onbekend.",
25200
+ error: "Adres ophalen is mislukt. Probeer het opnieuw."
25201
+ };
25202
+ function lm(e) {
25203
+ return e.replace(/\s/g, "").toUpperCase();
25204
+ }
25205
+ const dd = "NO_ADDITION";
25206
+ function yr(e) {
25207
+ return e === dd ? "" : e.replace("-", "");
25208
+ }
25209
+ const KD = (e) => e instanceof Error, a_ = (e) => {
25210
+ if (KD(e))
25211
+ throw e;
25212
+ return null;
25213
+ }, l_ = (e, t, n) => Bl().dataValidationService.validateZipCode(e, t, n).then((r) => r).catch(a_), ZD = (e, t) => Bl().homeService.getAddition({ zipcode: e, houseNumber: t }).then((n) => n ?? []).catch(a_), JD = async (e, t) => {
25214
+ const [n, r] = await Promise.all([
25215
+ l_(e, t),
25216
+ ZD(e, t)
25217
+ ]);
25218
+ return !n && !(r != null && r.length) ? null : {
25219
+ validWithoutAddition: !!n,
25220
+ template: n,
25221
+ additions: r ?? []
25222
+ };
25223
+ }, XD = (e) => {
25224
+ const t = e.additions.map((n) => ({
25225
+ title: n,
25226
+ value: yr(n)
25227
+ }));
25228
+ return e.validWithoutAddition && t.length ? [{ title: "Geen toevoeging", value: dd }, ...t] : t;
25229
+ }, pi = (e) => ({
25230
+ zipCode: (e == null ? void 0 : e.zipCode) ?? "",
25231
+ houseNumber: (e == null ? void 0 : e.houseNumber) ?? "",
25232
+ houseNumberAddition: e ? e.houseNumberAddition || dd : ""
25233
+ }), mi = (e = "address") => {
25234
+ const t = /* @__PURE__ */ ne(null), n = /* @__PURE__ */ ne([]), r = N(() => {
25235
+ var u, a;
25236
+ return {
25237
+ street: ((u = t.value) == null ? void 0 : u.street) ?? "",
25238
+ city: ((a = t.value) == null ? void 0 : a.city) ?? ""
25239
+ };
25240
+ });
25241
+ let i = 0, o = null;
25242
+ const s = async (u) => {
25243
+ const a = lm(u.zipCode), f = u.houseNumber.trim(), h = yr(u.houseNumberAddition), d = `${a}:${f}`;
25244
+ try {
25245
+ let p = (o == null ? void 0 : o.key) === d ? o : null;
25246
+ if (!p) {
25247
+ const y = await JD(a, f);
25248
+ if (!y)
25249
+ return { status: "not-found", options: [], address: null };
25250
+ p = o = { key: d, verdict: y };
25251
+ }
25252
+ const v = XD(p.verdict);
25253
+ if (p.verdict.additions.length && !u.houseNumberAddition)
25254
+ return { status: "needs-addition", options: v, address: null };
25255
+ if (!p.verdict.template) {
25256
+ const y = await l_(a, f, h);
25257
+ if (!y)
25258
+ return { status: "not-found", options: [], address: null };
25259
+ p.verdict.template = y;
25260
+ }
25261
+ return {
25262
+ status: "resolved",
25263
+ options: v,
25264
+ address: h ? { ...p.verdict.template, HouseNumberAddition: h } : p.verdict.template
25265
+ };
25266
+ } catch (p) {
25267
+ return console.error("Error on ITC address lookup", p), { status: "error", options: [], address: null };
25268
+ }
25269
+ }, l = async (u) => {
25270
+ const a = ++i, f = await s(u), h = a !== i;
25271
+ return h || (n.value = f.options, t.value = f.address ? GD(f.address) : null), { ...f, stale: h };
25272
+ }, c = jt({
25273
+ zipCode: Ct().required("Vul je postcode in").matches(om, "Postcode is incorrect"),
25274
+ houseNumber: Ct().required("Huisnummer is verplicht").matches(sm, "Huisnummer is incorrect"),
25275
+ houseNumberAddition: Ct().defined()
25276
+ }).test("address-lookup", async (u, a) => {
25277
+ const f = lm(u.zipCode ?? ""), h = String(u.houseNumber ?? "").trim();
25278
+ if (!om.test(f) || !sm.test(h))
25279
+ return !0;
25280
+ const { status: d, stale: p } = await l(u);
25281
+ return p || d === "resolved" ? !0 : d === "needs-addition" ? a.createError({
25282
+ path: `${a.path}.houseNumberAddition`,
25283
+ message: am[d]
25284
+ }) : a.createError({ message: am[d] });
25285
+ });
25286
+ return { path: e, addressSchema: c, resolvedAddress: t, resolvedFields: r, additionOptions: n };
25287
+ }, hd = {
25288
+ [De.Car]: {
25289
+ apiTypes: ["Car", "Van"],
25290
+ dutch: "auto",
25291
+ icon: "fa-car"
25292
+ },
25293
+ [De.Motor]: {
25294
+ apiTypes: ["Motor", "MP3Motor"],
25295
+ dutch: "motor",
25296
+ icon: "fa-motorcycle"
25297
+ },
25298
+ [De.Moped]: {
25299
+ apiTypes: ["Moped"],
25300
+ dutch: "brommer",
25301
+ icon: "moped-solid"
25302
+ },
25303
+ [De.Caravan]: {
25304
+ apiTypes: ["Caravan"],
25305
+ dutch: "caravan",
25306
+ icon: "fa-caravan-alt"
25307
+ }
25308
+ }, QD = Object.fromEntries(
25309
+ Object.values(hd).flatMap(
25310
+ ({ apiTypes: e, icon: t }) => e.map((n) => [n.toLowerCase(), t])
25311
+ )
25312
+ ), ej = {
25313
+ brommobiel: "fa-car-side",
25314
+ "speed pedelec": "fa-bicycle"
25315
+ }, tj = (e) => !!(e != null && e.Brand) && !!e.Model && !!e.ManufacturingYear, nj = (e) => {
25316
+ if (!e)
25317
+ return "";
25318
+ const t = String(e.Model ?? "").toLowerCase().trim(), n = String(e.VehicleType ?? "").toLowerCase();
25319
+ return ej[t] ?? QD[n] ?? "";
25320
+ }, rj = (e) => e ? `${e.Brand} ${e.Model} (${e.ManufacturingYear})` : "", Na = 6, u_ = [
25321
+ "@@-##-@@",
25322
+ "##-##-@@",
25323
+ "##-@@-@@",
25324
+ "@@-@@-##",
25325
+ "##-@@-##",
25326
+ "@@-##-##",
25327
+ "##-@@@-#",
25328
+ "@@-###-@",
25329
+ "@-###-@@",
25330
+ "#-@@@-##",
25331
+ "@@@-##-@",
25332
+ "@-##-@@@",
25333
+ "#-@@-###",
25334
+ "###-@@-#"
25335
+ ];
25336
+ function Vi(e) {
25337
+ return e.replace(/[\s\\-]/g, "");
25338
+ }
25339
+ const um = "*".repeat(Na), ij = u_.map((e) => e.replace(/-/g, ""));
25340
+ function oj(e) {
25341
+ const t = Vi(e).slice(0, Na);
25342
+ if (t.length < Na)
25343
+ return um;
25344
+ const n = [...t].map((i) => /[0-9]/.test(i) ? "#" : "@").join(""), r = ij.indexOf(n);
25345
+ return r === -1 ? um : u_[r];
25346
+ }
25347
+ const sj = {
25348
+ key: 0,
25349
+ class: "vd-input-license-plate__loading-information"
25350
+ }, aj = ["src"], Vl = /* @__PURE__ */ ce({
25351
+ inheritAttrs: !1,
25352
+ __name: "VdLicensePlate",
25353
+ props: /* @__PURE__ */ At({
25354
+ name: {},
25355
+ label: { default: "Kenteken" },
25356
+ errorMessage: { default: null },
25357
+ loading: { type: Boolean, default: !1 },
25358
+ required: { type: Boolean, default: !1 }
25359
+ }, {
25360
+ modelValue: { default: "" },
25361
+ modelModifiers: {},
25362
+ vehicleData: { default: null },
25363
+ vehicleDataModifiers: {}
25364
+ }),
25365
+ emits: /* @__PURE__ */ At(["input"], ["update:modelValue", "update:vehicleData"]),
25366
+ setup(e, { emit: t }) {
25367
+ const n = { mask: oj }, r = e, i = rn(e, "modelValue"), o = rn(e, "vehicleData"), s = t, l = dv(), c = gn(), u = N({
25368
+ get: () => i.value ?? "",
25369
+ set: (v) => {
25370
+ i.value = v, s("input", v);
25371
+ }
25372
+ }), a = (v, y) => Vi(v).toUpperCase() === Vi(y).toUpperCase();
25373
+ ke(i, (v) => {
25374
+ o.value && !a(v, o.value.LicensePlate) && (o.value = null);
25375
+ });
25376
+ const f = N(
25377
+ () => tj(o.value) ? o.value : null
25378
+ ), h = N(
25379
+ () => r.loading || !!f.value && !r.errorMessage
25380
+ ), d = N(() => nj(f.value)), p = N(() => rj(f.value));
25381
+ return (v, y) => (P(), he(ai, ie({
25382
+ capitalize: "",
25383
+ autocomplete: ""
25384
+ }, _(l), {
25385
+ modelValue: u.value,
25386
+ "onUpdate:modelValue": y[0] || (y[0] = (m) => u.value = m),
25387
+ name: e.name,
25388
+ label: e.label,
25389
+ required: e.required,
25390
+ "error-message": e.errorMessage || null,
25391
+ loading: e.loading,
25392
+ mask: n,
25393
+ class: "vd-input-license-plate"
25394
+ }), ll({ _: 2 }, [
25395
+ _(c).label ? {
25396
+ name: "label",
25397
+ fn: L(() => [
25398
+ fe(v.$slots, "label")
25399
+ ]),
25400
+ key: "0"
25401
+ } : void 0,
25402
+ _(c).popover ? {
25403
+ name: "popover",
25404
+ fn: L(() => [
25405
+ fe(v.$slots, "popover")
25406
+ ]),
25407
+ key: "1"
25408
+ } : void 0,
25409
+ h.value ? {
25410
+ name: "information",
25411
+ fn: L(() => [
25412
+ e.loading ? (P(), ee("div", sj, [...y[1] || (y[1] = [
25413
+ ge("i", { class: "fas fa-circle-notch vd-input-license-plate__loading-icon" }, null, -1),
25414
+ Xe(" Voertuig gegevens ophalen... ", -1)
25415
+ ])])) : f.value ? (P(), ee(it, { key: 1 }, [
25416
+ d.value ? (P(), ee("img", {
25417
+ key: 0,
25418
+ src: `https://d12bmfj3oyxu0t.cloudfront.net/vergelijkdirect/icons/${d.value}.svg`,
25419
+ class: "vd-field__svg-message-icon",
25420
+ alt: "vehicle-icon"
25421
+ }, null, 8, aj)) : pe("", !0),
25422
+ Xe(" " + Re(p.value), 1)
25423
+ ], 64)) : pe("", !0)
25424
+ ]),
25425
+ key: "2"
25426
+ } : void 0
25427
+ ]), 1040, ["modelValue", "name", "label", "required", "error-message", "loading"]));
25428
+ }
25429
+ }), uo = /* @__PURE__ */ new Map(), c_ = (e, t) => `${t}:${e}`, lj = {
25430
+ "wrong-type": (e) => `Het ingevoerde kenteken is geen ${hd[e].dutch}`,
25431
+ unknown: () => "Voertuig onbekend - Voer ander kenteken in of neem contact op",
25432
+ "not-found": () => "Kenteken onbekend",
25433
+ error: () => "Kenteken is incorrect"
25434
+ }, uj = async (e, t) => {
25435
+ try {
25436
+ const n = await Bl().dataService.findVehicle(e, t);
25437
+ if (Array.isArray(n) || !n || !Object.keys(n).length)
25438
+ return { status: "not-found" };
25439
+ const r = n;
25440
+ return r.VehicleType ? hd[t].apiTypes.includes(r.VehicleType) ? { status: "found", data: r } : { status: "wrong-type" } : { status: "unknown" };
25441
+ } catch (n) {
25442
+ return console.error("Error on ITC findVehicle", n), { status: "error" };
25443
+ }
25444
+ }, cj = (e, t) => {
25445
+ const n = c_(e, t);
25446
+ let r = uo.get(n);
25447
+ return r || (r = uj(e, t), uo.set(n, r), r.then(
25448
+ ({ status: i }) => {
25449
+ i === "error" && uo.delete(n);
25450
+ },
25451
+ () => uo.delete(n)
25452
+ )), r;
25453
+ }, Nl = (e, t = {}) => {
25454
+ var s;
25455
+ const n = /* @__PURE__ */ ne(t.initialData ?? null);
25456
+ let r = 0;
25457
+ (s = t.initialData) != null && s.LicensePlate && uo.set(
25458
+ c_(Vi(t.initialData.LicensePlate), e),
25459
+ Promise.resolve({ status: "found", data: t.initialData })
25460
+ );
25461
+ const i = async (l) => {
25462
+ const c = Vi(l), u = ++r, a = await cj(c, e);
25463
+ return u === r && (n.value = a.status === "found" ? a.data : null), a;
25464
+ }, o = Ct().required("Dit veld is verplicht").test("license-plate-lookup", async (l, c) => {
25465
+ if (!l)
25466
+ return !0;
25467
+ const u = Vi(l);
25468
+ if (u.length < Na)
25469
+ return c.createError({ message: "Kenteken is incorrect" });
25470
+ const { status: a } = await i(u);
25471
+ return a === "found" || c.createError({ message: lj[a](e) });
25472
+ });
25473
+ return { vehicleData: n, licensePlateSchema: o };
25474
+ }, fj = (e) => /^\d{8}$/.test(e), dj = (e) => fj(e) ? { companyName: "", kvkNumber: e } : { companyName: e, kvkNumber: "" }, hj = "bezoekadres", pj = (e) => {
25475
+ var t, n, r;
25476
+ return (r = (n = (t = e._embedded) == null ? void 0 : t.hoofdvestiging) == null ? void 0 : n.adressen) == null ? void 0 : r.find((i) => i.type === hj);
25477
+ }, mj = (e) => {
25478
+ const t = pj(e), {
25479
+ huisnummer: n = 0,
25480
+ huisletter: r = "",
25481
+ huisnummerToevoeging: i = "",
25482
+ toevoegingAdres: o = "",
25483
+ plaats: s = "",
25484
+ postcode: l = "",
25485
+ straatnaam: c = "",
25486
+ volledigAdres: u = ""
25487
+ } = t ?? {};
25684
25488
  return {
25685
- today: n,
25686
- earliest: n.subtract(t.value + 1, t.unit).add(1, "day"),
25687
- latest: n.subtract(e.value, e.unit)
25489
+ houseNumber: n,
25490
+ houseNumberAddition: r || i || o,
25491
+ city: s,
25492
+ zipCode: l,
25493
+ streetName: c,
25494
+ fullAddress: u,
25495
+ hasVisitingAddress: !!t
25688
25496
  };
25689
- }
25690
- const Fj = [
25691
- ct.FamilyWithChildren,
25692
- ct.FamilyWithoutChildren
25693
- ];
25694
- function cc(e) {
25695
- return Fj.includes(e);
25696
- }
25497
+ }, vj = (e = []) => {
25498
+ var i;
25499
+ const [t, n, r] = e.reduce(
25500
+ ([o, s, l], c) => {
25501
+ const u = {
25502
+ isMainActivity: c.indHoofdactiviteit,
25503
+ sbiCode: c.sbiCode,
25504
+ description: c.sbiOmschrijving
25505
+ };
25506
+ return (c.indHoofdactiviteit === "Ja" ? o : s).push(u), l.push(u.sbiCode), [o, s, l];
25507
+ },
25508
+ [[], [], []]
25509
+ );
25510
+ return {
25511
+ mainSBI: ((i = t[0]) == null ? void 0 : i.sbiCode) ?? "",
25512
+ otherSBI: r,
25513
+ firstSBIs: t,
25514
+ secondSBIs: n
25515
+ };
25516
+ }, yj = (e) => {
25517
+ var t, n, r, i;
25518
+ return {
25519
+ kvkNumber: e.kvkNummer,
25520
+ name: e.naam,
25521
+ city: ((n = (t = e.adres) == null ? void 0 : t.binnenlandsAdres) == null ? void 0 : n.plaats) ?? "",
25522
+ street: ((i = (r = e.adres) == null ? void 0 : r.binnenlandsAdres) == null ? void 0 : i.straatnaam) ?? ""
25523
+ };
25524
+ }, gj = (e) => {
25525
+ var t, n;
25526
+ return {
25527
+ name: e.naam,
25528
+ kvkNumber: e.kvkNummer,
25529
+ industry: e.sbiIndustryId,
25530
+ numberOfEmployees: e.totaalWerkzamePersonen,
25531
+ legalForm: ((n = (t = e._embedded) == null ? void 0 : t.eigenaar) == null ? void 0 : n.rechtsvorm) ?? "",
25532
+ ...mj(e),
25533
+ ...vj(e.sbiActiviteiten)
25534
+ };
25535
+ }, _j = 30, bj = ["hoofdvestiging", "nevenvestiging"], wj = "IPD5200", Sj = (e) => {
25536
+ var r, i;
25537
+ const t = e, n = (i = (r = t == null ? void 0 : t.response) == null ? void 0 : r.data) == null ? void 0 : i.fout;
25538
+ if (Array.isArray(n))
25539
+ return n;
25540
+ if (Array.isArray(t == null ? void 0 : t.fout))
25541
+ return t.fout;
25542
+ if (typeof (t == null ? void 0 : t.message) == "string")
25543
+ try {
25544
+ const o = JSON.parse(t.message);
25545
+ if (Array.isArray(o == null ? void 0 : o.fout))
25546
+ return o.fout;
25547
+ } catch {
25548
+ }
25549
+ }, Oj = (e) => {
25550
+ var t;
25551
+ return ((t = Sj(e)) == null ? void 0 : t.some((n) => n.code === wj)) ?? !1;
25552
+ }, xj = () => {
25553
+ const { dataService: e } = Bl();
25554
+ return { search: async (r) => {
25555
+ try {
25556
+ const i = await e.searchBusinessInfoV2(dj(r), 1, _j);
25557
+ return ((i == null ? void 0 : i.resultaten) ?? []).filter((s) => bj.includes(s.type)).map(yj);
25558
+ } catch (i) {
25559
+ const o = await i;
25560
+ if (Oj(o))
25561
+ return [];
25562
+ throw o;
25563
+ }
25564
+ }, getDetails: async (r) => {
25565
+ const i = await e.getProfileInfo(r);
25566
+ return gj(i);
25567
+ } };
25568
+ }, kj = { class: "vd-combobox__multiline" }, Cj = { class: "vd-combobox__title" }, Aj = { class: "vd-combobox__subtext" }, Mj = { class: "vd-combobox__subtext" }, Ej = 400, cm = 3, Pj = "Helaas, we hebben geen resultaten gevonden. Probeer te zoeken op de exacte naam waarmee je bedrijf is geregistreerd bij de Kamer van Koophandel, of gebruik je volledige KvK-nummer.", Rj = "Typ je bedrijfsnaam of KvK-nummer", Tj = "Aan het zoeken…", fm = "Er ging iets mis bij het ophalen van de gegevens. Probeer het later opnieuw.", Dj = /* @__PURE__ */ ce({
25569
+ inheritAttrs: !1,
25570
+ __name: "VdCompanySelect",
25571
+ props: /* @__PURE__ */ At({
25572
+ name: { default: "company" },
25573
+ label: { default: "Selecteer de naam van je bedrijf" },
25574
+ placeholder: { default: "Bedrijfsnaam of KvK-nummer" },
25575
+ disabled: { type: Boolean },
25576
+ errorMessage: { default: null }
25577
+ }, {
25578
+ modelValue: {},
25579
+ modelModifiers: {}
25580
+ }),
25581
+ emits: /* @__PURE__ */ At(["blur", "error"], ["update:modelValue"]),
25582
+ setup(e, { emit: t }) {
25583
+ const n = t, r = dv(), i = gn(), o = rn(e, "modelValue"), { search: s, getDetails: l } = xj(), c = /* @__PURE__ */ ne(), u = /* @__PURE__ */ ne(), a = /* @__PURE__ */ ne(), f = /* @__PURE__ */ ne(""), h = aw(f, Ej, { maxWait: 2e3 }), d = /* @__PURE__ */ ne(!0), {
25584
+ state: p,
25585
+ isLoading: v,
25586
+ execute: y
25587
+ } = ih(
25588
+ async (M) => {
25589
+ try {
25590
+ return { results: await s(M), failed: !1 };
25591
+ } catch {
25592
+ return { results: [], failed: !0 };
25593
+ }
25594
+ },
25595
+ { results: [], failed: !1 },
25596
+ { immediate: !1, resetOnExecute: !1 }
25597
+ ), {
25598
+ isLoading: m,
25599
+ execute: g
25600
+ } = ih(
25601
+ async (M) => {
25602
+ try {
25603
+ const T = await l(M);
25604
+ return o.value = T, n("error", null), T;
25605
+ } catch (T) {
25606
+ throw o.value = null, a.value = void 0, c.value = void 0, n("error", fm), T;
25607
+ }
25608
+ },
25609
+ null,
25610
+ { immediate: !1, resetOnExecute: !0 }
25611
+ ), b = N(() => f.value.length >= cm), S = N(() => b.value ? v.value || f.value !== h.value ? "searching" : p.value.failed ? "error" : p.value.results.length ? "idle" : "no-results" : "idle"), x = N(() => S.value === "searching" ? [] : b.value ? p.value.results : d.value && a.value ? [a.value] : []), k = N(() => S.value === "searching" || m.value), C = N(() => !!o.value && !k.value), R = N(() => {
25612
+ const M = o.value;
25613
+ return !M || k.value ? "" : M.fullAddress ? `Kvk: ${M.kvkNumber} ${M.fullAddress}` : `Kvk: ${M.kvkNumber}`;
25614
+ }), j = N(() => {
25615
+ switch (S.value) {
25616
+ case "searching":
25617
+ return Tj;
25618
+ case "error":
25619
+ return fm;
25620
+ case "no-results":
25621
+ return Pj;
25622
+ default:
25623
+ return Rj;
25624
+ }
25625
+ }), U = (M) => {
25626
+ var T;
25627
+ a.value = M, d.value = !0, M.kvkNumber !== ((T = o.value) == null ? void 0 : T.kvkNumber) ? g(0, M.kvkNumber) : n("error", null);
25628
+ }, $ = (M) => {
25629
+ n("blur", M);
25630
+ }, H = (M) => {
25631
+ f.value = M.trim(), d.value = !1;
25632
+ }, J = (M) => {
25633
+ var T;
25634
+ return M.kvkNumber === ((T = o.value) == null ? void 0 : T.kvkNumber) ? o.value.name : M.name;
25635
+ }, z = (M) => ({
25636
+ kvkNumber: M.kvkNumber,
25637
+ name: M.name,
25638
+ city: M.city,
25639
+ street: M.streetName,
25640
+ fullAddress: M.fullAddress
25641
+ });
25642
+ return ke(u, (M) => {
25643
+ M || (f.value = "", d.value = !0);
25644
+ }), ke(h, (M) => {
25645
+ M && M.length >= cm && y(0, M);
25646
+ }), ke(o, (M) => {
25647
+ c.value = M ? z(M) : void 0, d.value = !0, M || (a.value = void 0);
25648
+ }, { immediate: !0 }), (M, T) => (P(), he(Lg, ie(_(r), {
25649
+ modelValue: c.value,
25650
+ "onUpdate:modelValue": T[0] || (T[0] = (V) => c.value = V),
25651
+ open: u.value,
25652
+ "onUpdate:open": T[1] || (T[1] = (V) => u.value = V),
25653
+ name: e.name,
25654
+ label: e.label,
25655
+ placeholder: e.placeholder,
25656
+ icon: "far fa-search",
25657
+ options: x.value,
25658
+ "value-key": null,
25659
+ "label-key": "name",
25660
+ "display-value": J,
25661
+ by: "kvkNumber",
25662
+ loading: k.value,
25663
+ verified: C.value,
25664
+ disabled: e.disabled,
25665
+ "no-results-text": j.value,
25666
+ "error-message": e.errorMessage,
25667
+ "info-message": R.value,
25668
+ "ignore-filter": "",
25669
+ onSelect: U,
25670
+ onBlur: $,
25671
+ onSearch: H
25672
+ }), ll({
25673
+ item: L(({ option: V }) => [
25674
+ ge("div", kj, [
25675
+ ge("div", Cj, Re(V.name), 1),
25676
+ ge("span", Aj, "Kvk: " + Re(V.kvkNumber), 1),
25677
+ ge("span", Mj, Re(V.city) + ", " + Re(V.street), 1)
25678
+ ])
25679
+ ]),
25680
+ _: 2
25681
+ }, [
25682
+ _(i).popover ? {
25683
+ name: "popover",
25684
+ fn: L(() => [
25685
+ fe(M.$slots, "popover")
25686
+ ]),
25687
+ key: "0"
25688
+ } : void 0,
25689
+ _(i).information ? {
25690
+ name: "information",
25691
+ fn: L(() => [
25692
+ fe(M.$slots, "information")
25693
+ ]),
25694
+ key: "1"
25695
+ } : void 0
25696
+ ]), 1040, ["modelValue", "open", "name", "label", "placeholder", "options", "loading", "verified", "disabled", "no-results-text", "error-message", "info-message"]));
25697
+ }
25698
+ }), jj = (e = "Bedrijfsnaam of KVK-nummer is verplicht") => Jg().nullable().required(e).test("has-kvk-number", e, (t) => !!(t != null && t.kvkNumber)), Fj = { min: 18, max: 99 }, Io = "DD-MM-YYYY", Ij = [
25699
+ ct.SingleWithoutChildren,
25700
+ ct.FamilyWithoutChildren,
25701
+ ct.SingleWithChildren,
25702
+ ct.FamilyWithChildren
25703
+ ], f_ = [Ln.Yes, Ln.No];
25697
25704
  function d_(e, t, n = "ageRange") {
25698
25705
  return {
25699
25706
  name: n,
25700
25707
  test(r, i) {
25701
- const o = hd(r, Io);
25708
+ const o = fd(r, Io);
25702
25709
  if (!o)
25703
25710
  return !0;
25704
- const { today: s, earliest: l, latest: c } = jj(e.min, e.max), u = { earliest: l, latest: c };
25711
+ const { today: s, earliest: l, latest: c } = zD(e.min, e.max), u = { earliest: l, latest: c };
25705
25712
  return t.future && o.isAfter(s, "day") ? i.createError({ message: t.future(u) }) : o.isAfter(c, "day") ? i.createError({ message: t.tooYoung(u) }) : o.isBefore(l, "day") ? i.createError({ message: t.tooOld(u) }) : !0;
25706
25713
  }
25707
25714
  };
25708
25715
  }
25709
- const Ue = {
25716
+ const He = {
25710
25717
  birthdate: {
25711
25718
  required: "Geboortedatum is verplicht",
25712
25719
  dateFormat: "Geboortedatum is incorrect",
@@ -25754,14 +25761,14 @@ const Ue = {
25754
25761
  }
25755
25762
  };
25756
25763
  function h_(e) {
25757
- return hd(e, Io) !== null;
25764
+ return fd(e, Io) !== null;
25758
25765
  }
25759
- function fr(e = Mj) {
25760
- return Ct().required(Ue.birthdate.required).test("date_format", Ue.birthdate.dateFormat, h_).test(d_(
25766
+ function fr(e = Fj) {
25767
+ return Ct().required(He.birthdate.required).test("date_format", He.birthdate.dateFormat, h_).test(d_(
25761
25768
  { min: { value: e.min, unit: "year" }, max: { value: e.max, unit: "year" } },
25762
25769
  {
25763
- tooYoung: () => Ue.birthdate.tooYoung(e.min),
25764
- tooOld: () => Ue.birthdate.tooOld(e.max)
25770
+ tooYoung: () => He.birthdate.tooYoung(e.min),
25771
+ tooOld: () => He.birthdate.tooOld(e.max)
25765
25772
  }
25766
25773
  ));
25767
25774
  }
@@ -25774,35 +25781,35 @@ function dm(e) {
25774
25781
  function fc(e) {
25775
25782
  return e_().typeError(e).required(e);
25776
25783
  }
25777
- function p_(e = Ue.familyComposition.required) {
25778
- return $l(Ej, e);
25784
+ function p_(e = He.familyComposition.required) {
25785
+ return $l(Ij, e);
25779
25786
  }
25780
25787
  const ql = p_(), m_ = $l(
25781
- l_,
25782
- Ue.ownedBuilding.required
25783
- ), dc = [1, 7], Ij = [3, 4], hm = {
25788
+ f_,
25789
+ He.ownedBuilding.required
25790
+ ), dc = [1, 7], Lj = [3, 4], hm = {
25784
25791
  raceOrMtb: 15e3,
25785
25792
  default: 9999
25786
25793
  }, pm = (e, t) => e.test(
25787
25794
  "max-value",
25788
- Ue.bike.priceMax(t),
25795
+ He.bike.priceMax(t),
25789
25796
  (n) => {
25790
25797
  const r = Number(n);
25791
25798
  return Number.isNaN(r) || r <= t;
25792
25799
  }
25793
- ), Lj = jt({
25794
- kind: fc(Ue.bike.kindRequired),
25795
- condition: fc(Ue.bike.conditionRequired),
25796
- price: Ct().required(Ue.bike.priceRequired).when("kind", {
25797
- is: (e) => Ij.includes(Number(e)),
25800
+ ), Bj = jt({
25801
+ kind: fc(He.bike.kindRequired),
25802
+ condition: fc(He.bike.conditionRequired),
25803
+ price: Ct().required(He.bike.priceRequired).when("kind", {
25804
+ is: (e) => Lj.includes(Number(e)),
25798
25805
  then: (e) => pm(e, hm.raceOrMtb),
25799
25806
  otherwise: (e) => pm(e, hm.default)
25800
25807
  }),
25801
25808
  brand: Ct().when("kind", {
25802
25809
  is: (e) => dc.includes(Number(e)),
25803
- then: (e) => e.required(Ue.bike.brandRequired)
25810
+ then: (e) => e.required(He.bike.brandRequired)
25804
25811
  })
25805
- }), Bj = [
25812
+ }), Vj = [
25806
25813
  {
25807
25814
  value: 4,
25808
25815
  title: "ATB / Mountainbike",
@@ -25869,7 +25876,7 @@ const ql = p_(), m_ = $l(
25869
25876
  name: "Vouwfiets",
25870
25877
  isEBike: !1
25871
25878
  }
25872
- ], Vj = [
25879
+ ], Nj = [
25873
25880
  {
25874
25881
  value: 1,
25875
25882
  label: "Nieuw"
@@ -25878,7 +25885,7 @@ const ql = p_(), m_ = $l(
25878
25885
  value: 0,
25879
25886
  label: "Tweedehands"
25880
25887
  }
25881
- ], Nj = [
25888
+ ], $j = [
25882
25889
  {
25883
25890
  id: "Ander merk",
25884
25891
  name: "Ander merk"
@@ -27299,7 +27306,7 @@ const ql = p_(), m_ = $l(
27299
27306
  id: "Zündapp",
27300
27307
  name: "Zündapp"
27301
27308
  }
27302
- ], $j = /* @__PURE__ */ ce({
27309
+ ], qj = /* @__PURE__ */ ce({
27303
27310
  __name: "BikeForm",
27304
27311
  props: /* @__PURE__ */ Vt({
27305
27312
  initialData: {},
@@ -27322,7 +27329,7 @@ const ql = p_(), m_ = $l(
27322
27329
  handleSubmit: s,
27323
27330
  defineField: l,
27324
27331
  resetField: c
27325
- } = Qt(Lj, {
27332
+ } = Qt(Bj, {
27326
27333
  kind: null,
27327
27334
  condition: 1,
27328
27335
  price: "",
@@ -27352,7 +27359,7 @@ const ql = p_(), m_ = $l(
27352
27359
  "onUpdate:modelValue": R[0] || (R[0] = (j) => /* @__PURE__ */ le(u) ? u.value = j : null),
27353
27360
  modelModifiers: { number: !0 },
27354
27361
  label: "Soort fiets",
27355
- options: _(Bj),
27362
+ options: _(Vj),
27356
27363
  name: "kind",
27357
27364
  required: !1,
27358
27365
  "error-message": _(f)
@@ -27371,7 +27378,7 @@ const ql = p_(), m_ = $l(
27371
27378
  "onUpdate:modelValue": R[1] || (R[1] = (j) => /* @__PURE__ */ le(h) ? h.value = j : null),
27372
27379
  label: "Merk fiets",
27373
27380
  placeholder: "Typ of kies je merk",
27374
- options: _(Nj),
27381
+ options: _($j),
27375
27382
  "label-key": "name",
27376
27383
  "value-key": "id",
27377
27384
  name: "brand",
@@ -27391,7 +27398,7 @@ const ql = p_(), m_ = $l(
27391
27398
  "onUpdate:modelValue": R[2] || (R[2] = (j) => /* @__PURE__ */ le(v) ? v.value = j : null),
27392
27399
  legend: "Gekocht als",
27393
27400
  name: "condition",
27394
- options: _(Vj),
27401
+ options: _(Nj),
27395
27402
  variant: "boxed",
27396
27403
  required: !1,
27397
27404
  "error-message": _(m)
@@ -27423,7 +27430,7 @@ const ql = p_(), m_ = $l(
27423
27430
  }, 16, ["submit-disabled"]));
27424
27431
  }
27425
27432
  });
27426
- function qj(e) {
27433
+ function Uj(e) {
27427
27434
  return {
27428
27435
  comparison: De.Bike,
27429
27436
  details: [{
@@ -27438,28 +27445,28 @@ function qj(e) {
27438
27445
  user: {}
27439
27446
  };
27440
27447
  }
27441
- const Uj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27448
+ const Hj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27442
27449
  __proto__: null,
27443
- Form: $j,
27444
- presenter: qj
27445
- }, Symbol.toStringTag, { value: "Module" })), ku = { min: 0, max: 99 }, Hj = 7, zj = /^\d{4}\s?[a-zA-Z]{2}$/, Wj = jt({
27446
- kind: Ct().required(Ue.pet.kindRequired),
27447
- age: Ct().required(Ue.birthdate.required).test("date_format", Ue.birthdate.dateFormat, h_).test(d_(
27448
- { min: { value: Hj, unit: "week" }, max: { value: ku.max, unit: "year" } },
27450
+ Form: qj,
27451
+ presenter: Uj
27452
+ }, Symbol.toStringTag, { value: "Module" })), Cu = { min: 0, max: 99 }, zj = 7, Wj = /^\d{4}\s?[a-zA-Z]{2}$/, Yj = jt({
27453
+ kind: Ct().required(He.pet.kindRequired),
27454
+ age: Ct().required(He.birthdate.required).test("date_format", He.birthdate.dateFormat, h_).test(d_(
27455
+ { min: { value: zj, unit: "week" }, max: { value: Cu.max, unit: "year" } },
27449
27456
  {
27450
27457
  // a future date is "younger than the min age" (min = 0 here)
27451
- future: () => Ue.birthdate.tooYoung(ku.min),
27458
+ future: () => He.birthdate.tooYoung(Cu.min),
27452
27459
  // born after the youngest-allowed date (< MIN_WEEKS old): list the window
27453
- tooYoung: ({ earliest: e, latest: t }) => Ue.pet.outOfRange(
27460
+ tooYoung: ({ earliest: e, latest: t }) => He.pet.outOfRange(
27454
27461
  e.format(Io),
27455
27462
  t.format(Io)
27456
27463
  ),
27457
- tooOld: () => Ue.birthdate.tooOld(ku.max)
27464
+ tooOld: () => He.birthdate.tooOld(Cu.max)
27458
27465
  },
27459
27466
  "birthdate_range"
27460
27467
  )),
27461
- zipcode: Ct().required(Ue.pet.zipcodeRequired).matches(zj, Ue.pet.zipcodeInvalid)
27462
- }), Yj = [
27468
+ zipcode: Ct().required(He.pet.zipcodeRequired).matches(Wj, He.pet.zipcodeInvalid)
27469
+ }), Gj = [
27463
27470
  {
27464
27471
  title: "Hond",
27465
27472
  value: "dog"
@@ -27476,7 +27483,7 @@ const Uj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27476
27483
  title: "Vogel",
27477
27484
  value: "bird"
27478
27485
  }
27479
- ], Gj = /* @__PURE__ */ ce({
27486
+ ], Kj = /* @__PURE__ */ ce({
27480
27487
  __name: "PetForm",
27481
27488
  props: /* @__PURE__ */ Vt({
27482
27489
  initialData: {},
@@ -27498,7 +27505,7 @@ const Uj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27498
27505
  isSubmitting: o,
27499
27506
  handleSubmit: s,
27500
27507
  defineField: l
27501
- } = Qt(Wj, {
27508
+ } = Qt(Yj, {
27502
27509
  kind: "dog",
27503
27510
  age: "",
27504
27511
  zipcode: "",
@@ -27524,7 +27531,7 @@ const Uj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27524
27531
  "onUpdate:modelValue": b[0] || (b[0] = (S) => /* @__PURE__ */ le(c) ? c.value = S : null),
27525
27532
  label: "Wat voor huisdier wil je verzekeren?",
27526
27533
  placeholder: "",
27527
- options: _(Yj),
27534
+ options: _(Gj),
27528
27535
  name: "kind",
27529
27536
  required: !1,
27530
27537
  "error-message": _(a)
@@ -27596,7 +27603,7 @@ const Uj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27596
27603
  }, 16, ["submit-disabled"]));
27597
27604
  }
27598
27605
  });
27599
- function Kj(e) {
27606
+ function Zj(e) {
27600
27607
  return {
27601
27608
  comparison: De.Pet,
27602
27609
  details: [{
@@ -27611,15 +27618,15 @@ function Kj(e) {
27611
27618
  }
27612
27619
  };
27613
27620
  }
27614
- const Zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27621
+ const Jj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27615
27622
  __proto__: null,
27616
- Form: Gj,
27617
- presenter: Kj
27618
- }, Symbol.toStringTag, { value: "Module" })), Jj = jt({
27619
- TypeOfCaravan: dm(Ue.caravan.typeOfCaravanRequired),
27620
- NewOrOccasion: $l(l_, Ue.caravan.newOrOccasionRequired),
27621
- BuildYear: dm(Ue.caravan.buildYearRequired)
27622
- }), Xj = [
27623
+ Form: Kj,
27624
+ presenter: Zj
27625
+ }, Symbol.toStringTag, { value: "Module" })), Xj = jt({
27626
+ TypeOfCaravan: dm(He.caravan.typeOfCaravanRequired),
27627
+ NewOrOccasion: $l(f_, He.caravan.newOrOccasionRequired),
27628
+ BuildYear: dm(He.caravan.buildYearRequired)
27629
+ }), Qj = [
27623
27630
  {
27624
27631
  value: "CS",
27625
27632
  title: "Stacaravan"
@@ -27632,7 +27639,7 @@ const Zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27632
27639
  value: "CV",
27633
27640
  title: "Vouwwagen"
27634
27641
  }
27635
- ], Qj = [
27642
+ ], eF = [
27636
27643
  {
27637
27644
  value: Ln.Yes,
27638
27645
  label: "Nieuw"
@@ -27641,12 +27648,12 @@ const Zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27641
27648
  value: Ln.No,
27642
27649
  label: "Occasion"
27643
27650
  }
27644
- ], eF = 125;
27645
- function tF() {
27646
- const e = Dj();
27647
- return Array.from({ length: eF + 1 }, (t, n) => ({ title: String(e - n), value: String(e - n) }));
27651
+ ], tF = 125;
27652
+ function nF() {
27653
+ const e = HD();
27654
+ return Array.from({ length: tF + 1 }, (t, n) => ({ title: String(e - n), value: String(e - n) }));
27648
27655
  }
27649
- const nF = /* @__PURE__ */ ce({
27656
+ const rF = /* @__PURE__ */ ce({
27650
27657
  __name: "CaravanForm",
27651
27658
  props: /* @__PURE__ */ Vt({
27652
27659
  initialData: {},
@@ -27664,11 +27671,11 @@ const nF = /* @__PURE__ */ ce({
27664
27671
  }),
27665
27672
  emits: ["submit"],
27666
27673
  setup(e, { emit: t }) {
27667
- const n = e, r = $t(n), i = t, o = tF(), {
27674
+ const n = e, r = $t(n), i = t, o = nF(), {
27668
27675
  isSubmitting: s,
27669
27676
  handleSubmit: l,
27670
27677
  defineField: c
27671
- } = Qt(Jj, {
27678
+ } = Qt(Xj, {
27672
27679
  TypeOfCaravan: null,
27673
27680
  NewOrOccasion: Ln.Yes,
27674
27681
  BuildYear: null,
@@ -27693,7 +27700,7 @@ const nF = /* @__PURE__ */ ce({
27693
27700
  modelValue: _(u),
27694
27701
  "onUpdate:modelValue": S[0] || (S[0] = (x) => /* @__PURE__ */ le(u) ? u.value = x : null),
27695
27702
  label: "Soort caravan",
27696
- options: _(Xj),
27703
+ options: _(Qj),
27697
27704
  name: "typeOfCaravan",
27698
27705
  required: !1,
27699
27706
  "error-message": _(f)
@@ -27711,7 +27718,7 @@ const nF = /* @__PURE__ */ ce({
27711
27718
  "onUpdate:modelValue": S[1] || (S[1] = (x) => /* @__PURE__ */ le(h) ? h.value = x : null),
27712
27719
  legend: "Gekocht als",
27713
27720
  name: "newOrOccasion",
27714
- options: _(Qj),
27721
+ options: _(eF),
27715
27722
  variant: "boxed",
27716
27723
  required: !1,
27717
27724
  "error-message": _(p)
@@ -27741,7 +27748,7 @@ const nF = /* @__PURE__ */ ce({
27741
27748
  }, 16, ["submit-disabled"]));
27742
27749
  }
27743
27750
  });
27744
- function rF(e) {
27751
+ function iF(e) {
27745
27752
  return {
27746
27753
  comparison: De.Caravan,
27747
27754
  details: [{
@@ -27755,16 +27762,16 @@ function rF(e) {
27755
27762
  user: {}
27756
27763
  };
27757
27764
  }
27758
- const iF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27765
+ const oF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27759
27766
  __proto__: null,
27760
- Form: nF,
27761
- presenter: rF
27767
+ Form: rF,
27768
+ presenter: iF
27762
27769
  }, Symbol.toStringTag, { value: "Module" }));
27763
27770
  var Hi = /* @__PURE__ */ ((e) => (e.Continuous = "L", e.ShortTerm = "S", e))(Hi || {});
27764
- const oF = [Hi.Continuous, Hi.ShortTerm], sF = jt({
27765
- PaymentTerm: $l(oF, Ue.travel.paymentTermRequired),
27771
+ const sF = [Hi.Continuous, Hi.ShortTerm], aF = jt({
27772
+ PaymentTerm: $l(sF, He.travel.paymentTermRequired),
27766
27773
  birthdate: fr()
27767
- }), aF = [
27774
+ }), lF = [
27768
27775
  {
27769
27776
  value: Hi.Continuous,
27770
27777
  label: "Doorlopend"
@@ -27773,7 +27780,7 @@ const oF = [Hi.Continuous, Hi.ShortTerm], sF = jt({
27773
27780
  value: Hi.ShortTerm,
27774
27781
  label: "Kortlopend"
27775
27782
  }
27776
- ], lF = /* @__PURE__ */ ce({
27783
+ ], uF = /* @__PURE__ */ ce({
27777
27784
  __name: "TravelForm",
27778
27785
  props: /* @__PURE__ */ Vt({
27779
27786
  initialData: {},
@@ -27795,7 +27802,7 @@ const oF = [Hi.Continuous, Hi.ShortTerm], sF = jt({
27795
27802
  isSubmitting: o,
27796
27803
  handleSubmit: s,
27797
27804
  defineField: l
27798
- } = Qt(sF, {
27805
+ } = Qt(aF, {
27799
27806
  PaymentTerm: Hi.Continuous,
27800
27807
  birthdate: "",
27801
27808
  ...n.initialData
@@ -27820,7 +27827,7 @@ const oF = [Hi.Continuous, Hi.ShortTerm], sF = jt({
27820
27827
  "onUpdate:modelValue": y[0] || (y[0] = (m) => /* @__PURE__ */ le(c) ? c.value = m : null),
27821
27828
  legend: "Kies je dekking",
27822
27829
  name: "PaymentTerm",
27823
- options: _(aF),
27830
+ options: _(lF),
27824
27831
  variant: "boxed",
27825
27832
  required: !1,
27826
27833
  "error-message": _(a)
@@ -27859,7 +27866,7 @@ const oF = [Hi.Continuous, Hi.ShortTerm], sF = jt({
27859
27866
  }, 16, ["submit-disabled"]));
27860
27867
  }
27861
27868
  });
27862
- function uF(e) {
27869
+ function cF(e) {
27863
27870
  return {
27864
27871
  comparison: De.Travel,
27865
27872
  details: [{
@@ -27873,15 +27880,15 @@ function uF(e) {
27873
27880
  }
27874
27881
  };
27875
27882
  }
27876
- const cF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27883
+ const fF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27877
27884
  __proto__: null,
27878
- Form: lF,
27879
- presenter: uF
27880
- }, Symbol.toStringTag, { value: "Module" })), fF = (e) => jt({
27885
+ Form: uF,
27886
+ presenter: cF
27887
+ }, Symbol.toStringTag, { value: "Module" })), dF = (e) => jt({
27881
27888
  address: e,
27882
27889
  birthdate: fr(),
27883
27890
  familyComposition: ql
27884
- }), dF = /* @__PURE__ */ ce({
27891
+ }), hF = /* @__PURE__ */ ce({
27885
27892
  __name: "LiabilityForm",
27886
27893
  props: /* @__PURE__ */ Vt({
27887
27894
  initialData: {},
@@ -27903,7 +27910,7 @@ const cF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27903
27910
  isSubmitting: s,
27904
27911
  handleSubmit: l,
27905
27912
  defineField: c
27906
- } = Qt(fF(o.addressSchema), {
27913
+ } = Qt(dF(o.addressSchema), {
27907
27914
  address: pi(),
27908
27915
  birthdate: "",
27909
27916
  familyComposition: ct.SingleWithoutChildren,
@@ -27963,7 +27970,7 @@ const cF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27963
27970
  }, 16, ["submit-disabled"]));
27964
27971
  }
27965
27972
  });
27966
- function hF(e) {
27973
+ function pF(e) {
27967
27974
  return {
27968
27975
  comparison: De.Liability,
27969
27976
  details: [{
@@ -27987,10 +27994,10 @@ function hF(e) {
27987
27994
  }
27988
27995
  };
27989
27996
  }
27990
- const pF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27997
+ const mF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27991
27998
  __proto__: null,
27992
- Form: dF,
27993
- presenter: hF
27999
+ Form: hF,
28000
+ presenter: pF
27994
28001
  }, Symbol.toStringTag, { value: "Module" })), v_ = [
27995
28002
  {
27996
28003
  value: Ln.Yes,
@@ -28000,11 +28007,11 @@ const pF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28000
28007
  value: Ln.No,
28001
28008
  label: "Verhuurd"
28002
28009
  }
28003
- ], mF = (e) => jt({
28010
+ ], vF = (e) => jt({
28004
28011
  address: e,
28005
28012
  ownedBuilding: m_,
28006
- familyComposition: p_(Ue.house.familyCompositionRequired)
28007
- }), vF = /* @__PURE__ */ ce({
28013
+ familyComposition: p_(He.house.familyCompositionRequired)
28014
+ }), yF = /* @__PURE__ */ ce({
28008
28015
  __name: "HouseForm",
28009
28016
  props: /* @__PURE__ */ Vt({
28010
28017
  initialData: {},
@@ -28026,7 +28033,7 @@ const pF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28026
28033
  isSubmitting: s,
28027
28034
  handleSubmit: l,
28028
28035
  defineField: c
28029
- } = Qt(mF(o.addressSchema), {
28036
+ } = Qt(vF(o.addressSchema), {
28030
28037
  address: pi(),
28031
28038
  ownedBuilding: Ln.Yes,
28032
28039
  familyComposition: ct.SingleWithoutChildren,
@@ -28091,7 +28098,7 @@ const pF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28091
28098
  }, 16, ["submit-disabled"]));
28092
28099
  }
28093
28100
  });
28094
- function yF(e) {
28101
+ function gF(e) {
28095
28102
  return {
28096
28103
  comparison: De.Housing,
28097
28104
  details: [{
@@ -28110,18 +28117,18 @@ function yF(e) {
28110
28117
  }
28111
28118
  const mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28112
28119
  __proto__: null,
28113
- Form: vF,
28114
- presenter: yF
28115
- }, Symbol.toStringTag, { value: "Module" })), $a = ct.SingleWithChildren, gF = (e) => jt({
28120
+ Form: yF,
28121
+ presenter: gF
28122
+ }, Symbol.toStringTag, { value: "Module" })), $a = ct.SingleWithChildren, _F = (e) => jt({
28116
28123
  address: e,
28117
28124
  ownedBuilding: m_,
28118
28125
  birthdate: fr(),
28119
28126
  familyComposition: ql,
28120
28127
  familySize: Ct().when("familyComposition", {
28121
28128
  is: $a,
28122
- then: (t) => t.required(Ue.legal.familySizeRequired)
28129
+ then: (t) => t.required(He.legal.familySizeRequired)
28123
28130
  })
28124
- }), _F = [
28131
+ }), bF = [
28125
28132
  {
28126
28133
  title: "Alleenstaande met 1 kind",
28127
28134
  value: "2"
@@ -28130,7 +28137,7 @@ const mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28130
28137
  title: "Alleenstaande met 2 of meer kinderen",
28131
28138
  value: "3"
28132
28139
  }
28133
- ], bF = /* @__PURE__ */ ce({
28140
+ ], wF = /* @__PURE__ */ ce({
28134
28141
  __name: "LegalForm",
28135
28142
  props: /* @__PURE__ */ Vt({
28136
28143
  initialData: {},
@@ -28153,7 +28160,7 @@ const mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28153
28160
  handleSubmit: l,
28154
28161
  defineField: c,
28155
28162
  resetField: u
28156
- } = Qt(gF(o.addressSchema), {
28163
+ } = Qt(_F(o.addressSchema), {
28157
28164
  address: pi(),
28158
28165
  ownedBuilding: Ln.Yes,
28159
28166
  birthdate: "",
@@ -28242,7 +28249,7 @@ const mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28242
28249
  "onUpdate:modelValue": j[3] || (j[3] = (U) => /* @__PURE__ */ le(b) ? b.value = U : null),
28243
28250
  label: "Aantal kinderen",
28244
28251
  placeholder: "Maak een keuze",
28245
- options: _(_F),
28252
+ options: _(bF),
28246
28253
  name: "familySize",
28247
28254
  required: !1,
28248
28255
  "error-message": _(x)
@@ -28255,7 +28262,7 @@ const mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28255
28262
  }, 16, ["submit-disabled"]));
28256
28263
  }
28257
28264
  });
28258
- function wF(e) {
28265
+ function SF(e) {
28259
28266
  return {
28260
28267
  comparison: De.LegalAssistance,
28261
28268
  details: [{
@@ -28278,11 +28285,11 @@ function wF(e) {
28278
28285
  }
28279
28286
  };
28280
28287
  }
28281
- const SF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28288
+ const OF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28282
28289
  __proto__: null,
28283
- Form: bF,
28284
- presenter: wF
28285
- }, Symbol.toStringTag, { value: "Module" })), OF = (e) => jt({
28290
+ Form: wF,
28291
+ presenter: SF
28292
+ }, Symbol.toStringTag, { value: "Module" })), xF = (e) => jt({
28286
28293
  address: e,
28287
28294
  birthdate: fr(),
28288
28295
  familyComposition: ql,
@@ -28290,7 +28297,7 @@ const SF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28290
28297
  is: cc,
28291
28298
  then: () => fr()
28292
28299
  })
28293
- }), xF = /* @__PURE__ */ ce({
28300
+ }), kF = /* @__PURE__ */ ce({
28294
28301
  __name: "PackageForm",
28295
28302
  props: /* @__PURE__ */ Vt({
28296
28303
  initialData: {},
@@ -28313,7 +28320,7 @@ const SF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28313
28320
  handleSubmit: l,
28314
28321
  defineField: c,
28315
28322
  resetField: u
28316
- } = Qt(OF(o.addressSchema), {
28323
+ } = Qt(xF(o.addressSchema), {
28317
28324
  address: pi(),
28318
28325
  birthdate: "",
28319
28326
  familyComposition: ct.SingleWithoutChildren,
@@ -28394,7 +28401,7 @@ const SF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28394
28401
  }, 16, ["submit-disabled"]));
28395
28402
  }
28396
28403
  });
28397
- function kF(e) {
28404
+ function CF(e) {
28398
28405
  return {
28399
28406
  comparison: De.Package,
28400
28407
  details: [{
@@ -28412,16 +28419,16 @@ function kF(e) {
28412
28419
  }
28413
28420
  };
28414
28421
  }
28415
- const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28422
+ const AF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28416
28423
  __proto__: null,
28417
- Form: xF,
28418
- presenter: kF
28419
- }, Symbol.toStringTag, { value: "Module" })), AF = { min: 21, max: 74 }, ta = { min: 3500, max: 75e3 }, MF = 76, vm = 120, EF = jt({
28420
- LoanPurpose: Ct().required(Ue.loan.purposeRequired),
28421
- LoanAmount: fc(Ue.loan.amountRequired).min(ta.min, Ue.loan.amountMin(ta.min)).max(ta.max, Ue.loan.amountMax(ta.max)),
28422
- birthdate: fr(AF),
28424
+ Form: kF,
28425
+ presenter: CF
28426
+ }, Symbol.toStringTag, { value: "Module" })), MF = { min: 21, max: 74 }, ta = { min: 3500, max: 75e3 }, EF = 76, vm = 120, PF = jt({
28427
+ LoanPurpose: Ct().required(He.loan.purposeRequired),
28428
+ LoanAmount: fc(He.loan.amountRequired).min(ta.min, He.loan.amountMin(ta.min)).max(ta.max, He.loan.amountMax(ta.max)),
28429
+ birthdate: fr(MF),
28423
28430
  familyComposition: ql
28424
- }), PF = [
28431
+ }), RF = [
28425
28432
  { title: "Aankoop auto", value: "02" },
28426
28433
  { title: "Aankoop boot", value: "03" },
28427
28434
  { title: "Aankoop caravan/camper", value: "04" },
@@ -28434,7 +28441,7 @@ const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28434
28441
  { title: "Aflossen restschuld woning", value: "12" },
28435
28442
  { title: "Extra financiële ruimte", value: "33" },
28436
28443
  { title: "Anders", value: "99" }
28437
- ], RF = /* @__PURE__ */ ce({
28444
+ ], TF = /* @__PURE__ */ ce({
28438
28445
  __name: "LoanForm",
28439
28446
  props: /* @__PURE__ */ Vt({
28440
28447
  initialData: {},
@@ -28456,7 +28463,7 @@ const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28456
28463
  isSubmitting: o,
28457
28464
  handleSubmit: s,
28458
28465
  defineField: l
28459
- } = Qt(EF, {
28466
+ } = Qt(PF, {
28460
28467
  LoanPurpose: "",
28461
28468
  LoanAmount: null,
28462
28469
  birthdate: "",
@@ -28483,7 +28490,7 @@ const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28483
28490
  "onUpdate:modelValue": k[0] || (k[0] = (C) => /* @__PURE__ */ le(c) ? c.value = C : null),
28484
28491
  label: "Leendoel",
28485
28492
  placeholder: "Maak een keuze",
28486
- options: _(PF),
28493
+ options: _(RF),
28487
28494
  name: "LoanPurpose",
28488
28495
  required: !1,
28489
28496
  "error-message": _(a)
@@ -28543,14 +28550,14 @@ const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28543
28550
  }, 16, ["submit-disabled"]));
28544
28551
  }
28545
28552
  });
28546
- function TF(e) {
28547
- const t = hd(e, Io);
28553
+ function DF(e) {
28554
+ const t = fd(e, Io);
28548
28555
  if (!t)
28549
28556
  return vm;
28550
- const r = t.add(MF, "year").diff(Nl(), "month", !0), i = Math.floor(r / 12) * 12;
28557
+ const r = t.add(EF, "year").diff(Ll(), "month", !0), i = Math.floor(r / 12) * 12;
28551
28558
  return Math.min(i, vm);
28552
28559
  }
28553
- function DF(e) {
28560
+ function jF(e) {
28554
28561
  return {
28555
28562
  comparison: De.Loan,
28556
28563
  details: [{
@@ -28558,7 +28565,7 @@ function DF(e) {
28558
28565
  data: {
28559
28566
  LoanPurpose: e.LoanPurpose,
28560
28567
  LoanAmount: e.LoanAmount,
28561
- MaxDurationByLegalLimit: TF(e.birthdate)
28568
+ MaxDurationByLegalLimit: DF(e.birthdate)
28562
28569
  }
28563
28570
  }],
28564
28571
  user: {
@@ -28567,16 +28574,16 @@ function DF(e) {
28567
28574
  }
28568
28575
  };
28569
28576
  }
28570
- const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28577
+ const FF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28571
28578
  __proto__: null,
28572
- Form: RF,
28573
- presenter: DF
28574
- }, Symbol.toStringTag, { value: "Module" })), FF = { min: 16, max: 99 }, IF = (e, t) => jt({
28579
+ Form: TF,
28580
+ presenter: jF
28581
+ }, Symbol.toStringTag, { value: "Module" })), IF = { min: 16, max: 99 }, LF = (e, t) => jt({
28575
28582
  licensePlate: e,
28576
28583
  address: t,
28577
- birthdate: fr(FF)
28584
+ birthdate: fr(IF)
28578
28585
  // moped's local ./constants AGE_RANGE = {min:16,max:99}
28579
- }), LF = /* @__PURE__ */ ce({
28586
+ }), BF = /* @__PURE__ */ ce({
28580
28587
  __name: "MopedForm",
28581
28588
  props: /* @__PURE__ */ Vt({
28582
28589
  initialData: {},
@@ -28595,13 +28602,13 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28595
28602
  emits: ["submit"],
28596
28603
  setup(e, { emit: t }) {
28597
28604
  var b;
28598
- const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Vl(De.Moped, {
28605
+ const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Nl(De.Moped, {
28599
28606
  initialData: ((b = n.initialData) == null ? void 0 : b.vehicle) ?? void 0
28600
28607
  }), {
28601
28608
  isSubmitting: c,
28602
28609
  handleSubmit: u,
28603
28610
  defineField: a
28604
- } = Qt(IF(l, o.addressSchema), {
28611
+ } = Qt(LF(l, o.addressSchema), {
28605
28612
  licensePlate: "",
28606
28613
  address: pi(),
28607
28614
  birthdate: "",
@@ -28627,7 +28634,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28627
28634
  md: "6"
28628
28635
  }, {
28629
28636
  default: L(() => [
28630
- F(_(Bl), ie({
28637
+ F(_(Vl), ie({
28631
28638
  modelValue: _(f),
28632
28639
  "onUpdate:modelValue": x[0] || (x[0] = (k) => /* @__PURE__ */ le(f) ? f.value = k : null),
28633
28640
  "vehicle-data": _(s),
@@ -28680,7 +28687,7 @@ const jF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28680
28687
  }, 16, ["submit-disabled"]));
28681
28688
  }
28682
28689
  });
28683
- function BF(e) {
28690
+ function VF(e) {
28684
28691
  return {
28685
28692
  comparison: De.Moped,
28686
28693
  details: [{
@@ -28698,15 +28705,15 @@ function BF(e) {
28698
28705
  }
28699
28706
  };
28700
28707
  }
28701
- const VF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28708
+ const NF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28702
28709
  __proto__: null,
28703
- Form: LF,
28704
- presenter: BF
28705
- }, Symbol.toStringTag, { value: "Module" })), NF = (e, t) => jt({
28710
+ Form: BF,
28711
+ presenter: VF
28712
+ }, Symbol.toStringTag, { value: "Module" })), $F = (e, t) => jt({
28706
28713
  licensePlate: e,
28707
28714
  address: t,
28708
28715
  birthdate: fr()
28709
- }), $F = /* @__PURE__ */ ce({
28716
+ }), qF = /* @__PURE__ */ ce({
28710
28717
  __name: "MotorForm",
28711
28718
  props: /* @__PURE__ */ Vt({
28712
28719
  initialData: {},
@@ -28725,13 +28732,13 @@ const VF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28725
28732
  emits: ["submit"],
28726
28733
  setup(e, { emit: t }) {
28727
28734
  var b;
28728
- const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Vl(De.Motor, {
28735
+ const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Nl(De.Motor, {
28729
28736
  initialData: ((b = n.initialData) == null ? void 0 : b.vehicle) ?? void 0
28730
28737
  }), {
28731
28738
  isSubmitting: c,
28732
28739
  handleSubmit: u,
28733
28740
  defineField: a
28734
- } = Qt(NF(l, o.addressSchema), {
28741
+ } = Qt($F(l, o.addressSchema), {
28735
28742
  licensePlate: "",
28736
28743
  address: pi(),
28737
28744
  birthdate: "",
@@ -28757,7 +28764,7 @@ const VF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28757
28764
  md: "6"
28758
28765
  }, {
28759
28766
  default: L(() => [
28760
- F(_(Bl), ie({
28767
+ F(_(Vl), ie({
28761
28768
  modelValue: _(f),
28762
28769
  "onUpdate:modelValue": x[0] || (x[0] = (k) => /* @__PURE__ */ le(f) ? f.value = k : null),
28763
28770
  "vehicle-data": _(s),
@@ -28810,7 +28817,7 @@ const VF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28810
28817
  }, 16, ["submit-disabled"]));
28811
28818
  }
28812
28819
  });
28813
- function qF(e) {
28820
+ function UF(e) {
28814
28821
  return {
28815
28822
  comparison: De.Motor,
28816
28823
  details: [{
@@ -28828,15 +28835,15 @@ function qF(e) {
28828
28835
  }
28829
28836
  };
28830
28837
  }
28831
- const UF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28838
+ const HF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28832
28839
  __proto__: null,
28833
- Form: $F,
28834
- presenter: qF
28835
- }, Symbol.toStringTag, { value: "Module" })), HF = (e, t) => jt({
28840
+ Form: qF,
28841
+ presenter: UF
28842
+ }, Symbol.toStringTag, { value: "Module" })), zF = (e, t) => jt({
28836
28843
  licensePlate: e,
28837
28844
  address: t,
28838
28845
  birthdate: fr()
28839
- }), zF = /* @__PURE__ */ ce({
28846
+ }), WF = /* @__PURE__ */ ce({
28840
28847
  __name: "CarForm",
28841
28848
  props: /* @__PURE__ */ Vt({
28842
28849
  initialData: {},
@@ -28855,13 +28862,13 @@ const UF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28855
28862
  emits: ["submit"],
28856
28863
  setup(e, { emit: t }) {
28857
28864
  var b;
28858
- const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Vl(De.Car, {
28865
+ const n = e, r = $t(n), i = t, o = mi(), { vehicleData: s, licensePlateSchema: l } = Nl(De.Car, {
28859
28866
  initialData: ((b = n.initialData) == null ? void 0 : b.vehicle) ?? void 0
28860
28867
  }), {
28861
28868
  isSubmitting: c,
28862
28869
  handleSubmit: u,
28863
28870
  defineField: a
28864
- } = Qt(HF(l, o.addressSchema), {
28871
+ } = Qt(zF(l, o.addressSchema), {
28865
28872
  licensePlate: "",
28866
28873
  address: pi(),
28867
28874
  birthdate: "",
@@ -28887,7 +28894,7 @@ const UF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28887
28894
  md: "6"
28888
28895
  }, {
28889
28896
  default: L(() => [
28890
- F(_(Bl), ie({
28897
+ F(_(Vl), ie({
28891
28898
  modelValue: _(f),
28892
28899
  "onUpdate:modelValue": x[0] || (x[0] = (k) => /* @__PURE__ */ le(f) ? f.value = k : null),
28893
28900
  "vehicle-data": _(s),
@@ -28940,7 +28947,7 @@ const UF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28940
28947
  }, 16, ["submit-disabled"]));
28941
28948
  }
28942
28949
  });
28943
- function WF(e) {
28950
+ function YF(e) {
28944
28951
  return {
28945
28952
  comparison: De.Car,
28946
28953
  details: [{
@@ -28958,14 +28965,14 @@ function WF(e) {
28958
28965
  }
28959
28966
  };
28960
28967
  }
28961
- const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28968
+ const GF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28962
28969
  __proto__: null,
28963
- Form: zF,
28964
- presenter: WF
28965
- }, Symbol.toStringTag, { value: "Module" })), GF = (e) => jt({
28970
+ Form: WF,
28971
+ presenter: YF
28972
+ }, Symbol.toStringTag, { value: "Module" })), KF = (e) => jt({
28966
28973
  licensePlate: e,
28967
- company: Aj()
28968
- }), KF = /* @__PURE__ */ ce({
28974
+ company: jj()
28975
+ }), ZF = /* @__PURE__ */ ce({
28969
28976
  __name: "BusinessCarForm",
28970
28977
  props: /* @__PURE__ */ Vt({
28971
28978
  initialData: {},
@@ -28984,7 +28991,7 @@ const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28984
28991
  emits: ["submit"],
28985
28992
  setup(e, { emit: t }) {
28986
28993
  var k;
28987
- const n = e, r = $t(n), i = t, { vehicleData: o, licensePlateSchema: s } = Vl(De.Car, {
28994
+ const n = e, r = $t(n), i = t, { vehicleData: o, licensePlateSchema: s } = Nl(De.Car, {
28988
28995
  initialData: ((k = n.initialData) == null ? void 0 : k.vehicle) ?? void 0
28989
28996
  }), {
28990
28997
  isSubmitting: l,
@@ -28992,7 +28999,7 @@ const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28992
28999
  defineField: u,
28993
29000
  setErrors: a,
28994
29001
  removeError: f
28995
- } = Qt(GF(s), {
29002
+ } = Qt(KF(s), {
28996
29003
  licensePlate: "",
28997
29004
  company: null,
28998
29005
  ...n.initialData
@@ -29017,7 +29024,7 @@ const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29017
29024
  md: "6"
29018
29025
  }, {
29019
29026
  default: L(() => [
29020
- F(_(Bl), ie({
29027
+ F(_(Vl), ie({
29021
29028
  modelValue: _(h),
29022
29029
  "onUpdate:modelValue": R[0] || (R[0] = (j) => /* @__PURE__ */ le(h) ? h.value = j : null),
29023
29030
  "vehicle-data": _(o),
@@ -29047,7 +29054,7 @@ const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29047
29054
  md: "6"
29048
29055
  }, {
29049
29056
  default: L(() => [
29050
- F(_(Cj), ie({
29057
+ F(_(Dj), ie({
29051
29058
  modelValue: _(y),
29052
29059
  "onUpdate:modelValue": R[2] || (R[2] = (j) => /* @__PURE__ */ le(y) ? y.value = j : null),
29053
29060
  name: "company",
@@ -29080,7 +29087,7 @@ const YF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29080
29087
  }, 16, ["submit-disabled"]));
29081
29088
  }
29082
29089
  });
29083
- function ZF(e) {
29090
+ function JF(e) {
29084
29091
  const { hasVisitingAddress: t, ...n } = e.company;
29085
29092
  return {
29086
29093
  comparison: De.CarBusiness,
@@ -29099,8 +29106,8 @@ function ZF(e) {
29099
29106
  }
29100
29107
  const ym = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29101
29108
  __proto__: null,
29102
- Form: KF,
29103
- presenter: ZF
29109
+ Form: ZF,
29110
+ presenter: JF
29104
29111
  }, Symbol.toStringTag, { value: "Module" }));
29105
29112
  export {
29106
29113
  UA as VdComparisonFormElement