@cling-se/widget 0.3.2 → 0.3.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.
- package/.env +4 -4
- package/dist/{DocFormSend.58fbdade.js → DocFormSend.8754868e.js} +6 -6
- package/dist/{DocSendReminder.610e6f1b.js → DocSendReminder.d98e3f1e.js} +16 -14
- package/dist/DocTimeline.281a4dbc.js +379 -0
- package/dist/{index.c2181b71.js → index.0064b913.js} +1 -1
- package/dist/{index.ed2c5306.js → index.03eb849d.js} +1 -1
- package/dist/{index.5e93a4a4.js → index.06ae19a2.js} +1 -1
- package/dist/{index.7c5aed5b.js → index.0b00c821.js} +1 -1
- package/dist/{index.c934c6af.js → index.0b0db0bd.js} +1 -1
- package/dist/{index.291b2b54.js → index.0bc608d5.js} +1 -1
- package/dist/{index.1c92d26c.js → index.0c336ba9.js} +1 -1
- package/dist/{index.fbc2bf20.js → index.0ceaa718.js} +1 -1
- package/dist/{index.764b658e.js → index.0ef1a3a6.js} +1 -1
- package/dist/{index.83910d3f.js → index.1503d863.js} +1 -1
- package/dist/{index.dc39016c.js → index.15ee0ab9.js} +1 -1
- package/dist/{index.b4904461.js → index.168c2bce.js} +1 -1
- package/dist/{index.27304047.js → index.16902632.js} +1 -1
- package/dist/{index.bf3d1093.js → index.18701043.js} +1 -1
- package/dist/{index.0c6034f0.js → index.198d78b9.js} +1 -1
- package/dist/{index.218b46ae.js → index.1b27357e.js} +1 -1
- package/dist/{index.b6512901.js → index.1bc3c82c.js} +1 -1
- package/dist/{index.0372fc9a.js → index.1cca6025.js} +1 -1
- package/dist/{index.ce8801e2.js → index.2026e05c.js} +1 -1
- package/dist/{index.e19eaf33.js → index.222039f9.js} +1 -1
- package/dist/{index.dfe76608.js → index.23a35b9b.js} +1 -1
- package/dist/{index.c627b669.js → index.2942b429.js} +1 -1
- package/dist/{index.98af6e12.js → index.298a69f1.js} +1 -1
- package/dist/{index.57976804.js → index.2c359b4e.js} +1 -1
- package/dist/{index.a9441e00.js → index.2d941184.js} +1 -1
- package/dist/{index.a3b03275.js → index.2db71959.js} +1 -1
- package/dist/{index.0df3b27e.js → index.31152a7a.js} +1 -1
- package/dist/{index.1d4d1b78.js → index.311ffa7e.js} +1 -1
- package/dist/{index.7619605a.js → index.32733310.js} +1 -1
- package/dist/{index.7062d55c.js → index.3c067fea.js} +1 -1
- package/dist/{index.90a87d9e.js → index.3fcd5701.js} +1 -1
- package/dist/{index.4dbcd770.js → index.47d10a37.js} +1 -1
- package/dist/{index.135b006c.js → index.49976861.js} +1 -1
- package/dist/{index.571dd412.js → index.5087f7bd.js} +1 -1
- package/dist/{index.4eb9c363.js → index.54e2a93d.js} +2 -2
- package/dist/{index.4f04d830.js → index.572141f4.js} +1 -1
- package/dist/{index.7081acc5.js → index.6158b0ab.js} +1 -1
- package/dist/{index.3ae42b88.js → index.66cfda66.js} +1 -1
- package/dist/{index.9d868f2c.js → index.67e7120b.js} +1 -1
- package/dist/{index.05656554.js → index.694a50c1.js} +2 -2
- package/dist/{index.25db5309.js → index.6b196f79.js} +1 -1
- package/dist/{index.54aa5bdb.js → index.6fbbcdb3.js} +1 -1
- package/dist/{index.95cbc7d1.js → index.741c5144.js} +1 -1
- package/dist/{index.1e40747d.js → index.7a83617c.js} +1 -1
- package/dist/{index.dd9fd6fa.js → index.7b414677.js} +1 -1
- package/dist/{index.59de1b2c.js → index.8163ec67.js} +1 -1
- package/dist/{index.1f0b252d.js → index.825ca275.js} +1 -1
- package/dist/{index.64fdd79b.js → index.849ab6fa.js} +1 -1
- package/dist/{index.be109e22.js → index.87a7d282.js} +1 -1
- package/dist/{index.3ede3ed9.js → index.89b15e9c.js} +1 -1
- package/dist/{index.b51268b0.js → index.89edadab.js} +1 -1
- package/dist/{index.d320459d.js → index.8d78ff09.js} +1 -1
- package/dist/{index.48e6f73c.js → index.91647e7b.js} +1 -1
- package/dist/{index.ea966a9a.js → index.91b4b4e5.js} +1 -1
- package/dist/{index.d5ad6009.js → index.91b9ac70.js} +1 -1
- package/dist/{index.66e76ef5.js → index.947cc7ce.js} +1 -1
- package/dist/{index.1936f911.js → index.98d98c90.js} +1 -1
- package/dist/{index.021aea9f.js → index.9a09d960.js} +1 -1
- package/dist/{index.272e7245.js → index.9b893c04.js} +1 -1
- package/dist/{index.a4cc2ffa.js → index.9c1acbbd.js} +1 -1
- package/dist/{index.22b2af79.js → index.9fb3d656.js} +1 -1
- package/dist/{index.e3826d57.js → index.9fd80be0.js} +1 -1
- package/dist/{index.6d854739.js → index.a3323069.js} +1 -1
- package/dist/{index.510b34a1.js → index.aa84e0d9.js} +1 -1
- package/dist/{index.266a6ace.js → index.add715bd.js} +1 -1
- package/dist/{index.c498538e.js → index.b08b5876.js} +1 -1
- package/dist/{index.d380d13d.js → index.b3a86349.js} +1 -1
- package/dist/{index.a9a2afee.js → index.b5842b70.js} +1 -1
- package/dist/{index.39e24331.js → index.b658adad.js} +1 -1
- package/dist/{index.5b3f29b6.js → index.b71f00b5.js} +1 -1
- package/dist/{index.7b93c6da.js → index.b8750637.js} +1 -1
- package/dist/{index.31d7f14e.js → index.b995f365.js} +1 -1
- package/dist/{index.d6b1b629.js → index.ba4f216e.js} +1 -1
- package/dist/{index.ba3dcf3b.js → index.bee408a6.js} +1 -1
- package/dist/{index.1595ef27.js → index.bf274622.js} +1 -1
- package/dist/{index.4eba4a7d.js → index.bfdd7ce8.js} +1 -1
- package/dist/{index.8bd24899.js → index.c8b68fb4.js} +1 -1
- package/dist/{index.1c5c3e44.js → index.cbebf0b5.js} +1 -1
- package/dist/{index.ed474d79.js → index.cedea761.js} +1 -1
- package/dist/{index.f678de56.js → index.d3fb286b.js} +2 -2
- package/dist/{index.faf3d6eb.js → index.d6936050.js} +1 -1
- package/dist/{index.f0d4aeb1.js → index.d7e2ee42.js} +1 -1
- package/dist/{index.4ff3dace.js → index.d97cba81.js} +1 -1
- package/dist/{index.4ac3b55d.js → index.e1de722f.js} +1 -1
- package/dist/{index.63b5f71b.js → index.e216613c.js} +1 -1
- package/dist/{index.e70d1ec3.js → index.e70ace17.js} +1 -1
- package/dist/{index.0e4c0d69.js → index.ead78f64.js} +1 -1
- package/dist/{index.a0f17a47.js → index.ef37b57d.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/{index.b724afce.js → index.f9398aeb.js} +1 -1
- package/dist/{index.fae17bfe.js → index.fbf51f38.js} +1 -1
- package/dist/{index.df9d0f0b.js → index.fd6131ed.js} +1 -1
- package/dist/{index.37c3cfdc.js → index.fe1fd10f.js} +1 -1
- package/dist/{index.604f9a4f.js → index.fe69dc7a.js} +1 -1
- package/dist/{index.08d12aab.js → index.ffd56116.js} +1 -1
- package/dist/index.umd.js +60 -60
- package/dist/init.1c637e98.js +570 -0
- package/dist/{main.65f1b3e9.js → main.837b42e2.js} +3597 -3552
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/init.b422c2c8.js +0 -570
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
var L = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function wa(_) {
|
|
3
|
+
return _ && _.__esModule && Object.prototype.hasOwnProperty.call(_, "default") ? _.default : _;
|
|
4
|
+
}
|
|
5
|
+
function Fa(_) {
|
|
6
|
+
var e = _.default;
|
|
7
|
+
if (typeof e == "function") {
|
|
8
|
+
var t = function() {
|
|
9
|
+
return e.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
t.prototype = e.prototype;
|
|
12
|
+
} else
|
|
13
|
+
t = {};
|
|
14
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(_).forEach(function(a) {
|
|
15
|
+
var E = Object.getOwnPropertyDescriptor(_, a);
|
|
16
|
+
Object.defineProperty(t, a, E.get ? E : {
|
|
17
|
+
enumerable: !0,
|
|
18
|
+
get: function() {
|
|
19
|
+
return _[a];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}), t;
|
|
23
|
+
}
|
|
24
|
+
var Q = typeof L == "object" && L && L.Object === Object && L, q = Q, X = q, J = typeof self == "object" && self && self.Object === Object && self, __ = X || J || Function("return this")(), S = __, e_ = S, t_ = e_.Symbol, h = t_, b = h, H = Object.prototype, a_ = H.hasOwnProperty, E_ = H.toString, o = b ? b.toStringTag : void 0;
|
|
25
|
+
function r_(_) {
|
|
26
|
+
var e = a_.call(_, o), t = _[o];
|
|
27
|
+
try {
|
|
28
|
+
_[o] = void 0;
|
|
29
|
+
var a = !0;
|
|
30
|
+
} catch {
|
|
31
|
+
}
|
|
32
|
+
var E = E_.call(_);
|
|
33
|
+
return a && (e ? _[o] = t : delete _[o]), E;
|
|
34
|
+
}
|
|
35
|
+
var n_ = r_, i_ = Object.prototype, P_ = i_.toString;
|
|
36
|
+
function s_(_) {
|
|
37
|
+
return P_.call(_);
|
|
38
|
+
}
|
|
39
|
+
var I_ = s_, G = h, T_ = n_, p_ = I_, A_ = "[object Null]", o_ = "[object Undefined]", U = G ? G.toStringTag : void 0;
|
|
40
|
+
function c_(_) {
|
|
41
|
+
return _ == null ? _ === void 0 ? o_ : A_ : U && U in Object(_) ? T_(_) : p_(_);
|
|
42
|
+
}
|
|
43
|
+
var k = c_;
|
|
44
|
+
function L_(_) {
|
|
45
|
+
var e = typeof _;
|
|
46
|
+
return _ != null && (e == "object" || e == "function");
|
|
47
|
+
}
|
|
48
|
+
var u = L_, d_ = k, l_ = u, V_ = "[object AsyncFunction]", f_ = "[object Function]", O_ = "[object GeneratorFunction]", R_ = "[object Proxy]";
|
|
49
|
+
function g_(_) {
|
|
50
|
+
if (!l_(_))
|
|
51
|
+
return !1;
|
|
52
|
+
var e = d_(_);
|
|
53
|
+
return e == f_ || e == O_ || e == V_ || e == R_;
|
|
54
|
+
}
|
|
55
|
+
var v_ = g_, S_ = S, h_ = S_["__core-js_shared__"], u_ = h_, O = u_, y = function() {
|
|
56
|
+
var _ = /[^.]+$/.exec(O && O.keys && O.keys.IE_PROTO || "");
|
|
57
|
+
return _ ? "Symbol(src)_1." + _ : "";
|
|
58
|
+
}();
|
|
59
|
+
function B_(_) {
|
|
60
|
+
return !!y && y in _;
|
|
61
|
+
}
|
|
62
|
+
var N_ = B_, C_ = Function.prototype, D_ = C_.toString;
|
|
63
|
+
function b_(_) {
|
|
64
|
+
if (_ != null) {
|
|
65
|
+
try {
|
|
66
|
+
return D_.call(_);
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
try {
|
|
70
|
+
return _ + "";
|
|
71
|
+
} catch {
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return "";
|
|
75
|
+
}
|
|
76
|
+
var G_ = b_, U_ = v_, y_ = N_, m_ = u, K_ = G_, $_ = /[\\^$.*+?()[\]{}|]/g, W_ = /^\[object .+?Constructor\]$/, Y_ = Function.prototype, M_ = Object.prototype, j_ = Y_.toString, w_ = M_.hasOwnProperty, F_ = RegExp(
|
|
77
|
+
"^" + j_.call(w_).replace($_, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
78
|
+
);
|
|
79
|
+
function H_(_) {
|
|
80
|
+
if (!m_(_) || y_(_))
|
|
81
|
+
return !1;
|
|
82
|
+
var e = U_(_) ? F_ : W_;
|
|
83
|
+
return e.test(K_(_));
|
|
84
|
+
}
|
|
85
|
+
var k_ = H_;
|
|
86
|
+
function z_(_, e) {
|
|
87
|
+
return _ == null ? void 0 : _[e];
|
|
88
|
+
}
|
|
89
|
+
var x_ = z_, Z_ = k_, Q_ = x_;
|
|
90
|
+
function q_(_, e) {
|
|
91
|
+
var t = Q_(_, e);
|
|
92
|
+
return Z_(t) ? t : void 0;
|
|
93
|
+
}
|
|
94
|
+
var B = q_, X_ = B, J_ = function() {
|
|
95
|
+
try {
|
|
96
|
+
var _ = X_(Object, "defineProperty");
|
|
97
|
+
return _({}, "", {}), _;
|
|
98
|
+
} catch {
|
|
99
|
+
}
|
|
100
|
+
}(), _e = J_, m = _e;
|
|
101
|
+
function ee(_, e, t) {
|
|
102
|
+
e == "__proto__" && m ? m(_, e, {
|
|
103
|
+
configurable: !0,
|
|
104
|
+
enumerable: !0,
|
|
105
|
+
value: t,
|
|
106
|
+
writable: !0
|
|
107
|
+
}) : _[e] = t;
|
|
108
|
+
}
|
|
109
|
+
var te = ee;
|
|
110
|
+
function ae(_, e) {
|
|
111
|
+
return _ === e || _ !== _ && e !== e;
|
|
112
|
+
}
|
|
113
|
+
var z = ae, Ee = te, re = z, ne = Object.prototype, ie = ne.hasOwnProperty;
|
|
114
|
+
function Pe(_, e, t) {
|
|
115
|
+
var a = _[e];
|
|
116
|
+
(!(ie.call(_, e) && re(a, t)) || t === void 0 && !(e in _)) && Ee(_, e, t);
|
|
117
|
+
}
|
|
118
|
+
var se = Pe, Ie = Array.isArray, N = Ie;
|
|
119
|
+
function Te(_) {
|
|
120
|
+
return _ != null && typeof _ == "object";
|
|
121
|
+
}
|
|
122
|
+
var pe = Te, Ae = k, oe = pe, ce = "[object Symbol]";
|
|
123
|
+
function Le(_) {
|
|
124
|
+
return typeof _ == "symbol" || oe(_) && Ae(_) == ce;
|
|
125
|
+
}
|
|
126
|
+
var C = Le, de = N, le = C, Ve = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, fe = /^\w*$/;
|
|
127
|
+
function Oe(_, e) {
|
|
128
|
+
if (de(_))
|
|
129
|
+
return !1;
|
|
130
|
+
var t = typeof _;
|
|
131
|
+
return t == "number" || t == "symbol" || t == "boolean" || _ == null || le(_) ? !0 : fe.test(_) || !Ve.test(_) || e != null && _ in Object(e);
|
|
132
|
+
}
|
|
133
|
+
var Re = Oe, ge = B, ve = ge(Object, "create"), l = ve, K = l;
|
|
134
|
+
function Se() {
|
|
135
|
+
this.__data__ = K ? K(null) : {}, this.size = 0;
|
|
136
|
+
}
|
|
137
|
+
var he = Se;
|
|
138
|
+
function ue(_) {
|
|
139
|
+
var e = this.has(_) && delete this.__data__[_];
|
|
140
|
+
return this.size -= e ? 1 : 0, e;
|
|
141
|
+
}
|
|
142
|
+
var Be = ue, Ne = l, Ce = "__lodash_hash_undefined__", De = Object.prototype, be = De.hasOwnProperty;
|
|
143
|
+
function Ge(_) {
|
|
144
|
+
var e = this.__data__;
|
|
145
|
+
if (Ne) {
|
|
146
|
+
var t = e[_];
|
|
147
|
+
return t === Ce ? void 0 : t;
|
|
148
|
+
}
|
|
149
|
+
return be.call(e, _) ? e[_] : void 0;
|
|
150
|
+
}
|
|
151
|
+
var Ue = Ge, ye = l, me = Object.prototype, Ke = me.hasOwnProperty;
|
|
152
|
+
function $e(_) {
|
|
153
|
+
var e = this.__data__;
|
|
154
|
+
return ye ? e[_] !== void 0 : Ke.call(e, _);
|
|
155
|
+
}
|
|
156
|
+
var We = $e, Ye = l, Me = "__lodash_hash_undefined__";
|
|
157
|
+
function je(_, e) {
|
|
158
|
+
var t = this.__data__;
|
|
159
|
+
return this.size += this.has(_) ? 0 : 1, t[_] = Ye && e === void 0 ? Me : e, this;
|
|
160
|
+
}
|
|
161
|
+
var we = je, Fe = he, He = Be, ke = Ue, ze = We, xe = we;
|
|
162
|
+
function s(_) {
|
|
163
|
+
var e = -1, t = _ == null ? 0 : _.length;
|
|
164
|
+
for (this.clear(); ++e < t; ) {
|
|
165
|
+
var a = _[e];
|
|
166
|
+
this.set(a[0], a[1]);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
s.prototype.clear = Fe;
|
|
170
|
+
s.prototype.delete = He;
|
|
171
|
+
s.prototype.get = ke;
|
|
172
|
+
s.prototype.has = ze;
|
|
173
|
+
s.prototype.set = xe;
|
|
174
|
+
var Ze = s;
|
|
175
|
+
function Qe() {
|
|
176
|
+
this.__data__ = [], this.size = 0;
|
|
177
|
+
}
|
|
178
|
+
var qe = Qe, Xe = z;
|
|
179
|
+
function Je(_, e) {
|
|
180
|
+
for (var t = _.length; t--; )
|
|
181
|
+
if (Xe(_[t][0], e))
|
|
182
|
+
return t;
|
|
183
|
+
return -1;
|
|
184
|
+
}
|
|
185
|
+
var V = Je, _t = V, et = Array.prototype, tt = et.splice;
|
|
186
|
+
function at(_) {
|
|
187
|
+
var e = this.__data__, t = _t(e, _);
|
|
188
|
+
if (t < 0)
|
|
189
|
+
return !1;
|
|
190
|
+
var a = e.length - 1;
|
|
191
|
+
return t == a ? e.pop() : tt.call(e, t, 1), --this.size, !0;
|
|
192
|
+
}
|
|
193
|
+
var Et = at, rt = V;
|
|
194
|
+
function nt(_) {
|
|
195
|
+
var e = this.__data__, t = rt(e, _);
|
|
196
|
+
return t < 0 ? void 0 : e[t][1];
|
|
197
|
+
}
|
|
198
|
+
var it = nt, Pt = V;
|
|
199
|
+
function st(_) {
|
|
200
|
+
return Pt(this.__data__, _) > -1;
|
|
201
|
+
}
|
|
202
|
+
var It = st, Tt = V;
|
|
203
|
+
function pt(_, e) {
|
|
204
|
+
var t = this.__data__, a = Tt(t, _);
|
|
205
|
+
return a < 0 ? (++this.size, t.push([_, e])) : t[a][1] = e, this;
|
|
206
|
+
}
|
|
207
|
+
var At = pt, ot = qe, ct = Et, Lt = it, dt = It, lt = At;
|
|
208
|
+
function I(_) {
|
|
209
|
+
var e = -1, t = _ == null ? 0 : _.length;
|
|
210
|
+
for (this.clear(); ++e < t; ) {
|
|
211
|
+
var a = _[e];
|
|
212
|
+
this.set(a[0], a[1]);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
I.prototype.clear = ot;
|
|
216
|
+
I.prototype.delete = ct;
|
|
217
|
+
I.prototype.get = Lt;
|
|
218
|
+
I.prototype.has = dt;
|
|
219
|
+
I.prototype.set = lt;
|
|
220
|
+
var Vt = I, ft = B, Ot = S, Rt = ft(Ot, "Map"), gt = Rt, $ = Ze, vt = Vt, St = gt;
|
|
221
|
+
function ht() {
|
|
222
|
+
this.size = 0, this.__data__ = {
|
|
223
|
+
hash: new $(),
|
|
224
|
+
map: new (St || vt)(),
|
|
225
|
+
string: new $()
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
var ut = ht;
|
|
229
|
+
function Bt(_) {
|
|
230
|
+
var e = typeof _;
|
|
231
|
+
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? _ !== "__proto__" : _ === null;
|
|
232
|
+
}
|
|
233
|
+
var Nt = Bt, Ct = Nt;
|
|
234
|
+
function Dt(_, e) {
|
|
235
|
+
var t = _.__data__;
|
|
236
|
+
return Ct(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
237
|
+
}
|
|
238
|
+
var f = Dt, bt = f;
|
|
239
|
+
function Gt(_) {
|
|
240
|
+
var e = bt(this, _).delete(_);
|
|
241
|
+
return this.size -= e ? 1 : 0, e;
|
|
242
|
+
}
|
|
243
|
+
var Ut = Gt, yt = f;
|
|
244
|
+
function mt(_) {
|
|
245
|
+
return yt(this, _).get(_);
|
|
246
|
+
}
|
|
247
|
+
var Kt = mt, $t = f;
|
|
248
|
+
function Wt(_) {
|
|
249
|
+
return $t(this, _).has(_);
|
|
250
|
+
}
|
|
251
|
+
var Yt = Wt, Mt = f;
|
|
252
|
+
function jt(_, e) {
|
|
253
|
+
var t = Mt(this, _), a = t.size;
|
|
254
|
+
return t.set(_, e), this.size += t.size == a ? 0 : 1, this;
|
|
255
|
+
}
|
|
256
|
+
var wt = jt, Ft = ut, Ht = Ut, kt = Kt, zt = Yt, xt = wt;
|
|
257
|
+
function T(_) {
|
|
258
|
+
var e = -1, t = _ == null ? 0 : _.length;
|
|
259
|
+
for (this.clear(); ++e < t; ) {
|
|
260
|
+
var a = _[e];
|
|
261
|
+
this.set(a[0], a[1]);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
T.prototype.clear = Ft;
|
|
265
|
+
T.prototype.delete = Ht;
|
|
266
|
+
T.prototype.get = kt;
|
|
267
|
+
T.prototype.has = zt;
|
|
268
|
+
T.prototype.set = xt;
|
|
269
|
+
var Zt = T, x = Zt, Qt = "Expected a function";
|
|
270
|
+
function D(_, e) {
|
|
271
|
+
if (typeof _ != "function" || e != null && typeof e != "function")
|
|
272
|
+
throw new TypeError(Qt);
|
|
273
|
+
var t = function() {
|
|
274
|
+
var a = arguments, E = e ? e.apply(this, a) : a[0], n = t.cache;
|
|
275
|
+
if (n.has(E))
|
|
276
|
+
return n.get(E);
|
|
277
|
+
var p = _.apply(this, a);
|
|
278
|
+
return t.cache = n.set(E, p) || n, p;
|
|
279
|
+
};
|
|
280
|
+
return t.cache = new (D.Cache || x)(), t;
|
|
281
|
+
}
|
|
282
|
+
D.Cache = x;
|
|
283
|
+
var qt = D, Xt = qt, Jt = 500;
|
|
284
|
+
function _a(_) {
|
|
285
|
+
var e = Xt(_, function(a) {
|
|
286
|
+
return t.size === Jt && t.clear(), a;
|
|
287
|
+
}), t = e.cache;
|
|
288
|
+
return e;
|
|
289
|
+
}
|
|
290
|
+
var ea = _a, ta = ea, aa = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, ra = ta(function(_) {
|
|
291
|
+
var e = [];
|
|
292
|
+
return _.charCodeAt(0) === 46 && e.push(""), _.replace(aa, function(t, a, E, n) {
|
|
293
|
+
e.push(E ? n.replace(Ea, "$1") : a || t);
|
|
294
|
+
}), e;
|
|
295
|
+
}), na = ra;
|
|
296
|
+
function ia(_, e) {
|
|
297
|
+
for (var t = -1, a = _ == null ? 0 : _.length, E = Array(a); ++t < a; )
|
|
298
|
+
E[t] = e(_[t], t, _);
|
|
299
|
+
return E;
|
|
300
|
+
}
|
|
301
|
+
var Pa = ia, W = h, sa = Pa, Ia = N, Ta = C, pa = 1 / 0, Y = W ? W.prototype : void 0, M = Y ? Y.toString : void 0;
|
|
302
|
+
function Z(_) {
|
|
303
|
+
if (typeof _ == "string")
|
|
304
|
+
return _;
|
|
305
|
+
if (Ia(_))
|
|
306
|
+
return sa(_, Z) + "";
|
|
307
|
+
if (Ta(_))
|
|
308
|
+
return M ? M.call(_) : "";
|
|
309
|
+
var e = _ + "";
|
|
310
|
+
return e == "0" && 1 / _ == -pa ? "-0" : e;
|
|
311
|
+
}
|
|
312
|
+
var Aa = Z, oa = Aa;
|
|
313
|
+
function ca(_) {
|
|
314
|
+
return _ == null ? "" : oa(_);
|
|
315
|
+
}
|
|
316
|
+
var La = ca, da = N, la = Re, Va = na, fa = La;
|
|
317
|
+
function Oa(_, e) {
|
|
318
|
+
return da(_) ? _ : la(_, e) ? [_] : Va(fa(_));
|
|
319
|
+
}
|
|
320
|
+
var Ra = Oa, ga = 9007199254740991, va = /^(?:0|[1-9]\d*)$/;
|
|
321
|
+
function Sa(_, e) {
|
|
322
|
+
var t = typeof _;
|
|
323
|
+
return e = e == null ? ga : e, !!e && (t == "number" || t != "symbol" && va.test(_)) && _ > -1 && _ % 1 == 0 && _ < e;
|
|
324
|
+
}
|
|
325
|
+
var ha = Sa, ua = C, Ba = 1 / 0;
|
|
326
|
+
function Na(_) {
|
|
327
|
+
if (typeof _ == "string" || ua(_))
|
|
328
|
+
return _;
|
|
329
|
+
var e = _ + "";
|
|
330
|
+
return e == "0" && 1 / _ == -Ba ? "-0" : e;
|
|
331
|
+
}
|
|
332
|
+
var Ca = Na, Da = se, ba = Ra, Ga = ha, j = u, Ua = Ca;
|
|
333
|
+
function ya(_, e, t, a) {
|
|
334
|
+
if (!j(_))
|
|
335
|
+
return _;
|
|
336
|
+
e = ba(e, _);
|
|
337
|
+
for (var E = -1, n = e.length, p = n - 1, r = _; r != null && ++E < n; ) {
|
|
338
|
+
var i = Ua(e[E]), P = t;
|
|
339
|
+
if (E != p) {
|
|
340
|
+
var A = r[i];
|
|
341
|
+
P = a ? a(A, i, r) : void 0, P === void 0 && (P = j(A) ? A : Ga(e[E + 1]) ? [] : {});
|
|
342
|
+
}
|
|
343
|
+
Da(r, i, P), r = r[i];
|
|
344
|
+
}
|
|
345
|
+
return _;
|
|
346
|
+
}
|
|
347
|
+
var ma = ya, Ka = ma;
|
|
348
|
+
function $a(_, e, t) {
|
|
349
|
+
return _ == null ? _ : Ka(_, e, t);
|
|
350
|
+
}
|
|
351
|
+
var Wa = $a;
|
|
352
|
+
const d = !1, Ya = {
|
|
353
|
+
environment: {
|
|
354
|
+
format: "String",
|
|
355
|
+
env: "production"
|
|
356
|
+
},
|
|
357
|
+
baseUrl: {
|
|
358
|
+
format: "String",
|
|
359
|
+
default: "http://localhost:8080",
|
|
360
|
+
env: "https://app.dev2.cling.se"
|
|
361
|
+
},
|
|
362
|
+
showAdminSettings: {
|
|
363
|
+
format: "Boolean",
|
|
364
|
+
default: d,
|
|
365
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_ADMIN_SETTINGS
|
|
366
|
+
},
|
|
367
|
+
debug: {
|
|
368
|
+
format: "Boolean",
|
|
369
|
+
default: d,
|
|
370
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_DEBUG
|
|
371
|
+
},
|
|
372
|
+
checkAppUpdates: {
|
|
373
|
+
format: "Boolean",
|
|
374
|
+
default: !d,
|
|
375
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CHECK_APP_UPDATES
|
|
376
|
+
},
|
|
377
|
+
logLevel: {
|
|
378
|
+
format: "Number",
|
|
379
|
+
default: 1,
|
|
380
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_LOG_LEVEL
|
|
381
|
+
},
|
|
382
|
+
showSendEmails: {
|
|
383
|
+
format: "Boolean",
|
|
384
|
+
default: d,
|
|
385
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_SHOW_SEND_EMAILS
|
|
386
|
+
},
|
|
387
|
+
api: {
|
|
388
|
+
baseUrl: {
|
|
389
|
+
format: "String",
|
|
390
|
+
default: "https://api.dev.cling.se",
|
|
391
|
+
env: "https://api.dev.cling.se"
|
|
392
|
+
},
|
|
393
|
+
socket: {
|
|
394
|
+
rootUrl: {
|
|
395
|
+
format: "String",
|
|
396
|
+
default: "https://api.dev.cling.se",
|
|
397
|
+
env: "https://api.dev.cling.se"
|
|
398
|
+
},
|
|
399
|
+
path: {
|
|
400
|
+
format: "String",
|
|
401
|
+
default: "/socket.io",
|
|
402
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CLINGAPI_SOCKET_PATH
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
crisp: {
|
|
407
|
+
id: {
|
|
408
|
+
format: "String",
|
|
409
|
+
default: "d3ff5782-881e-4354-a910-7c5216f37739",
|
|
410
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CRISP_APP_ID
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
rollbar: {
|
|
414
|
+
environment: {
|
|
415
|
+
format: "String",
|
|
416
|
+
env: "production"
|
|
417
|
+
},
|
|
418
|
+
clientToken: {
|
|
419
|
+
format: "String",
|
|
420
|
+
env: "cf75726b70174d4097505ae18d5f9600"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
google: {
|
|
424
|
+
gaId: {
|
|
425
|
+
format: "String",
|
|
426
|
+
default: "",
|
|
427
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_ANALYTICS_ID
|
|
428
|
+
},
|
|
429
|
+
awId: {
|
|
430
|
+
format: "String",
|
|
431
|
+
default: "",
|
|
432
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_ADS_ID
|
|
433
|
+
},
|
|
434
|
+
fontsKey: {
|
|
435
|
+
format: "String",
|
|
436
|
+
default: "AIzaSyAmNFe07wm9Zc5XkyZC-R7a7RKbP21GRVc",
|
|
437
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_FONTS_KEY
|
|
438
|
+
},
|
|
439
|
+
signInId: {
|
|
440
|
+
format: "String",
|
|
441
|
+
default: "304554270591-7sp9q4omqih373020mj0mo2ks2bka1gb.apps.googleusercontent.com",
|
|
442
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_GOOGLE_SIGN_IN_ID
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
facebook: {
|
|
446
|
+
pixelUserId: {
|
|
447
|
+
format: "String",
|
|
448
|
+
default: "",
|
|
449
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_FACEBOOK_PIXEL_USER_ID
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
segment: {
|
|
453
|
+
writeKey: {
|
|
454
|
+
format: "String",
|
|
455
|
+
default: "",
|
|
456
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_SEGMENT_WRITE_KEY
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
unsplash: {
|
|
460
|
+
id: {
|
|
461
|
+
format: "String",
|
|
462
|
+
default: "141f6cc7099b0dcf9bbc6b447135e5623f5793caabff3413b4c82f7751473e31",
|
|
463
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_UNSPLASH_ID
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
pexels: {
|
|
467
|
+
id: {
|
|
468
|
+
format: "String",
|
|
469
|
+
default: "563492ad6f9170000100000150cc2598932942c583cec92c1f02e9d9",
|
|
470
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_PEXELS_ID
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
logrocket: {
|
|
474
|
+
id: {
|
|
475
|
+
format: "String",
|
|
476
|
+
default: "",
|
|
477
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_LOGROCKET_APP_ID
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
stripe: {
|
|
481
|
+
publishableKey: {
|
|
482
|
+
format: "String",
|
|
483
|
+
default: "",
|
|
484
|
+
env: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
brand: {
|
|
488
|
+
format: "String",
|
|
489
|
+
default: "cling",
|
|
490
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_BRAND
|
|
491
|
+
},
|
|
492
|
+
otherBrandUrl: {
|
|
493
|
+
format: "String",
|
|
494
|
+
default: "",
|
|
495
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_OTHER_BRAND_URL
|
|
496
|
+
},
|
|
497
|
+
clientId: {
|
|
498
|
+
format: "String",
|
|
499
|
+
default: "4888cbb193eda211f4b8fc77ce362becf8e8f3147743193c55ce3ea334807a84",
|
|
500
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV: "production", VITE_APP_STRIPE_PUBLISHABLE_KEY: "pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8", VITE_APP_WEB_BASEURL_DEV: "https://app.dev2.cling.se", VITE_APP_CLINGAPI_BASEURL_DEV: "https://api.dev.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT_DEV: "https://api.dev.cling.se", VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV: "cf75726b70174d4097505ae18d5f9600", VITE_APP_ROLLBAR_ENV_DEV: "staging", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0 }.VITE_APP_CLIENT_ID
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
let c = document.getElementById("config"), R = {};
|
|
504
|
+
if (c)
|
|
505
|
+
try {
|
|
506
|
+
R = JSON.parse(c.innerText), c.parentNode.removeChild(c), c = null;
|
|
507
|
+
} catch (_) {
|
|
508
|
+
console.error(_), console.error("Failed to load external config");
|
|
509
|
+
}
|
|
510
|
+
const w = (_) => typeof _ < "u" && typeof _ == "object" && !Array.isArray(_) && _ !== null, F = (_, e) => e.reduce((t, a) => typeof t > "u" ? t : t[a], _);
|
|
511
|
+
function Ma(_) {
|
|
512
|
+
const e = ["format", "default", "env"], t = ["string", "number", "boolean"];
|
|
513
|
+
function a(E, n) {
|
|
514
|
+
if (w(E) && Object.keys(E).some((r) => e.includes(r))) {
|
|
515
|
+
const r = E.format ? E.format.toLowerCase() : "string";
|
|
516
|
+
let i;
|
|
517
|
+
if (typeof E.default < "u" && (i = E.default), typeof E.env < "u" && (i = E.env), typeof F(R, n) < "u" && (i = F(R, n)), typeof i > "u")
|
|
518
|
+
return;
|
|
519
|
+
if (!t.includes(r))
|
|
520
|
+
throw new Error(`${r} is not a valid config format!`);
|
|
521
|
+
if (typeof r > "u") {
|
|
522
|
+
console.warn(`Configuration ${n.join(".")} is not defined`);
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
return r === "string" ? i.toString() : r === "number" ? parseFloat(i) : r === "boolean" ? i.toString().toLowerCase() !== "false" : null;
|
|
526
|
+
}
|
|
527
|
+
return Object.entries(E).reduce((r, [i, P]) => {
|
|
528
|
+
if (Array.isArray(P))
|
|
529
|
+
throw new Error("Arrays are not supported in configuration schema");
|
|
530
|
+
const A = [...n, i];
|
|
531
|
+
return w(P) && (r[i] = a(P, A)), r;
|
|
532
|
+
}, {});
|
|
533
|
+
}
|
|
534
|
+
return a(_, []);
|
|
535
|
+
}
|
|
536
|
+
const g = Ma(Ya);
|
|
537
|
+
g.debug && console.log(g);
|
|
538
|
+
const v = "Cling", ja = {
|
|
539
|
+
init(_ = {}) {
|
|
540
|
+
const e = (_ == null ? void 0 : _.environment) || "development";
|
|
541
|
+
if (e === "development") {
|
|
542
|
+
const t = {
|
|
543
|
+
environment: e,
|
|
544
|
+
baseUrl: "https://app.dev2.cling.se",
|
|
545
|
+
"api.baseUrl": "https://api.dev.cling.se",
|
|
546
|
+
"api.socket.rootUrl": "https://api.dev.cling.se",
|
|
547
|
+
"rollbar.clientToken": "cf75726b70174d4097505ae18d5f9600",
|
|
548
|
+
"rollbar.environment": "staging"
|
|
549
|
+
};
|
|
550
|
+
Object.keys(t).forEach((a) => {
|
|
551
|
+
typeof t[a] < "u" && Wa(g, a, t[a]);
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
return import("./main.837b42e2.js").then((t) => t.I).then((t) => {
|
|
555
|
+
const a = t.default;
|
|
556
|
+
return window[v] = a, Object.assign(this, a), a.init({ ..._, LIB_NAME: v });
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
window[v] = ja;
|
|
561
|
+
export {
|
|
562
|
+
ja as C,
|
|
563
|
+
Ra as _,
|
|
564
|
+
g as a,
|
|
565
|
+
Fa as b,
|
|
566
|
+
L as c,
|
|
567
|
+
Ca as d,
|
|
568
|
+
wa as g,
|
|
569
|
+
Wa as s
|
|
570
|
+
};
|