PageSourceSearch

https://petfood.ru/bitrix/cache/js/s2/aspro_max_copy/page_e63ab85d…51563d6d18f32af7dfce71_v1.js?17900754221897

js petfood.ru collected 2026-10-08 06:36:10 UTC 1,897 bytes, 76 lines download raw bytes

1
2; /* Start:"a:4:{s:4:"full";s:85:"/bitrix/components/bitrix/map.yandex.view/templates/.default/script.js?15930890851540";s:6:"source";s:70:"/bitrix/components/bitrix/map.yandex.view/templates/.default/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
3if (!window.BX_YMapAddPlacemark)
4{
5	window.BX_YMapAddPlacemark = function(map, arPlacemark)
6	{
7		if (null == map)
8			return false;
9
10		if(!arPlacemark.LAT || !arPlacemark.LON)
11			return false;
12
13		var props = {};
14		if (null != arPlacemark.TEXT && arPlacemark.TEXT.length > 0)
15		{
16			var value_view = '';
17
18			if (arPlacemark.TEXT.length > 0)
19			{
20				var rnpos = arPlacemark.TEXT.indexOf("\n");
21				value_view = rnpos <= 0 ? arPlacemark.TEXT : arPlacemark.TEXT.substring(0, rnpos);
22			}
23
24			props.balloonContent = arPlacemark.TEXT.replace(/\n/g, '<br />');
25			props.hintContent = value_view;
26		}
27
28		var obPlacemark = new ymaps.Placemark(
29			[arPlacemark.LAT, arPlacemark.LON],
30			props,
31			{balloonCloseButton: true}
32		);
33
34		map.geoObjects.add(obPlacemark);
35
36		return obPlacemark;
37	}
38}
39
40if (!window.BX_YMapAddPolyline)
41{
42	window.BX_YMapAddPolyline = function(map, arPolyline)
43	{
44		if (null == map)
45			return false;
46
47		if (null != arPolyline.POINTS && arPolyline.POINTS.length > 1)
48		{
49			var arPoints = [];
50			for (var i = 0, len = arPolyline.POINTS.length; i < len; i++)
51			{
52				arPoints.push([arPolyline.POINTS[i].LAT, arPolyline.POINTS[i].LON]);
53			}
54		}
55		else
56		{
57			return false;
58		}
59
60		var obParams = {clickable: true};
61		if (null != arPolyline.STYLE)
62		{
63			obParams.strokeColor = arPolyline.STYLE.strokeColor;
64			obParams.strokeWidth = arPolyline.STYLE.strokeWidth;
65		}
66		var obPolyline = new ymaps.Polyline(
67			arPoints, {balloonContent: arPolyline.TITLE}, obParams
68		);
69
70		map.geoObjects.add(obPolyline);
71
72		return obPolyline;
73	}
74}
75/* End */
76;; /* /bitrix/components/bitrix/map.yandex.view/templates/.default/script.js?15930890851540*/

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.