var njtWhatsApp;
(() => {
var t = {
484: function (t) {
t.exports = (function () {
"use strict";
var t = 1e3,
e = 6e4,
n = 36e5,
r = "millisecond",
s = "second",
i = "minute",
a = "hour",
o = "day",
c = "week",
u = "month",
l = "quarter",
d = "year",
f = "date",
p = "Invalid Date",
h =
/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
m =
/\[([^\]]+)]|Y{1,4}|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 (t) {
var e = ["th", "st", "nd", "rd"],
n = t % 100;
return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
},
},
v = function (t, e, n) {
var r = String(t);
return !r || r.length >= e
? t
: "" + Array(e + 1 - r.length).join(n) + t;
},
_ = {
s: v,
z: function (t) {
var e = -t.utcOffset(),
n = Math.abs(e),
r = Math.floor(n / 60),
s = n % 60;
return (e <= 0 ? "+" : "-") + v(r, 2, "0") + ":" + v(s, 2, "0");
},
m: function t(e, n) {
if (e.date() < n.date()) return -t(n, e);
var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
s = e.clone().add(r, u),
i = n - s < 0,
a = e.clone().add(r + (i ? -1 : 1), u);
return +(-(r + (n - s) / (i ? s - a : a - s)) || 0);
},
a: function (t) {
return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
},
p: function (t) {
return (
{ M: u, y: d, w: c, d: o, D: f, h: a, m: i, s, ms: r, Q: l }[
t
] ||
String(t || "")
.toLowerCase()
.replace(/s$/, "")
);
},
u: function (t) {
return void 0 === t;
},
},
b = "en",
w = {};
w[b] = g;
var y = "$isDayjsObject",
$ = function (t) {
return t instanceof k || !(!t || !t[y]);
},
x = function t(e, n, r) {
var s;
if (!e) return b;
if ("string" == typeof e) {
var i = e.toLowerCase();
w[i] && (s = i), n && ((w[i] = n), (s = i));
var a = e.split("-");
if (!s && a.length > 1) return t(a[0]);
} else {
var o = e.name;
(w[o] = e), (s = o);
}
return !r && s && (b = s), s || (!r && b);
},
M = function (t, e) {
if ($(t)) return t.clone();
var n = "object" == typeof e ? e : {};
return (n.date = t), (n.args = arguments), new k(n);
},
S = _;
(S.l = x),
(S.i = $),
(S.w = function (t, e) {
return M(t, {
locale: e.$L,
utc: e.$u,
x: e.$x,
$offset: e.$offset,
});
});
var k = (function () {
function g(t) {
(this.$L = x(t.locale, null, !0)),
this.parse(t),
(this.$x = this.$x || t.x || {}),
(this[y] = !0);
}
var v = g.prototype;
return (
(v.parse = function (t) {
(this.$d = (function (t) {
var e = t.date,
n = t.utc;
if (null === e) return new Date(NaN);
if (S.u(e)) return new Date();
if (e instanceof Date) return new Date(e);
if ("string" == typeof e && !/Z$/i.test(e)) {
var r = e.match(h);
if (r) {
var s = r[2] - 1 || 0,
i = (r[7] || "0").substring(0, 3);
return n
? new Date(
Date.UTC(
r[1],
s,
r[3] || 1,
r[4] || 0,
r[5] || 0,
r[6] || 0,
i,
),
)
: new Date(
r[1],
s,
r[3] || 1,
r[4] || 0,
r[5] || 0,
r[6] || 0,
i,
);
}
}
return new Date(e);
})(t)),
this.init();
}),
(v.init = function () {
var t = this.$d;
(this.$y = t.getFullYear()),
(this.$M = t.getMonth()),
(this.$D = t.getDate()),
(this.$W = t.getDay()),
(this.$H = t.getHours()),
(this.$m = t.getMinutes()),
(this.$s = t.getSeconds()),
(this.$ms = t.getMilliseconds());
}),
(v.$utils = function () {
return S;
}),
(v.isValid = function () {
return !(this.$d.toString() === p);
}),
(v.isSame = function (t, e) {
var n = M(t);
return this.startOf(e) <= n && n <= this.endOf(e);
}),
(v.isAfter = function (t, e) {
return M(t) < this.startOf(e);
}),
(v.isBefore = function (t, e) {
return this.endOf(e) < M(t);
}),
(v.$g = function (t, e, n) {
return S.u(t) ? this[e] : this.set(n, t);
}),
(v.unix = function () {
return Math.floor(this.valueOf() / 1e3);
}),
(v.valueOf = function () {
return this.$d.getTime();
}),
(v.startOf = function (t, e) {
var n = this,
r = !!S.u(e) || e,
l = S.p(t),
p = function (t, e) {
var s = S.w(
n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t),
n,
);
return r ? s : s.endOf(o);
},
h = function (t, e) {
return S.w(
n
.toDate()
[
t
].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59,
59, 999]).slice(e)),
n,
);
},
m = this.$W,
g = this.$M,
v = this.$D,
_ = "set" + (this.$u ? "UTC" : "");
switch (l) {
case d:
return r ? p(1, 0) : p(31, 11);
case u:
return r ? p(1, g) : p(0, g + 1);
case c:
var b = this.$locale().weekStart || 0,
w = (m < b ? m + 7 : m) - b;
return p(r ? v - w : v + (6 - w), g);
case o:
case f:
return h(_ + "Hours", 0);
case a:
return h(_ + "Minutes", 1);
case i:
return h(_ + "Seconds", 2);
case s:
return h(_ + "Milliseconds", 3);
default:
return this.clone();
}
}),
(v.endOf = function (t) {
return this.startOf(t, !1);
}),
(v.$set = function (t, e) {
var n,
c = S.p(t),
l = "set" + (this.$u ? "UTC" : ""),
p = ((n = {}),
(n[o] = l + "Date"),
(n[f] = l + "Date"),
(n[u] = l + "Month"),
(n[d] = l + "FullYear"),
(n[a] = l + "Hours"),
(n[i] = l + "Minutes"),
(n[s] = l + "Seconds"),
(n[r] = l + "Milliseconds"),
n)[c],
h = c === o ? this.$D + (e - this.$W) : e;
if (c === u || c === d) {
var m = this.clone().set(f, 1);
m.$d[p](h),
m.init(),
(this.$d = m.set(
f,
Math.min(this.$D, m.daysInMonth()),
).$d);
} else p && this.$d[p](h);
return this.init(), this;
}),
(v.set = function (t, e) {
return this.clone().$set(t, e);
}),
(v.get = function (t) {
return this[S.p(t)]();
}),
(v.add = function (r, l) {
var f,
p = this;
r = Number(r);
var h = S.p(l),
m = function (t) {
var e = M(p);
return S.w(e.date(e.date() + Math.round(t * r)), p);
};
if (h === u) return this.set(u, this.$M + r);
if (h === d) return this.set(d, this.$y + r);
if (h === o) return m(1);
if (h === c) return m(7);
var g =
((f = {}), (f[i] = e), (f[a] = n), (f[s] = t), f)[h] || 1,
v = this.$d.getTime() + r * g;
return S.w(v, this);
}),
(v.subtract = function (t, e) {
return this.add(-1 * t, e);
}),
(v.format = function (t) {
var e = this,
n = this.$locale();
if (!this.isValid()) return n.invalidDate || p;
var r = t || "YYYY-MM-DDTHH:mm:ssZ",
s = S.z(this),
i = this.$H,
a = this.$m,
o = this.$M,
c = n.weekdays,
u = n.months,
l = n.meridiem,
d = function (t, n, s, i) {
return (t && (t[n] || t(e, r))) || s[n].slice(0, i);
},
f = function (t) {
return S.s(i % 12 || 12, t, "0");
},
h =
l ||
function (t, e, n) {
var r = t < 12 ? "AM" : "PM";
return n ? r.toLowerCase() : r;
};
return r.replace(m, function (t, r) {
return (
r ||
(function (t) {
switch (t) {
case "YY":
return String(e.$y).slice(-2);
case "YYYY":
return S.s(e.$y, 4, "0");
case "M":
return o + 1;
case "MM":
return S.s(o + 1, 2, "0");
case "MMM":
return d(n.monthsShort, o, u, 3);
case "MMMM":
return d(u, o);
case "D":
return e.$D;
case "DD":
return S.s(e.$D, 2, "0");
case "d":
return String(e.$W);
case "dd":
return d(n.weekdaysMin, e.$W, c, 2);
case "ddd":
return d(n.weekdaysShort, e.$W, c, 3);
case "dddd":
return c[e.$W];
case "H":
return String(i);
case "HH":
return S.s(i, 2, "0");
case "h":
return f(1);
case "hh":
return f(2);
case "a":
return h(i, a, !0);
case "A":
return h(i, a, !1);
case "m":
return String(a);
case "mm":
return S.s(a, 2, "0");
case "s":
return String(e.$s);
case "ss":
return S.s(e.$s, 2, "0");
case "SSS":
return S.s(e.$ms, 3, "0");
case "Z":
return s;
}
return null;
})(t) ||
s.replace(":", "")
);
});
}),
(v.utcOffset = function () {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}),
(v.diff = function (r, f, p) {
var h,
m = this,
g = S.p(f),
v = M(r),
_ = (v.utcOffset() - this.utcOffset()) * e,
b = this - v,
w = function () {
return S.m(m, v);
};
switch (g) {
case d:
h = w() / 12;
break;
case u:
h = w();
break;
case l:
h = w() / 3;
break;
case c:
h = (b - _) / 6048e5;
break;
case o:
h = (b - _) / 864e5;
break;
case a:
h = b / n;
break;
case i:
h = b / e;
break;
case s:
h = b / t;
break;
default:
h = b;
}
return p ? h : S.a(h);
}),
(v.daysInMonth = function () {
return this.endOf(u).$D;
}),
(v.$locale = function () {
return w[this.$L];
}),
(v.locale = function (t, e) {
if (!t) return this.$L;
var n = this.clone(),
r = x(t, e, !0);
return r && (n.$L = r), n;
}),
(v.clone = function () {
return S.w(this.$d, this);
}),
(v.toDate = function () {
return new Date(this.valueOf());
}),
(v.toJSON = function () {
return this.isValid() ? this.toISOString() : null;
}),
(v.toISOString = function () {
return this.$d.toISOString();
}),
(v.toString = function () {
return this.$d.toUTCString();
}),
g
);
})(),
D = k.prototype;
return (
(M.prototype = D),
[
["$ms", r],
["$s", s],
["$m", i],
["$H", a],
["$W", o],
["$M", u],
["$y", d],
["$D", f],
].forEach(function (t) {
D[t[1]] = function (e) {
return this.$g(e, t[0], t[1]);
};
}),
(M.extend = function (t, e) {
return t.$i || (t(e, k, M), (t.$i = !0)), M;
}),
(M.locale = x),
(M.isDayjs = $),
(M.unix = function (t) {
return M(1e3 * t);
}),
(M.en = w[b]),
(M.Ls = w),
(M.p = {}),
M
);
})();
},
646: function (t) {
t.exports = (function () {
"use strict";
var t,
e,
n = 1e3,
r = 6e4,
s = 36e5,
i = 864e5,
a =
/\[([^\]]+)]|Y{1,4}|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,
o = 31536e6,
c = 2628e6,
u =
/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,
l = {
years: o,
months: c,
days: i,
hours: s,
minutes: r,
seconds: n,
milliseconds: 1,
weeks: 6048e5,
},
d = function (t) {
return t instanceof _;
},
f = function (t, e, n) {
return new _(t, n, e.$l);
},
p = function (t) {
return e.p(t) + "s";
},
h = function (t) {
return t < 0;
},
m = function (t) {
return h(t) ? Math.ceil(t) : Math.floor(t);
},
g = function (t) {
return Math.abs(t);
},
v = function (t, e) {
return t
? h(t)
? { negative: !0, format: "" + g(t) + e }
: { negative: !1, format: "" + t + e }
: { negative: !1, format: "" };
},
_ = (function () {
function h(t, e, n) {
var r = this;
if (
((this.$d = {}),
(this.$l = n),
void 0 === t &&
((this.$ms = 0), this.parseFromMilliseconds()),
e)
)
return f(t * l[p(e)], this);
if ("number" == typeof t)
return (this.$ms = t), this.parseFromMilliseconds(), this;
if ("object" == typeof t)
return (
Object.keys(t).forEach(function (e) {
r.$d[p(e)] = t[e];
}),
this.calMilliseconds(),
this
);
if ("string" == typeof t) {
var s = t.match(u);
if (s) {
var i = s.slice(2).map(function (t) {
return null != t ? Number(t) : 0;
});
return (
(this.$d.years = i[0]),
(this.$d.months = i[1]),
(this.$d.weeks = i[2]),
(this.$d.days = i[3]),
(this.$d.hours = i[4]),
(this.$d.minutes = i[5]),
(this.$d.seconds = i[6]),
this.calMilliseconds(),
this
);
}
}
return this;
}
var g = h.prototype;
return (
(g.calMilliseconds = function () {
var t = this;
this.$ms = Object.keys(this.$d).reduce(function (e, n) {
return e + (t.$d[n] || 0) * l[n];
}, 0);
}),
(g.parseFromMilliseconds = function () {
var t = this.$ms;
(this.$d.years = m(t / o)),
(t %= o),
(this.$d.months = m(t / c)),
(t %= c),
(this.$d.days = m(t / i)),
(t %= i),
(this.$d.hours = m(t / s)),
(t %= s),
(this.$d.minutes = m(t / r)),
(t %= r),
(this.$d.seconds = m(t / n)),
(t %= n),
(this.$d.milliseconds = t);
}),
(g.toISOString = function () {
var t = v(this.$d.years, "Y"),
e = v(this.$d.months, "M"),
n = +this.$d.days || 0;
this.$d.weeks && (n += 7 * this.$d.weeks);
var r = v(n, "D"),
s = v(this.$d.hours, "H"),
i = v(this.$d.minutes, "M"),
a = this.$d.seconds || 0;
this.$d.milliseconds &&
((a += this.$d.milliseconds / 1e3),
(a = Math.round(1e3 * a) / 1e3));
var o = v(a, "S"),
c =
t.negative ||
e.negative ||
r.negative ||
s.negative ||
i.negative ||
o.negative,
u = s.format || i.format || o.format ? "T" : "",
l =
(c ? "-" : "") +
"P" +
t.format +
e.format +
r.format +
u +
s.format +
i.format +
o.format;
return "P" === l || "-P" === l ? "P0D" : l;
}),
(g.toJSON = function () {
return this.toISOString();
}),
(g.format = function (t) {
var n = t || "YYYY-MM-DDTHH:mm:ss",
r = {
Y: this.$d.years,
YY: e.s(this.$d.years, 2, "0"),
YYYY: e.s(this.$d.years, 4, "0"),
M: this.$d.months,
MM: e.s(this.$d.months, 2, "0"),
D: this.$d.days,
DD: e.s(this.$d.days, 2, "0"),
H: this.$d.hours,
HH: e.s(this.$d.hours, 2, "0"),
m: this.$d.minutes,
mm: e.s(this.$d.minutes, 2, "0"),
s: this.$d.seconds,
ss: e.s(this.$d.seconds, 2, "0"),
SSS: e.s(this.$d.milliseconds, 3, "0"),
};
return n.replace(a, function (t, e) {
return e || String(r[t]);
});
}),
(g.as = function (t) {
return this.$ms / l[p(t)];
}),
(g.get = function (t) {
var e = this.$ms,
n = p(t);
return (
"milliseconds" === n
? (e %= 1e3)
: (e = "weeks" === n ? m(e / l[n]) : this.$d[n]),
e || 0
);
}),
(g.add = function (t, e, n) {
var r;
return (
(r = e ? t * l[p(e)] : d(t) ? t.$ms : f(t, this).$ms),
f(this.$ms + r * (n ? -1 : 1), this)
);
}),
(g.subtract = function (t, e) {
return this.add(t, e, !0);
}),
(g.locale = function (t) {
var e = this.clone();
return (e.$l = t), e;
}),
(g.clone = function () {
return f(this.$ms, this);
}),
(g.humanize = function (e) {
return t().add(this.$ms, "ms").locale(this.$l).fromNow(!e);
}),
(g.valueOf = function () {
return this.asMilliseconds();
}),
(g.milliseconds = function () {
return this.get("milliseconds");
}),
(g.asMilliseconds = function () {
return this.as("milliseconds");
}),
(g.seconds = function () {
return this.get("seconds");
}),
(g.asSeconds = function () {
return this.as("seconds");
}),
(g.minutes = function () {
return this.get("minutes");
}),
(g.asMinutes = function () {
return this.as("minutes");
}),
(g.hours = function () {
return this.get("hours");
}),
(g.asHours = function () {
return this.as("hours");
}),
(g.days = function () {
return this.get("days");
}),
(g.asDays = function () {
return this.as("days");
}),
(g.weeks = function () {
return this.get("weeks");
}),
(g.asWeeks = function () {
return this.as("weeks");
}),
(g.months = function () {
return this.get("months");
}),
(g.asMonths = function () {
return this.as("months");
}),
(g.years = function () {
return this.get("years");
}),
(g.asYears = function () {
return this.as("years");
}),
h
);
})(),
b = function (t, e, n) {
return t
.add(e.years() * n, "y")
.add(e.months() * n, "M")
.add(e.days() * n, "d")
.add(e.hours() * n, "h")
.add(e.minutes() * n, "m")
.add(e.seconds() * n, "s")
.add(e.milliseconds() * n, "ms");
};
return function (n, r, s) {
(t = s),
(e = s().$utils()),
(s.duration = function (t, e) {
var n = s.locale();
return f(t, { $l: n }, e);
}),
(s.isDuration = d);
var i = r.prototype.add,
a = r.prototype.subtract;
(r.prototype.add = function (t, e) {
return d(t) ? b(this, t, 1) : i.bind(this)(t, e);
}),
(r.prototype.subtract = function (t, e) {
return d(t) ? b(this, t, -1) : a.bind(this)(t, e);
});
};
})();
},
387: function (t) {
t.exports = (function () {
"use strict";
var t = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 },
e = {};
return function (n, r, s) {
var i,
a = function (t, n, r) {
void 0 === r && (r = {});
var s = new Date(t),
i = (function (t, n) {
void 0 === n && (n = {});
var r = n.timeZoneName || "short",
s = t + "|" + r,
i = e[s];
return (
i ||
((i = new Intl.DateTimeFormat("en-US", {
hour12: !1,
timeZone: t,
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
timeZoneName: r,
})),
(e[s] = i)),
i
);
})(n, r);
return i.formatToParts(s);
},
o = function (e, n) {
for (var r = a(e, n), i = [], o = 0; o < r.length; o += 1) {
var c = r[o],
u = c.type,
l = c.value,
d = t[u];
d >= 0 && (i[d] = parseInt(l, 10));
}
var f = i[3],
p = 24 === f ? 0 : f,
h =
i[0] +
"-" +
i[1] +
"-" +
i[2] +
" " +
p +
":" +
i[4] +
":" +
i[5] +
":000",
m = +e;
return (s.utc(h).valueOf() - (m -= m % 1e3)) / 6e4;
},
c = r.prototype;
(c.tz = function (t, e) {
void 0 === t && (t = i);
var n = this.utcOffset(),
r = this.toDate(),
a = r.toLocaleString("en-US", { timeZone: t }),
o = Math.round((r - new Date(a)) / 1e3 / 60),
c = s(a, { locale: this.$L })
.$set("millisecond", this.$ms)
.utcOffset(
15 * -Math.round(r.getTimezoneOffset() / 15) - o,
!0,
);
if (e) {
var u = c.utcOffset();
c = c.add(n - u, "minute");
}
return (c.$x.$timezone = t), c;
}),
(c.offsetName = function (t) {
var e = this.$x.$timezone || s.tz.guess(),
n = a(this.valueOf(), e, { timeZoneName: t }).find(
function (t) {
return "timezonename" === t.type.toLowerCase();
},
);
return n && n.value;
});
var u = c.startOf;
(c.startOf = function (t, e) {
if (!this.$x || !this.$x.$timezone) return u.call(this, t, e);
var n = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"), {
locale: this.$L,
});
return u.call(n, t, e).tz(this.$x.$timezone, !0);
}),
(s.tz = function (t, e, n) {
var r = n && e,
a = n || e || i,
c = o(+s(), a);
if ("string" != typeof t) return s(t).tz(a);
var u = (function (t, e, n) {
var r = t - 60 * e * 1e3,
s = o(r, n);
if (e === s) return [r, e];
var i = o((r -= 60 * (s - e) * 1e3), n);
return s === i
? [r, s]
: [t - 60 * Math.min(s, i) * 1e3, Math.max(s, i)];
})(s.utc(t, r).valueOf(), c, a),
l = u[0],
d = u[1],
f = s(l).utcOffset(d);
return (f.$x.$timezone = a), f;
}),
(s.tz.guess = function () {
return Intl.DateTimeFormat().resolvedOptions().timeZone;
}),
(s.tz.setDefault = function (t) {
i = t;
});
};
})();
},
178: function (t) {
t.exports = (function () {
"use strict";
var t = "minute",
e = /[+-]\d\d(?::?\d\d)?/g,
n = /([+-]|\d\d)/g;
return function (r, s, i) {
var a = s.prototype;
(i.utc = function (t) {
return new s({ date: t, utc: !0, args: arguments });
}),
(a.utc = function (e) {
var n = i(this.toDate(), { locale: this.$L, utc: !0 });
return e ? n.add(this.utcOffset(), t) : n;
}),
(a.local = function () {
return i(this.toDate(), { locale: this.$L, utc: !1 });
});
var o = a.parse;
a.parse = function (t) {
t.utc && (this.$u = !0),
this.$utils().u(t.$offset) || (this.$offset = t.$offset),
o.call(this, t);
};
var c = a.init;
a.init = function () {
if (this.$u) {
var t = this.$d;
(this.$y = t.getUTCFullYear()),
(this.$M = t.getUTCMonth()),
(this.$D = t.getUTCDate()),
(this.$W = t.getUTCDay()),
(this.$H = t.getUTCHours()),
(this.$m = t.getUTCMinutes()),
(this.$s = t.getUTCSeconds()),
(this.$ms = t.getUTCMilliseconds());
} else c.call(this);
};
var u = a.utcOffset;
a.utcOffset = function (r, s) {
var i = this.$utils().u;
if (i(r))
return this.$u
? 0
: i(this.$offset)
? u.call(this)
: this.$offset;
if (
"string" == typeof r &&
((r = (function (t) {
void 0 === t && (t = "");
var r = t.match(e);
if (!r) return null;
var s = ("" + r[0]).match(n) || ["-", 0, 0],
i = s[0],
a = 60 * +s[1] + +s[2];
return 0 === a ? 0 : "+" === i ? a : -a;
})(r)),
null === r)
)
return this;
var a = Math.abs(r) <= 16 ? 60 * r : r,
o = this;
if (s) return (o.$offset = a), (o.$u = 0 === r), o;
if (0 !== r) {
var c = this.$u
? this.toDate().getTimezoneOffset()
: -1 * this.utcOffset();
((o = this.local().add(a + c, t)).$offset = a),
(o.$x.$localOffset = c);
} else o = this.utc();
return o;
};
var l = a.format;
(a.format = function (t) {
var e = t || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
return l.call(this, e);
}),
(a.valueOf = function () {
var t = this.$utils().u(this.$offset)
? 0
: this.$offset +
(this.$x.$localOffset || this.$d.getTimezoneOffset());
return this.$d.valueOf() - 6e4 * t;
}),
(a.isUTC = function () {
return !!this.$u;
}),
(a.toISOString = function () {
return this.toDate().toISOString();
}),
(a.toString = function () {
return this.toDate().toUTCString();
});
var d = a.toDate;
a.toDate = function (t) {
return "s" === t && this.$offset
? i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate()
: d.call(this);
};
var f = a.diff;
a.diff = function (t, e, n) {
if (t && this.$u === t.$u) return f.call(this, t, e, n);
var r = this.local(),
s = i(t).local();
return f.call(r, s, e, n);
};
};
})();
},
},
e = {};
function n(r) {
var s = e[r];
if (void 0 !== s) return s.exports;
var i = (e[r] = { exports: {} });
return t[r].call(i.exports, i, i.exports, n), i.exports;
}
(n.n = (t) => {
var e = t && t.__esModule ? () => t.default : () => t;
return n.d(e, { a: e }), e;
}),
(n.d = (t, e) => {
for (var r in e)
n.o(e, r) &&
!n.o(t, r) &&
Object.defineProperty(t, r, { enumerable: !0, get: e[r] });
}),
(n.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e)),
(n.r = (t) => {
"undefined" != typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(t, "__esModule", { value: !0 });
});
var r = {};
(() => {
"use strict";
n.r(r),
n.d(r, {
createButton: () => M,
createWidget: () => x,
getBackTime: () => v,
ready: () => S,
sendAnalytics: () => _,
});
var t = n(484),
e = n.n(t),
s = n(178),
i = n.n(s),
a = n(646),
o = n.n(a),
c = n(387),
u = n.n(c);
e().extend(i()), e().extend(o()), e().extend(u());
const l = e(),
d = [
"sunday",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
],
f = function (t) {
const e = (t || "").split(":");
return 2 == e.length ? { hour: e[0], minute: e[1] } : null;
},
p = function (t) {
const e = (t || "").split(":");
if (e.length >= 2) {
return { hours: parseInt(e[0], 10), minutes: parseInt(e[1], 10) };
}
return null;
},
h = function (t, e) {
const n = p(t),
r = p(e),
s = n.minutes + 60 * n.hours,
i = r.minutes + 60 * r.hours;
return s === i ? 0 : s > i ? 1 : -1;
},
m = function (t, e, n) {
var r = new Date();
r.setTime(r.getTime() + 24 * n * 60 * 60 * 1e3);
var s = "expires=" + r.toUTCString();
document.cookie = t + "=" + e + ";" + s + ";path=/";
},
g = function (t) {
for (
var e = t + "=", n = document.cookie.split(";"), r = 0;
r < n.length;
r++
) {
for (var s = n[r]; " " == s.charAt(0); ) s = s.substring(1);
if (0 == s.indexOf(e)) return s.substring(e.length, s.length);
}
return "";
},
v = function (t, e) {
let n;
if ("ON" === t.isAlwaysAvailable) return "online";
var r;
(r = e.timezone),
(n = /\d/.test(r)
? l().utcOffset(
(function (t) {
const e = t.split(":");
let n, r;
return (
2 === e.length
? ((n = parseInt(e[0])), (r = parseInt(e[1])))
: ((n = parseInt(e[0])), (r = 0)),
-1 !== t.indexOf("-") ? -(60 * Math.abs(n) + r) : 60 * n + r
);
})(e.timezone),
)
: l(l()).tz(e.timezone));
const s = d[n.get("day")],
i = t.daysOfWeekWorking[s];
if ("OFF" === i.isWorkingOnDay) return t.dayOffsText;
for (let r = 0; r < i.workHours.length; r++) {
const s = n.get("hour") + ":" + n.get("minute"),
c = i.workHours[r].startTime,
u = i.workHours[r].endTime;
if (-1 === h(s, c)) {
const r = p(c),
s =
((a = { hour: r.hours, minute: r.minutes }),
(o = { hour: n.get("hour"), minute: n.get("minute") }),
1e3 * (3600 * (a.hour - o.hour) + 60 * (a.minute - o.minute))),
i = l.duration(s),
u = f(e.options.display.time_symbols),
d = ` ${i.get("hours")}${u.hour}:${i.get("minutes")}${u.minute} `;
return t.willBeBackText.replace(/\[njwa_time_work\]/gi, d);
}
if (0 === h(s, c) || 0 === h(s, u)) return "online";
if (1 === h(s, c) && -1 === h(s, u)) return "online";
}
var a, o;
return t.dayOffsText;
},
_ = function (t, e) {
if ("ON" == e.enabledFacebook || "ON" == e.enabledGoogle) {
var n = t.href,
r = n.indexOf("phone=") + 6,
s = n.indexOf("&text=");
-1 === s && (s = n.length);
var i = n.substring(r, s),
a = "SeedGrow WhatsApp",
o = "Phone Number: " + i,
c = document.title;
if (
("ON" === e.enabledFacebook &&
"undefined" != typeof fbq &&
fbq("trackCustom", "SeedGrow WhatsApp", { phone: i, label: c }),
"ON" === e.enabledGoogle)
) {
if ("undefined" != typeof gtag)
"ON" === e.enabledGoogleGA4
? gtag("event", "SeedGrow WhatsApp", {
number: i,
title: c,
url: window.location.href,
})
: gtag("event", o, { event_category: a, event_label: c });
else if ("undefined" != typeof ga && void 0 !== ga.getAll) {
ga.getAll()[0].send("event", a, o, c);
} else
"undefined" != typeof __gaTracker &&
__gaTracker("send", "event", a, o, c);
"undefined" != typeof dataLayer &&
(dataLayer.push({
event: "SeedGrow WhatsApp",
number: i,
title: c,
url: window.location.href,
event_category: a,
event_label: c,
event_action: o,
}),
dataLayer.push({
event: "seedgrow_whatsapp_event",
number: i,
title: c,
url: window.location.href,
event_category: a,
event_label: c,
event_action: o,
}));
}
}
};
void 0 === String.prototype.replaceAll &&
(String.prototype.replaceAll = function (t, e) {
return this.replace(new RegExp(t, "g"), () => e);
});
const b =
((y = !1),
(w = navigator.userAgent || navigator.vendor || window.opera),
(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(
w,
) ||
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(
w.substr(0, 4),
)) &&
(y = !0),
y);
var w, y;
const $ = function (t, e) {
let n = "",
r = t.predefinedText;
if (
((r = r.replace(
/\[njwa_page_title\]/gi,
encodeURIComponent(document.title),
)),
(r = r.replace(/\[njwa_page_url\]/gi, window.location.href)),
(r = r.replaceAll(/\n/gi, "%0A")),
-1 !== t.number.indexOf("chat.whatsapp.com"))
)
n += t.number;
else {
if (-1 !== t.number.indexOf("wa.me"))
return (
(n += t.number), (n += t.predefinedText ? "?text=" + r : ""), n
);
let s = e.urlSettings[b ? "onMobile" : "onDesktop"];
if ((s || (s = "api"), "protocol" === s))
return (
"whatsapp://send?phone=" +
t.number.replace(/[^0-9]/gi, "") +
(t.predefinedText ? "&text=" + r : "")
);
(n += "https://" + s + ".whatsapp.com/send?phone="),
(n += t.number.replace(/[^0-9]/gi, "")),
(n += t.predefinedText ? "&text=" + r : "");
}
return n;
},
x = function (t, e) {
const n = Object.assign(
{
accounts: [],
timezone: "",
defaultAvatar: "",
gdprStatus: !1,
options: { display: {}, styles: {}, analytics: {} },
urlSettings: {},
},
e,
);
if ("OFF" == n.options.display.showOnDesktop && !b) return;
if ("OFF" == n.options.display.showOnMobile && b) return;
const r = n.options.styles;
t.classList.add("wa__widget_container");
const s = document.createElement("div");
s.setAttribute("class", "wa__btn_popup_txt"),
s.appendChild(
(() => {
const t = document.createElement("span");
return (t.innerHTML = r.btnLabel), t;
})(),
),
(s.style.display = "ON" == r.isShowBtnLabel ? "block" : "none"),
(s.style.left = "left" == r.btnPosition ? "100%" : "unset"),
(s.style.right = "right" == r.btnPosition ? "100%" : "unset"),
(s.style.marginRight = "right" == r.btnPosition ? "7px" : "0px"),
(s.style.marginLeft = "left" == r.btnPosition ? "7px" : "0px"),
(s.style.width = r.btnLabelWidth + "px");
const i = document.createElement("div");
i.setAttribute("class", "wa__btn_popup_icon"),
(i.style.background = r.backgroundColor);
const a = document.createElement("div");
a.setAttribute("class", "wa__btn_popup"),
(a.onclick = function (t) {
const e = (function (t, e) {
if (
"simple" === e.options.styles.widgetType &&
1 === e.accounts.length
) {
const t = $(e.accounts[0], e);
return (
e.urlSettings.openInNewTab
? window.open(t)
: (location.href = t),
!0
);
}
return !1;
})(0, n);
if (e) return;
let r, s;
const i = document.querySelector(".wa__popup_chat_box"),
a = document.querySelector(".wa__btn_popup");
i.classList.contains("wa__active")
? (i.classList.remove("wa__active"),
a.classList.remove("wa__active"),
clearTimeout(s),
i.classList.contains("wa__lauch") &&
(r = setTimeout(function () {
i.classList.remove("wa__pending"),
i.classList.remove("wa__lauch");
}, 400)))
: (i.classList.add("wa__pending"),
i.classList.add("wa__active"),
a.classList.add("wa__active"),
clearTimeout(r),
i.classList.contains("wa__lauch") ||
(s = setTimeout(function () {
i.classList.add("wa__lauch");
}, 100)));
}),
a.appendChild(s),
a.appendChild(i),
(a.style.left =
"left" == r.btnPosition
? parseInt(r.btnLeftDistance) + "px"
: "unset"),
(a.style.right =
"right" == r.btnPosition
? parseInt(r.btnRightDistance) + "px"
: "unset"),
(a.style.bottom = parseInt(r.btnBottomDistance) + "px"),
t.appendChild(a);
const o = document.createElement("div");
o.setAttribute("class", "wa__popup_heading"),
(o.style.background = r.backgroundColor),
o.append(
(() => {
const t = document.createElement("div");
return (
(t.className = "wa__popup_title"),
(t.innerHTML = r.title),
(t.style.color = r.textColor),
t
);
})(),
),
o.append(
(() => {
const t = document.createElement("div");
return (
(t.className = "wa__popup_intro"),
(t.innerHTML = r.description.replaceAll(/\r\n\r\n/gm, "
")),
(t.style =
"#fff" == r.textColor || "#ffffff" == r.textColor
? "color: #D9EBC6"
: "color: " + r.textColor + "; opacity: 0.8"),
t
);
})(),
);
const c = document.createElement("div");
(c.className = "nta-wa-gdpr"),
c.appendChild(
(() => {
const t = document.createElement("input");
t.setAttribute("id", "nta-wa-gdpr"),
t.setAttribute("type", "checkbox"),
t.setAttribute("value", "accept"),
(t.onchange = function (t) {
if (
t.target.checked &&
(m("nta-wa-gdpr", "accept", 30), "" != g("nta-wa-gdpr"))
) {
const t = document.querySelectorAll(".nta-wa-gdpr");
(c.style.opacity = 0),
setTimeout(() => {
t.forEach((t) => (t.style.display = "none"));
}, 400);
document
.querySelectorAll(".wa__popup_content_item")
.forEach((t) => t.classList.remove("pointer-disable"));
}
});
const e = document.createElement("span");
e.appendChild(t),
e.appendChild(
(() => {
const t = document.createElement("span");
return (
(t.innerHTML = n.options.styles.gdprContent.replaceAll(
/\r\n\r\n/gm,
"
",
)),
t
);
})(),
);
const r = document.createElement("label");
return r.setAttribute("for", "nta-wa-gdpr"), r.appendChild(e), r;
})(),
);
const u = document.createElement("div");
(u.className = "wa__popup_content wa__popup_content_left"),
u.appendChild(
(() => {
const t = document.createElement("div");
return (
(t.className = "wa__popup_notice"),
(t.innerHTML = r.responseText.replaceAll(
/\r\n\r\n/gm,
"
",
)),
t
);
})(),
),
u.appendChild(
"ON" == r.isShowGDPR && 1 == n.gdprStatus
? c
: document.createTextNode(""),
),
u.appendChild(
(() => {
const t = document.createElement("div");
var e;
return (
(t.className = "wa__popup_content_list"),
(t.onclick = function () {
"" == g("nta-wa-gdpr") &&
((c.style.background = "red"), (c.style.color = "#fff"));
}),
(e = t),
n.accounts.forEach((t) => {
const r = v(t, n);
let s = $(t, n);
const i = document.createElement("div");
(i.className =
"wa__popup_avatar" + (t.avatar ? "" : " nta-default-avt")),
i.appendChild(
(() => {
if (t.avatar) {
const e = document.createElement("div");
return (
(e.className = "wa__cs_img_wrap"),
(e.style = `background: url(${t.avatar}) center center no-repeat; background-size: cover;`),
e
);
}
return document
.createRange()
.createContextualFragment(n.defaultAvatar);
})(),
);
const a = document.createElement("div");
(a.className =
"wa__popup_content_item" +
(n.gdprStatus ? " pointer-disable" : "")),
a.appendChild(
(() => {
const e =
"" != t.number
? document.createElement("a")
: document.createElement("div");
return (
"" != t.number &&
(e.setAttribute(
"target",
"ON" == n.urlSettings.openInNewTab
? "_blank"
: "_self",
),
e.setAttribute("href", s),
e.setAttribute("rel", "noopener noreferrer")),
(e.className =
"wa__stt" +
("online" === r
? " wa__stt_online"
: " wa__stt_offline")),
(e.onclick = function () {
_(this, {
enabledFacebook:
n.options.analytics.enabledFacebook,
enabledGoogle: n.options.analytics.enabledGoogle,
enabledGoogleGA4:
n.options.analytics.enabledGoogleGA4,
});
}),
e.appendChild(i),
e.appendChild(
(() => {
const e = document.createElement("div");
e.className = "wa__popup_txt";
let n = "";
return (
(n += `