function initScroll(){if(window&&"IntersectionObserver"in window){var a=document.querySelector("footer");a&&(new IntersectionObserver(onIntersection,{rootMargin:"100px 0px",threshold:.25})).observe(a)}}function onIntersection(a){if(a&&!(0>=a.length)){var b=document.querySelector(".footer-actions:not(.sticky)");b&&(a[0].isIntersecting?b.classList.remove("visible"):b.classList.add("visible"))}}function init_download_CRArchiv(a,b){initDownloadButtons(a,b);initDownloadActiveButton()}
function initDownloadButtons(a,b){var c=document.querySelectorAll("button.download-crarchiv");c&&c.forEach(function(c){bindDownloadDocument(c,a,b)})}function bindDownloadDocument(a,b,c){a.addEventListener("click",function(a){downloadDocument(a,b,c)})}
function downloadDocument(a,b,c){a.preventDefault();var d=document.getElementById("formDownloadCRArchiv:loginCRArchiv");d?d.click():(setDownloadParam("uid",b),setDownloadParam("loeschung",c),setDownloadParam("trnr",a.target.getAttribute("data-trnr")),setDownloadParam("trdatum",a.target.getAttribute("data-trdatum")),setDownloadParam("dokumenttyp",a.target.getAttribute("data-dokumenttyp")),(a=document.getElementById("formDownloadCRArchiv:downloadCRArchiv"))&&a.click())}
function setDownloadParam(a,b){var c=document.getElementById("formDownloadCRArchiv:"+a);c&&(c.value=b)}function initDownloadActiveButton(){var a=document.querySelector("button.download-crarchiv-statuten");a&&a.addEventListener("click",function(a){downloadActiveDocument(a)})}
function downloadActiveDocument(a){a.preventDefault();(a=document.getElementById("formDownloadCRArchivAktiv:loginCRArchivAktiv"))?a.click():(a=document.getElementById("formDownloadCRArchivAktiv:downloadCRArchivAktiv"))&&a.click()}(function(a){cr_clear_filter=function(b,c){a("."+b).each(function(){PF(c).clearFilters()})}})(jQuery);(function(a){activate_top_menu_items=function(){a.each(a(".menu-identifier"),function(){a("."+this.id).addClass("active")})};a(document).ready(function(){activate_top_menu_items()})})(jQuery);
(function(a){function b(){a("#closePopoverHideAndSeek").click(function(){"true"!=localStorage.popoverShownHideAndSeek&&(a("#idPortalForm\\:hideAndSeekSwitcherOff").popover("destroy"),localStorage.popoverShownHideAndSeek=!0);a("#idPortalForm\\:hideAndSeekSwitcherOff").attr("title",c)})}var c;popover_info_hideandseek=function(d,e){if("true"!=localStorage.popoverShownHideAndSeek){a("#idPortalForm\\:hideAndSeekSwitcherOff").popover({html:!0,title:"",content:e,placement:"bottom"});c=a("#idPortalForm\\:hideAndSeekSwitcherOff").attr("data-original-title");
var f=d+'\x3ca id\x3d"closePopoverHideAndSeek" class\x3d"closePopover" href\x3d"#");"\x3e\x26times;\x3c/a\x3e';a("#idPortalForm\\:hideAndSeekSwitcherOff").attr("data-original-title",f);a("#idPortalForm\\:hideAndSeekSwitcherOff").popover("show")}b()}})(jQuery);
(function(a){function b(){a("#closePopoverHighlight").click(function(){"true"!=localStorage.popoverShownHighlight&&(a("#showRefId1").popover("destroy"),localStorage.popoverShownHighlight=!0);a("#showRefId1").attr("title",c)})}var c;popover_info_highlight_ref=function(d,e){if("true"!=localStorage.popoverShownHighlight){a("#showRefId1").popover({html:!0,title:"",content:e,placement:"bottom"});c=a("showRefId1").attr("data-original-title");var f=d+'\x3ca id\x3d"closePopoverHighlight" class\x3d"closePopover" href\x3d"#");"\x3e\x26times;\x3c/a\x3e';
a("#showRefId1").attr("data-original-title",f);a("#showRefId1").popover("show")}b()}})(jQuery);
(function(a){register_portal_tooltip=function(){a("table.table \x3e tbody \x3e tr").tooltip({title:function(){var b=a(this).find("a");if(!b.length)return"";b=b[0].text.replace(/([a-zA-Z])/mg,"");var c=a("div[data-section\x3d'shab'] tbody \x3e tr.ref"+b).find("td"),d=a("div#translationDiv");b=d.attr("data-translation-shabnr");var e=d.attr("data-translation-shabdatum"),f=d.attr("data-translation-trdatum");d=d.attr("data-translation-trNr");var g=a(c.get(1)).text().trim(),h=a(c.get(2)).text().trim(),
k=a(c.get(3)).text().trim();c=a(c.get(4)).text().trim();return d+" "+g+" "+f+" "+h+"\x3cbr /\x3e"+b+" "+k+" "+e+" "+c},html:!0,tooltipClass:"custom-tooltip-styling",delay:1E3})}})(jQuery);
PrimeFaces.locales.de={closeText:"Schlie\u00dfen",prevText:"Zur\u00fcck",nextText:"Weiter",monthNames:"Januar Februar M\u00e4rz April Mai Juni Juli August September Oktober November Dezember".split(" "),monthNamesShort:"Jan Feb M\u00e4rz Apr Mai Jun Jul Aug Sep Okt Nov Dez".split(" "),dayNames:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),dayNamesShort:"Son Mon Die Mit Don Fre Sam".split(" "),dayNamesMin:"S;M;D;M ;D;F ;S".split(";"),weekHeader:"Woche",firstDay:1,isRTL:!1,
showMonthAfterYear:!1,yearSuffix:"",timeOnlyTitle:"Nur Zeit",timeText:"Zeit",hourText:"Stunde",minuteText:"Minute",secondText:"Sekunde",currentText:"Aktuelles Datum",ampm:!1,month:"Monat",week:"Woche",day:"Tag",allDayText:"Ganzer Tag"};
PrimeFaces.locales.fr={closeText:"Fermer",prevText:"Pr\u00e9c\u00e9dent",nextText:"Suivant",monthNames:"Janvier F\u00e9vrier Mars Avril Mai Juin Juillet Ao\u00fbt Septembre Octobre Novembre D\u00e9cembre".split(" "),monthNamesShort:"Jan F\u00e9v Mar Avr Mai Jun Jul Ao\u00fb Sep Oct Nov D\u00e9c".split(" "),dayNames:"Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi".split(" "),dayNamesShort:"Dim Lun Mar Mer Jeu Ven Sam".split(" "),dayNamesMin:"DLMMJVS".split(""),weekHeader:"Semaine",firstDay:1,
isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",timeOnlyTitle:"Choisir l'heure",timeText:"Heure",hourText:"Heures",minuteText:"Minutes",secondText:"Secondes",currentText:"Maintenant",ampm:!1,month:"Mois",week:"Semaine",day:"Jour",allDayText:"Toute la journ\u00e9e"};
PrimeFaces.locales.it={closeText:"Chiudi",prevText:"Precedente",nextText:"Prossimo",monthNames:"Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre".split(" "),monthNamesShort:"Gen Feb Mar Apr Mag Giu Lug Ago Set Ott Nov Dic".split(" "),dayNames:"Domenica Luned\u00ec Marted\u00ec Mercoled\u00ec Gioved\u00ec Venerd\u00ec Sabato".split(" "),dayNamesShort:"Dom Lun Mar Mer Gio Ven Sab".split(" "),dayNamesMin:"D;L;M;M ;G;V ;S".split(";"),weekHeader:"Sett",firstDay:1,
isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",timeOnlyTitle:"Solo Tempo",timeText:"Ora",hourText:"Ore",minuteText:"Minuto",secondText:"Secondo",currentText:"Data Odierna",ampm:!1,month:"Mese",week:"Settimana",day:"Giorno",allDayText:"Tutto il Giorno"};