text: var $jscomp = {
  	scope: {},
  	findInternal: function(a, c, b) {
  		a instanceof String && (a = String(a));
  		for (var e = a.length, d = 0; d < e; d++) {
  			var g = a[d];
  			if (c.call(b, g, d, a)) return { i: d, v: g };
  		}
  		return { i: -1, v: void 0 };
  	}
  };
  $jscomp.defineProperty =
  	"function" == typeof Object.defineProperties
  		? Object.defineProperty
  		: function(a, c, b) {
  				if (b.get || b.set)
  					throw new TypeError("ES3 does not support getters and setters.");
  				a != Array.prototype && a != Object.prototype && (a[c] = b.value);
  		  };
  $jscomp.getGlobal = function(a) {
  	return "undefined" != typeof window && window === a
  		? a
  		: "undefined" != typeof global && null != global
  		? global
  		: a;
  };
  $jscomp.global = $jscomp.getGlobal(this);
  $jscomp.polyfill = function(a, c, b, e) {
  	if (c) {
  		b = $jscomp.global;
  		a = a.split(".");
  		for (e = 0; e < a.length - 1; e++) {
  			var d = a[e];
  			d in b || (b[d] = {});
  			b = b[d];
  		}
  		a = a[a.length - 1];
  		e = b[a];
  		c = c(e);
  		c != e &&
  			null != c &&
  			$jscomp.defineProperty(b, a, {
  				configurable: !0,
  				writable: !0,
  				value: c
  			});
  	}
  };
  $jscomp.polyfill(
  	"Array.prototype.find",
  	function(a) {
  		return a
  			? a
  			: function(a, b) {
  					return $jscomp.findInternal(this, a, b).v;
  			  };
  	},
  	"es6-impl",
  	"es3"
  );
  jQuery.fn.extend({
  	initDropdown: function(a) {
  		return this.each(function() {
  			var c = $(this),
  				b = a ? a : c.find(".drop");
  			c.click(function(a) {
  				c.toggleClass("active");
  				b.is(":visible") ? b.slideUp(200) : b.slideDown(200);
  				a.stopPropagation();
  			});
  			c.find(".drop li").click(function(a) {
  				this.innerText && c.find(".active").text(this.innerText);
  				c.removeClass("active");
  				b.hide();
  				a.stopPropagation();
  			});
  		});
  	},
  	animTextUpdate: function(a) {
  		this.attr("origColor") || this.attr("origColor", this.css("color"));
  		this.css({ color: a })
  			.stop()
  			.animate({ color: this.attr("origColor") }, 1e3, "swing");
  		return this;
  	}
  });
  var API = {
  		call: function(a, c, b, e) {
  			return $.ajax({
  				url: "/API/" + a + "/" + c + "/v" + b,
  				data: JSON.stringify(e),
  				type: "POST",
  				processData: !1,
  				contentType: "application/json",
  				statusCode: {
  					429: function(a) {
  						toastr.error("Too many requests");
  					}
  				}
  			});
  		}
  	},
  	Currency = {};
  "undefined" === typeof setCurrency
  	? ((Currency.rate = 1), (Currency.symbol = "$"))
  	: ((Currency.rate = setCurrency[1]), (Currency.symbol = setCurrency[0]));
  var TradesHandler = (function() {
  		var a = [],
  			c = [];
  		return {
  			getActiveCount: function() {
  				return a.length;
  			},
  			getActiveData: function() {
  				return a;
  			},
  			setTradeStatus: function(b, e, c, g) {
  				var d = "tradeOffer_" + b;
  				g && (d = "steam_" + d);
  				d = Elements.OfferListContent.find("." + d);
  				d.addClass("inactive");
  				var l = d.find(".buttonsArea");
  				l.hide();
  				d = 0 == e ? "statusUpdateAccepted" : "statusUpdateCanceled";
  				c
  					? 0 == e
  						? toastr.success(c)
  						: toastr.error(c)
  					: (c = [
  							"Accepted",
  							"Canceled",
  							"Declined",
  							"Invalid items",
  							"Send failed"
  					  ][e]);
  				$("<div class='statusUpdate " + d + "'>" + c + "</div>").insertAfter(l);
  				$.each(a, function(c, e) {
  					if (!!e.isSteamTrade == !!g && b == e.id) return a.splice(c, 1), !1;
  				});
  				TradesHandler.invokeCallbacks();
  			},
  			registerAllActiveTrades: function(b) {
  				"object" !== typeof b && (b = []);
  				a = b;
  				TradesHandler.invokeCallbacks();
  			},
  			invokeCallbacks: function() {
  				$.each(c, function(b, c) {
  					c(a);
  				});
  			},
  			updateActive: function(a) {
  				WS.call("getActiveTrades").then(function(b) {
  					TradesHandler.registerAllActiveTrades(b);
  					"function" === typeof a && a();
  				});
  			},
  			registerNewTradeCallback: function(a) {
  				c.push(a);
  			},
  			openTradesWindow: function(b, c) {
  				function e(a, b) {
  					$.ajax({ url: "/ajax/tradeAction", data: { id: a, action: b } }).done(
  						function(a) {
  							a.success
  								? a.response
  									? TradesHandler.registerAllActiveTrades(a.response)
  									: TradesHandler.registerAllActiveTrades([])
  								: toastr.error(a.error);
  						}
  					);
  				}
  				"undefined" !== typeof b && null !== b
  					? TradesHandler.registerAllActiveTrades(b)
  					: (b = a);
  				Elements.OfferListContent.html(
  					(function(a) {
  						var b = "";
  						(a && a.length) ||
  							c ||
  							(b +=
  								"<div><div class='result bg_block'>No active trade offers</div></div>");
  						c &&
  							(b +=
  								"<div><div class='result bg_block generatingTrade'>The new trade is being created<div class='loader-h loader-sm'></div></div></div>");
  						if (!a || !a.length) return b;
  						var e = function(a, b) {
  							var c = "",
  								f = b
  									? "<i class='fa fa-steam'></i>"
  									: "<i class='fa fa-home'></i>";
  							$.each(a, function(a, b) {
  								c +=
  									"<div class='offerListOfferItem tooltip' title='" +
  									b.marketName +
  									"'><div class='pic'><img src='/steamItems/" +
  									b.img +
  									"'></div>";
  								1 < b.amount &&
  									(c += "<span class='amount'>x" + b.amount + "</span>");
  								c += "<span class='locationIcon'>" + f + "</span>";
  								c += "</div>";
  							});
  							return c;
  						};
  						a.sort(function(a, b) {
  							return a.time - b.time;
  						});
  						for (var d, r = 0; r < a.length; r++) {
  							var f = a[r],
  								k = "";
  							d = f.receiveItems || f.steamReceiveItems;
  							var v = f.giveItems || f.steamGiveItems;
  							if (d || v)
  								(d =
  									d && v
  										? "fa-exchange"
  										: d
  										? "fa-long-arrow-left"
  										: "fa-long-arrow-right"),
  									(k += "<h3><span>Items</span></h3>"),
  									f.receiveItems &&
  										f.steamGiveItems &&
  										(k += "<div class='subTitle'>Items with icon {icon} will be sent after the Steam trade is complete. They are on different bots or trade locked and can't be sent in a single trade offer.</div>".replace(
  											"{icon}",
  											"<i class='fa fa-home'></i>"
  										)),
  									(k +=
  										"<div class='row no-gutters'><div class='col'>" +
  										e(f.steamGiveItems, !0) +
  										e(f.giveItems) +
  										"</div><div class='col col-auto'><i class='fa " +
  										d +
  										"'></i></div><div class='col'>" +
  										e(f.steamReceiveItems, !0) +
  										e(f.receiveItems) +
  										"</div></div>");
  							if (f.giveTradeBotBalance || f.receiveTradeBotBalance)
  								(k += "<h3><span>Trade bot balance</span></h3>"),
  									f.giveTradeBotBalance &&
  										(k +=
  											"<div class='tradeBotBalanceTxt redtxt'>-$" +
  											f.giveTradeBotBalance +
  											"</div>"),
  									f.receiveTradeBotBalance &&
  										((d =
  											f.receiveTradeBotBalanceAfterTime &&
  											0 < f.receiveTradeBotBalanceAfterTime
  												? " <span class='receiveTradeBotBalanceAfterTime'>Received after " +
  												  secondsToTxt(
  														f.receiveTradeBotBalanceAfterTime,
  														0,
  														2
  												  ) +
  												  "</span>"
  												: ""),
  										(k +=
  											"<div class='tradeBotBalanceTxt greentxt'>+$" +
  											f.receiveTradeBotBalance +
  											d +
  											"</div>"));
  							k += "<hr><div class='buttonsArea'>";
  							k = f.isSteamTrade
  								? f.isInQueue
  									? k +
  									  "<div class='offerstatus orangetxt'>Waiting to be sent <img src='/images/design/spinner-sm.svg' class='spinner'></div>"
  									: f.mobileConfAccepted
  									? k +
  									  ("<div><a href='https://steamcommunity.com/tradeoffer/" +
  											f.steamOfferId +
  											"/' target='_blank' class='button green no3d round-md horizontal'>Open offer</a><a href='steam://url/ShowTradeOffer/" +
  											f.steamOfferId +
  											"' class='button green no3d round-md horizontal openoffersteam'>Open offer <i class='fa fa-steam'></i></a></div>")
  									: k +
  									  "<div class='offerstatus orangetxt'>Awaiting mobile confirmation <img src='/images/design/spinner-sm.svg' class='spinner'></div>"
  								: k +
  								  ("<div><button class='button red no3d round-md horizontal cancelButton' data-tradeid='" +
  										f.id +
  										"'>Decline</button><button class='button green no3d round-md horizontal openoffersteam acceptButton'>Accept</button></div>");
  							k += "</div>";
  							d = "tradeOffer_" + f.id;
  							f.isSteamTrade && (d = "steam_" + d);
  							b +=
  								"<div class='" +
  								d +
  								" tradeOffer' data-tradeid='" +
  								f.id +
  								"'><div class='bg_block'>" +
  								k +
  								"</div></div>";
  						}
  						return b;
  					})(b)
  				);
  				Elements.OfferListContent.find(".tooltip").tooltipster({ delay: 0 });
  				Elements.OfferListContent.find(".acceptButton").click(function() {
  					e(
  						$(this)
  							.parents(".tradeOffer")
  							.data("tradeid"),
  						"accept"
  					);
  				});
  				Elements.OfferListContent.find(".cancelButton").click(function() {
  					e(
  						$(this)
  							.parents(".tradeOffer")
  							.data("tradeid"),
  						"cancel"
  					);
  				});
  				$("#trade").arcticmodal();
  			}
  		};
  	})(),
  	g_ActiveOffersCount = 0,
  	g_activeTradesData = null;
  $.ajaxSetup({ method: "POST", cache: !1, dataType: "json" });
  var Elements = function() {},
  	Templates = function() {},
  	RemoteCommand = (function() {
  		var a = {};
  		return {
  			addHandler: function(c, b) {
  				"undefined" === typeof a[c] && (a[c] = []);
  				a[c].push(b);
  			},
  			handleMessage: function(c) {
  				"undefined" !== typeof a[c.id] &&
  					$.each(a[c.id], function(a, e) {
  						e(c);
  					});
  			}
  		};
  	})(),
  	windowHash = window.location.hash.substr(1);
  (function() {
  	var a = !1,
  		c = null,
  		b = !1,
  		e = null,
  		d =
  			"https:" == location.protocol
  				? "wss://" + window.location.hostname + ":8443"
  				: "ws://" + window.location.hostname + ":8080",
  		g = [];
  	window.subscribeWS = function(a, c) {
  		g.push({ topic: a, handler: c });
  		b && e.subscribe(a, c);
  	};
  	var m = function(a, b) {
  			switch (a) {
  				case g_sessionID:
  					switch (b.type) {
  						case "notify":
  							switch (b["class"]) {
  								case "error":
  									toastr.error(b.msg);
  									break;
  								case "success":
  									toastr.success(b.msg);
  							}
  							break;
  						case "balance":
  							b.balance = parseFloat(b.balance);
  							$("#userbalance")
  								.text(number_format(Currency.rate * b.balance, 4))
  								.parent()
  								.animTextUpdate(g_balance > b.balance ? "#fc4359" : "#3ed476");
  							g_balance = b.balance;
  							break;
  						case "offers":
  							g_ActiveOffersCount = g_activeTradesData = b;
  							TradesHandler.openTradesWindow(b.msg);
  							break;
  						case "tradeStatusChanged":
  							var c = 1;
  							switch (b.offerState) {
  								case 11:
  									c = 0;
  									break;
  								case 12:
  									c = 1;
  									break;
  								case 13:
  									c = 2;
  									break;
  								case 17:
  									c = 3;
  							}
  							TradesHandler.setTradeStatus(b.id, c, b.description, !1);
  							break;
  						case "steamOfferStatusChanged":
  							if (2 == b.offerState || 9 == b.offerState) break;
  							c = 1;
  							switch (b.offerState) {
  								case 3:
  									c = 0;
  									break;
  								case 6:
  									c = 1;
  									break;
  								case 7:
  									c = 2;
  									openScamAlert();
  									break;
  								case 8:
  									c = 3;
  							}
  							b.sendFailed && (c = 4);
  							TradesHandler.setTradeStatus(b.id, c, b.description, !0);
  							break;
  						case "steamOfferSendFailed":
  							b.msg
  								? toastr.warning(b.msg)
  								: toastr.warning(
  										"Sending the trade offer failed. Your inventory will be refreshed"
  								  );
  							$.arcticmodal("close");
  							1 == b.c
  								? $("#settings").arcticmodal()
  								: 2 == b.c &&
  								  "function" == typeof UpdateUserInventory &&
  								  UpdateUserInventory(!0);
  							break;
  						case "remoteCommand":
  							RemoteCommand.handleMessage(b);
  					}
  			}
  		},
  		l = function() {
  			console.log("Hello world");
  		};
  	g_steamID && subscribeWS(g_sessionID, m);
  	var q = (function() {
  		var a = {
  				1: "English",
  				2: "\u0420\u0443\u0441\u0441\u043a\u0438\u0439",
  				3: "\u4e2d\u6587"
  			},
  			b = "undefined" !== typeof chat_SetRoomId ? chat_SetRoomId : 1,
  			c = $(),
  			d = $(),
  			g = $(),
  			m = $(),
  			l = $(),
  			q = $(),
  			p = !1;
  		$(function() {
  			c = $("#chatfeedcontent");
  			d = $("#chatmsgtxt");
  			g = $("#sendchatmsg");
  			m = $("#chatchannelview");
  			l = $("#chatchannelsdrop");
  			q = $("#chatchannelname");
  			m.click(function() {
  				p ? l.slideUp(200) : l.slideDown(200);
  				p = !p;
  				m.toggleClass("active", p);
  			});
  			l.on("click", "li", function() {
  				l.slideUp(200);
  				p = !1;
  				m.toggleClass("active", p);
  				y($(this).data("id"));
  			});
  			d.keypress(function(a) {
  				13 == a.which && w(d.val());
  			});
  			g.click(function() {
  				w(d.val());
  			});
  			c.children().each(function() {
  				var a = $(this),
  					b = a.data("rank"),
  					c = "";
  				3 == b ? (c = "Website owner") : 2 == b && (c = "Moderator");
  				c && a.find(".name, .avatar").tooltipster({ delay: 0, content: c });
  			});
  			$("#chatrulesbtn").tooltipster({
  				content:
  					'<b class="text-highlight1">The following will get you silenced</b><br><br>Mentioning other websites<br>Begging<br>Not behaving<br>Spamming',
  				contentAsHTML: !0,
  				trigger: "custom",
  				delay: 0,
  				triggerOpen: { mouseenter: !0, touchstart: !0 },
  				triggerClose: { click: !0, scroll: !0, tap: !0, mouseleave: !0 }
  			});
  			if (g_IsMod)
  				c.on("contextmenu", ".feeditem", function(a) {
  					var b = $(this),
  						d = b.data("id");
  					if (d) {
  						a.preventDefault();
  						a.stopPropagation();
  						var e = $("<div class='contextmenu'>"),
  							h,
  							f = function() {
  								c.unbind("click", g);
  								c.unbind("contextmenu", g);
  								b.parent().unbind("scroll", k);
  							},
  							g = function(a) {
  								e.is(a.target) ||
  									0 !== e.has(a.target).length ||
  									(a.stopPropagation(), e.remove(), f());
  							},
  							k = function(a) {
  								e.remove();
  								f();
  							};
  						h = $(
  							"<a href='javascript://'><span class='fa fa-times'></span>Remove message</a>"
  						);
  						h.click(function() {
  							z(d);
  						});
  						e.append(h);
  						h = $(
  							"<a href='javascript://'><span class='fa fa-ban'></span>Silence 1 min</a>"
  						);
  						h.click(function() {
  							u(d, 60, "Silenced by a moderator");
  						});
  						e.append(h);
  						h = $(
  							"<a href='javascript://'><span class='fa fa-ban'></span>Silence 10 min</a>"
  						);
  						h.click(function() {
  							u(d, 600, "Silenced by a moderator");
  						});
  						e.append(h);
  						h = $(
  							"<a href='javascript://'><span class='fa fa-ban'></span>Silence 1 day</a>"
  						);
  						h.click(function() {
  							u(d, 86400, "Silenced by a moderator");
  						});
  						e.append(h);
  						$("body").append(e);
  						$(document).click(g);
  						$(document).on("contextmenu", g);
  						b.parent().scroll(k);
  						h =
  							a.pageY + e.height() + 5 > $(window).height()
  								? a.pageY - 5 - e.height()
  								: a.pageY + 5;
  						a =
  							a.pageX + e.width() + 5 > $(window).width()
  								? a.pageX - 5 - e.width()
  								: a.pageX + 5;
  						e.css({ top: h, left: a });
  					}
  				});
  		});
  		var t = 1 == c.children().length % 2,
  			y = function(d) {
  				b != d &&
  					(Cookies.set("chatRoomId", d, { domain: ".cs.deals", expires: 7 }),
  					q.text(a[d]),
  					(b = d),
  					c.empty(),
  					e.call("getChatMessages", d).then(function(a) {
  						for (var b = a.length - 1; 0 <= b; b--) n(a[b], 4 == a[b].rank, !0);
  					}),
  					x());
  			},
  			n = function(a, d, e) {
  				var f = 0;
  				if ("object" === typeof a) {
  					if (0 != a.roomid && a.roomid != b) return;
  					d && ((f = a.id), (a = a.msg));
  				}
  				if (d)
  					(h = $(
  						'<div class="feeditem"><div class="feeditemcontent"><span class="text sysmsg"></span></div></div>'
  					)),
  						(a = { msg: a });
  				else {
  					var g = '<div class="feeditem" data-id="{id}"><div class="feeditemcontent row no-gutters"><div class="col col-auto"><img src="{avatar}" class="avatar" alt="avatar"></div><div class="col info"><div class="name"><span class="namecont rank{rank}"></span><span class="level"><span class="gradTxt1">Lvl {level}</span></span></div><span class="text"></span></div></div></div>'
  							.replace("{value}", a.value)
  							.replace("{id}", a.id)
  							.replace("{avatar}", a.avatar)
  							.replace("{rank}", a.rank)
  							.replace("{level}", a.level),
  						h = $(g),
  						g = "";
  					3 == a.rank
  						? (g = "Website owner")
  						: 2 == a.rank && (g = "Moderator");
  					g && h.find(".name, .avatar").tooltipster({ delay: 0, content: g });
  					h.find(".namecont").text(a.personaname);
  				}
  				g = h.find(".text");
  				g.text(a.msg);
  				d &&
  					(g.html(g.html().replace(/\n/g, "<br>")), f && h.attr("data-id", f));
  				f = function() {
  					t && h.addClass("light");
  					t = !t;
  					c.append(h);
  					if (!e) {
  						var a = $("<div>").addClass("greenoverlay");
  						h.append(a);
  						a.fadeOut();
  					}
  					a = c.children();
  					100 < a.length && a[0].remove();
  					"undefined" !== typeof c[0] && c.scrollTop(c[0].scrollHeight);
  				};
  				d || e
  					? f()
  					: $("<img>")
  							.attr("src", a.avatar)
  							.load(f);
  			},
  			x = function() {
  				"undefined" === typeof this.tooltipinitialized &&
  					(this.tooltipinitialized = !1);
  				var a = null;
  				g_steamID || (a = "You must be logged in to chat");
  				a
  					? (this.tooltipinitialized
  							? (d.tooltipster("content", a), d.tooltipster("enable"))
  							: ((this.tooltipinitialized = !0),
  							  d.tooltipster({
  									content: a,
  									trigger: "custom",
  									delay: 0,
  									triggerOpen: { mouseenter: !0, touchstart: !0 },
  									triggerClose: {
  										click: !0,
  										scroll: !0,
  										tap: !0,
  										mouseleave: !0
  									}
  							  })),
  					  d.focusin(function(a) {
  							a.preventDefault();
  							d.blur();
  					  }))
  					: (d.off("focusin"),
  					  this.tooltipinitialized && d.tooltipster("disable"));
  			};
  		x();
  		var w = function(a) {
  			2 > a.length ||
  				(e.sessionid()
  					? (d.val(""),
  					  e.call("sendChatMsg", a, b).then(function(a) {
  							a && n(a, !0);
  					  }))
  					: n("Not connected to server", !0));
  		};
  		if (g_IsMod)
  			var z = function(a) {
  					e.call("chatremove", a).then(function(a) {
  						a && n(a, !0);
  					});
  				},
  				u = function(a, b, c) {
  					e.call("chatban", a, b, c).then(function(a) {
  						a ? n(a, !0) : n("User silenced", !0);
  					});
  				};
  		return {
  			NewMsg: n,
  			RemoveMsg: function(a) {
  				c.find("[data-id='" + a + "']").remove();
  			}
  		};
  	})();
  	$(function() {
  		Elements.WaitOfferContent = $("#waitoffer");
  		Elements.OfferListContent = $("#offerlistcontent");
  		Elements.MainMenu = $("#mainmenu");
  		$(".box-modal .close").click(function() {
  			$(this)
  				.closest(".box-modal")
  				.arcticmodal("close");
  		});
  		$("#mainmenubtn").click(function() {
  			Elements.MainMenu.toggle();
  			$(this).toggleClass("active", Elements.MainMenu.is(":visible"));
  		});
  		var a = $("#languageDropdownButton").find(".curlang"),
  			b = $("#languageDropdownList");
  		a.initDropdown(b);
  		g_steamID &&
  			((a = $(".profilecontainer")),
  			(b = a.find(".drop")),
  			(a = a.find(".profileinfo")),
  			a.initDropdown(b),
  			b.find("li").click(function() {
  				a.click();
  			}),
  			$(function() {
  				var a = $("#save-trade-link-input");
  				a.keypress(function(a) {
  					13 == a.which &&
  						$(this)
  							.next()
  							.click();
  				}).on("paste", function() {
  					var a = $(this);
  					setTimeout(function() {
  						a.next().click();
  					}, 0);
  				});
  				$("#save-trade-link-input-btns").click(function() {
  					$.ajax({ url: "/ajax/tradelink", data: { l: a.val() } }).done(
  						function(a) {
  							a.success
  								? (toastr.success("Trade link was saved!"),
  								  $.arcticmodal("close"))
  								: toastr.error(a.error);
  						}
  					);
  					return !1;
  				});
  			}));
  		window.getconncount = function() {
  			var a = window.performance.now();
  			e.call("connectioncount").then(function(b) {
  				console.log("Connections: " + b);
  				console.log("Ping: " + ((window.performance.now() - a) / 2).toFixed(1));
  			});
  		};
  		$(".tooltip").tooltipster({ delay: 0 });
  		l();
  	});
  })();
  function number_format(a, c, b, e) {
  	a = (a + "").replace(/[^0-9+\-Ee.]/g, "");
  	a = isFinite(+a) ? +a : 0;
  	c = isFinite(+c) ? Math.abs(c) : 0;
  	e = "undefined" === typeof e ? "," : e;
  	b = "undefined" === typeof b ? "." : b;
  	var d = "",
  		d = function(a, b) {
  			var c = Math.pow(10, b);
  			return "" + (Math.round(a * c) / c).toFixed(b);
  		},
  		d = (c ? d(a, c) : "" + Math.round(a)).split(".");
  	3 < d[0].length && (d[0] = d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, e));
  	(d[1] || "").length < c &&
  		((d[1] = d[1] || ""), (d[1] += Array(c - d[1].length + 1).join("0")));
  	return d.join(b);
  }
  function gtag_report_conversion(a, c, b) {
  	if ("undefined" === typeof gtag) return !1;
  	a = { send_to: "AW-" + google_conversion_id + "/" + a };
  	"string" == typeof b &&
  		(a.event_callback = function() {
  			window.location = b;
  		});
  	if ("object" === typeof c) for (var e in c) a[e] = c[e];
  	gtag("event", "conversion", a);
  	return !1;
  }
  function openScamAlert() {
  	$("#scamAlert").arcticmodal();
  	var a = document.createElement("audio");
  	a.setAttribute("src", "/assets/audio/scamAlert.wav");
  	if (
  		document.hidden ||
  		document.msHidden ||
  		document.webkitHidden ||
  		document.mozHidden
  	) {
  		var c = function() {
  			this.play();
  		};
  		a.addEventListener("ended", c, !1);
  		var b = setInterval(function() {
  			document.hidden ||
  				document.msHidden ||
  				document.webkitHidden ||
  				document.mozHidden ||
  				(a.removeEventListener("ended", c), clearInterval(b), a.pause());
  		}, 1e3);
  	}
  	a.play();
  }
  function replaceAll(a, c, b) {
  	return "string" != typeof b && "number" != typeof b
  		? a
  		: a.replace(
  				new RegExp(c.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1"), "g"),
  				b
  		  );
  }
  function secondsToTxt(a, c, b) {
  	b || (b = 4);
  	var e = [],
  		d = Math.floor(a / 86400);
  	a -= 86400 * d;
  	var g = Math.floor(a / 3600);
  	a -= 3600 * g;
  	var m = Math.floor(a / 60);
  	a -= 60 * m;
  	d && (e.push(d + " " + (1 != d ? "days" : "day")), b--);
  	if (3 == c || !b) return e;
  	if (d || g) e.push(g + " " + (1 != g ? "hours" : "hour")), b--;
  	if (2 == c || !b) return e.join(", ");
  	if (d || g || m) e.push(m + " " + (1 != g ? "minutes" : "minute")), b--;
  	if (1 == c || !b) return e.join(", ");
  	e.push(a + " " + (1 != g ? "seconds" : "second"));
  	return e.join(", ");
  }
  function pushHistoryStatePath(a) {
  	window.location.pathname !== a && window.history.pushState("", "", a);
  }
  function getCurrencyText(a, c, b, e, d) {
  	e || (e = 0);
  	d = d ? 1 : Currency.rate;
  	b = b && 3 <= Currency.symbol.length ? "" : Currency.symbol;
  	return (
  		(c && 50 <= Currency.rate
  			? number_format(a * d, e)
  			: number_format(a * d, 2 + e)) + b
  	);
  }
  