(function(n){n(window.jQuery,window,document)})(function(n,t,i){var u=function(n){typeof n=="undefined"||n===null||n.length===0},r=function(n){typeof n!="undefined"&&n!==null&&n.length!==0&&u(n)};t.initSiteAjax=r;n(function(){var t=function(){var t=n(i);r(t)}()})});var AjaxPostHandler=function(){var n=function(){},t=function(){},i=function(){},r=function(){},u=function(t,i,r){AjaxGlobalHandler.onBeginHandler(t,i,r);n(t,i,r)},f=function(n,i,r,u){AjaxGlobalHandler.onCompleteHandler(n,i,r,u);t(n,i,r,u)},e=function(n,t,r,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,r,u,f);i(n,t,r,u,f)},o=function(n,t,i,u,f){AjaxGlobalHandler.onFailureHandler(n,t,i,u,f);r(n,t,i,u,f)};return{onBeginHandler:u,onCompleteHandler:f,onSuccessHandler:e,onFailureHandler:o}}(jQuery,window,document),AjaxGetHandler=function(){var n=function(){},t=function(){},i=function(){},r=function(){},u=function(t,i,r){AjaxGlobalHandler.onBeginHandler(t,i,r);n(t,i,r)},f=function(n,i,r,u){AjaxGlobalHandler.onCompleteHandler(n,i,r,u);t(n,i,r,u)},e=function(n,t,r,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,r,u,f);i(n,t,r,u,f)},o=function(n,t,i,u,f){AjaxGlobalHandler.onFailureHandler(n,t,i,u,f);r(n,t,i,u,f)};return{onBeginHandler:u,onCompleteHandler:f,onSuccessHandler:e,onFailureHandler:o}}(jQuery,window,document),AjaxPostMappingWithSelectListHandler=function(n){var t=function(){},i=function(){},r=function(t,i,r,u){var e,f,o;if(r.readyState===4&&(r.status===200||r.status===201||r.status===202)){if(typeof u=="undefined"||u===null||n(u).length===0||typeof t=="undefined")return;e=n(u);f=e.find("select");f.length>0&&(f.find("option:selected").remove(),o=f.find("option").length,o===0&&e.fadeOut())}},u=function(){},f=function(n,i,r){AjaxGlobalHandler.onBeginHandler(n,i,r);t(n,i,r)},e=function(n,t,r,u){AjaxGlobalHandler.onCompleteHandler(n,t,r,u);i(n,t,r,u)},o=function(n,t,i,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,i,u,f);r(n,t,i,u,f)},s=function(n,t,i,r,f){AjaxGlobalHandler.onFailureHandler(n,t,i,r,f);u(n,t,i,r,f)};return{onBeginHandler:f,onCompleteHandler:e,onSuccessHandler:o,onFailureHandler:s}}(jQuery,window,document),AjaxDeleteTableRowHandler=function(n){var t=function(){},i=function(){},r=function(t,i,r,u){var f,e,o;if(r.readyState===4&&(r.status===200||r.status===201||r.status===202)){if(typeof u=="undefined"||u===null||n(u).length===0||typeof t=="undefined")return;f=n(u);f.closest("table").find("tr").length===2?(e=f.closest("tr"),o=f.closest("tr").prev(),e.remove(),o.remove()):f.closest("tr").remove()}},u=function(n){n.status!==0},f=function(n,i,r){AjaxGlobalHandler.onBeginHandler(n,i,r);t(n,i,r)},e=function(n,t,r,u){AjaxGlobalHandler.onCompleteHandler(n,t,r,u);i(n,t,r,u)},o=function(n,t,i,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,i,u,f);r(n,t,i,u,f)},s=function(n,t,i,r,f){AjaxGlobalHandler.onFailureHandler(n,t,i,r,f);u(n,t,i,r,f)};return{onBeginHandler:f,onCompleteHandler:e,onSuccessHandler:o,onFailureHandler:s}}(jQuery,window,document),AjaxDeleteTableHandler=function(n){var t=function(){},i=function(){},r=function(t,i,r,u){if(r.readyState===4&&(r.status===200||r.status===201||r.status===202)){if(typeof u=="undefined"||u===null||n(u).length===0||typeof t=="undefined")return;var f=n(u);f.closest("table").find("tr").each(function(){n(this).remove()})}},u=function(n){n.status!==0},f=function(n,i,r){AjaxGlobalHandler.onBeginHandler(n,i,r);t(n,i,r)},e=function(n,t,r,u){AjaxGlobalHandler.onCompleteHandler(n,t,r,u);i(n,t,r,u)},o=function(n,t,i,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,i,u,f);r(n,t,i,u,f)},s=function(n,t,i,r,f){AjaxGlobalHandler.onFailureHandler(n,t,i,r,f);u(n,t,i,r,f)};return{onBeginHandler:f,onCompleteHandler:e,onSuccessHandler:o,onFailureHandler:s}}(jQuery,window,document),AjaxPostCreateFormHandler=function(n){var t=function(){},i=function(){},r=function(t,i,r,u){if(r.readyState===4&&(r.status===200||r.status===201||r.status===202)){if(typeof u=="undefined"||u===null||n(u).length===0||typeof t=="undefined")return;var e=n(u),f=e.find(":submit");n('<p><i class="fa fa-fw fa-check"><\/i>item added.').insertBefore(f).queue(function(){f.prev().remove().dequeue()});AjaxGlobalHandler.clearForm(n(u));n("#AlertMessage").fadeOut()}},u=function(t,i,r,u){if(t.status!==0){if(typeof u=="undefined"||u===null||n(u).length===0||typeof data=="undefined")return;var e=n(u),f=e.find(":submit");n('<p><i class="fa fa-fw fa-ban"><\/i>failed to add!').insertBefore(f).queue(function(){f.prev().remove().dequeue()})}},f=function(n,i,r){AjaxGlobalHandler.onBeginHandler(n,i,r);t(n,i,r)},e=function(n,t,r,u){AjaxGlobalHandler.onCompleteHandler(n,t,r,u);i(n,t,r,u)},o=function(n,t,i,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,i,u,f);r(n,t,i,u,f)},s=function(n,t,i,r,f){AjaxGlobalHandler.onFailureHandler(n,t,i,r,f);u(n,t,i,r,f)};return{onBeginHandler:f,onCompleteHandler:e,onSuccessHandler:o,onFailureHandler:s}}(jQuery,window,document),AjaxPostSiteModalFormHandler=function(n){var t="#SiteModal",i=n(t),r=function(){},u=function(){n('[data-target="#'+t+'"]').button("reset")},f=function(t,r,u,f){if(u.readyState===4&&(u.status===200||u.status===201||u.status===202)){if(typeof f=="undefined"||f===null||n(f).length===0||typeof t=="undefined")return;var e=n(f);i.modal("hide");i.removeData("bs.modal")}},e=function(){},o=function(n,t,i){AjaxGlobalHandler.onBeginHandler(n,t,i);r(n,t,i)},s=function(n,t,i,r){AjaxGlobalHandler.onCompleteHandler(n,t,i,r);u(n,t,i,r)},h=function(n,t,i,r,u){AjaxGlobalHandler.onSuccessHandler(n,t,i,r,u);f(n,t,i,r,u)},c=function(n,t,i,r,u){AjaxGlobalHandler.onFailureHandler(n,t,i,r,u);e(n,t,i,r,u)};return{onBeginHandler:o,onCompleteHandler:s,onSuccessHandler:h,onFailureHandler:c}}(jQuery,window,document),AjaxPostResponseContainerFormHandler=function(n){var t=function(){},i=function(){},r=function(t,i,r,u){var e;if(r.readyState===4&&(r.status===200||r.status===201||r.status===202)){if(typeof u=="undefined"||u===null||n(u).length===0||typeof t=="undefined")return;var s=n(u),f=s.attr("data-ajax-mode"),h=s.attr("data-ajax-update"),o=s.find(".response-container");Boolean(f)||(f="replace");o.length>0&&(e="",t&&t.message&&t.message.length>0&&(e='<span class="text-success"><i class="fa fa-fw fa-check"><\/i>'+t.message+"<\/span>"),f==="replace"?o.html(e):f==="insertAfter"?o.insertAfter(e):f==="insertBefore"&&o.insertBefore(e))}},u=function(t,i,r,u){var f,o;if(t.readyState===4){if(typeof u=="undefined"||u===null||n(u).length===0)return!1;f=i;t.status===0?f="Check your network (offline)":t.status===404?f="Check request url":t.status===500?f="Error":i==="parsererror"?f="JSON error":i==="timeout"?f="Timeout":r&&r.length>0?f=r:t&&t.statusText&&(f=t.statusText);var h=n(u),e=h.attr("data-ajax-mode"),c=h.attr("data-ajax-update"),s=h.find(".response-container");Boolean(e)||(e="replace");s.length>0&&(o="",data&&data.message&&data.message.length>0&&(o='<span class="text-danger"><i class="fa fa-fw fa-danger"><\/i>'+f+"<\/span>"),e==="replace"?s.html(o):e==="insertAfter"?s.insertAfter(o):e==="insertBefore"&&s.insertBefore(o));n(u).find(":submit").attr("disabled",!1)}return!1},f=function(n,i,r){AjaxGlobalHandler.onBeginHandler(n,i,r);t(n,i,r)},e=function(n,t,r,u){AjaxGlobalHandler.onCompleteHandler(n,t,r,u);i(n,t,r,u)},o=function(n,t,i,u,f){AjaxGlobalHandler.onSuccessHandler(n,t,i,u,f);r(n,t,i,u,f)},s=function(n,t,i,r,f){AjaxGlobalHandler.onFailureHandler(n,t,i,r,f);u(n,t,i,r,f)};return{onBeginHandler:f,onCompleteHandler:e,onSuccessHandler:o,onFailureHandler:s}}(jQuery,window,document),AjaxGlobalHandler=function(n,t,i){var u=function(i){var r,u;i&&(typeof i=="function"?i.call():typeof i=="string"&&(typeof t[i]!="undefined"&&n.isFunction(t[i])?t[i]():(r=i,i.startsWith("return")?r=i:i.startsWith("function")&&(r="return "+r),i.endsWith("}")&&(r=r+";"),u=new Function(r)(),u())))},o=function(t,i,r){if(typeof i!="undefined"&&i!==null&&n(i).length!==0){var e=n(i),f=e.find(":submit");f.length&&f.prop("disabled",!0)}u(r)},s=function(t,r,u,f){var e,o,s,h;n(i).find(":submit[data-loading-text]").button("reset");typeof f!="undefined"&&f&&typeof f=="function"&&f(t,r,u);typeof u!="undefined"&&u!==null&&n(u).length!==0&&(e=n(u),e.length&&(o=e,s=e.attr("data-ajax-update"),Boolean(s)&&(h=n(s),h.length&&(o=h),AjaxGlobalHandler.rebindScripts(o,f))))},h=function(n,t,i,r,e){var o=t;AjaxGlobalHandler.isApplicationJsonResponse(i)&&n.message&&(o=n.message);i.readyState===4&&(i.status===200||i.status===201||i.status===202?AjaxGlobalHandler.updateTarget(n,t,i,r):alert("HTTP"+i.status.toString()+": "+o+"\n"+i.responseText),f(r));u(e)},c=function(t,i,r,e,o){var s=i,c,h;t.status===0?s="Check your network (offline).":t.status===404?s="No item found.":t.status===500?s="Failed.":i==="parsererror"?s="Failed (Json).":i==="timeout"?s="Request timed out!":t&&t.statusText&&(s=t.statusText);(typeof e=="undefined"||e===null||n(e).length===0)&&alert("HTTP"+t.status.toString()+": "+s);c=n(e);String.prototype.isNullOrWhitespace(s)||(h=c.find(":submit"),h.prev(".response-message").remove(),n('<p class="response-message"><i class="fa fa-fw fa-ban"><\/i>'+s+"<\/p>").insertBefore(h).delay(5e3).queue(function(){h.prev(".response-message").remove().dequeue()}));f(e);u(o)},l=function(n,i){t.initSiteLibraries&&typeof t.initSiteLibraries=="function"&&t.initSiteLibraries!==i&&t.initSiteLibraries(n);t.initSiteForm&&typeof t.initSiteForm=="function"&&t.initSiteForm!==i&&t.initSiteForm(n);t.initSiteFormEntitySelect&&typeof t.initSiteFormEntitySelect=="function"&&t.initSiteModal!==i&&t.initSiteFormEntitySelect(n);t.initSiteAll&&typeof t.initSiteAll=="function"&&t.initSiteAll!==i&&t.initSiteAll(n);t.initSiteModal&&typeof t.initSiteModal=="function"&&t.initSiteModal!==i&&t.initSiteModal()},e=function(n){return n.getResponseHeader("Content-Type").split(";")},r=function(n){return e(n)[0]},a=function(n){return r(n)==="application/json"},v=function(n){return r(n)==="text/html"},y=function(n){return r(n)==="application/json"},p=function(t,i,r,u){if(typeof u!="undefined"&&u!==null&&n(u).length!==0&&typeof t!="undefined"){var o=n(u),f=o.attr("data-ajax-mode"),e=o.attr("data-ajax-update");AjaxGlobalHandler.isApplicationJsonResponse(r)?(Boolean(f)||(f="replace"),Boolean(e)&&f==="replace"&&t&&t.view&&t.view.trim().length>0&&n(e).html(t.view)):(Boolean(f)||(f="replace"),Boolean(e)&&f==="replace"&&t&&t.trim().length>0&&n(e).html(t));return}},f=function(t){if(typeof t=="undefined"||t===null||n(t).length===0)return!1;var r=n(t),i=r.find(":submit");return i.length&&(i.prop("disabled",!1),Boolean(i.attr("data-loading-text"))&&i.button("reset")),!0},w=function(n){n[0].reset()};return{onBeginHandler:o,onCompleteHandler:s,onSuccessHandler:h,onFailureHandler:c,rebindScripts:l,getResponseContentType:e,getResponseMimeContentType:r,isJsonResponse:y,isApplicationJsonResponse:a,isHtmlTextResponse:v,updateTarget:p,resetSubmitButton:f,clearForm:w}}(jQuery,window,document);(function(n){n(window.jQuery,window,document)})(function(n,t,i){var r=function(t){if(typeof t=="undefined"||t===null||t.length===0)return!1;t.startsWith("#")||(t="#"+t);var i=n(t);return i.length&&n("html,body").animate({scrollTop:i.offset().top},1e3),!0},f=function(i){var u;if(typeof i!="undefined"&&i!==null&&i.length!==0){u=t.location.pathname.split("/");u=n.grep(u,function(n){return n});n('li > a:not(a[href*="#"])').each(function(){var e=n(this).attr("href"),t,i,r,f;if(typeof e!="undefined"&&e!=null){if(t=e.split("/"),t=n.grep(t,function(n){return n}),i=!1,u.length===t.length)for(r=0;r<u.length;r++)if(u[r]===t[r]){i=!0;continue}else{i=!1;break}else if(u.length>2&&t.length===2)for(f=0;f<2;f++)if(u[f]===t[f]){i=!0;continue}else{i=!1;break}i&&n(this).parent().addClass("active")}});var f=n("#TopNav"),e=n("#BackToTop"),o=f.data("offset-top"),s=function(){f.length&&f.removeClass("navbar-default").removeClass("navbar-inverse").addClass("navbar-inverse");e.fadeIn()},h=function(){f.length&&f.removeClass("navbar-default").removeClass("navbar-inverse").addClass("navbar-default");e.hide()};n(t).scroll(function(){n(t).scrollTop()>o?s():h()});i.off("click.navbar-toggle").on("click.navbar-toggle","#TopNav .navbar-toggle",function(){f.length&&f.removeClass("navbar-default").removeClass("navbar-inverse").addClass("navbar-inverse")});i.off("click.scrollto").on("click.scrollto",'a[href*="#"]:not(a[href="#"]):not([data-toggle])',function(){if(t.location.pathname.replace("/^//, ''")===this.pathname.replace("/^//, ''")&&t.location.hostname===this.hostname){var n=this.hash;return r(n)}return!0});i.off("click.back-to-top").on("click.back-to-top","#BackToTop",function(t){var i=n(t.currentTarget),u=i.get(0).hash;return r(u)});if(t.location.hash!=null&&t.location.hash.length){if(t.location.hash.toLowerCase().startsWith("#step"))return;setTimeout(function(){var i=n(t.location.hash);i.length&&n("html,body").animate({scrollTop:i.offset().top},1e3)},1500)}i.find('a[href="#"]').each(function(t,i){n(i).attr("href","javascript:void(0);")})}},e=function(t){typeof t!="undefined"&&t!==null&&t.length!==0&&t.find("h1, h2, h3, h4, h5, h6, label, a, .btn").not(".dropdown-menu").each(function(){var t=n(this).prop("title");!Boolean(t)&&t.length>0&&n(this).attr("title",n(this).text().trim().replace(/(\r\n|\n|\r)/gm,":").singleSpace())})},o=function(i){if(typeof i!="undefined"&&i!==null&&i.length!==0){i.off("click.data_action_submit").on("click.data_action_submit",'[data-action="submit"]',function(){return n(this).attr("disabled",!0),n(this).closest("form").submit(),!1});i.off("click.data_action_reset_reload").on("click.data_action_reset_reload",'button:reset[data-action="reload"]',function(){return location.href=location.pathname,!0});i.off("click.data_action_reload").on("click.data_action_reload",'a[data-action="reload"]',function(){return location.href=location.pathname,!1});i.off("click.data_action_back").on("click.data_action_back",'a[data-action="back"]',function(){return t.history.go(-1),!1});i.off("click.data_action_print").on("click.data_action_print",'a[data-action="print"]',function(){return self.print(),!1});i.find('a[data-protect="email"]').each(function(t,i){var r=n(i),u=r.attr("data-protect-email").replace("/","@"),f,e;r.attr("href","mailto:"+u);f=r.html();e=r.text();String.prototype.isNullOrWhitespace(f)?r.html(u):String.prototype.isNullOrWhitespace(e)&&r.append(u)})}},u=function(n){typeof n!="undefined"&&n!==null&&n.length!==0&&(f(n),e(n),o(n))};t.initSiteAll=u;t.scrollTo=r;n(function(){var t=function(){var t=n(i);u(t)}()})}),function(n){"use strict";n(window.jQuery,window,document)}(function(n,t,i){"use strict";var r=function(n){var t=n.attr("data-loading-text"),i,r,f,u;Boolean(t)&&(i=n.prop("tagName"),i.toLowerCase()==="button"?(r=n.closest("form"),f=n.html(),n.html('<i class="fa fa-fw fa-spinner fa-spin"><\/i>'+t),n.is(":submit")&&(u=r.attr("data-ajax"),u||n.prop("disabled",!0))):n.attr("data-loading-text",'<i class="fa fa-fw fa-refresh fa-spin"><\/i>'+t).button("loading"))},u=function(t){if(t===undefined||t===null||t.length===0)return!1;if(t.validate(),n.validator!==undefined&&t.valid()){var i=t.find(":submit");return i.length&&r(i),t.attr("data-ajax")?t.submit():t.submit(),!0}return!1},e=function(t){n('[data-toggle="tooltip"]').tooltip({container:"body"});t.off("keypress.input_text").on("keypress.input_text","input:text",function(t){if(t.which===13){var i=n(t.currentTarget).closest("form");return!u(i)}return!0});t.off("change.input_text_uppercase blur.input_text_uppercase").on("change.input_text_uppercase blur.input_text_uppercase","input:text.uppercase, input:text.zipcode",function(t){var i=n(t.currentTarget);i.val(i.val().toUpperCase())});t.off("change.input_text_lowercase blur.input_text_lowercase").on("change.input_text_lowercase blur.input_text_lowercase","input:text.lowercase, input:text.email, input:text.url, input:text.url-handle, input:text.keywords, input:text.tags",function(t){var i=n(t.currentTarget);i.val(i.val().toLowerCase())});t.off("change.input_text_nospace blur.input_text_nospace").on("change.input_text_nospace blur.input_text_nospace","input:text.nospace, input:text.url, input:text.url-pathandquery, input:text.url-handle",function(t){var i=n(t.currentTarget);i.val(i.val().singleSpace().replace(" ",""))})},o=function(t){t.find("a.btn[data-loading-text], button.btn[data-loading-text]").not(":submit").button("reset").off("click.data_loading_text_btn").on("click.data_loading_text_btn",function(t){var i=n(t.currentTarget);return r(i),!0});t.find("button:submit[data-loading-text]").button("reset").off("click.data_loading_text_button").on("click.data_loading_text_button",function(t){var f=n(t.currentTarget),i=f.closest("form");return i===undefined||i===null||i.length===0?(r(f),!0):!u(i)})},s=function(t){t.find(".form-group input, .form-group textarea, .input-group input, .input-group textarea").each(function(t,i){var r=n(i),u;Boolean(r.attr("data-val-required"))||(u=r.attr("placeholder"),Boolean(u)&&u.trim().length!==0||r.attr("placeholder","optional"))})},h=function(t){var i=function(t,i){var r,o;if((!i||!n.validator||t.valid())&&(r=t.val(),!String.prototype.isNullOrWhitespace(r))){var u=t.closest(".form-group").find('[rel="input-email"]'),f='<a rel="input-email" class="btn btn-xxs btn-link pull-right" href="mailto:'+r+'"><i class="fa fa-fw fa-envelope"><\/i>'+r+"<\/a>",e=t.closest(".input-group");e.length?e.after(f):(o=t.closest(".form-group"),o.length&&t.after(f));u.length>0&&u.remove()}};t.find('.form-group input.email, .form-group input[type="email"]').not("#LoginForm input").not(".no-append").each(function(){i(n(this),!1);n(this).off("change.inputEmail").on("change.inputEmail",function(t){i(n(t.target),!0)})})},c=function(t,i,r,u,f){if(typeof t!="undefined"&&t!==null&&t.length!==0&&typeof i!="undefined"&&i!==null&&i.length!==0){(typeof r=="undefined"||r===null)&&(r=!1);(typeof u=="undefined"||u===null)&&(u=!1);(typeof f=="undefined"||f===null)&&(f=!1);t.on("change keyup blur",function(t){var s=!1,o=i.attr("data-init-val"),h,e;return(typeof o=="undefined"||o==null||o.length===0)&&(s=!0),h=n(t.currentTarget),e=h.val(),s&&o!==e?(r&&(e=e.replace(/\s+/g,"-"),e=e.replace("---","--")),u&&(e=e.toLowerCase()),f&&(e=e.replace("&","and"),e=e.replace("'",""),e=e.replace('"',""),e=e.replace(/[^a-zA-Z0-9]-_/g,"")),i.val(e)):i.val(o),!0})}},f=function(n){typeof n!="undefined"&&n!==null&&n.length!==0&&(e(n),o(n),s(n),h(n))};t.initSiteForm=f;t.bindTargetAndAutoFill=c;n(function(){var t=function(){var t=n(i);f(t)}()})}),function(n){n(window.jQuery,window,document)}(function(n,t,i){var r=function(t){n.validator&&n.validator.setDefaults({ignore:".ignore",highlight:function(t,i,r){if(t.type==="radio")this.findByName(t.name).addClass(i).removeClass(r);else{var u=n(t).closest(".form-group");u.removeClass("has-success has-feedback").addClass("has-error has-feedback");u.find("i.fa").remove();u.append('<i class="fa fa-exclamation fa-lg form-control-feedback"><\/i>')}},unhighlight:function(t,i,r){if(t.type==="radio")this.findByName(t.name).removeClass(i).addClass(r);else{var u=n(t).closest(".form-group");u.removeClass("has-error has-feedback").addClass("has-success has-feedback");u.find("i.fa").remove();u.append('<i class="fa fa-check fa-lg form-control-feedback"><\/i>')}},errorElement:"span",errorClass:"help-block",errorPlacement:function(n,t){t.parent(".input-group").length?n.insertAfter(t.parent()):n.insertAfter(t)}});typeof t=="undefined"||t===null||t.length===0},u=function(t){if(typeof t!="undefined"&&t!==null&&t.length!==0&&n.fn.alphanum){t.find("input.alphanum").alphanum({allow:"-_"});t.find("input.number").numeric({allowSpace:!1});t.find("input.name").alpha({allow:" '`-"});t.find("input.zipcode").alphanum({allowSpace:!1});t.find("input.zipcode-au").numeric({allowSpace:!1});t.find("input.email").alpha({allow:"@./-_0123456789",allowSpace:!1});t.find("input.url").alphanum({allow:":./-_",allowSpace:!1});t.find("input.url-pathandquery").alphanum({allow:"./-_",allowSpace:!1});t.find("input.url-handle").alphanum({allow:"-_"});t.find("input.phone, input.mobile, input.fax").numeric({allow:"+() "});t.find("input.creditcard").numeric({allowSpace:!1,forceLower:!0});t.find("input.date").alphanum({allow:"/",disallow:"abcdefghijklmnopqrstuvwxyz",allowSpace:!1});t.find("input.datetime").alphanum({allow:"/:",disallow:"abcdefghijklmnopqrstuvwxyz",allowSpace:!1});t.off("change.input-currency").on("change.input-currency","input.currency",function(t){var i=n(t.currentTarget),r=i.val();String.prototype.isNullOrWhitespace(r)||(isNaN(r)?i.val(parseFloat(0).toFixed(2)):i.val(parseFloat(r).toFixed(2)))})}},f=function(t){(typeof t=="undefined"||t===null||t.length===0)&&(t=n(i));r(t);u(t)};t.initAlphanumLibrary=u;t.initValidation=r;t.initSiteLibraries=f;n(function(){var t=function(){var t=n(i);f(t)}()})})