function debounce(n,t,i){var r;return function(){var u=this,f=arguments,e=function(){r=null;i||n.apply(u,f)},o=i&&!r;clearTimeout(r);r=setTimeout(e,t);o&&n.apply(u,f)}}$(document).ready(function(){ProjectFunctions.ContentCloning();ProjectFunctions.EqualizeHieght();ProjectFunctions.LoadMasonry();ProjectFunctions.MenuToggle();ProjectFunctions.SearchToggle();ProjectFunctions.StickyHeader();ProjectFunctions.GoogleMaps();ProjectFunctions.PlaceholdersFallback();ProjectFunctions.mainNavHovers();ProjectFunctions.FullsizeImage();ProjectFunctions.NavServices();ProjectFunctions.FullsizeHomeIntro();ProjectFunctions.ResponsiveTable();ProjectFunctions.SvgFallback();ProjectFunctions.CheckboxFallback();ProjectFunctions.EventsInfoToggle();ProjectFunctions.ShowIntroVideo();ProjectFunctions.ImageSourceChanging();ProjectFunctions.ScrollToLocation();ProjectFunctions.InitPaymentOptions();ProjectFunctions.DonationAmount();ProjectFunctions.SearchBoxBehaviour();ProjectFunctions.SharePage();ProjectFunctions.SetRowHeights();ProjectFunctions.ContentVideos();ProjectFunctions.SetupCheckboxAutoBindings();ProjectFunctions.EventsSection();ProjectFunctions.LoadDate();ProjectFunctions.SuburbAutocomplete();ProjectFunctions.EventsFormBindings();ProjectFunctions.ShareDonatePage();ProjectFunctions.FontSizeControls();ProjectFunctions.BackLink();ProjectFunctions.CourseShare();ProjectFunctions.RadioButtons();ProjectFunctions.BizFormScroll();ProjectFunctions.FormSubmitButtons();ProjectFunctions.HeaderPanel()});var ProjectFunctions=function(){return{LoadFastClick:function(){},FullsizeImage:function(){$(".fullsize").each(function(){var n=$(this).find("img").attr("src");typeof n!="undefined"&&$(this).css("background-image","url("+n+")")});var n=debounce(function(){window.innerWidth>=1280?$(".fullsize-desktop").each(function(){var n=$(this).find("img").attr("src");$(this).css("background-image","url("+n+")")}):$(".fullsize-desktop").each(function(){var n=$(this).find("img").attr("src");$(this).css("background-image","none")})},250);$(window).on("load resize",n)},EventsInfoToggle:function(){$(".btn-event-expand").on("click",function(n){n.preventDefault();$(this).closest(".event").toggleClass("expanded")})},GoogleMaps:function(){function n(n){var i=n,u=parseFloat(i.getAttribute("data-lat")),f=parseFloat(i.getAttribute("data-lng")),r=new google.maps.LatLng(u,f),t=new google.maps.Map(i,{zoom:16,center:r,disableDefaultUI:!0}),o=new google.maps.Marker({position:r,icon:"/Custom/UI/Content/images/pin.png",map:t}),e=debounce(function(){var n=t.getCenter();google.maps.event.trigger(t,"resize");t.setCenter(n)},250);google.maps.event.addDomListener(window,"resize",e)}$(".map").each(function(){n($(this)[0])})},ScrollToLocation:function(){$(".scroll-btn").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=$(this.hash),t=$(this).closest("body").find(".header").height();if(n=n.length?n:$("[name="+this.hash.slice(1)+"]"),n.length)return $("html,body").animate({scrollTop:n.offset().top-t},1e3),!1}})},FullsizeHomeIntro:function(){var t=$(window),n=$(".intro-home"),i=debounce(function(){var t=$(".service-thumbs").first().height(),i=$(window).width(),r=$(window).height();i>767?n.height(r-t):n.height("auto")},250);t.on("load resize",i)},SvgFallback:function(){$("html").hasClass("no-svg")&&$("[data-svg-fallback]").each(function(){var n=$(this),t=n.attr("data-svg-fallback");n.css("background-image","url("+t+")")})},ShowIntroVideo:function(){var n,t,u,f=document.createElement("script"),i,r;if(f.src="https://www.youtube.com/iframe_api",i=document.getElementsByTagName("script")[0],i.parentNode.insertBefore(f,i),onYouTubeIframeAPIReady=function(){n=new YT.Player("video",{});t=new YT.Player("video-cloned",{});u=new YT.Player("article-video",{})},r=$("#intro-link-video"),r.length){r.each(function(){var u=$(this),t=u.attr("href"),n=u.closest(".intro-inner"),i,r,f;(n.length||(i=$("#video-secondary"),i.length&&(n=i)),typeof t!="undefined"&&t!==""&&n.length)&&(r=n.find(".intro-inner-content").first(),r.length)&&(f='<div class="intro-video-wrapper"><div class="intro-inner-video"><a href="#" class="btn-video-close" aria-label="Close"><\/a><iframe id="video" class="intro-inner-video-iframe" type="text/html" width="640" height="390" src="'+t+'" frameborder="0"><\/iframe><\/div><div>',r.prepend(f),$(".intro-inner .intro-inner-video").clone().attr("class","intro-inner-video-cloned").prependTo($(".intro-inner-image")).parent().find("#video").attr("id","video-cloned"))});$("#intro-link-video").on("click",function(i){var f=$(this),r=f.closest(".intro-inner"),u;i.preventDefault();r.length||(u=$("#video-secondary"),u.length&&(r=u));r.addClass("video-visible");setTimeout(function(){$(".intro-inner iframe:visible").attr("id")=="video"?n.playVideo():$(".intro-inner iframe:visible").attr("id")=="video-cloned"&&t.playVideo();f.hide()},1)});$(".btn-video-close").on("click",function(i){var r,u;i.preventDefault();r=$(this).closest(".intro-inner");r.length||(u=$("#video-secondary"),u.length&&(r=u));r.removeClass("video-visible");n.pauseVideo();t.pauseVideo();$("#intro-link-video").show()});$(".btn-article").on("click",function(n){var t,i;n.preventDefault();t=$(this).closest(".intro-inner");t.length||(i=$("#video-secondary"),i.length&&(t=i));t.addClass("video-visible");u.playVideo()});$("#video, #video-cloned, #article-video").load(function(){var n=typeof window.location.hash!="undefined"&&window.location.hash=="#/Auslan";n&&$("#intro-link-video")[0].click()}).each(function(){this.complete&&$(this).load()})}},EventsSection:function(){var t=$("#events-section"),i=!1,n;if(t.length){for(n=window.location.href,n=n.split("/"),x=0;x<n.length;x++)if(n[x]=="Events"){i=!0;break}i&&$("html,body").animate({scrollTop:t.offset().top-$(".header").first().height()},1e3)}},ContentCloning:function(){$(".nav").clone().addClass("nav-cloned").appendTo(".menu-sidebar-container");$(".search").clone().addClass("search-cloned").appendTo(".menu-sidebar-container");$(".nav-utilities").clone().addClass("nav-utilities-cloned").appendTo(".menu-sidebar-container");$(".subscribe").clone().attr("class","subscribe subscribe-cloned").appendTo(".menu-sidebar-container");$(".header-socials").clone().addClass("header-socials-cloned").appendTo(".menu-sidebar-container");$(".intro-inner .intro-inner-title").clone().addClass("intro-inner-title-cloned").appendTo($(".intro-inner-image"));$(".service").each(function(){$(this).find(".service-title").clone().addClass("service-title-cloned").appendTo($(this).find(".service-image"))});$(".widgets-events").clone().find(".hsubmit-form").addClass("widget-search-form-cloned").appendTo($(".section-events-container"));$(".widget-course").clone().addClass("widget-course-cloned").appendTo($(".section-event-container"));$(".education-service-image").each(function(){$(this).clone().addClass("education-service-image-cloned").prependTo($(this).parent())})},MenuToggle:function(){var n=$(window),t=n.width(),u=n.scrollTop(),i,r=debounce(function(){t=n.width();i=t<=1279?!0:!1},250);n.on("load resize",r);$(".btn-menu").on("click",function(n){n.preventDefault();$(this).closest("html").toggleClass("menu-sidebar-visible")});$(document).on("click",function(n){var t=$(n.target);t.is(".menu-sidebar")||t.parents(".menu-sidebar").length||t.is(".btn-menu")||t.parents(".btn-menu").length||$(".menu-sidebar-visible").removeClass("menu-sidebar-visible")});$(".nav-item-arrow").on("click",function(n){n.preventDefault();$(this).closest("li").addClass("submenu-visible");n.stopPropagation()});$(".nav-link-back").on("click",function(n){n.preventDefault();$(this).closest("li").removeClass("submenu-visible")})},CheckboxFallback:function(){function t(n,t){n.is(":checked")?(n.addClass("checked"),t.is(".checkbox-list-vertical")||n.parent().addClass("checked")):(n.removeClass("checked"),t.is(".checkbox-list-vertical")||n.parent().removeClass("checked"))}var n=$(".checkbox");n.length&&n.each(function(){var n=$(this),i=n.find("input[type=checkbox]");i.length&&i.each(function(){var i=$(this);t(i,n);i.on("change",function(){var i=$(this);t(i,n)})})})},InitPaymentOptions:function(){$(".col-payment .radio-toggle").each(function(){var r=$(this).data("toggle-target"),t=$(this).data("toggle-class"),i=$(this).parents(".col-payment").find("."+r),n=$(this).find("input");n.on("change",function(){if($(this).is(":checked")){i.addClass(t);var n=$(this).closest(".row").find(".radio-toggle input:not(:checked)");n.trigger("change");$(window).width()<768&&$("html, body").animate({scrollTop:$(this).parents(".panel-payment").offset().top-127},300)}else i.removeClass(t)});n.is(":checked")&&n.trigger("change")})},NavServices:function(){var n=debounce(function(){var i=$(window).width(),r=$(".nav-multi-level"),u=r.height(),n=$(".intro-category"),f=$(".intro-category").height(),t=u+100-f;i>1280&&t>0?n.css("margin-bottom",t):n.css("margin-bottom",0)},250);$(window).on("load resize",n)},SearchToggle:function(){var n=$(".header .search form"),t;$(".btn-search-expand").on("click",function(n){n.preventDefault();var t=$(this).closest(".header");t.toggleClass("search-visible");t.is(".search-visible")?t.addClass("colored"):t.removeClass("colored");setTimeout(function(){t.find(".search-form input[type=text]").first().focus()},100)});t=debounce(function(){var t=$(window).width(),i=$(".container").width();t>1280?n.css("width",i-260):n.css("width","auto")},250);$(window).on("load resize",t)},EqualizeHieght:function(){$.fn.equalizeHeight=function(n){for(var i=0,r,u=$(window).width(),f=n===undefined||n===!1?!1:!0,e=u<768,t=0;t<this.length;t++)$(this[t]).css("height","auto"),r=$(this[t]).outerHeight(),i<r&&(i=r);return f?$(this).css("height",i+"px"):e?$(this).css("height","auto"):$(this).css("height",i+"px")};$(window).on("load resize",function(){var n=$(window).width();isMobile=n<768;$(".service-thumb").length&&$(".service-thumb").equalizeHeight(!0);$(".update-head").length&&$(".update-head").equalizeHeight(!0);$(21)&&$(".updates .update-body").equalizeHeight(!0);$(".events-locations").length&&$(".events-locations .event").equalizeHeight(!0);$(".contact-offices .row").each(function(){$(this).find(".contact-office-content").equalizeHeight(!1)})})},PlaceholdersFallback:function(){$.fn.doPlaceholders=function(){if($.support.placeholder)return this;var n=this.filter(function(){return!$(this).data("didPlaceholders")});n.on("focus blur",function(n){var t=this.getAttribute("placeholder");n.type==="focus"&&t===this.value?this.value="":n.type==="blur"&&this.value===""&&(this.value=t)});return n.each(function(){this.value===""&&(this.value=this.getAttribute("placeholder"))}),n.data("didPlaceholders",!0),n};$.support.placeholder=function(){return"placeholder"in document.createElement("input")}();$.support.placeholder||$("input[placeholder], textarea[placeholder]").doPlaceholders()},LoadPopups:function(){$(".popup-link").magnificPopup({type:"ajax"});$("body").on("click",".popup-close",function(n){n.preventDefault();$(".popup-link").magnificPopup("close")});$(".gallery-items").magnificPopup({mainClass:"gallery-popup",delegate:".gallery-link",type:"image",gallery:{enabled:!0},callbacks:{open:function(){$(".mfp-arrow").appendTo(".mfp-content")}}})},StickyHeader:function(){var i=$(window),n=$(".page-wrapper--home .header"),t=n.find(".logo"),u=$("html"),f=t.data("svg-fallback"),r=t.data("svg-fallback-colored"),e=debounce(function(){var o=i.width(),e=i.scrollTop();u.hasClass("no-svg")&&(n.length||$(".nav-visible").length?t.attr("data-svg-fallback",e>0?r:f):n.length||t.attr("data-svg-fallback",r),ProjectFunctions.SvgFallback());e>0?n.addClass("colored"):n.is(".search-visible")||n.removeClass("colored")},20);$(window).on("load scroll resize",e)},mainNavHovers:function(){var n=$(window),t=$(".logo").data("svg-fallback"),i=$(".logo").data("svg-fallback-colored");if(n.width()>1263){$(".header").on("mouseenter",function(){$(this).closest("body").addClass("nav-visible");$("html").hasClass("no-svg")&&$(".nav-visible").length&&($(".logo").attr("data-svg-fallback",i),ProjectFunctions.SvgFallback())});$(".header").on("mouseleave",function(){$(this).closest("body").removeClass("nav-visible");$("html").hasClass("no-svg")&&!$(".colored").length&&($(".logo").attr("data-svg-fallback",t),ProjectFunctions.SvgFallback())});$(".nav").on("mouseenter",function(){$(this).closest("body").addClass("faded")});$(".nav").on("mouseleave",function(){$(this).closest("body").removeClass("faded")})}},LoadMasonry:function(){var n=$(".news-items-inner");n.each(function(){$(this).imagesLoaded(function(){n.masonry().masonry("destroy");n.masonry({itemSelector:".news-item"});var t=debounce(function(){n.masonry("layout")},250);$(window).on("resize",t)})})},ImageSourceChanging:function(){var t=$(this),n=debounce(function(){var t=$(window),n=t.width();$(".has-two-images").each(function(){var t=$(this).find("> img"),u=t.attr("src"),i=$(this).data("desktop"),r=$(this).data("mobile");n>=1280?t.attr("src",i):t.attr("src",r);ProjectFunctions.FullsizeImage()});$(".has-three-images").each(function(){var t=$(this).find("> img"),f=t.attr("src"),i=$(this).data("desktop"),r=$(this).data("tablet"),u=$(this).data("mobile");n>=1263?t.attr("src",i):n>=768?t.attr("src",r):t.attr("src",u);ProjectFunctions.FullsizeImage()})},250);$(window).on("load resize",n)},DonationAmount:function(){var n=$("#divDonationAmount > :input"),r=$("#txtDonateAmount"),u=/^\d+$/,t,i;if(n.length>0){t=$(".donation-link");t.on("click",function(i){if(i.preventDefault(),i.stopPropagation(),t.removeClass("donation-link-active"),$(this).addClass("donation-link-active"),$(this).data("amount")=="other")r.on("keyup",function(n){n.which==13&&n.preventDefault()}).on("change",function(){var i=$(this),t=i.val();u.test(t)&&n.val(t)});else n.val($(this).data("amount"))});n.val()!=""&&(i=$('[data-amount^="'+n.val()+'"'),i.length&&i[0].click())}},ResponsiveTable:function(){$("table tr").each(function(){var n=$(this),t=n.closest("table").find("th");n.find("td").each(function(n){$(this).prepend("<div class='mobile-header'>"+t.eq(n).text()+"<\/div>")})})},SearchBoxBehaviour:function(){var n=$(".hsubmit-form");n.length&&n.each(function(n){var i=$(this),o=i.find(".hsubmit-form__label").first(),r=i.find(".hsubmit-form__submit").first(),u=i.find(".hsubmit-form__submit--btn").first(),t=i.find(".hsubmit-form__field").first(),s,h,f,e;if(u.attr("tabindex","-1"),i.is('[class*="-cloned"]')){s=t.attr("id");h=r.attr("id");t.attr({id:"hsubmit-form_field_"+n,name:"hsubmit-form_field_"+n});r.attr({id:"hsubmit-form_submit_"+n,name:"hsubmit-form_submit_"+n});o.length&&o.removeAttr("id").attr("for","hsubmit-form_field_"+n);f=$("#"+h);e=$("#"+s);u.on("click",function(n){n.preventDefault();e.val(t.val());f.click()});t.on("keyup",function(n){n.keyCode==13&&(e.val(t.val()),f.click())})}else{u.on("click",function(n){n.preventDefault();r.click()});t.on("keyup",function(n){n.keyCode==13&&r.click()})}})},SharePage:function(){$(document).on("click touchstart",".intro-link-share, .btn-share",function(n){if(n.preventDefault(),$("html.touch").length){var t=$(".loading-underlay");t.toggle()}addthis_sendto("more")});$(document).on("click",".touch .at4m-menu-cancel, .touch #at3winheaderclose",function(n){n.preventDefault();var t=$(".loading-underlay");t.hide()})},SetRowHeights:function(){var n=$(".set-row-height"),t;if(n.length){t=debounce(function(){n.each(function(){var t=$(this),i=t.find(".set-row-height__col"),n=0;i.each(function(){var t=$(this);t.height()>n&&(n=t.height())});n!=0&&t.css("height",n)})},250);$(window).on("load resize",t)}},ContentVideos:function(){var t=$(".nice-vid"),n;t.length&&(n=[],t.each(function(t){var r=$(this),u=r.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]').first(),f=r.find(".nice-vid__play").first(),i;u.length&&f.length&&(i="nice-vid__iframe_"+t,u.attr("id",i),n.push({frameId:i,playBtnSelector:f}))}),n.length)&&(onYouTubeIframeAPIReady=function(){for(x=0;x<n.length;x++){var t=n[x],i=$(t.playBtnSelector),r=new YT.Player(t.frameId,{});i.on("click",function(n){n.preventDefault();var t=$(this);r.playVideo();t.hide()})}})},SetupCheckboxAutoBindings:function(){$("input[type=checkbox][data-checked-target]").each(function(){var n=$(this).data("checked-target");$(this).is(":checked")?$("[data-checked-id='"+n+"']").show():$("[data-checked-id='"+n+"']").hide();$(this).change(function(){$(this).is(":checked")?$("[data-checked-id='"+n+"']").show():$("[data-checked-id='"+n+"']").hide()})})},LoadDate:function(){$(".form-events-group-date .datepicker-from").datepicker({dateFormat:"dd/mm/yy",minDate:0,onClose:function(n){$(".form-events-group-date .datepicker-to").datepicker("option","minDate",n)}});$(".form-events-group-date .datepicker-to").datepicker({dateFormat:"dd/mm/yy",minDate:0,onClose:function(n){$(".form-events-group-date .datepicker-from").datepicker("option","maxDate",n)}});var n=$(".datepicker + .datepicker-trigger");n.on("click",function(n){n.preventDefault();var t=$(this),i=t.prev();i.focus()})},ClearForm:function(n,t){var r,i;if(typeof n!="undefined"&&(r=$(n),r.find("input, select").each(function(){var n=$(this),t=n.is("select")?"select":n.attr("type");if(typeof t!="undefined")switch(t){case"submit":break;case"radio":case"checkbox":n[0].checked=!1;n.change();break;case"select":n[0].selectedIndex=0;break;case"text":case"password":case"textarea":case"email":case"number":case"search":default:n.val("")}}),typeof t!="undefined")){if(i=$(t),!i.length)return;i.click()}},SuburbAutocomplete:function(){var n=$(".autocomplete-text-selector-wrapper input"),t;if(n){t=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("Name"),queryTokenizer:Bloodhound.tokenizers.obj.whitespace,identify:function(n){return n.ID},remote:{cache:!1,url:"/Custom/WebServices/SuburbService.asmx/GetSuburbs",prepare:function(n,t){var i=n;return t.type="POST",t.beforeSend=function(n,t){t.data=JSON.stringify({startsWith:i})},t.contentType="application/json; charset=utf-8",t},transform:function(n){return n.d}}});n.typeahead({minLength:3},{name:"suburb-data",source:t}).on("typeahead:selected",function(n,t){n.preventDefault();$("#divHiddenWrapper").find("input").val(t)});n.on("keypress",function(n){n.keyCode==13&&n.preventDefault()})}},EventsFormBindings:function(){$(".btn-reset-events-form").on("click",function(){ProjectFunctions.ClearForm("#events-section",".btn-form-events-submit")})},ShareDonatePage:function(){var u=$("#twitterShareButton"),r=$("#divDonateAmount > input"),t=r.val(),i,n;if(typeof t!="undefined"){if(i=$(".donate-share-facebook"),n=$(".donate-share-twitter"),i.length)$(document).on("click",".donate-share-facebook",function(n){n.preventDefault();var t=$(".at-share-btn.at-svc-facebook");t.length&&t[0].click()});n.length&&n.each(function(){var n=$(this),i="I made a donation of $"+t+" through Deaf Services.";n.attr({href:"https://twitter.com/intent/tweet?text="+encodeURIComponent(i),target:"_blank","data-via":"DeafServicesQLD"})})}},FontSizeControls:function(n,t){var i,r,u,f;if(t=typeof t=="undefined"||t==!0,n=typeof n!="undefined"&&n==!0,t){$(".nav-accessibility-link").on("click",function(n){n.preventDefault();var t=$(this),i=!t.is(".nav-accessibility-link-increase");ProjectFunctions.FontSizeControls(i,!1)});return}(i=$("[data-font-alter], .intro-inner-text"),i.length)&&(r=5,u=1,i.each(function(){var f=$(this),i=parseInt(f.css("font-size")),t=f.data("font-original");typeof t=="undefined"||t==""?(t=i,f.attr("data-font-original",i)):t=parseInt(t);n==!1?i<t+r&&f.css("font-size",i+u+"px"):i>t-r&&f.css("font-size",i-u+"px")}),f=$(".news-items-inner"),f.each(function(){$(this).masonry()}),$(window).resize())},BackLink:function(){var n=$(".bar-link-back");n.on("click",function(n){n.preventDefault();window.history.back()})},CourseShare:function(){var n=$("#course-name-complete"),i,r;if(n.length&&(n=n.text(),n!="")){if(i=$(".course-share-facebook"),r=$(".course-share-twitter"),i.length){var t=$("#js-course-info").length?$("#js-course-info").first():[],n=t.length&&t.find("#js-course-name").length?$.trim(t.find("#js-course-name").first().text()):"",u=t.length&&t.find("#js-course-url").length?$.trim(t.find("#js-course-url").first().text()):"";if(n!==""&&u!=="")$(document).on("click",".course-share-facebook",function(t){t.preventDefault();var i=$(".at-share-btn.at-svc-facebook");i.length&&(addthis.update("share","url",u),addthis.update("share","title",n),i[0].click())});else i.hide()}r.length&&r.each(function(){var u=$(this),t,i,r;typeof courseType!="undefined"?courseType==="a"?(t="applied for",i="Access Training & Education"):courseType==="b"&&(t="enrolled in",i="Deaf Services"):(t="began the",i="Deaf Services");r="I just "+t+" the "+n+" course, through "+i+".";u.attr({href:"https://twitter.com/intent/tweet?text="+encodeURIComponent(r),target:"_blank"})})}},RadioButtons:function(n){var t=$(".radio"),n=typeof n=="undefined"||n==!0;t.length&&t.each(function(){var t=$(this),r=t.find("label").first(),i=t.find("input[type=radio]");if(r.length&&i.length&&(i.is(":checked")?t.addClass("checked"):t.removeClass("checked"),n))i.on("change",function(n){n.preventDefault();ProjectFunctions.RadioButtons(!1)})})},BizFormScroll:function(){var i=$(".form-class-action"),r=$(".form-class-btn"),n=$(".form-wrapper"),t=Sys.WebForms.PageRequestManager.getInstance();typeof n!="undefined"&&typeof i!="undefined"&&typeof r!="undefined"&&(t.add_pageLoaded(ProjectFunctions.BizFormScroll),t.add_endRequest(function(){var t=$(".EditingFormErrorLabel");typeof t.val()=="undefined"&&typeof n.offset()!="undefined"&&$("html, body").animate({scrollTop:n.offset().top-300},1e3)}))},FormSubmitButtons:function(){$(document).on("click","[data-formprocessing]",function(n){var i=$(this).attr("data-formprocessing-validationgroup"),t;if(i==null||i===""||Page_ClientValidate(i)){if(t=$(this),!t.is(":visible")){n.preventDefault();return}t.hide();t.siblings(".form-processing").show()}})},HeaderPanel:function(){var t="",i=$("[data-js-headerpanel]").first(),n=i.attr("data-js-version");try{t=localStorage.getItem("__PANEL_DATE__")}catch(r){}typeof n!="undefined"&&n!==t&&(localStorage.setItem("__PANEL_DATE__",n),i.show());$(document).on("click","[data-js-headerpanel-close]",function(){var t=$(this),n=t.closest("[data-js-headerpanel]");n.length&&n.slideUp(600)})}}}()