@cling-se/widget 0.2.0 → 0.3.1
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 +13 -0
- package/dist/DocFormSend.4167e485.js +10948 -0
- package/dist/DocSendReminder.ea59eb89.js +101 -0
- package/dist/{index.a3fd764a.js → index.01c25e08.js} +1 -1
- package/dist/{index.b30bff25.js → index.06409a2f.js} +1 -1
- package/dist/{index.fa3979ff.js → index.08111bb7.js} +1 -1
- package/dist/{index.30a47f01.js → index.0b1b812f.js} +1 -1
- package/dist/{index.d13e57cf.js → index.0d00d7bd.js} +1 -1
- package/dist/{index.1265b7da.js → index.0e7c6d61.js} +1 -1
- package/dist/{index.a5c3b597.js → index.0ed558c6.js} +1 -1
- package/dist/{index.a07a37f5.js → index.1139f21e.js} +5 -5
- package/dist/{index.f307515f.js → index.129d08c4.js} +1 -1
- package/dist/{index.3d0ad149.js → index.155e790a.js} +1 -1
- package/dist/{index.736554af.js → index.1d1a95d4.js} +4 -4
- package/dist/{index.4f7f13dc.js → index.1dabfb0c.js} +1 -1
- package/dist/{index.a2f48a18.js → index.2003fa47.js} +1 -1
- package/dist/{index.9d90fe0c.js → index.23ef6d49.js} +1 -1
- package/dist/{index.ec45956e.js → index.2484f858.js} +1 -1
- package/dist/{index.b1c1a04f.js → index.256635f9.js} +1 -1
- package/dist/{index.2b2f9a52.js → index.25b970da.js} +3 -3
- package/dist/{index.08db6199.js → index.2797c7a7.js} +1 -1
- package/dist/{index.3375d9b3.js → index.2be363fd.js} +1 -1
- package/dist/{index.9364c1c6.js → index.30113922.js} +3 -3
- package/dist/{index.52c2fd8e.js → index.30a4c616.js} +4 -4
- package/dist/{index.18e53c3e.js → index.3342df5b.js} +3 -3
- package/dist/{index.ad1e8ec6.js → index.35bb18c6.js} +3 -3
- package/dist/{index.7d747110.js → index.3a4adc1e.js} +1 -1
- package/dist/{index.cf454df9.js → index.3a576af9.js} +1 -1
- package/dist/{index.c430e388.js → index.3b743171.js} +1 -1
- package/dist/{index.c8311579.js → index.3d004e78.js} +4 -4
- package/dist/{index.e663a7fa.js → index.3d942988.js} +1 -1
- package/dist/{index.8ff3f6fe.js → index.3f213bda.js} +1 -1
- package/dist/{index.4b27a8bd.js → index.41fda479.js} +1 -1
- package/dist/{index.c0b94a81.js → index.42f72a0a.js} +1 -1
- package/dist/{index.aae425fc.js → index.4b5231be.js} +1 -1
- package/dist/{index.277d536f.js → index.4c7f301f.js} +2 -2
- package/dist/{index.bb6ac9de.js → index.4dfa2b20.js} +1 -1
- package/dist/{index.04eb7666.js → index.4dffcb9c.js} +11 -11
- package/dist/{index.19add93d.js → index.4efc8cb4.js} +1 -1
- package/dist/{index.41db2202.js → index.5169ae52.js} +3 -3
- package/dist/{index.81632a09.js → index.517a6724.js} +1 -1
- package/dist/{index.473ddf78.js → index.5282ac36.js} +1 -1
- package/dist/{index.e9598267.js → index.55c534ff.js} +4 -4
- package/dist/{index.d63ceb60.js → index.56714d78.js} +1 -1
- package/dist/{index.402e8bd1.js → index.569dd909.js} +1 -1
- package/dist/{index.ddbff289.js → index.5da9fafd.js} +1 -1
- package/dist/{index.15db1572.js → index.628e9d30.js} +1 -1
- package/dist/{index.7aa3e74c.js → index.647dbf81.js} +1 -1
- package/dist/{index.8f5eeca4.js → index.69bbb9b5.js} +3 -3
- package/dist/{index.d15f9723.js → index.6aebf764.js} +9 -9
- package/dist/{index.1073e205.js → index.6c00772b.js} +1 -1
- package/dist/{index.df57b586.js → index.6dcf7370.js} +4 -4
- package/dist/{index.4b5204bc.js → index.724d1312.js} +3 -3
- package/dist/{index.7bf3d4ae.js → index.7547246a.js} +1 -1
- package/dist/{index.b990c929.js → index.756eb2f9.js} +7 -7
- package/dist/{index.aac60c09.js → index.784a699d.js} +13 -13
- package/dist/{index.43a8365b.js → index.7bdb91f0.js} +5 -5
- package/dist/{index.8eaac06a.js → index.7e878114.js} +1 -1
- package/dist/{index.bee7f9f0.js → index.7f5b95a1.js} +1 -1
- package/dist/{index.63e6ecf1.js → index.809771d5.js} +2 -2
- package/dist/{index.fb9a79e7.js → index.842cdca5.js} +1 -1
- package/dist/{index.7cc6d8c0.js → index.85759566.js} +1 -1
- package/dist/{index.82c8026b.js → index.91061a60.js} +1 -1
- package/dist/{index.041c2add.js → index.95a392ee.js} +2 -2
- package/dist/{index.b1aeb670.js → index.96120e6d.js} +7 -7
- package/dist/{index.1f19f38f.js → index.982477cd.js} +1 -1
- package/dist/{index.a3748b7c.js → index.a24c27e0.js} +1 -1
- package/dist/{index.84542042.js → index.a3eece60.js} +1 -1
- package/dist/{index.ab4abda4.js → index.a9d3e8ad.js} +1 -1
- package/dist/{index.18ea0e80.js → index.af77bced.js} +1 -1
- package/dist/{index.c8e68ad8.js → index.b971ee0c.js} +3 -3
- package/dist/{index.2a095a12.js → index.c076812f.js} +3 -3
- package/dist/{index.ad63dbc8.js → index.c0ecaaa7.js} +1 -1
- package/dist/{index.ae9289ad.js → index.c1b1459e.js} +4 -4
- package/dist/{index.25e849f2.js → index.c36dad5b.js} +1 -1
- package/dist/{index.b8bc3146.js → index.c42286ec.js} +4 -4
- package/dist/{index.cf85278c.js → index.c6979fb6.js} +1 -1
- package/dist/{index.0da4e088.js → index.cb95bd5c.js} +1 -1
- package/dist/{index.040f2309.js → index.cc8daeed.js} +3 -3
- package/dist/{index.f2850cab.js → index.cf4ccd13.js} +3 -3
- package/dist/{index.52d8a6ec.js → index.d7c13f64.js} +5 -5
- package/dist/{index.a18dc115.js → index.d9d9cbb9.js} +1 -1
- package/dist/{index.eba4a007.js → index.daeef8fa.js} +1 -1
- package/dist/{index.11bdbbb0.js → index.e1be038b.js} +3 -3
- package/dist/{index.f0de1d88.js → index.e4afc779.js} +1 -1
- package/dist/{index.7787c681.js → index.e51d0dfe.js} +1 -1
- package/dist/{index.a6fa9957.js → index.e779dc87.js} +1 -1
- package/dist/{index.7158edd8.js → index.e7c54cc7.js} +1 -1
- package/dist/{index.f8240c2c.js → index.e888c32b.js} +4 -4
- package/dist/{index.7d7b57ef.js → index.ea23c736.js} +3 -3
- package/dist/{index.b3720a24.js → index.efe268c2.js} +3 -3
- package/dist/{index.6b13feca.js → index.efffdb7d.js} +3 -3
- package/dist/index.es.js +8 -0
- package/dist/{index.d07f7043.js → index.f37e9e48.js} +1 -1
- package/dist/{index.661a0b24.js → index.f3e48619.js} +9 -9
- package/dist/{index.520ec8bf.js → index.f8df4dfb.js} +1 -1
- package/dist/{index.6a53828a.js → index.faa46a40.js} +1 -1
- package/dist/{index.872decd6.js → index.fc2cb4eb.js} +4 -4
- package/dist/index.umd.js +588 -0
- package/dist/init.018b2925.js +570 -0
- package/dist/{main.9cdf4a3f.js → main.c0ec9a75.js} +8974 -9341
- package/package.json +7 -6
- package/stats.html +4044 -0
- package/tailwind.config.cjs +0 -28
- package/dist/DocFormSend.1491ed08.js +0 -13859
- package/dist/main.es.js +0 -8
- package/dist/main.umd.js +0 -598
- package/vite-plugin-inject-css/index.js +0 -86
- package/vite-plugin-inject-css/utils.js +0 -70
|
@@ -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 t = _.default;
|
|
7
|
+
if (typeof t == "function") {
|
|
8
|
+
var e = function() {
|
|
9
|
+
return t.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
e.prototype = t.prototype;
|
|
12
|
+
} else
|
|
13
|
+
e = {};
|
|
14
|
+
return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(_).forEach(function(a) {
|
|
15
|
+
var E = Object.getOwnPropertyDescriptor(_, a);
|
|
16
|
+
Object.defineProperty(e, a, E.get ? E : {
|
|
17
|
+
enumerable: !0,
|
|
18
|
+
get: function() {
|
|
19
|
+
return _[a];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}), e;
|
|
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")(), h = __, t_ = h, e_ = t_.Symbol, u = e_, b = u, H = Object.prototype, a_ = H.hasOwnProperty, E_ = H.toString, o = b ? b.toStringTag : void 0;
|
|
25
|
+
function r_(_) {
|
|
26
|
+
var t = a_.call(_, o), e = _[o];
|
|
27
|
+
try {
|
|
28
|
+
_[o] = void 0;
|
|
29
|
+
var a = !0;
|
|
30
|
+
} catch {
|
|
31
|
+
}
|
|
32
|
+
var E = E_.call(_);
|
|
33
|
+
return a && (t ? _[o] = e : 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 = u, 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 t = typeof _;
|
|
46
|
+
return _ != null && (t == "object" || t == "function");
|
|
47
|
+
}
|
|
48
|
+
var B = L_, l_ = k, V_ = B, f_ = "[object AsyncFunction]", d_ = "[object Function]", O_ = "[object GeneratorFunction]", R_ = "[object Proxy]";
|
|
49
|
+
function g_(_) {
|
|
50
|
+
if (!V_(_))
|
|
51
|
+
return !1;
|
|
52
|
+
var t = l_(_);
|
|
53
|
+
return t == d_ || t == O_ || t == f_ || t == R_;
|
|
54
|
+
}
|
|
55
|
+
var S_ = g_, h_ = h, u_ = h_["__core-js_shared__"], B_ = u_, O = B_, y = function() {
|
|
56
|
+
var _ = /[^.]+$/.exec(O && O.keys && O.keys.IE_PROTO || "");
|
|
57
|
+
return _ ? "Symbol(src)_1." + _ : "";
|
|
58
|
+
}();
|
|
59
|
+
function v_(_) {
|
|
60
|
+
return !!y && y in _;
|
|
61
|
+
}
|
|
62
|
+
var N_ = v_, 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_ = S_, y_ = N_, m_ = B, 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 t = U_(_) ? F_ : W_;
|
|
83
|
+
return t.test(K_(_));
|
|
84
|
+
}
|
|
85
|
+
var k_ = H_;
|
|
86
|
+
function z_(_, t) {
|
|
87
|
+
return _ == null ? void 0 : _[t];
|
|
88
|
+
}
|
|
89
|
+
var x_ = z_, Z_ = k_, Q_ = x_;
|
|
90
|
+
function q_(_, t) {
|
|
91
|
+
var e = Q_(_, t);
|
|
92
|
+
return Z_(e) ? e : void 0;
|
|
93
|
+
}
|
|
94
|
+
var v = q_, X_ = v, J_ = function() {
|
|
95
|
+
try {
|
|
96
|
+
var _ = X_(Object, "defineProperty");
|
|
97
|
+
return _({}, "", {}), _;
|
|
98
|
+
} catch {
|
|
99
|
+
}
|
|
100
|
+
}(), _t = J_, m = _t;
|
|
101
|
+
function tt(_, t, e) {
|
|
102
|
+
t == "__proto__" && m ? m(_, t, {
|
|
103
|
+
configurable: !0,
|
|
104
|
+
enumerable: !0,
|
|
105
|
+
value: e,
|
|
106
|
+
writable: !0
|
|
107
|
+
}) : _[t] = e;
|
|
108
|
+
}
|
|
109
|
+
var et = tt;
|
|
110
|
+
function at(_, t) {
|
|
111
|
+
return _ === t || _ !== _ && t !== t;
|
|
112
|
+
}
|
|
113
|
+
var z = at, Et = et, rt = z, nt = Object.prototype, it = nt.hasOwnProperty;
|
|
114
|
+
function Pt(_, t, e) {
|
|
115
|
+
var a = _[t];
|
|
116
|
+
(!(it.call(_, t) && rt(a, e)) || e === void 0 && !(t in _)) && Et(_, t, e);
|
|
117
|
+
}
|
|
118
|
+
var st = Pt, It = Array.isArray, N = It;
|
|
119
|
+
function Tt(_) {
|
|
120
|
+
return _ != null && typeof _ == "object";
|
|
121
|
+
}
|
|
122
|
+
var pt = Tt, At = k, ot = pt, ct = "[object Symbol]";
|
|
123
|
+
function Lt(_) {
|
|
124
|
+
return typeof _ == "symbol" || ot(_) && At(_) == ct;
|
|
125
|
+
}
|
|
126
|
+
var C = Lt, lt = N, Vt = C, ft = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, dt = /^\w*$/;
|
|
127
|
+
function Ot(_, t) {
|
|
128
|
+
if (lt(_))
|
|
129
|
+
return !1;
|
|
130
|
+
var e = typeof _;
|
|
131
|
+
return e == "number" || e == "symbol" || e == "boolean" || _ == null || Vt(_) ? !0 : dt.test(_) || !ft.test(_) || t != null && _ in Object(t);
|
|
132
|
+
}
|
|
133
|
+
var Rt = Ot, gt = v, St = gt(Object, "create"), V = St, K = V;
|
|
134
|
+
function ht() {
|
|
135
|
+
this.__data__ = K ? K(null) : {}, this.size = 0;
|
|
136
|
+
}
|
|
137
|
+
var ut = ht;
|
|
138
|
+
function Bt(_) {
|
|
139
|
+
var t = this.has(_) && delete this.__data__[_];
|
|
140
|
+
return this.size -= t ? 1 : 0, t;
|
|
141
|
+
}
|
|
142
|
+
var vt = Bt, Nt = V, Ct = "__lodash_hash_undefined__", Dt = Object.prototype, bt = Dt.hasOwnProperty;
|
|
143
|
+
function Gt(_) {
|
|
144
|
+
var t = this.__data__;
|
|
145
|
+
if (Nt) {
|
|
146
|
+
var e = t[_];
|
|
147
|
+
return e === Ct ? void 0 : e;
|
|
148
|
+
}
|
|
149
|
+
return bt.call(t, _) ? t[_] : void 0;
|
|
150
|
+
}
|
|
151
|
+
var Ut = Gt, yt = V, mt = Object.prototype, Kt = mt.hasOwnProperty;
|
|
152
|
+
function $t(_) {
|
|
153
|
+
var t = this.__data__;
|
|
154
|
+
return yt ? t[_] !== void 0 : Kt.call(t, _);
|
|
155
|
+
}
|
|
156
|
+
var Wt = $t, Yt = V, Mt = "__lodash_hash_undefined__";
|
|
157
|
+
function jt(_, t) {
|
|
158
|
+
var e = this.__data__;
|
|
159
|
+
return this.size += this.has(_) ? 0 : 1, e[_] = Yt && t === void 0 ? Mt : t, this;
|
|
160
|
+
}
|
|
161
|
+
var wt = jt, Ft = ut, Ht = vt, kt = Ut, zt = Wt, xt = wt;
|
|
162
|
+
function s(_) {
|
|
163
|
+
var t = -1, e = _ == null ? 0 : _.length;
|
|
164
|
+
for (this.clear(); ++t < e; ) {
|
|
165
|
+
var a = _[t];
|
|
166
|
+
this.set(a[0], a[1]);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
s.prototype.clear = Ft;
|
|
170
|
+
s.prototype.delete = Ht;
|
|
171
|
+
s.prototype.get = kt;
|
|
172
|
+
s.prototype.has = zt;
|
|
173
|
+
s.prototype.set = xt;
|
|
174
|
+
var Zt = s;
|
|
175
|
+
function Qt() {
|
|
176
|
+
this.__data__ = [], this.size = 0;
|
|
177
|
+
}
|
|
178
|
+
var qt = Qt, Xt = z;
|
|
179
|
+
function Jt(_, t) {
|
|
180
|
+
for (var e = _.length; e--; )
|
|
181
|
+
if (Xt(_[e][0], t))
|
|
182
|
+
return e;
|
|
183
|
+
return -1;
|
|
184
|
+
}
|
|
185
|
+
var f = Jt, _e = f, te = Array.prototype, ee = te.splice;
|
|
186
|
+
function ae(_) {
|
|
187
|
+
var t = this.__data__, e = _e(t, _);
|
|
188
|
+
if (e < 0)
|
|
189
|
+
return !1;
|
|
190
|
+
var a = t.length - 1;
|
|
191
|
+
return e == a ? t.pop() : ee.call(t, e, 1), --this.size, !0;
|
|
192
|
+
}
|
|
193
|
+
var Ee = ae, re = f;
|
|
194
|
+
function ne(_) {
|
|
195
|
+
var t = this.__data__, e = re(t, _);
|
|
196
|
+
return e < 0 ? void 0 : t[e][1];
|
|
197
|
+
}
|
|
198
|
+
var ie = ne, Pe = f;
|
|
199
|
+
function se(_) {
|
|
200
|
+
return Pe(this.__data__, _) > -1;
|
|
201
|
+
}
|
|
202
|
+
var Ie = se, Te = f;
|
|
203
|
+
function pe(_, t) {
|
|
204
|
+
var e = this.__data__, a = Te(e, _);
|
|
205
|
+
return a < 0 ? (++this.size, e.push([_, t])) : e[a][1] = t, this;
|
|
206
|
+
}
|
|
207
|
+
var Ae = pe, oe = qt, ce = Ee, Le = ie, le = Ie, Ve = Ae;
|
|
208
|
+
function I(_) {
|
|
209
|
+
var t = -1, e = _ == null ? 0 : _.length;
|
|
210
|
+
for (this.clear(); ++t < e; ) {
|
|
211
|
+
var a = _[t];
|
|
212
|
+
this.set(a[0], a[1]);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
I.prototype.clear = oe;
|
|
216
|
+
I.prototype.delete = ce;
|
|
217
|
+
I.prototype.get = Le;
|
|
218
|
+
I.prototype.has = le;
|
|
219
|
+
I.prototype.set = Ve;
|
|
220
|
+
var fe = I, de = v, Oe = h, Re = de(Oe, "Map"), ge = Re, $ = Zt, Se = fe, he = ge;
|
|
221
|
+
function ue() {
|
|
222
|
+
this.size = 0, this.__data__ = {
|
|
223
|
+
hash: new $(),
|
|
224
|
+
map: new (he || Se)(),
|
|
225
|
+
string: new $()
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
var Be = ue;
|
|
229
|
+
function ve(_) {
|
|
230
|
+
var t = typeof _;
|
|
231
|
+
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? _ !== "__proto__" : _ === null;
|
|
232
|
+
}
|
|
233
|
+
var Ne = ve, Ce = Ne;
|
|
234
|
+
function De(_, t) {
|
|
235
|
+
var e = _.__data__;
|
|
236
|
+
return Ce(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
237
|
+
}
|
|
238
|
+
var d = De, be = d;
|
|
239
|
+
function Ge(_) {
|
|
240
|
+
var t = be(this, _).delete(_);
|
|
241
|
+
return this.size -= t ? 1 : 0, t;
|
|
242
|
+
}
|
|
243
|
+
var Ue = Ge, ye = d;
|
|
244
|
+
function me(_) {
|
|
245
|
+
return ye(this, _).get(_);
|
|
246
|
+
}
|
|
247
|
+
var Ke = me, $e = d;
|
|
248
|
+
function We(_) {
|
|
249
|
+
return $e(this, _).has(_);
|
|
250
|
+
}
|
|
251
|
+
var Ye = We, Me = d;
|
|
252
|
+
function je(_, t) {
|
|
253
|
+
var e = Me(this, _), a = e.size;
|
|
254
|
+
return e.set(_, t), this.size += e.size == a ? 0 : 1, this;
|
|
255
|
+
}
|
|
256
|
+
var we = je, Fe = Be, He = Ue, ke = Ke, ze = Ye, xe = we;
|
|
257
|
+
function T(_) {
|
|
258
|
+
var t = -1, e = _ == null ? 0 : _.length;
|
|
259
|
+
for (this.clear(); ++t < e; ) {
|
|
260
|
+
var a = _[t];
|
|
261
|
+
this.set(a[0], a[1]);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
T.prototype.clear = Fe;
|
|
265
|
+
T.prototype.delete = He;
|
|
266
|
+
T.prototype.get = ke;
|
|
267
|
+
T.prototype.has = ze;
|
|
268
|
+
T.prototype.set = xe;
|
|
269
|
+
var Ze = T, x = Ze, Qe = "Expected a function";
|
|
270
|
+
function D(_, t) {
|
|
271
|
+
if (typeof _ != "function" || t != null && typeof t != "function")
|
|
272
|
+
throw new TypeError(Qe);
|
|
273
|
+
var e = function() {
|
|
274
|
+
var a = arguments, E = t ? t.apply(this, a) : a[0], n = e.cache;
|
|
275
|
+
if (n.has(E))
|
|
276
|
+
return n.get(E);
|
|
277
|
+
var p = _.apply(this, a);
|
|
278
|
+
return e.cache = n.set(E, p) || n, p;
|
|
279
|
+
};
|
|
280
|
+
return e.cache = new (D.Cache || x)(), e;
|
|
281
|
+
}
|
|
282
|
+
D.Cache = x;
|
|
283
|
+
var qe = D, Xe = qe, Je = 500;
|
|
284
|
+
function _a(_) {
|
|
285
|
+
var t = Xe(_, function(a) {
|
|
286
|
+
return e.size === Je && e.clear(), a;
|
|
287
|
+
}), e = t.cache;
|
|
288
|
+
return t;
|
|
289
|
+
}
|
|
290
|
+
var ta = _a, ea = ta, aa = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, ra = ea(function(_) {
|
|
291
|
+
var t = [];
|
|
292
|
+
return _.charCodeAt(0) === 46 && t.push(""), _.replace(aa, function(e, a, E, n) {
|
|
293
|
+
t.push(E ? n.replace(Ea, "$1") : a || e);
|
|
294
|
+
}), t;
|
|
295
|
+
}), na = ra;
|
|
296
|
+
function ia(_, t) {
|
|
297
|
+
for (var e = -1, a = _ == null ? 0 : _.length, E = Array(a); ++e < a; )
|
|
298
|
+
E[e] = t(_[e], e, _);
|
|
299
|
+
return E;
|
|
300
|
+
}
|
|
301
|
+
var Pa = ia, W = u, 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 t = _ + "";
|
|
310
|
+
return t == "0" && 1 / _ == -pa ? "-0" : t;
|
|
311
|
+
}
|
|
312
|
+
var Aa = Z, oa = Aa;
|
|
313
|
+
function ca(_) {
|
|
314
|
+
return _ == null ? "" : oa(_);
|
|
315
|
+
}
|
|
316
|
+
var La = ca, la = N, Va = Rt, fa = na, da = La;
|
|
317
|
+
function Oa(_, t) {
|
|
318
|
+
return la(_) ? _ : Va(_, t) ? [_] : fa(da(_));
|
|
319
|
+
}
|
|
320
|
+
var Ra = Oa, ga = 9007199254740991, Sa = /^(?:0|[1-9]\d*)$/;
|
|
321
|
+
function ha(_, t) {
|
|
322
|
+
var e = typeof _;
|
|
323
|
+
return t = t == null ? ga : t, !!t && (e == "number" || e != "symbol" && Sa.test(_)) && _ > -1 && _ % 1 == 0 && _ < t;
|
|
324
|
+
}
|
|
325
|
+
var ua = ha, Ba = C, va = 1 / 0;
|
|
326
|
+
function Na(_) {
|
|
327
|
+
if (typeof _ == "string" || Ba(_))
|
|
328
|
+
return _;
|
|
329
|
+
var t = _ + "";
|
|
330
|
+
return t == "0" && 1 / _ == -va ? "-0" : t;
|
|
331
|
+
}
|
|
332
|
+
var Ca = Na, Da = st, ba = Ra, Ga = ua, j = B, Ua = Ca;
|
|
333
|
+
function ya(_, t, e, a) {
|
|
334
|
+
if (!j(_))
|
|
335
|
+
return _;
|
|
336
|
+
t = ba(t, _);
|
|
337
|
+
for (var E = -1, n = t.length, p = n - 1, r = _; r != null && ++E < n; ) {
|
|
338
|
+
var i = Ua(t[E]), P = e;
|
|
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(t[E + 1]) ? [] : {});
|
|
342
|
+
}
|
|
343
|
+
Da(r, i, P), r = r[i];
|
|
344
|
+
}
|
|
345
|
+
return _;
|
|
346
|
+
}
|
|
347
|
+
var ma = ya, Ka = ma;
|
|
348
|
+
function $a(_, t, e) {
|
|
349
|
+
return _ == null ? _ : Ka(_, t, e);
|
|
350
|
+
}
|
|
351
|
+
var Wa = $a;
|
|
352
|
+
const l = !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.cling.se"
|
|
361
|
+
},
|
|
362
|
+
showAdminSettings: {
|
|
363
|
+
format: "Boolean",
|
|
364
|
+
default: l,
|
|
365
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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: l,
|
|
370
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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: !l,
|
|
375
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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: l,
|
|
385
|
+
env: { VITE_APP_ROOT_STYLE_ID: "CLING_WIDGET_STYLE", VITE_APP_WEB_BASEURL: "https://app.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se"
|
|
392
|
+
},
|
|
393
|
+
socket: {
|
|
394
|
+
rootUrl: {
|
|
395
|
+
format: "String",
|
|
396
|
+
default: "https://api.dev.cling.se",
|
|
397
|
+
env: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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.cling.se", VITE_APP_CLINGAPI_BASEURL: "https://api.cling.se", VITE_APP_CLINGAPI_SOCKET_ROOT: "https://api.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 = (_, t) => t.reduce((e, a) => typeof e > "u" ? e : e[a], _);
|
|
511
|
+
function Ma(_) {
|
|
512
|
+
const t = ["format", "default", "env"], e = ["string", "number", "boolean"];
|
|
513
|
+
function a(E, n) {
|
|
514
|
+
if (w(E) && Object.keys(E).some((r) => t.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 (!e.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 S = "Cling", ja = {
|
|
539
|
+
init(_ = {}) {
|
|
540
|
+
const t = (_ == null ? void 0 : _.environment) || "development";
|
|
541
|
+
if (t === "development") {
|
|
542
|
+
const e = {
|
|
543
|
+
environment: t,
|
|
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(e).forEach((a) => {
|
|
551
|
+
typeof e[a] < "u" && Wa(g, a, e[a]);
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
return import("./main.c0ec9a75.js").then((e) => e.H).then((e) => {
|
|
555
|
+
const a = e.default;
|
|
556
|
+
return window[S] = a, Object.assign(this, a), a.init({ ..._, LIB_NAME: S });
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
window[S] = 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
|
+
};
|