<%
local xray_version = require "luci.model.cbi.bypass.api".get_xray_version()
-%>

<script type="text/javascript">
	//<![CDATA[
	var xrayInfo;
	var tokenStr = '<%=token%>';
	var manuallyUpdateText = '<%:Check update%>';
	var noUpdateText = '<%:It is the latest version%>';
	var updateSuccessText = '<%:Update successful%>';
	var clickToUpdateText = '<%:Click to update%>';
	var inProgressText = '<%:Updating...%>';
	var unexpectedErrorText = '<%:Unexpected error%>';
	var updateInProgressNotice = '<%:Updating, 