@everymatrix/cashier-verifications 1.74.1 → 1.74.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.
@@ -0,0 +1,654 @@
1
+ import { _ as j, a as M, b as V, c as g, S as oe, i as se, f as w, d as ue, s as ce, e as le, g as ae, h as L, n as E, j as k, o as fe, k as _, l as A, m as U, p as f, t as B, q as m, r as x, u as Q, v as de, w as he, x as pe, y as be } from "./CashierVerifications-DGho0seC.js";
2
+ function v(r) {
3
+ return typeof r == "function";
4
+ }
5
+ function X(r) {
6
+ var t = function(i) {
7
+ Error.call(i), i.stack = new Error().stack;
8
+ }, e = r(t);
9
+ return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
10
+ }
11
+ var T = X(function(r) {
12
+ return function(e) {
13
+ r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
14
+ ` + e.map(function(i, n) {
15
+ return n + 1 + ") " + i.toString();
16
+ }).join(`
17
+ `) : "", this.name = "UnsubscriptionError", this.errors = e;
18
+ };
19
+ });
20
+ function I(r, t) {
21
+ if (r) {
22
+ var e = r.indexOf(t);
23
+ 0 <= e && r.splice(e, 1);
24
+ }
25
+ }
26
+ var O = function() {
27
+ function r(t) {
28
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
29
+ }
30
+ return r.prototype.unsubscribe = function() {
31
+ var t, e, i, n, o;
32
+ if (!this.closed) {
33
+ this.closed = !0;
34
+ var s = this._parentage;
35
+ if (s)
36
+ if (this._parentage = null, Array.isArray(s))
37
+ try {
38
+ for (var u = j(s), c = u.next(); !c.done; c = u.next()) {
39
+ var l = c.value;
40
+ l.remove(this);
41
+ }
42
+ } catch (p) {
43
+ t = { error: p };
44
+ } finally {
45
+ try {
46
+ c && !c.done && (e = u.return) && e.call(u);
47
+ } finally {
48
+ if (t)
49
+ throw t.error;
50
+ }
51
+ }
52
+ else
53
+ s.remove(this);
54
+ var a = this.initialTeardown;
55
+ if (v(a))
56
+ try {
57
+ a();
58
+ } catch (p) {
59
+ o = p instanceof T ? p.errors : [p];
60
+ }
61
+ var d = this._finalizers;
62
+ if (d) {
63
+ this._finalizers = null;
64
+ try {
65
+ for (var b = j(d), y = b.next(); !y.done; y = b.next()) {
66
+ var P = y.value;
67
+ try {
68
+ z(P);
69
+ } catch (p) {
70
+ o = o ?? [], p instanceof T ? o = M(M([], V(o)), V(p.errors)) : o.push(p);
71
+ }
72
+ }
73
+ } catch (p) {
74
+ i = { error: p };
75
+ } finally {
76
+ try {
77
+ y && !y.done && (n = b.return) && n.call(b);
78
+ } finally {
79
+ if (i)
80
+ throw i.error;
81
+ }
82
+ }
83
+ }
84
+ if (o)
85
+ throw new T(o);
86
+ }
87
+ }, r.prototype.add = function(t) {
88
+ var e;
89
+ if (t && t !== this)
90
+ if (this.closed)
91
+ z(t);
92
+ else {
93
+ if (t instanceof r) {
94
+ if (t.closed || t._hasParent(this))
95
+ return;
96
+ t._addParent(this);
97
+ }
98
+ (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
99
+ }
100
+ }, r.prototype._hasParent = function(t) {
101
+ var e = this._parentage;
102
+ return e === t || Array.isArray(e) && e.includes(t);
103
+ }, r.prototype._addParent = function(t) {
104
+ var e = this._parentage;
105
+ this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
106
+ }, r.prototype._removeParent = function(t) {
107
+ var e = this._parentage;
108
+ e === t ? this._parentage = null : Array.isArray(e) && I(e, t);
109
+ }, r.prototype.remove = function(t) {
110
+ var e = this._finalizers;
111
+ e && I(e, t), t instanceof r && t._removeParent(this);
112
+ }, r.EMPTY = function() {
113
+ var t = new r();
114
+ return t.closed = !0, t;
115
+ }(), r;
116
+ }(), N = O.EMPTY;
117
+ function $(r) {
118
+ return r instanceof O || r && "closed" in r && v(r.remove) && v(r.add) && v(r.unsubscribe);
119
+ }
120
+ function z(r) {
121
+ v(r) ? r() : r.unsubscribe();
122
+ }
123
+ var ve = {
124
+ onUnhandledError: null,
125
+ onStoppedNotification: null,
126
+ Promise: void 0,
127
+ useDeprecatedSynchronousErrorHandling: !1,
128
+ useDeprecatedNextContext: !1
129
+ }, ye = {
130
+ setTimeout: function(r, t) {
131
+ for (var e = [], i = 2; i < arguments.length; i++)
132
+ e[i - 2] = arguments[i];
133
+ return setTimeout.apply(void 0, M([r, t], V(e)));
134
+ },
135
+ clearTimeout: function(r) {
136
+ return clearTimeout(r);
137
+ },
138
+ delegate: void 0
139
+ };
140
+ function me(r) {
141
+ ye.setTimeout(function() {
142
+ throw r;
143
+ });
144
+ }
145
+ function D() {
146
+ }
147
+ function C(r) {
148
+ r();
149
+ }
150
+ var ee = function(r) {
151
+ g(t, r);
152
+ function t(e) {
153
+ var i = r.call(this) || this;
154
+ return i.isStopped = !1, e ? (i.destination = e, $(e) && e.add(i)) : i.destination = ge, i;
155
+ }
156
+ return t.create = function(e, i, n) {
157
+ return new W(e, i, n);
158
+ }, t.prototype.next = function(e) {
159
+ this.isStopped || this._next(e);
160
+ }, t.prototype.error = function(e) {
161
+ this.isStopped || (this.isStopped = !0, this._error(e));
162
+ }, t.prototype.complete = function() {
163
+ this.isStopped || (this.isStopped = !0, this._complete());
164
+ }, t.prototype.unsubscribe = function() {
165
+ this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
166
+ }, t.prototype._next = function(e) {
167
+ this.destination.next(e);
168
+ }, t.prototype._error = function(e) {
169
+ try {
170
+ this.destination.error(e);
171
+ } finally {
172
+ this.unsubscribe();
173
+ }
174
+ }, t.prototype._complete = function() {
175
+ try {
176
+ this.destination.complete();
177
+ } finally {
178
+ this.unsubscribe();
179
+ }
180
+ }, t;
181
+ }(O), we = function() {
182
+ function r(t) {
183
+ this.partialObserver = t;
184
+ }
185
+ return r.prototype.next = function(t) {
186
+ var e = this.partialObserver;
187
+ if (e.next)
188
+ try {
189
+ e.next(t);
190
+ } catch (i) {
191
+ S(i);
192
+ }
193
+ }, r.prototype.error = function(t) {
194
+ var e = this.partialObserver;
195
+ if (e.error)
196
+ try {
197
+ e.error(t);
198
+ } catch (i) {
199
+ S(i);
200
+ }
201
+ else
202
+ S(t);
203
+ }, r.prototype.complete = function() {
204
+ var t = this.partialObserver;
205
+ if (t.complete)
206
+ try {
207
+ t.complete();
208
+ } catch (e) {
209
+ S(e);
210
+ }
211
+ }, r;
212
+ }(), W = function(r) {
213
+ g(t, r);
214
+ function t(e, i, n) {
215
+ var o = r.call(this) || this, s;
216
+ return v(e) || !e ? s = {
217
+ next: e ?? void 0,
218
+ error: i ?? void 0,
219
+ complete: n ?? void 0
220
+ } : s = e, o.destination = new we(s), o;
221
+ }
222
+ return t;
223
+ }(ee);
224
+ function S(r) {
225
+ me(r);
226
+ }
227
+ function _e(r) {
228
+ throw r;
229
+ }
230
+ var ge = {
231
+ closed: !0,
232
+ next: D,
233
+ error: _e,
234
+ complete: D
235
+ }, Se = function() {
236
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
237
+ }();
238
+ function Ce(r) {
239
+ return r;
240
+ }
241
+ function Ee(r) {
242
+ return r.length === 0 ? Ce : r.length === 1 ? r[0] : function(e) {
243
+ return r.reduce(function(i, n) {
244
+ return n(i);
245
+ }, e);
246
+ };
247
+ }
248
+ var H = function() {
249
+ function r(t) {
250
+ t && (this._subscribe = t);
251
+ }
252
+ return r.prototype.lift = function(t) {
253
+ var e = new r();
254
+ return e.source = this, e.operator = t, e;
255
+ }, r.prototype.subscribe = function(t, e, i) {
256
+ var n = this, o = Le(t) ? t : new W(t, e, i);
257
+ return C(function() {
258
+ var s = n, u = s.operator, c = s.source;
259
+ o.add(u ? u.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
260
+ }), o;
261
+ }, r.prototype._trySubscribe = function(t) {
262
+ try {
263
+ return this._subscribe(t);
264
+ } catch (e) {
265
+ t.error(e);
266
+ }
267
+ }, r.prototype.forEach = function(t, e) {
268
+ var i = this;
269
+ return e = R(e), new e(function(n, o) {
270
+ var s = new W({
271
+ next: function(u) {
272
+ try {
273
+ t(u);
274
+ } catch (c) {
275
+ o(c), s.unsubscribe();
276
+ }
277
+ },
278
+ error: o,
279
+ complete: n
280
+ });
281
+ i.subscribe(s);
282
+ });
283
+ }, r.prototype._subscribe = function(t) {
284
+ var e;
285
+ return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
286
+ }, r.prototype[Se] = function() {
287
+ return this;
288
+ }, r.prototype.pipe = function() {
289
+ for (var t = [], e = 0; e < arguments.length; e++)
290
+ t[e] = arguments[e];
291
+ return Ee(t)(this);
292
+ }, r.prototype.toPromise = function(t) {
293
+ var e = this;
294
+ return t = R(t), new t(function(i, n) {
295
+ var o;
296
+ e.subscribe(function(s) {
297
+ return o = s;
298
+ }, function(s) {
299
+ return n(s);
300
+ }, function() {
301
+ return i(o);
302
+ });
303
+ });
304
+ }, r.create = function(t) {
305
+ return new r(t);
306
+ }, r;
307
+ }();
308
+ function R(r) {
309
+ var t;
310
+ return (t = r ?? ve.Promise) !== null && t !== void 0 ? t : Promise;
311
+ }
312
+ function xe(r) {
313
+ return r && v(r.next) && v(r.error) && v(r.complete);
314
+ }
315
+ function Le(r) {
316
+ return r && r instanceof ee || xe(r) && $(r);
317
+ }
318
+ var ke = X(function(r) {
319
+ return function() {
320
+ r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
321
+ };
322
+ }), te = function(r) {
323
+ g(t, r);
324
+ function t() {
325
+ var e = r.call(this) || this;
326
+ return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
327
+ }
328
+ return t.prototype.lift = function(e) {
329
+ var i = new F(this, this);
330
+ return i.operator = e, i;
331
+ }, t.prototype._throwIfClosed = function() {
332
+ if (this.closed)
333
+ throw new ke();
334
+ }, t.prototype.next = function(e) {
335
+ var i = this;
336
+ C(function() {
337
+ var n, o;
338
+ if (i._throwIfClosed(), !i.isStopped) {
339
+ i.currentObservers || (i.currentObservers = Array.from(i.observers));
340
+ try {
341
+ for (var s = j(i.currentObservers), u = s.next(); !u.done; u = s.next()) {
342
+ var c = u.value;
343
+ c.next(e);
344
+ }
345
+ } catch (l) {
346
+ n = { error: l };
347
+ } finally {
348
+ try {
349
+ u && !u.done && (o = s.return) && o.call(s);
350
+ } finally {
351
+ if (n)
352
+ throw n.error;
353
+ }
354
+ }
355
+ }
356
+ });
357
+ }, t.prototype.error = function(e) {
358
+ var i = this;
359
+ C(function() {
360
+ if (i._throwIfClosed(), !i.isStopped) {
361
+ i.hasError = i.isStopped = !0, i.thrownError = e;
362
+ for (var n = i.observers; n.length; )
363
+ n.shift().error(e);
364
+ }
365
+ });
366
+ }, t.prototype.complete = function() {
367
+ var e = this;
368
+ C(function() {
369
+ if (e._throwIfClosed(), !e.isStopped) {
370
+ e.isStopped = !0;
371
+ for (var i = e.observers; i.length; )
372
+ i.shift().complete();
373
+ }
374
+ });
375
+ }, t.prototype.unsubscribe = function() {
376
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
377
+ }, Object.defineProperty(t.prototype, "observed", {
378
+ get: function() {
379
+ var e;
380
+ return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
381
+ },
382
+ enumerable: !1,
383
+ configurable: !0
384
+ }), t.prototype._trySubscribe = function(e) {
385
+ return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
386
+ }, t.prototype._subscribe = function(e) {
387
+ return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
388
+ }, t.prototype._innerSubscribe = function(e) {
389
+ var i = this, n = this, o = n.hasError, s = n.isStopped, u = n.observers;
390
+ return o || s ? N : (this.currentObservers = null, u.push(e), new O(function() {
391
+ i.currentObservers = null, I(u, e);
392
+ }));
393
+ }, t.prototype._checkFinalizedStatuses = function(e) {
394
+ var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
395
+ n ? e.error(o) : s && e.complete();
396
+ }, t.prototype.asObservable = function() {
397
+ var e = new H();
398
+ return e.source = this, e;
399
+ }, t.create = function(e, i) {
400
+ return new F(e, i);
401
+ }, t;
402
+ }(H), F = function(r) {
403
+ g(t, r);
404
+ function t(e, i) {
405
+ var n = r.call(this) || this;
406
+ return n.destination = e, n.source = i, n;
407
+ }
408
+ return t.prototype.next = function(e) {
409
+ var i, n;
410
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, e);
411
+ }, t.prototype.error = function(e) {
412
+ var i, n;
413
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, e);
414
+ }, t.prototype.complete = function() {
415
+ var e, i;
416
+ (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
417
+ }, t.prototype._subscribe = function(e) {
418
+ var i, n;
419
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : N;
420
+ }, t;
421
+ }(te), re = {
422
+ now: function() {
423
+ return (re.delegate || Date).now();
424
+ },
425
+ delegate: void 0
426
+ }, Oe = function(r) {
427
+ g(t, r);
428
+ function t(e, i, n) {
429
+ e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = re);
430
+ var o = r.call(this) || this;
431
+ return o._bufferSize = e, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, i), o;
432
+ }
433
+ return t.prototype.next = function(e) {
434
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, u = i._timestampProvider, c = i._windowTime;
435
+ n || (o.push(e), !s && o.push(u.now() + c)), this._trimBuffer(), r.prototype.next.call(this, e);
436
+ }, t.prototype._subscribe = function(e) {
437
+ this._throwIfClosed(), this._trimBuffer();
438
+ for (var i = this._innerSubscribe(e), n = this, o = n._infiniteTimeWindow, s = n._buffer, u = s.slice(), c = 0; c < u.length && !e.closed; c += o ? 1 : 2)
439
+ e.next(u[c]);
440
+ return this._checkFinalizedStatuses(e), i;
441
+ }, t.prototype._trimBuffer = function() {
442
+ var e = this, i = e._bufferSize, n = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, u = (s ? 1 : 2) * i;
443
+ if (i < 1 / 0 && u < o.length && o.splice(0, o.length - u), !s) {
444
+ for (var c = n.now(), l = 0, a = 1; a < o.length && o[a] <= c; a += 2)
445
+ l = a;
446
+ l && o.splice(0, l + 1);
447
+ }
448
+ }, t;
449
+ }(te);
450
+ const Y = [], q = {}, Pe = (r, t = 0) => {
451
+ if (Y.indexOf(r) == -1) {
452
+ const e = new Oe(t);
453
+ q[r] = e, Y.push(r);
454
+ }
455
+ return q[r];
456
+ };
457
+ window.emWidgets = { topic: Pe };
458
+ const Z = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
459
+ function Te(r) {
460
+ le(r, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
461
+ }
462
+ function G(r) {
463
+ let t, e, i, n, o, s, u, c = !/*desktopView*/
464
+ r[2] && J(r), l = (
465
+ /*desktopView*/
466
+ r[2] && K(r)
467
+ );
468
+ return {
469
+ c() {
470
+ t = _("div"), c && c.c(), e = A(), i = _("div"), l && l.c(), n = A(), o = _("video"), s = _("source"), U(s.src, u = /*videosrc*/
471
+ r[0]) || f(s, "src", u), o.autoplay = !0, o.controls = !0, f(o, "controlslist", "nodownload"), f(o, "disablepictureinpicture", ""), f(i, "class", "CashierVideo"), f(t, "class", "CashierVideoWrapper"), B(
472
+ t,
473
+ "CashierVideoWrapperDesktop",
474
+ /*desktopView*/
475
+ r[2]
476
+ );
477
+ },
478
+ m(a, d) {
479
+ L(a, t, d), c && c.m(t, null), m(t, e), m(t, i), l && l.m(i, null), m(i, n), m(i, o), m(o, s), r[11](t);
480
+ },
481
+ p(a, d) {
482
+ /*desktopView*/
483
+ a[2] ? c && (c.d(1), c = null) : c ? c.p(a, d) : (c = J(a), c.c(), c.m(t, e)), /*desktopView*/
484
+ a[2] ? l ? l.p(a, d) : (l = K(a), l.c(), l.m(i, n)) : l && (l.d(1), l = null), d & /*videosrc*/
485
+ 1 && !U(s.src, u = /*videosrc*/
486
+ a[0]) && f(s, "src", u), d & /*desktopView*/
487
+ 4 && B(
488
+ t,
489
+ "CashierVideoWrapperDesktop",
490
+ /*desktopView*/
491
+ a[2]
492
+ );
493
+ },
494
+ d(a) {
495
+ a && k(t), c && c.d(), l && l.d(), r[11](null);
496
+ }
497
+ };
498
+ }
499
+ function J(r) {
500
+ let t, e, i, n, o;
501
+ return {
502
+ c() {
503
+ t = _("div"), e = x("svg"), i = x("path"), f(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), f(i, "fill", "#111111"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "width", "13"), f(e, "height", "13"), f(e, "viewBox", "0 0 13 13"), f(e, "fill", "none"), f(t, "class", "CashierVideoHeader");
504
+ },
505
+ m(s, u) {
506
+ L(s, t, u), m(t, e), m(e, i), n || (o = Q(
507
+ e,
508
+ "click",
509
+ /*click_handler*/
510
+ r[9]
511
+ ), n = !0);
512
+ },
513
+ p: E,
514
+ d(s) {
515
+ s && k(t), n = !1, o();
516
+ }
517
+ };
518
+ }
519
+ function K(r) {
520
+ let t, e, i, n;
521
+ return {
522
+ c() {
523
+ t = x("svg"), e = x("path"), f(e, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), f(e, "fill", "#111111"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(t, "width", "13"), f(t, "height", "13"), f(t, "viewBox", "0 0 13 13"), f(t, "fill", "none");
524
+ },
525
+ m(o, s) {
526
+ L(o, t, s), m(t, e), i || (n = Q(
527
+ t,
528
+ "click",
529
+ /*click_handler_1*/
530
+ r[10]
531
+ ), i = !0);
532
+ },
533
+ p: E,
534
+ d(o) {
535
+ o && k(t), i = !1, n();
536
+ }
537
+ };
538
+ }
539
+ function je(r) {
540
+ let t, e = (
541
+ /*show*/
542
+ r[3] && G(r)
543
+ );
544
+ return {
545
+ c() {
546
+ e && e.c(), t = ae();
547
+ },
548
+ m(i, n) {
549
+ e && e.m(i, n), L(i, t, n);
550
+ },
551
+ p(i, [n]) {
552
+ /*show*/
553
+ i[3] ? e ? e.p(i, n) : (e = G(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
554
+ },
555
+ i: E,
556
+ o: E,
557
+ d(i) {
558
+ i && k(t), e && e.d(i);
559
+ }
560
+ };
561
+ }
562
+ function Me(r, t, e) {
563
+ let { clientstyling: i = "" } = t, { clientstylingurl: n = "" } = t, { ismobileview: o } = t, { videosrc: s } = t, { mbsource: u = "" } = t, c = window.navigator.userAgent, l = !0, a = !1, d;
564
+ const b = () => {
565
+ e(3, a = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
566
+ }, y = (h) => {
567
+ h.data.type == "ShowCashierVideoModal" && (e(3, a = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), h.data.type == "HideCashierVideoModal" && b();
568
+ }, P = () => {
569
+ e(2, l = !Z(c));
570
+ };
571
+ fe(() => (window.addEventListener("message", y, !1), () => {
572
+ window.removeEventListener("message", y);
573
+ }));
574
+ const p = () => b(), ie = () => b();
575
+ function ne(h) {
576
+ de[h ? "unshift" : "push"](() => {
577
+ d = h, e(1, d);
578
+ });
579
+ }
580
+ return r.$$set = (h) => {
581
+ "clientstyling" in h && e(5, i = h.clientstyling), "clientstylingurl" in h && e(6, n = h.clientstylingurl), "ismobileview" in h && e(7, o = h.ismobileview), "videosrc" in h && e(0, s = h.videosrc), "mbsource" in h && e(8, u = h.mbsource);
582
+ }, r.$$.update = () => {
583
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
584
+ 34 && i && d && he(d, i), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
585
+ 66 && n && d && pe(d, n), r.$$.dirty & /*mbsource, customStylingContainer*/
586
+ 258 && u && d && be(d, `${u}.Style`);
587
+ }, Z(c) && P(), [
588
+ s,
589
+ d,
590
+ l,
591
+ a,
592
+ b,
593
+ i,
594
+ n,
595
+ o,
596
+ u,
597
+ p,
598
+ ie,
599
+ ne
600
+ ];
601
+ }
602
+ class Ve extends oe {
603
+ constructor(t) {
604
+ super(), se(
605
+ this,
606
+ t,
607
+ Me,
608
+ je,
609
+ ce,
610
+ {
611
+ clientstyling: 5,
612
+ clientstylingurl: 6,
613
+ ismobileview: 7,
614
+ videosrc: 0,
615
+ mbsource: 8
616
+ },
617
+ Te
618
+ );
619
+ }
620
+ get clientstyling() {
621
+ return this.$$.ctx[5];
622
+ }
623
+ set clientstyling(t) {
624
+ this.$$set({ clientstyling: t }), w();
625
+ }
626
+ get clientstylingurl() {
627
+ return this.$$.ctx[6];
628
+ }
629
+ set clientstylingurl(t) {
630
+ this.$$set({ clientstylingurl: t }), w();
631
+ }
632
+ get ismobileview() {
633
+ return this.$$.ctx[7];
634
+ }
635
+ set ismobileview(t) {
636
+ this.$$set({ ismobileview: t }), w();
637
+ }
638
+ get videosrc() {
639
+ return this.$$.ctx[0];
640
+ }
641
+ set videosrc(t) {
642
+ this.$$set({ videosrc: t }), w();
643
+ }
644
+ get mbsource() {
645
+ return this.$$.ctx[8];
646
+ }
647
+ set mbsource(t) {
648
+ this.$$set({ mbsource: t }), w();
649
+ }
650
+ }
651
+ ue(Ve, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
652
+ export {
653
+ Ve as default
654
+ };