PageSourceSearch

https://mrcable.ru/bitrix/js/currency/core_currency.js?17503192691181

js mrcable.ru collected 2026-10-05 07:16:16 UTC 1,181 bytes, 64 lines download raw bytes

1;(function(window) {
2
3if (!window.BX)
4{
5	window.BX = {};
6}
7
8const BX = window.BX;
9
10BX.namespace('BX.Currency');
11
12if (!BX.Currency.Core || BX.Currency.instance instanceof BX.Currency.Core)
13{
14	return;
15}
16
17BX.Currency.instance = new BX.Currency.Core();
18
19BX.mergeEx(
20	BX.Currency,
21	{
22		setCurrencyFormat: function(currency, format, replace)
23		{
24			return BX.Currency.Core.setCurrencyFormat(currency, format, replace);
25		},
26
27		setCurrencies: function(currencies, replace)
28		{
29			return BX.Currency.Core.setCurrencies(currencies, replace);
30		},
31
32		getCurrencyFormat: function(currency)
33		{
34			return BX.Currency.Core.getCurrencyFormat(currency);
35		},
36
37		getCurrencyIndex: function(currency)
38		{
39			return BX.Currency.Core.getCurrencyIndex(currency);
40		},
41
42		clearCurrency: function(currency)
43		{
44			return BX.Currency.Core.clearCurrency(currency);
45		},
46
47		clean: function()
48		{
49			return BX.Currency.Core.clean();
50		},
51
52		currencyFormat: function (price, currency, useTemplate)
53		{
54			return BX.Currency.Core.currencyFormat(price, currency, useTemplate);
55		},
56
57		loadCurrencyFormat: function (currency)
58		{
59			return BX.Currency.Core.loadCurrencyFormat(currency);
60		}
61	},
62);
63
64})(window);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.