PageSourceSearch

https://service.clausthal-zellerfeld.de/o/OpenRathausTheme/js/or.js?1790786714000

js clausthal-zellerfeld.de collected 2026-10-02 06:18:07 UTC 62,647 bytes, 126 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_ES6=!1;$jscomp.ASSUME_ES2020=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.INSTRUMENT_ASYNC_CONTEXT=!0;
2$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(c,g,k){if(c==Array.prototype||c==Object.prototype)return c;c[g]=k.value;return c};$jscomp.getGlobal=function(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var g=0;g<c.length;++g){var k=c[g];if(k&&k.Math==Math)return k}throw Error("Cannot find global object");};
3$jscomp.global=$jscomp.ASSUME_ES2020?globalThis:$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE=typeof Symbol==="function"&&typeof Symbol("x")==="symbol";$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(c,g,k){if(!k||c!=null){k=$jscomp.propertyToPolyfillSymbol[g];if(k==null)return c[g];k=c[k];return k!==void 0?k:c[g]}};
4$jscomp.TYPED_ARRAY_CLASSES=function(){var c="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");$jscomp.global.BigInt64Array&&(c.push("BigInt64"),c.push("BigUint64"));return c}();$jscomp.polyfillTypedArrayMethod=function(c,g,k,m){if(g)for(var p=0;p<$jscomp.TYPED_ARRAY_CLASSES.length;p++){var l=$jscomp.TYPED_ARRAY_CLASSES[p]+"Array.prototype."+c;$jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,g,k,m):$jscomp.polyfillUnisolated(l,g,k,m)}};
5$jscomp.polyfill=function(c,g,k,m){g&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(c,g,k,m):$jscomp.polyfillUnisolated(c,g,k,m))};$jscomp.polyfillUnisolated=function(c,g,k,m){k=$jscomp.global;c=c.split(".");for(m=0;m<c.length-1;m++){var p=c[m];if(!(p in k))return;k=k[p]}c=c[c.length-1];m=k[c];g=g(m);g!=m&&g!=null&&$jscomp.defineProperty(k,c,{configurable:!0,writable:!0,value:g})};
6$jscomp.polyfillIsolated=function(c,g,k,m){var p=c.split(".");c=p.length===1;m=p[0];m=!c&&m in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var l=0;l<p.length-1;l++){var q=p[l];if(!(q in m))return;m=m[q]}p=p[p.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&k==="es6"?m[p]:null;g=g(k);g!=null&&(c?$jscomp.defineProperty($jscomp.polyfills,p,{configurable:!0,writable:!0,value:g}):g!==k&&($jscomp.propertyToPolyfillSymbol[p]===void 0&&(k=Math.random()*1E9>>>0,$jscomp.propertyToPolyfillSymbol[p]=$jscomp.IS_SYMBOL_NATIVE?
7$jscomp.global.Symbol(p):$jscomp.POLYFILL_PREFIX+k+"$"+p),$jscomp.defineProperty(m,$jscomp.propertyToPolyfillSymbol[p],{configurable:!0,writable:!0,value:g})))};$jscomp.polyfill("Array.prototype.includes",function(c){return c?c:function(g,k){var m=this;m instanceof String&&(m=String(m));var p=m.length;k=k||0;for(k<0&&(k=Math.max(k+p,0));k<p;k++){var l=m[k];if(l===g||Object.is(l,g))return!0}return!1}},"es7","es3");
8function enableAccessibleTheme(){$("body").addClass("barrierefrei").removeClass("or_theme");localStorage.setItem("barrierefrei","true");$(".toggle_contrast a").attr("aria-pressed","true")}function disableAccessibleTheme(){$("body").removeClass("barrierefrei").addClass("or_theme");localStorage.removeItem("barrierefrei");$(".toggle_contrast a").attr("aria-pressed","false")}
9$(document).ready(function(){$(".toggle_contrast").click(function(c){c.preventDefault();typeof localStorage!=="undefined"&&localStorage.getItem("barrierefrei")==="true"?disableAccessibleTheme():enableAccessibleTheme()});typeof localStorage!=="undefined"&&localStorage.getItem("barrierefrei")==="true"?enableAccessibleTheme():disableAccessibleTheme()});
10!function(){function c(){try{if(!("CSS"in self&&"supports"in self.CSS&&self.CSS.supports("selector(:has(div))")))return!1}catch(g){return!1}return!0}!function(g){function k(t){for(var v="",C=0,n=0,a=!1,b=!1,d=!1,e=!1,f=0;f<t.length;f++){var h=t[f];if(a)v+=h,a=!1;else if(b)h===d&&(b=!1),v+=h;else switch(":has("!==v.toLowerCase()||e||(e=!0,C=f,v=""),h){case ":":e||(v="");v+=h;continue;case "(":e&&n++;v+=h;continue;case ")":if(e){if(0===n)return{innerQuery:v,start:C,end:f-1};n--}v+=h;continue;case "\\":v+=
11h;a=!0;continue;case '"':case "'":v+=h;b=!0;d=h;continue;default:v+=h}}return!1}function m(t,v){for(var C=[],n="",a=!1,b=!1,d=!1,e=0,f=0;f<t.length;f++){var h=t[f];if(a)n+=h,a=!1;else if(b)h===d&&(b=!1),n+=h;else switch(":scope"===n.toLowerCase()&&!e&&/^[\[\.:\\"\s|+>~#&,)]/.test(h||"")&&(C.push(n.slice(0,n.length-6)),C.push("["+v+"]"),n=""),h){case ":":C.push(n);n="";n+=h;continue;case "\\":n+=h;a=!0;continue;case '"':case "'":n+=h;b=!0;d=h;continue;case "[":n+=h;e++;continue;case "]":n+=h;e>0&&
12e--;continue;default:n+=h}}return":scope"===n.toLowerCase()&&(C.push(n.slice(0,n.length-6)),C.push("["+v+"]"),n=""),0===C.length?t:C.join("")+n}function p(t){for(var v,C,n=[],a="",b=!1,d=!1,e=!1,f=!1,h=0,r=0;r<t.length;r++){var y=t[r];
12if(b)a+=y,b=!1;else switch(y){case ",":if(d){a+=y;continue}if(h>0){a+=y;continue}n.push(a);a="";continue;case "\\":a+=y;b=!0;continue;case '"':case "'":if(d&&y===e){a+=y;d=!1;continue}a+=y;d=!0;e=y;continue;case "(":case ")":case "[":case "]":if(d){a+=y;continue}if(v=
13y,"("===(C=f)&&")"===v||"["===C&&"]"===v){a+=y;0===--h&&(f=!1);continue}if(y===f){a+=y;h++;continue}a+=y;h++;f=y;continue;default:a+=y}}return n.push(a),n}function l(t,v,C){var n=k(t);if(!n)return t;if(v)return!1;v=n.innerQuery;var a="q-has"+(Math.floor(9E6*Math.random())+1E6),b="["+a+"]";if(n.innerQuery.toLowerCase().indexOf(":has(")>-1){v=p(n.innerQuery);C=[];for(a=0;a<v.length;a++){b=v[a];if(!l(b,!0,function(){}))throw Error("Nested :has() is not supported");C.push(b)}var d=t.substring(0,n.start-
145);n=t.substring(n.end+2);return d+C.join(", ")+n}d=t.substring(0,n.start-5);n=t.substring(n.end+2);if(t=d+b+n,C(v,a),t.toLowerCase().indexOf(":has(")>-1)if(n=l(t,!1,C))return n;return t}function q(t,v){if("setAttribute"in t&&"querySelector"in t&&v(t),t.hasChildNodes()){t=t.childNodes;for(var C=0;C<t.length;++C)q(t[C],v)}}function B(t){return function(v){if(-1===v.toLowerCase().indexOf(":has(")||!k(v))return t.apply(this,arguments);if("getRootNode"in this)var C=this.getRootNode();else for(var n=this;n;)C=
15n,n=n.parentNode;n=this;n===g.document&&(n=g.document.documentElement);var a="q-has-scope"+(Math.floor(9E6*Math.random())+1E6);n.setAttribute(a,"");try{v=m(v,a);var b=[a],d=l(v,!1,function(y,G){b.push(G);y=p(y);for(var M=0;M<y.length;M++){var F=y[M].trim(),x=F;x="\x3e"===F[0]||"+"===F[0]||"~"===F[0]?F.slice(1).trim():":scope "+F;q(C,function(J){if(J.querySelector(x))switch(F[0]){case "~":case "+":for(var P=J.childNodes,I=0;I<P.length;I++){var O=P[I];if("setAttribute"in O){var S="q-has-id"+(Math.floor(9E6*
16Math.random())+1E6);O.setAttribute(S,"");J.querySelector(":scope ["+S+"] "+F)&&O.setAttribute(G,"");O.removeAttribute(S)}}break;case "\x3e":S="q-has-id"+(Math.floor(9E6*Math.random())+1E6);J.setAttribute(S,"");J.querySelector(":scope["+S+"] "+F)&&J.setAttribute(G,"");J.removeAttribute(S);break;default:J.setAttribute(G,"")}})}});arguments[0]=d;var e=t.apply(this,arguments);if(n.removeAttribute(a),b.length>0){d=[];for(var f=0;f<b.length;f++)d.push("["+b[f]+"]");var h=g.document.querySelectorAll(d.join(","));
17for(d=0;d<h.length;d++){var r=h[d];for(f=0;f<b.length;f++)r.removeAttribute(b[f])}}return e}catch(y){if(n.removeAttribute(a),b.length>0){d=[];for(f=0;f<b.length;f++)d.push("["+b[f]+"]");h=g.document.querySelectorAll(d.join(","));for(d=0;d<h.length;d++)for(r=h[d],f=0;f<b.length;f++)r.removeAttribute(b[f])}e="";try{t.apply(this,[":core-web-does-not-exist"])}catch(G){(e=G.message)&&(e=e.replace(":core-web-does-not-exist",v))}e||(e="Failed to execute 'querySelector' on 'Document': '"+v+"' is not a valid selector.");
18try{throw new DOMException(e);}catch(G){throw Error(e);}}}}try{if(g.document.querySelector(":has(*, :does-not-exist, \x3e *)"),!g.document.querySelector(":has(:scope *)")&&CSS.supports("selector(:has(div))"))return}catch(t){}var z=B(g.Element.prototype.querySelector);g.Element.prototype.querySelector=function(t){return z.apply(this,arguments)};var u=B(g.Element.prototype.querySelectorAll);if(g.Element.prototype.querySelectorAll=function(t){return u.apply(this,arguments)},g.Element.prototype.matches){var A=
19B(g.Element.prototype.matches);g.Element.prototype.matches=function(t){return A.apply(this,arguments)}}if(g.Element.prototype.closest){var D=B(g.Element.prototype.closest);g.Element.prototype.closest=function(t){return D.apply(this,arguments)}}if("Document"in g&&"prototype"in g.Document){var w=B(g.Document.prototype.querySelector);g.Document.prototype.querySelector=function(t){return w.apply(this,arguments)};var E=B(g.Document.prototype.querySelectorAll);if(g.Document.prototype.querySelectorAll=function(t){return E.apply(this,
20arguments)},g.Document.prototype.matches){var H=B(g.Document.prototype.matches);g.Document.prototype.matches=function(t){return H.apply(this,arguments)}}if(g.Document.prototype.closest){var L=B(g.Document.prototype.closest);g.Document.prototype.closest=function(t){return L.apply(this,arguments)}}}}(self);("object"==typeof window&&window||"object"==typeof self&&self||{}).cssHasPseudo=function(g,k){function m(){z&&cancelAnimationFrame(z);z=requestAnimationFrame(function(){l.forEach(function(u){var A=
21[],D=[];try{D=g.querySelectorAll(u.selector)}catch(w){return void(k.debug&&console.error(w))}[].forEach.call(D,function(w){A.push(w);q.innerHTML="\x3cx "+u.attributeName+"\x3e";w.setAttributeNode(q.children[0].attributes[0].cloneNode());g.documentElement.style.zoom=1;g.documentElement.style.zoom=null});
21u.nodes.forEach(function(w){-1===A.indexOf(w)&&(w.removeAttribute(u.attributeName),g.documentElement.style.zoom=1,g.documentElement.style.zoom=null)});u.nodes=A})})}function p(u){try{[].forEach.call(u.cssRules||
22[],function(A,D){if(A.selectorText){A.selectorText=A.selectorText.replace(/\.js-has-pseudo\s/g,"");try{for(var w=A.selectorText.toString(),E,H,L=[],t=0,v=!1,C=!1,n=0;n<w.length;n++){var a=w[n];switch(a){case "[":if(v){E+=a;continue}0===t?E="":E+=a;t++;continue;case "]":if(v){E+=a;continue}if(0===--t){var b=E;if("csstools-has-"!==b.slice(0,13))var d="";else{var e=b.slice(13).split("-");b="";for(var f=0;f<e.length;f++)b+=String.fromCharCode(parseInt(e[f],36));d=b}C&&L.push(d)}else E+=a;continue;case "\\":E+=
23w[n];E+=w[n+1];n++;continue;case '"':case "'":if(v&&a===H){v=!1;continue}if(v){E+=a;continue}v=!0;H=a;continue;default:""===E&&1===t&&"csstools-has-"===w.slice(n,n+13)&&(C=!0),E+=a}}w=[];for(E=0;E<L.length;E++)-1===w.indexOf(L[E])&&w.push(L[E]);if(0!==w.length){if(!k.mustPolyfill)return void u.deleteRule(D);for(D=0;D<w.length;D++){var h=w[D];L=l;var r=L.push;E=h;H=void 0;t=h;if(""===t)var y="";else{v="";for(C=0;C<t.length;C++)H=t.charCodeAt(C).toString(36),v+=0===C?H:"-"+H;y="csstools-has-"+v}r.call(L,
24{rule:A,selector:E,attributeName:y,nodes:[]})}}}catch(G){k.debug&&console.error(G)}}else p(A)})}catch(A){k.debug&&console.error(A)}}k||(k={});(k={hover:!!k.hover||!1,debug:!!k.debug||!1,observedAttributes:k.observedAttributes||[],forcePolyfill:!!k.forcePolyfill||!1}).mustPolyfill=k.forcePolyfill||!c();Array.isArray(k.observedAttributes)||(k.observedAttributes=[]);k.observedAttributes=k.observedAttributes.filter(function(u){return"string"==typeof u});k.observedAttributes=k.observedAttributes.concat("accept accept-charset accesskey action align allow alt async autocapitalize autocomplete autofocus autoplay buffered capture challenge charset checked cite class code codebase cols colspan content contenteditable contextmenu controls coords crossorigin csp data datetime decoding default defer dir dirname disabled download draggable enctype enterkeyhint for form formaction formenctype formmethod formnovalidate formtarget headers hidden high href hreflang http-equiv icon id importance integrity intrinsicsize inputmode ismap itemprop keytype kind label lang language list loop low manifest max maxlength minlength media method min multiple muted name novalidate open optimum pattern ping placeholder poster preload radiogroup readonly referrerpolicy rel required reversed rows rowspan sandbox scope scoped selected shape size sizes slot span spellcheck src srcdoc srclang srcset start step summary tabindex target title translate type usemap value width wrap".split(" "));
25var l=[],q=g.createElement("x");if([].forEach.call(g.styleSheets,p),k.mustPolyfill){(m(),"MutationObserver"in self)&&(new MutationObserver(function(u){u.forEach(function(A){[].forEach.call(A.addedNodes||[],function(D){1===D.nodeType&&D.sheet&&p(D.sheet)});[].push.apply(l,l.splice(0).filter(function(D){return D.rule.parentStyleSheet&&D.rule.parentStyleSheet.ownerNode&&g.documentElement.contains(D.rule.parentStyleSheet.ownerNode)}));m()})})).observe(g,{childList:!0,subtree:!0,attributes:!0,attributeFilter:k.observedAttributes});
26if(g.addEventListener("focus",m,!0),g.addEventListener("blur",m,!0),g.addEventListener("input",m),g.addEventListener("change",m,!0),k.hover&&("onpointerenter"in g?(g.addEventListener("pointerenter",m,!0),g.addEventListener("pointerleave",m,!0)):(g.addEventListener("mouseover",m,!0),g.addEventListener("mouseout",m,!0))),"defineProperty"in Object&&"getOwnPropertyDescriptor"in Object&&"hasOwnProperty"in Object)try{var B=function(u,A){if(u.hasOwnProperty(A)){var D=Object.getOwnPropertyDescriptor(u,A);
27D&&D.configurable&&"set"in D&&Object.defineProperty(u,A,{configurable:D.configurable,enumerable:D.enumerable,get:function(){return D.get.apply(this,arguments)},set:function(){D.set.apply(this,arguments);try{m()}catch(w){}}})}};"HTMLElement"in self&&HTMLElement.prototype&&B(HTMLElement.prototype,"disabled");["checked","selected","readOnly","required"].forEach(function(u){"HTMLButtonElement HTMLFieldSetElement HTMLInputElement HTMLMeterElement HTMLOptGroupElement HTMLOptionElement HTMLOutputElement HTMLProgressElement HTMLSelectElement HTMLTextAreaElement".split(" ").forEach(function(A){A in
28self&&self[A].prototype&&B(self[A].prototype,u)})})}catch(u){k.debug&&console.error(u)}var z=!1}}}();$(document).ready(function(){window.location.hash&&$(window.location.hash).collapse("show")});
29$(document).ready(function(){function c(p,l){l||(l=window.location.href);p=p.replace(/[\[\]]/g,"\\$\x26");return(p=(new RegExp("[?\x26]"+p+"(\x3d([^\x26#]*)|\x26|#|$)")).exec(l))?p[2]?decode
29URIComponent(p[2].replace(/\+/g," ")):"":null}if($("div").hasClass("search-area")){var g=c("search");g&&g.length>0&&($("#form-element-query").val(g),$("#form-element-suche-submit").click())}if(window.location.href.includes("suche")){g=c("search");var k=c("suche-ort"),m="";k&&(k=sucheGemeinde(k))&&(m+=k.join(","));
30g&&g.length>0&&($("#suche").val(g),$("#clientFilter").val(m),$("#suche-submit").click())}window.Dienstleistungen_Listenansicht_sortieren&&(g=$(".services.list-view.overview .row .col-md-4.col-sm-6.span4").sort(function(p,l){return p.innerText.localeCompare(l.innerText)}),$(".services.list-view.overview .row .col-md-4.col-sm-6.span4").remove(),$(".services.list-view.overview .row").append(g))});
31window.focussearchinput=function(){setTimeout(function(){$("#searchnavbarcollapse input").get(0).focus()},10)};window.focusMobileSearchInput=function(){setTimeout(function(){$("#mobilesearchdropdown input").get(0).focus()},10)};var navvisible=!1,navbarBackgroundElements=[],navbarBackgroundObserver;function makeNavbarBackgroundElementInert(c){$(c).hasClass("openrathaus-navbar")||(navbarBackgroundElements.push({element:c,wasInert:c.inert}),c.inert=!0)}
32function setNavbarBackgroundInert(c){c?(navbarBackgroundElements=[],$("body").children().not(".openrathaus-navbar").each(function(){makeNavbarBackgroundElementInert(this)}),window.MutationObserver&&(navbarBackgroundObserver=new MutationObserver(function(g){$.each(g,function(k,m){$.each(m.addedNodes,function(p,l){l.nodeType!==Node.ELEMENT_NODE||l.matches(".openrathaus-navbar")||makeNavbarBackgroundElementInert(l)})})}),navbarBackgroundObserver.observe(document.body,{childList:!0}))):(navbarBackgroundObserver&&
33(navbarBackgroundObserver.disconnect(),navbarBackgroundObserver=void 0),$.each(navbarBackgroundElements,function(g,k){k.element.inert=k.wasInert}),navbarBackgroundElements=[])}function closeNavbar(){navvisible=!1;$("#navbar").removeClass("show").attr("aria-expanded","false");$(".navbar-toggle").addClass("collapsed").removeClass("tcon-transform").attr("aria-expanded","false");$(".openrathaus-navbar").removeClass("show");$("body").removeClass("noscroll");setNavbarBackgroundInert(!1)}
34function openNavbar(){navvisible=!0;$("#navbar").addClass("show").attr("aria-expanded","true");$(".navbar-toggle").removeClass("collapsed").addClass("tcon-transform").attr("aria-expanded","true");$(".openrathaus-navbar").addClass("show");$("body").addClass("noscroll");setNavbarBackgroundInert(!0)}window.showhidenavmenu=function(){navvisible?closeNavbar():openNavbar()};
35document.addEventListener("keydown",function(c){if(c.key==="Escape"&&navvisible)closeNavbar();else if(c.key==="Tab"&&navvisible){var g=$(".openrathaus-navbar").find('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex\x3d"-1"])').filter(function(){return $(this).is(":visible")}),k=g.get(0);g=g.get(g.length-1);k?c.shiftKey&&document.activeElement===k?(c.preventDefault(),g.focus()):c.shiftKey||document.activeElement!==
36g||(c.preventDefault(),k.focus()):c.preventDefault()}});function setNavbarMargin(){var c=$(".navbar-fixed-top").height()+1;$("#ControlMenu").height()!==void 0&&(c+=$("#ControlMenu").height());$("body").css({"margin-top":c+"px"})}window.onload=function(){setNavbarMargin()};$(window).resize(function(){setNavbarMargin()});
37function toggleInfobox(c){if(c.type!=="keydown"||c.key==="Enter"){var g=$(c.currentTarget),k=g.closest(".category-info"),m=k.find(".category-info-box");k=k.find(".text-pre-line");if(m.hasClass("hidden")){closeInfobox(c);m.addClass("category-info-box-active").removeClass("hidden").css({visibility:"hidden",display:"block"});c=m.get(0).scrollHeight;const l=g.offset();var p=g.outerHeight();const q=$(window).scrollTop();p=window.innerHeight-(l.top+p-q);l.top-q>=c+200?m.removeClass("open-down"):p>=c+200?
38m.addClass("open-down"):(m.removeClass("open-down"),k.length>0&&k.css({maxHeight:"200px",overflowY:"auto"}));$(window).width()<768&&g.offset().left>$(window).width()/2&&m.addClass("open-to-left");m.css({visibility:"",display:""}).attr("aria-hidden","false");g.attr("aria-expanded","true")}else closeInfobox(c),k.length>0&&k.css({maxHeight:"",overflowY:""})}}
39function closeInfobox(c){if(c.type!=="keydown"||c.key==="Enter")c=$(".category-info-box-active"),c.addClass("hidden").removeClass("open-to-left").removeClass("open-down").attr("aria-hidden","true").closest(".category-info").find(".category-info-questionmark, .category-info-circle").attr("aria-expanded","fal
39se"),c.removeClass("category-info-box-active")}
40$(document).ready(function(){$(".category-info-questionmark, .category-info-circle").on("click keydown",toggleInfobox);$("body").on("click",function(c){var g=$(c.target);(g.closest(".category-info-questionmark, .category-info-circle, .category-info-box").length===0||g.closest(".category-info-box-closer").length>0)&&closeInfobox(c)});$("a").on("click",function(c){closeInfobox(c)});if(window.location.pathname==="/anmeldung"){const c=new URLSearchParams(window.location.search);document.getElementById("_com_liferay_login_web_portlet_LoginPortlet_redirect").value=
41c.get("redirect")}});const root=document.querySelector(":root");function resetHeight(){root.style.setProperty("--vh-height",window.innerHeight+"px")}window.addEventListener("resize",resetHeight);resetHeight();document.URL.includes("_com_liferay_login_web_portlet_LoginPortlet_javax.portlet.action\x3d%2Flogin%2Fforgot_password")&&($("#portlet_com_liferay_login_web_portlet_LoginPortlet .alert").length||$('\x3cdiv class\x3d"alert alert-success" role\x3d"alert"\x3eWir haben Ihnen einen Link zum Zur\u00fccksetzen des Passwortes an die hinterlegte Email-Adresse gesendet.\x3c/div\x3e').insertBefore("#portlet_com_liferay_login_web_portlet_LoginPortlet form \x3e fieldset"));
42$(document).ready(function(){$("[data-scroll-to]").click(function(c){$("html, body").animate({scrollTop:$(c.currentTarget.dataset.scrollTo).offset().top-95},2E3)})});$(document).ready(function(){window.onscroll=function(){if(document.body.scrollTop>c||document.documentElement.scrollTop>
42c)$("#back-to-top").addClass("show"),$("#back-to-top").removeClass("hide")};let c=$(window).height()*2;$("#back-to-top").click(function(){$("html, body").animate({scrollTop:0},1E3)})});const MIN_SEARCH_CHARS=3;
43function deInitSearch(){let c=document.getElementById("form-element-query");if(c){let g=c.cloneNode(!0);c.parentNode.replaceChild(g,c)}}
44function initSearch(c,g){$(document).on("click",function(p){$(p.target).closest(c+" #search-dropdown").length||($(`${c} .search-wait`).hide(),$(`${c} input`).val()?$(`${c} .search-dropdown`).show():$(`${c} .search-dropdown`).hide(),$(`${c}#searchnavbarcollapse.show`).length==1&&$(".top-search a").trigger("click"))});let k=null;$(`${c} #wait`).addClass("search-wait");$(`${c} #resp`).addClass("search-resp");$(`${c} #search-dropdown`).addClass("search-dropdown");let m=null;$(`${c} form`).submit(function(p){p.preventDefault()});
45$(`${c}`).click(function(p){p.stopPropagation()});$(`${c} input`).val("");$(`${c} input`).on("input",function(){m&&(m.abort(),m=null);$(`${c} input`).val().length>=MIN_SEARCH_CHARS?$(`${c} .search-wait`).show():$(`${c} .search-wait`).hide();$(`${c} .search-dropdown`).hide()}).on("input",function(p,l){return function(){k&&clearTimeout(k);k=setTimeout(()=>p(),l)}}(function(){$(`${c} input`).val().length==0?($(`${c} .search-resp`).hide(),$(`${c} .search-dropdown`).hide(),$(`${c} .search-wait`).hide()):
46$(`${c} input`).val().length<MIN_SEARCH_CHARS?($(`${c} .search-resp`).html('\x3cdiv class\x3d"mindestens-drei-buchstaben mt-3"\x3eBitte geben Sie mindestens 3 Buchstaben ein.\x3c/div\x3e').show(),$(`${c} .search-dropdown`).show(),$(`${c} .search-wait`).hide()):(m&&(m.abort(),m=null),m=$.ajax({url:g+Liferay.authToken,data:{query:$(`${c} input`).val()},type:"POST",success:function(p){$(`${c} .search-resp`).html($(p).find("#resp")).show();$(`${c} .search-dropdown`).show();$(`${c} .search-wait`).hide()}}))},
47300))}function prefixMatcher(c,g){return $.trim(c.term)===""?g:typeof g.text==="undefined"?null:g.text.toLowerCase().startsWith(c.term.toLowerCase())?g:null}$("select.select2").each(function(){const c=$(this),g={};c.hasClass("bt-theme")&&(g.theme="bootstrap4");c.data("select2-matcher")==="prefix"&&(g.matcher=prefixMatcher);c.select2(g)});
48(function(c,g){typeof define==="function"&&define.amd?define("sifter",g):typeof exports==="object"?module.exports=g():c.Sifter=g()})(this,function(){var c=function(l,q){this.items=l;this.settings=q||{diacritics:!0}};c.prototype.tokenize=function(l){l=(String(l||"").toLowerCase()+"").replace(/^\s+|\s+$|/g,"");if(!l||!l.length)return[];var q,B,z=[],u=l.split(/ +/);l=0;for(q=u.length;l<q;l++){var A=(u[l]+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");if(this.settings.diacritics)for(B in p)p.hasOwnProperty(B)&&
49(A=A.replace(new RegExp(B,"g"),p[B]));z.push({string:u[l],regex:new RegExp(A,"i")})}return z};c.prototype.iterator=function(l,q){(m(l)?Array.prototype.forEach||function(B){for(var z=0,u=this.length;z<u;z++)B(this[z],z,this)}:function(B){for(var z in this)this.hasOwnProperty(z)&&B(this[z],z,this)}).apply(l,[q])};c.prototype.getScoreFunction=function(l,q){l=this.prepareSearch(l,q);var B=l.tokens;var z=l.options.fields;var u=B.length;var A=function(w,E){if(!w)return 0;w=String(w||"");var H=w.search(E.regex);
50if(H===-1)return 0;w=E.string.length/w.length;H===0&&(w+=.5);return w},D=function(){var w=z.length;return w?w===1?function(E,H){return A(H[z[0]],E)}:function(E,H){for(var L=0,t=0;L<w;L++)t+=A(H[z[L]],E);return t/w}:function(){return 0}}();return u?u===1?function(w){return D(B[0],w)}:l.options.conjunction==="and"?function(w){for(var E,H=0,L=0;H<u;H++){E=D(B[H],w);if(E<=0)return 0;L+=E}return L/u}:function(w){for(var E=0,H=0;E<u;E++)H+=D(B[E],w);return H/u}:function(){return 0}};c.prototype.getSortFunction=
51function(l,q){var B,z;var u=this;l=u.prepareSearch(l,q);var A=!l.query&&q.sort_empty||q.sort;var D=function(t,v){return t==="$score"?v.score:u.items[v.id][t]};var w=[];if(A)for(q=0,B=A.length;q<B;q++)(l.query||A[q].field!=="$score")&&w.push(A[q]);if(l.query){l=!0;q=0;for(B=w.length;q<B;q++)if(w[q].field==="$score"){l=!1;break}l&&w.unshift({field:"$score",direction:"desc"})}else for(q=0,B=w.length;q<B;q++)if(w[q].field==="$score"){w.splice(q,1);break}var E=[];q=0;for(B=w.length;q<B;q++)E.push(w[q].direction===
52"desc"?-1:1);if(z=w.length){if(z===1){var H=w[0].field;var L=E[0];return function(t,v){return L*g(D(H,t),D(H,v))}}return function(t,v){var C;for(C=0;C<z;C++){var n=w[C].field;
52if(n=E[C]*g(D(n,t),D(n,v)))return n}return 0}}return null};c.prototype.prepareSearch=function(l,q){if(typeof l==="object")return l;q=k({},q);var B=q.fields,z=q.sort,u=q.sort_empty;B&&!m(B)&&(q.fields=[B]);z&&!m(z)&&(q.sort=[z]);u&&!m(u)&&(q.sort_empty=[u]);return{options:q,query:String(l||"").toLowerCase(),tokens:this.tokenize(l),
53total:0,items:[]}};c.prototype.search=function(l,q){var B;var z=this.prepareSearch(l,q);q=z.options;l=z.query;var u=q.score||this.getScoreFunction(z);l.length?this.iterator(this.items,function(A,D){B=u(A);(q.filter===!1||B>0)&&z.items.push({score:B,id:D})}):this.iterator(this.items,function(A,D){z.items.push({score:1,id:D})});(l=this.getSortFunction(z,q))&&z.items.sort(l);z.total=z.items.length;typeof q.limit==="number"&&(z.items=z.items.slice(0,q.limit));return z};var g=function(l,q){if(typeof l===
54"number"&&typeof q==="number")return l>q?1:l<q?-1:0;l=String(l||"").toLowerCase();q=String(q||"").toLowerCase();return l>q?1:q>l?-1:0},k=function(l,q){var B,z,u;var A=1;for(B=arguments.length;A<B;A++)if(u=arguments[A])for(z in u)u.hasOwnProperty(z)&&(l[z]=u[z]);return l},m=Array.isArray||$&&$.isArray||function(l){return Object.prototype.toString.call(l)==="[object Array]"},p={a:"[a\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]",c:"[c\u00c7\u00e7\u0107\u0106\u010d\u010c]",
55d:"[d\u0111\u0110]",e:"[e\u00c8\u00c9\u00ca\u00cb\u00e8\u00e9\u00ea\u00eb]",i:"[i\u00cc\u00cd\u00ce\u00cf\u00ec\u00ed\u00ee\u00ef]",n:"[n\u00d1\u00f1]",o:"[o\u00d2\u00d3\u00d4\u00d5\u00d5\u00d6\u00d8\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8]",s:"[s\u0160\u0161]",u:"[u\u00d9\u00da\u00db\u00dc\u00f9\u00fa\u00fb\u00fc]",y:"[y\u0178\u00ff\u00fd]",z:"[z\u017d\u017e]"};return c});
56(function(c,g){typeof define==="function"&&define.amd?define("microplugin",g):typeof exports==="object"?module.exports=g():c.MicroPlugin=g()})(this,function(){var c={isArray:Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"}};return{mixin:function(g){g.plugins={};g.prototype.initializePlugins=function(k){var m,p=[];this.plugins={names:[],settings:{},requested:{},loaded:{}};if(c.isArray(k)){var l=0;for(m=k.length;l<m;l++)typeof k[l]==="string"?p.push(k[l]):(this.plugins.settings[k[l].name]=
57k[l].options,p.push(k[l].name))}else if(k)for(l in k)k.hasOwnProperty(l)&&(this.plugins.settings[l]=k[l],p.push(l));for(;p.length;)this.require(p.shift())};g.prototype.loadPlugin=function(k){var m=this.plugins,p=g.plugins[k];if(!g.plugins.hasOwnProperty(k))throw Error('Unable to find "'+k+'" plugin');m.requested[k]=!0;m.loaded[k]=p.fn.apply(this,[this.plugins.settings[k]||{}]);m.names.push(k)};g.prototype.require=function(k){var m=this.plugins;if(!this.plugins.loaded.hasOwnProperty(k)){if(m.requested[k])throw Error('Plugin has circular dependency ("'+
58k+'")');this.loadPlugin(k)}return m.loaded[k]};g.define=function(k,m){g.plugins[k]={name:k,fn:m}}}}});
59(function(c,g){typeof define==="function"&&define.amd?define("selectize",["jquery","sifter","microplugin"],g):c.Selectize=g(c.jQuery,c.Sifter,c.MicroPlugin)})(this,function(c,g,k){var m=function(a,b){if(typeof b!=="string"||b.length){var d=typeof b==="string"?new RegExp(b,"i"):b,e=function(f){var h=0;if(f.nodeType===3){var r=f.data.search(d);if(r>=0&&f.data.length>0){var y=f.data.match(d);h=document.createElement("span");h.className="highlight";f=f.splitText(r);f.splitText(y[0].length);r=f.cloneNode(!0);
60h.appendChild(r);f.parentNode.replaceChild(h,f);h=1}}else if(f.nodeType===1&&f.childNodes&&!/(script|style)/i.test(f.tagName))for(r=0;r<f.childNodes.length;++r)r+=e(f.childNodes[r]);return h};return a.each(function(){e(this)})}},p=function(){};p.prototype={on:function(a,b){this._events=this._events||{};this._events[a]=this._events[a]||[];this._events[a].push(b)},off:function(a,b){var d=arguments.length;if(d===0)return delete this._events;if(d===1)return delete this._events[a];this._events=this._events||
61{};a in this._events!==!1&&this._events[a].splice(this._events[a].indexOf(b),1)},trigger:function(a){this._events=this._events||{};if(a in this._events!==!1)for(var b=0;b<this._events[a].length;b++)this._events[a][b].apply(this,Array.prototype.slice.call(arguments,1
61))}};p.mixin=function(a){for(var b=["on","off","trigger"],d=0;d<b.length;d++)a.prototype[b[d]]=p.prototype[b[d]]};var l=/Mac/.test(navigator.userAgent),q=l?91:17,B=l?18:17,z=function(a){return typeof a!=="undefined"},u=function(a){return typeof a===
62"undefined"||a===null?"":typeof a==="boolean"?a?"1":"0":a+""},A=function(a){return(a+"").replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/"/g,"\x26quot;")},D={before:function(a,b,d){var e=a[b];a[b]=function(){d.apply(a,arguments);return e.apply(a,arguments)}},after:function(a,b,d){var e=a[b];a[b]=function(){var f=e.apply(a,arguments);d.apply(a,arguments);return f}}},w=function(a,b){if(!c.isArray(b))return b;var d,e={};var f=0;for(d=b.length;f<d;f++)b[f].hasOwnProperty(a)&&
63(e[b[f][a]]=b[f]);return e},E=function(a){var b=!1;return function(){b||(b=!0,a.apply(this,arguments))}},H=function(a,b){var d;return function(){var e=this,f=arguments;window.clearTimeout(d);d=window.setTimeout(function(){a.apply(e,f)},b)}},L=function(a,b,d){var e,f=a.trigger,h={};a.trigger=function(){var r=arguments[0];if(b.indexOf(r)!==-1)h[r]=arguments;else return f.apply(a,arguments)};d.apply(a,[]);a.trigger=f;for(e in h)h.hasOwnProperty(e)&&f.apply(a,h[e])},t=function(a,b,d,e){a.on(b,d,function(f){for(var h=
64f.target;h&&h.parentNode!==a[0];)h=h.parentNode;f.currentTarget=h;return e.apply(this,[f])})},v=function(a){var b={};if("selectionStart"in a)b.start=a.selectionStart,b.length=a.selectionEnd-b.start;else if(document.selection){a.focus();var d=document.selection.createRange(),e=document.selection.createRange().text.length;d.moveStart("character",-a.value.length);b.start=d.text.length-e;b.length=e}return b},C=function(a){var b=null,d=function(e){e=e||window.event||{};if(!e.metaKey&&!e.altKey&&a.data("grow")!==
65!1){var f=a.val();if(e.type&&e.type.toLowerCase()==="keydown"){var h=e.keyCode;var r=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===32;h===46||h===8?(e=v(a[0]),e.length?f=f.substring(0,e.start)+f.substring(e.start+e.length):h===8&&e.start?f=f.substring(0,e.start-1)+f.substring(e.start+1):h===46&&typeof e.start!=="undefined"&&(f=f.substring(0,e.start)+f.substring(e.start+1))):r&&(h=e.shiftKey,e=String.fromCharCode(e.keyCode),e=h?e.toUpperCase():e.toLowerCase(),f+=e)}e=a.attr("placeholder")||"";!f.length&&
66e.length&&(f=e);if(f){f=c("\x3ctest\x3e").css({position:"absolute",top:-99999,left:-99999,width:"auto",padding:0,whiteSpace:"pre"}).text(f).appendTo("body");e=["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"];var y={};if(e)for(h=0,r=e.length;h<r;h++)y[e[h]]=a.css(e[h]);else y=a.css();f.css(y);e=f.width();f.remove();f=e}else f=0;f+=4;f!==b&&(b=f,a.width(f),a.triggerHandler("resize"))}};a.on("keydown keyup update blur",d);d()},n=function(a,b){var d=a[0];d.selectize=this;var e=(e=
67window.getComputedStyle?window.getComputedStyle(d,null).getPropertyValue("direction"):d.currentStyle&&d.currentStyle.direction)||a.parents("[dir]:first").attr("dir")||"";c.extend(this,{settings:b,$input:a,tagType:d.tagName.toLowerCase()==="select"?1:2,rtl:/rtl/i.test(e),eventNS:".selectize"+ ++n.count,highlightedValue:null,isOpen:!1,isDisabled:!1,isRequired:a.is("[required]"),isInvalid:!1,isLocked:!1,isFocused:!1,isInputHidden:!1,isSetup:!1,isShiftDown:!1,isCmdDown:!1,isCtrlDown:!1,ignoreFocus:!1,
68ignoreHover:!1,hasOptions:!1,currentResults:null,lastValue:"",caretPos:0,loading:0,loadedSearches:{},$activeOption:null,$activeItems:[],optgroups:{},options:{},userOptions:{},items:[],renderCache:{},onSearchChange:H(this.onSearchChange,b.loadThrottle)});this.sifter=new g(this.options,{diacritics:b.diacritics});c.extend(this.options,w(b.valueField,b.options));delete this.settings.options;c.extend(this.optgroups,w(b.optgroupValueField,b.optgroups));delete this.settings.optgroups;this.settings.mode=
69this.settings.mode||(this.settings.maxItems===1?"single":"multi");typeof this.settings.hideSelected!=="boolean"&&(this.settings.hideSelected=this.settings.mode==="multi");this.initializePlugins(this.settings.plugins);this.setupCallbacks();this.setupTemplates();this.setup()};p.mixin(n);k.mixin(n);c.extend(n.prototype,{setup:function(){var a=this,b=a.settings,d=a.eventNS,e=c(window),f=c(document);var h=a.settings.mode;var r=a.$input.attr("tabindex")||"";var y=a.$input.attr("class")||"";var G=c("\x3cdiv\x3e").addClass(b.wrapperClass).addClass(y).addClass(h);
70var M=c("\x3cdiv\x3e").addClass(b.inputClass).addClass("items").appendTo(G);r=c('\x3cinput type\x3d"text" autocomplete\x3d"off" /\x3e').appendTo(M).attr("tabindex",r);var F=c(b.dropdownParent||G);h=c("\x3cdiv\x3e").addClass(b.dropdownClass).addClass(y).addClass(h).hide().appendTo(F);y=c("\x3cdiv\x3e").addClass(b.dropdownContentClass).appendTo(h);G.css({width:a.$input[0].style.width});a.plugins.names.length&&(F="plugin-"+a.plugins.names.join(" plugin-"),G.addClass(F),h.addClass(F));(b.maxItems===null||
71b.maxItems>1)&&a.tagType===1&&a.$input.attr("multiple","multiple");a.settings.placeholder&&r.attr("placeholder",b.placeholder);a.$wrapper=G;a.$control=M;a.$control_input=r;a.$dropdown=h;a.$dropdown_content=y;h.on("mouseenter","[data-selectable]",function(){return a.onOptionHover.apply(a,arguments)});h.on("mousedown","[data-selectable]",function(){return a.onOptionSelect.apply(a,arguments)});t(M,"mousedown","*:not(input)",function(){return a.onItemSelect.apply(a,arguments)});C(r);M.on({mousedown:function(){return a.onMouseDown.apply(a,
72arguments)},click:function(){return a.onClick.apply(a,arguments)}});r.on({mousedown:function(x){x.stopPropagation()},keydown:function(){return a.onKeyDown.apply(a,arguments)},keyup:function(){return a.onKeyUp.apply(a,arguments)},keypress:function(){return a.onKeyPress.apply(a,arguments)},resize:function(){a.positionDropdown.apply(a,[])},blur:function(){return a.onBlur.apply(a,arguments)},focus:function(){return a.onFocus.apply(a,arguments)}});
72f.on("keydown"+d,function(x){a.isCmdDown=x[l?"metaKey":
73"ctrlKey"];a.isCtrlDown=x[l?"altKey":"ctrlKey"];a.isShiftDown=x.shiftKey});f.on("keyup"+d,function(x){x.keyCode===B&&(a.isCtrlDown=!1);x.keyCode===16&&(a.isShiftDown=!1);x.keyCode===q&&(a.isCmdDown=!1)});f.on("mousedown"+d,function(x){if(a.isFocused){if(x.target===a.$dropdown[0]||x.target.parentNode===a.$dropdown[0])return!1;a.$control.has(x.target).length||x.target===a.$control[0]||a.blur()}});e.on(["scroll"+d,"resize"+d].join(" "),function(){a.isOpen&&a.positionDropdown.apply(a,arguments)});e.on("mousemove"+
74d,function(){a.ignoreHover=!1});this.revertSettings={$children:a.$input.children().detach(),tabindex:a.$input.attr("tabindex")};a.$input.attr("tabindex",-1).hide().after(a.$wrapper);c.isArray(b.items)&&(a.setValue(b.items),delete b.items);if(a.$input[0].validity)a.$input.on("invalid"+d,function(x){x.preventDefault();a.isInvalid=!0;a.refreshState()});a.updateOriginalInput();a.refreshItems();a.refreshState();a.updatePlaceholder();a.isSetup=!0;a.$input.is(":disabled")&&a.disable();a.on("change",this.onChange);
75a.trigger("initialize");if(b.preload===!0)a.onSearchChange("")},setupTemplates:function(){var a=this.settings.labelField,b=this.settings.optgroupLabelField;this.settings.render=c.extend({},{optgroup:function(d){return'\x3cdiv class\x3d"optgroup"\x3e'+d.html+"\x3c/div\x3e"},optgroup_header:function(d,e){return'\x3cdiv class\x3d"optgroup-header"\x3e'+e(d[b])+"\x3c/div\x3e"},option:function(d,e){return'\x3cdiv class\x3d"option"\x3e'+e(d[a])+"\x3c/div\x3e"},item:function(d,e){return'\x3cdiv class\x3d"item"\x3e'+
76e(d[a])+"\x3c/div\x3e"},option_create:function(d,e){return'\x3cdiv class\x3d"create"\x3eAdd \x3cstrong\x3e'+e(d.input)+"\x3c/strong\x3e\x26hellip;\x3c/div\x3e"}},this.settings.render)},setupCallbacks:function(){var a,b,d={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType"};for(a in d)if(d.hasOwnProperty(a)&&
77(b=this.settings[d[a]]))this.on(a,b)},onClick:function(a){this.isFocused||(this.focus(),a.preventDefault())},onMouseDown:function(a){var b=this,d=a.isDefaultPrevented();c(a.target);if(b.isFocused){if(a.target!==b.$control_input[0])return b.settings.mode==="single"?b.isOpen?b.close():b.open():d||b.setActiveItem(null),!1}else d||window.setTimeout(function(){b.focus()},0)},onChange:function(){this.$input.trigger("change")},onKeyPress:function(a){if(this.isLocked)return a&&a.preventDefault();var b=String.fromCharCode(a.keyCode||
78a.which);if(this.settings.create&&b===this.settings.delimiter)return this.createItem(),a.preventDefault(),!1},onKeyDown:function(a){if(this.isLocked)a.keyCode!==9&&a.preventDefault();else{switch(a.keyCode){case 65:if(this.isCmdDown){this.selectAll();return}break;case 27:this.close();return;case 78:if(!a.ctrlKey)break;case 40:if(!this.isOpen&&this.hasOptions)this.open();else if(this.$activeOption){this.ignoreHover=!0;var b=this.getAdjacentOption(this.$activeOption,1);b.length&&this.setActiveOption(b,
79!0,!0)}a.preventDefault();return;case 80:if(!a.ctrlKey)break;case 38:this.$activeOption&&(this.ignoreHover=!0,b=this.getAdjacentOption(this.$activeOption,-1),b.length&&this.setActiveOption(b,!0,!0));a.preventDefault();return;case 13:if(this.isOpen&&this.$activeOption)this.onOptionSelect({currentTarget:this.$activeOption});a.preventDefault();return;case 37:this.advanceSelection(-1,a);return;case 39:this.advanceSelection(1,a);return;case 9:if(this.isOpen&&this.$activeOption)this.onOptionSelect({currentTarget:this.$activeOption});
80this.settings.create&&this.createItem()&&a.preventDefault();return;case 8:case 46:this.deleteSelection(a);return}(this.isFull()||this.isInputHidden)&&a.preventDefault()}},onKeyUp:function(a){if(this.isLocked)return a&&a.preventDefault();a=this.$control_input.val()||"";this.lastValue!==a&&(this.lastValue=a,this.onSearchChange(a),this.refreshOptions(),this.trigger("type",a))},onSearchChange:function(a){var b=this,d=b.settings.load;d&&!b.loadedSearches.hasOwnProperty(a)&&(b.loadedSearches[a]=!0,b.load(function(e){d.apply(b,
81[a,e])}))},onFocus:function(a){this.isFocused=!0;if(this.isDisabled)return this.blur(),a&&a.preventDefault(),!1;if(!this.ignoreFocus){if(this.settings.preload==="focus")this.onSearchChange("");this.$activeItems.length||(this.showInput(),this.setActiveItem(null),this.refreshOptions(!!this.settings.openOnFocus));this.refreshState()}},onBlur:function(a){this.isFocused=!1;this.ignoreFocus||(this.settings.create&&this.settings.createOnBlur&&this.createItem(!1),this.close(),this.setTextboxValue(""),this.setActiveItem(null),
82this.setActiveOption(null),this.setCaret(this.items.length),this.refreshState())},onOptionHover:function(a){this.ignoreHover||this.setActiveOption(a.currentTarget,!1)},onOptionSelect:function(a){a.preventDefault&&(a.preventDefault(),a.stopPropagation());var b=c(a.currentTarget);if(b.hasClass("create"))this.createItem();else if(b=b.attr("data-value"))this.lastQuery=null,this.setTextboxValue(""),this.addItem(b),!this.settings.hideSelected&&a.type&&/mouse/.test(a.type)&&this.setActiveOption(this.getOption(b))},
83onItemSelect:function(a){this.isLocked||this.settings.mode!=="multi"||(a.preventDefault(),this.setActiveItem(a.currentTarget,a))},load:function(a){var b=this,d=b.$wrapper.addClass("loading");b.loading++;a.apply(b,[function(e){b.loading=Math.max(b.loading-1,0);e&&e.length&&(b.addOption(e),b.refreshOptions(b.isFocused&&!b.isInputHidden));b.loading||d.removeClass("loading");b.trigger("load",e)}])},setTextboxValue:function(a){this.$control_input.val(a).triggerHandler("update");this.lastValue=a},getValue:function(){return this.tagType===
841&&this.$input.attr("multiple")?this.items:this.items.join(this.settings.delimiter)},setValue:function(a){L(this,["change"],function(){this.clear();for(var b=c.isArray(a)?a:[a],d=0,e=b.length;d<e;d++)this.addItem(b[d])})},setActiveItem:function(a,b){if(this.settings.mode!=="single")if(a=c(a),a.length){var d=b&&b.type.toLowerCase();if(d==="mousedown"&&this.isShiftDown&&this.$activeItems.length){d=this.$control.children(".active:last");d=Array.prototype.indexOf.apply(this.$control[0].childNodes,[d[0]]);
85a=Array.prototype.indexOf.apply(this.$control[0].childNodes,[a[0]]);if(d>a){var e=d;d=a;a=e}for(;d<=a;d++)e=this.$control[0].childNodes[d],this.$activeItems.indexOf(e)===-1&&(c(e).addClass("active"),this.$activeItems.push(e));b.preventDefault()}else d==="mousedown"&&this.isCtrlDown||d==="keydown"&&this.isShiftDown?a.hasClass("active")?(b=this.$activeItems.indexOf(a[0]),this.$activeItems.splice(b,1),a.removeClass("active")):this.$activeItems.push(a.addClass("active")[0]):(c(this.$activeItems).removeClass("active"),
86this.$activeItems=[a.addClass("active")[0]]);this.hideInput();this.isFocused||this.focus()}else c(this.$activeItems).removeClass("active"),this.$activeItems=[],this.isFocused&&this.showInput()},setActiveOption:function(a,b,d){this.$activeOption&&this.$activeOption.removeClass("active");this.$activeOption=null;a=c(a);if(a.length&&(this.$activeOption=a.addClass("active"),b||!z(b))){a=this.$dropdown_content.height();var e=this.$activeOption.outerHeight(!0);b=this.$dropdown_content.scrollTop()||0;var f=
87this.$activeOption.offset().top-this.$dropdown_content.offset().top+b;var h=f-a+e;f+e>a+b?this.$dropdown_content.stop().animate({scrollTop:h},d?this.settings.scrollDuration:0):f<b&&this.$dropdown_content.stop().animate({scrollTop:f},d?this.settings.scrollDuration:0)}},selectAll:function(){this.settings.mode!=="single"&&(this.$activeItems=Array.prototype.slice.apply(this.$control.children(":not(input)").addClass("active")),this.$activeItems.length&&(this.hideInput(),this.close()),this.focus())},hideInput:function(){this.setTextboxValue("");
88this.$control_input.css({opacity:0,position:"absolute",left:this.rtl?1E4:-1E4});this.isInputHidden=!0},showInput:function(){this.$control_input.css({opacity:1,position:"relative",left:0});this.isInputHidden=!1},focus:function(){var a=this;a.isDisabled||(a.ignoreFocus=!0,a.$control_input[0].focus(),window.setTimeout(function(){a.ignoreFocus=!1;a.onFocus()},0))},blur:function(){this.$control_input.trigger("blur")},getScoreFunction:function(a){return this.sifter.getScoreFunction(a,this.get
88SearchOptions())},
89getSearchOptions:function(){var a=this.settings,b=a.sortField;typeof b==="string"&&(b={field:b});return{fields:a.searchField,conjunction:a.searchConjunction,sort:b}},search:function(a){var b=this.settings;var d=this.getSearchOptions();if(b.score){var e=this.settings.score.apply(this,[a]);if(typeof e!=="function")throw Error('Selectize "score" setting must be a function that returns a function');}a!==this.lastQuery?(this.lastQuery=a,this.currentResults=a=this.sifter.search(a,c.extend(d,{score:e}))):
90a=c.extend(!0,{},this.currentResults);if(b.hideSelected)for(b=a.items.length-1;b>=0;b--)this.items.indexOf(u(a.items[b].id))!==-1&&a.items.splice(b,1);return a},refreshOptions:function(a){var b,d,e;typeof a==="undefined"&&(a=!0);var f=this.$control_input.val();var h=this.search(f),r=this.$dropdown_content,y=this.$activeOption&&u(this.$activeOption.attr("data-value"));var G=h.items.length;typeof this.settings.maxOptions==="number"&&(G=Math.min(G,this.settings.maxOptions));var M={};if(this.settings.optgroupOrder){var F=
91this.settings.optgroupOrder;for(b=0;b<F.length;b++)M[F[b]]=[]}else F=[];for(b=0;b<G;b++){var x=this.options[h.items[b].id];var J=this.render("option",x);x=x[this.settings.optgroupField]||"";var P=c.isArray(x)?x:[x];var I=0;for(d=P&&P.length;I<d;I++)x=P[I],this.optgroups.hasOwnProperty(x)||(x=""),M.hasOwnProperty(x)||(M[x]=[],F.push(x)),M[x].push(J)}J=[];b=0;for(G=F.length;b<G;b++)x=F[b],this.optgroups.hasOwnProperty(x)&&M[x].length?(I=this.render("optgroup_header",this.optgroups[x])||"",I+=M[x].join(""),
92J.push(this.render("optgroup",c.extend({},this.optgroups[x],{html:I})))):J.push(M[x].join(""));r.html(J.join(""));if(this.settings.highlight&&h.query.length&&h.tokens.length)for(b=0,G=h.tokens.length;b<G;b++)m(r,h.tokens[b].regex);if(!this.settings.hideSelected)for(b=0,G=this.items.length;b<G;b++)this.getOption(this.items[b]).addClass("selected");if(b=this.settings.create&&h.query.length){r.prepend(this.render("option_create",{input:f}));var O=c(r[0].childNodes[0])}(this.hasOptions=h.items.length>
930||b)?(h.items.length>0?((f=y&&this.getOption(y))&&f.length?e=f:this.settings.mode==="single"&&this.items.length&&(e=this.getOption(this.items[0])),e&&e.length||(e=O&&!this.settings.addPrecedence?this.getAdjacentOption(O,1):r.find("[data-selectable]:first"))):e=O,this.setActiveOption(e),a&&!this.isOpen&&this.open()):(this.setActiveOption(null),a&&this.isOpen&&this.close())},addOption:function(a){var b;if(c.isArray(a)){var d=0;for(b=a.length;d<b;d++)this.addOption(a[d])}else(d=u(a[this.settings.valueField]))&&
94!this.options.hasOwnProperty(d)&&(this.userOptions[d]=!0,this.options[d]=a,this.lastQuery=null,this.trigger("option_add",d,a))},addOptionGroup:function(a,b){this.optgroups[a]=b;this.trigger("optgroup_add",a,b)},updateOption:function(a,b){a=u(a);var d=u(b[this.settings.valueField]);if(this.options.hasOwnProperty(a)){if(!d)throw Error("Value must be set in option data");if(d!==a){delete this.options[a];var e=this.items.indexOf(a);e!==-1&&this.items.splice(e,1,d)}this.options[d]=b;e=this.renderCache.item;
95var f=this.renderCache.option;z(e)&&(delete e[a],delete e[d]);z(f)&&(delete f[a],delete f[d]);this.items.indexOf(d)!==-1&&(a=this.getItem(a),b=c(this.render("item",b)),a.hasClass("active")&&b.addClass("active"),a.replaceWith(b));this.isOpen&&this.refreshOptions(!1)}},removeOption:function(a){a=u(a);delete this.userOptions[a];delete this.options[a];this.lastQuery=null;this.trigger("option_remove",a);this.removeItem(a)},clearOptions:function(){this.loadedSearches={};this.userOptions={};this.options=
96this.sifter.items={};this.lastQuery=null;this.trigger("option_clear");this.clear()},getOption:function(a){return this.getElementWithValue(a,this.$dropdown_content.find("[data-selectable]"))},getAdjacentOption:function(a,b){var d=this.$dropdown.find("[data-selectable]");a=d.index(a)+b;return a>=0&&a<d.length?d.eq(a):c()},getElementWithValue:function(a,b){if(a=u(a))for(var d=0,e=b.length;d<e;d++)if(b[d].getAttribute("data-value")===a)return c(b[d]);return c()},getItem:function(a){return this.getElementWithValue(a,
97this.$control.children())},addItem:function(a){L(this,["change"],function(){var b=this.settings.mode;var d=this.settings.duplicates;a=u(a);if((!d||d&&b==="single")&&this.items.indexOf(a)!==-1)b==="single"&&this.close();else if(this.options.hasOwnProperty(a)&&(b==="single"&&this.clear(),b!=="multi"||!this.isFull())&&
97(d=c(this.render("item",this.options[a])),this.items.splice(this.caretPos,0,a),this.insertAtCaret(d),this.refreshState(),this.isSetup)){var e=this.$dropdown_content.find("[data-selectable]");
98var f=this.getOption(a);f=this.getAdjacentOption(f,1).attr("data-value");this.refreshOptions(this.isFocused&&b!=="single");f&&this.setActiveOption(this.getOption(f));!e.length||this.settings.maxItems!==null&&this.items.length>=this.settings.maxItems?this.close():this.positionDropdown();this.updatePlaceholder();this.trigger("item_add",a,d);this.updateOriginalInput()}})},removeItem:function(a){var b=typeof a==="object"?a:this.getItem(a);a=u(b.attr("data-value"));var d=this.items.indexOf(a);d!==-1&&
99(b.remove(),b.hasClass("active")&&(b=this.$activeItems.indexOf(b[0]),this.$activeItems.splice(b,1)),this.items.splice(d,1),this.lastQuery=null,!this.settings.persist&&this.userOptions.hasOwnProperty(a)&&this.removeOption(a),d<this.caretPos&&this.setCaret(this.caretPos-1),this.refreshState(),this.updatePlaceholder(),this.updateOriginalInput(),this.positionDropdown(),this.trigger("item_remove",a))},createItem:function(a){var b=this,d=c.trim(b.$control_input.val()||""),e=b.caretPos;if(!d.length)return!1;
100b.lock();typeof a==="undefined"&&(a=!0);var f=typeof b.settings.create==="function"?this.settings.create:function(r){var y={};y[b.settings.labelField]=r;y[b.settings.valueField]=r;return y},h=E(function(r){b.unlock();if(r&&typeof r==="object"){var y=u(r[b.settings.valueField]);y&&(b.setTextboxValue(""),b.addOption(r),b.setCaret(e),b.addItem(y),b.refreshOptions(a&&b.settings.mode!=="single"))}});d=f.apply(this,[d,h]);typeof d!=="undefined"&&h(d);return!0},refreshItems:function(){this.lastQuery=null;
101if(this.isSetup)for(var a=0;a<this.items.length;a++)this.addItem(this.items);this.refreshState();this.updateOriginalInput()},refreshState:function(){var a=this.isRequired&&!this.items.length;a||(this.isInvalid=!1);this.$control_input.prop("required",a);this.refreshClasses()},refreshClasses:function(){var a=this.isFull(),b=this.isLocked;this.$wrapper.toggleClass("rtl",this.rtl);this.$control.toggleClass("focus",this.isFocused).toggleClass("disabled",this.isDisabled).toggleClass("required",this.isRequired).toggleClass("invalid",
102this.isInvalid).toggleClass("locked",b).toggleClass("full",a).toggleClass("not-full",!a).toggleClass("input-active",this.isFocused&&!this.isInputHidden).toggleClass("dropdown-active",this.isOpen).toggleClass("has-options",!c.isEmptyObject(this.options)).toggleClass("has-items",this.items.length>0);this.$control_input.data("grow",!a&&!b)},isFull:function(){return this.settings.maxItems!==null&&this.items.length>=this.settings.maxItems},updateOriginalInput:function(){var a;if(this.$input[0].tagName.toLowerCase()===
103"select"){var b=[];var d=0;for(a=this.items.length;d<a;d++)b.push('\x3coption value\x3d"'+A(this.items[d])+'" selected\x3d"selected"\x3e\x3c/option\x3e');b.length||this.$input.attr("multiple")||b.push('\x3coption value\x3d"" selected\x3d"selected"\x3e\x3c/option\x3e');this.$input.html(b.join(""))}else this.$input.val(this.getValue());this.isSetup&&this.trigger("change",this.$input.val())},updatePlaceholder:function(){if(this.settings.placeholder){var a=this.$control_input;this.items.length?a.removeAttr("placeholder"):
104a.attr("placeholder",this.settings.placeholder);a.triggerHandler("update")}},open:function(){this.isLocked||this.isOpen||this.settings.mode==="multi"&&this.isFull()||(this.focus(),this.isOpen=!0,this.refreshState(),this.$dropdown.css({visibility:"hidden",display:"block"}),this.positionDropdown(),this.$dropdown.css({visibility:"visible"}),this.trigger("dropdown_open",this.$dropdown))},close:function(){var a=this.isOpen;this.settings.mode==="single"&&this.items.length&&this.hideInput();this.isOpen=
105!1;this.$dropdown.hide();this.setActiveOption(null);this.refreshState();a&&this.trigger("dropdown_close",this.$dropdown)},positionDropdown:function(){var a=this.$control,b=this.settings.dropdownParent==="body"?a.offset():a.position();b.top+=a.outerHeight(!0);
105this.$dropdown.css({width:a.outerWidth(),top:b.top,left:b.left})},clear:function(){this.items.length&&(this.$control.children(":not(input)").remove(),this.items=[],this.setCaret(0),this.updatePlaceholder(),this.updateOriginalInput(),this.refreshState(),
106this.showInput(),this.trigger("clear"))},insertAtCaret:function(a){var b=Math.min(this.caretPos,this.items.length);b===0?this.$control.prepend(a):c(this.$control[0].childNodes[b]).before(a);this.setCaret(b+1)},deleteSelection:function(a){var b;var d=a&&a.keyCode===8?-1:1;var e=v(this.$control_input[0]);this.$activeOption&&!this.settings.hideSelected&&(b=this.getAdjacentOption(this.$activeOption,-1).attr("data-value"));var f=[];if(this.$activeItems.length){var h=this.$control.children(".active:"+(d>
1070?"last":"first"));h=this.$control.children(":not(input)").index(h);d>0&&h++;d=0;for(e=this.$activeItems.length;d<e;d++)f.push(c(this.$activeItems[d]).attr("data-value"));a&&(a.preventDefault(),a.stopPropagation())}else(this.isFocused||this.settings.mode==="single")&&this.items.length&&(d<0&&e.start===0&&e.length===0?f.push(this.items[this.caretPos-1]):d>0&&e.start===this.$control_input.val().length&&f.push(this.items[this.caretPos]));if(!f.length||typeof this.settings.onDelete==="function"&&this.settings.onDelete.apply(this,
108[f])===!1)return!1;for(typeof h!=="undefined"&&this.setCaret(h);f.length;)this.removeItem(f.pop());this.showInput();this.positionDropdown();this.refreshOptions(!0);b&&(a=this.getOption(b),a.length&&this.setActiveOption(a));return!0},advanceSelection:function(a,b){if(a!==0){this.rtl&&(a*=-1);var d=a>0?"last":"first";var e=v(this.$control_input[0]);this.isFocused&&!this.isInputHidden?(d=this.$control_input.val().length,(e=a<0?e.start===0&&e.length===0:e.start===d)&&!d&&this.advanceCaret(a,b)):(b=this.$control.children(".active:"+
109d),b.length&&(b=this.$control.children(":not(input)").index(b),this.setActiveItem(null),this.setCaret(a>0?b+1:b)))}},advanceCaret:function(a,b){if(a!==0){var d=a>0?"next":"prev";this.isShiftDown?(a=this.$control_input[d](),a.length&&(this.hideInput(),this.setActiveItem(a),b&&b.preventDefault())):this.setCaret(this.caretPos+a)}},setCaret:function(a){a=this.settings.mode==="single"?this.items.length:Math.max(0,Math.min(this.items.length,a));var b;var d=this.$control.children(":not(input)");var e=0;
110for(b=d.length;e<b;e++){var f=c(d[e]).detach();e<a?this.$control_input.before(f):this.$control.append(f)}this.caretPos=a},lock:function(){this.close();this.isLocked=!0;this.refreshState()},unlock:function(){this.isLocked=!1;this.refreshState()},disable:function(){this.$input.prop("disabled",!0);this.isDisabled=!0;this.lock()},enable:function(){this.$input.prop("disabled",!1);this.isDisabled=!1;this.unlock()},destroy:function(){var a=this.eventNS,b=this.revertSettings;this.trigger("destroy");this.off();
111this.$wrapper.remove();this.$dropdown.remove();this.$input.html("").append(b.$children).removeAttr("tabindex").attr({tabindex:b.tabindex}).show();c(window).off(a);c(document).off(a);c(document.body).off(a);delete this.$input[0].selectize},render:function(a,b){var d=!1,e=/^[\t ]*<([a-z][a-z0-9\-_]*(?::[a-z][a-z0-9\-_]*)?)/i;if(a==="option"||a==="item"){var f=u(b[this.settings.valueField]);d=!!f}if(d&&(z(this.renderCache[a])||(this.renderCache[a]={}),this.renderCache[a].hasOwnProperty(f)))return this.renderCache[a][f];
112var h=this.settings.render[a].apply(this,[b,A]);if(a==="option"||a==="option_create")h=h.replace(e,"\x3c$1 data-selectable");a==="optgroup"&&(b=b[this.settings.optgroupValueField]||"",h=h.replace(e,'\x3c$1 data-group\x3d"'+(A(b)+"").replace(/\$/g,"$$$$")+'"'));if(a==="option"||a==="item")h=h.replace(e,'\x3c$1 data-value\x3d"'+(A(f||"")+"").replace(/\$/g,"$$$$")+'"');d&&(this.renderCache[a][f]=h);return h}});n.count=0;n.defaults={plugins:[],delimiter:",",persist:!0,diacritics:!0,create:!1,createOnBlur:!1,
113highlight:!0,openOnFocus:!0,maxOptions:1E3,maxItems:null,hideSelected:null,addPrecedence:!1,preload:!1,duplicates:!1,scrollDuration:60,loadThrottle:300,dataAttr:"data-data",optgroupField:"optgroup",valueField:"value",labelField:"text",optgroupLabelField:"label",optgroupValueField:"value",optgroupOrder:null,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"selectize-control",inputClass:"selectize-input",dropdownClass:"selectize-dropdown",dropdownContentClass:"selectize-dropdown-content",
114dropdownParent:null,render:{}};c.fn.selectize=function(a){var b=c.fn.selectize.defaults,d=c.extend({},b,a),e=d.dataAttr,f=d.labelField,h=d.valueField,r=d.optgroupField,y=d.optgroupLabelField,G=d.optgroupValueField,M=function(F,x){var J,P=0,I=x.options,O=function(K){K=e&&K.attr(e);
114return typeof K==="string"&&K.length?JSON.parse(K):null},S=function(K,Q){K=c(K);var N=K.attr("value")||"";if(N.length)if(I.hasOwnProperty(N))Q&&(I[N].optgroup?c.isArray(I[N].optgroup)?I[N].optgroup.push(Q):I[N].optgroup=
115[I[N].optgroup,Q]:I[N].optgroup=Q);else{var R=O(K)||{};R[f]=R[f]||K.text();R[h]=R[h]||N;R[r]=R[r]||Q;R.$order=++P;I[N]=R;K.is(":selected")&&x.items.push(N)}},V=function(K){var Q;K=c(K);if(Q=K.attr("label")){var N=O(K)||{};N[y]=Q;N[G]=Q;x.optgroups[Q]=N}var R=c("option",K);K=0;for(N=R.length;K<N;K++)S(R[K],Q)};x.maxItems=F.attr("multiple")?null:1;var T=F.children();F=0;for(J=T.length;F<J;F++){var U=T[F].tagName.toLowerCase();U==="optgroup"?V(T[F]):U==="option"&&S(T[F])}};return this.each(function(){if(!this.selectize){var F=
116c(this),x=this.tagName.toLowerCase();var J={placeholder:F.children('option[value\x3d""]').text()||F.attr("placeholder"),options:{},optgroups:{},items:[]};if(x==="select")M(F,J);else{var P;x=c.trim(F.val()||"");if(x.length){var I=x.split(d.delimiter);x=0;for(P=I.length;x<P;x++){var O={};O[f]=I[x];O[h]=I[x];J.options[I[x]]=O}J.items=I}}J=new n(F,c.extend(!0,{},b,J,a));F.data("selectize",J);F.addClass("selectized")}})};c.fn.selectize.defaults=n.defaults;n.define("drag_drop",function(a){if(!c.fn.sortable)throw Error('The "drag_drop" plugin requires jQuery UI "sortable".');
117if(this.settings.mode==="multi"){var b=this;b.lock=function(){var d=b.lock;return function(){var e=b.$control.data("sortable");e&&e.disable();return d.apply(b,arguments)}}();b.unlock=function(){var d=b.unlock;return function(){var e=b.$control.data("sortable");e&&e.enable();return d.apply(b,arguments)}}();b.setup=function(){var d=b.setup;return function(){d.apply(this,arguments);var e=b.$control.sortable({items:"[data-value]",forcePlaceholderSize:!0,disabled:b.isLocked,start:function(f,h){h.placeholder.css("width",
118h.helper.css("width"));e.css({overflow:"visible"})},stop:function(){e.css({overflow:"hidden"});var f=b.$activeItems?b.$activeItems.slice():null,h=[];e.children("[data-value]").each(function(){h.push(c(this).attr("data-value"))});b.setValue(h);b.setActiveItem(f)}})}}()}});n.define("dropdown_header",function(a){var b=this;a=c.extend({title:"Untitled",headerClass:"selectize-dropdown-header",titleRowClass:"selectize-dropdown-header-title",labelClass:"selectize-dropdown-header-label",closeClass:"selectize-dropdown-header-close",
119html:function(d){return'\x3cdiv class\x3d"'+d.headerClass+'"\x3e\x3cdiv class\x3d"'+d.titleRowClass+'"\x3e\x3cspan class\x3d"'+d.labelClass+'"\x3e'+d.title+'\x3c/span\x3e\x3ca href\x3d"javascript:void(0)" class\x3d"'+d.closeClass+'"\x3e\x26times;\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e'}},a);b.setup=function(){var d=b.setup;return function(){d.apply(b,arguments);b.$dropdown_header=c(a.html(a));b.$dropdown.prepend(b.$dropdown_header)}}()});n.define("optgroup_columns",function(a){var b=this;a=c.extend({equalizeWidth:!0,
120equalizeHeight:!0},a);this.getAdjacentOption=function(e,f){var h=e.closest("[data-group]").find("[data-selectable]");e=h.index(e)+f;return e>=0&&e<h.length?h.eq(e):c()};this.onKeyDown=function(){var e=b.onKeyDown;return function(f){if(!this.isOpen||f.keyCode!==37&&f.keyCode!==39)return e.apply(this,arguments);b.ignoreHover=!0;var h=this.$activeOption.closest("[data-group]");var r=h.find("[data-selectable]").index(this.$activeOption);h=f.keyCode===37?h.prev("[data-group]"):h.next("[data-group]");h=
121h.find("[data-selectable]");r=h.eq(Math.min(h.length-1,r));r.length&&this.setActiveOption(r)}}();var d=function(){var e,f,h;var r=c("[data-group]",b.$dropdown_content);if((f=r.length)&&b.$dropdown_content.width()){if(a.equalizeHeight){for(e=h=0;e<f;e++)h=Math.max(h,r.eq(e).height());r.css({height:h})}a.equalizeWidth&&(h=b.$dropdown_content.innerWidth(),e=Math.round(h/f),r.css({width:e}),f>1&&(e=h-e*(f-1),r.eq(f-1).css({width:e})))}};if(a.equalizeHeight||a.equalizeWidth)D.after(this,"positionDropdown",
122d),D.after(this,"refreshOptions",d)});n.define("remove_button",function(a){if(this.settings.mode!=="single"){a=c.extend({label:"\x26times;",title:"Remove",className:"remove",append:!0},a);var b=this,d='\x3ca href\x3d"javascript:void(0)" class\x3d"'+a.className+'" tabindex\x3d"-1" title\x3d"'+A(a.title)+'"\x3e'+a.label+"\x3c/a\x3e";this.setup=function(){var e=b.setup;return function(){if(a.append){var f=b.settings.render.item;b.settings.render.item=function(h){var r=f.apply(this,arguments),y=r.search(/(<\/[^>]+>\s*)$/);
123return r.substring(0,y)+d+r.substring(y)}}e.apply(this,arguments);this.$control.on("click","."+a.className,function(h){h.preventDefault();b.isLocked||(h=c(h.currentTarget).parent(),b.setActiveItem(h),b.deleteSelection()&&b.setCaret(b.items.length))})}}()}});n.define("restore_on_backspace",function(a){var b=this;a.text=a.text||function(d){return d[this.settings.labelField]};this.onKeyDown=function(d){var e=b.onKeyDown;return function(f){if(f.keyCode===8&&this.$control_input.val()===""&&!this.$activeItems.length){var h=
124this.caretPos-1;if(h>=0&&h<this.items.length){h=this.options[this.items[h]];this.deleteSelection(f)&&(this.setTextboxValue(a.text.apply(this,[h])),this.refreshOptions(!0));f.preventDefault();return}}return e.apply(this,arguments)}}()});return n});
125class SessionTimer extends HTMLElement{connectedCallback(){this.role="timer";this.title="Zeit bis zur automatischen Abmeldung";const c=document.createElement("time");c.ariaHidden="true";this.appendChild(c);setInterval(()=>{if(Liferay.Session){var g=new Date(Number(Liferay.Session.get("timestamp"))+Liferay.Session.get("sessionLength")),k=Math.abs(g-new Date);Number.isNaN(k)?(c.innerHTML="0:00",c.dateTime="PT0",this.ariaLabel="Zeit bis zur automatischen Abmeldung konnte nicht geladen werden."):(g=Math.max(Math.floor(k/
1261E3/60),0),k=Math.max(Math.floor(k/1E3%60),0),c.innerHTML=`${g}:${k}`,c.dateTime=`PT${g}M${k}S`,this.ariaLabel=`Zeit bis zur automatischen Abmeldung: ${g} Minuten und ${k} Sekunden`,k<10&&(c.innerHTML=`${g}:0${k}`))}},1E3)}}customElements.define("session-timer",SessionTimer);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.