HTTP/1.1 200 OK
Date: Thu, 21 Nov 2024 08:53:20 GMT
Server: Apache/2.4.41 (Ubuntu)
Samesite: Lax
X-frame-options: SAMEORIGIN
Set-Cookie: CGISESSID=6bd0c461e4b1289cef241091bf992e7d; path=/; HttpOnly; SameSite=Lax
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
3dad
<!DOCTYPE html>
<!-- TEMPLATE FILE: auth.tt -->
<html lang="en">
<head>
<title>Log in to Koha › Koha</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style id="antiClickjack">body{display:none !important;}</style>
<link rel="shortcut icon" href="/intranet-tmpl/prog/img/favicon.ico" type="image/x-icon" />
<link type="text/css" href="/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1103000.css" rel="stylesheet">
<link href="/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1103000.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/intranet-tmpl/lib/bootstrap/bootstrap-theme.min_23.1103000.css" type="text/css">
<link rel="stylesheet" href="/intranet-tmpl/lib/fontawesome/css/fontawesome.min_23.1103000.css" type="text/css">
<link type="text/css" rel="stylesheet" href="/intranet-tmpl/lib/fontawesome/css/brands.min_23.1103000.css">
<link href="/intranet-tmpl/lib/fontawesome/css/solid.min_23.1103000.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/intranet-tmpl/lib/datatables/datatables.min_23.1103000.css" type="text/css">
<link type="text/css" media="print" rel="stylesheet" href="/intranet-tmpl/prog/css/print_23.1103000.css">
<link href="/intranet-tmpl/prog/css/staff-global_23.1103000.css" rel="stylesheet" type="text/css">
<!-- local colors -->
<script>
var Koha = {};
var CAN_user_parameters_manage_column_config = 0;
</script>
<script src="/intranet-tmpl/js/Gettext_23.1103000.js"></script>
<script src="/intranet-tmpl/js/i18n_23.1103000.js"></script>
<link type="text/css" rel="stylesheet" href="/intranet-tmpl/prog/css/login_23.1103000.css">
</head>
<body id="main_auth" class="main_main-auth">
<div class="main container-fluid">
<div id="login">
<h1><a href="http://koha-community.org">Koha</a></h1>
<!-- login prompt time-->
<form action="/index.html" method="post" name="loginform" id="loginform" class="validated">
<input type="hidden" name="koha_login_context" value="intranet" />
<p><label for="userid">Username:</label>
<input type="text" name="userid" id="userid" class="input focus" value="" size="20" tabindex="1" autocomplete="off" />
</p>
<p><label for="password">Password:</label>
<input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" autocomplete="off" />
</p>
<p>
<label for="branch">Library:</label>
<select name="branch" id="branch" class="input" tabindex="3">
<option value="">My library</option>
<option value="MAIN">SSM Library</option>
</select>
</p>
<!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> -->
<p class="submit"><input id="submit-button" type="submit" class="btn btn-primary" value="Log in" tabindex="4" /></p>
</form>
<!--<ul> -->
<!-- <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password lost and found">Lost your password?</a></li> -->
<!-- </ul> -->
</div>
<!-- the main div is closed in intranet-bottom.inc -->
</div>
<span id="audio-alert"></span>
<script>
if (self === top) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
top.location = self.location;
}
</script>
<script src="/intranet-tmpl/lib/jquery/jquery-3.6.0.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/jquery/jquery-migrate-3.3.2.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/shortcut/shortcut_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/js-cookie/js.cookie-2.2.1.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/jquery/plugins/jquery.highlight-5_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/jquery/plugins/jquery.validate.min_23.1103000.js"></script>
<!-- koha core js -->
<script src="/intranet-tmpl/prog/js/staff-global_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/dayjs/dayjs.min_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/dayjs/plugin/utc_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/dayjs/plugin/timezone_23.1103000.js"></script>
<script src="/intranet-tmpl/lib/dayjs/plugin/customParseFormat_23.1103000.js"></script>
<script>
dayjs.extend(window.dayjs_plugin_utc);
dayjs.extend(window.dayjs_plugin_timezone);
dayjs.extend(window.dayjs_plugin_customParseFormat);
</script>
<!-- js-date-format.inc -->
<script>
(function() {
var def_date_format = 'us';
var def_time_format = '24hr';
var def_tz = 'UTC';
var get_date_pattern = function(format) {
var date_pattern = 'YYYY-MM-DD';
if(format == 'us') date_pattern = 'MM/DD/YYYY';
if(format == 'metric') date_pattern = 'DD/MM/YYYY';
if(format == 'dmydot') date_pattern = 'DD.MM.YYYY';
return date_pattern;
};
var get_time_pattern = function(format) {
var time_pattern = 'HH:mm';
if(format == '12hr') time_pattern = 'hh:mm a';
return time_pattern;
};
/**
* A JS equivilent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string,
* or JS Date, the function will return a date string formatted as per the koha instance config.
* @param {String|Date} value rfc3339 formatted date string or a JS Date object.
* @param {Object} [options] Optional set of switches for changing date handling
* @property {String} [options.tz] String representing the timezone of the passed date
* @property {Boolean} [options.no_tz_adjust] Enable/Disable timezone adjustment
* @property {String} [options.dateformat]
* @property {Boolean} [options.withtime] Enable/Disable appearance of time in returned string
* @property {String} [options.timeformat]
* @property {Boolean} [options.as_due_date] Enable/Disable due date output format
* @returns {String} A date string formatted as per the koha instance configuration.
*/
window.$date = function(value, options) {
if(!value) return '';
let tz = (options&&options.tz)||def_tz;
let no_tz_adjust = (options&&options.no_tz_adjust)||false;
var m = dayjs(value);
if ( !no_tz_adjust && ! value.match(/^\d{4}-\d{2}-\d{2}$/ ) ) {
m = m.tz(tz);
}
var dateformat = (options&&options.dateformat)||def_date_format;
var withtime = (options&&options.withtime)||false;
if(dateformat=='rfc3339' && withtime) return m.format();
var timeformat = (options&&options.timeformat)||def_time_format;
var date_pattern = get_date_pattern(dateformat);
let as_due_date = (options&&options.as_due_date);
if (as_due_date) {
withtime = !( m.hour() == 23 && m.minute() == 59 );
}
var time_pattern = !withtime?'':' '+get_time_pattern(timeformat);
return m.format(date_pattern+time_pattern);
}
window.$datetime = function(value, options) {
options = options||{};
options.withtime = true;
return $date(value, options);
};
window.$time = function(value, options) {
if(!value) return '';
var tz = (options&&options.tz)||def_tz;
var m = dayjs(value);
if(tz) m = m.tz(tz);
var dateformat = (options&&options.dateformat);
var timeformat = (dateformat=='rfc3339'&&'24hr')||(options&&options.timeformat)||def_time_format;
return m.format(get_time_pattern(timeformat)+(dateformat=='rfc3339'?':ss'+(!m.isUTC()?'Z':''):''))+(dateformat=='rfc3339' && m.isUTC()?'Z':'');
}
window.$date_to_rfc3339 = function(value, options) {
var dateformat = (options&&options.dateformat)||def_date_format;
let m = dayjs(value, get_date_pattern(dateformat));
return m.format("YYYY-MM-DD");
}
})();
</script>
<!-- / js-date-format.inc -->
<!-- js-patron-get-age.inc -->
<script>
(function() {
const tz = 'UTC';
window.$get_age = function(dob, options) {
if(!dob) return '';
let today = new Date();
dob = new Date(dob);
if ( tz ) {
let today_tz = new Date(today.toLocaleString('en-US', {timeZone: tz}));
let diff = today.getTime() - today_tz.getTime();
today = new Date(today.getTime() - diff);
let dob_tz = new Date(dob.toLocaleString('en-US', {timeZone: tz}));
diff = dob.getTime() - dob_tz.getTime();
dob = new Date(dob.getTime() - diff);
}
let age = today.getFullYear() - dob.getFullYear();
let m = today.getMonth() - dob.getMonth();
if (m < 0 || (m === 0 && today.getDate() < dob.getDate())) {
age--;
}
return age;
}
})();
</script>
<!-- / js-patron-get-age.inc -->
<!-- js-patron-format-address.inc -->
<script>
(function() {
const roadtypes = [];
let roadtypes_map = roadtypes.reduce((map, r) => {
map[r.street_type] = r;
return map;
}, {});
function member_display_address_style_us(data, line_break, include_li) {
let address = "";
if ( data.address || data.address2 ) {
if ( data.address ) {
let roadtype_desc = '';
if ( data.street_type ) {
roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;
}
address += include_li ? '<li class="patronaddress1">' : '';
address += escape_str(data.street_number) + ' ' + escape_str(data.address) + ' ' + escape_str(roadtype_desc);
address += include_li ? '</li>' : '';
}
}
if ( data.address2 ) {
address += include_li ? '<li class="patronaddress2">' : ' ';
address += escape_str(data.address2);
address += include_li ? '</li>' : '';
}
if ( data.city || data.postal_code || data.state || data.country ) {
address += include_li ? '<li class="patroncity">' : ' ';
address += escape_str(data.city);
if ( data.state ) {
if ( data.city ) {
address += ', ';
}
address += escape_str(data.state);
}
if ( data.postal_code ) {
address += " " + escape_str(data.postal_code);
}
if ( data.country ) {
if ( data.postal_code || data.state || data.city ) {
address += ', ';
}
address += escape_str(data.country)
}
address += include_li ? '</li>' : '';
}
return address;
}
function member_display_address_style_de(data, line_break, include_li) {
let address = "";
if ( data.address || data.address2 ) {
if ( data.address ) {
let roadtype_desc = '';
if ( data.street_type ) {
roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;
}
address += include_li ? '<li class="patronaddress1">' : ' ';
address += escape_str(data.address) + ' ' + escape_str(roadtype_desc) + escape_str(data.street_number);
address += include_li ? '</li>' : '';
}
}
if ( data.address2 ) {
address += include_li ? '<li class="patronaddress2">' : ' ';
address += escape_str(data.address2);
address += include_li ? '</li>' : '';
}
if ( data.city || data.postal_code || data.state || data.country ) {
address += include_li ? '<li class="patroncity">' : ' ';
address += escape_str(data.postal_code) + ' ' + escape_str(data.city);
address += data.state ? line_break + escape_str(data.state) : '';
address += data.country ? line_break + escape_str(data.country) : '';
address += include_li ? '</li>' : '';
}
return address;
}
function member_display_address_style_fr(data, line_break, include_li) {
let address = "";
if ( data.address || data.address2 ) {
if ( data.address ) {
let roadtype_desc = '';
if ( data.street_type ) {
roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;
}
address += include_li ? '<li class="patronaddress1">' : '';
address += escape_str(data.street_number) + ' ' + escape_str(roadtype_desc) + escape_str(data.address);
address += include_li ? '</li>' : '';
}
}
if ( data.address2 ) {
address += include_li ? '<li class="patronaddress2">' : ' ';
address += escape_str(data.address2);
address += include_li ? '</li>' : '';
}
if ( data.city || data.postal_code || data.state || data.country ) {
address += include_li ? '<li class="patroncity">' : ' ';
address += escape_str(data.postal_code) + ' ' + escape_str(data.city);
address += data.state ? line_break + escape_str(data.state) : '';
address += data.country ? line_break + escape_str(data.country) : '';
address += include_li ? '</li>' : '';
}
return address;
}
window.$format_address = function(data, options) {
let line_break = options && options.no_line_break ? ' ' : '<br/>';
let include_li = options && options.include_li;return member_display_address_style_us(data, line_break, include_li);}
})();
</script>
<!-- / js-patron-format-address.inc -->
<!-- validator-strings.inc -->
<script>
$(document).ready(function(){
jQuery.extend(jQuery.validator.messages, {
required: _("This field is required."),
remote: _("Please fix this field."),
email: _("Please enter a valid email address."),
url: _("Please enter a valid URL."),
date: _("Please enter a valid date."),
dateISO: _("Pl
d80
ease enter a valid date (ISO)."),
number: _("Please enter a valid number."),
digits: _("Please enter only digits."),
equalTo: _("Please enter the same value again."),
number: _("Please add amount in valid
{
"@category" : "datascan",
"@timestamp" : "2024-11-21T08:53:24.000Z",
"app" : {
"extract" : {
"domain" : [
"koha-community.org"
],
"file" : [
"lostpassword.pl"
],
"hostname" : [
"koha-community.org"
],
"url" : [
"http://koha-community.org"
]
},
"http" : {
"bodymd5" : "2ebb9413ae46a2e2717ddc7c37daa71e",
"bodymmh3" : 1283370934,
"component" : [
{
"productvendor" : "Bootstrap",
"product" : "Bootstrap"
},
{
"product" : "jQuery",
"productvendor" : "jQuery",
"productversion" : "3.6.0"
}
],
"headermd5" : "2e99d013323519c01934a5bd883bb406",
"headermmh3" : -647527101,
"title" : "Log in to Koha › Koha"
},
"length" : 16384
},
"asn" : "AS29802",
"city" : "Mumbai",
"country" : "IN",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nDate: Thu, 21 Nov 2024 08:53:20 GMT\r\nServer: Apache/2.4.41 (Ubuntu)\r\nSamesite: Lax\r\nX-frame-options: SAMEORIGIN\r\nSet-Cookie: CGISESSID=6bd0c461e4b1289cef241091bf992e7d; path=/; HttpOnly; SameSite=Lax\r\nVary: Accept-Encoding\r\nConnection: close\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=utf-8\r\n\r\n3dad\r\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<!-- TEMPLATE FILE: auth.tt -->\n\n\n\n\n\n\n\n\n\n<html lang=\"en\">\n<head>\n\n<title>Log in to Koha › Koha</title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\n\n <style id=\"antiClickjack\">body{display:none !important;}</style>\n\n\n<link rel=\"shortcut icon\" href=\"/intranet-tmpl/prog/img/favicon.ico\" type=\"image/x-icon\" />\n\n\n <link type=\"text/css\" href=\"/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1103000.css\" rel=\"stylesheet\">\n\n<link href=\"/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1103000.css\" rel=\"stylesheet\" type=\"text/css\">\n<link rel=\"stylesheet\" href=\"/intranet-tmpl/lib/bootstrap/bootstrap-theme.min_23.1103000.css\" type=\"text/css\">\n<link rel=\"stylesheet\" href=\"/intranet-tmpl/lib/fontawesome/css/fontawesome.min_23.1103000.css\" type=\"text/css\">\n<link type=\"text/css\" rel=\"stylesheet\" href=\"/intranet-tmpl/lib/fontawesome/css/brands.min_23.1103000.css\">\n<link href=\"/intranet-tmpl/lib/fontawesome/css/solid.min_23.1103000.css\" rel=\"stylesheet\" type=\"text/css\">\n<link rel=\"stylesheet\" href=\"/intranet-tmpl/lib/datatables/datatables.min_23.1103000.css\" type=\"text/css\">\n<link type=\"text/css\" media=\"print\" rel=\"stylesheet\" href=\"/intranet-tmpl/prog/css/print_23.1103000.css\">\n\n\n\n\n <link href=\"/intranet-tmpl/prog/css/staff-global_23.1103000.css\" rel=\"stylesheet\" type=\"text/css\">\n\n\n<!-- local colors -->\n\n\n\n\n<script>\nvar Koha = {};\n\n var CAN_user_parameters_manage_column_config = 0;\n\n</script>\n\n\n<script src=\"/intranet-tmpl/js/Gettext_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/js/i18n_23.1103000.js\"></script>\n\n\n <link type=\"text/css\" rel=\"stylesheet\" href=\"/intranet-tmpl/prog/css/login_23.1103000.css\">\n\n\n\n\n\n\n\n\n\n</head>\n<body id=\"main_auth\" class=\"main_main-auth\">\n\n<div class=\"main container-fluid\">\n \n\n\n\n<div id=\"login\">\n<h1><a href=\"http://koha-community.org\">Koha</a></h1>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n <!-- login prompt time-->\n \n \n\n <form action=\"/index.html\" method=\"post\" name=\"loginform\" id=\"loginform\" class=\"validated\">\n <input type=\"hidden\" name=\"koha_login_context\" value=\"intranet\" />\n \n <p><label for=\"userid\">Username:</label>\n <input type=\"text\" name=\"userid\" id=\"userid\" class=\"input focus\" value=\"\" size=\"20\" tabindex=\"1\" autocomplete=\"off\" />\n </p>\n <p><label for=\"password\">Password:</label>\n <input type=\"password\" name=\"password\" id=\"password\" class=\"input\" value=\"\" size=\"20\" tabindex=\"2\" autocomplete=\"off\" />\n </p>\n\n \n <p>\n \n <label for=\"branch\">Library:</label>\n <select name=\"branch\" id=\"branch\" class=\"input\" tabindex=\"3\">\n <option value=\"\">My library</option>\n \n \n <option value=\"MAIN\">SSM Library</option>\n \n </select>\n \n </p>\n\n \n\n \n\n \n\n <!-- <p><label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" tabindex=\"3\" />Remember me</label></p> -->\n\n <p class=\"submit\"><input id=\"submit-button\" type=\"submit\" class=\"btn btn-primary\" value=\"Log in\" tabindex=\"4\" /></p>\n </form>\n\n \n\n\n\n\n\n<!--<ul> -->\n<!--\t<li><a href=\"/cgi-bin/koha/lostpassword.pl\" title=\"Password lost and found\">Lost your password?</a></li> -->\n<!-- </ul> -->\n\n</div>\n\n\n<!-- the main div is closed in intranet-bottom.inc -->\n\n\n\n\n\n\n </div>\n\n <span id=\"audio-alert\"></span>\n \n \n\n\n\n\n\n\n <script>\n if (self === top) {\n var antiClickjack = document.getElementById(\"antiClickjack\");\n antiClickjack.parentNode.removeChild(antiClickjack);\n } else {\n top.location = self.location;\n }\n </script>\n\n\n<script src=\"/intranet-tmpl/lib/jquery/jquery-3.6.0.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/jquery/jquery-migrate-3.3.2.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/shortcut/shortcut_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/js-cookie/js.cookie-2.2.1.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/jquery/plugins/jquery.highlight-5_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/jquery/plugins/jquery.validate.min_23.1103000.js\"></script>\n<!-- koha core js -->\n<script src=\"/intranet-tmpl/prog/js/staff-global_23.1103000.js\"></script>\n\n\n\n\n<script src=\"/intranet-tmpl/lib/dayjs/dayjs.min_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/dayjs/plugin/utc_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/dayjs/plugin/timezone_23.1103000.js\"></script>\n<script src=\"/intranet-tmpl/lib/dayjs/plugin/customParseFormat_23.1103000.js\"></script>\n<script>\n dayjs.extend(window.dayjs_plugin_utc);\n dayjs.extend(window.dayjs_plugin_timezone);\n dayjs.extend(window.dayjs_plugin_customParseFormat);\n</script>\n\n<!-- js-date-format.inc -->\n<script>\n (function() {\n var def_date_format = 'us';\n var def_time_format = '24hr';\n var def_tz = 'UTC';\n\n var get_date_pattern = function(format) {\n var date_pattern = 'YYYY-MM-DD';\n if(format == 'us') date_pattern = 'MM/DD/YYYY';\n if(format == 'metric') date_pattern = 'DD/MM/YYYY';\n if(format == 'dmydot') date_pattern = 'DD.MM.YYYY';\n return date_pattern;\n };\n\n var get_time_pattern = function(format) {\n var time_pattern = 'HH:mm';\n if(format == '12hr') time_pattern = 'hh:mm a';\n return time_pattern;\n };\n\n /**\n * A JS equivilent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string,\n * or JS Date, the function will return a date string formatted as per the koha instance config.\n * @param {String|Date} value rfc3339 formatted date string or a JS Date object.\n * @param {Object} [options] Optional set of switches for changing date handling\n * @property {String} [options.tz] String representing the timezone of the passed date\n * @property {Boolean} [options.no_tz_adjust] Enable/Disable timezone adjustment\n * @property {String} [options.dateformat]\n * @property {Boolean} [options.withtime] Enable/Disable appearance of time in returned string\n * @property {String} [options.timeformat]\n * @property {Boolean} [options.as_due_date] Enable/Disable due date output format\n * @returns {String} A date string formatted as per the koha instance configuration.\n */\n window.$date = function(value, options) {\n if(!value) return '';\n let tz = (options&&options.tz)||def_tz;\n let no_tz_adjust = (options&&options.no_tz_adjust)||false;\n var m = dayjs(value);\n if ( !no_tz_adjust && ! value.match(/^\\d{4}-\\d{2}-\\d{2}$/ ) ) {\n m = m.tz(tz);\n }\n\n var dateformat = (options&&options.dateformat)||def_date_format;\n var withtime = (options&&options.withtime)||false;\n\n if(dateformat=='rfc3339' && withtime) return m.format();\n\n var timeformat = (options&&options.timeformat)||def_time_format;\n var date_pattern = get_date_pattern(dateformat);\n let as_due_date = (options&&options.as_due_date);\n if (as_due_date) {\n withtime = !( m.hour() == 23 && m.minute() == 59 );\n }\n var time_pattern = !withtime?'':' '+get_time_pattern(timeformat);\n\n return m.format(date_pattern+time_pattern);\n }\n\n window.$datetime = function(value, options) {\n options = options||{};\n options.withtime = true;\n return $date(value, options);\n };\n\n window.$time = function(value, options) {\n if(!value) return '';\n var tz = (options&&options.tz)||def_tz;\n var m = dayjs(value);\n if(tz) m = m.tz(tz);\n\n var dateformat = (options&&options.dateformat);\n var timeformat = (dateformat=='rfc3339'&&'24hr')||(options&&options.timeformat)||def_time_format;\n\n return m.format(get_time_pattern(timeformat)+(dateformat=='rfc3339'?':ss'+(!m.isUTC()?'Z':''):''))+(dateformat=='rfc3339' && m.isUTC()?'Z':'');\n }\n\n window.$date_to_rfc3339 = function(value, options) {\n var dateformat = (options&&options.dateformat)||def_date_format;\n let m = dayjs(value, get_date_pattern(dateformat));\n return m.format(\"YYYY-MM-DD\");\n }\n\n })();\n</script>\n<!-- / js-date-format.inc -->\n\n<!-- js-patron-get-age.inc -->\n\n<script>\n (function() {\n\n const tz = 'UTC';\n window.$get_age = function(dob, options) {\n if(!dob) return '';\n\n let today = new Date();\n dob = new Date(dob);\n if ( tz ) {\n let today_tz = new Date(today.toLocaleString('en-US', {timeZone: tz}));\n let diff = today.getTime() - today_tz.getTime();\n today = new Date(today.getTime() - diff);\n\n let dob_tz = new Date(dob.toLocaleString('en-US', {timeZone: tz}));\n diff = dob.getTime() - dob_tz.getTime();\n dob = new Date(dob.getTime() - diff);\n }\n let age = today.getFullYear() - dob.getFullYear();\n let m = today.getMonth() - dob.getMonth();\n if (m < 0 || (m === 0 && today.getDate() < dob.getDate())) {\n age--;\n }\n return age;\n }\n\n })();\n</script>\n<!-- / js-patron-get-age.inc -->\n\n<!-- js-patron-format-address.inc -->\n\n\n\n<script>\n (function() {\n\n const roadtypes = [];\n let roadtypes_map = roadtypes.reduce((map, r) => {\n map[r.street_type] = r;\n return map;\n }, {});\n\n function member_display_address_style_us(data, line_break, include_li) {\n let address = \"\";\n if ( data.address || data.address2 ) {\n if ( data.address ) {\n let roadtype_desc = '';\n if ( data.street_type ) {\n roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;\n }\n address += include_li ? '<li class=\"patronaddress1\">' : '';\n address += escape_str(data.street_number) + ' ' + escape_str(data.address) + ' ' + escape_str(roadtype_desc);\n address += include_li ? '</li>' : '';\n }\n }\n if ( data.address2 ) {\n address += include_li ? '<li class=\"patronaddress2\">' : ' ';\n address += escape_str(data.address2);\n address += include_li ? '</li>' : '';\n }\n if ( data.city || data.postal_code || data.state || data.country ) {\n address += include_li ? '<li class=\"patroncity\">' : ' ';\n address += escape_str(data.city);\n if ( data.state ) {\n if ( data.city ) {\n address += ', ';\n }\n address += escape_str(data.state);\n }\n if ( data.postal_code ) {\n address += \" \" + escape_str(data.postal_code);\n }\n if ( data.country ) {\n if ( data.postal_code || data.state || data.city ) {\n address += ', ';\n }\n address += escape_str(data.country)\n }\n address += include_li ? '</li>' : '';\n }\n\n return address;\n }\n\n function member_display_address_style_de(data, line_break, include_li) {\n let address = \"\";\n if ( data.address || data.address2 ) {\n if ( data.address ) {\n let roadtype_desc = '';\n if ( data.street_type ) {\n roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;\n }\n address += include_li ? '<li class=\"patronaddress1\">' : ' ';\n address += escape_str(data.address) + ' ' + escape_str(roadtype_desc) + escape_str(data.street_number);\n address += include_li ? '</li>' : '';\n }\n }\n if ( data.address2 ) {\n address += include_li ? '<li class=\"patronaddress2\">' : ' ';\n address += escape_str(data.address2);\n address += include_li ? '</li>' : '';\n }\n if ( data.city || data.postal_code || data.state || data.country ) {\n address += include_li ? '<li class=\"patroncity\">' : ' ';\n address += escape_str(data.postal_code) + ' ' + escape_str(data.city);\n address += data.state ? line_break + escape_str(data.state) : '';\n address += data.country ? line_break + escape_str(data.country) : '';\n address += include_li ? '</li>' : '';\n }\n\n return address;\n }\n\n function member_display_address_style_fr(data, line_break, include_li) {\n let address = \"\";\n if ( data.address || data.address2 ) {\n if ( data.address ) {\n let roadtype_desc = '';\n if ( data.street_type ) {\n roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type].street_type : data.street_type;\n }\n address += include_li ? '<li class=\"patronaddress1\">' : '';\n address += escape_str(data.street_number) + ' ' + escape_str(roadtype_desc) + escape_str(data.address);\n address += include_li ? '</li>' : '';\n }\n }\n if ( data.address2 ) {\n address += include_li ? '<li class=\"patronaddress2\">' : ' ';\n address += escape_str(data.address2);\n address += include_li ? '</li>' : '';\n }\n if ( data.city || data.postal_code || data.state || data.country ) {\n address += include_li ? '<li class=\"patroncity\">' : ' ';\n address += escape_str(data.postal_code) + ' ' + escape_str(data.city);\n address += data.state ? line_break + escape_str(data.state) : '';\n address += data.country ? line_break + escape_str(data.country) : '';\n address += include_li ? '</li>' : '';\n }\n\n return address;\n }\n\n window.$format_address = function(data, options) {\n let line_break = options && options.no_line_break ? ' ' : '<br/>';\n let include_li = options && options.include_li;return member_display_address_style_us(data, line_break, include_li);}\n\n })();\n</script>\n<!-- / js-patron-format-address.inc -->\n\n\n<!-- validator-strings.inc -->\n<script>\n $(document).ready(function(){\n jQuery.extend(jQuery.validator.messages, {\n required: _(\"This field is required.\"),\n remote: _(\"Please fix this field.\"),\n email: _(\"Please enter a valid email address.\"),\n url: _(\"Please enter a valid URL.\"),\n date: _(\"Please enter a valid date.\"),\n dateISO: _(\"Pl\r\nd80\r\nease enter a valid date (ISO).\"),\n number: _(\"Please enter a valid number.\"),\n digits: _(\"Please enter only digits.\"),\n equalTo: _(\"Please enter the same value again.\"),\n number: _(\"Please add amount in valid",
"datamd5" : "99695a77e0f3be74e9c04eba44211b2a",
"datammh3" : 817444200,
"device" : {
"class" : "<enterprise field>: device.class"
},
"geolocus" : {
"asn" : "AS29802",
"continent" : "NA",
"continentname" : "North America",
"country" : "US",
"countryname" : "United States",
"domain" : [
"ssdnodes.com",
"strasmore.com"
],
"isineu" : "false",
"latitude" : "37.09024",
"location" : "37.09024,-95.712891",
"longitude" : "-95.712891",
"netname" : "SN-209-182-232-0-21",
"organization" : "Strasmore, Inc.",
"subnet" : "209.182.232.0/23"
},
"ip" : "209.182.233.69",
"ipv6" : "false",
"latitude" : "19.0748",
"location" : "19.0748,72.8856",
"longitude" : "72.8856",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "HVC-AS",
"os" : "Linux",
"osdistribution" : "Ubuntu",
"osvendor" : "Linux",
"port" : 8081,
"product" : "HTTP Server",
"productvendor" : "Apache",
"productversion" : "2.4.41",
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"seen_date" : "2024-11-21",
"source" : "datascan",
"status" : 200,
"subnet" : "209.182.232.0/21",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}