<div id="cd_pricechecker">
	<div id="cd_receipt" {{!@GET.adv?'style="height: 100%;"':''}}>
		<div id="cd_logo">
			<img src="/ui/css/img/logo.svg">
		</div>
		<div id="product_info">
			<p>
				Отсканируйте штрих-код товара, чтобы узнать информацию о нем
			</p>
			<p id="product_info_txt"></p>
			<form id="pricecheker_form" action="/products/barcode" method="GET">
				<input type="text" name="barcode" autocomplete="off">
			</form>
		</div>
	</div>
	<div id="product_img">
		
	</div>
	<check if="{{@GET.adv==1}}">
	<div id="cd_advs">
		<div id="advs_cd" href="{{@URI}}">
			<div class="reload">
				<ul id="advs_list" style="display: none;">
					<repeat group="{{@advs}}" key="{{@n}}" value="{{@a}}">
					<li class="adv_{{@n}}">{{@a}}</li>
					</repeat>
				</ul>
			</div>
		</div>
	</div>
	</check>
</div>
<script type="text/javascript">
var pricechecker_speek={{@pricechecker_settings.pricechecker_speek?@pricechecker_settings.pricechecker_speek:0}};
var pricechecker_voice="{{@pricechecker_settings.pricechecker_voice?@pricechecker_settings.pricechecker_voice:'Google русский'}}";
var pricechecker_volume={{@pricechecker_settings.pricechecker_volume?@pricechecker_settings.pricechecker_volume/100:1}};
var pricechecker_rate={{@pricechecker_settings.pricechecker_rate?@pricechecker_settings.pricechecker_rate/100:1}};
var pricechecker_pitch={{@pricechecker_settings.pricechecker_pitch?@pricechecker_settings.pricechecker_pitch/100:1}};
var pricechecker_clear={{isset(@pricechecker_settings.pricechecker_clear)?@pricechecker_settings.pricechecker_clear:15}};
</script>